/* GTS.Vision 12X look of the web boards (POC GTS-76357): Segoe UI, colours of the boards. */
:root {
  --vv-ink: #1f2328;
  --vv-ink-2: #4b5563;
  --vv-muted: #6b7280;
  --vv-faint: #9aa1ab;
  --vv-line: #e3e6ea;
  --vv-line-2: #eef0f3;
  --vv-ring: #d5d9df;
  --vv-panel: #f6f7f9;
  --vv-content: #f7f8f9;
  --vv-page: #f4f5f7;
  --vv-blue: #1f7ac6;
  --vv-blue-dark: #155a94;
  --vv-blue-soft: #e6f0fa;
  --vv-red: #c8352b;
  --vv-red-soft: #fdecec;
  --vv-green: #2e7d4f;
  --vv-orange: #e0603a;
  --vv-tile: #2b8fd8;
  --vv-surface: #fff;
  --vv-surface-muted: #f1f3f5;
  --vv-surface-soft: #fafbfc;
  --vv-line-3: #eceef1;
  --vv-on-accent: #fff;
  --vv-danger-ink: #b3261e;
  --vv-warning-ink: #b8720f;
  --vv-warning-soft: #fff4e0;
  --vv-archived: #8f2a1f;
  --vv-archived-tint: #f1e3e1;
  --vv-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  font-family: var(--vv-font);
  font-size: 13px;
  color: var(--vv-ink);
  background: var(--vv-surface);
}

a { color: var(--vv-ink); text-decoration: none; }
a:hover { color: var(--vv-blue); }
button { font-family: inherit; }

.vv-icon { flex: none; }

/* ---------- Logo, avatar, generic controls ---------- */
/* GTS.Vision logo of the UI kit: pictogram + « GTS.Vision » in the ink of the kit, or the blue tile alone */
.vv-logo { display: inline-flex; align-items: center; gap: 4px; height: 36px; color: #0a224c; white-space: nowrap; }
.vv-logo-mark { display: block; width: 40px; height: 40px; margin-left: -9px; }
.vv-logo-wordmark { font-size: 21px; line-height: 1; letter-spacing: -.03em; font-weight: 400; }
.vv-logo-wordmark b { font-weight: 700; }
.vv-logo-dot { color: #10bff8; font-weight: 700; }
.vv-logo--compact { display: block; width: 32px; height: 32px; object-fit: contain; }
.vv-logo--large { height: 56px; gap: 6px; }
.vv-logo--large .vv-logo-mark { width: 62px; height: 62px; margin-left: -14px; }
.vv-logo--large .vv-logo-wordmark { font-size: 32px; }
.vv-logo--inverse { color: var(--vv-on-accent); }

.vv-avatar {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--vv-blue); color: var(--vv-on-accent);
  display: grid; place-items: center; font-size: 12px; font-weight: 600;
}
.vv-avatar--small { width: 32px; height: 32px; font-size: 11px; }

.vv-icon-button {
  width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--vv-ink);
  display: grid; place-items: center; cursor: pointer;
}
.vv-icon-button:hover:not(:disabled) { background: var(--vv-panel); }
.vv-icon-button:disabled { color: var(--vv-faint); cursor: default; }
.vv-icon-button--danger { color: var(--vv-red); }
.vv-icon-button--outlined { width: 30px; height: 30px; background: var(--vv-surface); box-shadow: inset 0 0 0 1px var(--vv-ring); color: var(--vv-muted); }

.vv-kbd {
  font-family: Consolas, monospace; font-size: 11px; padding: 1px 6px; border-radius: 4px; background: #e9ebee; color: var(--vv-muted);
}

.vv-caption { padding: 10px 16px 4px; font-size: 10px; font-weight: 600; letter-spacing: .06em; color: var(--vv-muted); }
.vv-count { font-size: 11px; font-weight: 400; color: var(--vv-muted); }
.vv-chip { width: 26px; height: 26px; flex: none; border-radius: 6px; display: grid; place-items: center; }
.vv-chip--row { width: 28px; height: 28px; border-radius: 7px; }
.vv-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }

/* ---------- Application frame ---------- */
.vv-app { display: flex; height: 100vh; min-height: 0; }
.vv-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* Main menu panel */
.vv-sidebar {
  width: 240px; flex: none; background: var(--vv-panel); border-right: 1px solid var(--vv-line);
  display: flex; flex-direction: column; min-height: 0;
}
.vv-sidebar-logo { padding: 14px 16px 6px; }
.vv-operator { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.vv-operator-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vv-operator-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-operator-session { font-size: 11px; color: var(--vv-muted); }
.vv-module-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 8px 6px; overflow-y: auto; }
.vv-module-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--vv-ink-2); }
.vv-module-link:hover { background: var(--vv-line-3); color: var(--vv-ink-2); }
.vv-module-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vv-status-footer {
  margin-top: auto; padding: 10px 16px; border-top: 1px solid var(--vv-line);
  display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--vv-ink-2);
}
.vv-status-footer > span > .vv-icon { margin-right: 8px; color: var(--vv-muted); vertical-align: -1px; }
.vv-status-clock { margin-top: 6px; font-size: 16px; color: var(--vv-ink); }
.vv-status-date { font-size: 11px; color: var(--vv-muted); }

/* Top bar */
.vv-topbar {
  height: 56px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 20px;
  border-bottom: 1px solid var(--vv-line); background: var(--vv-surface);
}
.vv-topbar--compact { height: 48px; padding: 0 16px; gap: 10px; }

.vv-search {
  flex: 1; max-width: 560px; height: 36px; border-radius: 8px; background: var(--vv-panel);
  box-shadow: inset 0 0 0 1px var(--vv-line); display: flex; align-items: center; gap: 8px; padding: 0 12px;
}
.vv-search:focus-within { box-shadow: inset 0 0 0 2px var(--vv-blue); background: var(--vv-surface); }
.vv-search-icon { color: var(--vv-blue); display: inline-flex; }
.vv-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; color: var(--vv-ink); }
.vv-search input::placeholder { color: var(--vv-muted); }

.vv-segmented { margin-left: auto; display: flex; padding: 3px; border-radius: 8px; background: var(--vv-surface-muted); }
.vv-segmented button {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 0; border-radius: 6px;
  background: none; color: var(--vv-ink-2); font-size: 13px; cursor: pointer;
}
.vv-segmented button.is-selected { background: var(--vv-surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); font-weight: 600; color: var(--vv-ink); }

/* Main menu content */
.vv-content { flex: 1; overflow: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.vv-caption-line { font-size: 11px; color: var(--vv-ink-2); }
.vv-caption-line b { font-weight: 600; margin-right: 6px; }
/* Empty favourites: the drop zone of the desktop main menu (MinHeight 58, corners 10, faint text) */
.vv-favorites-empty {
  min-height: 58px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--vv-ring);
  display: grid; place-items: center; padding: 0 12px; font-size: 12px; color: #8b949e; text-align: center;
}
.vv-empty { padding: 24px; text-align: center; color: var(--vv-muted); }

.vv-sections { column-count: 2; column-gap: 16px; }
.vv-section { break-inside: avoid; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; scroll-margin-top: 12px; }
.vv-section-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; }
.vv-section-bar { width: 3px; height: 16px; background: var(--vv-module, var(--vv-tile)); }
.vv-section-rule { flex: 1; height: 1px; background: var(--vv-line); }

.vv-entries {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--vv-line); overflow: hidden;
}
.vv-entry {
  display: flex; align-items: center; gap: 10px; padding: 8px 11px; font-size: 12.5px;
  border-bottom: 1px solid var(--vv-line-2); border-right: 1px solid var(--vv-line-2);
}
.vv-entry:hover { background: #f4f8fd; }
.vv-entry--unavailable { cursor: default; }
.vv-entry--unavailable:hover { background: none; }

.vv-tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.vv-tiles--submenu { padding: 14px; }
.vv-tile {
  position: relative; width: 116px; height: 92px; flex: none; border-radius: 10px; border: 1px solid transparent;
  background: var(--vv-tile); color: var(--vv-on-accent); display: flex; flex-direction: column; justify-content: space-between; padding: 8px 10px;
}
.vv-tile:hover { filter: brightness(1.05); box-shadow: 0 6px 16px rgba(31, 35, 40, .18); }
.vv-tile--unavailable { cursor: default; }
.vv-tile-icon { display: inline-flex; }
.vv-tile-label {
  font-size: 12px; font-weight: 600; line-height: 17px; max-height: 34px; overflow: hidden; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Key figures banner */
.vv-kpi { display: flex; flex-direction: column; gap: 10px; }
.vv-kpi-header { display: flex; justify-content: space-between; align-items: center; min-height: 28px; font-size: 11px; color: var(--vv-ink-2); }
/* Header of the key figures: « Actualiser les chiffres » with the time, and the gear of « Chiffres affichés » */
.vv-kpi-actions { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--vv-muted); }
.vv-kpi-button {
  height: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent;
  color: var(--vv-ink-2); font: 12px var(--vv-font); cursor: pointer;
}
.vv-kpi-button:hover, .vv-kpi-gear.is-open { background: var(--vv-line-2); color: var(--vv-ink); }
.vv-kpi-gear { width: 28px; padding: 0; justify-content: center; }
.vv-kpi-gear-anchor { position: relative; display: inline-flex; }
.vv-popover-catcher { position: fixed; inset: 0; z-index: 40; }
.vv-kpi-choices {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 41; width: 268px; padding: 10px; border-radius: 12px; background: var(--vv-surface);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18), 0 0 0 1px var(--vv-line); display: flex; flex-direction: column; color: var(--vv-ink);
}
.vv-kpi-choices-title { margin: 4px 6px 6px; font-size: 12px; font-weight: 600; }
.vv-kpi-choice { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 6px; border-radius: 6px; font-size: 12.5px; cursor: pointer; }
.vv-kpi-choice:hover { background: var(--vv-page); }
.vv-kpi-choice input { margin: 0 2px 0 0; accent-color: var(--vv-blue); }
.vv-kpi-choice .vv-dot { width: 8px; height: 8px; }
.vv-kpi-choices-note { margin-top: 4px; padding: 8px 6px 2px; border-top: 1px solid var(--vv-line-2); font-size: 11.5px; color: var(--vv-muted); line-height: 1.4; }
.vv-kpi-header b { font-weight: 600; margin-right: 8px; }
.vv-kpi-grid { display: grid; gap: 10px; }
.vv-kpi-tile {
  position: relative; overflow: hidden; height: 96px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--vv-line); padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none;
}
.vv-kpi-tile[href] { cursor: pointer; }
.vv-kpi-tile[href]:hover { box-shadow: inset 0 0 0 1px var(--vv-line), 0 2px 8px rgba(15, 23, 42, .08); }
.vv-kpi-tile[href]:focus-visible { outline: 2px solid var(--vv-blue); outline-offset: 2px; }
.vv-kpi-tile > :not(.vv-kpi-chart) { position: relative; }
/* The chart of the figure, 70 px at the bottom of the tile, behind the value (KeyFigureChart of the desktop) */
.vv-kpi-chart { position: absolute; left: 1px; right: 1px; bottom: 1px; width: calc(100% - 2px); height: 70px; pointer-events: none; }
.vv-kpi-placeholder { display: block; border-radius: 6px; background: var(--vv-line-2); }
.vv-kpi-placeholder--value { width: 96px; height: 26px; margin-top: 6px; }
.vv-kpi-placeholder--sub { width: 120px; height: 10px; margin-top: 4px; border-radius: 5px; }
.vv-kpi-title { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.vv-kpi-value { font-size: 24px; font-weight: 600; }
.vv-kpi-value small { font-size: 13px; font-weight: 400; color: var(--vv-muted); margin-left: 4px; }
.vv-kpi-sub { font-size: 11px; color: var(--vv-muted); }

/* Sub menu: rail, tree, breadcrumb */
.vv-rail {
  width: 64px; flex: none; background: var(--vv-panel); border-right: 1px solid var(--vv-line);
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 0; overflow-y: auto;
}
.vv-rail-module { width: 40px; height: 40px; flex: none; border-radius: 9px; display: grid; place-items: center; }
.vv-rail-module:hover { filter: brightness(1.06); }
.vv-rail-module.is-current { box-shadow: 0 0 0 2px var(--vv-surface), 0 0 0 4px var(--vv-ink); }

.vv-tree { width: 270px; flex: none; border-right: 1px solid var(--vv-line); display: flex; flex-direction: column; min-height: 0; }
.vv-tree[hidden] { display: none; }
/* Title of the menu: a line of the module colour on top, the menu in the dark shade of the colour (SubMenuView) */
.vv-tree-header { display: flex; align-items: flex-start; gap: 6px; padding: 13px 10px 10px 16px; border-top: 3px solid var(--vv-accent, var(--vv-tile)); border-bottom: 1px solid var(--vv-line-2); }
.vv-tree-titles { flex: 1; min-width: 0; }
/* « « » of the header and « » » before the breadcrumb (PopupShellIconButtonStyle, 30 px, chevrons of 16) */
.vv-tree-fold, .vv-tree-unfold { width: 30px; height: 30px; flex: none; color: var(--vv-muted); }
.vv-tree-unfold { margin-left: -6px; }
.vv-rail-logo { width: 40px; height: 40px; flex: none; padding: 4px; display: grid; place-items: center; }
.vv-rail-logo:disabled { opacity: 1; }
.vv-tree-module { font-size: 10px; font-weight: 600; letter-spacing: .06em; color: var(--vv-muted); }
.vv-tree-title { font-size: 16px; font-weight: 600; color: var(--vv-accent-dark, var(--vv-blue)); }
.vv-tree-nodes { display: flex; flex-direction: column; padding: 6px 8px; gap: 2px; overflow-y: auto; }
.vv-tree-node {
  /* flex: none keeps the rows at their height when the tree is longer than the column (it scrolls instead) */
  flex: none; display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 4px 10px 4px 0; border: 0; border-radius: 6px;
  background: transparent; color: var(--vv-ink); font-size: 13px; text-align: left; cursor: pointer;
}
.vv-tree-node:hover { background: var(--vv-panel); }
/* The colour of the module: a tint for the group holding the screen, the colour for the screen (SubMenuView) */
.vv-tree-node.is-on-path { background: var(--vv-accent-open, var(--vv-blue-soft)); font-weight: 600; }
.vv-tree-node.is-selected { background: var(--vv-accent, var(--vv-tile)); color: var(--vv-accent-ink, var(--vv-on-accent)); font-weight: 600; }
.vv-tree-node.is-unavailable { cursor: default; }
.vv-tree-icon { flex: none; display: inline-flex; }
.vv-tree-label { flex: 1; margin: 0 10px; }
.vv-tree-chevron { flex: none; display: inline-flex; color: #c3c8cf; }
.vv-tree-chevron.is-open { color: var(--vv-muted); }

.vv-home { color: var(--vv-blue); display: inline-flex; }
.vv-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; min-width: 0; }
.vv-crumb-separator { display: inline-flex; color: var(--vv-faint); }
.vv-search-chip {
  margin-left: auto; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--vv-surface-muted);
  display: flex; align-items: center; gap: 6px; color: var(--vv-blue);
}
.vv-sub-content { flex: 1; min-height: 0; overflow: auto; }
.vv-coming { margin: 24px; padding: 20px 24px; border-radius: 8px; background: var(--vv-panel); color: var(--vv-ink-2); font-size: 14px; }

.vv-alert {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px;
  background: var(--vv-red-soft); color: var(--vv-red); font-size: 13px; line-height: 1.4;
}
.vv-alert .vv-icon { margin-top: 1px; }

/* ---------- Settings screens « liste + fiche » (VivaSettingsLayout and its kit) ---------- */
.vv-settings { position: relative; height: 100%; min-height: 0; background: var(--vv-panel); display: flex; flex-direction: column; }
.vv-settings-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 18px 20px; }

.vv-settings-header { display: flex; align-items: center; gap: 12px; min-height: 36px; margin-bottom: 14px; }
.vv-settings-titles { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.vv-settings-title { margin: 0; font-size: 19px; font-weight: 600; white-space: nowrap; }
.vv-settings-subtitle { font-size: 12px; color: var(--vv-muted); white-space: nowrap; }
.vv-command-bar { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; }
.vv-command-bar > .vv-command, .vv-command-bar > .vv-overflow { margin-left: 8px; }
/* until the first measure (SettingsHeader): no button shown, then folded into « Plus » */
.vv-command-bar.is-measuring > .vv-command, .vv-command-bar.is-measuring > .vv-overflow { visibility: hidden; }
.vv-command-probe {
  /* anchored on the right: a probe wider than the bar overflows to the left, which never adds a scroll bar */
  position: absolute; right: 0; top: 0; display: flex; white-space: nowrap; visibility: hidden; pointer-events: none; height: 0; overflow: visible;
}
.vv-command-probe > * { flex: none; }
.vv-overflow { position: relative; flex: none; }
.vv-overflow-button {
  height: 34px; display: inline-flex; align-items: center; padding: 0 10px 0 12px; border: 0; border-radius: 6px; flex: none;
  background: var(--vv-surface); color: var(--vv-ink); box-shadow: inset 0 0 0 1px var(--vv-ring); font: 600 13px var(--vv-font); cursor: pointer;
}
.vv-overflow-button:hover, .vv-overflow-button.is-open { background: var(--vv-line-2); }
.vv-overflow-button .vv-icon { color: var(--vv-muted); }
.vv-overflow-count { margin: 0 7px; padding: 1px 6px; border-radius: 10px; background: var(--vv-surface-muted); color: var(--vv-ink-2); font-size: 10.5px; font-weight: 600; }
.vv-overflow-scrim { position: fixed; inset: 0; z-index: 25; }
.vv-overflow-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 26; width: 260px; padding: 6px; border-radius: 10px; background: var(--vv-surface);
  box-shadow: 0 12px 32px rgba(31, 35, 40, .18), 0 0 0 1px var(--vv-line); display: flex; flex-direction: column;
}
.vv-overflow-separator { height: 1px; margin: 4px 6px; background: var(--vv-line); }
.vv-overflow-entry {
  height: 34px; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; padding: 0 10px; border: 0; border-radius: 6px;
  background: transparent; color: var(--vv-ink); font: 500 13px var(--vv-font); text-align: left; cursor: pointer;
}
.vv-overflow-entry:hover:not(:disabled) { background: var(--vv-line-2); }
.vv-overflow-entry:disabled { opacity: .35; cursor: default; }
.vv-overflow-entry-icon { display: inline-flex; justify-content: center; }
.vv-overflow-entry-label { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-overflow-entry-key { font: 10.5px Consolas, monospace; color: var(--vv-faint); }
.vv-overflow-entry--destructive { color: var(--vv-red); }
.vv-overflow-entry--destructive:hover:not(:disabled) { background: var(--vv-red-soft); }

/* A button of the bar (VivaHeaderCommandButtonStyle): 34 px, white and ringed; the principal one filled with the accent,
   a danger or destructive one in red, the creation in green; hovered, it pales a little (.92); disabled, it keeps its
   colours at .35 (a pale red « Supprimer », a pale green « Nouveau »), its ink muted */
.vv-command {
  flex: none; white-space: nowrap; height: 34px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 10px; border: 0; border-radius: 6px;
  background: var(--vv-surface); color: var(--vv-ink); box-shadow: inset 0 0 0 1px #c9ced6; font: 600 13px var(--vv-font); cursor: pointer;
}
.vv-command:hover:not(:disabled) { opacity: .92; }
.vv-command:disabled { cursor: default; opacity: .35; }
.vv-command:disabled:not(.vv-command--primary, .vv-command--create, .vv-command--destructive, .vv-command--danger) { color: var(--vv-muted); }
.vv-command-key { font: 500 10.5px Consolas, monospace; padding: 1px 5px; border-radius: 4px; background: #eef1f4; color: var(--vv-muted); }
.vv-command--primary { background: var(--vv-accent-dark, #1c6fa6); color: var(--vv-on-accent); box-shadow: none; }
.vv-command--create { color: #14803a; box-shadow: inset 0 0 0 1px #bfe3cb; }
.vv-command--create .vv-command-key { background: #e7f5ec; color: #14803a; }
.vv-command--destructive, .vv-command--danger { background: #c4372b; color: var(--vv-on-accent); box-shadow: none; }
.vv-command--primary .vv-command-key, .vv-command--destructive .vv-command-key, .vv-command--danger .vv-command-key { background: rgba(255, 255, 255, .2); color: var(--vv-on-accent); }

.vv-settings-columns { flex: 1; min-height: 0; display: flex; }
/* The list: 296 at first, 220 to 560 by the splitter in the gap of 14 beside it (VisionSettingsListSplitterStyle: the
   resize cursor on the whole height, a line of the accent of 2 while hovered or dragged) */
.vv-settings-list-column { width: 296px; min-width: 220px; max-width: 560px; flex: none; display: flex; min-height: 0; overflow: hidden; }
.vv-settings-splitter { position: relative; flex: none; width: 14px; cursor: ew-resize; touch-action: none; }
.vv-settings-splitter::after { content: ""; position: absolute; top: 0; bottom: 0; left: 6px; width: 2px; border-radius: 1px; background: var(--vv-accent, #2b95d6); visibility: hidden; }
.vv-settings-splitter:hover::after, .vv-settings-splitter.is-dragging::after { visibility: visible; }
.vv-settings-card-column { flex: 1; min-width: 0; min-height: 0; display: flex; }
.vv-settings-card {
  flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--vv-surface); border-radius: 8px;
  /* a real border: an inset shadow is painted under the children, so the opaque body of the card hid it on the sides and below */
  border: 1px solid var(--vv-line); overflow: hidden;
}
.vv-settings-card--empty { align-items: center; justify-content: center; }
.vv-empty-state { max-width: 360px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.vv-empty-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--vv-surface-muted); color: var(--vv-muted); display: grid; place-items: center; }
.vv-empty-icon--accent { background: var(--vv-accent-tint, var(--vv-blue-soft)); color: var(--vv-accent-dark, var(--vv-blue-dark)); }
.vv-empty-title { margin-top: 4px; font-size: 14px; font-weight: 600; }
.vv-empty-text { font-size: 13px; color: var(--vv-muted); }
.vv-empty-state .vv-button { margin-top: 10px; }

/* List pane */
.vv-list-pane {
  position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--vv-surface); border-radius: 8px;
  border: 1px solid var(--vv-line); overflow: hidden;
}
/* The search, its filters and the filters of the screen, all locked while the card is changed (a fieldset without frame) */
.vv-list-search { min-width: 0; margin: 0; padding: 10px; border: 0; border-bottom: 1px solid var(--vv-line-2); }
.vv-list-search-row { display: flex; align-items: center; gap: 6px; }
.vv-list-search-row .vv-search-box { flex: 1; min-width: 0; }
.vv-list-search-submit { flex: none; color: var(--vv-muted); }
.vv-search-box {
  display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--vv-ring); color: var(--vv-faint); background: var(--vv-surface);
}
.vv-search-box:focus-within { box-shadow: inset 0 0 0 2px var(--vv-accent, var(--vv-blue)); }
.vv-search-box input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; color: var(--vv-ink); background: transparent; }
.vv-search-box input:disabled { color: var(--vv-faint); }
/* Tables of the settings kit (the list of a screen, the association tables): a table of the columns declared by
   the page, its header kept at the top while the rows scroll in the frame, header and rows of 34 with a divider under each */
.vv-table-scroll { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; }
.vv-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.vv-table th, .vv-table td { padding: 0; vertical-align: middle; text-align: left; }
.vv-table thead th {
  position: sticky; top: 0; z-index: 1; height: 34px; padding: 0 10px; background: var(--vv-surface-soft); border-bottom: 1px solid var(--vv-line-2);
  color: var(--vv-ink-2); font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vv-table tbody td { height: 34px; border-bottom: 1px solid var(--vv-page); }
.vv-table tbody tr { outline: 0; }
.vv-table tbody tr:focus-visible { outline: 1px solid var(--vv-accent, var(--vv-blue)); outline-offset: -1px; }
/* Header of a sortable column (a web feature: the lists of the desktop do not sort): a button filling the cell, of the
   height and the margins of the header, its text cut by « … », the arrow of the sort after it, a subtle hover, the focus as a row */
.vv-table thead th.vv-sortable { padding: 0; }
.vv-sort-button {
  display: flex; align-items: center; gap: 6px; width: 100%; height: 34px; padding: 0 10px; border: 0; background: transparent;
  color: inherit; font: inherit; text-align: left; cursor: pointer; outline: 0;
}
.vv-sort-button:hover:not(:disabled) { background: rgba(31, 122, 198, .06); }
.vv-sort-button:focus-visible { outline: 1px solid var(--vv-accent, var(--vv-blue)); outline-offset: -1px; }
.vv-sort-button:disabled { cursor: default; }
.vv-sort-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-sort-button .vv-icon { flex: none; color: var(--vv-accent, var(--vv-blue)); }
/* « Code » (VisionSettingsCodeColumnStyle, VisionSettingsCodeCellStyle): at the width of the longest code shown, at
   least the header « Code », a longer code ending with « … » at the widest code of the column (max-width of the cell) */
.vv-table .vv-col-code, .vv-table td.vv-cell-code { width: 1%; }
.vv-table td.vv-cell-code { padding: 0 6px 0 10px; white-space: nowrap; font-family: Consolas, monospace; font-size: 11.5px; color: var(--vv-muted); }
.vv-cell-clip { display: block; min-width: 26px; overflow: hidden; text-overflow: ellipsis; }
/* A number in a « Code » column (IsRightAligned, HorizontalAlignment="Right" of the desktop): on the right, as its header */
.vv-table .vv-cell-code.is-right { text-align: right; }
.vv-table th.vv-cell-code.is-right .vv-sort-button { justify-content: flex-end; }
/* « Libellé » (VisionSettingsLabelCellStyle): the rest of the width, the label cut by « … », « Archivé » on its right */
.vv-table td.vv-cell-label { max-width: 0; }
/* A number drawn as a label (IsRightAligned of a « Libellé » column): on the right, faint when archived, as its header */
.vv-table td.vv-cell-label.is-right .vv-cell-text { text-align: right; }
.vv-table th.vv-cell-label.is-right .vv-sort-button { justify-content: flex-end; }
.vv-cell-line { display: flex; align-items: center; min-width: 0; }
.vv-cell-text { flex: 1; min-width: 0; margin: 0 10px; font-size: 12.5px; font-weight: 500; color: var(--vv-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-cell-text.is-archived { color: var(--vv-faint); }
/* A row (VisionSettingsListItemStyle): tinted and barred with the accent when selected, its code in the accent, its label semibold */
.vv-list-row, .vv-assoc-row { cursor: pointer; }
.vv-list-row:hover, .vv-assoc-row:hover { background: #f4f8fd; }
.vv-list-row.is-selected { background: var(--vv-accent-tint, var(--vv-blue-soft)); }
.vv-assoc-row.is-selected { background: var(--vv-accent-tint, var(--vv-blue-soft)); }
.vv-list-row.is-selected > td:first-child, .vv-assoc-row.is-selected > td:first-child { box-shadow: inset 3px 0 0 var(--vv-accent, var(--vv-tile)); }
.vv-list-row.is-selected .vv-cell-code, .vv-assoc-row.is-selected .vv-cell-code { color: var(--vv-accent-dark, var(--vv-blue)); }
.vv-list-row.is-selected .vv-cell-text, .vv-assoc-row.is-selected .vv-cell-text { font-weight: 600; }
.vv-list-pane.is-locked .vv-table-scroll { opacity: .45; pointer-events: none; }
/* The texts cut by an ellipsis: the status footer, the entries of the menus */
.vv-status-footer > span, .vv-entry-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* « Archivé » of a row (VisionArchivedBadgeStyle) */
.vv-archived-badge { flex: none; margin-right: 10px; padding: 1px 6px; border-radius: 4px; background: var(--vv-archived-tint); color: var(--vv-archived); font-size: 10.5px; font-weight: 600; }
.vv-list-empty { padding: 16px 12px; color: var(--vv-muted); font-size: 13px; }
.vv-list-footer { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-top: 1px solid var(--vv-line-2); }
/* The historic under the list (VisionSettingsFooterTextStyle): 11.5, faint, cut by an ellipsis */
.vv-footer-text { font-size: 11.5px; color: #8d939b; min-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-check { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px; cursor: pointer; }
.vv-lock-notice {
  position: absolute; left: 10px; right: 10px; top: 110px; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
  border-radius: 9px; background: var(--vv-surface); box-shadow: 0 0 0 1px var(--vv-line), 0 10px 24px rgba(31, 35, 40, .14);
  font-size: 12px; line-height: 1.4;
}
.vv-lock-notice .vv-icon { color: var(--vv-accent-dark, var(--vv-blue-dark)); margin-top: 1px; }

/* Card */
.vv-card-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--vv-line-2); }
.vv-card-icon { width: 38px; height: 38px; flex: none; border-radius: 9px; background: var(--vv-accent, var(--vv-tile)); color: var(--vv-accent-ink, var(--vv-on-accent)); display: grid; place-items: center; }
.vv-card-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* The title on one line, cut by an ellipsis (VisionSettingsCardTitleStyle); a badge right after it (TitleBadge) */
.vv-card-title { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.vv-card-title-row { display: flex; align-items: center; min-width: 0; }
.vv-card-title-badge { flex: none; display: inline-flex; align-items: center; }
.vv-card-code { font-family: Consolas, monospace; font-size: 11px; color: var(--vv-muted); }
/* The code alone under the title: 12, monospace, the secondary ink, cut by an ellipsis */
.vv-card-code--only { margin-top: 3px; font-size: 12px; color: #4b5058; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* An empty title or code (a new element) keeps its line, as a TextBlock of the desktop */
.vv-card-title:empty::before, .vv-card-code--only:empty::before { content: "\a0"; }
.vv-card-meta-content { min-width: 0; }
/* « CODE · meta » under the title (VisionSettingsCardMetaStyle) */
.vv-card-meta { margin-top: 3px; font-size: 12px; color: var(--vv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-card-meta .vv-card-code { font-size: 12px; color: var(--vv-ink-2); }
.vv-accent-pill { flex: none; padding: 3px 10px; border-radius: 12px; background: var(--vv-accent-tint, var(--vv-blue-soft)); color: var(--vv-accent-dark, var(--vv-blue-dark)); font-size: 11px; font-weight: 600; }
.vv-switch { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.vv-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vv-switch-track { position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--vv-ring); transition: background .15s; }
.vv-switch-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--vv-surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .15s; }
.vv-switch input:checked + .vv-switch-track { background: var(--vv-blue); }
.vv-switch input:checked + .vv-switch-track .vv-switch-thumb { left: 16px; }
.vv-switch input:focus-visible + .vv-switch-track { box-shadow: 0 0 0 2px var(--vv-blue-soft), 0 0 0 3px var(--vv-blue); }
.vv-switch input:disabled + .vv-switch-track { opacity: .5; }
/* « Archivé » of the header of a card (VisionArchiveSwitchStyle): 12.5 in the secondary ink, its track grey, red when on,
   the whole switch at .5 when disabled; « Actif » (vv-switch--active, VisionActiveSwitchStyle) green when on */
.vv-switch--archive, .vv-switch--active { font-size: 12.5px; color: #4b5058; }
.vv-switch--archive .vv-switch-track, .vv-switch--active .vv-switch-track { background: #c2c7ce; }
.vv-switch--archive input:checked + .vv-switch-track { background: #b3261e; }
.vv-switch--active input:checked + .vv-switch-track { background: #14803a; }
.vv-switch--archive:has(input:disabled), .vv-switch--active:has(input:disabled) { opacity: .5; cursor: default; }
.vv-switch--archive input:disabled + .vv-switch-track, .vv-switch--active input:disabled + .vv-switch-track { opacity: 1; }
/* Body of the card (VisionSettingsCardBodyStyle): on the content background, padding 16,14,16,18, scrolling down only */
.vv-card-body { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: 14px 16px 18px; background: var(--vv-content); display: flex; flex-direction: column; gap: 14px; }

/* A group of the card (VisionExpanderStyle): white, its border, corners 10 */
.vv-expander { border-radius: 10px; background: var(--vv-surface); box-shadow: inset 0 0 0 1px var(--vv-line); }
.vv-expander-header {
  width: 100%; height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 0; background: transparent;
  font: 13px var(--vv-font); color: var(--vv-ink); text-align: left; cursor: pointer;
}
.vv-expander.is-expanded .vv-expander-header { border-bottom: 1px solid var(--vv-line-2); }
.vv-expander-body { padding: 14px; }

.vv-field-grid { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); row-gap: 10px; }
.vv-field-col-3 { grid-column: 3; }
.vv-field-span { grid-column: 1 / -1; }
/* Justified card (fields HorizontalContentAlignment="Stretch" in a 2* / 28 / * grid): 2/3 - 1/3, the controls fill their column */
.vv-field-grid--justified { grid-template-columns: minmax(0, 2fr) 28px minmax(0, 1fr); }
.vv-field-grid--justified .vv-field-control { flex: 1; }
.vv-field-grid--justified .vv-field-control > * { width: 100%; }
.vv-field-row { display: flex; align-items: center; min-height: 32px; }
.vv-field-caption { width: 140px; flex: none; display: flex; align-items: baseline; gap: 4px; padding-right: 12px; font-size: 13px; color: var(--vv-ink); }
.vv-field-row--wide .vv-field-caption { width: 160px; }
.vv-field-control { min-width: 0; display: flex; align-items: center; }
.vv-required { color: var(--vv-red); }

.vv-input {
  height: 30px; max-width: 100%; border: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--vv-ring); padding: 0 10px;
  font: 13px var(--vv-font); color: var(--vv-ink); background: var(--vv-surface); outline: 0;
}
.vv-input:hover:not([readonly]) { box-shadow: inset 0 0 0 1px #aab2bd; }
.vv-input:focus:not([readonly]) { box-shadow: inset 0 0 0 2px var(--vv-accent, var(--vv-blue)), 0 0 0 3px var(--vv-accent-tint, var(--vv-blue-soft)); }
.vv-input[readonly] { background: var(--vv-line-2); box-shadow: none; color: var(--vv-ink-2); }
.vv-input--code { font-family: Consolas, monospace; font-size: 12px; }
.vv-input--number { text-align: right; }
.vv-input.is-invalid { box-shadow: inset 0 0 0 2px var(--vv-red); }

.vv-translatable {
  display: flex; align-items: center; gap: 4px; height: 30px; max-width: 100%; padding: 0 3px 0 10px; border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--vv-ring); background: var(--vv-surface);
}
/* Hovered as a text field (VivaTranslatableTextBoxStyle: VisionFieldHoverBorderBrush) */
.vv-translatable:hover:not(.is-readonly):not(:focus-within) { box-shadow: inset 0 0 0 1px #aab2bd; }
.vv-translatable:focus-within { box-shadow: inset 0 0 0 2px var(--vv-accent, var(--vv-blue)), 0 0 0 3px var(--vv-accent-tint, var(--vv-blue-soft)); }
.vv-translatable input { flex: 1; min-width: 0; border: 0; outline: 0; font: 13px var(--vv-font); color: var(--vv-ink); background: transparent; }
.vv-translatable.is-readonly { background: var(--vv-line-2); box-shadow: none; }
.vv-translate-button {
  width: 24px; height: 24px; flex: none; border: 0; border-radius: 4px; background: transparent; color: var(--vv-muted);
  display: grid; place-items: center; cursor: pointer;
}
.vv-translate-button:hover:not(:disabled) { background: var(--vv-blue-soft); color: var(--vv-blue); }
.vv-translate-button:disabled { color: #c3c8cf; cursor: default; }

/* Filter « Type » above the search, its label above the field (VivaSettingsListPane) */
.vv-list-filter { display: flex; flex-direction: column; gap: 3px; margin-bottom: 7px; }
.vv-list-filter-label { font-size: 11px; color: var(--vv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-list-filter .vv-select { width: 100%; }

/* Group of a grouped list (VisionSettingsCollapsibleGroupStyle): chevron, icon, name, count */
.vv-list-group-cell { padding: 0; }
.vv-list-group-header {
  width: 100%; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 0; border-bottom: 1px solid var(--vv-page);
  background: var(--vv-surface-soft); color: var(--vv-muted); font: 600 12px var(--vv-font); text-align: left; cursor: pointer;
}
.vv-list-group-name { flex: 1; min-width: 0; color: var(--vv-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-count-badge { flex: none; padding: 1px 6px; border-radius: 8px; background: var(--vv-surface-muted); color: var(--vv-muted); font-size: 10.5px; font-weight: 400; }

/* Label of an element of a tree (as the RowTemplate of the former WPF 12X view of the classes of products): indentation, chevron of 18, label moved by it on a leaf */
.vv-tree-indent { flex: none; }
.vv-tree-toggle {
  width: 18px; height: 18px; flex: none; margin-left: 4px; padding: 0; border: 0; border-radius: 4px; background: transparent;
  color: var(--vv-ink-2); display: grid; place-items: center; cursor: pointer;
}
.vv-tree-toggle:hover:not(:disabled) { background: var(--vv-panel); }
.vv-tree-toggle:disabled { color: var(--vv-faint); cursor: default; }
.vv-tree-toggle .vv-icon { transition: transform .1s; }
.vv-tree-toggle.is-expanded .vv-icon { transform: rotate(90deg); }
.vv-cell-text.is-leaf { margin-left: 32px; }

/* Drop-down list of a card, number field, check box */
/* The chevron of the 12X (PopupCompactComboBoxStyle): PopupIconChevronDown of 14 in the muted ink, 7 px from the
   right edge, the text between 9 and 26 px; the native arrow of the browser stuck to the edge is removed */
.vv-select, select.vv-translation-field {
  appearance: none; padding: 0 26px 0 9px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 7px center; background-size: 14px 14px;
}
.vv-select:disabled { background-color: var(--vv-line-2); box-shadow: none; color: var(--vv-ink-2); cursor: default; }
/* A choice that cannot be chosen (a parent refused, ParentChoiceStyle): at .45 */
.vv-select option:disabled { opacity: .45; }
.vv-settings-check { margin-bottom: 0; font-size: 13px; }
.vv-settings-check.is-disabled { color: var(--vv-faint); cursor: default; }
.vv-check-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; margin: 4px 0 10px; }
.vv-settings-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--vv-accent, var(--vv-blue)); }

/* Help banner of an association zone (VivaSettingsHelpNotice, VisionInfoNoticeStyle) */
.vv-help-notice {
  display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; padding: 8px 12px; border-radius: 8px;
  background: #eaf2fa; box-shadow: inset 0 0 0 1px #c9daea; color: #1f6ea8; font-size: 12px; line-height: 17.5px;
}
.vv-help-notice .vv-icon { margin-top: 3px; color: #1f6ea8; }
.vv-help-notice-text { min-width: 0; }

/* Check cards (VivaSettingsCheckCardList, variant A of « Cases-boutons »): cards of 36 as wide as the widest */
.vv-check-cards {
  display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, var(--vv-check-card-width, 140px));
  max-width: calc(var(--vv-check-card-columns, 999) * (var(--vv-check-card-width, 140px) + 8px) - 8px);
}
.vv-check-cards.is-measuring { display: flex; flex-wrap: wrap; align-items: flex-start; }
.vv-check-cards.is-measuring .vv-check-card { width: max-content; max-width: none; }
.vv-check-card {
  height: 36px; min-width: 0; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 0; border-radius: 8px;
  background: var(--vv-surface); box-shadow: inset 0 0 0 1px #d5dae1; color: var(--vv-ink); font: 12px var(--vv-font); text-align: left; cursor: pointer;
}
.vv-check-card:hover:not(:disabled) { box-shadow: inset 0 0 0 1px #aab2bd; }
.vv-check-card:focus-visible { outline: 0; box-shadow: inset 0 0 0 1px var(--vv-accent, var(--vv-blue)); }
.vv-check-card.is-checked { background: var(--vv-accent-tint, var(--vv-blue-soft)); box-shadow: inset 0 0 0 2px var(--vv-accent, var(--vv-blue)); }
.vv-check-card:disabled { opacity: .55; cursor: default; }
.vv-check-card-box {
  width: 18px; height: 18px; flex: none; border-radius: 5px; background: var(--vv-surface); box-shadow: inset 0 0 0 2px var(--vv-faint); display: grid; place-items: center;
}
.vv-check-card-box svg { fill: none; stroke: var(--vv-on-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.vv-check-card.is-checked .vv-check-card-box { background: var(--vv-accent, var(--vv-blue)); box-shadow: none; }
.vv-check-card.is-checked .vv-check-card-box svg { visibility: visible; }
.vv-check-card-label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Color field (VivaColorField): swatch and code, the palette of ten columns and « Autre couleur » */
.vv-color-field { position: relative; display: inline-block; max-width: 100%; }
.vv-color-button {
  width: 100%; height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 9px; border: 0; border-radius: 6px;
  background: var(--vv-surface); box-shadow: inset 0 0 0 1px var(--vv-ring); color: var(--vv-ink); cursor: pointer;
}
.vv-color-button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px #aab2bd; }
.vv-color-button.is-open, .vv-color-button:focus-visible {
  outline: 0; box-shadow: inset 0 0 0 2px var(--vv-accent, var(--vv-blue)), 0 0 0 3px var(--vv-accent-tint, var(--vv-blue-soft));
}
.vv-color-button:disabled { background: var(--vv-line-2); box-shadow: none; cursor: default; }
.vv-color-code { flex: 1; min-width: 0; font-family: Consolas, monospace; font-size: 12.5px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-color-swatch { width: 18px; height: 18px; flex: none; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.vv-color-backdrop { position: fixed; inset: 0; z-index: 29; }
.vv-color-popup {
  position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; padding: 8px; border-radius: 6px; background: var(--vv-surface);
  box-shadow: 0 0 0 1px var(--vv-ring), 0 3px 12px rgba(0, 0, 0, .14);
}
.vv-color-palette { display: grid; grid-template-columns: repeat(10, 18px); gap: 4px; }
.vv-color-palette button { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); cursor: pointer; }
.vv-color-palette button:hover, .vv-color-palette button:focus-visible { outline: 2px solid var(--vv-accent, var(--vv-blue)); outline-offset: 1px; }
.vv-color-other { display: block; margin: 10px 2px 4px; font-size: 12px; color: var(--vv-ink-2); }
.vv-color-popup .vv-input { width: calc(100% - 4px); margin: 0 2px; font-family: Consolas, monospace; }

/* Foldable side panel (VivaFoldablePanel): strip of 38 folded, panel resized by its left edge unfolded */
.vv-foldable { position: relative; display: flex; flex: none; min-height: 0; }
.vv-foldable-strip {
  width: 38px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0; border: 0; border-radius: 8px;
  background: var(--vv-surface-soft); box-shadow: inset 0 0 0 1px var(--vv-line); cursor: pointer;
}
.vv-foldable-strip:hover { background: var(--vv-accent-tint, var(--vv-blue-soft)); }
.vv-foldable-strip-chevron {
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--vv-ring);
  color: var(--vv-accent-dark, var(--vv-blue-dark)); transform: rotate(180deg);
}
.vv-foldable-strip-title { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 12px var(--vv-font); color: var(--vv-ink-2); }
.vv-foldable-panel { position: relative; display: flex; min-height: 0; }
.vv-foldable-frame { flex: 1; min-width: 0; display: flex; flex-direction: column; border-radius: 8px; background: var(--vv-surface); border: 1px solid var(--vv-line); overflow: hidden; }
.vv-foldable-head { padding: 8px 10px; border-bottom: 1px solid var(--vv-line-2); }
.vv-foldable-title-row { display: flex; align-items: center; gap: 6px; }
.vv-foldable-title { flex: 1; min-width: 0; font: 600 12px var(--vv-font); color: var(--vv-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-foldable-fold { width: 22px; height: 22px; color: var(--vv-muted); }
.vv-foldable-search { height: 30px; margin-top: 6px; }
.vv-foldable-body { flex: 1; min-height: 0; margin: 10px; display: flex; flex-direction: column; }
.vv-foldable-grip { position: absolute; top: 0; bottom: 0; left: -3px; width: 6px; cursor: ew-resize; touch-action: none; }
.vv-foldable-grip:hover { background: var(--vv-accent-tint, var(--vv-blue-soft)); }

/* Association table (VisionSettingsDropTableFrameStyle, VisionSettingsTableRowStyle): frame, header, rows, × or « + » */
.vv-assoc-table { display: flex; flex-direction: column; min-height: 0; border-radius: 8px; background: var(--vv-surface); border: 1px solid var(--vv-line); overflow: hidden; }
.vv-assoc-table.is-drag-over { box-shadow: inset 0 0 0 1px var(--vv-accent, var(--vv-blue)); }
.vv-assoc-table thead th { height: 32px; padding: 0 10px; font-size: 11px; font-weight: 700; }
.vv-assoc-grid { table-layout: fixed; }
.vv-foldable-items { flex: 1; min-height: 0; overflow-y: auto; }
/* The hand over a row, dragged or not (VisionSettingsListItemStyle: Cursor Hand) */
.vv-assoc-row { user-select: none; }
.vv-table td.vv-cell-action { padding-right: 6px; text-align: right; }
.vv-cell-action > button { margin-left: auto; }
.vv-assoc-remove {
  width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--vv-muted);
  display: grid; place-items: center; cursor: pointer;
}
.vv-assoc-remove:hover:not(:disabled) { background: var(--vv-red-soft); color: var(--vv-red); }
.vv-assoc-add {
  width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: var(--vv-surface); box-shadow: inset 0 0 0 1px var(--vv-ring);
  color: var(--vv-accent-dark, var(--vv-blue-dark)); display: grid; place-items: center; cursor: pointer;
}
.vv-assoc-add:hover:not(:disabled) { background: var(--vv-accent-tint, var(--vv-blue-soft)); }
.vv-assoc-remove:disabled, .vv-assoc-add:disabled { opacity: .45; cursor: default; }
.vv-assoc-empty { padding: 12px 10px; font-size: 12.5px; color: var(--vv-muted); }

/* Association zone of a card (DockPanel of 440 under the help notice): the table of the card, the foldable panel of the elements proposed on its right */
.vv-assoc-zone { display: flex; gap: 12px; height: 440px; margin-top: 4px; min-height: 0; }
.vv-assoc-zone > .vv-assoc-table { flex: 1; min-width: 0; }
.vv-assoc-zone .vv-foldable-body > .vv-assoc-table { flex: 1; }

/* Buttons of the dialogs */
.vv-button {
  height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 0; border-radius: 6px;
  background: var(--vv-surface); color: var(--vv-ink); box-shadow: inset 0 0 0 1px var(--vv-ring); font: 600 13px var(--vv-font); cursor: pointer;
}
.vv-button:disabled { opacity: .5; cursor: default; }
.vv-button--primary { background: var(--vv-accent-dark, var(--vv-blue)); color: var(--vv-on-accent); box-shadow: none; }
.vv-button--primary:hover:not(:disabled) { background: var(--vv-accent, var(--vv-blue-dark)); }
.vv-button--danger, .vv-button--primary.vv-button--error { background: var(--vv-red); color: var(--vv-on-accent); box-shadow: none; }
.vv-button--primary.vv-button--warning { background: #d98a00; }
.vv-icon-button--small { width: 28px; height: 28px; color: var(--vv-muted); }

/* Busy veil, confirmations, messages */
/* VisionBusyOverlayStyle: the screen veiled, a pill « Chargement… » in the middle, its spinner and its text in the accent */
.vv-busy { position: absolute; inset: 0; z-index: 20; background: rgba(247, 248, 249, .72); display: grid; place-items: center; }
.vv-busy-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--vv-surface);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12); color: var(--vv-accent-dark, #1c6fa6); font-size: 13px; font-weight: 600;
}
.vv-busy-pill .vv-spinner { width: 14px; height: 14px; border-width: 2px; animation-duration: 1s; }
.vv-spinner {
  width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--vv-accent-tint, var(--vv-blue-soft)); border-top-color: var(--vv-accent-dark, var(--vv-blue));
  animation: vv-spin .8s linear infinite;
}
@keyframes vv-spin { to { transform: rotate(360deg); } }

.vv-confirmation { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; }
.vv-confirmation--message { position: fixed; z-index: 60; }
/* A confirmation of a screen (VisionConfirmation): the screen veiled, a card of 540, the round icon of its tone (34), the
   question, the paragraphs, the footer « Annuler » + the action */
.vv-scrim { position: absolute; inset: 0; background: rgba(20, 24, 28, .4); }
.vv-dialog-card {
  position: relative; width: 540px; max-width: calc(100% - 32px); background: var(--vv-surface); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3); display: flex; flex-direction: column;
}
.vv-dialog-card:focus { outline: 0; }
.vv-dialog-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px; }
.vv-dialog-icon { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--vv-accent-tint, #e8f3fb); color: var(--vv-accent-dark, #1c6fa6); display: grid; place-items: center; }
.vv-dialog-icon--danger { background: #fbeae8; color: #b3261e; }
.vv-dialog-icon--warning { background: #fff1dc; color: #8a5a08; }
.vv-dialog-title { flex: 1; font-size: 15px; font-weight: 600; }
.vv-dialog-body { padding: 0 18px 4px; }
.vv-dialog-text { margin: 0 0 12px; font-size: 13px; line-height: 19.5px; color: #3d434b; white-space: pre-line; }
.vv-dialog-lines { margin-bottom: 12px; max-height: 180px; overflow-y: auto; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--vv-line); }
.vv-dialog-line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; font-size: 12.5px; font-weight: 600; border-bottom: 1px solid var(--vv-line-2); }
.vv-dialog-line-detail { font-weight: 400; color: var(--vv-muted); }
.vv-warning-notice { display: flex; gap: 8px; margin-bottom: 12px; padding: 9px 12px; border-radius: 8px; background: var(--vv-warning-soft); color: #8a5a00; font-size: 12.5px; }
.vv-dialog-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid #edeff2; background: #f7f8f9; border-radius: 0 0 12px 12px; }

/* The message box (VivaMessageBox in a PopupCard): white, corners 14, the top border of 4 in the colour of its kind (the
   accent, the warning, the error), a round badge of 40 and its icon, the text 15 semi-bold scrolling beyond 320, from 380
   up to 720 wide, the answers on the whole width (each its share), the default one filled with the colour of the kind */
.vv-confirmation--message .vv-scrim { background: rgba(31, 35, 40, .45); }
.vv-dialog-card.vv-message-card {
  width: auto; min-width: min(380px, calc(100% - 32px)); max-width: min(720px, calc(100% - 32px)); padding: 20px 24px 22px; border-radius: 14px;
  border-top: 4px solid #1f7ac6; box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
}
.vv-message-card--warning { border-top-color: #b8720f; }
.vv-message-card--error { border-top-color: #c8352b; }
.vv-message-body { display: flex; align-items: center; gap: 16px; }
.vv-message-icon { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e6f0fa; color: #1f7ac6; }
.vv-message-card--error .vv-message-icon { background: #fdecec; color: #c8352b; }
.vv-message-card--warning .vv-message-icon { background: #fdf3e1; color: #b8720f; }
.vv-message-text { flex: 1; max-height: 320px; overflow-y: auto; font-size: 15px; font-weight: 600; line-height: 20px; color: #1f2328; white-space: pre-line; overflow-wrap: anywhere; }
.vv-message-card .vv-dialog-footer { margin-top: 20px; padding: 0; gap: 10px; border: 0; background: transparent; border-radius: 0; }
.vv-message-answer {
  flex: 1 1 0; min-width: 100px; min-height: 38px; padding: 0 16px; border: 1px solid #d5d9df; border-radius: 10px; background: #fff; color: #1f2328;
  font: 500 13.5px "Segoe UI", var(--vv-font); cursor: pointer;
}
.vv-message-answer:hover { border-color: #1f7ac6; }
.vv-message-answer:active { opacity: .8; }
.vv-message-answer:focus-visible { outline: 2px solid #1f7ac6; outline-offset: 1px; }
.vv-message-answer--default { border-color: #1f7ac6; background: #1f7ac6; color: #fff; font-weight: 600; }
.vv-message-card--warning .vv-message-answer--default { border-color: #b8720f; background: #b8720f; }
.vv-message-card--error .vv-message-answer--default { border-color: #c8352b; background: #c8352b; }

/* The toasts of the screens, as VivaToast of the hubs (vtfr-hubcomponents-lib): a pile of 380 in the top right corner
   (20 from the edges, 12 between them), a white card with the accent of its kind on its left edge, a round badge, a title
   and the message, « Copier » under it (not on a success), the cross, a bar of 2 that empties over its time and stops while
   the pointer is over the toast */
.vv-message-toasts {
  position: fixed; top: 20px; right: 20px; z-index: 70; display: flex; flex-direction: column; gap: 12px; width: 380px;
  max-width: calc(100% - 40px);
}
.vv-message-toast {
  --vv-toast-fg: #2a5db0; --vv-toast-soft: #eaf1fb;
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px; padding: 14px 14px 14px 16px;
  background: #fff; border: 1px solid #e5e7eb; border-left: 3px solid var(--vv-toast-fg); border-radius: 8px; overflow: hidden;
  box-shadow: 0 10px 30px rgb(14 22 38 / .12), 0 2px 6px rgb(14 22 38 / .06); animation: vv-toast-in .32s ease-out;
}
.vv-message-toast--success { --vv-toast-fg: #1b7a4b; --vv-toast-soft: #ecfdf5; }
.vv-message-toast--warning { --vv-toast-fg: #b7791f; --vv-toast-soft: #fdf3e2; }
.vv-message-toast--error { --vv-toast-fg: #b42318; --vv-toast-soft: #fdecea; }
.vv-message-toast-icon {
  width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--vv-toast-soft); color: var(--vv-toast-fg);
}
.vv-message-toast-body { min-width: 0; }
.vv-message-toast-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: #111827; overflow-wrap: anywhere; }
.vv-message-toast-text { margin-top: 2px; font-size: 13px; line-height: 1.45; color: #6b7280; white-space: pre-line; overflow-wrap: anywhere; }
.vv-message-toast-copy {
  margin: 6px 0 0 -6px; height: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; border: 0; border-radius: 4px;
  background: transparent; color: #4b5563; font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.vv-message-toast-close {
  width: 24px; height: 24px; margin: -2px -2px 0 0; border: 0; border-radius: 4px; background: transparent; color: #9ca3af;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.vv-message-toast-copy:hover, .vv-message-toast-close:hover { background: #f9fafb; color: #111827; }
.vv-message-toast-progress {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--vv-toast-fg); opacity: .5; transform-origin: left center;
  animation: vv-toast-shrink var(--vv-toast-duration, 4s) linear forwards;
}
.vv-message-toast:hover .vv-message-toast-progress { animation-play-state: paused; }
@keyframes vv-toast-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes vv-toast-shrink { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .vv-message-toast { animation: none; }
  .vv-message-toast-progress { animation: none; }
}

/* Detail panel (DetailPanel) and the translations panel */
.vv-panel-host { position: fixed; inset: 0; z-index: 50; }
/* A detail panel is a window of its own on the desktop: it keeps the generic accent, not the one of the module */
.vv-panel-host, .vv-detail-dialog {
  --vv-accent: initial; --vv-accent-dark: initial; --vv-accent-tint: initial; --vv-accent-soft: initial; --vv-accent-ink: initial; --vv-accent-open: initial;
}
.vv-side-panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: 500px; max-width: calc(100% - 24px); background: var(--vv-surface); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25); display: flex; flex-direction: column; overflow: hidden;
}
.vv-side-panel:focus { outline: 0; }
/* Sides of the detail panel (DetailPanel), as the orientations of the VivaDetailPanel of the desktop */
.vv-side-panel--right { min-width: min(360px, calc(100% - 24px)); }
.vv-side-panel--bottom { top: auto; left: 12px; width: auto; max-width: none; max-height: calc(100% - 24px); }
.vv-side-panel--center { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); max-height: calc(100% - 24px); border-radius: 14px; }
.vv-side-panel--stretch { left: 12px; width: auto; max-width: none; }
/* A page without circuit hosts the panel in a modal dialog of the browser: its backdrop is the veil */
.vv-detail-dialog {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; overflow: hidden; font: 13px var(--vv-font); color: var(--vv-ink);
}
.vv-detail-dialog::backdrop { background: rgba(31, 35, 40, .45); }
.vv-side-panel-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--vv-line); }
.vv-side-panel-icon { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--vv-blue-soft); color: #1c6fa6; display: grid; place-items: center; }
.vv-side-panel-title { flex: 1; min-width: 0; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-side-panel-close { flex: none; color: var(--vv-muted); }
.vv-side-panel-close:hover:not(:disabled) { background: var(--vv-surface-muted); color: var(--vv-ink); }
.vv-side-panel-body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px 20px; overflow-y: auto; }
.vv-error-banner { display: flex; align-items: flex-start; gap: 9px; padding: 9px 12px; border-radius: 8px; background: #fff3f2; color: var(--vv-danger-ink); box-shadow: inset 0 0 0 1px #f2c4bf; font-size: 13px; }
/* A row: its language, its text and « … » typing a long text in a window (TranslationRowTemplate) */
.vv-translation-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.vv-translation-row .vv-translation-input { width: 30px; height: 30px; margin-left: -6px; color: var(--vv-muted); }
.vv-translation-row .vv-translation-input:hover:not(:disabled) { background: var(--vv-surface-muted); color: var(--vv-ink); }
/* The window of « … » (InputView): 800 wide, the text of 128 high at least, Annuler and Enregistrer under it */
.vv-confirmation--input { position: fixed; z-index: 60; }
.vv-dialog-card.vv-input-card { width: 800px; max-height: min(640px, calc(100% - 32px)); }
.vv-input-body { flex: 1; min-height: 0; display: flex; padding: 20px; }
.vv-input-text {
  flex: 1; min-height: 128px; max-height: 520px; resize: vertical; padding: 8px 10px; border: 0; border-radius: 6px; outline: 0;
  box-shadow: inset 0 0 0 1px var(--vv-ring); background: var(--vv-surface); font: 13px var(--vv-font); color: var(--vv-ink); tab-size: 4; overflow-wrap: anywhere;
}
.vv-input-text:hover { box-shadow: inset 0 0 0 1px #aab2bd; }
.vv-input-text:focus { box-shadow: inset 0 0 0 2px var(--vv-blue), 0 0 0 3px var(--vv-blue-soft); }
.vv-translation-headers { padding: 0 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--vv-muted); font-weight: 600; }
.vv-translation-rows { display: flex; flex-direction: column; gap: 2px; }
.vv-translation-row { padding: 7px 10px; border-radius: 10px; cursor: pointer; }
.vv-translation-row.is-selected { background: #eaf3fb; box-shadow: inset 0 0 0 1px #9cc3e2; }
.vv-translation-field {
  height: 34px; min-width: 0; border: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px #c9ced6; background: var(--vv-surface); padding: 0 10px;
  font: 13px var(--vv-font); color: var(--vv-ink); outline: 0;
}
.vv-translation-field:focus { box-shadow: inset 0 0 0 2px var(--vv-blue); }
.vv-translation-field.is-invalid { box-shadow: inset 0 0 0 1.5px #d9776c; background-color: #fff8f7; }
.vv-panel-loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .6); }
.vv-side-panel-footer { display: flex; gap: 10px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--vv-line); background: var(--vv-surface-soft); }
.vv-spacer { flex: 1; }
.vv-panel-button {
  height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--vv-surface);
  box-shadow: inset 0 0 0 1px var(--vv-ring); color: var(--vv-ink); font: 500 13px var(--vv-font); cursor: pointer;
}
.vv-panel-button:disabled { opacity: .45; cursor: default; }
.vv-panel-button--danger { box-shadow: inset 0 0 0 1px #e3b8b3; color: var(--vv-danger-ink); }
.vv-panel-button--primary { background: #1c6fa6; color: var(--vv-on-accent); box-shadow: none; font-weight: 600; }
/* Footer action of a detail panel, as PopupPanelButtonStyle of the desktop (44 px, text 14) */
.vv-detail-button {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--vv-surface); box-shadow: inset 0 0 0 1px var(--vv-ring);
  color: var(--vv-ink); font: 500 14px var(--vv-font); cursor: pointer;
}
.vv-detail-button:hover { box-shadow: inset 0 0 0 1px var(--vv-blue); }
.vv-detail-button:focus-visible { outline: 2px solid var(--vv-blue); outline-offset: 2px; }
.vv-detail-button { display: inline-flex; align-items: center; gap: 8px; }
.vv-detail-button:disabled { opacity: .45; cursor: default; }
.vv-detail-button:disabled:hover { box-shadow: inset 0 0 0 1px var(--vv-ring); }
/* Primary footer action, as PopupPanelPrimaryButtonStyle of the desktop */
.vv-detail-button--primary { background: var(--vv-blue); color: var(--vv-on-accent); box-shadow: none; font-weight: 600; }
.vv-detail-button--primary:hover:not(:disabled) { background: var(--vv-blue-dark); box-shadow: none; }
.vv-detail-button--primary:disabled:hover { box-shadow: none; }

/* Panels of the shell: « À propos », « Support », « Modifier son mot de passe » (PopupSectionCardStyle,
   PopupSectionTitleTextStyle, PopupIconTileStyle, PopupBadge of the desktop) */
.vv-panel-section-title { margin: 8px 0 2px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--vv-muted); }
.vv-panel-card { border-radius: 12px; background: var(--vv-surface); box-shadow: inset 0 0 0 1px var(--vv-line); }
.vv-panel-icon-tile { width: 36px; height: 36px; flex: none; border-radius: 9px; background: var(--vv-blue-soft); color: var(--vv-blue); display: grid; place-items: center; }
.vv-panel-badge { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--vv-blue-soft); color: var(--vv-blue); display: grid; place-items: center; }
.vv-panel-link { display: inline-flex; align-items: center; gap: 6px; color: var(--vv-blue); font-weight: 600; }
.vv-panel-link:hover { text-decoration: underline; color: var(--vv-blue-dark); }
.vv-muted { color: var(--vv-muted); }

.vv-about-hero { display: flex; flex-direction: column; align-items: center; padding: 16px 0 20px; }
.vv-about-logo { width: 88px; height: 88px; }
.vv-about-product { margin: 14px 0 4px; font-size: 22px; font-weight: 600; }
.vv-about-versions { display: flex; align-items: center; font-size: 13px; color: var(--vv-muted); }
.vv-about-versions b { font-weight: 600; color: var(--vv-ink); }
.vv-about-bullet { width: 3px; height: 3px; margin: 0 8px; border-radius: 50%; background: var(--vv-faint); }
.vv-about-certifications { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.vv-about-certification { display: grid; grid-template-columns: 56px minmax(0, 1fr) 96px; align-items: center; gap: 18px; padding: 18px; }
.vv-about-certification-logo { width: 56px; height: 56px; object-fit: contain; }
.vv-about-certification-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.vv-about-certification-brand { font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-about-certification-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; font-size: 13px; }
.vv-about-certification-grid b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-about-qr { width: 96px; height: 96px; padding: 7px; border-radius: 8px; background: var(--vv-surface); box-shadow: inset 0 0 0 1px var(--vv-line); display: block; }
.vv-about-qr svg { display: block; width: 100%; height: 100%; }
.vv-about-copyright { margin: 0; font-size: 13px; line-height: 20px; color: var(--vv-muted); white-space: pre-line; }
.vv-about-process { font-size: 12px; color: var(--vv-muted); }
.vv-about-process b { font-weight: 600; color: var(--vv-ink); }

.vv-support-assistance { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin-bottom: 8px; }
.vv-support-contact { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.vv-support-phone { font-size: 22px; font-weight: 600; }
.vv-support-environment { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; padding: 6px 18px; margin-bottom: 8px; }
.vv-support-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 0; border-top: 1px solid var(--vv-line-2); }
.vv-support-cell:nth-child(-n+2) { border-top: 0; }
.vv-support-cell--wide { grid-column: 1 / -1; }
.vv-support-label { font-size: 12px; color: var(--vv-muted); }
.vv-support-value { font-size: 14px; font-weight: 500; min-height: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vv-support-files { display: flex; flex-direction: column; overflow: hidden; }
.vv-support-file {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px; border: 0; border-top: 1px solid var(--vv-line-2); background: transparent;
  font: 14px var(--vv-font); color: var(--vv-ink); text-align: left;
}
.vv-support-file:first-child { border-top: 0; }
.vv-support-file:disabled { color: var(--vv-faint); cursor: default; }
.vv-support-file:disabled .vv-panel-icon-tile { background: var(--vv-surface-muted); color: var(--vv-faint); }
.vv-support-file-name { flex: 1; font-weight: 500; }

/* « Modifier son mot de passe » (LoginChangePasswordView): the PopupFormStyles of the desktop */
.vv-password-body { padding: 4px 24px 24px; }
.vv-password-form { display: flex; flex-direction: column; color: var(--vv-ink); font-size: 14px; }
/* PopupInlineCardStyle: round badge of 52 px, title and description, no card surface */
.vv-password-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.vv-password-badge { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--vv-blue-soft); color: var(--vv-blue); display: grid; place-items: center; }
.vv-password-titles { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vv-password-user { font-size: 16px; font-weight: 600; }
.vv-password-subtitle { font-size: 13px; color: var(--vv-muted); }
.vv-password-label { margin-bottom: 6px; font-size: 13px; font-weight: 500; }
.vv-password-label--spaced { margin-top: 16px; }
/* PopupTextBoxStyle: field of 48 px, radius 10, accent ring when focused, error ring when invalid, eye at the end */
.vv-password-field { display: flex; align-items: center; height: 48px; padding: 0 6px 0 14px; border-radius: 10px; background: var(--vv-surface); box-shadow: inset 0 0 0 1px var(--vv-ring); }
.vv-password-field:focus-within { box-shadow: inset 0 0 0 2px var(--vv-blue); }
.vv-password-field.is-invalid { box-shadow: inset 0 0 0 2px var(--vv-red); }
.vv-password-field:has(.vv-password-input:disabled) { background: var(--vv-panel); }
.vv-password-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: inherit; }
.vv-password-input::placeholder { color: var(--vv-faint); }
.vv-password-input:disabled { cursor: default; }
.vv-password-reveal { width: 36px; height: 36px; margin-left: 8px; flex: none; border: 0; border-radius: 8px; background: transparent; color: var(--vv-muted); display: grid; place-items: center; cursor: pointer; }
.vv-password-reveal:hover:not(:disabled) { background: var(--vv-surface-muted); color: var(--vv-ink); }
.vv-password-reveal:disabled { color: var(--vv-faint); cursor: default; }
/* PopupFormErrorStyle and PopupFormHintTextStyle: under the field, hidden when empty */
.vv-password-error { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--vv-red); }
.vv-password-error > svg { flex: none; margin-top: 1px; }
.vv-password-error:empty { display: none; }
.vv-password-hint { margin-top: 6px; font-size: 12px; color: var(--vv-muted); }
.vv-password-hint:empty { display: none; }
/* PopupStrengthMeter: three bars of 4 px, grey, then red (weak), orange (medium) or green (strong) */
.vv-strength { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 4px; margin-top: 10px; }
.vv-strength i { border-radius: 2px; background: var(--vv-line-3); }
.vv-strength--1 i:nth-child(1) { background: var(--vv-red); }
.vv-strength--2 i:nth-child(-n+2) { background: var(--vv-warning-ink); }
.vv-strength--3 i { background: var(--vv-green); }
/* PopupKeypad: divider, « PAVÉ NUMÉRIQUE » and « Masquer », keys of 56 px; folded, a link on the right */
.vv-keypad { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--vv-line-3); }
.vv-keypad-head { display: flex; align-items: center; justify-content: space-between; }
.vv-keypad-title { font-size: 11px; font-weight: 600; color: var(--vv-muted); }
.vv-keypad-link { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; color: var(--vv-blue); cursor: pointer; }
.vv-keypad-link:hover { color: var(--vv-blue-dark); }
.vv-keypad-folded .vv-keypad-link { gap: 6px; }
.vv-keypad-folded { display: flex; justify-content: flex-end; margin-top: 22px; }
.vv-keypad-keys { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 308px; margin: 6px auto 0; }
.vv-keypad-key { height: 56px; margin: 4px; border: 0; border-radius: 10px; background: var(--vv-surface); box-shadow: inset 0 0 0 1px var(--vv-ring); font: inherit; font-size: 22px; font-weight: 500; color: var(--vv-ink); cursor: pointer; display: grid; place-items: center; }
.vv-keypad-key:hover:not(:disabled) { background: var(--vv-surface-muted); }
.vv-keypad-key:active:not(:disabled) { background: var(--vv-blue-soft); }
.vv-keypad-key:disabled { color: var(--vv-faint); cursor: default; }
.vv-keypad-key--wide { grid-column: span 2; }
.vv-keypad-key--back { background: var(--vv-panel); color: var(--vv-muted); }

/* Key of the operator in the rail of the sub menu, under the avatar */
.vv-rail-key { width: 34px; height: 34px; }
.vv-rail-divider { width: 30px; height: 1px; flex: none; background: var(--vv-ring); }

/* Field of an element typed in its row (SettingsFieldColumn): a compact box without frame until it is hovered or
   focused, as the quantities of the rows of the desktop (QuantityBoxStyle: 28 high, right aligned) */
.vv-table td.vv-cell-field { padding: 0 4px; }
.vv-table th.vv-cell-field.is-right { text-align: right; }
.vv-table .vv-cell-field.is-center { text-align: center; }
.vv-cell-field .vv-input { width: 100%; height: 28px; padding: 0 8px; background: transparent; box-shadow: none; font-size: 12.5px; text-align: right; }
.vv-cell-field .vv-input:hover, .vv-cell-field .vv-input:focus { background: var(--vv-surface); box-shadow: inset 0 0 0 1px var(--vv-ring); }

/* Tabs of a card (TabControl TopTabItemStyle of the desktop): a line under the headers, a header 12.5 medium muted,
   hovered tinted, the one selected semibold ink with the accent line of 2 under it; a count badge after the title */
.vv-tabs { display: flex; gap: 2px; margin: 10px 0 0; padding: 0 4px; border-bottom: 1px solid var(--vv-line); }
.vv-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px 10px; border: 0; border-radius: 6px 6px 0 0;
  background: transparent; color: var(--vv-muted); font: 500 12.5px var(--vv-font); cursor: pointer; }
.vv-tab:hover { background: var(--vv-surface-muted); color: var(--vv-ink); }
.vv-tab.is-selected { background: transparent; color: var(--vv-ink); font-weight: 600; }
.vv-tab.is-selected::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--vv-accent, var(--vv-blue)); }
.vv-tab:focus-visible { outline: 1px solid var(--vv-accent, var(--vv-blue)); outline-offset: -1px; }
.vv-tab-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 14px 16px 18px; }
.vv-tab-panel.is-disabled { opacity: .55; }
.vv-tab-zone { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 12px; }
.vv-tab-zone.is-disabled { opacity: .55; }

/* Filters and search of the body of a foldable panel (Body): the drop-down lists two by two (8 between them), the search
   and its button « Rechercher » (VisionSearchBoxStyle 32 high, VisionSecondaryButtonStyle) */
.vv-panel-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 8px; }
.vv-panel-filters .vv-select { width: 100%; }
.vv-panel-search { display: flex; gap: 8px; margin: 0 0 8px; }
.vv-panel-search .vv-input { flex: 1; min-width: 0; height: 32px; }
.vv-panel-search .vv-button { height: 32px; padding: 0 12px; gap: 6px; font-weight: 500; }
/* Multi-line field of a card (SettingsTextArea: TextBox AcceptsReturn of the desktop) and its label kept at the top of the row */
.vv-input--multiline { display: block; width: 100%; height: auto; min-height: 96px; max-height: 500px; padding: 7px 10px; resize: vertical; overflow-wrap: anywhere; }
.vv-field-row--top { align-items: flex-start; }
.vv-field-row--top .vv-field-caption { padding-top: 7px; }
/* Picture field of the settings cards (SettingsImageField, as VisionImageField.xaml of the desktop) */
.vv-image-field { display: flex; flex-direction: column; max-width: 100%; }
.vv-image-field-empty { height: 220px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; border: 1.5px dashed var(--vv-ring); border-radius: 10px; background: var(--vv-surface-soft); }
.vv-image-field-empty.has-error { border-color: var(--vv-red); }
.vv-image-field-title { font-size: 13px; font-weight: 600; color: var(--vv-muted); }
.vv-image-field-tiles { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; width: 100%; max-width: 370px; margin-top: 14px; }
.vv-image-field-tile { position: relative; height: 74px; margin: 0 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--vv-ring); border-radius: 9px; background: var(--vv-surface); font: 600 12px var(--vv-font); color: var(--vv-ink); cursor: pointer; }
.vv-image-field-tile .vv-icon { color: var(--vv-accent-dark, var(--vv-blue-dark)); }
.vv-image-field-tile:hover:not(:disabled):not(.is-disabled), .vv-image-field-tile:focus-within { border-color: var(--vv-accent, var(--vv-blue)); background: var(--vv-panel); }
.vv-image-field-tile:disabled, .vv-image-field-tile.is-disabled { opacity: .45; cursor: default; }
.vv-image-field-formats { margin-top: 14px; font-size: 11.5px; color: var(--vv-faint); }
.vv-image-field-picture { position: relative; height: 220px; border: 1px solid var(--vv-ring); border-radius: 10px; overflow: hidden; background: var(--vv-line-2); }
.vv-image-field-picture img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vv-image-field-actions { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 10px; background: linear-gradient(to top, rgba(20, 24, 28, .72), rgba(20, 24, 28, 0)); }
.vv-image-field-buttons { display: flex; gap: 6px; }
.vv-image-field-action { position: relative; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid transparent; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--vv-ink); cursor: pointer; }
.vv-image-field-action:hover:not(:disabled):not(.is-disabled) { background: #fff; }
.vv-image-field-action:focus-within, .vv-image-field-action:focus-visible { border-color: var(--vv-accent, var(--vv-blue)); outline: 0; }
.vv-image-field-action.is-danger { color: var(--vv-red); }
.vv-image-field-action:disabled, .vv-image-field-action.is-disabled { opacity: .45; cursor: default; }
.vv-image-field-hint { margin: 0 12px 0 6px; font-size: 11px; font-weight: 600; color: #fff; }
.vv-image-field-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: inherit; }
.vv-image-field-error { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: var(--vv-red-soft); color: var(--vv-red); font-size: 12px; line-height: 17.4px; }
.vv-image-field-error .vv-icon { flex: none; margin-top: 2px; }

.vv-field-control > .vv-icon-button--outlined { flex: none; margin-left: 6px; }

/* Search of the products of the Razor screens (ProductSearchPanel) */
.vv-product-search-filter { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 12px; color: var(--vv-muted); }
.vv-product-search-filter.is-wide { grid-column: 1 / -1; }
.vv-product-search-filter .vv-select { width: 100%; }
.vv-product-search-rows { flex: 1; min-height: 0; overflow: auto; border-top: 1px solid var(--vv-line); }
.vv-product-search-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 32px; padding: 0 10px; border-bottom: 1px solid var(--vv-line-2); font-size: 13px; color: var(--vv-ink); cursor: pointer; }
.vv-product-search-row:hover { background: var(--vv-panel); }
.vv-product-search-row.is-selected { background: var(--vv-accent-tint, var(--vv-blue-soft)); }
.vv-product-search-row .vv-cell-code { font-family: Consolas, monospace; font-size: 11.5px; color: var(--vv-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-product-search-row .vv-cell-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vv-product-search-empty { padding: 14px 10px; font-size: 12.5px; color: var(--vv-muted); }
