/* ANSwitch Voice Switch - the industrial console layer.
 *
 * WHY THIS FILE EXISTS, AND WHY IT IS A SEPARATE FILE
 * ---------------------------------------------------
 * tokens.css, bundle.css and bundle.js are the design system, shipped as it
 * was delivered, and they are still not edited. This file sits ON TOP of them
 * and only applies when <html data-layout="industrial">. Delete this file and
 * the classic panel is exactly what it was in 0.45.1.
 *
 * It is a deliberate, visible departure from three of the design system's
 * rules - 36px rows, a dark default and an always-visible sidebar - made by
 * the owner on 2026-09-24 after comparing five layouts: an operator on a
 * 1920x1080 NOC screen needs to see thirty accounts, not twelve. The rules
 * that are NOT departed from: colour is still meaning and never the only
 * channel, a number still appears with its cap, the server still computes
 * every total, and every coloured status still carries a word.
 *
 * Every colour below meets 4.5:1 for text on the ground it is used on.
 *
 * The condensed face is loaded by early.js, and only in this layout - so the
 * classic panel does not start fetching a font it never uses.
 */

/* ------------------------------------------------------------------ tokens */

html[data-layout="industrial"] {
  color-scheme: light;
  --surface-000: #f3f5f7;
  --surface-100: #e6eaef;
  --surface-200: #ffffff;
  --surface-300: #eef1f4;
  --surface-400: #cfe8e9;
  --border-subtle: #e3e7ec;
  --border: #c7ced7;
  --border-strong: #a6b0bc;
  --border-control: #7a8492;
  --ink-100: #121a24;
  --ink-200: #2b3541;
  --ink-300: #536070;
  --ink-400: #86909c;
  --accent: #0e6b70;
  --accent-hover: #0a5256;
  --accent-surface: #dff0f0;
  --on-accent: #ffffff;
  --ok: #15703f;
  --ok-surface: #ddf1e5;
  --warn: #8f4c00;
  --warn-surface: #fcebd7;
  --danger: #b3261e;
  --danger-surface: #f9dedb;
  --idle: #536070;
  --idle-surface: #e8ecf0;
  --focus-ring: #0e6b70;
  --overlay: rgba(18, 26, 36, 0.35);
  --series-1: #0e6b70;
  --series-2: #1f5fa8;
  --series-3: #b25a06;
  --series-4: #8a2f7c;
  --series-5: #15703f;
  --grid-line: #e3e7ec;
  --shadow-popover: 0 6px 18px rgba(18, 26, 36, 0.16);
  --shadow-modal: 0 18px 48px rgba(18, 26, 36, 0.22);
  --shadow-sticky: 0 1px 0 #c7ced7;

  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 0px;
  --size-row: 21px;
  --size-row-head: 22px;
  --size-control: 22px;
  --size-topbar: 30px;
  --font-sans: "IBM Plex Sans Condensed", "IBM Plex Sans", "Arial Narrow", system-ui, sans-serif;

  --ind-title: #0e6b70;
  --ind-title-ink: #ffffff;
  --ind-status: #0a5256;
  --ind-dock-w: 300px;

  /* 0.62.0: the ANswitch palette - olive folders on a pale grey ground */
  --ind-vs-olive: #8fa63a;
  --ind-vs-olive-dark: #6d8127;
  --ind-vs-olive-light: #c9d68a;
  --ind-vs-ground: #eef0f3;
  --ind-vs-panel: #f6f7f9;
}

html[data-layout="industrial"] body.ds-body {
  background: var(--surface-100);
  font-size: 12px;
  line-height: 16px;
}
/* Only a page that HAS the console frame stops scrolling as a whole - the
   frame scrolls inside itself. The sign-in screen has no frame and scrolls
   like any page. */
html[data-layout="industrial"] body.ind-body { height: 100%; overflow: hidden; }

/* The type scale, one step down. Same classes, same meaning. */
html[data-layout="industrial"] .display-20 { font-size: 16px; line-height: 20px; }
html[data-layout="industrial"] .title-15 { font-size: 13px; line-height: 17px; }
html[data-layout="industrial"] .body-13,
html[data-layout="industrial"] .body-strong-13 { font-size: 12px; line-height: 16px; }
html[data-layout="industrial"] .label-12 { font-size: 11.5px; line-height: 15px; }
html[data-layout="industrial"] .caption-11 { font-size: 10.5px; line-height: 13px; }
html[data-layout="industrial"] .metric-28 { font-size: 20px; line-height: 24px; }
html[data-layout="industrial"] .num-13,
html[data-layout="industrial"] .num-strong-13 { font-size: 12px; line-height: 16px; }

/* ------------------------------------------------------------------- shell */

.ind-app {
  display: grid;
  grid-template-rows: 24px 22px 46px minmax(0, 1fr) 20px;
  /* One column that may NOT grow to fit its widest child. Without this a
     wide table stretched the whole frame past the window, and with the body
     not scrolling the cut-off part could not be reached at all. The table
     scrolls inside the page instead. */
  grid-template-columns: minmax(0, 1fr);
  height: 100vh;
  background: var(--surface-100);
  color: var(--ink-100);
  font-family: var(--font-sans);
}

.ind-glyph { font-family: var(--font-mono); font-size: 11px; line-height: 1; }

/* title bar */
.ind-title {
  display: flex; align-items: center; gap: 10px;
  padding: 0 8px;
  background: var(--ind-title); color: var(--ind-title-ink);
  font-size: 12px; white-space: nowrap; overflow: hidden;
}
.ind-title__mark {
  display: inline-grid; place-items: center; width: 18px; height: 18px;
  background: #ffffff; color: var(--ind-title);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
}
.ind-title__name { font-weight: 700; letter-spacing: 0.04em; }
.ind-title__meta { opacity: 0.85; font-family: var(--font-mono); font-size: 11px; }
.ind-title__env {
  padding: 0 5px; height: 16px; line-height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono); font-size: 10px;
}
.ind-title__env--lab { background: #fcebd7; color: #8f4c00; border-color: #fcebd7; }
.ind-title__screen { font-weight: 600; }
.ind-title__search {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  width: 360px; height: 18px; padding: 0 6px;
  background: rgba(255, 255, 255, 0.16);
}
.ind-title__input {
  flex: 1 1 auto; min-width: 0; height: 16px; border: 0; outline: none;
  background: transparent; color: #ffffff; font: inherit; font-size: 11.5px;
}
.ind-title__input::placeholder { color: rgba(255, 255, 255, 0.78); }
.ind-title__user { font-size: 11.5px; }

/* ribbon tabs */
.ind-rtabs {
  display: flex; align-items: flex-end; gap: 1px;
  padding: 2px 6px 0;
  background: var(--surface-100);
}
.ind-rtab {
  height: 22px; padding: 0 12px;
  border: 1px solid transparent; border-bottom: 0;
  background: transparent; color: var(--ink-300);
  font: inherit; font-size: 12px; cursor: pointer;
}
.ind-rtab:hover { color: var(--ink-100); background: var(--surface-300); }
.ind-rtab.is-here { color: var(--ink-100); font-weight: 600; }
.ind-rtab.is-active {
  background: var(--surface-200); color: var(--ink-100); font-weight: 700;
  border-color: var(--border); box-shadow: inset 0 2px 0 var(--accent);
}
.ind-rtabs__spacer { flex: 1 1 auto; }
.ind-rtabs__crumb { align-self: center; font-size: 11px; color: var(--ink-300); padding-right: 4px; }

/* ribbon */
.ind-ribbon {
  display: flex; align-items: stretch;
  min-height: 64px; padding: 2px 2px 0;
  background: var(--surface-200);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.ind-rgroup {
  display: flex; flex-direction: column;
  padding: 0 6px; border-right: 1px solid var(--border-subtle);
}
.ind-rgroup__body { display: flex; align-items: center; gap: 1px; flex: 1 1 auto; }
.ind-rgroup__name {
  font-size: 10px; line-height: 12px; color: var(--ink-300);
  text-align: center; padding-bottom: 2px; white-space: nowrap;
}
.ind-rcol { display: flex; flex-direction: column; gap: 0; }
.ind-rbtn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 56px; height: 48px; padding: 0 6px;
  border: 1px solid transparent;
  color: var(--ink-100); text-decoration: none; font-size: 11px; white-space: nowrap;
}
.ind-rbtn .ind-glyph { font-size: 18px; color: var(--accent); }
.ind-rbtn:hover { background: var(--surface-300); border-color: var(--border-subtle); }
.ind-rbtn.is-current { background: var(--accent-surface); border-color: #b5d8d8; font-weight: 600; }
.ind-rsmall, .ind-app .ind-rcol .ds-jobbtn, .ind-app .ind-rcol .ds-btn {
  display: flex; align-items: center; gap: 5px;
  height: 18px; padding: 0 5px;
  border: 1px solid transparent; border-radius: 0;
  background: transparent; color: var(--ink-100);
  font: inherit; font-size: 11px; text-decoration: none; white-space: nowrap;
  cursor: pointer;
}
.ind-rsmall .ind-glyph { color: var(--accent); width: 12px; text-align: center; }
.ind-rsmall:hover, .ind-app .ind-rcol .ds-jobbtn:hover, .ind-app .ind-rcol .ds-btn:hover {
  background: var(--surface-300); border-color: var(--border-subtle);
}
.ind-rsmall.is-on { background: var(--accent-surface); }

/* work area */
.ind-work {
  display: flex; gap: 3px; padding: 3px;
  min-height: 0;
}

/* the dock */
.ind-dock {
  flex: 0 0 auto;
  display: flex; flex-direction: column;
  min-height: 0;
}
.ind-dock__head {
  display: flex; align-items: flex-end; gap: 1px;
  height: 23px; border-bottom: 1px solid var(--border);
}
.ind-dock__tabs { display: flex; align-items: flex-end; gap: 1px; flex: 1 1 auto; min-width: 0; }
.ind-dock__tab {
  height: 22px; padding: 0 8px; margin-bottom: -1px;
  border: 1px solid var(--border); border-bottom: 0;
  background: #e1e6eb; color: var(--ink-300);
  font: inherit; font-size: 11.5px; cursor: pointer; white-space: nowrap;
}
.ind-dock__tab.has-content { color: var(--ink-200); }
.ind-dock__tab.is-active {
  background: var(--surface-200); color: var(--ink-100); font-weight: 700;
  border-bottom: 1px solid var(--surface-200);
  box-shadow: inset 0 2px 0 var(--accent);
}
.ind-dock__hide {
  width: 22px; height: 20px; border: 0; background: transparent;
  color: var(--ink-300); cursor: pointer; font: inherit; font-size: 14px;
}
.ind-dock__hide:hover { color: var(--ink-100); }
.ind-dock__body {
  flex: 1 1 auto; min-height: 0; overflow: auto;
  background: var(--surface-200);
  border: 1px solid var(--border); border-top: 0;
}
.ind-dock__pane { display: flex; flex-direction: column; min-height: 100%; }
.ind-dock__empty { padding: 12px 10px; color: var(--ink-300); font-size: 12px; }

.ind-strip {
  flex: 0 0 22px; display: flex; flex-direction: column; gap: 1px;
  background: var(--surface-000); border: 1px solid var(--border);
}
.ind-strip__tab {
  writing-mode: vertical-rl; transform: rotate(180deg);
  padding: 8px 0; border: 0; border-bottom: 1px solid var(--border-subtle);
  background: transparent; color: var(--ink-200);
  font: inherit; font-size: 11px; cursor: pointer;
}
.ind-strip__tab:hover { background: var(--surface-300); color: var(--ink-100); }

/* navigator tree */
.ind-nav { display: flex; flex-direction: column; padding: 4px; }
.ind-nav__group {
  display: flex; align-items: center; gap: 5px;
  height: 20px; padding: 0 4px; margin-top: 2px;
  font-size: 11.5px; font-weight: 700; color: var(--ink-100);
}
.ind-nav__group .ind-glyph { color: var(--ink-300); font-size: 9px; }
.ind-nav__item {
  display: flex; align-items: center; gap: 6px;
  height: 20px; padding: 0 6px 0 22px;
  color: var(--ink-100); text-decoration: none; font-size: 12px;
}
.ind-nav__item .ind-glyph { color: var(--ink-300); width: 12px; text-align: center; }
.ind-nav__item.is-small { color: var(--ink-200); font-size: 11.5px; }
.ind-nav__item:hover { background: var(--surface-300); }
.ind-nav__item.is-current { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.ind-nav__item.is-current .ind-glyph { color: var(--on-accent); }

/* the page */
.ind-page {
  flex: 1 1 auto; min-width: 0; min-height: 0;
  overflow: auto;
  display: flex; flex-direction: column; gap: 3px;
}
.ind-page > * { flex: 0 0 auto; }

/* status bar */
.ind-status {
  display: flex; align-items: center;
  background: var(--ind-status); color: #ffffff;
  font-size: 11px; white-space: nowrap; overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.ind-status__tiles { display: flex; align-items: center; min-width: 0; overflow: hidden; }
.ind-status__cell {
  padding: 0 9px; line-height: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}
/* Tones on the dark bar: light backgrounds with dark text, so the word is
   still readable and the colour is only confirmation. */
.ind-status__cell.is-warn { background: #fcebd7; color: #6d3a00; }
.ind-status__cell.is-danger { background: #f9dedb; color: #8c1d17; }
.ind-status__cell.is-ok { color: #ffffff; }
.ind-status__cell.is-idle { color: #e2ecec; }
.ind-status__spacer { flex: 1 1 auto; }
.ind-status__clock { padding: 0 10px; font-family: var(--font-mono); font-size: 10.5px; }

/* ------------------------------------------ the design system, made dense */

html[data-layout="industrial"] .ds-page { padding: 0; gap: 3px; }

html[data-layout="industrial"] .ds-panel {
  border-radius: 0;
  border-color: var(--border);
}
html[data-layout="industrial"] .ds-panel__head {
  min-height: 24px; padding: 1px 6px; gap: 8px;
  background: linear-gradient(#ffffff, #edf1f4);
}
html[data-layout="industrial"] .ds-panel__title { font-size: 12px; line-height: 16px; font-weight: 700; }
html[data-layout="industrial"] .ds-panel__meta { font-size: 11px; }
html[data-layout="industrial"] .ds-panel__body { padding: 6px; }
html[data-layout="industrial"] .ds-panel__body--flush { padding: 0; }
html[data-layout="industrial"] .ind-page .u-col { gap: 3px !important; }

/* buttons and inputs */
html[data-layout="industrial"] .ds-btn {
  height: 22px; padding: 0 9px; border-radius: 2px;
  background: linear-gradient(#ffffff, #e9edf2);
  font-size: 11.5px;
}
html[data-layout="industrial"] .ds-btn:hover { background: #e3e8ee; }
html[data-layout="industrial"] .ds-btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent-hover); }
html[data-layout="industrial"] .ds-btn--primary:hover { background: var(--accent-hover); }
html[data-layout="industrial"] .ds-btn--danger { background: var(--danger-surface); color: var(--danger); border-color: var(--danger); }
html[data-layout="industrial"] .ds-btn--ghost { background: transparent; border-color: transparent; color: var(--ink-200); }
html[data-layout="industrial"] .ds-btn--ghost:hover { background: var(--surface-300); color: var(--ink-100); }
html[data-layout="industrial"] .ds-btn--sm { height: 18px; font-size: 11px; padding: 0 6px; }
html[data-layout="industrial"] .ds-input,
html[data-layout="industrial"] .ds-select {
  height: 22px; padding: 0 5px; border-radius: 2px;
  background: #ffffff; font-size: 12px;
}
html[data-layout="industrial"] .ds-label { font-size: 11px; line-height: 14px; }
html[data-layout="industrial"] .ds-hint { font-size: 10.5px; line-height: 13px; }
html[data-layout="industrial"] .ds-field { gap: 2px; }

/* filters, when a screen still has them in the page */
html[data-layout="industrial"] .ds-filters {
  padding: 4px 6px; gap: 6px; border-radius: 0;
}
html[data-layout="industrial"] .ds-filterpill { height: 17px; border-radius: 2px; font-size: 10.5px; }

/* tables: the whole point */
html[data-layout="industrial"] .ds-table { font-size: 12px; }
html[data-layout="industrial"] .ds-table th {
  height: var(--size-row-head); padding: 0 5px;
  background: #eef1f4;
  border-right: 1px solid var(--border-subtle);
  font-size: 11px; line-height: 13px; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--ink-300);
}
html[data-layout="industrial"] .ds-table td {
  height: var(--size-row); padding: 0 5px;
  border-right: 1px solid var(--border-subtle);
  color: var(--ink-200);
}
/* Numbers in the condensed face with tabular figures: they still line up on
   the decimal point, and a column of rates is a third narrower than mono. */
html[data-layout="industrial"] .ds-table td.is-num,
html[data-layout="industrial"] .ds-table td .u-num,
html[data-layout="industrial"] .ds-kv dd.is-num {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
}
html[data-layout="industrial"] .ds-table tbody tr:nth-child(even) > td { background: #f7f9fa; }
html[data-layout="industrial"] .ds-table tbody tr:hover > td { background: #e8f2f2; }
html[data-layout="industrial"] .ds-table tbody tr.is-selected > td { background: var(--surface-400); color: var(--ink-100); }
html[data-layout="industrial"] .ds-table--dense td { height: 19px; }
/* Two-line cells become one line: the note sits beside the figure, muted,
   instead of under it. Nothing is dropped - the words are still there. */
html[data-layout="industrial"] .ds-table td .u-col {
  flex-direction: row !important; align-items: baseline !important;
  justify-content: flex-end; gap: 6px !important;
}
html[data-layout="industrial"] .ds-table td .u-col > .body-13 { font-size: 10.5px; }
/* a meter in a cell: numbers then a short bar, on one line */
html[data-layout="industrial"] .ds-table td .ds-meter {
  flex-direction: row; align-items: center; justify-content: flex-end; gap: 5px; min-width: 0;
}
html[data-layout="industrial"] .ds-table td .ds-meter__nums { font-family: var(--font-sans); font-size: 12px; }
html[data-layout="industrial"] .ds-table td .ds-meter__track { width: 38px; height: 5px; border-radius: 0; }
html[data-layout="industrial"] .ds-table td .ds-meter__fill { border-radius: 0; }

html[data-layout="industrial"] .ds-tablebar { padding: 2px 6px; font-size: 11px; gap: 8px; }
html[data-layout="industrial"] .ds-pager__btn { min-width: 20px; height: 18px; border-radius: 2px; font-size: 11px; }
html[data-layout="industrial"] .ds-state { padding: 18px 12px; }
html[data-layout="industrial"] .ds-state__title { font-size: 13px; }
html[data-layout="industrial"] .ds-state__body { font-size: 12px; }

/* chips */
html[data-layout="industrial"] .ds-chip {
  height: 15px; padding: 0 5px; border-radius: 2px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
}

/* counters (dashboard): same tiles, half the height */
html[data-layout="industrial"] .ds-counters { border-radius: 0; }
html[data-layout="industrial"] .ds-counter { padding: 4px 8px; gap: 1px; }
html[data-layout="industrial"] .ds-counter__label { font-size: 10px; letter-spacing: 0.02em; }
html[data-layout="industrial"] .ds-counter__value { font-family: var(--font-sans); font-size: 20px; line-height: 24px; }
html[data-layout="industrial"] .ds-counter__value small { font-size: 11px; }

/* tabs inside a screen (account detail) */
html[data-layout="industrial"] .ds-tabs { padding: 0 4px; }
html[data-layout="industrial"] .ds-tab { height: 24px; padding: 0 10px; font-size: 11.5px; }

/* key/values and callouts */
html[data-layout="industrial"] .ds-kv { gap: 3px 12px; }
html[data-layout="industrial"] .ds-kv dt { font-size: 11px; }
html[data-layout="industrial"] .ds-kv dd { font-size: 12px; }
html[data-layout="industrial"] .ds-kv--inline { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 4px; }
html[data-layout="industrial"] .ds-callout { padding: 3px 8px; border-radius: 0; font-size: 11.5px; line-height: 15px; }

html[data-layout="industrial"] .ds-grid { gap: 3px; }
html[data-layout="industrial"] .ds-dialog { border-radius: 0; }

/* ------------------------------------------- what screens put in the dock */

/* A filter bar in the dock stands on end: one field per line, label on the
   left, so every field has its full name and nothing is squeezed. */
.ind-dock .ds-panel { border: 0; }
.ind-dock .ds-panel__head { background: #eef1f4; border-bottom: 1px solid var(--border-subtle); }
.ind-dock .ds-filters {
  flex-direction: column; align-items: stretch; flex-wrap: nowrap;
  gap: 4px; padding: 6px; border: 0; border-radius: 0; background: transparent;
}
.ind-dock .ds-filters .ds-field,
.ind-dock .ds-filters .ds-field--wide,
.ind-dock .ds-filters .ds-field--narrow { width: auto; }
.ind-dock .ds-field {
  display: grid; grid-template-columns: 104px minmax(0, 1fr);
  align-items: center; column-gap: 6px;
}
.ind-dock .ds-field > .ds-label { text-align: right; }
.ind-dock .ds-field > .ds-hint { grid-column: 2; }
.ind-dock .ds-filters__spacer { display: none; }
.ind-dock .ds-filters__actions { flex-wrap: wrap; padding-left: 110px; gap: 4px; }
.ind-dock .ds-chipbar { padding: 0 6px 6px; gap: 4px; }
.ind-dock .ds-grid--2, .ind-dock .ds-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 0 6px 6px; }
.ind-dock .u-row { flex-wrap: wrap; }
.ind-dock .ds-callout { margin: 0 6px 6px; }

/* dock sections: a grey bar with a name, like a property grid category */
.ind-sec {
  display: flex; align-items: center; gap: 5px;
  height: 19px; padding: 0 6px;
  background: #eef1f4; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle);
  font-size: 11px; font-weight: 700; color: var(--ink-100);
}
.ind-sec__extra { margin-left: auto; font-weight: 400; color: var(--ink-300); }
.ind-head {
  display: flex; flex-direction: column; gap: 1px;
  padding: 5px 8px; border-bottom: 1px solid var(--border-subtle);
}
.ind-head__title { font-size: 13px; font-weight: 700; color: var(--ink-100); }
.ind-head__meta { font-size: 11px; color: var(--ink-300); font-variant-numeric: tabular-nums; }

/* property grid */
.ind-props { display: flex; flex-direction: column; }
.ind-prop {
  display: grid; grid-template-columns: 124px minmax(0, 1fr);
  align-items: center; min-height: 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
}
.ind-prop__k { color: var(--ink-300); padding: 0 6px 0 12px; font-size: 11.5px; }
.ind-prop__v { padding: 1px 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink-100); }
.ind-prop__v .u-col { flex-direction: row !important; flex-wrap: wrap; gap: 6px !important; align-items: baseline !important; }
.ind-prop__v .ds-meter { flex-direction: row; align-items: center; gap: 5px; min-width: 0; }
.ind-prop__v .ds-meter__track { width: 50px; height: 5px; }

/* summary tiles: a tight grid of figures */
.ind-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 4px; }
.ind-figs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ind-fig { border: 1px solid var(--border-subtle); padding: 1px 5px; min-width: 0; }
.ind-fig__k { font-size: 10px; color: var(--ink-300); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ind-fig__v { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-100); white-space: nowrap; }
.ind-fig__v.is-warn { color: var(--warn); }
.ind-fig__v.is-danger { color: var(--danger); }
.ind-note { padding: 4px 8px; font-size: 11px; line-height: 15px; color: var(--ink-300); }
.ind-actions { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-top: 1px solid var(--border-subtle); margin-top: auto; }

/* ---------------------------------------------------------- small finishes */

html[data-layout="industrial"] a.ds-link { color: var(--accent); text-decoration: none; font-weight: 600; }
html[data-layout="industrial"] a.ds-link:hover { color: var(--accent-hover); text-decoration: underline; }
/* A placeholder must never be read as a value that was typed: italic and
   lighter, still 4.5:1 on white. */
html[data-layout="industrial"] .ds-input::placeholder { color: #66717f; font-style: italic; }
.ind-dock .u-num { font-family: var(--font-sans); font-variant-numeric: tabular-nums; }
.ind-fig__k { white-space: normal; line-height: 12px; }

/* ------------------------------------------------- 0.62.0: the ANswitch frame */

/* title bar: product mark, who@where, the screen's name at the right */
.ind-vs-title {
  display: flex; align-items: center; gap: 10px; padding: 0 8px;
  background: linear-gradient(#f9fafb, #e3e7ec); border-bottom: 1px solid var(--border);
  color: var(--ink-100); font-size: 12px; white-space: nowrap; overflow: hidden;
}
.ind-vs-title__mark {
  display: inline-grid; place-items: center; width: 18px; height: 16px;
  background: var(--ind-vs-olive); color: #ffffff; font-family: var(--font-mono); font-size: 10px; font-weight: 700;
}
.ind-vs-title__name { font-weight: 700; letter-spacing: 0.04em; color: var(--ind-vs-olive-dark); }
.ind-vs-title__who { font-weight: 600; }
.ind-vs-title__meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-300); }
.ind-vs-title__env {
  padding: 0 5px; height: 15px; line-height: 15px; border: 1px solid var(--border-strong);
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-300);
}
.ind-vs-title__env--lab { background: #fcebd7; color: #8f4c00; border-color: #e8c9a0; }
.ind-vs-title__spacer { flex: 1 1 auto; }
.ind-vs-title__screen { font-weight: 600; color: var(--ink-200); }

/* menu bar: words only, a drop-down each */
.ind-vs-menubar {
  display: flex; align-items: stretch; gap: 0; padding: 0 4px;
  background: var(--ind-vs-ground); border-bottom: 1px solid var(--border);
  font-size: 12px; white-space: nowrap; overflow: visible; position: relative; z-index: 30;
}
.ind-vs-menu { position: relative; display: flex; }
.ind-vs-menubar__top {
  display: inline-flex; align-items: center; height: 21px; padding: 0 9px;
  border: 1px solid transparent; border-bottom: 0; background: transparent;
  color: var(--ink-100); font: inherit; font-size: 12px; text-decoration: none; cursor: pointer;
}
.ind-vs-menubar__top:hover, .ind-vs-menu.is-open > .ind-vs-menubar__top { background: #ffffff; border-color: var(--border); }
.ind-vs-menubar__top.is-here { color: #b3261e; font-weight: 600; }
.ind-vs-menu > .ind-vs-menu__list { display: none; position: absolute; top: 21px; left: 0; }
.ind-vs-menu.is-open > .ind-vs-menu__list { display: block; }
.ind-vs-menu__list {
  min-width: 220px; padding: 2px 0; margin: 0;
  background: #ffffff; border: 1px solid var(--border-strong); box-shadow: var(--shadow-popover);
}
.ind-vs-menu__item {
  display: flex; align-items: center; gap: 6px; width: 100%; box-sizing: border-box;
  height: 21px; padding: 0 12px 0 8px; border: 0; background: transparent;
  color: var(--ink-100); font: inherit; font-size: 12px; text-align: left; text-decoration: none;
  white-space: nowrap; cursor: pointer;
}
.ind-vs-menu__item .ind-glyph { width: 10px; color: var(--ind-vs-olive); font-size: 9px; }
.ind-vs-menu__item:hover { background: var(--ind-vs-olive-light); }
.ind-vs-menu__item.is-current { font-weight: 600; color: var(--ind-vs-olive-dark); }
.ind-vs-menu__item--folder { cursor: default; }
.ind-vs-menu__item--folder .ind-vs-menu__caret { order: 2; margin-left: auto; padding-left: 12px; width: auto; color: var(--ink-300); }
.ind-vs-menu__sub { position: relative; }
.ind-vs-menu__sub > .ind-vs-menu__list { display: none; position: absolute; top: -3px; left: 100%; }
.ind-vs-menu__sub:hover > .ind-vs-menu__list { display: block; }
.ind-vs-menu__sub:hover > .ind-vs-menu__item--folder { background: var(--ind-vs-olive-light); }

/* toolbar: nine round badges with their words */
.ind-vs-toolbar {
  display: flex; align-items: center; gap: 2px; padding: 0 6px;
  background: linear-gradient(#f9fafb, #e9edf1); border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.ind-vs-tool {
  display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px 0 4px;
  border: 1px solid transparent; background: transparent; color: var(--ink-100);
  font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.ind-vs-tool:hover:not(:disabled) { background: #ffffff; border-color: var(--border); }
.ind-vs-tool:disabled, .ind-vs-tool.is-off { color: var(--ink-400); cursor: default; }
.ind-vs-tool__badge {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d6e39a, var(--ind-vs-olive) 60%, var(--ind-vs-olive-dark));
  color: #ffffff; font-family: var(--font-mono); font-size: 14px; font-weight: 700; line-height: 1;
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.18), 0 1px 1px rgba(0, 0, 0, 0.15);
}
.ind-vs-tool__badge--filter, .ind-vs-tool__badge--export, .ind-vs-tool__badge--import {
  background: radial-gradient(circle at 35% 30%, #a9c7ec, #3d78b8 60%, #24568c);
}
.ind-vs-tool__badge--edit { background: radial-gradient(circle at 35% 30%, #d6e39a, var(--vs-olive) 60%, var(--vs-olive-dark)); }
.ind-vs-tool__badge--delete { background: radial-gradient(circle at 35% 30%, #f0b7b0, #c8473c 60%, #8c1d17); }
.ind-vs-tool__badge--apply { background: radial-gradient(circle at 35% 30%, #f3d59a, #d59a2c 60%, #9a6a12); }
.ind-vs-tool:disabled .ind-vs-tool__badge, .ind-vs-tool.is-off .ind-vs-tool__badge {
  background: radial-gradient(circle at 35% 30%, #e6e9ed, #b9c0c8 60%, #98a1ab); box-shadow: none;
}

/* the left panel: tabs, tree, chart */
.ind-vs-dock { flex: 0 0 auto; display: flex; flex-direction: column; min-height: 0; background: var(--ind-vs-panel); }
.ind-vs-dock__head { display: flex; align-items: flex-end; height: 23px; border-bottom: 1px solid var(--border); }
.ind-vs-dock__tabs { display: flex; align-items: flex-end; gap: 1px; flex: 1 1 auto; min-width: 0; padding-left: 2px; }
.ind-vs-dock__tab {
  height: 22px; padding: 0 9px; margin-bottom: -1px;
  border: 1px solid var(--border); border-bottom: 0; background: #e1e6eb; color: var(--ink-300);
  font: inherit; font-size: 11.5px; cursor: pointer; white-space: nowrap;
}
.ind-vs-dock__tab.has-content { color: var(--ink-200); }
.ind-vs-dock__tab.is-active {
  background: var(--ind-vs-panel); color: var(--ink-100); font-weight: 700;
  border-bottom: 1px solid var(--ind-vs-panel); box-shadow: inset 0 2px 0 var(--ind-vs-olive);
}
.ind-vs-dock__hide { width: 22px; height: 20px; border: 0; background: transparent; color: var(--ink-300); cursor: pointer; font: inherit; font-size: 14px; }
.ind-vs-dock__hide:hover { color: var(--ink-100); }
.ind-vs-dock__body { flex: 1 1 auto; min-height: 0; overflow: auto; border: 1px solid var(--border); border-top: 0; background: var(--ind-vs-panel); }
.ind-vs-dock__pane { display: flex; flex-direction: column; min-height: 100%; }
.ind-vs-dock__empty { padding: 12px 10px; color: var(--ink-300); font-size: 12px; }
.ind-vs-slot--summary { margin-top: auto; }
.ind-vs-slot--summary:not(:empty) { border-top: 1px solid var(--border); background: #ffffff; }
.ind-vs-strip { flex: 0 0 18px; border: 1px solid var(--border); background: var(--surface-000); color: var(--ink-200); cursor: pointer; font: inherit; font-size: 13px; }
.ind-vs-grip { flex: 0 0 3px; cursor: col-resize; background: transparent; }
.ind-vs-grip:hover { background: var(--ind-vs-olive-light); }

/* the tree: dotted connectors, olive folders, a lit current leaf */
.ind-vs-tree { padding: 4px 4px 6px 2px; font-size: 12px; }
.ind-vs-tree__kids { position: relative; margin-left: 0; }
.ind-vs-tree__kids .ind-vs-tree__kids { margin-left: 17px; border-left: 1px dotted var(--border-control); }
.ind-vs-tree__node { position: relative; }
.ind-vs-tree__row {
  display: flex; align-items: center; gap: 4px; height: 16px; padding: 0 6px 0 0;
  color: var(--ink-100); text-decoration: none; white-space: nowrap; cursor: pointer; user-select: none;
}
.ind-vs-tree__row:hover .ind-vs-tree__label { background: var(--ind-vs-olive-light); }
.ind-vs-tree__row.is-current .ind-vs-tree__label { background: var(--ind-vs-olive); color: #ffffff; font-weight: 600; }
.ind-vs-tree__label { padding: 0 3px; line-height: 15px; overflow: hidden; text-overflow: ellipsis; }
.ind-vs-tree__toggle {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 9px; height: 9px; margin-left: 4px;
  border: 1px solid var(--border-control); background: #ffffff; color: var(--ink-100);
  font-family: var(--font-mono); font-size: 9px; line-height: 1;
}
.ind-vs-tree__stub { flex: 0 0 auto; width: 9px; height: 1px; margin-left: 4px; border-top: 1px dotted var(--border-control); }
.ind-vs-tree__kids > .ind-vs-tree__node > .ind-vs-tree__row--leaf::before,
.ind-vs-tree__kids > .ind-vs-tree__node > .ind-vs-tree__row--folder::before { content: ''; }
.ind-glyph.ind-vs-tree__folder, .ind-glyph.ind-vs-tree__leaf { flex: 0 0 auto; display: inline-block; }
.ind-glyph.ind-vs-tree__folder {
  width: 13px; height: 10px; background: var(--ind-vs-olive); border-radius: 1px 3px 1px 1px;
  box-shadow: inset 0 3px 0 var(--ind-vs-olive-light), 0 -2px 0 -0.5px var(--ind-vs-olive-dark);
}
.ind-glyph.ind-vs-tree__leaf { width: 9px; height: 11px; background: var(--ind-vs-olive); border: 1px solid var(--ind-vs-olive-dark); box-shadow: inset 2px 0 0 var(--ind-vs-olive-light); }

/* the live chart under the tree */
.ind-vs-chart { flex: 0 0 auto; padding: 3px 3px 2px; background: var(--ind-vs-panel); border: 1px solid var(--border); border-top: 0; }
.ind-vs-chart__svg { display: block; width: 100%; height: 118px; }
.ind-vs-chart__plot { fill: #e8e8e8; stroke: var(--border-strong); stroke-width: 0.5; }
.ind-vs-chart__grid { stroke: #ffffff; stroke-width: 0.6; }
.ind-vs-chart__tick { font-family: var(--font-mono); font-size: 7.5px; fill: var(--ink-200); }
.ind-vs-chart__tick--l { text-anchor: end; }
.ind-vs-chart__tick--r { text-anchor: start; }
.ind-vs-chart__calls { fill: none; stroke: #2f5fd0; stroke-width: 1.2; }
.ind-vs-chart__cps { fill: none; stroke: #c8473c; stroke-width: 1; }
.ind-vs-chart__legend { display: flex; gap: 10px; padding: 1px 4px 0; font-size: 10px; color: var(--ink-300); }
.ind-vs-chart__key::before { content: ''; display: inline-block; width: 10px; height: 2px; margin: 0 4px 3px 0; vertical-align: middle; }
.ind-vs-chart__key--calls::before { background: #2f5fd0; }
.ind-vs-chart__key--cps::before { background: #c8473c; }

/* 0.64.0: the open screens as tabs, each a same-origin iframe */
.ind-vs-main { flex: 1 1 auto; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.ind-vs-tabs {
  flex: 0 0 auto; display: flex; align-items: flex-end; gap: 1px; height: 23px; padding: 0 2px;
  border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.ind-vs-tab {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 4px 0 9px; margin-bottom: -1px;
  border: 1px solid var(--border); border-bottom: 0; background: #e1e6eb; color: var(--ink-300);
  font-size: 11.5px; cursor: pointer; user-select: none;
}
.ind-vs-tab:hover { color: var(--ink-100); }
.ind-vs-tab.is-active { background: #ffffff; color: var(--ink-100); font-weight: 700; border-bottom: 1px solid #ffffff; box-shadow: inset 0 2px 0 var(--vs-olive); }
.ind-vs-tab__x {
  width: 15px; height: 15px; border: 0; border-radius: 2px; background: transparent; color: var(--ink-300);
  font: inherit; font-size: 13px; line-height: 1; cursor: pointer;
}
.ind-vs-tab__x:hover { background: #f9dedb; color: #8c1d17; }
.ind-vs-frames { flex: 1 1 auto; min-height: 0; position: relative; background: #ffffff; border: 1px solid var(--border); border-top: 0; }
.ind-vs-frame { display: block; width: 100%; height: 100%; border: 0; background: #ffffff; }
/* the embedded shell: the screen and its own panel, nothing above or below */
.ind-app.ind-vs-embed { grid-template-rows: minmax(0, 1fr); height: 100vh; background: #ffffff; }
.ind-app.ind-vs-embed .ind-work { padding: 2px; }
.ind-vs-dock__foot { flex: 0 0 auto; padding: 3px; border: 1px solid var(--border); border-top: 0; background: var(--vs-panel); }

/* 0.67.0: the ANswitch grid - plain cells, grey header, thin borders, no
   zebra, no chips. Cells double-click into edit; a changed one is yellow
   until Apply. */
html[data-layout="industrial"] .answitch-grid .ds-table { font: 11px Tahoma, Verdana, sans-serif; border-collapse: collapse; }
html[data-layout="industrial"] .answitch-grid .ds-table th {
  height: 18px; padding: 0 4px; background: #e4e4e4; color: #000; border: 1px solid #b8b8b8;
  font: 11px Tahoma, Verdana, sans-serif; text-align: center; letter-spacing: 0; text-transform: none;
}
html[data-layout="industrial"] .answitch-grid .ds-table td {
  height: 18px; padding: 0 3px; background: #ffffff; color: #000; border: 1px solid #d0d0d0;
  font: 11px Tahoma, Verdana, sans-serif; white-space: nowrap;
}
html[data-layout="industrial"] .answitch-grid .ds-table tbody tr:nth-child(even) > td { background: #ffffff; }
html[data-layout="industrial"] .answitch-grid .ds-table tbody tr:hover > td { background: #f3f6e8; }
/* ANswitch's pink row: the balance is gone (calls are refused). The words
   are in the row's title. */
html[data-layout="industrial"] .answitch-grid .ds-table tbody tr.answitch-neg > td { background: #f8d7d7; }
html[data-layout="industrial"] .answitch-grid .ds-table tbody tr.is-selected > td,
html[data-layout="industrial"] .answitch-grid .ds-table tbody tr.ind-vs-selected > td { background: #b7c95a; }
html[data-layout="industrial"] .answitch-grid .ds-table td a.ds-link { color: #000; font-weight: normal; text-decoration: none; }
html[data-layout="industrial"] .answitch-grid .ds-table td .u-muted { color: #000; }
html[data-layout="industrial"] .answitch-grid .ds-table td .ds-btn { height: 16px; padding: 0 10px; font: 11px Tahoma, sans-serif; border: 1px solid #7a7a7a; border-radius: 0; background: linear-gradient(#fff, #e0e0e0); color: #000; }
html[data-layout="industrial"] .answitch-grid .ds-panel__head { background: #eef0f3; }

/* 0.68.0: the ANswitch CDR filter - a tick box and an input per line, Select
   time, Filter / Download, and the Cdr statistic box under them. */
.ind-cdrf { padding: 6px 6px 4px; font: 12px Tahoma, Verdana, sans-serif; color: #000; }
.ind-cdrf__row { display: grid; grid-template-columns: 16px 136px minmax(0, 1fr); align-items: center; gap: 4px; margin: 0 0 4px; }
.ind-cdrf__row--head { grid-template-columns: 128px minmax(0, 1fr); }
.ind-cdrf__row--head .ind-cdrf__lab { text-align: right; padding-right: 4px; }
.ind-cdrf__row--ticks { display: flex; gap: 14px; padding-left: 0; }
.ind-cdrf__lab { white-space: nowrap; }
.ind-cdrf__in { width: 100%; box-sizing: border-box; height: 21px; padding: 1px 3px; font: 12px Tahoma, Verdana, sans-serif; border: 1px solid #7f9db9; background: #fff; }
.ind-cdrf__in:disabled { background: #f0f0f0; color: #777; }
.ind-cdrf input[type=checkbox], .ind-cdrf input[type=radio] { margin: 0 4px 0 0; }
.ind-cdrf__tick { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.ind-cdrf__box { border: 1px solid #b5bfc7; margin: 6px 0 6px; padding: 4px 6px 6px; }
.ind-cdrf__box > legend { padding: 0 3px; }
.ind-cdrf__box .ind-cdrf__in { margin: 2px 0 4px 18px; width: calc(100% - 18px); }
.ind-cdrf__pair { display: flex; gap: 18px; margin: 2px 0 4px; }
.ind-cdrf__pair label { display: inline-flex; align-items: center; }
.ind-cdrf__box .ind-cdrf__row { grid-template-columns: 62px minmax(0, 1fr); }
.ind-cdrf__box .ind-cdrf__row .ind-cdrf__in { margin: 0; width: 100%; }
.ind-cdrf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 2px 0 2px 6px; }
.ind-cdrf__grid.is-one { grid-template-columns: 1fr; }
.ind-cdrf__btns { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 10px 0 6px; }
.ind-cdrf__btn { min-width: 76px; height: 22px; font: 12px Tahoma, Verdana, sans-serif; border: 1px solid #6f6f6f; background: linear-gradient(#fff, #dcdcdc); color: #000; cursor: pointer; }
.ind-cdrf__btn:disabled { color: #888; cursor: default; }
.ind-cdrf__carried { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.ind-cdrf__carried > span { background: #eef2f5; border: 1px solid #b5bfc7; padding: 0 4px; }
.ind-cdrf__x { border: 0; background: transparent; cursor: pointer; font: inherit; color: #8c1d17; }
.ind-cdrf__box--stat { margin: 4px 6px 6px; }
.ind-cdrf__stat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; line-height: 17px; font: 12px Tahoma, Verdana, sans-serif; }
.ind-cdrf__statlab { text-align: right; }
.ind-cdrf__statval { text-align: right; padding-right: 8px; font-variant-numeric: tabular-nums; }
.ind-cdrf__err { color: #b3261e; font-size: 11px; }

/* a selected row, whichever screen drew it */
html[data-layout="industrial"] .ds-table tbody tr.ind-vs-selected > td { background: var(--ind-vs-olive-light); color: var(--ink-100); }
.ind-status__tray .ds-jobbtn, .ind-status__tray .ds-btn { height: 16px; padding: 0 5px; font-size: 10.5px; border: 0; background: rgba(255, 255, 255, 0.16); color: #ffffff; }

/* the old ribbon classes, kept for a page that still names them */
html[data-layout="industrial"] .ind-rsmall.is-current { color: var(--ink-100); font-weight: 600; }
.ind-answitch-banner { margin: 0 0 var(--space-2); }
.ind-answitch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-2) var(--space-3); }
.ind-answitch-grid label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--ink-300); }
.ind-answitch-grid .ind-answitch-hint { font-size: 11px; color: var(--ink-400, var(--ink-300)); }
.ind-answitch-bar { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: flex-end; margin: 0 0 var(--space-2); }
.ind-answitch-bar label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--ink-300); }
.ind-answitch-err { color: var(--danger, #c0392b); font-size: 12px; }
.ind-answitch-guide { max-width: 860px; line-height: 1.55; }
.ind-answitch-guide h3 { margin: var(--space-3) 0 var(--space-1); }
.ind-answitch-table tr.is-click { cursor: pointer; }

/* 0.71.0: the blank row Add puts at the top of a ANswitch grid. */
html[data-layout="industrial"] .answitch-grid tr.answitch-draft td{background:#fff7c0}
html[data-layout="industrial"] .answitch-draft__x{border:1px solid #b9a24a;background:#fffbe0;color:#7a5b00;cursor:pointer;line-height:14px;padding:0 5px}

/* 0.71.1: drag the right edge of a header to resize the column. */
html[data-layout="industrial"] .answitch-grid .ds-table th{position:relative}
html[data-layout="industrial"] .answitch-grid .ds-table .answitch-rz{position:absolute;top:0;right:-3px;width:7px;height:100%;cursor:col-resize;z-index:2}
html[data-layout="industrial"] .answitch-grid .ds-table .answitch-rz:hover{background:rgba(120,140,40,.35)}
html[data-layout="industrial"] .answitch-grid .ds-table.answitch-fixed{table-layout:fixed}
html[data-layout="industrial"] .answitch-grid .ds-table.answitch-fixed th,html[data-layout="industrial"] .answitch-grid .ds-table.answitch-fixed td{overflow:hidden;text-overflow:ellipsis}

/* ==========================================================================
   0.74.0: THE MODERN THEME - the same frame (menu, toolbar, tree, tabs), a
   dark dashboard look, with a page header, the module's screens as tabs, the
   screen's own action bar, the filter on the right and a floating Add.
   Everything is under html[data-skin="modern"]; the ANswitch theme (the default)
   is not touched by any rule below. Dark by default, data-mode="light" for
   the light one. The design system's tokens are re-pointed, so every
   component (table, input, chip, panel) follows without a rule of its own.
   ========================================================================== */

.ind-vs-mhead, .ind-vs-mods, .ind-vs-acts, .ind-vs-fab { display: none; }

html[data-layout="industrial"][data-skin="modern"] {
  color-scheme: dark;
  --m-bg: #0b0f17; --m-panel: #121826; --m-panel2: #171f30; --m-line: #223049;
  --m-ink: #e7ecf5; --m-ink2: #a6b3c9; --m-ink3: #6f7f98;
  --m-brand: #3ea6ff; --m-b2: #7c5cff; --m-sel: #1b3556; --m-draft: #1c2a3f;
  --m-bar1: #1a2b4d; --m-bar2: #2a2160; --m-neg: rgba(255, 107, 107, 0.13);

  --surface-000: var(--m-bg); --surface-100: #0f1522; --surface-200: var(--m-panel);
  --surface-300: var(--m-panel2); --surface-400: var(--m-sel);
  --border-subtle: #1c2840; --border: var(--m-line); --border-strong: #2f4263; --border-control: #3a5078;
  --ink-100: var(--m-ink); --ink-200: #c3cee1; --ink-300: var(--m-ink2); --ink-400: var(--m-ink3);
  --accent: var(--m-brand); --accent-hover: #6bbcff; --accent-surface: #16314d; --on-accent: #ffffff;
  --ok: #2fd29a; --ok-surface: #10352d; --warn: #f5b83d; --warn-surface: #3a2f12;
  --danger: #ff6b6b; --danger-surface: #3a1c20; --idle: #a6b3c9; --idle-surface: #1b2438;
  --focus-ring: var(--m-brand); --overlay: rgba(3, 7, 14, 0.6);
  --series-1: #3ea6ff; --series-2: #7c5cff; --series-3: #f5b83d; --series-4: #ff6bd0; --series-5: #2fd29a;
  --grid-line: #1c2840;
  --shadow-popover: 0 10px 30px rgba(0, 0, 0, 0.5); --shadow-modal: 0 18px 48px rgba(0, 0, 0, 0.6);
  --shadow-sticky: 0 1px 0 var(--m-line);
  --radius-sm: 6px; --radius-md: 9px; --radius-lg: 14px;
  --size-row: 30px; --size-row-head: 30px; --size-control: 30px;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --ind-title: var(--m-bar1); --ind-title-ink: #eaf0ff; --ind-status: var(--m-panel);
  --ind-vs-olive: var(--m-brand); --ind-vs-olive-dark: #2a7fcc; --ind-vs-olive-light: rgba(62, 166, 255, 0.2);
  --ind-vs-ground: var(--m-panel); --ind-vs-panel: var(--m-panel);
  --vs-olive: var(--m-brand); --vs-olive-dark: #2a7fcc; --vs-panel: var(--m-panel);
}
html[data-layout="industrial"][data-skin="modern"][data-mode="light"] {
  color-scheme: light;
  --m-bg: #f3f6fb; --m-panel: #ffffff; --m-panel2: #f6f8fc; --m-line: #dde4ef;
  --m-ink: #0f1a2e; --m-ink2: #46566f; --m-ink3: #7b8aa3;
  --m-brand: #1d7be0; --m-b2: #6b4be0; --m-sel: #dbeafe; --m-draft: #eaf2ff;
  --m-bar1: #1d4f91; --m-bar2: #4a35b0; --m-neg: rgba(217, 72, 72, 0.1);
  --surface-100: #edf1f8;
  --border-subtle: #e6ecf5; --border-strong: #c3cfe2; --border-control: #9fb0cb;
  --ink-200: #2b3a55;
  --accent-hover: #1566bd; --accent-surface: #dbeafe;
  --ok: #10a574; --ok-surface: #d9f5ea; --warn: #c98a0a; --warn-surface: #fcefd0;
  --danger: #d94848; --danger-surface: #fbe0e0; --idle: #46566f; --idle-surface: #e9eef6;
  --overlay: rgba(15, 26, 46, 0.35);
  --grid-line: #e6ecf5;
  --shadow-popover: 0 10px 28px rgba(20, 40, 80, 0.16); --shadow-modal: 0 18px 48px rgba(20, 40, 80, 0.22);
  --ind-vs-olive-dark: #1566bd; --ind-vs-olive-light: rgba(29, 123, 224, 0.14);
}

/* the frame: title and menu are one gradient bar */
html[data-layout="industrial"][data-skin="modern"] .ind-vs-title {
  background: linear-gradient(90deg, var(--m-bar1), var(--m-bar2)); color: #eaf0ff; border-bottom: 0;
  font-family: var(--font-sans);
}
html[data-layout="industrial"][data-skin="modern"] .ind-vs-title__mark { width: 24px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--m-brand), var(--m-b2)); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-title__name { color: #ffffff; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-title__who,
html[data-layout="industrial"][data-skin="modern"] .ind-vs-title__screen { color: #dbe4f7; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-title__meta { color: #9fb0d0; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-title__env { border-color: rgba(255, 255, 255, 0.3); color: #dbe4f7; border-radius: 99px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menubar {
  background: linear-gradient(90deg, var(--m-bar1), var(--m-bar2)); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-sans);
}
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menubar__top { height: 28px; color: #eaf0ff; font-size: 12.5px; font-weight: 600; border-radius: 7px 7px 0 0; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menubar__top:hover,
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menu.is-open > .ind-vs-menubar__top { background: rgba(255, 255, 255, 0.14); border-color: transparent; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menubar__top.is-here { color: #ffffff; background: rgba(255, 255, 255, 0.2); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menu > .ind-vs-menu__list { top: 28px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menu__list { background: var(--m-panel); border: 1px solid var(--m-line); border-radius: 10px; padding: 5px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menu__item { height: 28px; border-radius: 7px; color: var(--m-ink); font-size: 12.5px; font-family: var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menu__item:hover,
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menu__sub:hover > .ind-vs-menu__item--folder { background: var(--ind-vs-olive-light); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menu__item .ind-glyph { color: var(--m-brand); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-menu__item.is-current { color: var(--m-brand); }

/* the toolbar: the same ten buttons, flat colour badges */
html[data-layout="industrial"][data-skin="modern"] .ind-vs-toolbar { background: var(--m-panel); border-bottom: 1px solid var(--m-line); padding: 3px 10px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool { height: 38px; border-radius: 9px; color: var(--m-ink); font-size: 12.5px; font-weight: 600; font-family: var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool:hover:not(:disabled) { background: var(--m-panel2); border-color: transparent; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool:disabled,
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool.is-off { color: var(--m-ink3); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool__badge { background: #6a7a96; box-shadow: none; font-family: var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool__badge--add { background: #2fb27e; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool__badge--edit { background: var(--m-brand); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool__badge--filter { background: #5b8def; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool__badge--export,
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool__badge--import { background: #4a78d6; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool__badge--delete { background: #e0575b; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool__badge--apply { background: #e4a13a; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool:disabled .ind-vs-tool__badge,
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tool.is-off .ind-vs-tool__badge { background: var(--m-line); }

/* the left tree panel */
html[data-layout="industrial"][data-skin="modern"] .ind-vs-dock__head { height: 30px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-dock__tab { height: 28px; background: var(--m-panel2); color: var(--m-ink3); border-radius: 8px 8px 0 0; font-family: var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-dock__tab.is-active { background: var(--m-panel); color: var(--m-ink); border-bottom-color: var(--m-panel); box-shadow: inset 0 2px 0 var(--m-brand); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-dock__hide { color: var(--m-ink2); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-slot--summary:not(:empty) { background: var(--m-panel2); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-strip { background: var(--m-panel); color: var(--m-ink2); border-color: var(--m-line); border-radius: 8px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tree { font-size: 13px; font-family: var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tree__row { height: 26px; color: var(--m-ink2); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tree__label { line-height: 24px; padding: 0 6px; border-radius: 6px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tree__row:hover .ind-vs-tree__label { background: var(--m-panel2); color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tree__row.is-current .ind-vs-tree__label {
  background: linear-gradient(90deg, rgba(62, 166, 255, 0.28), rgba(124, 92, 255, 0.14)); color: var(--m-ink);
  box-shadow: inset 2px 0 0 var(--m-brand);
}
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tree__toggle { background: var(--m-panel2); border-color: var(--m-line); color: var(--m-ink2); border-radius: 3px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tree__kids .ind-vs-tree__kids { border-left-color: var(--m-line); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tree__stub { border-top-color: var(--m-line); }
html[data-layout="industrial"][data-skin="modern"] .ind-glyph.ind-vs-tree__folder { background: var(--m-brand); box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.35), 0 -2px 0 -0.5px var(--ind-vs-olive-dark); border-radius: 2px 4px 2px 2px; }
html[data-layout="industrial"][data-skin="modern"] .ind-glyph.ind-vs-tree__leaf { background: var(--m-panel2); border: 1px solid var(--m-brand); box-shadow: inset 2px 0 0 var(--m-brand); border-radius: 2px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-chart { background: var(--m-panel); border-color: var(--m-line); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-chart__plot { fill: var(--m-panel2); stroke: var(--m-line); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-chart__grid { stroke: var(--m-line); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-chart__tick { fill: var(--m-ink3); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-chart__calls { stroke: var(--m-brand); stroke-width: 1.6; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-chart__cps { stroke: #ff6b6b; stroke-width: 1.4; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-chart__key--calls::before { background: var(--m-brand); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-chart__key--cps::before { background: #ff6b6b; }

/* page header and the module's screens as tabs (hidden in the ANswitch theme) */
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mhead { display: flex; align-items: center; gap: 10px; padding: 10px 16px 4px; font-family: var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mhead__title { margin: 0; font-size: 18px; font-weight: 700; color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mhead__sp { flex: 1 1 auto; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mhead__search { background: var(--m-panel2); border: 1px solid var(--m-line); color: var(--m-ink); padding: 6px 12px; border-radius: 99px; width: 210px; font: inherit; font-size: 13px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mhead__env { font-size: 11px; font-weight: 800; padding: 4px 11px; border-radius: 99px; background: var(--m-brand); color: #ffffff; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mhead__btn { background: var(--m-panel); border: 1px solid var(--m-line); color: var(--m-ink2); min-width: 32px; height: 30px; border-radius: 9px; cursor: pointer; font: inherit; font-size: 13px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mhead__btn:hover { color: var(--m-ink); border-color: var(--m-brand); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mhead__btn--text { padding: 0 11px; font-weight: 600; font-size: 12px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mods { display: flex; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--m-line); font-family: var(--font-sans); overflow-x: auto; white-space: nowrap; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mods:empty { display: none; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mods__b { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; color: var(--m-ink3); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mods__b:hover { color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-mods__b.is-on { color: var(--m-ink); border-bottom-color: var(--m-brand); }

/* open screens as tabs */
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tabs { height: 34px; padding: 0 16px; gap: 4px; border-bottom: 1px solid var(--m-line); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tab { height: 30px; padding: 0 6px 0 14px; background: var(--m-panel); color: var(--m-ink2); border-radius: 10px 10px 0 0; font-size: 12.5px; font-weight: 600; font-family: var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tab:hover { color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tab.is-active { background: var(--m-panel2); color: var(--m-ink); border-color: var(--m-brand); border-bottom-color: var(--m-panel2); box-shadow: none; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tab__x { color: var(--m-ink3); border-radius: 5px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-tab__x:hover { background: var(--m-line); color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-frames { background: var(--m-bg); border-color: var(--m-line); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-frame { background: var(--m-bg); }
html[data-layout="industrial"][data-skin="modern"] .ind-app.ind-vs-embed { background: var(--m-bg); }

/* inside a screen: the filter panel on the RIGHT, the action bar, the floating Add */
html[data-layout="industrial"][data-skin="modern"] .ind-app.ind-vs-embed .ind-work { flex-direction: row-reverse; padding: 8px; gap: 8px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-embed .ind-vs-dock__body { border-radius: 0 0 10px 10px; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-acts { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-family: var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-acts__sp { flex: 1 1 auto; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-acts__b { border: 0; border-radius: 9px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--m-ink2); background: transparent; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-acts__b:hover:not(:disabled) { color: var(--m-ink); background: var(--m-panel2); }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-acts__b:disabled { opacity: 0.4; cursor: default; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-acts__b--pri { background: var(--m-brand); color: #ffffff; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-acts__b--pri:hover:not(:disabled) { background: var(--m-brand); filter: brightness(1.1); color: #ffffff; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-acts__b--vio { background: var(--m-b2); color: #ffffff; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-acts__b--vio:hover:not(:disabled) { background: var(--m-b2); filter: brightness(1.1); color: #ffffff; }
html[data-layout="industrial"][data-skin="modern"] .ind-vs-fab {
  display: grid; place-items: center; position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px;
  border-radius: 13px; border: 0; background: var(--m-brand); color: #ffffff; font-size: 24px; line-height: 1;
  cursor: pointer; box-shadow: 0 6px 18px rgba(62, 166, 255, 0.45); z-index: 20;
}
html[data-layout="industrial"][data-skin="modern"] .ind-vs-fab:hover { filter: brightness(1.1); }

/* the grids of the ANswitch screens, modernised */
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table { font: 13px var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table th {
  height: 34px; padding: 0 10px; background: var(--m-panel); color: var(--m-ink3); border: 0; border-bottom: 1px solid var(--m-line);
  font: 600 11.5px var(--font-sans); text-align: left; text-transform: uppercase; letter-spacing: 0.5px;
}
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table td {
  height: 34px; padding: 0 10px; background: var(--m-panel); color: var(--m-ink); border: 0; border-bottom: 1px solid var(--m-line);
  font: 13px var(--font-sans);
}
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table tbody tr:nth-child(even) > td { background: var(--m-panel); }
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table tbody tr:hover > td { background: var(--m-panel2); }
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table tbody tr.is-selected > td,
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table tbody tr.ind-vs-selected > td { background: var(--m-sel); }
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table tbody tr.answitch-neg > td { background: var(--m-neg); }
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table td a.ds-link { color: var(--m-brand); font-weight: 600; }
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table td .u-muted { color: var(--m-ink3); }
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table td .ds-btn { height: 24px; padding: 0 11px; font: 600 12px var(--font-sans); border: 1px solid var(--m-line); border-radius: 7px; background: var(--m-panel2); color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-table td .ds-btn:hover { border-color: var(--m-brand); }
html[data-layout="industrial"][data-skin="modern"] .answitch-grid .ds-panel__head { background: var(--m-panel); }
html[data-layout="industrial"][data-skin="modern"] .answitch-grid tr.answitch-draft td { background: var(--m-draft); }
html[data-layout="industrial"][data-skin="modern"] .answitch-draft__x { border: 1px solid var(--m-line); background: var(--m-panel2); color: var(--m-ink2); border-radius: 6px; }
html[data-layout="industrial"][data-skin="modern"] .answitch-rz:hover { background: rgba(62, 166, 255, 0.4); }

/* the ANswitch filter panel (Account / gateway / CDR) */
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf__in { height: 28px; padding: 2px 8px; font: 13px var(--font-sans); border: 1px solid var(--m-line); background: var(--m-panel2); color: var(--m-ink); border-radius: 8px; }
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf__in:disabled { background: var(--m-panel); color: var(--m-ink3); }
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf__btn { min-width: 84px; height: 30px; font: 700 13px var(--font-sans); border: 0; background: var(--m-brand); color: #ffffff; border-radius: 9px; }
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf__carried > span { background: var(--m-panel2); border-color: var(--m-line); color: var(--m-ink2); }

/* the status bar and the additional-settings dialog */
html[data-layout="industrial"][data-skin="modern"] .ind-status { background: var(--m-panel); color: var(--m-ink2); border-top: 1px solid var(--m-line); font-family: var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-status__cell.is-ok { color: var(--ok); }
html[data-layout="industrial"][data-skin="modern"] .ind-status__cell.is-idle { color: var(--m-ink3); }
html[data-layout="industrial"][data-skin="modern"] .ind-status__tray .ds-jobbtn,
html[data-layout="industrial"][data-skin="modern"] .ind-status__tray .ds-btn { background: var(--m-panel2); color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .answitchm { background: rgba(3, 7, 14, 0.6); }
html[data-layout="industrial"][data-skin="modern"] .answitchd { background: var(--m-panel); border: 1px solid var(--m-line); border-radius: 16px; color: var(--m-ink); font-family: var(--font-sans); box-shadow: var(--shadow-modal); }
html[data-layout="industrial"][data-skin="modern"] .answitchd-t { background: var(--m-panel2); color: var(--m-ink); border-bottom: 1px solid var(--m-line); border-radius: 14px 14px 0 0; font-weight: 700; padding: 10px 14px; }
html[data-layout="industrial"][data-skin="modern"] .answitchd-x { border-bottom-color: var(--m-line); }
html[data-layout="industrial"][data-skin="modern"] .answitchd input,
html[data-layout="industrial"][data-skin="modern"] .answitchd select,
html[data-layout="industrial"][data-skin="modern"] .answitchd textarea { background: var(--m-panel2); color: var(--m-ink); border: 1px solid var(--m-line); border-radius: 7px; }
html[data-layout="industrial"][data-skin="modern"] .answitchd-btn { background: var(--m-panel2); color: var(--m-ink); border: 1px solid var(--m-line); border-radius: 8px; }
html[data-layout="industrial"][data-skin="modern"] .answitchd-btn:hover { border-color: var(--m-brand); }
/* the ANswitch filter's own colours were hard-coded black on white */
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf { color: var(--m-ink2); font: 13px var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf__stat { font: 13px var(--font-sans); }
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf__box { border-color: var(--m-line); border-radius: 10px; }
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf__box > legend { color: var(--m-ink3); font-size: 11.5px; font-weight: 600; }
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf__err { color: var(--danger); }
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf__x { color: var(--danger); }
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf__btn:disabled { color: var(--m-ink3); background: var(--m-panel2); }
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf input[type=checkbox],
html[data-layout="industrial"][data-skin="modern"] .ind-cdrf input[type=radio] { accent-color: var(--m-brand); }
/* the design system's own light greys (panel head, buttons, inputs, plain tables) */
html[data-layout="industrial"][data-skin="modern"] .ds-panel { border-radius: 12px; background: var(--m-panel); }
html[data-layout="industrial"][data-skin="modern"] .ds-panel__head { background: var(--m-panel); min-height: 34px; padding: 4px 12px; border-radius: 12px 12px 0 0; }
html[data-layout="industrial"][data-skin="modern"] .ds-panel__title { font-size: 13.5px; }
html[data-layout="industrial"][data-skin="modern"] .ds-panel__body { padding: 12px; }
html[data-layout="industrial"][data-skin="modern"] .ds-btn { height: 28px; padding: 0 12px; border-radius: 8px; background: var(--m-panel2); color: var(--m-ink); border-color: var(--m-line); font-size: 12.5px; font-weight: 600; }
html[data-layout="industrial"][data-skin="modern"] .ds-btn:hover { background: var(--m-panel2); border-color: var(--m-brand); }
html[data-layout="industrial"][data-skin="modern"] .ds-btn--primary { background: var(--m-brand); border-color: var(--m-brand); color: #ffffff; }
html[data-layout="industrial"][data-skin="modern"] .ds-btn--primary:hover { background: var(--m-brand); filter: brightness(1.1); }
html[data-layout="industrial"][data-skin="modern"] .ds-btn--ghost { background: transparent; border-color: transparent; color: var(--m-ink2); }
html[data-layout="industrial"][data-skin="modern"] .ds-btn--ghost:hover { background: var(--m-panel2); color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .ds-btn--sm { height: 24px; padding: 0 9px; font-size: 12px; }
html[data-layout="industrial"][data-skin="modern"] .ds-input,
html[data-layout="industrial"][data-skin="modern"] .ds-select { height: 28px; padding: 0 9px; border-radius: 8px; background: var(--m-panel2); color: var(--m-ink); font-size: 13px; }
html[data-layout="industrial"][data-skin="modern"] .ds-input::placeholder { color: var(--m-ink3); }
html[data-layout="industrial"][data-skin="modern"] .ds-table th { background: var(--m-panel); color: var(--m-ink3); border-right: 0; border-bottom: 1px solid var(--m-line); text-transform: uppercase; letter-spacing: 0.5px; font-size: 11.5px; }
html[data-layout="industrial"][data-skin="modern"] .ds-table td { border-right: 0; border-bottom: 1px solid var(--m-line); color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .ds-table tbody tr:nth-child(even) > td { background: var(--m-panel); }
html[data-layout="industrial"][data-skin="modern"] .ds-table tbody tr:hover > td { background: var(--m-panel2); }
html[data-layout="industrial"][data-skin="modern"] .ds-table tbody tr.is-selected > td,
html[data-layout="industrial"][data-skin="modern"] .ds-table tbody tr.ind-vs-selected > td { background: var(--m-sel); color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .ds-chip { height: 19px; border-radius: 99px; padding: 0 8px; font-size: 11px; }
html[data-layout="industrial"][data-skin="modern"] .ds-callout { border-radius: 10px; padding: 7px 12px; }
html[data-layout="industrial"][data-skin="modern"] .ds-counters { border-radius: 12px; }
html[data-layout="industrial"][data-skin="modern"] .ds-dialog { border-radius: 14px; }
html[data-layout="industrial"][data-skin="modern"] .ds-pager__btn { border-radius: 6px; }
html[data-layout="industrial"][data-skin="modern"] .ind-dock .ds-panel__head,
html[data-layout="industrial"][data-skin="modern"] .ind-sec { background: var(--m-panel2); }
html[data-layout="industrial"][data-skin="modern"] .ind-sec { border-color: var(--m-line); color: var(--m-ink); }
html[data-layout="industrial"][data-skin="modern"] .ds-tab { height: 30px; }
