/* Operator Black — solo colori. Nessuna misura di font, nessuna figura nuova. */
html.ax-menu-v3,
.nav-shell--menu-v3 {
  --menu-v3-accent-bg: #1c212b;
  --menu-v3-accent-ink: #f3f5f7;
  --menu-v3-nfc-bg: #3a2a16;
  --menu-v3-nfc-ink: #f0c27a;
}

:root {
  --ax-ink: #f3f5f7;
  --ax-ink-soft: #d5dbe3;
  --ax-ink-muted: #8e98a4;
  --ax-line: rgba(255, 255, 255, 0.16);
  --ax-line-soft: rgba(255, 255, 255, 0.08);
  --ax-surface: #14181f;
  --ax-surface-sunken: #101318;
  --ax-steel: #f3f5f7;
  --ax-accent: #f3f5f7;
  --ax-accent-soft: #1c212b;
  --ax-state-ok: #f3f5f7;
  --ax-state-ok-soft: #1c212b;
  --ax-state-bad: #f3f5f7;
  --ax-state-bad-soft: #2a1c1c;
  --ax-badge-ok-soft: #163024;
  --ax-badge-warn-soft: #2c2416;
  --ax-badge-crit-soft: #2c1616;
  --menu-v3-accent-bg: #243049;
  --menu-v3-accent-ink: #d7e2f5;
  --menu-v3-nfc-bg: #3a2a16;
  --menu-v3-nfc-ink: #f0c27a;
  color-scheme: dark;
}

html,
body {
  background: #101318 !important;
  color: #f3f5f7;
}

html.ax-enroll-leave,
html.ax-enroll-leave body {
  background: #101318 !important;
}

.ax-shell,
.nav-shell,
html.ax-menu-v3 .ax-shell,
html.ax-menu-v3 .nav-shell,
.nav-shell--menu-v3 {
  background: #14181f !important;
}

html.ax-menu-v3 .ax-main--menu,
html.ax-menu-v3 .ax-main.ax-main--menu,
html.ax-menu-v3 .nav-main,
html.ax-menu-v3 #viewApp:not([hidden]),
.nav-shell--menu-v3 .nav-main,
.nav-shell--menu-v3 #viewApp:not([hidden]) {
  background: #14181f !important;
}

html.ax-menu-v3 #sec-user:not([hidden]),
html.ax-menu-v3 #sec-collaudo:not([hidden]),
html.ax-menu-v3 #sec-senior:not([hidden]),
html.ax-menu-v3 #sec-service:not([hidden]),
html.ax-menu-v3 #sec-business:not([hidden]),
html.ax-menu-v3 #sec-admin:not([hidden]),
html.ax-menu-v3 #sec-enroll:not([hidden]),
html.ax-menu-v3 .nav-section:has(.nav-list--cards),
html.ax-menu-v3 .nav-section:has(.nav-list--plain),
.nav-shell--menu-v3 #sec-user:not([hidden]),
.nav-shell--menu-v3 #sec-collaudo:not([hidden]),
.nav-shell--menu-v3 #sec-senior:not([hidden]),
.nav-shell--menu-v3 #sec-service:not([hidden]),
.nav-shell--menu-v3 #sec-business:not([hidden]),
.nav-shell--menu-v3 #sec-admin:not([hidden]),
.nav-shell--menu-v3 #sec-enroll:not([hidden]),
.nav-shell--menu-v3 .nav-section:has(.nav-list--cards),
.nav-shell--menu-v3 .nav-section:has(.nav-list--plain) {
  background: #14181f !important;
}

.nav-shell--menu-v3 .nav-role-bar {
  background: #14181f;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-shell--menu-v3 .nav-role__btn {
  color: #8e98a4;
}

html.ax-menu-v3 .nav-list--cards > li + li::before,
html.ax-menu-v3 .nav-list--plain > li + li::before,
.nav-list--cards > li + li::before,
html.ax-menu-v3 .ax-menu > li + li::before,
html.ax-menu-v3 .ax-hub-menu > .ax-hub-item + .ax-hub-item::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.16) 14%,
    rgba(255, 255, 255, 0.16) 86%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}

html.ax-menu-v3 .nav-list--cards > li > .nav-item,
html.ax-menu-v3 .nav-list--plain > li > .nav-item,
.nav-list--cards .nav-item,
.nav-item {
  color: #f3f5f7 !important;
}

html.ax-menu-v3 .nav-item__label,
.nav-list--cards .nav-item__label,
.nav-item__label,
html.ax-menu-v3 .nav-item--console .nav-item__label,
.nav-list--cards .nav-item--console .nav-item__label,
.ax-menu__title,
.ax-hub-item__label {
  color: #f3f5f7 !important;
}

html.ax-menu-v3 .nav-item__desc,
.nav-list--cards .nav-item__desc,
html.ax-menu-v3 .nav-item__chevron,
.nav-list--cards .nav-item__chevron {
  color: #8e98a4 !important;
}

html.ax-menu-v3 .nav-item__icon,
html.ax-menu-v3 .nav-item--console .nav-item__icon,
html.ax-menu-v3 .nav-item--console .nav-item__icon-wrap .nav-item__icon,
.nav-list--cards .nav-item--console .nav-item__icon,
.nav-list--cards .nav-item__icon {
  color: #d7e2f5 !important;
}

html.ax-menu-v3 .ax-menu,
html.ax-menu-v3 .ax-menu-sub {
  background: #14181f !important;
}

html.ax-menu-v3 .ax-menu__title,
html.ax-menu-v3 .ax-menu__card {
  color: #f3f5f7 !important;
}

html.ax-menu-v3 .ax-menu__desc,
html.ax-menu-v3 .ax-menu__code,
html.ax-menu-v3 .ax-menu__chevron {
  color: #8e98a4 !important;
}

html.ax-menu-v3 .ax-hub-menu > .ax-hub-item,
html.ax-menu-v3 .ax-hub-menu > li > .ax-hub-item,
html.ax-menu-v3 .nav-dock .nav-item,
html.ax-menu-v3 .nav-day-actions .nav-item,
html.ax-menu-v3 .ax-hub-escape .ax-hub-item,
html.ax-menu-v3 .ax-hub-escape .ax-hub-item__label,
html.ax-menu-v3 .nav-dock .nav-item__label,
html.ax-menu-v3 .nav-day-actions .nav-item__label {
  color: #f3f5f7 !important;
}

html.ax-menu-v3 .nav-dock .nav-item__icon,
html.ax-menu-v3 .nav-day-actions .nav-item__icon,
html.ax-menu-v3 .ax-hub-escape .ax-hub-item__icon,
html.ax-menu-v3 .ax-hub-menu > .ax-hub-item > .ax-hub-item__icon,
html.ax-menu-v3 .ax-hub-menu > li > .ax-hub-item > .ax-hub-item__icon {
  color: #d5dbe3 !important;
}

.ax-senior-hero {
  background: #1c212b !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #f3f5f7 !important;
}

.ax-step__label {
  color: #f3f5f7 !important;
}

.ax-step__btn {
  background: #1c212b !important;
  color: #f3f5f7 !important;
}

.ax-senior-chart__grid {
  stroke: rgba(255, 255, 255, 0.16);
}

.ax-senior-chart__grid--half {
  stroke: rgba(255, 255, 255, 0.08);
}

.ax-senior-chart__axis,
.ax-senior-chart__tick-x {
  stroke: #8e98a4;
}

.ax-fleet,
.ax-fleet-table,
.ax-fleet-table td,
.ax-fleet-table th,
.ax-fleet-table__place,
.ax-fleet-table__temp,
.ax-fleet-table__ultimo-date,
.ax-fleet-table__ultimo-time {
  color: #f3f5f7 !important;
}

.ax-fleet-table th,
.ax-fleet-table__meta,
.ax-fleet-table__kind {
  color: #8e98a4 !important;
}

.ax-fleet-table td,
.ax-fleet-table th {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.ax-fleet-table__row:active td {
  background: #1c212b !important;
}

input,
select,
textarea {
  background: #1c212b;
  color: #f3f5f7;
  border-color: rgba(255, 255, 255, 0.16);
}

/* Stessa specificità di ax-chrome.css: solo il colore, le misure restano le sue. */
.nav-list--plain > li > .nav-item:not(.nav-item--ticket):not(.nav-item--console),
.nav-list--plain > li > .nav-item:not(.nav-item--ticket):not(.nav-item--console) .nav-item__label,
.nav-list--plain > li > .nav-item:not(.nav-item--ticket):not(.nav-item--console) .nav-item__icon,
.ax-menu > li > .ax-menu__card:not(.ax-menu__card--ticket),
.ax-menu > li > .ax-menu__card:not(.ax-menu__card--ticket) .ax-menu__title,
.ax-menu > li > .ax-menu__card:not(.ax-menu__card--ticket) .ax-menu__icon:not(.ax-menu__icon--nfc-cache),
.ax-hub-item,
.ax-hub-item__label,
.ax-hub-item__icon,
.nav-dock .nav-item:not(.nav-item--ticket),
.nav-day-actions .nav-item:not(.nav-item--ticket) {
  color: #f3f5f7 !important;
}

html.ax-menu-v3 .nav-item__icon-wrap,
.nav-list--cards .nav-item__icon-wrap,
html.ax-menu-v3 .nav-list--plain > li > .nav-item:not(.nav-item__icon-wrap) > .nav-item__icon {
  background: #1c212b !important;
  color: #f3f5f7 !important;
}

.service-sum__card {
  background: #1c212b !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.service-sum__kicker,
.service-sum__lab {
  color: #8e98a4 !important;
}

.service-sum__val,
html.ax-menu-v3 .service-sum__val-chip,
.service-sum__val-chip {
  color: #f3f5f7 !important;
}

html.ax-menu-v3 .service-sum__val-chip,
.service-sum__val-chip {
  background: #101318 !important;
}

.user-home-photo,
.user-home-photo__img,
#sec-collaudo .collaud-home-photo,
#sec-collaudo .collaud-home-photo .user-home-photo__img {
  background: transparent !important;
  border-color: transparent !important;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.ax-btn,
a.ax-btn,
.ax-btn-ghost,
.ax-relay-btn,
.ax-cfg-btn,
.ax-perm-btn,
.ax-step__btn,
.ax-field input:not([type="checkbox"]):not([type="radio"]),
.ax-field select,
.ax-field textarea,
.ax-label-suggest,
.ax-label-suggest li {
  background-color: #1c212b !important;
  color: #f3f5f7 !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.ax-relay-btn.is-selected,
.ax-relay-btn.is-used.is-selected {
  background-color: #243049 !important;
  color: #f3f5f7 !important;
  border-color: #d7e2f5 !important;
}

.ax-relay-btn.is-used {
  background-color: #101318 !important;
  color: #6a7380 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.ax-cfg-btn--danger,
.ax-perm-btn--danger,
.ax-btn--danger {
  background-color: #3a1616 !important;
  color: #f3f5f7 !important;
  border-color: #e24b4b !important;
}
