/* 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);
}

/* round brand badge for an icon or initials */
.tw-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tw-brand);
  color: var(--tw-on-brand);
}

/* square photo thumbnail with an optional remove button in its corner */
.tw-thumb {
  position: relative;
  display: inline-block;
}

.tw-thumb-img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: var(--tw-radius-control);
  border: 1px solid var(--tw-line-soft);
}

.tw-thumb-remove {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  background-color: var(--tw-panel);
  opacity: 1;
  box-shadow: var(--tw-shadow-xs);
}

/* bordered stack of full-width choices (pick one line from a list) */
.tw-choices {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tw-line-soft);
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  overflow: hidden;
}

.tw-choice {
  padding: 0.375rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--tw-text);
  text-align: left;
}

.tw-choice + .tw-choice {
  border-top: 1px solid var(--tw-line-soft);
}

.tw-choice:hover, .tw-choice:focus-visible {
  background: var(--tw-hover);
}

/* inset note: a preview or a quoted block inside a panel */
.tw-inset {
  padding: 0.5rem;
  border: 1px solid var(--tw-line-soft);
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
}

/* 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;
}

/* a tool with its name beside the icon (Ask Micah): a pill as wide as its text; icon only when the bar is tight */
.site-tool.has-label {
  width: auto;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--tw-header-line);
  background: transparent;
  font-size: var(--tw-header-font-size);
  font-weight: var(--tw-header-font-weight);
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 1399.98px) {
  .site-tool.has-label {
    width: 44px;
    padding: 0;
  }
  .site-tool.has-label > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
/* --- 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(0, 1fr) 132px;
  align-items: center;
}

.dealer-settings-cols-main, .dealer-settings-row-open {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) minmax(90px, 1fr) 100px 124px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding-right: 12px;
}

.dealer-settings-cols {
  padding: 8px 0 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 {
  border-top: 1px solid var(--tw-line);
}

.dealer-settings-row-open {
  width: 100%;
  min-height: 56px;
  padding: 10px 12px 10px 16px;
  border: 0;
  background: none;
  text-align: left;
  color: inherit;
}

/* the Active switch of the line, with the row it changes named under it */
.dealer-settings-row-active {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-right: 16px;
}

.dealer-settings-row-scope {
  font-size: 11px;
  color: var(--tw-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dealer-settings-row-scope.is-shared {
  color: var(--tw-tone-warning-ink);
  font-weight: 600;
}

.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-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-active, .dealer-settings-scope-actions {
  padding: 8px 6px;
  vertical-align: middle;
}

.dealer-settings-scope-active {
  width: 56px;
}

.dealer-settings-scope-who {
  width: 38%;
  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: 76px;
  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-switch.is-active {
  gap: 8px;
  font-size: 13px;
}

.dealer-settings-switch-input:not(:checked) ~ .dealer-settings-switch-text {
  color: var(--tw-muted);
}

/* a yes/no value: two buttons, never a switch (a switch means active / inactive) */
.dealer-settings-choice {
  display: inline-flex;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  overflow: hidden;
}

.dealer-settings-choice-item {
  min-width: 72px;
  padding: 6px 14px;
  border: 0;
  background: var(--tw-panel);
  font-family: var(--tw-font-mono);
  font-size: 13px;
  color: var(--tw-ink);
}

.dealer-settings-choice-item + .dealer-settings-choice-item {
  border-left: 1px solid var(--tw-line);
}

.dealer-settings-choice-item[aria-pressed=true] {
  background: var(--tw-ink);
  color: var(--tw-panel);
}

.dealer-settings-choice-item:focus-visible {
  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;
  }
  .dealer-settings-row-open {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }
  .dealer-settings-row-active {
    max-width: 124px;
    padding-right: 12px;
  }
  .dealer-settings-choice-item {
    min-height: 44px;
  }
  .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: 84px;
  }
}
@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;
  }
}
/* Multipoint line items (gs-service/multipointLineItems.volt, js/groups/multipoint-line-items.js). Adds to _multipoint-categories.scss. */
.mp-lines__jump {
  flex: 0 1 220px;
  width: auto;
}

/* category sections */
.mp-lines__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);
}

.mp-lines__group + .mp-lines__group .mp-lines__group-head {
  border-top: 1px solid var(--tw-line);
}

.mp-lines__group-head b {
  min-width: 0;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-lines__group-head .mp-cats__count {
  margin-left: 0;
  background: var(--tw-panel);
}

.mp-lines__fold {
  border: 0;
  background: none;
  width: 28px;
  height: 32px;
  color: var(--tw-muted);
  border-radius: 6px;
}

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

.mp-lines__none {
  padding: 10px 16px 10px 48px;
  color: var(--tw-faint);
  font-size: 12px;
  border-bottom: 1px solid var(--tw-line);
}

/* rows */
/* the name keeps its room; a long run of tags is clipped */
.mp-lines__row {
  grid-template-columns: 20px 28px minmax(160px, 1fr) minmax(0, auto) minmax(0, 150px) 104px;
}

.mp-lines__row.is-readonly {
  grid-template-columns: minmax(160px, 1fr) minmax(0, auto) minmax(0, 150px) 104px;
  padding-left: 16px;
}

.mp-lines__row .mp-cats__tags {
  min-width: 0;
  overflow: hidden;
  justify-content: flex-start;
}

/* the legacy sheet floats .form-check-input out of the flow */
.mp-lines .mp-lines__pick {
  position: static;
  width: 16px;
  height: 16px;
  margin: 0 0 0 4px;
}

.mp-lines__print {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11.5px;
  color: var(--tw-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mp-lines__print.is-none {
  font-family: inherit;
  color: var(--tw-faint);
}

.mp-lines__print.is-shared {
  color: var(--tw-warn);
}

.mp-lines__op {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--tw-line);
  background: var(--tw-panel);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tw-ink);
  white-space: nowrap;
  overflow: hidden;
}

.mp-lines__op.is-none {
  border-style: dashed;
  color: var(--tw-faint);
  font-family: inherit;
  font-weight: 400;
}

.mp-lines__op.is-unknown {
  border-color: var(--tw-alert);
  background: var(--tw-alert-bg);
  color: var(--tw-alert);
}

.mp-lines__tag-wrong {
  background: var(--tw-alert-bg);
  color: var(--tw-alert);
}

/* bulk bar */
.mp-lines__bulk {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: var(--tw-ink);
  color: var(--tw-on-brand);
  font-size: 12px;
}

.mp-lines__bulk b {
  margin-right: auto;
  font-size: 14px;
}

.mp-lines__bulk select {
  width: auto;
  max-width: 200px;
}

.mp-lines__bulk .btn {
  color: inherit;
  border-color: currentcolor;
}

/* details panel */
.mp-lines__preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--tw-line);
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  font-size: 12px;
  color: var(--tw-ink);
}

.mp-lines__preview > span:first-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.mp-lines__dots {
  display: flex;
  gap: 8px;
  flex: none;
}

.mp-lines__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--tw-ok);
}

.mp-lines__dot.is-yellow {
  border-color: var(--tw-warn);
}

.mp-lines__dot.is-red {
  border-color: var(--tw-alert);
}

.mp-lines__dot.is-skip {
  border-color: var(--tw-ink);
  background: var(--tw-ink);
}

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

.mp-lines__chips button {
  height: 30px;
  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-lines__chips [aria-pressed=true] {
  background: var(--tw-ink);
  border-color: var(--tw-ink);
  color: var(--tw-on-brand);
}

.mp-lines__chips button:disabled {
  opacity: 0.5;
}

.mp-lines__seg {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  overflow: hidden;
}

.mp-lines__seg button {
  height: 36px;
  padding: 0 12px;
  border: 0;
  background: var(--tw-panel);
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-muted);
}

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

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

.mp-lines__two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mp-lines__preset {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  font-size: 12px;
}

.mp-lines__preset > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--tw-ink);
  font-weight: 600;
}

.mp-lines__preset small {
  grid-column: 1/-1;
  color: var(--tw-muted);
}

.mp-lines__help {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--tw-muted);
}

.mp-lines__more > summary {
  cursor: pointer;
}

.mp-lines__more > summary h3 {
  display: inline;
}

.mp-lines__more[open] > summary {
  margin-bottom: 10px;
}

.mp-lines__more > * + * {
  margin-top: 10px;
}

.mp-lines__mono {
  font-family: ui-monospace, Consolas, monospace;
}

@media (max-width: 1199px) {
  .mp-lines__row {
    grid-template-columns: 20px 28px minmax(160px, 1fr) minmax(0, auto) 96px;
  }
  .mp-lines__row.is-readonly {
    grid-template-columns: minmax(160px, 1fr) minmax(0, auto) 96px;
  }
  .mp-lines__print {
    display: none;
  }
}
@media (max-width: 767px) {
  .mp-lines__row {
    grid-template-columns: 28px minmax(0, 1fr) 88px;
    padding-left: 8px;
  }
  .mp-lines__row.is-readonly {
    grid-template-columns: minmax(0, 1fr) 88px;
    padding-left: 16px;
  }
  .mp-lines__pick {
    display: none;
  }
  .mp-lines__jump {
    flex-basis: 100%;
  }
  .mp-lines__two {
    grid-template-columns: 1fr;
  }
}
/* 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;
  }
}
/* Daily limits (gs-appointment/laborOpDailyLimits.volt, js/groups/daily-limits.js). Buttons, inputs and the page head come from Bootstrap and the shell. */
.dl {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

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

/* base.css removes the outline from every focused button with !important; an inset ring is not touched by it */
.dl button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--tw-accent);
}

.dl [hidden] {
  display: none;
}

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

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

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

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

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

.dl__spacer {
  flex: 1;
}

/* how limits are applied */
.dl__how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.dl__how-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  min-width: 0;
}

.dl__how-item + .dl__how-item {
  border-left: 1px solid var(--tw-line);
}

.dl__how-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tw-hover);
  color: var(--tw-brand);
}

.dl__how-item b {
  display: block;
  color: var(--tw-ink);
}

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

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

.dl__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;
}

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

.dl__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;
}

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

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

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

.dl__weeknav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dl__weeknav b {
  min-width: 150px;
  text-align: center;
  color: var(--tw-ink);
  white-space: nowrap;
}

.dl__icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tw-muted);
}

.dl__datecheck {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
  white-space: nowrap;
}

.dl__datecheck input {
  width: auto;
  font-weight: 400;
}

.dl__search {
  position: relative;
  flex: 1 1 200px;
  max-width: 320px;
  margin-left: auto;
}

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

.dl__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);
}

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

.dl__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);
}

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

/* bulk bar */
.dl__bulk {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: var(--tw-ink);
  color: var(--tw-panel);
  font-size: var(--tw-text-xs);
}

.dl__bulk b {
  margin-right: 4px;
}

.dl__bulk .btn {
  background: transparent;
  border-color: var(--tw-muted);
  color: var(--tw-panel);
}

/* week board */
.dl__board {
  overflow-x: auto;
}

.dl__week {
  min-width: 760px;
}

.dl__row {
  display: grid;
  grid-template-columns: minmax(210px, 1.5fr) repeat(7, minmax(70px, 1fr));
  border-bottom: 1px solid var(--tw-line);
}

.dl__row > * {
  min-width: 0;
}

.dl__op {
  position: sticky;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 14px;
  background: var(--tw-panel);
  border-right: 1px solid var(--tw-line);
  cursor: pointer;
}

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

.dl__op div {
  min-width: 0;
}

.dl__op b {
  display: block;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl__op small {
  display: block;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl__op .dl__tag {
  margin-top: 3px;
  margin-right: 2px;
}

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

.dl__row.is-unknown .dl__op b {
  color: var(--tw-alert-ink);
}

.dl__row.is-head {
  background: var(--tw-surface);
}

.dl__row.is-head .dl__op {
  background: var(--tw-surface);
  cursor: default;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
}

.dl__day {
  border: 0;
  background: none;
  padding: 8px 4px;
  text-align: center;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
  border-left: 1px solid var(--tw-line);
}

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

.dl__day small {
  display: block;
  font-size: 10.5px;
  min-height: 14px;
}

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

.dl__day.is-today {
  box-shadow: inset 0 3px 0 var(--tw-brand);
}

.dl__day.is-today b {
  color: var(--tw-brand);
}

.dl__day.is-closed b {
  color: var(--tw-faint);
  font-weight: 400;
}

.dl__day .is-warn {
  color: var(--tw-alert-ink);
  font-weight: 700;
}

.dl__cell {
  position: relative;
  border: 0;
  border-left: 1px solid var(--tw-line);
  background: var(--tw-panel);
  padding: 8px 8px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 58px;
}

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

.dl__cell-count {
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
  white-space: nowrap;
}

.dl__cell-count b {
  color: var(--tw-ink);
  font-size: 15px;
}

.dl__cell-bar {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--tw-line);
  overflow: hidden;
}

.dl__cell-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--tw-tone-success-ink);
}

.dl__cell.is-full {
  background: var(--tw-tone-warning-bg);
}

.dl__cell.is-full .dl__cell-bar i {
  background: var(--tw-tone-warning-ink);
}

.dl__cell.is-over {
  background: var(--tw-alert-bg);
}

.dl__cell.is-over .dl__cell-count b {
  color: var(--tw-alert-ink);
}

.dl__cell.is-over .dl__cell-bar i {
  background: var(--tw-alert);
}

.dl__cell.is-zero {
  background: repeating-linear-gradient(135deg, var(--tw-surface) 0 6px, var(--tw-panel) 6px 12px);
}

.dl__cell.is-zero .dl__cell-count {
  color: var(--tw-faint);
}

.dl__cell.is-closed {
  background: var(--tw-surface);
  color: var(--tw-faint);
  font-size: 11px;
}

.dl__cell.is-pick {
  outline: 2px solid var(--tw-ink);
  outline-offset: -2px;
  z-index: 1;
}

.dl__cell.is-edit .dl__cell-count span {
  color: var(--tw-accent);
  font-weight: 700;
}

.dl__cell-bar .is-w0 {
  width: 0%;
}

.dl__cell-bar .is-w1 {
  width: 10%;
}

.dl__cell-bar .is-w2 {
  width: 20%;
}

.dl__cell-bar .is-w3 {
  width: 30%;
}

.dl__cell-bar .is-w4 {
  width: 40%;
}

.dl__cell-bar .is-w5 {
  width: 50%;
}

.dl__cell-bar .is-w6 {
  width: 60%;
}

.dl__cell-bar .is-w7 {
  width: 70%;
}

.dl__cell-bar .is-w8 {
  width: 80%;
}

.dl__cell-bar .is-w9 {
  width: 90%;
}

.dl__cell-bar .is-w10 {
  width: 100%;
}

.dl__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 10px 16px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  border-top: 1px solid var(--tw-line);
}

.dl__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dl__key {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid var(--tw-line);
}

.dl__key.is-ok {
  background: var(--tw-tone-success-ink);
  border-color: var(--tw-tone-success-ink);
}

.dl__key.is-full {
  background: var(--tw-tone-warning-ink);
  border-color: var(--tw-tone-warning-ink);
}

.dl__key.is-over {
  background: var(--tw-alert);
  border-color: var(--tw-alert);
}

.dl__key.is-zero {
  background: repeating-linear-gradient(135deg, var(--tw-line) 0 3px, var(--tw-panel) 3px 6px);
}

.dl__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;
}

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

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

.dl__tag.is-full {
  background: var(--tw-tone-warning-bg);
  color: var(--tw-tone-warning-ink);
}

.dl__tag.is-info {
  background: var(--tw-hover);
  color: var(--tw-brand);
}

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

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

.dl__panel-head.is-shake {
  animation: dl-shake 0.3s;
}

@keyframes dl-shake {
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.dl__panel-title {
  font-size: 16px;
  color: var(--tw-ink);
  white-space: nowrap;
}

.dl__panel-sub {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

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

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

.dl__panel-close {
  display: none;
}

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

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

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

.dl__week7 {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.dl__week7 label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--tw-muted);
  text-align: center;
}

.dl__week7 input {
  width: 100%;
  height: 40px;
  padding: 0 2px;
  text-align: center;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  background: var(--tw-panel);
  color: var(--tw-ink);
  font-weight: 600;
  appearance: textfield;
}

.dl__week7 input::-webkit-inner-spin-button {
  display: none;
}

.dl__week7 .is-closed input {
  background: var(--tw-surface);
  color: var(--tw-muted);
}

.dl__inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.dl__inline input {
  width: 64px;
  height: 34px;
  padding: 0 8px;
  text-align: center;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  background: var(--tw-panel);
  color: var(--tw-ink);
}

.dl__days li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dashed var(--tw-line);
  font-size: var(--tw-text-xs);
}

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

.dl__days b {
  color: var(--tw-ink);
}

.dl__days span {
  color: var(--tw-muted);
}

.dl__days a {
  color: var(--tw-accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.dl__days a:hover {
  text-decoration: underline;
}

.dl__days .is-pick {
  background: var(--tw-hover);
  margin: 0 -8px;
  padding: 5px 8px;
  border-radius: 6px;
  border-bottom-color: transparent;
}

.dl__warn {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
  font-size: var(--tw-text-xs);
}

.dl__warn b {
  display: block;
}

.dl__warn ul {
  margin-top: 4px;
}

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

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

.dl__list-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);
}

.dl__list-icon.is-info {
  background: var(--tw-hover);
  color: var(--tw-brand);
}

.dl__list-icon.is-ok {
  background: var(--tw-tone-success-bg);
  color: var(--tw-tone-success-ink);
}

.dl__list-text {
  flex: 1;
  min-width: 0;
}

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

.dl__list-text small {
  color: var(--tw-muted);
}

/* dialog */
.dl__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);
}

.dl__dialog.is-wide {
  width: min(680px, 100vw - 32px);
}

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

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

.dl__dlg-body {
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(62vh, 560px);
  overflow-y: auto;
}

.dl__dlg-body p {
  margin: 0;
}

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

.dl__dlg-error:empty {
  display: none;
}

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

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

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

.dl__check .dl__num, .dl__check select {
  width: auto;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  background: var(--tw-panel);
}

.dl__check .dl__num {
  width: 72px;
  text-align: center;
}

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

.dl__radio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dl__pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

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

.dl__dow label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-ink);
}

.dl__dow input {
  accent-color: var(--tw-primary);
}

.dl__effect li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--tw-line);
}

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

.dl__effect b {
  color: var(--tw-ink);
}

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

.dl__results {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 220px;
  overflow-y: auto;
}

.dl__results button {
  display: flex;
  gap: 8px;
  align-items: baseline;
  width: 100%;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  text-align: left;
}

.dl__results button:hover {
  background: var(--tw-surface);
}

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

.dl__results b {
  font-family: var(--tw-font-mono);
  color: var(--tw-ink);
  white-space: nowrap;
}

.dl__results span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

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

@media (max-width: 1199.98px) {
  .dl__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .dl__row {
    grid-template-columns: minmax(180px, 1.3fr) repeat(7, minmax(62px, 1fr));
  }
  .dl__week {
    min-width: 640px;
  }
  .dl__search {
    margin-left: 0;
  }
}
@media (max-width: 991.98px) {
  .dl__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dl__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);
  }
  .dl__panel.is-open {
    transform: none;
  }
  .dl__panel-close {
    display: inline-flex;
  }
}
@media (max-width: 767.98px) {
  .dl__head .dl__field, .dl__head .btn {
    flex: 1 1 140px;
    justify-content: center;
  }
  .dl__how {
    grid-template-columns: minmax(0, 1fr);
  }
  .dl__how-item + .dl__how-item {
    border-left: 0;
    border-top: 1px solid var(--tw-line);
  }
  .dl__weeknav {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .dl__weeknav b {
    min-width: 0;
    flex: 1;
    white-space: normal;
  }
  .dl__datecheck {
    flex: 1 1 100%;
  }
  .dl__datecheck input {
    flex: 1;
  }
  .dl__search {
    max-width: none;
    flex-basis: 100%;
  }
  .dl__row {
    grid-template-columns: 132px repeat(7, 62px);
  }
  .dl__week {
    min-width: 566px;
  }
  .dl__op {
    padding: 8px 8px 8px 10px;
    gap: 8px;
  }
  .dl__op .dl__op-desc {
    display: none;
  }
  .dl__pick {
    grid-template-columns: 1fr;
  }
  .dl__effect li {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .dl__effect li > :nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .dl__bulk .btn span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dl__panel {
    transition: none;
  }
  .dl__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;
  }
}
/* Technician skill levels (gs-skill-levels/index.volt, js/groups/skill-levels.js).
   Buttons, badges, inputs and alerts come from Bootstrap; the page head from the shell. */
.skill-levels {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

.skill-levels [hidden] {
  display: none;
}

.skill-levels__spacer {
  flex: 1;
}

.skill-levels__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

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

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

.skill-levels__num {
  text-align: right;
}

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

.skill-levels__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 96px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 8px 16px;
  border: 0;
  border-bottom: 1px solid var(--tw-line);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.skill-levels__row:last-child {
  border-bottom: 0;
}

.skill-levels__row:not(.skill-levels__row--head):hover {
  background: var(--tw-surface);
}

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

.skill-levels__row--head {
  min-height: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card) var(--tw-radius-card) 0 0;
}

.skill-levels__name {
  min-width: 0;
}

.skill-levels__name b, .skill-levels__name small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-levels__name b {
  color: var(--tw-ink);
}

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

.skill-levels__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.skill-levels__count {
  text-align: right;
  font-weight: 700;
  color: var(--tw-ink);
}

.skill-levels__count.is-zero {
  font-weight: 400;
  color: var(--tw-faint);
}

.skill-levels__panel {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

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

.skill-levels__close {
  display: none;
}

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

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

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

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

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

.skill-levels__field small {
  font-weight: 400;
  color: var(--tw-faint);
}

.skill-levels__note {
  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);
}

.skill-levels__note i {
  margin-top: 2px;
  color: var(--tw-muted);
}

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

.skill-levels__section h2 {
  margin: 0;
  font-size: var(--tw-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

.skill-levels__search {
  position: relative;
}

.skill-levels__search > i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tw-faint);
}

.skill-levels__search .form-control {
  padding-left: 34px;
}

.skill-levels__pick {
  position: relative;
}

.skill-levels__pick-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 5;
  max-height: 260px;
  overflow-y: auto;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow);
}

.skill-levels__pick-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid var(--tw-line);
  background: none;
  color: inherit;
  font-size: var(--tw-text-xs);
  text-align: left;
}

.skill-levels__pick-item:last-child {
  border-bottom: 0;
}

.skill-levels__pick-item:hover:not(:disabled) {
  background: var(--tw-hover);
}

.skill-levels__pick-item:disabled {
  opacity: 0.6;
}

.skill-levels__pick-item > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-levels__pick-none {
  padding: 12px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.skill-levels__codes {
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  overflow: hidden;
}

.skill-levels__code {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 32px;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 6px 6px 6px 12px;
  border-bottom: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
}

.skill-levels__code:last-child {
  border-bottom: 0;
}

.skill-levels__code > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-levels__code-name {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-levels__code-none {
  color: var(--tw-faint);
}

.skill-levels__remove {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--tw-muted);
}

.skill-levels__remove:hover {
  background: var(--tw-hover);
  color: var(--tw-ink);
}

.skill-levels__more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.skill-levels__people {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.skill-levels__person {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-ink);
}

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

.skill-levels__dialog::backdrop {
  background: var(--tw-scrim);
}

.skill-levels__dialog-head {
  padding: 16px 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.skill-levels__dialog-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 20px 16px;
  overflow-wrap: anywhere;
}

.skill-levels__dialog-body p {
  margin: 0;
}

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

.skill-levels__scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--tw-scrim);
}

.skill-levels__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);
}

.skill-levels__toast button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .skill-levels__grid {
    grid-template-columns: minmax(0, 1fr) 400px;
  }
  .skill-levels__row {
    grid-template-columns: minmax(0, 1fr) 110px 96px;
  }
}
@media (max-width: 991px) {
  .skill-levels__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .skill-levels__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    width: min(460px, 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);
    visibility: hidden;
  }
  .skill-levels__panel.is-open {
    transform: none;
    visibility: visible;
  }
  .skill-levels__close {
    display: inline-block;
  }
  .skill-levels__scrim:not([hidden]) {
    display: block;
  }
}
@media (max-width: 767px) {
  .skill-levels__actions .btn {
    flex: 1 1 100%;
  }
  .skill-levels__actions .skill-levels__spacer {
    display: none;
  }
  .skill-levels__row {
    grid-template-columns: minmax(0, 1fr) 72px;
  }
  .skill-levels__row--head > :nth-child(3), .skill-levels__row > .skill-levels__count--techs {
    display: none;
  }
  .skill-levels__code, .skill-levels__pick-item {
    grid-template-columns: 80px minmax(0, 1fr) auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skill-levels__panel {
    transition: none;
  }
}
/* Top labor ops (gs-top-labor-ops/index.volt, js/groups/top-labor-ops.js).
   Buttons, form controls and alerts come from Bootstrap; the page head from the shell. */
.top-ops {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

.top-ops [hidden] {
  display: none;
}

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

/* base.css removes the outline of every focused button */
.top-ops__tabs button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--tw-accent);
}

.top-ops__spacer {
  flex: 1;
}

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

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

.top-ops__mono {
  font-family: ui-monospace, Consolas, monospace;
}

.top-ops__head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.top-ops__preview-btn {
  display: none;
}

/* the spacer after the tabs keeps the buttons on the right when there are no tabs */
.top-ops__tabs {
  flex: 100 1 240px;
  min-width: 0;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--tw-line);
  overflow-x: auto;
  overflow-y: hidden;
}

.top-ops__tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: none;
  font-weight: 600;
  color: var(--tw-muted);
  white-space: nowrap;
}

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

.top-ops__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--tw-line);
  background: var(--top-ops-team, var(--tw-surface));
}

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

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

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

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

.top-ops__search {
  position: relative;
  flex: 1 1 200px;
  max-width: 320px;
}

.top-ops__search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tw-faint);
}

.top-ops__search .form-control {
  padding-left: 34px;
}

.top-ops__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);
}

/* rows */
.top-ops__rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-ops__row {
  display: grid;
  grid-template-columns: 28px 26px minmax(140px, 1fr) minmax(0, auto) auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 8px 16px 8px 8px;
  border-bottom: 1px solid var(--tw-line);
  cursor: pointer;
}

.top-ops__row:last-child {
  border-bottom: 0;
}

.top-ops__row:hover {
  background: var(--tw-surface);
}

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

.top-ops__row.is-drag {
  opacity: 0.4;
}

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

.top-ops__row.is-off .top-ops__name b, .top-ops__row.is-off .top-ops__pos {
  color: var(--tw-faint);
}

.top-ops__grip {
  display: grid;
  place-items: center;
  width: 28px;
  height: 32px;
  border-radius: 6px;
  color: var(--tw-faint);
  cursor: grab;
}

.top-ops__grip:hover {
  background: var(--tw-line);
  color: var(--tw-ink);
}

.top-ops__grip.is-off {
  opacity: 0.3;
  cursor: default;
}

.top-ops__pos {
  text-align: right;
  font-size: var(--tw-text-xs);
  font-variant-numeric: tabular-nums;
  color: var(--tw-muted);
}

.top-ops__name {
  min-width: 0;
}

.top-ops__name b {
  display: block;
  font-weight: 600;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-ops__name small {
  display: block;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-ops__name .is-none {
  color: var(--tw-faint);
}

.top-ops__tags {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
}

.top-ops__tag {
  display: inline-flex;
  align-items: center;
  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;
}

.top-ops__tag.is-wrong {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.top-ops__tag.is-warn {
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

.top-ops__code {
  display: inline-flex;
  align-items: center;
  max-width: 120px;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--tw-line);
  border-radius: 6px;
  background: var(--tw-panel);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tw-ink);
  white-space: nowrap;
  overflow: hidden;
}

.top-ops__code.is-wrong {
  border-color: var(--tw-alert);
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.top-ops__cut {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.top-ops__cut i {
  color: var(--tw-faint);
}

.top-ops__cut b {
  color: var(--tw-ink);
}

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

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

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

.top-ops__close.is-sheet-only {
  display: none;
}

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

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

.top-ops__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.top-ops__label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

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

.top-ops__seg {
  align-self: flex-start;
}

.top-ops__warn {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
  font-size: var(--tw-text-xs);
}

.top-ops__warn.is-wrong {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.top-ops__warn b {
  display: block;
}

.top-ops__warn i {
  margin-top: 2px;
}

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

.top-ops__section h2 {
  margin: 0;
  font-size: var(--tw-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

.top-ops__facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  margin: 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.top-ops__facts dt {
  font-weight: 400;
}

.top-ops__facts dd {
  margin: 0;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.top-ops__preview {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px dashed var(--tw-line);
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
}

.top-ops__preview li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: var(--tw-panel);
  color: var(--tw-ink);
}

.top-ops__preview li i {
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--tw-faint);
  border-radius: 3px;
}

.top-ops__preview .is-fixed i {
  border-color: var(--tw-muted);
  background: var(--tw-muted);
}

.top-ops__preview li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* dialog, toast, sheet */
.top-ops__dialog {
  width: min(520px, 100vw - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow);
}

.top-ops__dialog::backdrop {
  background: var(--tw-scrim);
}

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

.top-ops__dialog-body {
  padding: 12px 20px 16px;
}

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

.top-ops__scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: var(--tw-scrim);
}

.top-ops__toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1060;
  transform: translateX(-50%);
  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);
}

@media (max-width: 1199px) {
  .top-ops__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}
@media (max-width: 991px) {
  .top-ops__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .top-ops__tabs {
    flex-basis: 100%;
  }
  .top-ops__preview-btn {
    display: inline-block;
  }
  .top-ops__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    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);
  }
  .top-ops__panel.is-open {
    transform: none;
  }
  .top-ops__close.is-sheet-only {
    display: inline-block;
  }
  .top-ops__scrim:not([hidden]) {
    display: block;
  }
}
@media (max-width: 767px) {
  .top-ops__head .btn {
    flex: 1 1 140px;
    white-space: nowrap;
  }
  .top-ops__head .top-ops__spacer {
    display: none;
  }
  .top-ops__row {
    grid-template-columns: 28px minmax(0, 1fr) auto;
  }
  .top-ops__pos, .top-ops__tags {
    display: none;
  }
  .top-ops__code {
    max-width: 96px;
  }
  .top-ops__search {
    max-width: none;
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .top-ops__panel {
    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;
  }
}
/* Notifications (gs-user-notification/manageNotifications.volt, js/groups/notification-map.js).
   Buttons, selects and the page head come from Bootstrap and the shell. */
.notify {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

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

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

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

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

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

.notify__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
  min-width: 0;
}

.notify__spacer {
  flex: 1;
}

.notify__code {
  font-family: var(--tw-font-mono);
  font-size: 11px;
  background: var(--tw-surface);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--tw-text);
}

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

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

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

.notify__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;
}

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

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

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

.notify__search {
  position: relative;
  flex: 1 1 200px;
  max-width: 340px;
}

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

.notify__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);
}

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

.notify__pill {
  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);
}

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

/* the map */
.notify__rowhead, .notify__row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr) 64px 76px;
  gap: 12px;
  align-items: center;
  padding: 8px 16px;
}

.notify__rowhead--people, .notify__row--people {
  grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr) 76px;
}

.notify__rowhead {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-surface);
}

.notify__group {
  padding: 10px 16px 6px;
  font-size: var(--tw-text-xs);
  font-weight: 700;
  color: var(--tw-ink);
  display: flex;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--tw-line);
}

.notify__group small {
  font-weight: 400;
  color: var(--tw-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notify__row {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--tw-line);
  background: none;
  text-align: left;
  color: inherit;
}

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

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

.notify__row.is-empty .notify__name b {
  color: var(--tw-muted);
  font-weight: 600;
}

.notify__name {
  min-width: 0;
}

.notify__name b {
  display: block;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notify__name small {
  display: block;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notify__who {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  min-width: 0;
}

.notify__by {
  display: flex;
  gap: 8px;
  color: var(--tw-line);
  font-size: 15px;
}

.notify__by .is-on {
  color: var(--tw-brand);
}

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

.notify__reach b {
  color: var(--tw-ink);
  font-size: var(--tw-text-sm);
}

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

.notify__none {
  color: var(--tw-faint);
  font-size: var(--tw-text-xs);
}

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

.notify__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 24px;
  padding: 0 9px;
  border-radius: var(--tw-radius-pill);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  line-height: 1;
  border: 1px solid var(--tw-line);
  background: var(--tw-panel);
  color: var(--tw-ink);
}

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

.notify__chip i {
  flex: none;
  font-size: 11px;
  color: var(--tw-muted);
}

.notify__chip--role {
  background: var(--tw-hover);
  border-color: transparent;
}

.notify__chip--warn {
  background: var(--tw-alert-bg);
  border-color: transparent;
  color: var(--tw-alert-ink);
}

.notify__chip--warn i {
  color: var(--tw-alert-ink);
}

.notify__chip-remove {
  border: 0;
  background: none;
  padding: 0 0 0 2px;
  color: var(--tw-muted);
}

.notify__badge {
  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;
}

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

.notify__badge--shared {
  background: var(--tw-tone-warning-bg);
  color: var(--tw-tone-warning-ink);
}

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

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

.notify__panel-head div {
  flex: 1;
  min-width: 0;
}

.notify__panel-head b {
  display: block;
  color: var(--tw-ink);
  font-size: 16px;
}

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

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

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

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

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

.notify__panel-close {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  justify-content: center;
  align-items: center;
  border: 0;
  background: none;
  border-radius: 8px;
  color: var(--tw-muted);
}

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

.notify__section:first-child {
  border-top: 0;
  padding-top: 0;
}

.notify__section h3 {
  margin: 0;
  font-size: var(--tw-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.notify__section h3 span {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.notify__note {
  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);
}

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

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

.notify__note--warn {
  background: var(--tw-tone-warning-bg);
}

.notify__note--warn i {
  color: var(--tw-tone-warning-ink);
}

.notify__facts {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 4px 10px;
  font-size: var(--tw-text-xs);
  margin: 0;
}

.notify__facts dt {
  color: var(--tw-muted);
  font-weight: 400;
}

.notify__facts dd {
  margin: 0;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

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

.notify__check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tw-ink);
  font-weight: 400;
  min-height: 28px;
  margin: 0;
}

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

.notify__add {
  display: flex;
  gap: 8px;
}

.notify__add .form-control, .notify__add .form-select {
  flex: 1;
  min-width: 0;
}

.notify__chips {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.notify__lines li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px 24px;
  gap: 8px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px dashed var(--tw-line);
  font-size: var(--tw-text-xs);
}

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

.notify__lines b {
  color: var(--tw-ink);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notify__lines small {
  color: var(--tw-muted);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notify__lines .is-bad {
  color: var(--tw-alert-ink);
}

.notify__channel {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  color: var(--tw-line);
}

.notify__channel.is-on {
  color: var(--tw-brand);
}

.notify__channel.is-bad {
  color: var(--tw-alert-ink);
}

.notify__link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--tw-accent);
  font-weight: 600;
  text-align: left;
}

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

.notify__seg-btn {
  height: 30px;
  padding: 0 12px;
  border: 0;
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.notify__seg-btn + .notify__seg-btn {
  border-left: 1px solid var(--tw-line);
}

.notify__seg-btn[aria-pressed=true] {
  background: var(--tw-ink);
  color: var(--tw-on-dark);
}

.notify__message {
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  padding: 12px;
  font-size: var(--tw-text-xs);
  background: var(--tw-panel);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.notify__message b {
  display: block;
  color: var(--tw-ink);
  margin-bottom: 6px;
  white-space: normal;
}

.notify__message--text {
  background: var(--tw-tone-info-bg);
  border-color: transparent;
  border-radius: 14px 14px 14px 4px;
  max-width: 300px;
}

.notify__message-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.notify__switch {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  font-weight: 400;
}

.notify__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;
}

.notify__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);
}

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

.notify__switch input:checked::after {
  transform: translateX(16px);
}

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

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

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

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

.notify__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);
}

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

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

.notify__text {
  flex: 1;
  min-width: 0;
}

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

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

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

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

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

.notify__dialog-body {
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 70vh;
  overflow-y: auto;
}

.notify__dialog-body p {
  margin: 0;
}

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

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

@media (max-width: 1199.98px) {
  .notify__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .notify__rowhead, .notify__row {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr) 56px 64px;
  }
  .notify__rowhead--people, .notify__row--people {
    grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr) 64px;
  }
}
@media (max-width: 991.98px) {
  .notify__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .notify__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    width: min(460px, 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);
  }
  .notify__panel.is-open {
    transform: none;
  }
  .notify__panel-close {
    display: inline-flex;
  }
}
@media (max-width: 767.98px) {
  .notify__head .notify__field, .notify__head .btn {
    flex: 1 1 140px;
    justify-content: center;
  }
  .notify__rowhead {
    display: none;
  }
  .notify__row, .notify__row--people {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 6px;
    padding: 10px 16px;
  }
  .notify__row .notify__reach {
    grid-column: 2;
    grid-row: 1;
  }
  .notify__row .notify__by {
    grid-column: 2;
    justify-content: flex-end;
  }
  .notify__row--people .notify__role {
    grid-column: 1;
  }
  .notify__search {
    max-width: none;
    flex-basis: 100%;
  }
  .notify__checks {
    grid-template-columns: 1fr;
  }
  .notify__group small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .notify__panel, .notify__switch input, .notify__switch input::after {
    transition: none;
  }
}
/* Home page banners (gs-home/manageBanners.volt, js/groups/banners.js). Buttons, inputs and the page head come from Bootstrap and the shell. */
.banners {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

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

.banners__spacer {
  flex: 1;
}

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

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

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

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

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

.banners__help {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  font-weight: 400;
  margin: 0;
  overflow-wrap: anywhere;
}

.banners__msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--tw-text-xs);
  padding: 6px 10px;
  border-radius: var(--tw-radius);
  background: var(--tw-ok-bg);
  color: var(--tw-ok);
}

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

.banners__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
  min-width: 0;
}

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

.banners__seg button {
  height: 32px;
  padding: 0 12px;
  border: 0;
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
  white-space: nowrap;
}

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

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

.banners__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px 0 8px;
  border-radius: var(--tw-radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.banners__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.banners__status--live {
  background: var(--tw-ok-bg);
  color: var(--tw-ok);
}

.banners__status--scheduled {
  background: var(--tw-note-info-bg);
  color: var(--tw-note-info);
}

.banners__status--expired {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.banners__status--off {
  background: var(--tw-surface);
  color: var(--tw-muted);
}

.banners__status--new {
  background: var(--tw-highlight);
  color: var(--tw-ink);
}

/* preview */
.banners__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: 12px;
  overflow: hidden;
}

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

.banners__preview-cap b {
  color: var(--tw-ink);
}

.banners__asof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
  margin: 0;
}

.banners__asof input {
  width: auto;
}

.banners__preview-body {
  background: var(--tw-line-2);
  padding: 16px;
  display: flex;
  justify-content: center;
}

.banners__site {
  width: 100%;
  max-width: 920px;
  background: var(--tw-panel);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--tw-shadow-xs);
}

.banners__site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--tw-line);
}

.banners__site-logo {
  width: 64px;
  height: 14px;
  border-radius: 3px;
  background: var(--tw-line);
}

.banners__site-menu {
  display: flex;
  gap: 12px;
}

.banners__site-menu span {
  width: 34px;
  height: 8px;
  border-radius: 4px;
  background: var(--tw-line);
}

.banners__site-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
}

.banners__site-body span {
  height: 26px;
  border-radius: 4px;
  background: var(--tw-surface);
}

.banners__slider {
  position: relative;
  container-type: inline-size;
  background: var(--tw-line-row);
}

/* as on the site: full width in the advised 1900 x 500 shape, cropped rather than squashed */
.banners__stage img {
  display: block;
  width: 100%;
  aspect-ratio: 19/5;
  object-fit: cover;
}

.banners__stage a {
  display: block;
}

.banners__none {
  padding: 28px 16px;
  text-align: center;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

.banners__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: var(--tw-scrim);
  color: var(--tw-on-brand);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.banners__nav--prev {
  left: 8px;
}

.banners__nav--next {
  right: 8px;
}

.banners__slider.is-edit {
  box-shadow: inset 0 0 0 3px var(--tw-accent);
}

.banners__slider.is-edit img {
  outline: 3px solid var(--tw-accent);
  outline-offset: -3px;
}

.banners__preview-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 16px;
  border-top: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.banners__pip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  max-width: 200px;
  padding: 0 10px;
  border-radius: var(--tw-radius-pill);
  border: 1px solid var(--tw-line);
  background: var(--tw-panel);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--tw-muted);
  overflow: hidden;
}

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

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

.banners__preview.is-phone .banners__site {
  max-width: 320px;
}

.banners__preview.is-phone .banners__site-menu {
  display: none;
}

.banners__preview.is-phone .banners__site-body {
  grid-template-columns: 1fr;
}

.banners__preview.is-phone .banners__stage img {
  aspect-ratio: 4/3;
}

/* size guide */
.banners__guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.banners__guide-item {
  display: flex;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  background: var(--tw-panel);
}

.banners__guide-item i {
  width: 20px;
  text-align: center;
  margin-top: 3px;
  color: var(--tw-brand);
}

.banners__guide-item b {
  display: block;
  color: var(--tw-ink);
}

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

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

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

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

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

.banners__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);
}

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

.banners__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);
}

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

.banners__filters b {
  font-weight: 600;
  opacity: 0.7;
  margin-left: 4px;
}

.banners__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);
}

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

.banners__row:last-child {
  border-bottom: 0;
}

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

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

.banners__row.is-drag {
  opacity: 0.4;
}

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

.banners__row.is-dim .banners__thumb, .banners__row.is-dim .banners__text b {
  opacity: 0.55;
}

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

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

.banners__grip:disabled {
  opacity: 0.3;
  cursor: default;
}

.banners__n {
  text-align: center;
  font-weight: 700;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
}

.banners__thumb {
  width: 150px;
  aspect-ratio: 19/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--tw-line-2);
  border: 1px solid var(--tw-line);
  display: grid;
  place-items: center;
  color: var(--tw-faint);
}

.banners__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banners__text {
  min-width: 0;
}

.banners__text b {
  display: block;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.banners__text .is-none {
  color: var(--tw-faint);
  font-weight: 400;
  font-style: italic;
}

.banners__text small {
  display: block;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.banners__warn-icon {
  display: none;
  color: var(--tw-alert-ink);
  font-style: normal;
}

.banners__tags {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.banners__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;
}

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

.banners__state small {
  display: block;
  margin-top: 2px;
  color: var(--tw-muted);
  font-size: 11px;
  white-space: nowrap;
}

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

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

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

.banners__empty p {
  margin: 0 0 12px;
}

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

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

.banners__panel-head b {
  color: var(--tw-ink);
  font-size: 16px;
}

.banners__panel-head.is-shake {
  animation: banners-shake 0.3s;
}

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

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

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

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

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

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

.banners__two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

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

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

.banners__sysbox div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.banners__img {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.banners__img-cap {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.banners__img-cap small {
  font-weight: 400;
  color: var(--tw-faint);
}

.banners__drop {
  border: 1px dashed var(--tw-faint);
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 84px;
}

.banners__drop img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

.banners__drop--phone img {
  max-height: 150px;
}

.banners__drop.is-over {
  border-color: var(--tw-accent);
  background: var(--tw-hover);
}

.banners__drop-blank {
  padding: 14px 10px;
  text-align: center;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.banners__drop-blank i {
  font-size: 20px;
  color: var(--tw-faint);
}

.banners__img-acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.banners__img-acts label {
  cursor: pointer;
}

.banners__img-acts label:focus-within {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

.banners__switch {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
}

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

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

.banners__check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tw-ink);
  min-width: 0;
  margin: 0;
}

.banners__check input {
  width: 18px;
  height: 18px;
  flex: none;
}

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

.banners__check small {
  color: var(--tw-muted);
  margin-left: auto;
  white-space: nowrap;
}

.banners__checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 190px;
  overflow-y: auto;
  padding: 2px;
}

/* dialog */
.banners__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);
}

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

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

.banners__dialog-body {
  padding: 12px 20px 16px;
}

.banners__dialog-body > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.banners__dialog-body p {
  margin: 0 0 8px;
}

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

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

/* tablet and phone: the editor opens as a sheet over the list */
@media (max-width: 1199.98px) {
  .banners__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .banners__row {
    grid-template-columns: 28px 20px 120px minmax(0, 1fr) 104px 76px;
  }
  .banners__thumb {
    width: 120px;
  }
  .banners__tags {
    display: none;
  }
  .banners__warn-icon {
    display: inline;
  }
}
@media (max-width: 991.98px) {
  .banners__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .banners__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 0.2s ease;
  }
  .banners__panel.is-open {
    transform: none;
  }
  .banners__row {
    grid-template-columns: 28px 20px 150px minmax(0, 1fr) 124px 76px;
  }
  .banners__thumb {
    width: 150px;
  }
}
@media (max-width: 767.98px) {
  .banners__head .banners__field, .banners__head .btn {
    flex: 1 1 140px;
  }
  .banners__guide {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .banners__preview-body {
    padding: 10px;
  }
  .banners__row {
    grid-template-columns: 24px 96px minmax(0, 1fr) 68px;
    grid-template-areas: "grip thumb text move" "grip thumb state move";
    gap: 4px 10px;
  }
  .banners__grip {
    grid-area: grip;
    width: 24px;
  }
  .banners__n {
    display: none;
  }
  .banners__thumb {
    grid-area: thumb;
    width: 96px;
  }
  .banners__text {
    grid-area: text;
  }
  .banners__state {
    grid-area: state;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .banners__state small {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .banners__move {
    grid-area: move;
    flex-direction: column;
    align-items: flex-end;
  }
  .banners__search {
    max-width: none;
    flex-basis: 100%;
  }
  .banners__two {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .banners__panel, .banners__panel-head {
    transition: none;
    animation: none;
  }
}
/* Gratis Tools (gs-gratis-tools/index.volt, js/groups/gratis-tools.js). The input and the page head come from Bootstrap and the shell. */
.gratis-tools {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

.gratis-tools ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.gratis-tools__search {
  position: relative;
  max-width: 320px;
  margin-bottom: 16px;
}

.gratis-tools__search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tw-faint);
  pointer-events: none;
}

.gratis-tools__search .form-control {
  padding-left: 34px;
  font-size: var(--tw-text-sm);
}

.gratis-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.gratis-tools__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
  padding: 12px 8px;
  min-width: 0;
}

.gratis-tools__cap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 10px 10px;
}

.gratis-tools__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--tw-radius);
  color: var(--tw-ink);
  text-decoration: none;
}

.gratis-tools__row:hover, .gratis-tools__row:focus {
  background: var(--tw-hover);
  color: var(--tw-ink);
  text-decoration: none;
}

.gratis-tools__row i {
  flex: 0 0 18px;
  margin-top: 3px;
  text-align: center;
  color: var(--tw-muted);
}

.gratis-tools__row:hover i, .gratis-tools__row:focus i {
  color: var(--tw-brand);
}

.gratis-tools__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.gratis-tools__name {
  font-weight: 600;
}

.gratis-tools__desc {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  line-height: 1.4;
}

.gratis-tools__none {
  margin: 0;
  padding: 24px 0;
  color: var(--tw-muted);
}

@media (max-width: 991.98px) {
  .gratis-tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .gratis-tools__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .gratis-tools__search {
    max-width: none;
  }
}
/* Broadcasts (gs-broadcasting/index.volt, js/groups/broadcasts.js). Buttons, inputs and the page head come from Bootstrap and the shell. */
.bcast {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

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

.bcast__spacer {
  flex: 1;
}

.bcast__help {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  margin: 0;
  overflow-wrap: anywhere;
}

.bcast__help.is-bad {
  color: var(--tw-alert-ink);
}

.bcast__foot-note {
  margin-top: 10px;
}

.bcast__card {
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
  min-width: 0;
}

.bcast__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.bcast__tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.bcast__tabs button {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  background: var(--tw-panel);
  color: var(--tw-muted);
  font-weight: 600;
}

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

.bcast__count {
  margin-left: 6px;
  opacity: 0.7;
  font-size: var(--tw-text-xs);
}

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

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

.bcast__field-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

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

.bcast__code {
  font-family: var(--tw-font-mono);
  font-size: var(--tw-text-xs);
}

.bcast__switch {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
}

.bcast__switch input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--tw-brand);
}

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

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

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

.bcast__seg button {
  height: 32px;
  padding: 0 12px;
  border: 0;
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
  white-space: nowrap;
}

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

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

.bcast__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
  color: var(--tw-muted);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.bcast__status--scheduled {
  background: var(--tw-note-info-bg);
  color: var(--tw-note-info);
}

.bcast__status--sending {
  background: var(--tw-highlight);
  color: var(--tw-ink);
}

.bcast__status--sent {
  background: var(--tw-ok-bg);
  color: var(--tw-ok);
}

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

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

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

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

.bcast__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);
}

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

.bcast__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);
}

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

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

.bcast__row:last-child {
  border-bottom: 0;
}

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

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

.bcast__main {
  min-width: 0;
}

.bcast__main b {
  display: block;
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bcast__main .is-none {
  color: var(--tw-faint);
  font-weight: 400;
  font-style: italic;
}

.bcast__main small {
  display: block;
  color: var(--tw-muted);
  font-size: var(--tw-text-xs);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

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

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

.bcast__panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
  min-width: 0;
}

.bcast__panel-head b {
  color: var(--tw-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

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

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

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

.bcast__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bcast__wide {
  flex-basis: 100%;
}

.bcast__box {
  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);
}

.bcast__box > i {
  color: var(--tw-muted);
  margin-top: 2px;
}

.bcast__box > div {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

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

.bcast__box--info {
  background: var(--tw-note-info-bg);
}

.bcast__box--info > i {
  color: var(--tw-note-info);
}

.bcast__box--warn {
  background: var(--tw-alert-bg);
}

.bcast__box--warn > i, .bcast__box--warn b {
  color: var(--tw-alert-ink);
}

.bcast__bar {
  display: block;
  width: 100%;
  height: 6px;
  margin-top: 8px;
  border: 0;
  border-radius: var(--tw-radius-pill);
  overflow: hidden;
  accent-color: var(--tw-brand);
}

.bcast__counted {
  display: block;
  color: var(--tw-faint);
}

.bcast__facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0;
  font-size: var(--tw-text-xs);
}

.bcast__facts dt {
  color: var(--tw-muted);
  font-weight: 600;
}

.bcast__facts dd {
  margin: 0;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

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

.bcast__reach li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--tw-line-soft);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

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

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

.bcast__reach .is-total {
  background: var(--tw-surface);
  color: var(--tw-ink);
  font-weight: 700;
}

.bcast__rules {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bcast__rules li {
  padding: 6px 10px;
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  overflow-wrap: anywhere;
}

.bcast__rules b {
  color: var(--tw-ink);
}

.bcast__table {
  margin: 0;
  font-size: var(--tw-text-xs);
}

.bcast__table td, .bcast__table th {
  white-space: nowrap;
}

/* the email: the server's rendering in a sandboxed frame */
.bcast__pv {
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  background: var(--tw-line-2);
  overflow: hidden;
}

.bcast__mail {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  background: var(--tw-panel);
}

.bcast__mail--phone {
  width: 375px;
  max-width: 100%;
  height: 640px;
  margin: 0 auto;
}

/* history */
.bcast__hist {
  display: grid;
  grid-template-columns: 130px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr) 90px 90px 170px;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
}

.bcast__hist:last-child {
  border-bottom: 0;
}

.bcast__hist > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bcast__hist b {
  color: var(--tw-ink);
  font-size: var(--tw-text-sm);
}

.bcast__hist small {
  display: block;
  color: var(--tw-muted);
}

.bcast__hist .is-bad {
  color: var(--tw-alert-ink);
  font-weight: 700;
}

.bcast__hist--head {
  font-weight: 700;
  color: var(--tw-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
  background: var(--tw-surface);
  border-radius: var(--tw-radius-card) var(--tw-radius-card) 0 0;
}

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

.bcast__num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bcast__hist-acts {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* dialogs */
.bcast__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);
}

.bcast__dialog.is-wide {
  width: min(720px, 100vw - 32px);
}

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

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

.bcast__dialog-head small {
  display: block;
  font-size: var(--tw-text-xs);
  font-weight: 400;
  color: var(--tw-muted);
  overflow-wrap: anywhere;
}

.bcast__dialog-body {
  padding: 12px 20px 16px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.bcast__dialog-body > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bcast__dialog-body p {
  margin: 0;
}

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

.bcast__dialog-foot .bcast__spacer:first-child {
  display: none;
}

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

.bcast__steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: var(--tw-text-xs);
  color: var(--tw-faint);
}

.bcast__steps li {
  padding: 4px 10px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
}

.bcast__steps .is-on {
  background: var(--tw-ink);
  color: var(--tw-on-brand);
  font-weight: 700;
}

.bcast__steps .is-done {
  color: var(--tw-ok);
}

.bcast__radio {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  margin: 0;
  cursor: pointer;
}

.bcast__radio > div {
  flex: 1;
  min-width: 0;
}

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

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

.bcast__radio input {
  margin-top: 4px;
}

.bcast__big {
  font-size: 28px;
  font-weight: 800;
  color: var(--tw-ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.bcast__live {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
}

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

.bcast__rule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bcast__rule {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 40px;
  gap: 8px;
  align-items: center;
}

/* editor */
.bcast__edit-head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

.bcast__edit-title {
  flex: 1 1 260px;
  min-width: 0;
}

.bcast__edit-title h2 {
  margin: 4px 0 2px;
  font-size: 22px;
  font-weight: 700;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.bcast__save-state {
  margin: 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-ok);
}

.bcast__save-state.is-dirty {
  color: var(--tw-alert-ink);
  font-weight: 700;
}

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

.bcast__edit-form {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bcast__edit-pv {
  position: sticky;
  top: 16px;
  overflow: hidden;
}

.bcast__edit-pvhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  font-weight: 700;
  color: var(--tw-muted);
}

.bcast__edit-pvbody {
  background: var(--tw-line-2);
  padding: 12px;
}

.bcast__edit-pvbody .bcast__mail {
  height: 640px;
}

.bcast .bcast__slices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.bcast__slice {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 8px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
}

.bcast__slice-img {
  width: 96px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--tw-line-2);
  display: grid;
  place-items: center;
}

.bcast__slice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bcast__slice-btns {
  display: flex;
  gap: 4px;
}

/* tablet and phone: the panel opens as a sheet over the list */
@media (max-width: 1199.98px) {
  .bcast__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .bcast__hist {
    grid-template-columns: 110px minmax(0, 1.4fr) minmax(0, 1fr) 80px 80px 80px;
  }
  .bcast__hist > span:nth-child(4) {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .bcast__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bcast__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    width: min(460px, 100vw);
    max-height: none;
    border-radius: 0;
    border: 0;
    box-shadow: var(--tw-shadow);
    transform: translateX(105%);
    transition: transform 0.2s ease;
  }
  .bcast__panel.is-open {
    transform: none;
  }
  .bcast__edit {
    grid-template-columns: minmax(0, 1fr);
  }
  .bcast__edit-pv {
    position: static;
  }
}
@media (max-width: 767.98px) {
  .bcast__head .btn {
    flex: 1 1 160px;
  }
  .bcast__head .bcast__spacer {
    display: none;
  }
  .bcast__tabs {
    flex-basis: 100%;
  }
  .bcast__search {
    max-width: none;
    flex-basis: 100%;
  }
  .bcast__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "status side" "main main";
    gap: 6px 10px;
  }
  .bcast__row > .bcast__status {
    grid-area: status;
    justify-self: start;
  }
  .bcast__main {
    grid-area: main;
  }
  .bcast__side {
    grid-area: side;
  }
  .bcast__side b {
    display: inline;
    margin-right: 4px;
  }
  .bcast__hist--head {
    display: none;
  }
  .bcast__hist {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4px 12px;
  }
  .bcast__hist > span:nth-child(4) {
    display: block;
  }
  .bcast__num {
    text-align: left;
  }
  .bcast__num::before {
    content: attr(data-label) ": ";
    color: var(--tw-muted);
  }
  .bcast__hist-acts {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
  .bcast__rule {
    grid-template-columns: minmax(0, 1fr) 40px;
  }
  .bcast__rule > :nth-child(2), .bcast__rule > :nth-child(3) {
    grid-column: 1;
  }
  .bcast__rule > button {
    grid-row: 1;
    grid-column: 2;
  }
  .bcast__slice {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .bcast__slice-img {
    width: 72px;
  }
  .bcast__slice-btns {
    grid-column: 1/-1;
    justify-content: flex-end;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bcast__panel {
    transition: none;
  }
}
/* Inventory (gs-inventory/index.volt, js/groups/inventory-list.js). Buttons, inputs, dropdowns and the page head come from Bootstrap and the shell. */
.inventory {
  --inv-cols: 72px minmax(0, 1fr) 150px 110px 120px 120px;
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

.inventory.is-one-rooftop {
  --inv-cols: 72px minmax(0, 1fr) 110px 120px 120px;
}

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

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

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

.inventory__head {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}

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

.inventory__foot {
  margin: 12px 4px 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

/* search, type pills and the filters */
.inventory__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.inventory__search {
  position: relative;
  flex: 1 1 240px;
  max-width: 380px;
  margin: 0;
}

.inventory__search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tw-faint);
}

.inventory__search .form-control {
  padding-left: 34px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
}

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

.inventory__type-pill {
  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);
}

.inventory__type-pill small {
  margin-left: 2px;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

.inventory__type-pill[aria-pressed=true] {
  background: var(--tw-ink);
  border-color: var(--tw-ink);
  color: var(--tw-on-dark);
}

.inventory__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-surface);
}

.inventory__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 1 220px;
  margin: 0;
  min-width: 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

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

.inventory__summary {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 10px 16px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.inventory__summary b {
  color: var(--tw-ink);
}

.inventory__clear {
  margin-left: auto;
  font-weight: 600;
}

/* the list */
.inventory__thead, .inventory__row {
  display: grid;
  grid-template-columns: var(--inv-cols);
  gap: 12px;
  align-items: center;
  padding: 0 16px;
}

.inventory__thead {
  min-height: 32px;
  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);
}

.inventory__num {
  text-align: right;
}

.inventory.is-one-rooftop .inventory__col-rooftop, .inventory.is-one-rooftop .inventory__rooftop, .inventory.is-one-rooftop .inventory__m-rooftop {
  display: none;
}

.inventory__rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.inventory__row {
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tw-line);
}

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

.inventory__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 54px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  object-fit: cover;
}

.inventory__thumb.is-none {
  color: var(--tw-faint);
  font-size: 18px;
}

.inventory__veh {
  min-width: 0;
}

.inventory__name {
  display: block;
  overflow: hidden;
  font-weight: 600;
  color: var(--tw-ink);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inventory__name:hover {
  color: var(--tw-accent);
}

.inventory__name span {
  font-weight: 400;
  color: var(--tw-muted);
}

.inventory__ids {
  display: flex;
  gap: 4px 12px;
  flex-wrap: wrap;
  margin-top: 2px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.inventory__ids code {
  padding: 0;
  background: none;
  font-family: var(--tw-font-mono);
  font-size: 11px;
  color: var(--tw-text);
}

.inventory__m-rooftop {
  display: none;
}

.inventory__rooftop {
  overflow: hidden;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.inventory__tag.is-warn {
  margin-top: 4px;
  background: var(--tw-tone-warning-bg);
  color: var(--tw-tone-warning-ink);
}

.inventory__price {
  font-variant-numeric: tabular-nums;
  color: var(--tw-ink);
  text-align: right;
}

.inventory__price s {
  display: block;
  font-size: var(--tw-text-xs);
  color: var(--tw-faint);
}

.inventory__acts {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

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

.inventory__acts .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inventory__acts .dropdown-item i {
  width: 16px;
}

.inventory__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 16px;
  text-align: center;
  color: var(--tw-muted);
}

.inventory__empty i {
  font-size: 28px;
  color: var(--tw-line);
}

.inventory__empty b {
  color: var(--tw-ink);
}

.inventory__more {
  padding: 16px;
  text-align: center;
}

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

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

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

.inventory__dialog-body {
  margin: 0;
  padding: 12px 20px 16px;
  line-height: 1.5;
}

.inventory__dialog-error {
  margin: 0;
  padding: 0 20px 12px;
  font-weight: 600;
  color: var(--tw-alert-ink);
}

.inventory__dialog-error:empty {
  display: none;
}

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

@media (max-width: 1199px) {
  .inventory {
    --inv-cols: 72px minmax(0, 1fr) 100px 110px 120px;
  }
  .inventory.is-one-rooftop {
    --inv-cols: 72px minmax(0, 1fr) 100px 110px 120px;
  }
  .inventory__col-rooftop, .inventory__rooftop {
    display: none;
  }
  .inventory__m-rooftop {
    display: inline;
  }
}
@media (max-width: 767px) {
  .inventory__head .btn {
    flex: 1;
    justify-content: center;
  }
  .inventory__search {
    flex-basis: 100%;
    max-width: none;
  }
  .inventory__types {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .inventory__type-pill {
    flex: none;
    min-height: 44px;
  }
  .inventory__field {
    flex: 1 1 140px;
  }
  .inventory__apply {
    flex: 1 1 100%;
    min-height: 44px;
  }
  .inventory__thead {
    display: none;
  }
  .inventory__row, .inventory.is-one-rooftop .inventory__row {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas: "thumb veh veh" "thumb type price" "acts acts acts";
    gap: 6px 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .inventory__thumb {
    grid-area: thumb;
    align-self: start;
  }
  .inventory__veh {
    grid-area: veh;
  }
  .inventory__name {
    white-space: normal;
  }
  .inventory__type {
    grid-area: type;
  }
  .inventory__price {
    grid-area: price;
  }
  .inventory__acts {
    grid-area: acts;
  }
  .inventory__acts .btn {
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
  }
}
/* Business hours (gs-business-hours/index.volt, js/groups/business-hours.js).
   Buttons, form controls, badges and alerts come from Bootstrap; the page head from the shell. */
.business-hours {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

.business-hours [hidden] {
  display: none;
}

.business-hours__spacer {
  flex: 1;
}

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

.business-hours__pad {
  padding: 16px;
}

.business-hours__heading {
  margin: 0 0 10px;
  font-size: var(--tw-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

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

.business-hours__head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.business-hours__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.business-hours__field .form-select {
  font-size: var(--tw-text-sm);
  font-weight: 400;
  color: var(--tw-ink);
}

.business-hours__add {
  position: relative;
}

.business-hours__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 5;
  min-width: 260px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow);
}

.business-hours__menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--tw-radius-control);
  background: none;
  text-align: left;
  color: var(--tw-ink);
}

.business-hours__menu button:hover, .business-hours__menu button:focus-visible {
  background: var(--tw-hover);
}

/* base.css removes the outline of every focused button */
.business-hours__menu button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--tw-accent);
}

.business-hours__menu .is-none {
  padding: 8px 10px;
  color: var(--tw-muted);
}

.business-hours__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.business-hours__main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
  gap: 16px;
  align-items: start;
}

.business-hours__rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 16px;
}

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

.business-hours__dept-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.business-hours__tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.business-hours__tools .form-select {
  width: auto;
  max-width: 180px;
}

.business-hours__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);
}

.business-hours__own {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  border-top: 1px solid var(--tw-line);
  overflow-wrap: anywhere;
}

.business-hours__day {
  display: grid;
  grid-template-columns: 92px 84px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 16px;
  border-top: 1px solid var(--tw-line);
}

.business-hours__dept-head + .business-hours__day {
  border-top: 0;
}

.business-hours__day-name {
  font-weight: 600;
  color: var(--tw-ink);
}

.business-hours__closed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--tw-text);
}

/* the legacy sheet takes .form-check-input out of the flow */
.business-hours__closed .form-check-input {
  position: static;
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
}

.business-hours__times {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 38px;
}

.business-hours__times .form-control {
  flex: 1 1 0;
  min-width: 0;
  max-width: 140px;
  padding-left: 8px;
  padding-right: 6px;
  font-variant-numeric: tabular-nums;
}

.business-hours__times span {
  color: var(--tw-muted);
}

.business-hours__times.is-kept {
  flex-wrap: wrap;
}

.business-hours__kept {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 8px;
  min-width: 0;
  padding: 4px 10px;
  border-radius: var(--tw-radius);
  background: var(--tw-tone-warning-bg);
  font-size: var(--tw-text-xs);
  overflow-wrap: break-word;
}

.business-hours__kept b {
  min-width: 0;
}

.business-hours__kept, .business-hours__kept b {
  color: var(--tw-warn);
}

.business-hours__day.is-closed .business-hours__times {
  color: var(--tw-muted);
}

.business-hours__day.is-dirty {
  background: var(--tw-tone-info-bg);
  box-shadow: inset 3px 0 0 var(--tw-accent);
}

.business-hours__day.is-bad .form-control {
  border-color: var(--tw-alert);
}

.business-hours__error {
  grid-column: 1/-1;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-alert-ink);
}

.business-hours__preview {
  padding: 10px 0;
  border-top: 1px solid var(--tw-line);
}

.business-hours__preview:first-child {
  padding-top: 0;
  border-top: 0;
}

.business-hours__preview b {
  display: block;
  margin-bottom: 4px;
  color: var(--tw-brand);
  overflow-wrap: anywhere;
}

.business-hours__preview div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--tw-text-xs);
  font-variant-numeric: tabular-nums;
}

.business-hours__preview div span:last-child {
  text-align: right;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.business-hours__where {
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-hours__where li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
}

.business-hours__where li:first-child {
  padding-top: 0;
  border-top: 0;
}

.business-hours__where i {
  width: 16px;
  margin-top: 2px;
  color: var(--tw-faint);
}

.business-hours__where b {
  display: block;
  color: var(--tw-ink);
}

.business-hours__blank {
  grid-column: 1/-1;
  padding: 40px 16px;
  text-align: center;
  color: var(--tw-muted);
}

.business-hours__blank > i {
  display: block;
  margin-bottom: 12px;
  font-size: 32px;
  color: var(--tw-line);
}

.business-hours__blank b {
  display: block;
  font-size: 18px;
  color: var(--tw-ink);
}

.business-hours__blank p {
  margin: 4px 0 0;
}

.business-hours__save {
  position: sticky;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow);
  color: var(--tw-muted);
}

.business-hours__save.is-dirty {
  font-weight: 600;
  color: var(--tw-ink);
}

.business-hours__dialog {
  border: 0;
  padding: 0;
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow);
  width: min(480px, 100vw - 32px);
  color: var(--tw-text);
}

.business-hours__dialog::backdrop {
  background: var(--tw-scrim);
}

.business-hours__dialog-head {
  padding: 16px 20px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.business-hours__dialog-body {
  padding: 12px 20px 16px;
}

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

.business-hours__toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  transform: translateX(-50%);
  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);
}

@media (max-width: 1099.98px) {
  .business-hours__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .business-hours__rail {
    position: static;
  }
}
@media (max-width: 575.98px) {
  .business-hours__field, .business-hours__add, .business-hours__add .btn {
    width: 100%;
  }
  .business-hours__menu {
    left: 0;
  }
  .business-hours__day {
    grid-template-columns: 1fr auto;
    row-gap: 6px;
  }
  .business-hours__times {
    grid-column: 1/-1;
  }
  .business-hours__times .form-control {
    max-width: none;
  }
  .business-hours__tools {
    width: 100%;
  }
  .business-hours__save {
    flex-wrap: wrap;
  }
}
/* Holidays (gs-holidays/index.volt, js/groups/holidays.js).
   Buttons and alerts come from Bootstrap; the page head from the shell. */
.holidays {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

.holidays [hidden] {
  display: none;
}

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

.holidays__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

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

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

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

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

.holidays__tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

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

.holidays__pill {
  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);
}

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

.holidays__count {
  margin-left: 4px;
  opacity: 0.75;
}

.holidays__hint {
  font-size: var(--tw-text-xs);
  color: var(--tw-faint);
}

.holidays__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 190px 150px;
  gap: 12px;
  align-items: center;
  min-height: 60px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.holidays__row--head {
  min-height: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
  background: var(--tw-surface);
}

.holidays__rows .holidays__row:last-child {
  border-bottom: 0;
}

.holidays__name {
  min-width: 0;
}

.holidays__name b, .holidays__name small, .holidays__next b, .holidays__next small {
  display: block;
}

.holidays__name b {
  color: var(--tw-ink);
}

.holidays__name small {
  font-size: var(--tw-text-xs);
  color: var(--tw-faint);
}

.holidays__row.is-off .holidays__name b {
  font-weight: 600;
  color: var(--tw-muted);
}

.holidays__next b {
  font-weight: 600;
  color: var(--tw-ink);
}

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

.holidays__next .is-soon {
  font-weight: 700;
  color: var(--tw-warn);
}

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

.holidays__warn {
  grid-column: 2/-1;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--tw-radius);
  background: var(--tw-warn-bg);
  font-size: var(--tw-text-xs);
  color: var(--tw-warn);
}

.holidays__foot {
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid var(--tw-line);
  border-radius: 0 0 var(--tw-radius-card) var(--tw-radius-card);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.holidays__switch {
  display: flex;
  margin: 0;
}

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

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

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

.holidays__switch input:checked::after {
  transform: translateX(16px);
}

.holidays__switch input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.holidays__side {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.holidays__side-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

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

.holidays__side-head span {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.holidays__cal li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--tw-line);
}

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

.holidays__day {
  overflow: hidden;
  border: 1px solid var(--tw-line);
  border-radius: 8px;
  line-height: 1;
  text-align: center;
}

.holidays__day small {
  display: block;
  padding: 3px 0;
  background: var(--tw-brand);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tw-on-brand);
}

.holidays__day b {
  display: block;
  padding: 5px 0;
  font-size: 16px;
  color: var(--tw-ink);
}

.holidays__day-text {
  min-width: 0;
}

.holidays__day-text b, .holidays__day-text small {
  display: block;
}

.holidays__day-text b {
  color: var(--tw-ink);
}

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

.holidays__side-none {
  margin: 0;
  padding: 20px 16px;
  text-align: center;
  color: var(--tw-muted);
}

.holidays__info {
  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);
}

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

.holidays__info b {
  color: var(--tw-ink);
}

.holidays__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);
}

.holidays__toast button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .holidays__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .holidays__row {
    grid-template-columns: 56px minmax(0, 1fr) 180px;
  }
  .holidays__following {
    display: none;
  }
}
@media (max-width: 991px) {
  .holidays__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .holidays__side {
    position: static;
  }
}
@media (max-width: 767px) {
  .holidays__row--head, .holidays__hint {
    display: none;
  }
  .holidays__field, .holidays__actions .btn {
    width: 100%;
  }
  .holidays__row {
    grid-template-columns: 52px minmax(0, 1fr);
    row-gap: 4px;
  }
  .holidays__switch {
    grid-row: 1/span 2;
  }
  .holidays__next {
    grid-column: 2;
  }
  .holidays__next b, .holidays__next small {
    display: inline;
    margin-right: 6px;
    font-size: var(--tw-text-xs);
  }
  .holidays__next b {
    font-weight: 400;
    color: var(--tw-text);
  }
  .holidays__warn {
    grid-column: 1/-1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .holidays__switch input, .holidays__switch input::after {
    transition: none;
  }
}
/* Route sheet teams (gs-route-teams/index.volt, js/groups/route-teams.js).
   Buttons, badges, selects and alerts come from Bootstrap; the page head from the shell. */
.route-teams {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

.route-teams [hidden] {
  display: none;
}

.route-teams__spacer {
  flex: 1;
}

.route-teams__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.route-teams__card {
  margin-bottom: 16px;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
}

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

.route-teams__label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--tw-text-xs);
  font-weight: 700;
  color: var(--tw-muted);
}

/* the Active / Inactive band */
.route-teams__state {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.route-teams__state.is-off {
  background: var(--tw-highlight);
}

.route-teams__switch {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.route-teams__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);
}

.route-teams__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);
}

.route-teams__switch input:checked {
  background: var(--tw-primary);
}

.route-teams__switch input:checked::after {
  transform: translateX(16px);
}

.route-teams__switch b {
  display: block;
  color: var(--tw-ink);
}

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

.route-teams__scope {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.route-teams__scope i {
  margin-right: 4px;
  color: var(--tw-faint);
}

/* one route team */
.route-teams__team {
  overflow: hidden;
}

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

.route-teams__team-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tw-hover);
  color: var(--tw-brand);
}

.route-teams__who {
  flex: 1;
  min-width: 0;
}

.route-teams__who b {
  display: block;
  overflow: hidden;
  font-size: var(--tw-text-md);
  color: var(--tw-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.route-teams__sum {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  white-space: nowrap;
}

.route-teams__sees {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 16px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.route-teams__sees i {
  color: var(--tw-faint);
}

.route-teams__team-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 16px;
}

.route-teams__none {
  grid-column: 1/-1;
  margin: 0;
  color: var(--tw-muted);
}

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

.route-teams__team-foot .form-select {
  max-width: 320px;
}

/* one tech team */
.route-teams__tech-team {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
}

.route-teams__tech-team-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 8px 10px 12px;
  border-bottom: 1px solid var(--tw-line);
}

.route-teams__tech-team-head b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--tw-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-teams__members {
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-teams__members li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 8px 4px 12px;
  border-bottom: 1px solid var(--tw-line);
  color: var(--tw-ink);
}

.route-teams__members .is-none {
  padding: 10px 12px;
  color: var(--tw-faint);
}

.route-teams__person {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-teams__tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.route-teams__fix {
  padding: 0;
  font-size: 11px;
  font-weight: 700;
}

.route-teams__tech-team-add {
  margin-top: auto;
  padding: 8px;
}

.route-teams__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--tw-muted);
}

.route-teams__icon:hover {
  background: var(--tw-hover);
  color: var(--tw-ink);
}

/* technicians on no team, and the empty state */
.route-teams__unassigned-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.route-teams__unassigned-head b {
  display: block;
  color: var(--tw-ink);
}

.route-teams__unassigned-head small {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.route-teams__unassigned {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 16px;
}

.route-teams__chip {
  display: inline-flex;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-ink);
}

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

.route-teams__empty p {
  margin: 0 0 6px;
}

.route-teams__empty b {
  color: var(--tw-ink);
}

.route-teams__dialog {
  width: min(480px, 100vw - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow);
  color: var(--tw-text);
}

.route-teams__dialog::backdrop {
  background: var(--tw-scrim);
}

.route-teams__dialog-head {
  padding: 16px 20px 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 700;
  color: var(--tw-ink);
}

.route-teams__dialog-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 20px 16px;
  overflow-wrap: anywhere;
}

.route-teams__dialog-body p {
  margin: 0;
}

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

.route-teams__toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  transform: translateX(-50%);
  border-radius: var(--tw-radius);
  background: var(--tw-ink);
  color: var(--tw-on-brand);
  box-shadow: var(--tw-shadow);
}

.route-teams__toast button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .route-teams__actions .btn {
    flex: 1 1 100%;
  }
  .route-teams__actions .route-teams__spacer {
    display: none;
  }
  .route-teams__sum {
    display: none;
  }
  .route-teams__team-head {
    flex-wrap: wrap;
  }
  .route-teams__team-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
  .route-teams__team-foot {
    flex-wrap: wrap;
  }
  .route-teams__team-foot .form-select {
    max-width: none;
  }
  .route-teams__team-foot .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .route-teams__switch input, .route-teams__switch input::after {
    transition: none;
  }
}
/* Shifts (gs-shifts/index.volt, js/groups/shifts.js).
   Buttons, inputs and alerts come from Bootstrap; the page head from the shell. */
.shifts {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

.shifts [hidden] {
  display: none;
}

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

.shifts__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

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

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

.shifts__spacer {
  flex: 1;
}

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

.shifts__error {
  margin: 6px 0 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-alert);
}

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

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

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

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

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

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

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

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

.shifts__search {
  position: relative;
  flex: 1 1 200px;
  max-width: 320px;
  margin: 0;
}

.shifts__search i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--tw-faint);
}

.shifts__search .form-control {
  padding-left: 34px;
  border-radius: var(--tw-radius-pill);
}

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

.shifts__pill {
  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);
}

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

.shifts__pill-count {
  margin-left: 4px;
  opacity: 0.75;
}

.shifts__head, .shifts__row {
  display: grid;
  grid-template-columns: minmax(180px, 1.6fr) repeat(7, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
  padding: 8px 12px 8px 16px;
}

.shifts__head {
  background: var(--tw-surface);
  border-bottom: 1px solid var(--tw-line);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
}

.shifts__head span + span {
  text-align: center;
}

.shifts__head .is-closed {
  color: var(--tw-faint);
}

.shifts__row {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-bottom: 1px solid var(--tw-line);
  background: none;
  text-align: left;
  color: inherit;
}

.shifts__rows li:last-child .shifts__row {
  border-bottom: 0;
}

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

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

.shifts__who {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.shifts__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tw-hover);
  font-size: var(--tw-text-xs);
  font-weight: 700;
  color: var(--tw-brand);
}

.shifts__who-text {
  min-width: 0;
}

.shifts__who-text b, .shifts__who-text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shifts__who-text b {
  color: var(--tw-ink);
}

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

.shifts__who-text .shifts__flag {
  font-weight: 600;
  color: var(--tw-warn);
}

.shifts__cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4px 2px;
  border-radius: 8px;
  background: var(--tw-ok-bg);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--tw-ok);
}

.shifts__cell small {
  font-size: 10.5px;
  font-weight: 400;
}

.shifts__cell.is-off {
  border: 1px dashed var(--tw-line);
  background: none;
  font-weight: 400;
  color: var(--tw-faint);
}

.shifts__cell.is-closed {
  background: repeating-linear-gradient(135deg, var(--tw-surface), var(--tw-surface) 5px, transparent 5px, transparent 10px);
  font-weight: 400;
  color: var(--tw-faint);
}

.shifts__cell.is-bad {
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

.shifts__fold {
  display: none;
}

.shifts__foot {
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid var(--tw-line);
  border-radius: 0 0 var(--tw-radius-card) var(--tw-radius-card);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

/* side cards */
.shifts__side {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shifts__side-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

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

.shifts__side-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
}

.shifts__big {
  font-weight: 700;
  color: var(--tw-ink);
}

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

.shifts__seg button {
  flex: 1;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

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

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

.shifts__seg button:disabled {
  cursor: not-allowed;
}

.shifts__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shifts__cov li {
  display: grid;
  grid-template-columns: 44px 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px 16px;
  border-bottom: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
}

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

.shifts__cov b {
  color: var(--tw-ink);
}

.shifts__cov-count {
  font-weight: 700;
  text-align: right;
  color: var(--tw-ink);
}

.shifts__cov .is-closed, .shifts__cov .is-closed b {
  color: var(--tw-faint);
}

.shifts__cov .is-zero:not(.is-closed) span:last-child {
  font-weight: 600;
  color: var(--tw-warn);
}

/* edit sheet */
.shifts__scrim {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: var(--tw-scrim);
}

.shifts__sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1045;
  display: flex;
  flex-direction: column;
  width: min(480px, 100vw);
  background: var(--tw-panel);
  box-shadow: var(--tw-shadow);
}

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

.shifts__sheet-who {
  flex: 1;
  min-width: 0;
}

.shifts__sheet-who b, .shifts__sheet-who small {
  display: block;
}

.shifts__sheet-who b {
  font-size: 16px;
  color: var(--tw-ink);
}

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

.shifts__sheet-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding: 16px;
}

.shifts__sheet-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

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

.shifts__sect-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 8px;
  margin-bottom: 8px;
}

.shifts__sect-top .btn-link {
  font-size: var(--tw-text-xs);
}

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

.shifts__week li {
  display: grid;
  grid-template-columns: 22px 44px minmax(0, 1fr) 12px minmax(0, 1fr) 64px;
  gap: 8px;
  align-items: center;
  padding: 4px 0;
}

.shifts__week.is-tech li {
  grid-template-columns: 22px 44px minmax(0, 1fr) 12px minmax(0, 1fr);
}

.shifts__week .shifts__week-cap {
  padding: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
}

.shifts__week [type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--tw-brand);
}

.shifts__week b {
  color: var(--tw-ink);
}

.shifts__week .form-select, .shifts__week .form-control {
  min-width: 0;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: var(--tw-text-sm);
}

.shifts__week .is-bad .form-select {
  border-color: var(--tw-alert);
}

.shifts__week-note {
  grid-column: 3/-1;
  font-size: var(--tw-text-xs);
  color: var(--tw-faint);
}

.shifts__week-note.is-bad {
  color: var(--tw-warn);
}

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

.shifts__offs li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--tw-line);
}

.shifts__offs li > i {
  width: 16px;
  text-align: center;
  color: var(--tw-muted);
}

.shifts__offs li > span {
  flex: 1;
  min-width: 0;
  color: var(--tw-ink);
}

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

.shifts__offs .shifts__off-none {
  border-bottom: 0;
  color: var(--tw-faint);
}

.shifts__off-add, .shifts__off-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shifts__off-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.shifts__off-row .form-select, .shifts__off-row .form-control {
  min-width: 0;
}

.shifts__off-row .btn {
  flex: none;
}

.shifts__daypick {
  display: flex;
  gap: 4px;
}

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

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

.shifts-open {
  overflow: hidden;
}

.shifts__toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 1060;
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  transform: translateX(-50%);
  border-radius: var(--tw-radius);
  background: var(--tw-ink);
  box-shadow: var(--tw-shadow);
  color: var(--tw-on-brand);
}

.shifts__toast button {
  padding: 0;
  border: 0;
  background: none;
  font-weight: 700;
  text-decoration: underline;
  color: inherit;
}

@media (max-width: 1199px) {
  .shifts__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .shifts__side {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
@media (max-width: 991px) {
  .shifts__head {
    display: none;
  }
  .shifts__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 12px 16px;
  }
  .shifts__row .shifts__cell {
    display: none;
  }
  .shifts__fold {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-left: 46px;
    font-size: var(--tw-text-xs);
  }
  .shifts__strip {
    display: flex;
    gap: 3px;
  }
  .shifts__strip i {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: var(--tw-ok-bg);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    color: var(--tw-ok);
  }
  .shifts__strip .is-off {
    border: 1px dashed var(--tw-line);
    background: none;
    color: var(--tw-faint);
  }
  .shifts__strip .is-closed {
    background: var(--tw-surface);
    color: var(--tw-faint);
  }
  .shifts__strip .is-bad {
    background: var(--tw-warn-bg);
    color: var(--tw-warn);
  }
}
@media (max-width: 767px) {
  .shifts__side {
    grid-template-columns: 1fr;
  }
  .shifts__actions .btn {
    flex: 1 1 140px;
  }
  .shifts__search {
    max-width: none;
    flex-basis: 100%;
  }
  .shifts__week li {
    grid-template-columns: 18px 32px minmax(0, 1fr) 6px minmax(0, 1fr) 44px;
    gap: 4px;
  }
  .shifts__week.is-tech li {
    grid-template-columns: 18px 32px minmax(0, 1fr) 6px minmax(0, 1fr);
  }
  .shifts__week .form-select {
    padding-right: 20px;
    padding-left: 6px;
    background-position: right 4px center;
    font-size: var(--tw-text-xs);
  }
  .shifts__week .form-control {
    padding-right: 4px;
    padding-left: 4px;
    font-size: var(--tw-text-xs);
    text-align: center;
  }
}
/* Preset repair (gs-preset-repair/index.volt, js/groups/preset-repair.js).
   Buttons, form controls and alerts come from Bootstrap; the page head from the shell. */
.preset-repair {
  padding-bottom: 96px;
  font-size: var(--tw-text-sm);
}

.preset-repair [hidden] {
  display: none;
}

/* base.css removes the outline of focused buttons and fields */
.preset-repair :focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

/* base.css sets outline: 0 !important on focused buttons, so they get a ring drawn as a shadow */
.preset-repair .btn:focus-visible, .preset-repair button:focus-visible {
  box-shadow: 0 0 0 2px var(--tw-panel), 0 0 0 4px var(--tw-accent);
}

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

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

.preset-repair__mono {
  font-family: ui-monospace, Consolas, monospace;
}

.preset-repair__num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* the inspection line */
.preset-repair__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 16px;
  padding: 12px 16px;
}

.preset-repair__line-text {
  display: flex;
  flex: 1 1 240px;
  flex-direction: column;
  min-width: 0;
}

.preset-repair__line-text small, .preset-repair__line-text span {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.preset-repair__line-text b {
  font-size: 16px;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.preset-repair__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.preset-repair__tag {
  display: inline-flex;
  align-items: center;
  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;
}

.preset-repair__tag.is-warn {
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

/* layout */
.preset-repair__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.preset-repair__main, .preset-repair__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.preset-repair__side {
  position: sticky;
  top: 16px;
}

.preset-repair__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

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

.preset-repair__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.preset-repair__section-head h2 {
  margin-right: auto;
}

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

.preset-repair__two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.preset-repair__three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.preset-repair__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.preset-repair__label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.preset-repair__label small {
  font-weight: 400;
  color: var(--tw-faint);
  text-align: right;
}

.preset-repair__label .is-ok {
  color: var(--tw-ok);
}

.preset-repair__label .is-wrong {
  font-weight: 600;
  color: var(--tw-alert-ink);
}

.preset-repair__with-button {
  display: flex;
  gap: 8px;
}

.preset-repair__with-button .form-control {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
}

.preset-repair__with-button .form-control.is-wrong {
  border-color: var(--tw-alert);
  background: var(--tw-alert-bg);
}

.preset-repair__with-button .btn {
  white-space: nowrap;
}

.preset-repair__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

/* the legacy sheet floats tick boxes out of the flow */
.preset-repair__check input, .preset-repair__part-lock input {
  flex: none;
  float: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--tw-primary);
}

.preset-repair__check b {
  display: block;
  color: var(--tw-ink);
}

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

/* parts */
.preset-repair__parts-head, .preset-repair__part {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 64px 104px 88px 40px 32px;
  gap: 8px;
  align-items: center;
}

.preset-repair__parts-head {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.preset-repair__parts-head span:nth-child(3), .preset-repair__parts-head span:nth-child(4), .preset-repair__parts-head span:nth-child(5) {
  text-align: right;
}

.preset-repair__part {
  padding: 8px 0;
  border-bottom: 1px solid var(--tw-line);
}

.preset-repair__part label {
  margin: 0;
  min-width: 0;
}

.preset-repair__part label span {
  display: none;
}

.preset-repair__part-total {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--tw-ink);
}

.preset-repair__part-lock {
  display: flex;
  justify-content: center;
}

.preset-repair__part-lock input {
  margin: 0;
}

.preset-repair__part-error {
  grid-column: 1/-1;
  font-size: var(--tw-text-xs);
  color: var(--tw-alert-ink);
}

.preset-repair__part.is-gone {
  opacity: 0.5;
}

.preset-repair__part.is-gone .form-control {
  text-decoration: line-through;
}

.preset-repair__icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--tw-muted);
}

.preset-repair__icon-btn:hover {
  background: var(--tw-hover);
  color: var(--tw-ink);
}

.preset-repair__icon-btn:focus-visible {
  box-shadow: inset 0 0 0 2px var(--tw-accent);
}

/* what is added, checks */
.preset-repair__sum {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  margin: 0;
  color: var(--tw-muted);
}

.preset-repair__sum dt {
  font-weight: 400;
}

.preset-repair__sum dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--tw-ink);
}

.preset-repair__sum .is-total {
  padding-top: 8px;
  border-top: 1px solid var(--tw-line);
  font-weight: 700;
  color: var(--tw-ink);
}

.preset-repair__checks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.preset-repair__checks li {
  display: flex;
  gap: 8px;
}

.preset-repair__checks i {
  margin-top: 2px;
}

.preset-repair__checks .is-ok i {
  color: var(--tw-ok);
}

.preset-repair__checks .is-warn {
  color: var(--tw-warn);
}

.preset-repair__checks .is-wrong {
  color: var(--tw-alert-ink);
}

/* save bar, toast, dialog */
.preset-repair__savebar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 24px;
  border-top: 1px solid var(--tw-line);
  background: var(--tw-panel);
  box-shadow: var(--tw-shadow);
}

.preset-repair__savebar span {
  margin-right: auto;
  font-weight: 600;
  color: var(--tw-ink);
}

.preset-repair__toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 1060;
  transform: translateX(-50%);
  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);
}

.preset-repair__dialog {
  width: min(560px, 100vw - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow);
}

.preset-repair__dialog::backdrop {
  background: var(--tw-scrim);
}

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

.preset-repair__dialog-body {
  padding: 12px 20px 16px;
}

.preset-repair__dialog-body p {
  margin: 0;
}

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

.preset-repair__finder {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preset-repair__found {
  max-height: 300px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.preset-repair__found button {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid var(--tw-line);
  background: none;
  text-align: left;
  color: var(--tw-ink);
}

.preset-repair__found button:hover, .preset-repair__found button:focus-visible {
  background: var(--tw-hover);
}

.preset-repair__found b {
  flex: none;
  min-width: 96px;
  font-family: ui-monospace, Consolas, monospace;
}

.preset-repair__found span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.preset-repair__found small {
  flex: none;
  color: var(--tw-muted);
  white-space: nowrap;
}

@media (max-width: 1099px) {
  .preset-repair__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .preset-repair__side {
    position: static;
  }
}
@media (max-width: 767px) {
  .preset-repair__two, .preset-repair__three {
    grid-template-columns: minmax(0, 1fr);
  }
  .preset-repair__parts-head {
    display: none;
  }
  /* number and description on top; quantity, price, total, lock and remove below */
  .preset-repair__part {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto 32px;
    align-items: end;
    padding: 12px 0;
  }
  .preset-repair__part label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--tw-text-xs);
    font-weight: 600;
    color: var(--tw-muted);
  }
  .preset-repair__part label span {
    display: block;
  }
  .preset-repair__part label:nth-child(1) {
    grid-column: 1/3;
  }
  .preset-repair__part label:nth-child(2) {
    grid-column: 3/6;
  }
  .preset-repair__part-total {
    padding-bottom: 8px;
  }
  .preset-repair__part .preset-repair__part-lock {
    flex-direction: column-reverse;
    align-items: center;
    padding-bottom: 6px;
  }
  .preset-repair__savebar {
    padding: 12px 16px;
  }
}
/* Shift calendar (gs-shift-calendar/index.volt, js/groups/shift-calendar.js).
   Buttons, fields and alerts come from Bootstrap; the page head from the shell. */
.shift-cal {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

.shift-cal [hidden] {
  display: none;
}

.shift-cal__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.shift-cal__state {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  background: var(--tw-surface);
  color: var(--tw-text);
}

.shift-cal__state.is-on {
  border-color: transparent;
  background: var(--tw-ok-bg);
  color: var(--tw-ok);
}

.shift-cal__state.is-warn {
  border-color: transparent;
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

.shift-cal__state {
  flex-wrap: wrap;
}

.shift-cal__state-text {
  flex: 1 1 260px;
  min-width: 0;
}

.shift-cal__state .btn {
  flex: none;
  margin-left: auto;
}

.shift-cal__card {
  overflow: hidden;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
}

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

.shift-cal__nav {
  display: flex;
  gap: 4px;
}

.shift-cal__range {
  flex: 1;
  font-size: var(--tw-text-md);
  color: var(--tw-ink);
}

.shift-cal__days {
  display: none;
}

.shift-cal__roster {
  display: grid;
  grid-template-columns: 200px repeat(7, minmax(0, 1fr));
}

.shift-cal__roster > * {
  min-width: 0;
  border-bottom: 1px solid var(--tw-line);
  border-left: 1px solid var(--tw-line);
}

.shift-cal__corner, .shift-cal__roster > .shift-cal__name {
  border-left: 0;
}

.shift-cal__corner, .shift-cal__head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px 6px;
  background: var(--tw-surface);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
}

.shift-cal__corner {
  padding-left: 16px;
}

.shift-cal__head {
  align-items: center;
}

.shift-cal__head b {
  font-size: var(--tw-text-md);
  letter-spacing: 0;
  color: var(--tw-ink);
}

.shift-cal__head.is-today {
  box-shadow: inset 0 -3px 0 var(--tw-accent);
}

.shift-cal__head.is-today b {
  color: var(--tw-accent);
}

.shift-cal__name {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 16px;
}

.shift-cal__name > span {
  min-width: 0;
}

.shift-cal__name b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--tw-ink);
}

.shift-cal__name small {
  display: block;
  font-size: var(--tw-text-xs);
  color: var(--tw-faint);
}

.shift-cal__dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--shift-cal-advisor, var(--tw-line));
}

.shift-cal__cell {
  display: flex;
  min-height: 56px;
  padding: 4px;
}

.shift-cal__cell.is-closed {
  background: repeating-linear-gradient(135deg, var(--tw-surface) 0 6px, var(--tw-panel) 6px 12px);
}

.shift-cal__cell.is-past {
  opacity: 0.55;
}

.shift-cal__slot {
  flex: 1;
  min-width: 0;
  padding: 4px 2px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  line-height: 1.25;
  text-align: center;
  color: var(--tw-ink);
  cursor: pointer;
}

.shift-cal__slot b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.shift-cal__slot small {
  display: block;
  font-size: 11px;
  color: var(--tw-muted);
}

.shift-cal__slot.is-on {
  border-color: var(--tw-line);
  background: var(--tw-hover);
}

.shift-cal__slot.is-off {
  color: var(--tw-faint);
}

.shift-cal__slot.is-off b {
  font-weight: 400;
}

.shift-cal__slot .shift-cal__add {
  display: none;
}

.shift-cal__slot:hover:not(:disabled), .shift-cal__slot:focus-visible {
  border-color: var(--tw-accent);
}

/* base.css removes button outlines with !important, so the focus ring is a shadow */
.shift-cal__slot:focus-visible {
  box-shadow: 0 0 0 2px var(--tw-accent);
}

.shift-cal__slot.is-addable:hover .shift-cal__off, .shift-cal__slot.is-addable:focus-visible .shift-cal__off {
  display: none;
}

.shift-cal__slot.is-addable:hover .shift-cal__add, .shift-cal__slot.is-addable:focus-visible .shift-cal__add {
  display: block;
  font-weight: 700;
  color: var(--tw-accent);
}

.shift-cal__slot:disabled {
  cursor: default;
}

.shift-cal__total {
  padding: 8px 6px;
  border-bottom: 0;
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  text-align: center;
  color: var(--tw-muted);
}

.shift-cal__roster > .shift-cal__name.shift-cal__total {
  justify-content: flex-start;
  padding-left: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shift-cal__total.is-none {
  background: var(--tw-warn-bg);
  font-weight: 700;
  color: var(--tw-warn);
}

.shift-cal__foot {
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid var(--tw-line);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.shift-cal__dialog {
  width: min(460px, 100vw - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--tw-radius);
  box-shadow: var(--tw-shadow);
  color: var(--tw-text);
}

.shift-cal__dialog::backdrop {
  background: var(--tw-scrim);
}

.shift-cal__dialog-head {
  padding: 16px 20px 0;
  overflow-wrap: anywhere;
}

.shift-cal__dialog-head b {
  display: block;
  font-size: 18px;
  color: var(--tw-ink);
}

.shift-cal__dialog-head small {
  display: block;
  font-size: var(--tw-text-sm);
  color: var(--tw-muted);
}

.shift-cal__dialog-body {
  padding: 12px 20px 16px;
}

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

.shift-cal__spacer {
  flex: 1;
}

.shift-cal__two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

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

.shift-cal__error {
  margin: 0 0 12px;
  color: var(--tw-danger);
}

.shift-cal__hint {
  margin: 0 0 12px;
  color: var(--tw-warn);
}

.shift-cal__apply {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.shift-cal__apply legend {
  margin-bottom: 4px;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
}

.shift-cal__radio {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.shift-cal__until {
  max-width: 220px;
  margin: 6px 0 0 24px;
}

.shift-cal__warn {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-warn-bg);
  font-size: var(--tw-text-xs);
  color: var(--tw-warn);
}

.shift-cal__warn i {
  margin-top: 2px;
}

.shift-cal__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);
}

.shift-cal__toast button {
  padding: 0;
  border: 0;
  background: none;
  font-weight: 700;
  text-decoration: underline;
  color: inherit;
}

@media (max-width: 1199px) {
  .shift-cal__roster {
    grid-template-columns: 150px repeat(7, minmax(0, 1fr));
  }
  .shift-cal__name {
    padding: 8px 10px;
  }
  .shift-cal__name small {
    display: none;
  }
  .shift-cal__slot b {
    font-size: 12px;
  }
}
/* below 768 the week becomes a day strip and one day's list */
@media (max-width: 767px) {
  .shift-cal__actions .btn, .shift-cal__fill {
    width: 100%;
  }
  .shift-cal__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid var(--tw-line);
  }
  .shift-cal__pick {
    min-height: 52px;
    padding: 8px 0;
    border: 0;
    background: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--tw-muted);
  }
  .shift-cal__pick b {
    display: block;
    font-size: var(--tw-text-md);
    color: var(--tw-ink);
  }
  .shift-cal__pick[aria-pressed=true] {
    background: var(--tw-hover);
    box-shadow: inset 0 -3px 0 var(--tw-accent);
  }
  .shift-cal__pick.is-none b {
    color: var(--tw-warn);
  }
  .shift-cal__roster {
    grid-template-columns: minmax(0, 1fr) 150px;
  }
  .shift-cal__corner, .shift-cal__head, .shift-cal__cell:not(.is-day), .shift-cal__total:not(.is-day):not(.shift-cal__name) {
    display: none;
  }
  .shift-cal__slot b {
    font-size: 13px;
  }
  .shift-cal__two {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* ===== Ask Micah: the AI repair chat drawer =====
   The drawer is Bootstrap's offcanvas and its controls are Bootstrap buttons, forms and list groups; shared pieces
   (tw-avatar, tw-thumb, tw-choices, tw-inset, tw-status) are in _primitives.scss. This file is only what is the
   chat's own: the message bubbles and the rows under an answer.
   Markup: views/partials/askMicah/_drawer.volt. Behaviour: public/js/groups/ask-micah.js. */
.ask-micah {
  --bs-offcanvas-width: min(420px, 100vw);
  --bs-offcanvas-border-color: var(--tw-line);
  --bs-border-color: var(--tw-line);
}

@media (max-width: 991.98px) {
  .ask-micah {
    --bs-offcanvas-width: 100vw;
  }
  /* phone and tablet: every control is at least a 44px touch target */
  .ask-micah .btn, .ask-micah .tw-choice {
    min-width: 44px;
    min-height: 44px;
  }
}
/* the vehicle the chat is about: caption on its own line, then the tag and "ask without" */
.ask-micah-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
}

/* --- messages --- */
.ask-micah-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ask-micah-msg {
  max-width: 92%;
}

.ask-micah-msg-assistant {
  align-self: flex-start;
}

.ask-micah-msg-user {
  align-self: flex-end;
  padding: 8px 10px;
  border: 1px solid var(--tw-line-soft);
  border-radius: 12px 12px 2px;
  background: var(--tw-surface);
}

.ask-micah-text {
  overflow-wrap: break-word;
}

.ask-micah-msg-user > .ask-micah-text {
  white-space: pre-wrap;
}

.ask-micah-text > :last-child {
  margin-bottom: 0;
}

.ask-micah-text :is(ol, ul) {
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.ask-micah-text li + li {
  margin-top: 0.25rem;
}

.ask-micah-sources {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
}

.ask-micah-sources > ol {
  padding-left: 1.25rem;
  margin: 0;
}

.ask-micah-sources li {
  overflow-wrap: anywhere;
}

/* --- under an answer: feedback, copy, read aloud, add to RO notes --- */
.ask-micah-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0.25rem 0 0 -0.5rem;
}

/* quiet icon button; the pressed one (a given thumb, the answer being read aloud) takes the brand colour */
.ask-micah-tool {
  --bs-btn-padding-x: .5rem;
  color: var(--tw-muted);
  text-decoration: none;
}

.ask-micah-tool:hover, .ask-micah-tool:focus-visible {
  color: var(--tw-text);
}

.ask-micah-tool.active {
  color: var(--tw-brand);
}

.ask-micah-reasons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.ask-micah-romenu {
  display: inline-block;
}

.ask-micah-romenu-list {
  display: flex;
  gap: 0.25rem;
  margin: 0 0 0.25rem 0.5rem;
}

.ask-micah-rosummary-text {
  white-space: pre-wrap;
  margin-bottom: 0.5rem;
}

.ask-micah-rosummary-btns {
  display: flex;
  gap: 0.25rem;
}

.ask-micah-outcome {
  padding-top: 0.5rem;
  border-top: 1px solid var(--tw-line-soft);
}

/* off-screen textarea the copy fallback selects from */
.ask-micah-clip {
  position: fixed;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* --- composer: quick actions and the photos waiting to be sent --- */
.ask-micah-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.ask-micah-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

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

/* the group sheets remove the outline from focused buttons with !important */
.access button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--tw-accent);
}

.access [hidden] {
  display: none;
}

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

.access__card {
  min-width: 0;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  background: var(--tw-panel);
  box-shadow: var(--tw-shadow-xs);
}

.access__card-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

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

.access__card-head span, .access__hint {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.access__gap {
  flex: 1;
}

.access__tabs-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--tw-line);
}

.access__tabs {
  display: flex;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
}

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

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

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

.access__count--alert {
  background: var(--tw-alert);
  color: var(--tw-on-brand);
}

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

.access__split--people {
  grid-template-columns: minmax(0, 1fr) 420px;
}

.access__groups {
  position: sticky;
  top: 16px;
}

.access__group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid var(--tw-line);
  background: none;
  text-align: left;
}

.access__group-list li:last-child .access__group {
  border-bottom: 0;
  border-radius: 0 0 var(--tw-radius-card) var(--tw-radius-card);
}

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

.access__group[aria-current=true] {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-brand);
}

.access__group b {
  color: var(--tw-ink);
}

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

.access__group .access__tag {
  grid-row: span 2;
  align-self: center;
}

.access__pending {
  font-weight: 700;
  color: var(--tw-warn);
}

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

.access__tag--alert {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

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

.access__heading {
  flex: 1 1 160px;
  min-width: 0;
}

.access__heading b {
  display: block;
  font-size: var(--tw-text-md);
  color: var(--tw-ink);
}

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

.access__search {
  position: relative;
  flex: 1 1 200px;
  max-width: 320px;
  margin: 0;
}

.access__search i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--tw-faint);
}

.access__search .form-control {
  padding-left: 34px;
  border-radius: var(--tw-radius-pill);
}

.access__field {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.access__field .form-select {
  width: auto;
  font-size: var(--tw-text-sm);
}

.access__tools .access__hint {
  margin-left: auto;
}

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

.access__pill {
  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);
}

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

.access__banner {
  display: flex;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  color: var(--tw-text);
}

.access__banner--warn {
  background: var(--tw-warn-bg);
  color: var(--tw-warn);
}

.access__banner i {
  margin-top: 2px;
}

.access__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);
}

/* one row per module, one tick per permission */
.access__grid {
  overflow-x: auto;
}

.access__row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) repeat(13, 54px);
  grid-auto-columns: 54px;
  grid-auto-flow: column;
  align-items: center;
  min-width: 900px;
  min-height: 44px;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-panel);
}

.access__row:last-child {
  border-bottom: 0;
}

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

.access__row--head {
  height: 96px;
  background: var(--tw-surface);
  font-size: 11px;
  font-weight: 700;
  color: var(--tw-muted);
}

.access__row--head > span {
  align-self: end;
  justify-self: center;
  margin-bottom: 8px;
  white-space: nowrap;
}

.access__row--head > span:first-child {
  justify-self: start;
  padding: 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.access__row--head > span > span {
  display: block;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}

.access__module {
  position: sticky;
  left: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 0 8px 0 16px;
  background: inherit;
}

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

.access__module small {
  font-size: 11px;
  white-space: nowrap;
  color: var(--tw-faint);
}

.access__module i {
  color: var(--tw-faint);
}

.access__all {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-accent);
  opacity: 0;
}

.access__row:hover .access__all, .access__all:focus-visible {
  opacity: 1;
}

.access__cell {
  position: relative;
  display: grid;
  place-items: center;
  height: 44px;
  margin: 0;
  cursor: pointer;
}

.access__cell input {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--tw-primary);
}

.access__cell span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.access__cell.is-added {
  background: var(--tw-ok-bg);
  box-shadow: inset 0 0 0 1px var(--tw-ok);
}

.access__cell.is-removed {
  background: var(--tw-alert-bg);
  box-shadow: inset 0 0 0 1px var(--tw-alert-ink);
}

.access__cell.is-locked, .access__cell.is-locked input {
  cursor: not-allowed;
}

.access__cell.is-locked input {
  opacity: 0.4;
}

.access__bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  width: min(640px, 100vw - 32px);
  padding: 10px 12px 10px 16px;
  border-radius: var(--tw-radius);
  background: var(--tw-ink);
  color: var(--tw-on-brand);
  box-shadow: var(--tw-shadow);
}

.access__bar span {
  flex: 1;
}

.access__person-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid var(--tw-line);
  background: none;
  text-align: left;
}

.access__people li:last-child .access__person-row {
  border-bottom: 0;
}

.access__person-row:hover {
  background: var(--tw-surface);
}

.access__person-row[aria-current=true] {
  background: var(--tw-hover);
  box-shadow: inset 3px 0 0 var(--tw-brand);
}

.access__who {
  min-width: 0;
}

.access__who b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--tw-ink);
}

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

.access__badges, .access__extras {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.access__badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-pill);
  background: var(--tw-surface);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--tw-ink);
}

.access__badge--gratis {
  border-color: var(--tw-brand);
  background: var(--tw-brand);
  color: var(--tw-on-brand);
}

.access__badge--alert {
  border-color: var(--tw-alert-bg);
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.access__person {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  overflow: hidden;
}

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

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

.access__person-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

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

.access__person-head div {
  flex: 1;
  min-width: 0;
}

.access__person-head b {
  display: block;
  font-size: var(--tw-text-md);
  color: var(--tw-ink);
}

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

.access__person-scroll {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  overflow-y: auto;
}

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

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

.access__section:first-child {
  padding-top: 0;
  border-top: 0;
}

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

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

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

.access__tick {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--tw-ink);
}

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

.access__tick.is-locked {
  color: var(--tw-muted);
}

.access__lines li {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 36px;
  color: var(--tw-ink);
}

.access__lines li > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.access__lines small, .access__lines .is-none {
  color: var(--tw-muted);
}

.access__lines .is-new {
  font-weight: 600;
  color: var(--tw-ok);
}

.access__lines .form-select {
  flex: none;
  width: auto;
}

.access__add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 6px;
}

.access__icon-btn {
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--tw-muted);
}

.access__icon-btn:hover {
  background: var(--tw-hover);
  color: var(--tw-ink);
}

.access__info {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
  background: var(--tw-panel);
  font-size: var(--tw-text-xs);
  color: var(--tw-text);
}

.access__info--inline {
  margin-bottom: 0;
  border: 0;
  background: var(--tw-surface);
}

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

.access__info b {
  color: var(--tw-ink);
}

.access__names {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.access__name-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 6px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.access__name-list li > i {
  flex: none;
  width: 14px;
  text-align: center;
  color: var(--tw-faint);
}

.access__name-list li > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--tw-ink);
}

.access__name-list .is-own > span {
  font-weight: 600;
}

.access__name-list small {
  font-size: 11px;
  white-space: nowrap;
  color: var(--tw-faint);
}

.access__name-add {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}

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

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

.access__checks li > div {
  flex: 1;
  min-width: 0;
}

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

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

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

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

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

.access__dialog-title {
  margin: 0;
  padding: 16px 20px 0;
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
  color: var(--tw-ink);
}

.access__dialog-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 20px 16px;
  overflow-wrap: anywhere;
}

.access__dialog-body p {
  margin: 0;
}

.access__dialog-warn {
  padding: 10px 12px;
  border-radius: var(--tw-radius);
  background: var(--tw-warn-bg);
  font-size: var(--tw-text-xs);
  color: var(--tw-warn);
}

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

.access__changes {
  max-height: 46vh;
  overflow-y: auto;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius);
}

.access__changes li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--tw-line);
}

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

.access__changes i {
  flex: none;
  width: 16px;
  text-align: center;
}

.access__changes .is-added i {
  color: var(--tw-ok);
}

.access__changes .is-removed i {
  color: var(--tw-alert-ink);
}

.access__changes span {
  flex: 1;
  min-width: 0;
}

.access__changes small {
  white-space: nowrap;
  color: var(--tw-muted);
}

.access__scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--tw-scrim);
}

.access__toast {
  position: fixed;
  bottom: 76px;
  left: 50%;
  z-index: 60;
  transform: translateX(-50%);
  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);
}

@media (max-width: 1199px) {
  .access__split {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .access__split--people {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
  .access__names {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .access__split {
    grid-template-columns: minmax(0, 1fr);
  }
  .access__groups {
    position: static;
  }
  .access__groups .access__card-head span {
    display: none;
  }
  .access__group-list {
    display: flex;
    overflow-x: auto;
  }
  .access__group-list li {
    flex: none;
  }
  .access__group {
    height: 100%;
    border-right: 1px solid var(--tw-line);
    border-bottom: 0;
  }
  .access__group-list li:last-child .access__group {
    border-radius: 0;
  }
  .access__group[aria-current=true] {
    box-shadow: inset 0 -3px 0 var(--tw-brand);
  }
  /* the person opens as a sheet over the list */
  .access__person {
    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);
  }
  .access__person.is-open {
    transform: none;
  }
  .access__scrim:not([hidden]) {
    display: block;
  }
}
@media (max-width: 767px) {
  /* the grid becomes one block per module with named ticks */
  .access__grid {
    overflow: visible;
  }
  .access__grid .access__row--head {
    display: none;
  }
  .access__tabs-row {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 8px;
    border-bottom: 0;
  }
  .access__tabs {
    align-self: stretch;
    border-bottom: 1px solid var(--tw-line);
  }
  .access__row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
    padding: 10px 16px 12px;
  }
  .access__module {
    position: static;
    flex: 1 0 100%;
    height: auto;
    padding: 0 0 2px;
  }
  .access__all {
    opacity: 1;
  }
  .access__cell {
    display: inline-flex;
    gap: 6px;
    height: 32px;
    padding: 0 10px 0 8px;
    border: 1px solid var(--tw-line);
    border-radius: var(--tw-radius-pill);
  }
  .access__cell input {
    width: 16px;
    height: 16px;
  }
  .access__cell span {
    position: static;
    width: auto;
    height: auto;
    font-size: var(--tw-text-xs);
    color: var(--tw-ink);
    clip-path: none;
  }
  .access__search {
    flex-basis: 100%;
    max-width: none;
  }
  .access__person-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .access__extras {
    display: none;
  }
  .access__names {
    grid-template-columns: minmax(0, 1fr);
  }
  .access__checks li {
    flex-wrap: wrap;
  }
  .access__bar {
    bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .access__person {
    transition: none;
  }
}
/* Service capacity (gs-service-capacity/index.volt, js/groups/service-capacity.js).
   Buttons, form controls, badges and alerts come from Bootstrap; the page head from the shell. */
.service-capacity {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

/* base.css removes the outline and shadow of every focused button */
.service-capacity button:focus-visible {
  box-shadow: 0 0 0 2px var(--tw-accent);
}

.service-capacity [hidden] {
  display: none;
}

.service-capacity__spacer {
  flex: 1;
}

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

.service-capacity__pad {
  padding: 16px;
}

.service-capacity__heading {
  margin: 0 0 10px;
  font-size: var(--tw-text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

.service-capacity__help {
  margin: 10px 4px 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.service-capacity__head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.service-capacity__head:empty {
  display: none;
}

.service-capacity__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
  margin: 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.service-capacity__field .form-select {
  font-size: var(--tw-text-sm);
  font-weight: 400;
  color: var(--tw-ink);
}

.service-capacity__mode {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  background: var(--tw-tone-info-bg);
  color: var(--tw-text);
}

.service-capacity__mode i {
  margin-top: 3px;
  color: var(--tw-accent);
}

.service-capacity__mode b {
  display: block;
  color: var(--tw-ink);
}

.service-capacity__mode.is-off {
  background: var(--tw-tone-warning-bg);
}

.service-capacity__mode.is-off i, .service-capacity__mode.is-off b {
  color: var(--tw-warn);
}

.service-capacity__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.service-capacity__rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 16px;
}

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

.service-capacity__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.service-capacity__tab {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-weight: 600;
  color: var(--tw-muted);
}

.service-capacity__tab:hover {
  color: var(--tw-ink);
}

.service-capacity__tab[aria-selected=true] {
  border-bottom-color: var(--tw-accent);
  color: var(--tw-ink);
}

.service-capacity__tab.is-dirty::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--tw-accent);
  vertical-align: middle;
}

.service-capacity__tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.service-capacity__tools .form-select {
  width: auto;
  max-width: 220px;
}

.service-capacity__note {
  padding: 8px 16px;
  border-bottom: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  color: var(--tw-warn);
  background: var(--tw-tone-warning-bg);
}

/* the week: one row per weekday */
.service-capacity__row {
  display: grid;
  grid-template-columns: 96px repeat(2, minmax(52px, 1fr)) 8px repeat(3, minmax(52px, 1fr)) 8px repeat(2, minmax(52px, 1fr)) minmax(150px, 1.6fr);
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  border-top: 1px solid var(--tw-line);
}

.service-capacity__row--groups {
  padding-bottom: 0;
  border-top: 0;
  font-size: 11px;
  font-weight: 700;
}

.service-capacity__row--head {
  align-items: end;
  padding-top: 6px;
  padding-bottom: 6px;
  border-top: 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

.service-capacity__row--head small {
  display: block;
  font-weight: 400;
  color: var(--tw-faint);
}

.service-capacity__group {
  grid-column: span 2;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--tw-line);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-ink);
}

.service-capacity__group--3 {
  grid-column: span 3;
}

.service-capacity__day-name {
  font-weight: 600;
  color: var(--tw-ink);
}

.service-capacity__row.is-focus .service-capacity__day-name {
  color: var(--tw-accent);
}

.service-capacity__row.is-dirty {
  background: var(--tw-tone-info-bg);
  box-shadow: inset 3px 0 0 var(--tw-accent);
}

.service-capacity__cell {
  position: relative;
  min-width: 0;
}

.service-capacity__cell label {
  display: none;
}

.service-capacity__cell .form-control {
  padding-left: 8px;
  padding-right: 8px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.service-capacity__cell .form-control::placeholder {
  font-size: var(--tw-text-xs);
  color: var(--tw-faint);
}

.service-capacity__cell.is-percent .form-control {
  padding-right: 24px;
}

.service-capacity__cell.is-percent::after {
  content: "%";
  position: absolute;
  right: 9px;
  bottom: 9px;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
  pointer-events: none;
}

.service-capacity__cell.is-bad .form-control {
  border-color: var(--tw-alert);
}

.service-capacity__out {
  min-width: 0;
  font-size: var(--tw-text-xs);
  font-variant-numeric: tabular-nums;
  color: var(--tw-text);
  overflow-wrap: anywhere;
}

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

.service-capacity__row.is-closed .service-capacity__out b {
  color: var(--tw-muted);
}

.service-capacity__error {
  grid-column: 2/-1;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-alert-ink);
}

.service-capacity__missing {
  grid-column: 2/-1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 38px;
  color: var(--tw-muted);
}

.service-capacity__day {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--tw-ink);
  overflow-wrap: anywhere;
}

.service-capacity__rules, .service-capacity__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-capacity__rules li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
}

.service-capacity__rules li:first-child, .service-capacity__links li:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-capacity__rules b {
  display: block;
  color: var(--tw-ink);
}

.service-capacity__rules em {
  flex: none;
  font-style: normal;
  font-weight: 700;
  font-size: var(--tw-text-sm);
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--tw-ink);
}

.service-capacity__rail .is-unused .service-capacity__rules {
  opacity: 0.6;
}

.service-capacity__links li {
  padding: 8px 0;
  border-top: 1px solid var(--tw-line);
}

.service-capacity__links a {
  font-weight: 600;
}

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

.service-capacity__blank {
  padding: 40px 16px;
  text-align: center;
  color: var(--tw-muted);
}

.service-capacity__blank > i {
  display: block;
  margin-bottom: 12px;
  font-size: 32px;
  color: var(--tw-line);
}

.service-capacity__blank b {
  display: block;
  font-size: 18px;
  color: var(--tw-ink);
}

.service-capacity__blank p {
  margin: 4px 0 0;
}

.service-capacity__save {
  position: sticky;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow);
  color: var(--tw-muted);
}

.service-capacity__save.is-dirty {
  font-weight: 600;
  color: var(--tw-ink);
}

.service-capacity__toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  transform: translateX(-50%);
  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);
}

@media (max-width: 1199.98px) {
  .service-capacity__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-capacity__rail {
    position: static;
  }
}
/* below 900px each day is a block of labelled boxes */
@media (max-width: 899.98px) {
  .service-capacity__row--groups, .service-capacity__row--head {
    display: none;
  }
  .service-capacity__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 10px;
    padding: 12px 16px;
  }
  .service-capacity__gap {
    display: none;
  }
  .service-capacity__day-name {
    grid-column: 1/-1;
    font-size: var(--tw-text-md);
  }
  .service-capacity__cell label {
    display: block;
    margin-bottom: 2px;
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    color: var(--tw-muted);
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .service-capacity__out, .service-capacity__error, .service-capacity__missing {
    grid-column: 1/-1;
  }
  .service-capacity__out b {
    display: inline;
    margin-right: 8px;
  }
}
@media (max-width: 575.98px) {
  .service-capacity__field, .service-capacity__tools, .service-capacity__tools .btn {
    width: 100%;
  }
  .service-capacity__tools .form-select {
    width: 100%;
    max-width: none;
  }
  .service-capacity__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-capacity__save {
    flex-wrap: wrap;
  }
}
/* Block out times (gs-block-out-times/index.volt, js/groups/block-out-times.js).
   Buttons and alerts come from Bootstrap; the page head from the shell. */
.block-out {
  padding-bottom: 64px;
  font-size: var(--tw-text-sm);
}

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

/* group sheets set button:focus { outline: 0 }; a shadow survives that */
.block-out button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--tw-accent);
}

.block-out [hidden] {
  display: none;
}

.block-out ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.block-out__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 16px;
}

.block-out__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  margin: 0;
  font-size: var(--tw-text-xs);
  font-weight: 600;
  color: var(--tw-muted);
}

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

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

.block-out__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

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

.block-out__nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.block-out__title {
  flex: 1;
  font-size: 16px;
  color: var(--tw-ink);
}

.block-out__jump {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.block-out__jump .form-control {
  width: auto;
  font-size: var(--tw-text-xs);
}

.block-out__tabs {
  display: none;
  gap: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  border-bottom: 1px solid var(--tw-line);
}

.block-out__tab {
  flex: 1 0 auto;
  padding: 6px 4px;
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-control);
  background: var(--tw-panel);
  line-height: 1.15;
  text-align: center;
  color: var(--tw-text);
}

.block-out__tab small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tw-muted);
}

.block-out__tab[aria-selected=true] {
  border-color: var(--tw-brand);
  background: var(--tw-brand);
  color: var(--tw-on-brand);
}

.block-out__tab[aria-selected=true] small {
  color: var(--tw-on-brand);
}

.block-out__tab.has-block {
  box-shadow: inset 0 -3px 0 var(--tw-alert-ink);
}

.block-out__week {
  display: grid;
  grid-template-columns: 64px repeat(7, minmax(0, 1fr));
  padding: 0 12px 12px;
  user-select: none;
}

.block-out__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid var(--tw-line);
}

.block-out__col--time {
  border-left: 0;
}

.block-out__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  height: 78px;
  padding: 10px 4px 8px;
  border-bottom: 1px solid var(--tw-line);
  text-align: center;
}

.block-out__head small {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tw-muted);
}

.block-out__head b {
  color: var(--tw-ink);
}

.block-out__col.is-today .block-out__head b {
  padding: 0 8px;
  border-radius: var(--tw-radius-pill);
  background: var(--tw-brand);
  color: var(--tw-on-brand);
}

.block-out__day {
  padding: 2px 4px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--tw-accent);
}

.block-out__day:hover {
  background: var(--tw-hover);
}

.block-out__time {
  height: 26px;
  padding-right: 8px;
  font-size: 11px;
  text-align: right;
  color: var(--tw-muted);
  transform: translateY(-7px);
}

.block-out__time.is-half {
  visibility: hidden;
}

.block-out__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 26px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--tw-line);
  background: var(--tw-panel);
  font-size: 11px;
  color: transparent;
}

.block-out__slot:hover {
  background: var(--tw-hover);
  color: var(--tw-muted);
}

.block-out__slot.is-blocked {
  background: var(--tw-alert-bg);
  font-weight: 600;
  color: var(--tw-alert-ink);
}

.block-out__slot.is-all {
  background: repeating-linear-gradient(135deg, var(--tw-alert-bg) 0 6px, var(--tw-panel) 6px 12px);
  font-weight: 600;
  color: var(--tw-alert-ink);
  cursor: not-allowed;
}

.block-out__slot.is-closed {
  background: var(--tw-surface);
  cursor: default;
}

.block-out__slot.is-past, .block-out__slot.is-locked {
  opacity: 0.55;
  cursor: default;
}

.block-out__slot.is-closed:hover, .block-out__slot.is-past:hover, .block-out__slot.is-locked:hover {
  background: var(--tw-surface);
  color: transparent;
}

.block-out__slot.is-blocked.is-past:hover, .block-out__slot.is-blocked.is-locked:hover {
  background: var(--tw-alert-bg);
  color: var(--tw-alert-ink);
}

.block-out__slot.is-pick {
  box-shadow: inset 0 0 0 2px var(--tw-accent);
}

.block-out__closed {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--tw-surface);
  font-size: var(--tw-text-xs);
  font-weight: 600;
  text-align: center;
  color: var(--tw-muted);
}

.block-out__closed span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

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

.block-out__legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.block-out__key {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--tw-line);
  border-radius: 4px;
  background: var(--tw-panel);
}

.block-out__key--blocked {
  background: var(--tw-alert-bg);
}

.block-out__key--all {
  background: repeating-linear-gradient(135deg, var(--tw-alert-bg) 0 4px, var(--tw-panel) 4px 8px);
}

.block-out__key--closed {
  background: var(--tw-surface);
}

.block-out__hint {
  flex: 1;
  text-align: right;
  color: var(--tw-faint);
}

.block-out__side {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block-out__side-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.block-out__side-head b {
  color: var(--tw-ink);
}

.block-out__side-head span {
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.block-out__up {
  max-height: 460px;
  overflow-y: auto;
}

.block-out__up li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px 8px 16px;
  border-bottom: 1px solid var(--tw-line);
}

.block-out__up li:last-child {
  border-bottom: 0;
}

.block-out__date {
  overflow: hidden;
  border: 1px solid var(--tw-line);
  border-radius: 8px;
  line-height: 1;
  text-align: center;
}

.block-out__date small {
  display: block;
  padding: 3px 0;
  background: var(--tw-brand);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tw-on-brand);
}

.block-out__date b {
  display: block;
  padding: 5px 0;
  font-size: 16px;
  color: var(--tw-ink);
}

.block-out__text {
  min-width: 0;
}

.block-out__text b, .block-out__text small {
  display: block;
}

.block-out__text b {
  color: var(--tw-ink);
}

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

.block-out__text .is-warn {
  font-weight: 600;
  color: var(--tw-warn);
}

.block-out__remove {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--tw-radius-control);
  background: none;
  color: var(--tw-muted);
}

.block-out__remove:hover {
  background: var(--tw-hover);
  color: var(--tw-ink);
}

.block-out__none {
  margin: 0;
  padding: 20px 16px;
  text-align: center;
  color: var(--tw-muted);
}

.block-out__more {
  margin: 0;
  padding: 8px 16px;
  border-top: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  color: var(--tw-muted);
}

.block-out__info {
  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);
}

.block-out__info i {
  margin-top: 2px;
  color: var(--tw-muted);
}

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

.block-out__info a {
  font-weight: 600;
  color: var(--tw-accent);
}

.block-out__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);
}

.block-out__toast button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .block-out__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .block-out__side {
    position: static;
  }
  .block-out__up {
    max-height: none;
  }
}
@media (max-width: 767px) {
  .block-out__field {
    flex: 1 1 140px;
    min-width: 0;
  }
  .block-out__jump {
    width: 100%;
  }
  .block-out__jump .form-control {
    flex: 1;
  }
  .block-out__tabs {
    display: flex;
  }
  .block-out__week {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .block-out__col:not(.block-out__col--time):not(.is-day) {
    display: none;
  }
  .block-out__head {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    height: 52px;
  }
  .block-out__slot {
    height: 40px;
    font-size: var(--tw-text-sm);
    color: var(--tw-faint);
  }
  .block-out__time {
    height: 40px;
    transform: translateY(-8px);
  }
  .block-out__time.is-half {
    visibility: visible;
  }
  .block-out__closed span {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .block-out__hint {
    display: none;
  }
}
/* Bot checks on a public form (partials/formGuard.volt, js/groups/form-guard.js). */
/* off screen, not display: none: scripts that skip hidden fields still fill it */
.form-guard__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-guard {
  margin: 20px 0 0;
  max-width: 100%;
  overflow-x: auto;
}

.form-guard__error {
  margin-top: 6px;
  font-size: var(--tw-text-sm);
  color: var(--tw-alert-ink);
}

.form-guard__error[hidden] {
  display: none;
}

/* Finance center (gs-finance-center/index.volt). Customer-facing.
   Form controls, buttons and alerts come from Bootstrap; the page head from the shell. */
.finance-center {
  padding-bottom: 64px;
}

/* base.css removes the outline of focused buttons and fields */
.finance-center :focus-visible {
  outline: 2px solid var(--tw-accent);
  outline-offset: 2px;
}

.finance-center .btn:focus-visible {
  box-shadow: 0 0 0 2px var(--tw-panel), 0 0 0 4px var(--tw-accent);
}

.finance-center h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--tw-ink);
}

.finance-center__intro {
  margin-bottom: 24px;
  color: var(--tw-text);
}

.finance-center__intro ul {
  margin: 0;
  padding-left: 20px;
}

.finance-center__intro li + li {
  margin-top: 4px;
}

.finance-center__card {
  position: relative;
  padding: 24px;
  background: var(--tw-panel);
  border: 1px solid var(--tw-line);
  border-radius: var(--tw-radius-card);
  box-shadow: var(--tw-shadow-xs);
}

.finance-center__note {
  margin: 0 0 16px;
  font-size: var(--tw-text-sm);
  color: var(--tw-muted);
}

.finance-center__section {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.finance-center__section legend {
  float: none;
  width: 100%;
  margin: 0 0 12px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--tw-line);
  font-size: var(--tw-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tw-muted);
}

.finance-center__section .form-label {
  margin-bottom: 4px;
  font-size: var(--tw-text-sm);
  font-weight: 600;
  color: var(--tw-ink-2);
}

/* base.css styles text fields and Bootstrap styles selects: one look for both; 16px so phones do not zoom in */
.finance-center .form-control, .finance-center .form-select {
  min-height: 42px;
  border: 1px solid var(--tw-faint-2);
  border-radius: var(--tw-radius);
  font-size: 16px;
  color: var(--tw-ink);
}

.finance-center .form-control.is-invalid, .finance-center .form-select.is-invalid {
  border-color: var(--tw-alert);
}

.finance-center__timeframe {
  max-width: 320px;
}

.finance-center__actions {
  margin-top: 20px;
}

.finance-center__actions .btn {
  min-width: 160px;
  min-height: 44px;
}

.finance-center__privacy {
  margin-top: 24px;
  font-size: var(--tw-text-sm);
  color: var(--tw-muted);
}

.finance-center__privacy h2 {
  font-size: var(--tw-text-sm);
}

.finance-center__privacy a {
  color: var(--tw-accent);
}

.finance-center__sent {
  text-align: center;
  padding: 48px 24px;
}

.finance-center__sent i {
  display: block;
  margin-bottom: 12px;
  font-size: 40px;
  color: var(--tw-ok);
}

.finance-center__sent p {
  margin: 0 0 20px;
  color: var(--tw-text);
}

@media (max-width: 575.98px) {
  .finance-center__card {
    padding: 16px;
  }
  .finance-center__actions .btn {
    width: 100%;
  }
  .finance-center__timeframe {
    max-width: none;
  }
}
