/* =========================================================================
   IZIFLO DESIGN SYSTEM - CORE (tokens + components)
   -------------------------------------------------------------------------
   Style "Douceur" (rounded corners, white cards) with short neutral shadows.
   Loaded by every header, together with ONE module file:
     - ds-sales.css     Sales palette (Marine)
     - ds-workshop.css  After-sales palette (blue-green, follows user themes)
     - ds-parts.css     Parts palette (Copper)

   Rules:
   - Every component is scoped under `.ds-on` (class set on <html>): removing
     that class switches the whole design system off.
   - Components are opt-in: add a `ds-` class next to the existing classes,
     never remove an existing class (JS relies on them).
   - Components never set display / visibility / width / height on elements
     measured or toggled by JS (FullCalendar, AdvancedTable...).
   - Colors always come from `--ds-*` tokens, never hard-coded in components.
   - Exceptions to "no !important": every `border-radius` is declared
     `!important`, because the Sales main.less resets
     `* { border-radius: 0 !important; }` on every element; and `box-shadow`
     on the Workshop `.shadow*` utilities (see ds-bootstrap.css).
   ========================================================================= */


/* -------------------------------------------------------------------------
   FONT - Inter (SIL Open Font License), variable weight, latin subset,
   served locally (resources/font/inter/).
   ------------------------------------------------------------------------- */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../../font/inter/inter-latin-wght-normal.woff2") format("woff2");
}


/* -------------------------------------------------------------------------
   TOKENS - shared by all modules (defining variables has no visual effect)
   ------------------------------------------------------------------------- */
:root {
    --ds-font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    /* Text size factor: 1, lowered by a skin when its legacy base font shrinks */
    --ds-text-scale: 1;
    /* Text of the 36px buttons (`ds-btn`), before the text scale: 13px in Sales (14px root) and in
       Workshop / Parts (16px root x .875). Raised from .8125rem (11.4px) on 2026-11-24 (user request). */
    --ds-btn-font-size: .9286rem;
    /* Floor for small text once scaled (Workshop: .875) */
    --ds-text-min: 10px;

    /* Neutrals */
    --ds-bg: #F3F5F8;
    --ds-surface: #FFFFFF;
    --ds-surface-2: #F6F8FA;
    --ds-surface-sunken: #EBEFF4; /* track of segmented tabs */
    --ds-border: #E3E7ED;
    --ds-border-strong: #CFD6DF;
    --ds-divider: #EDF0F4;
    --ds-row-alt: #FBFCFD;  /* zebra rows of data tables */
    --ds-text: #1B2433;
    --ds-text-muted: #5D6B7E;

    /* Accent (common to both modules) */
    --ds-accent: #C97A12;
    --ds-accent-strong: #8F5409;
    --ds-accent-soft: #FCF1E1;

    /* Status (common, never module-coloured) */
    --ds-success: #127A55;
    --ds-success-soft: #E1F4EC;
    --ds-warning: #94600B;
    --ds-warning-soft: #FDF1DA;
    --ds-danger: #B53A26;
    --ds-danger-strong: #963020;
    --ds-danger-soft: #FBE7E3;
    --ds-orange: #C97A12;  /* filled orange actions (lead "spam"); = Sales accent, stays orange in Parts */
    --ds-info: #2563A8;
    --ds-info-soft: #E3EDF9;

    /* Radii */
    --ds-radius-sm: 8px;
    --ds-radius-md: 12px;
    --ds-radius-lg: 16px;
    --ds-radius-xl: 20px;
    --ds-radius-pill: 999px;

    /* Shadows: short, low-spread, neutral */
    --ds-shadow-1: 0 1px 2px rgba(25, 28, 32, .06);
    --ds-shadow-2: 0 1px 3px rgba(25, 28, 32, .08), 0 4px 10px rgba(25, 28, 32, .05);
    --ds-shadow-3: 0 6px 18px rgba(25, 28, 32, .12);

    /* Overlays */
    --ds-overlay: rgba(20, 28, 40, .45);
    --ds-overlay-solid: #141C28; /* for backdrops whose opacity is animated by JS */
    --ds-status-overlay: rgba(255, 255, 255, .55);
    --ds-loader-veil: rgba(223, 225, 228, .7); /* page veil behind the loader */

    /* Scrollbars: track size, transparent gap around the thumb, resting thumb
       (one step above --ds-border-strong to stay visible on --ds-bg) */
    --ds-scrollbar-size: 12px;
    --ds-scrollbar-inset: 3px;
    --ds-scrollbar-thumb: #BCC5D1;

    /* Fallback palette (overridden by the module file) */
    --ds-primary: #2A4F86;
    --ds-primary-strong: #1F3C68;
    --ds-primary-soft: #E5EBF5;
    --ds-primary-tint: #F0F3F9;
    --ds-primary-deep: #182E50;

    /* Home launcher cards (Sales, Workshop and Parts homes only, 2026-11-12,
       user request): 1 up to 1599px wide (the fixed scale is kept on small
       and medium screens), larger on wide screens with room in height (see
       the media queries below). Read by the home page sheets only. */
    --ds-launcher-scale: 1;
}
@media (min-width: 1600px) and (min-height: 761px) {
    :root {
        --ds-launcher-scale: 1.125;
    }
}
@media (min-width: 1920px) and (min-height: 761px) {
    :root {
        --ds-launcher-scale: 1.25;
    }
}
@media (min-width: 2400px) and (min-height: 761px) {
    :root {
        --ds-launcher-scale: 1.375;
    }
}

/* Derived tokens: re-declared wherever a palette is set, so that a local
   `.ds-mod-*` block recomputes them from its own primary colour. */
:root,
.ds-mod-sales,
.ds-mod-sav,
.ds-mod-parts {
    --ds-focus-ring: 0 0 0 3px var(--ds-primary-soft);
    --ds-tab-active-fg: var(--ds-primary-strong);
    --ds-nav-bg: var(--ds-primary-deep);
    --ds-nav-fg: rgba(255, 255, 255, .7);
    --ds-nav-hover-bg: rgba(255, 255, 255, .08);
    --ds-nav-active-bg: rgba(255, 255, 255, .16);
    --ds-nav-active-fg: #FFFFFF;
    --ds-scrollbar-thumb-hover: var(--ds-primary);
}

/* Local palette override, e.g. a SAV block displayed inside a Sales page */
.ds-mod-sales {
    --ds-primary: #2A4F86;
    --ds-primary-strong: #1F3C68;
    --ds-primary-soft: #E5EBF5;
    --ds-primary-tint: #F0F3F9;
    --ds-primary-deep: #182E50;
}
.ds-mod-sav {
    --ds-primary: #0B7A8C;
    --ds-primary-strong: #075F6D;
    --ds-primary-soft: #E2F2F4;
    --ds-primary-tint: #EDF5F6;
    --ds-primary-deep: #0A4F5B;
}
.ds-mod-parts {
    --ds-primary: #A4592E;
    --ds-primary-strong: #7C411F;
    --ds-primary-soft: #F6E6DA;
    --ds-primary-tint: #FBF3EE;
    --ds-primary-deep: #5A2E17;
}


/* -------------------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------------------- */
.ds-on .ds-font { font-family: var(--ds-font); }
.ds-on .ds-h1 { margin: 0; font-size: calc(1.5rem * var(--ds-text-scale)); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--ds-text); }
.ds-on .ds-h2 { margin: 0; font-size: calc(1.125rem * var(--ds-text-scale)); font-weight: 600; line-height: 1.3; color: var(--ds-text); }
.ds-on .ds-h3 { margin: 0; font-size: calc(.9375rem * var(--ds-text-scale)); font-weight: 600; line-height: 1.35; color: var(--ds-text); }
.ds-on .ds-label { font-size: max(calc(.75rem * var(--ds-text-scale)), var(--ds-text-min)); font-weight: 500; color: var(--ds-text-muted); }
.ds-on .ds-muted { color: var(--ds-text-muted); }
.ds-on .ds-small { font-size: max(calc(.75rem * var(--ds-text-scale)), var(--ds-text-min)); }
.ds-on .ds-strong { font-weight: 600; }
.ds-on .ds-link { color: var(--ds-primary); font-weight: 500; text-decoration: none; cursor: pointer; }
.ds-on .ds-link:hover { text-decoration: underline; }


/* -------------------------------------------------------------------------
   SURFACES
   ------------------------------------------------------------------------- */
.ds-on .ds-page { background-color: var(--ds-bg); }
.ds-on .ds-card { background-color: var(--ds-surface); border: 1px solid transparent; border-radius: var(--ds-radius-lg) !important; box-shadow: var(--ds-shadow-1); }
.ds-on .ds-card-raised { box-shadow: var(--ds-shadow-2); }
/* Children painted edge to edge (coloured or sticky headers, footers) follow the card corners;
   round icons (Workshop `.figure-circle`, e.g. the "i" ending the import bar of the user form) keep their circle */
.ds-on .ds-card > :first-child:not(.figure-circle) { border-top-left-radius: inherit !important; border-top-right-radius: inherit !important; }
.ds-on .ds-card > :last-child:not(.figure-circle) { border-bottom-left-radius: inherit !important; border-bottom-right-radius: inherit !important; }
.ds-on .ds-card-h { padding: 16px 20px; border-bottom: 1px solid var(--ds-divider); }
.ds-on .ds-card-t { margin: 0; font-size: calc(1rem * var(--ds-text-scale)); font-weight: 600; color: var(--ds-text); }
.ds-on .ds-card-b { padding: 16px 20px; }
.ds-on .ds-well { background-color: var(--ds-surface-2); border-radius: var(--ds-radius-md) !important; }
.ds-on .ds-section-h { font-size: max(calc(.8125rem * var(--ds-text-scale)), var(--ds-text-min)); font-weight: 600; color: var(--ds-primary-strong); }
/* Light module tint for secondary bars (column headers, footers) */
.ds-on .ds-tint-bar { background-color: var(--ds-primary-tint); border-color: var(--ds-primary-soft); color: var(--ds-primary-deep); }
.ds-on .ds-divider { border-color: var(--ds-divider); }
.ds-on .ds-rounded { border-radius: var(--ds-radius-md) !important; }
.ds-on .ds-rounded-lg { border-radius: var(--ds-radius-lg) !important; }
.ds-on .ds-shadow-1 { box-shadow: var(--ds-shadow-1); }
.ds-on .ds-shadow-2 { box-shadow: var(--ds-shadow-2); }
.ds-on .ds-shadow-3 { box-shadow: var(--ds-shadow-3); }


/* -------------------------------------------------------------------------
   BUTTONS
   Resets the properties set by Materialize `.btn` / Bootstrap `.btn`
   (uppercase, line-height, shadows, hover colours).
   ------------------------------------------------------------------------- */
.ds-on .ds-btn {
    height: 36px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 10px !important;
    font-family: inherit;
    font-size: max(calc(var(--ds-btn-font-size) * var(--ds-text-scale)), var(--ds-text-min));
    font-weight: 600;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.ds-on .ds-btn:focus-visible { outline: none; box-shadow: var(--ds-focus-ring); }
.ds-on .ds-btn:disabled,
.ds-on .ds-btn.disabled { opacity: .5; cursor: default; pointer-events: none; }

.ds-on .ds-btn-primary { background-color: var(--ds-primary); border-color: var(--ds-primary); color: #FFFFFF; }
.ds-on .ds-btn-primary:hover,
.ds-on .ds-btn-primary:focus { background-color: var(--ds-primary-strong); border-color: var(--ds-primary-strong); color: #FFFFFF; }

.ds-on .ds-btn-accent { background-color: var(--ds-accent); border-color: var(--ds-accent); color: #FFFFFF; }
.ds-on .ds-btn-accent:hover,
.ds-on .ds-btn-accent:focus { background-color: var(--ds-accent-strong); border-color: var(--ds-accent-strong); color: #FFFFFF; }

.ds-on .ds-btn-tonal { background-color: var(--ds-primary-soft); border-color: var(--ds-primary-soft); color: var(--ds-primary-strong); }
.ds-on .ds-btn-tonal:hover,
.ds-on .ds-btn-tonal:focus { background-color: var(--ds-primary-tint); color: var(--ds-primary-deep); }

.ds-on .ds-btn-outline { background-color: var(--ds-surface); border-color: var(--ds-border-strong); color: var(--ds-text); }
.ds-on .ds-btn-outline:hover,
.ds-on .ds-btn-outline:focus { background-color: var(--ds-surface-2); border-color: var(--ds-border-strong); color: var(--ds-text); }

.ds-on .ds-btn-ghost { background-color: transparent; border-color: transparent; color: var(--ds-primary); }
.ds-on .ds-btn-ghost:hover,
.ds-on .ds-btn-ghost:focus { background-color: var(--ds-primary-tint); color: var(--ds-primary-strong); }

.ds-on .ds-btn-danger { background-color: var(--ds-danger); border-color: var(--ds-danger); color: #FFFFFF; }
.ds-on .ds-btn-danger:hover,
.ds-on .ds-btn-danger:focus { filter: brightness(.9); color: #FFFFFF; }

.ds-on .ds-btn-sm { height: 30px; padding: 0 12px; font-size: max(calc(.75rem * var(--ds-text-scale)), var(--ds-text-min)); }

.ds-on .ds-icon-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    position: relative;
    border: 1px solid var(--ds-border);
    border-radius: 10px !important;
    background-color: var(--ds-surface);
    color: var(--ds-text-muted);
    box-shadow: none;
    cursor: pointer;
}
.ds-on .ds-icon-btn:hover { background-color: var(--ds-surface-2); color: var(--ds-text); }
.ds-on .ds-icon-btn:focus-visible { outline: none; box-shadow: var(--ds-focus-ring); }
.ds-on .ds-icon-btn.is-primary { background-color: var(--ds-primary); border-color: var(--ds-primary); color: #FFFFFF; }
.ds-on .ds-icon-btn.is-soft { background-color: var(--ds-primary-soft); border-color: transparent; color: var(--ds-primary-strong); }
.ds-on .ds-icon-btn.is-plain { background-color: transparent; border-color: transparent; }
.ds-on .ds-icon-btn-sm { width: 30px; height: 30px; }

.ds-on .ds-badge-count {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--ds-radius-pill) !important;
    background-color: var(--ds-danger);
    color: #FFFFFF;
    font-size: max(calc(.625rem * var(--ds-text-scale)), var(--ds-text-min));
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}


/* -------------------------------------------------------------------------
   FORMS (real <input>, <select>, <textarea>)
   ------------------------------------------------------------------------- */
.ds-on .ds-label-field { display: block; margin-bottom: 6px; font-size: max(calc(.75rem * var(--ds-text-scale)), var(--ds-text-min)); font-weight: 500; color: var(--ds-text-muted); }
.ds-on .ds-input {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--ds-border);
    border-radius: 10px !important;
    background-color: var(--ds-surface-2);
    color: var(--ds-text);
    font-family: inherit;
    font-size: max(calc(.8125rem * var(--ds-text-scale)), var(--ds-text-min));
    box-shadow: none;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.ds-on .ds-input::placeholder { color: var(--ds-text-muted); opacity: 1; }
.ds-on .ds-input:focus { outline: none; border-color: var(--ds-primary); background-color: var(--ds-surface); box-shadow: var(--ds-focus-ring); }
.ds-on .ds-input:disabled,
.ds-on .ds-input[readonly] { background-color: var(--ds-divider); color: var(--ds-text-muted); }
.ds-on textarea.ds-input { padding-top: 9px; padding-bottom: 9px; line-height: 1.45; }
.ds-on select.ds-input,
.ds-on .ds-select {
    padding-right: 32px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5l3.5 3.5 3.5-3.5' fill='none' stroke='%235D6B7E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.ds-on .ds-check { accent-color: var(--ds-primary); }
.ds-on .ds-required::after { content: " *"; color: var(--ds-danger); }


/* -------------------------------------------------------------------------
   CHIPS, BADGES, DOTS
   ------------------------------------------------------------------------- */
.ds-on .ds-chip {
    height: 24px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--ds-radius-pill) !important;
    font-size: max(calc(.75rem * var(--ds-text-scale)), var(--ds-text-min));
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
.ds-on .ds-chip-primary { background-color: var(--ds-primary-soft); color: var(--ds-primary-strong); }
.ds-on .ds-chip-accent { background-color: var(--ds-accent-soft); color: var(--ds-accent-strong); }
.ds-on .ds-chip-success { background-color: var(--ds-success-soft); color: var(--ds-success); }
.ds-on .ds-chip-warning { background-color: var(--ds-warning-soft); color: var(--ds-warning); }
.ds-on .ds-chip-danger { background-color: var(--ds-danger-soft); color: var(--ds-danger); }
/* Registration plate */
.ds-on .ds-chip-plate { height: 28px; font-size: max(calc(.8125rem * var(--ds-text-scale)), var(--ds-text-min)); letter-spacing: .04em; }
.ds-on .ds-chip-neutral { background-color: var(--ds-surface-2); border: 1px solid var(--ds-border); color: var(--ds-text-muted); }
/* Data-coloured chip (background colour set inline by PHP/JS, e.g. user colour) */
.ds-on .ds-person-chip { min-height: 28px; padding: 0 10px; border-radius: var(--ds-radius-pill) !important; font-size: max(calc(.75rem * var(--ds-text-scale)), var(--ds-text-min)); font-weight: 600; }
.ds-on .ds-dot { width: 8px; height: 8px; border-radius: 50% !important; }


/* -------------------------------------------------------------------------
   TABS (segmented control)
   Supports `.is-active`, and the legacy `.active` class set by existing JS.
   ------------------------------------------------------------------------- */
.ds-on .ds-tabs { display: flex; flex-wrap: wrap; width: max-content; max-width: 100%; margin: 0; padding: 4px; gap: 4px; border-radius: 12px !important; background-color: var(--ds-surface-sunken); list-style: none; }
.ds-on .ds-tab {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--ds-radius-sm) !important;
    background-color: transparent;
    color: var(--ds-text-muted);
    font-size: max(calc(.8125rem * var(--ds-text-scale)), var(--ds-text-min));
    font-weight: 500;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
.ds-on .ds-tab:hover { color: var(--ds-text); }
.ds-on .ds-tab.is-active,
.ds-on .ds-tab.active { background-color: var(--ds-surface); color: var(--ds-tab-active-fg); font-weight: 600; box-shadow: var(--ds-shadow-1); }
.ds-on .ds-tab-count { padding: 1px 7px; border-radius: var(--ds-radius-pill) !important; background-color: var(--ds-surface-2); color: var(--ds-text-muted); font-size: max(calc(.6875rem * var(--ds-text-scale)), var(--ds-text-min)); font-weight: 600; }


/* -------------------------------------------------------------------------
   TABLES - colours and borders only (no width, no layout: AdvancedTable
   measures its columns).
   ------------------------------------------------------------------------- */
.ds-on .ds-table { border-collapse: separate; border-spacing: 0; color: var(--ds-text); }
.ds-on .ds-table th { background-color: var(--ds-surface-2); color: var(--ds-text-muted); border-bottom: 1px solid var(--ds-divider); font-size: max(calc(.75rem * var(--ds-text-scale)), var(--ds-text-min)); font-weight: 600; }
.ds-on .ds-table td { border-bottom: 1px solid var(--ds-divider); }
.ds-on .ds-table tbody tr:nth-child(even) td { background-color: var(--ds-row-alt); }
.ds-on .ds-table tbody tr:hover td { background-color: var(--ds-primary-tint); }
.ds-on .ds-table .is-link { color: var(--ds-primary); font-weight: 600; }
.ds-on .ds-pagination { border-top: 1px solid var(--ds-divider); font-size: max(calc(.75rem * var(--ds-text-scale)), var(--ds-text-min)); color: var(--ds-text-muted); }


/* -------------------------------------------------------------------------
   TILES, STATS, LAUNCHERS
   ------------------------------------------------------------------------- */
.ds-on .ds-tile { padding: 20px; border: 1px solid transparent; border-radius: var(--ds-radius-lg) !important; background-color: var(--ds-surface); box-shadow: var(--ds-shadow-2); }
.ds-on .ds-tile-icon { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: var(--ds-radius-md) !important; background-color: var(--ds-primary-soft); color: var(--ds-primary-strong); }
.ds-on .ds-tile-icon.is-accent { background-color: var(--ds-accent-soft); color: var(--ds-accent-strong); }
.ds-on .ds-tile-icon.is-danger { background-color: var(--ds-danger-soft); color: var(--ds-danger); }
.ds-on .ds-tile-icon.is-solid { background-color: var(--ds-primary); color: #FFFFFF; }
.ds-on .ds-stat-v { font-size: calc(1.75rem * var(--ds-text-scale)); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: var(--ds-text); }
.ds-on .ds-stat-l { font-size: max(calc(.75rem * var(--ds-text-scale)), var(--ds-text-min)); font-weight: 500; color: var(--ds-text-muted); }
.ds-on .ds-launcher { border-radius: var(--ds-radius-md) !important; color: var(--ds-text); font-size: max(calc(.75rem * var(--ds-text-scale)), var(--ds-text-min)); font-weight: 600; text-align: center; transition: background-color .15s; }
.ds-on .ds-launcher:hover,
.ds-on .ds-launcher.is-active,
.ds-on .ds-launcher.active { background-color: var(--ds-primary-soft); }
.ds-on .ds-hero { border-radius: var(--ds-radius-xl) !important; background-color: var(--ds-primary); color: #FFFFFF; box-shadow: var(--ds-shadow-2); }


/* -------------------------------------------------------------------------
   ALERTS AND STATUS
   ------------------------------------------------------------------------- */
.ds-on .ds-alert { padding: 10px 14px; border-radius: var(--ds-radius-md) !important; font-size: max(calc(.8125rem * var(--ds-text-scale)), var(--ds-text-min)); font-weight: 600; }
.ds-on .ds-alert-info { background-color: var(--ds-info-soft); color: var(--ds-info); }
.ds-on .ds-alert-success { background-color: var(--ds-success-soft); color: var(--ds-success); }
.ds-on .ds-alert-warning { background-color: var(--ds-warning-soft); color: var(--ds-warning); }
.ds-on .ds-alert-danger { background-color: var(--ds-danger-soft); color: var(--ds-danger); }
/* Status colours stay data-driven (inline background-color from PHP/JS):
   the design only softens them with a white overlay layer. */
.ds-on .ds-status-tint { background-image: linear-gradient(var(--ds-status-overlay), var(--ds-status-overlay)); }


/* -------------------------------------------------------------------------
   LISTS AND KEY/VALUE
   ------------------------------------------------------------------------- */
.ds-on .ds-list-item { border-bottom: 1px solid var(--ds-divider); }
.ds-on .ds-list-item:last-child { border-bottom: 0; }
.ds-on .ds-kv-k { color: var(--ds-text-muted); }
.ds-on .ds-kv-v { font-weight: 500; color: var(--ds-text); }
.ds-on .ds-empty { color: var(--ds-text-muted); font-style: italic; }
.ds-on .ds-avatar { border-radius: 50% !important; background-color: var(--ds-primary-soft); color: var(--ds-primary-strong); font-weight: 700; }


/* -------------------------------------------------------------------------
   SHELL - tinted rail (side menu) and white top bar
   ------------------------------------------------------------------------- */
.ds-on .ds-rail { background-color: var(--ds-nav-bg); color: var(--ds-nav-fg); box-shadow: none; }
.ds-on .ds-rail-item { border-radius: var(--ds-radius-md) !important; color: var(--ds-nav-fg); transition: background-color .15s, color .15s; }
.ds-on .ds-rail-item:hover { background-color: rgba(255, 255, 255, .08); color: #FFFFFF; }
.ds-on .ds-rail-item.is-active,
.ds-on .ds-rail-item.active { background-color: var(--ds-nav-active-bg); color: var(--ds-nav-active-fg); }
.ds-on .ds-topbar { background-color: var(--ds-surface); border-bottom: 1px solid var(--ds-border); }


/* -------------------------------------------------------------------------
   MODALS - header with a light gradient of the module colour, tinted footer
   ------------------------------------------------------------------------- */
.ds-on .ds-modal-overlay { background-color: var(--ds-overlay); }
.ds-on .ds-modal { border: 0; border-radius: var(--ds-radius-xl) !important; background-color: var(--ds-surface); box-shadow: var(--ds-shadow-3); overflow: hidden; }
.ds-on .ds-modal-h { padding: 18px 24px; background-color: var(--ds-primary-tint); background-image: linear-gradient(180deg, var(--ds-primary-soft), var(--ds-primary-tint)); border-bottom: 1px solid var(--ds-primary-soft); color: var(--ds-primary-deep); }
.ds-on .ds-modal-t { margin: 0; font-size: calc(1.125rem * var(--ds-text-scale)); font-weight: 600; color: var(--ds-primary-deep); }
.ds-on .ds-modal-b { padding: 20px 24px; }
.ds-on .ds-modal-f { padding: 14px 24px; background-color: var(--ds-primary-tint); border-top: 1px solid var(--ds-primary-soft); }


/* -------------------------------------------------------------------------
   CALENDAR EVENTS (FullCalendar): shape only, colours stay data-driven
   ------------------------------------------------------------------------- */
.ds-on .ds-event { border: 0; border-radius: var(--ds-radius-sm) !important; box-shadow: var(--ds-shadow-1); }


/* -------------------------------------------------------------------------
   SHARED PLUGIN SKIN - Select2 (v4 classes, used by Sales and Workshop)
   Colours, borders and radii only: heights stay those of each module.
   Corners between an open field and its dropdown are kept square.
   ------------------------------------------------------------------------- */
.ds-on .select2-container--default .select2-selection {
    border-color: var(--ds-border-strong);
    border-radius: 8px !important;
    transition: border-color .15s;
}
.ds-on .select2-container--default.select2-container--focus .select2-selection,
.ds-on .select2-container--default.select2-container--open .select2-selection {
    border-color: var(--ds-primary);
}
.ds-on .select2-container--open.select2-container--below .select2-selection {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.ds-on .select2-container--open.select2-container--above .select2-selection {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/* Dropdown */
.ds-on .select2-dropdown {
    border-color: var(--ds-primary);
    border-radius: 8px !important;
    box-shadow: var(--ds-shadow-3);
    overflow: hidden;
}
.ds-on .select2-dropdown--below {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
.ds-on .select2-dropdown--above {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.ds-on .select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: var(--ds-border-strong);
    border-radius: 6px !important;
}
.ds-on .select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--ds-primary);
    outline: none;
}

/* Options: hover / keyboard highlight, then selected */
.ds-on .select2-container--default .select2-results__option--highlighted[aria-selected],
.ds-on .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--ds-primary-tint);
    color: var(--ds-primary-strong);
}
.ds-on .select2-container--default .select2-results__option[aria-selected="true"],
.ds-on .select2-container--default .select2-results__option--selected {
    background-color: var(--ds-primary-soft);
    color: var(--ds-primary-strong);
}

/* Multiple selection: chosen values as chips */
.ds-on .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--ds-primary-soft);
    border-color: transparent;
    border-radius: var(--ds-radius-pill) !important;
    color: var(--ds-primary-strong);
}
.ds-on .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--ds-primary-strong);
}


/* -------------------------------------------------------------------------
   BASE TYPOGRAPHY - existing headings (Sales and Workshop)
   Specificity (0,0,2): beats the library defaults (Materialize / Bootstrap
   reboot `h1 { font-weight: 400|500 }`) but loses to any class, so the
   colours and weights set by pages (`c-primary-500`, `fw-*`, LESS rules)
   are kept. Font sizes are not changed.
   ------------------------------------------------------------------------- */
:where(html.ds-on) body h1,
:where(html.ds-on) body h2,
:where(html.ds-on) body h3,
:where(html.ds-on) body h4,
:where(html.ds-on) body h5,
:where(html.ds-on) body h6 {
    font-weight: 600;
}
:where(html.ds-on) body h1,
:where(html.ds-on) body h2 {
    letter-spacing: -.01em;
}


/* -------------------------------------------------------------------------
   LOADER - logo Z + three dots, replaces loader_iziflo.gif (223 KB)
   Markup: pages/common/front/_tpl_ds_loader.php (#Loader of the Sales and
   Workshop headers, Sales frame overlay). The dots leave together, spread
   out where they run fastest (ease-in-out) and gather at the end of the Z.
   Never set display / width / height on #Loader: JS toggles it, legacy
   CSS sizes it (150px). It sits on a very light grey page veil so it reads
   on any page (dark hero, module-coloured headers).
   ------------------------------------------------------------------------- */
.ds-on .ds-loader {
    box-sizing: border-box;
    padding: 20px;
    overflow: visible;
}
/* Legacy #Loader rules (main.less, v2 main.scss) dim the GIF to .8 */
.ds-on #Loader.ds-loader {
    opacity: 1;
}
/* Page veil: #Loader is mostly shown alone (#LoaderOverlay is rarely used),
   so a huge rect of the SVG overflows over the whole page; being painted, it
   also catches every click behind the loader */
.ds-on .ds-loader-veil {
    fill: var(--ds-loader-veil);
}
/* The Sales frame overlay is already a veil */
.ds-on .loading-overlay .ds-loader-veil {
    display: none;
}
.ds-on .ds-loader-z {
    fill: var(--ds-primary);
    opacity: .34;
}
.ds-on .ds-loader-dots {
    animation: dsLoaderFade 2.6s linear infinite;
}
.ds-on .ds-loader-dot {
    fill: none;
    stroke: var(--ds-primary);
    stroke-width: 45;
    stroke-linecap: round;
    stroke-dasharray: 0 200;
    animation: 2.6s linear infinite;
}
.ds-on .ds-loader-dot-1 { animation-name: dsLoaderDot1; }
.ds-on .ds-loader-dot-2 { animation-name: dsLoaderDot2; }
.ds-on .ds-loader-dot-3 { animation-name: dsLoaderDot3; }
/* Each dot starts 0.23s after the previous one and stops just before the
   end of the path (a dot at exactly 100 is not drawn) */
@keyframes dsLoaderDot1 {
    0%, 6% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
    61%, 100% { stroke-dashoffset: -99.5; }
}
@keyframes dsLoaderDot2 {
    0%, 15% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
    70%, 100% { stroke-dashoffset: -99.5; }
}
@keyframes dsLoaderDot3 {
    0%, 24% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
    79%, 100% { stroke-dashoffset: -99.5; }
}
@keyframes dsLoaderFade {
    0% { opacity: 0; }
    6%, 88% { opacity: 1; }
    96%, 100% { opacity: 0; }
}
@keyframes dsLoaderPulse {
    to { opacity: .4; }
}
/* Sales frame overlay (Frame.js): same place as the legacy `.loading-overlay img` */
.ds-on .loading-overlay .ds-loader {
    position: fixed;
    top: calc(50% - 75px);
    left: calc(50% - 75px);
    width: 150px;
    height: 150px;
}
/* Overlay of showLoader() (div.loader created by JS, Sales / Workshop /
   Parts): same veil. `.loader` alone is also used by the public dashboards:
   only the overlays created by showLoader() (js-loader / js-frame-loader) */
.ds-on .loader.js-loader,
.ds-on .loader.js-frame-loader {
    background-color: var(--ds-loader-veil);
}
/* showLoader() clones the SVG of the header template (js-loader-template):
   it shrinks with small containers like the legacy .loader-img; the overlay
   is the veil and may cover a block only, so the SVG rect is hidden.
   min-height (2026-11-17): in a container under 40px high (e.g. an empty list
   while it loads) the 20px padding left no drawing area and Chrome painted the
   logo unscaled (347x406px) over the content around. 56px keeps a 16px logo. */
.ds-on .loader > .ds-loader {
    width: 100%;
    height: 100%;
    min-height: 56px;
    max-width: 150px;
    max-height: 150px;
}
.ds-on .loader .ds-loader-veil {
    display: none;
}
/* Fallback for the headers without the template (Workshop public, technician
   app): div.loader-img's ::after paints the same drawing as an animated mask
   filled with the module colour (no GIF download). Keep it in line with the
   SVG rules above (dot size: stroke-width). Mask dots: d, a, b, c; fade: f. */
.ds-on .loader .loader-img {
    position: relative;
    max-width: 150px;
    max-height: 150px;
    background: none;
}
.ds-on .loader .loader-img::after {
    content: "";
    position: absolute;
    inset: 20px;
    --ds-loader-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 347 406'%3E%3Cstyle%3E.d{fill:none;stroke:black;stroke-width:45;stroke-linecap:round;stroke-dasharray:0 200;animation:2.6s linear infinite}.a{animation-name:a}.b{animation-name:b}.c{animation-name:c}g{animation:f 2.6s linear infinite}@keyframes a{0%25,6%25{stroke-dashoffset:0;animation-timing-function:cubic-bezier(.65,0,.35,1)}61%25,to{stroke-dashoffset:-99.5}}@keyframes b{0%25,15%25{stroke-dashoffset:0;animation-timing-function:cubic-bezier(.65,0,.35,1)}70%25,to{stroke-dashoffset:-99.5}}@keyframes c{0%25,24%25{stroke-dashoffset:0;animation-timing-function:cubic-bezier(.65,0,.35,1)}79%25,to{stroke-dashoffset:-99.5}}@keyframes f{0%25{opacity:0}6%25,88%25{opacity:1}96%25,to{opacity:0}}@media (prefers-reduced-motion:reduce){.d,g{animation:none}.b{stroke-dashoffset:-45}.c{stroke-dashoffset:-99.5}}%3C/style%3E%3Cpath d='M35 35H256C290 35 316 70 316 112C316 145 300 172 275 191L174 263L165 270H240C285 270 309 300 309 345V370H105C55 370 30 340 30 295C30 270 40 245 56 227L169 143L175 135H110C65 135 35 105 35 55Z' fill-opacity='.34'/%3E%3Cg%3E%3Cpath class='d a' d='M70 85H235C285 85 300 95 270 120L118 245C80 276 65 320 120 320H275' pathLength='100'/%3E%3Cpath class='d b' d='M70 85H235C285 85 300 95 270 120L118 245C80 276 65 320 120 320H275' pathLength='100'/%3E%3Cpath class='d c' d='M70 85H235C285 85 300 95 270 120L118 245C80 276 65 320 120 320H275' pathLength='100'/%3E%3C/g%3E%3C/svg%3E");
    background: var(--ds-primary);
    -webkit-mask: var(--ds-loader-mask) center / contain no-repeat;
    mask: var(--ds-loader-mask) center / contain no-repeat;
}
/* Reduced motion: the dots stay spread along the Z and the group pulses */
@media (prefers-reduced-motion: reduce) {
    .ds-on .ds-loader-dot {
        animation: none;
    }
    .ds-on .ds-loader-dot-2 { stroke-dashoffset: -45; }
    .ds-on .ds-loader-dot-3 { stroke-dashoffset: -99.5; }
    .ds-on .ds-loader-dots {
        animation: dsLoaderPulse 1.6s ease-in-out infinite alternate;
    }
}


/* -------------------------------------------------------------------------
   SCROLLBARS - every scrolling area, page included (Sales, Workshop, Parts)
   Thin neutral thumb on a transparent track, module colour on hover.
   Specificity (0,1,2): beats the global legacy rules (Sales main.less,
   Workshop v2 main.scss `:root ::-webkit-scrollbar`) but not the local ones,
   so the scrollbars hidden by a page (`display: none`, `width: 0`) stay
   hidden. The thumb is inset with a transparent border (background drawn in
   the content box only) and widens on hover.
   ------------------------------------------------------------------------- */
html.ds-on::-webkit-scrollbar,
html.ds-on ::-webkit-scrollbar {
    width: var(--ds-scrollbar-size);
    height: var(--ds-scrollbar-size);
    box-shadow: none;
}
html.ds-on::-webkit-scrollbar-track,
html.ds-on ::-webkit-scrollbar-track {
    border: 0;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
}
html.ds-on::-webkit-scrollbar-thumb,
html.ds-on ::-webkit-scrollbar-thumb {
    border: var(--ds-scrollbar-inset) solid transparent;
    border-radius: var(--ds-radius-pill) !important;
    background: var(--ds-scrollbar-thumb) content-box;
}
html.ds-on::-webkit-scrollbar-thumb:hover,
html.ds-on ::-webkit-scrollbar-thumb:hover {
    border-width: calc(var(--ds-scrollbar-inset) - 1px);
    background-color: var(--ds-scrollbar-thumb-hover);
}
html.ds-on::-webkit-scrollbar-thumb:active,
html.ds-on ::-webkit-scrollbar-thumb:active {
    border-width: calc(var(--ds-scrollbar-inset) - 1px);
    background-color: var(--ds-primary-strong);
}
html.ds-on::-webkit-scrollbar-corner,
html.ds-on ::-webkit-scrollbar-corner {
    background: transparent;
}
/* Firefox (no ::-webkit-scrollbar): standard properties, colour inherited
   from <html>, width at zero specificity so `scrollbar-width: none` wins.
   Kept out of Chromium, which ignores the ::-webkit-scrollbar rules of any
   element with a scrollbar-color or scrollbar-width. */
@supports not selector(::-webkit-scrollbar) {
    html.ds-on {
        scrollbar-color: var(--ds-scrollbar-thumb) transparent;
    }
    :where(html.ds-on, html.ds-on *) {
        scrollbar-width: thin;
    }
}


/* -------------------------------------------------------------------------
   SHARED PLUGIN SKIN - bootstrap-datepicker, jquery-timepicker, FullCalendar
   (v3 Sales agenda / logistics, v6 Workshop planning). Colours, borders and
   radii only: the calendars measure their slots, nothing else changes.
   The datepicker active day keeps its module colour (legacy `!important`
   rules, already in the module palette). Event colours stay data-driven.
   ------------------------------------------------------------------------- */

/* Datepicker dropdown (the arrow of the dropdown stays visible: no overflow) */
.ds-on .datepicker.datepicker-dropdown,
.ds-on .datepicker.dropdown-menu {
    border-color: var(--ds-border);
    border-radius: 12px !important;
    box-shadow: var(--ds-shadow-3);
}
.ds-on .datepicker.datepicker-dropdown thead tr:first-child th:first-child {
    border-top-left-radius: 12px !important;
}
.ds-on .datepicker.datepicker-dropdown thead tr:first-child th:last-child {
    border-top-right-radius: 12px !important;
}
/* Header (2026-11-08, found on the agenda: the dropdown kept a band filled
   with the module colour and white text, next to the white header of the
   agenda mini calendar): white header, month / year in the deep module
   colour, arrows as 8px-rounded buttons tinted on hover, days of the week
   muted. Same in every module (the band read the module colour). */
html.ds-on body .datepicker.datepicker-dropdown thead tr:first-child {
    background: var(--ds-surface);
}
html.ds-on body .datepicker.datepicker-dropdown thead tr:first-child th {
    background: transparent;
    color: var(--ds-primary-deep);
}
html.ds-on body .datepicker.datepicker-dropdown thead tr:first-child th:is(.prev, .next) {
    border-radius: 8px !important;
    color: var(--ds-primary-strong);
}
html.ds-on body .datepicker.datepicker-dropdown thead tr:first-child th:is(.prev, .next, .datepicker-switch):hover {
    background: var(--ds-primary-tint);
}
html.ds-on body .datepicker.datepicker-dropdown thead tr:first-child th.datepicker-switch {
    border-radius: 8px !important;
}
html.ds-on body .datepicker.datepicker-dropdown thead .dow {
    color: var(--ds-text-muted);
    font-weight: 500;
}
/* Days, months, years */
.ds-on .datepicker table tr td.day,
.ds-on .datepicker table tr td span {
    border-radius: 8px !important;
}
html.ds-on body .datepicker table tr td.day.today:not(.active) {
    background-color: var(--ds-primary-tint);
    color: var(--ds-primary-strong);
    font-weight: 600;
}

/* Timepicker (wvega jquery-timepicker): list box, items, hover */
.ds-on .ui-timepicker-standard {
    border-color: var(--ds-border);
    border-radius: 10px !important;
    box-shadow: var(--ds-shadow-3);
    font-family: var(--ds-font);
}
.ds-on .ui-timepicker-standard a {
    border-radius: 6px !important;
}
.ds-on .ui-timepicker-standard .ui-state-hover {
    background-color: var(--ds-primary-tint);
    border-color: transparent;
    color: var(--ds-primary-strong);
}

/* FullCalendar: v6 variables, then cell borders for both versions (the
   Workshop global `table th, table td` rule hides the v6 variable) */
html.ds-on body .fc {
    --fc-border-color: var(--ds-divider);
    --fc-now-indicator-color: var(--ds-danger);
    --fc-neutral-bg-color: var(--ds-surface-2);
}
html.ds-on body .fc td,
html.ds-on body .fc th {
    border-color: var(--ds-divider);
}


/* -------------------------------------------------------------------------
   NOTIFICATION SETTINGS - channel columns (`#AlertParamModal`, Sales
   pages/common/front/_tpl_alert_param_modal.php, Workshop / Parts
   workshop/module/common/front/_tpl_alert_param_modal.php; 2026-11-30,
   user choice "C" pills in the "A" columns). Shared by both markups: a
   label row per category (`ds-alert-channels`: Mobile, Windows, E-mail,
   IZIFLO Web) above four 84px columns; each channel toggle
   (`.js-icon-alert`, `is-selected` / `.disabled` set by the template and
   resources/script/alert.js) is a 56x28px pill with the channel glyph
   drawn by a mask (the same glyphs in every mode; the original images /
   figures stay, transparent, over the pill: they keep their tooltips):
   off = white with a neutral ring, on = success tint with a check, hover =
   module colour ring, unavailable = dashed, struck-out glyph. Row and label
   row side paddings: each skin (FAMILY of the notification panel).
   ------------------------------------------------------------------------- */
html.ds-on body #AlertParamModal {
    --ds-alert-col: 84px;
}
/* Active alerts count in each category header (`ds-alert-count`, text
   written by alert.js `refreshAlertParamCounts()`), on the right */
html.ds-on body #AlertParamModal .ds-alert-count:nth-child(n) {
    margin-left: auto;
    color: var(--ds-text-muted);
    font-size: max(calc(.8571rem * var(--ds-text-scale)), var(--ds-text-min));
    font-weight: 400 !important;
    line-height: 1.3;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
/* Label row (same day, user request): "Notification" over the alert
   labels (26px in: info picto 16px + gap 10px), then the four channel
   labels as buttons (alert.js `toggleAlertParamChannel()`: enables /
   disables the channel for the whole category), module colour on hover */
html.ds-on body #AlertParamModal .ds-alert-channels {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(4, var(--ds-alert-col));
    align-items: center;
    padding-top: 8px;
    padding-bottom: 4px;
    color: var(--ds-text-muted);
    font-size: max(calc(.8214rem * var(--ds-text-scale)), var(--ds-text-min));
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}
html.ds-on body #AlertParamModal .ds-alert-channels > span:first-child {
    padding-left: 26px;
    text-align: left;
}
html.ds-on body #AlertParamModal .ds-alert-channels > button {
    justify-self: center;
    min-width: 0;  /* Sales main.less `button` 150px */
    max-width: 100%;
    height: 22px;
    margin: 0;
    padding: 0 8px !important;  /* Sales main.less `button` 0 15px !important */
    border: 0;
    border-radius: var(--ds-radius-sm) !important;  /* Sales main.less `*` 0 !important */
    background-color: transparent;
    color: inherit;
    font: inherit;
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}
html.ds-on body #AlertParamModal .ds-alert-channels > button:hover {
    background-color: var(--ds-primary-tint);
    color: var(--ds-primary);
}
html.ds-on body #AlertParamModal .js-alert-div > :is(.set-right, .form-check) {
    display: grid !important;  /* Workshop `.d-flex` utility */
    grid-template-columns: repeat(4, var(--ds-alert-col));
    justify-items: center;
    flex: 0 0 auto;
    min-height: 0;
    margin: 0 0 0 auto !important;  /* Workshop `.ms-auto .me-0` utilities */
    padding: 0;
    float: none;
}
html.ds-on body #AlertParamModal .js-icon-alert {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 56px !important;  /* Sales `.figure-circle` sizes */
    min-width: 0 !important;
    height: 28px !important;
    min-height: 0 !important;
    margin: 0 !important;  /* `.mx-1` utility */
    padding: 0 !important;
    border: 1px solid var(--ds-border-strong) !important;
    border-radius: 14px !important;
    background-color: var(--ds-surface) !important;
    box-shadow: none;
    color: var(--ds-text-muted);
    opacity: 1;
    cursor: pointer;
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
html.ds-on body #AlertParamModal .js-icon-alert > :is(img, figure) {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0;
    opacity: 0;
}
html.ds-on body #AlertParamModal .js-icon-alert::before {
    content: "";
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: var(--ds-alert-glyph) center / contain no-repeat;
    mask: var(--ds-alert-glyph) center / contain no-repeat;
}
html.ds-on body #AlertParamModal .js-icon-alert-mobile { --ds-alert-glyph: url("../../img/v2/icons/icon-mobile.svg"); }
html.ds-on body #AlertParamModal .js-icon-alert-windows { --ds-alert-glyph: url("../../img/v2/icons/icon-windows.svg"); }
html.ds-on body #AlertParamModal .js-icon-alert-email { --ds-alert-glyph: url("../../img/v2/icons/icon-letter.svg"); }
html.ds-on body #AlertParamModal .js-icon-alert-web { --ds-alert-glyph: url("../../img/v2/icons/icon-bell.svg"); }
html.ds-on body #AlertParamModal .js-icon-alert-mobile.disabled { --ds-alert-glyph: url("../../img/v2/icons/icon-mobile-strikethrough.svg"); }
html.ds-on body #AlertParamModal .js-icon-alert-windows.disabled { --ds-alert-glyph: url("../../img/v2/icons/icon-windows-strikethrough.svg"); }
html.ds-on body #AlertParamModal .js-icon-alert-email.disabled { --ds-alert-glyph: url("../../img/v2/icons/icon-letter-strikethrough.svg"); }
html.ds-on body #AlertParamModal .js-icon-alert-web.disabled { --ds-alert-glyph: url("../../img/v2/icons/icon-bell-strikethrough.svg"); }
html.ds-on body #AlertParamModal .js-icon-alert:not(.disabled):hover {
    border-color: var(--ds-primary) !important;
    box-shadow: 0 0 0 3px var(--ds-primary-tint);
    color: var(--ds-primary);
}
html.ds-on body #AlertParamModal .js-icon-alert[is-selected="1"]:not(.disabled) {
    border-color: var(--ds-success) !important;
    background-color: var(--ds-success-soft) !important;
    color: var(--ds-success);
}
html.ds-on body #AlertParamModal .js-icon-alert[is-selected="1"]:not(.disabled)::after {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    background-color: currentColor;
    -webkit-mask: url("../../img/v2/icons/icon-check.svg") center / contain no-repeat;
    mask: url("../../img/v2/icons/icon-check.svg") center / contain no-repeat;
}
html.ds-on body #AlertParamModal .js-icon-alert.disabled {
    border-style: dashed !important;
    border-color: var(--ds-border-strong) !important;
    background-color: transparent !important;
    color: var(--ds-text-muted);
    opacity: .7;
    cursor: default;
}
