/* Nanaimo Movers · midnight workspace. Loaded after the preserved legacy theme. */
body.nm-theme {
  --navy: #0c1830;
  --blue: #2e5ce6;
  --accent: #c9f478;
  --bg: #f3f5fa;
  --card: #fff;
  --line: #e3e8f0;
  --muted: #63738a;
  --text: #18263c;
  --shadow: 0 4px 22px #12234a06;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.nm-theme * {
  box-sizing: border-box;
}
.nm-theme button,
.nm-theme input,
.nm-theme select,
.nm-theme textarea {
  font: inherit;
}
.nm-theme button {
  cursor: pointer;
}
.nm-theme button:focus-visible,
.nm-theme a:focus-visible,
.nm-theme input:focus-visible,
.nm-theme select:focus-visible,
.nm-theme summary:focus-visible {
  outline: 3px solid #5f88fb;
  outline-offset: 3px;
}
.nm-theme .nm-icon {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}
.nm-theme .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid #dfe5ee;
  border-radius: 9px;
  background: #fff;
  color: #25344d;
  font-size: 13px;
  font-weight: 650;
  box-shadow: none;
  text-decoration: none;
  line-height: 1.3;
  transition:
    background 0.15s,
    transform 0.15s;
}
.nm-theme .btn:hover {
  background: #edf2fb;
  border-color: #c6d2e9;
}
.nm-theme .btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.nm-theme .btn.primary:hover {
  background: #224dca;
}
.nm-theme .btn.small {
  font-size: 12px;
  min-height: 36px;
  padding: 8px 11px;
}
.nm-theme .btn.full {
  width: 100%;
}
.nm-theme .btn .nm-icon {
  width: 17px;
  height: 17px;
}
.nm-theme input:not([type="checkbox"]):not([type="radio"]),
.nm-theme select,
.nm-theme textarea {
  background: #fff;
  border: 1px solid #dbe2ed;
  border-radius: 8px;
  min-height: 42px;
  padding: 10px 12px;
  color: #18263c;
  font-size: 14px;
  max-width: 100%;
}
.nm-theme label {
  font-size: 13px;
  font-weight: 600;
}
.nm-theme input[type="checkbox"],
.nm-theme input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
.nm-theme small {
  font-size: 12px;
}
.nm-theme .eyebrow,
.nm-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.5px;
  color: #647691;
  text-transform: uppercase;
}
.nm-theme h1,
.nm-theme h2,
.nm-theme h3 {
  letter-spacing: -0.035em;
  color: inherit;
}
.nm-theme p {
  line-height: 1.6;
}
.nm-theme .appShell {
  display: block;
  min-height: 100dvh;
}
.nm-theme .sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 242px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, #101e37, #091426);
  color: #c2cce0;
  border: 0;
  padding: 28px 16px 0;
  z-index: 35;
}
.nm-theme .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  color: white;
  background: none;
  padding: 0 5px 24px;
  width: 100%;
  text-align: left;
}
.nm-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff22;
  border-radius: 12px;
  background: #ffffff09;
  color: #c9f478;
  flex: none;
}
.nm-theme .nm-mark .nm-icon {
  width: 27px;
  height: 27px;
}
.nm-theme .brandText {
  display: block;
}
.nm-theme .brandText b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: white;
}
.nm-theme .brandText span {
  display: block;
  font-size: 7.7px;
  letter-spacing: 0.8px;
  color: #8d9db7;
  margin-top: 4px;
}
.nm-workspace {
  border-top: 1px solid #ffffff10;
  border-bottom: 1px solid #ffffff10;
  padding: 14px 9px;
  font-size: 11px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.nm-dot {
  height: 7px;
  width: 7px;
  background: #c9f478;
  border-radius: 50%;
  box-shadow: 0 0 12px #c9f44650;
}
.nm-theme .nav {
  overflow: auto;
  flex: 1;
  display: block;
  padding: 0 0 16px;
  scrollbar-width: thin;
  scrollbar-color: #34405a transparent;
}
.nm-theme .nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 0;
  color: #b4c1d8;
  background: none;
  min-height: 44px;
  text-align: left;
  font-size: 12px;
  line-height: 1.3;
  padding: 12px 13px;
  border-radius: 8px;
  margin: 3px 0;
}
.nm-theme .nav button .nm-icon {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}
.nm-theme .nav button:hover {
  background: #ffffff09;
  color: white;
}
.nm-theme .nav button.active {
  background: #c9f478;
  color: #182626;
  font-weight: 750;
  box-shadow: 0 3px 14px #c9f47813;
}
.nm-theme .nav button.active .nm-icon {
  opacity: 1;
}
.nm-nav-group {
  margin-top: 16px;
  padding-top: 7px;
  border-top: 1px solid #ffffff0d;
}
.nm-nav-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #889ab6;
  cursor: pointer;
  padding: 10px 12px;
}
.nm-nav-group summary::-webkit-details-marker {
  display: none;
}
.nm-nav-group summary span {
  font-size: 15px;
}
.nm-nav-group[open] summary span {
  transform: rotate(180deg);
}
.nm-theme .nm-count {
  font-size: 10px;
  background: #ffffff15;
  color: inherit;
  padding: 2px 6px;
  border-radius: 5px;
  margin-left: auto;
}
.nm-theme .sideFoot {
  display: flex;
  gap: 9px;
  align-items: center;
  border-top: 1px solid #ffffff18;
  padding: 17px 0;
  background: none;
}
.nm-theme .sideFoot b {
  font-size: 12px;
  color: #e3eafa;
  display: block;
}
.nm-theme .sideFoot div > span {
  font-size: 10px;
  display: block;
  color: #90a1bd;
}
.nm-theme .sideFoot button {
  background: none;
  color: #8296b6;
  border: 0;
  margin-left: auto;
  padding: 10px;
}
.nm-avatar {
  border: 1px solid #d7e2f2;
  border-radius: 50%;
  background: #eaf0fa;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  color: #426498;
  font-weight: 700;
  font-size: 12px;
}
.nm-theme .sideFoot .nm-avatar {
  border-color: #334258;
  background: #23334d;
  color: #cee2fe;
}
.nm-theme .main {
  margin-left: 242px;
  width: auto;
  min-width: 0;
  background: var(--bg);
}
.nm-theme .topbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  padding: 12px 30px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  z-index: 25;
  gap: 18px;
}
.nm-header-left,
.nm-header-right {
  display: flex;
  align-items: center;
  gap: 19px;
  min-width: 0;
}
.nm-breadcrumb {
  color: #8290a4;
  font-size: 12px;
  white-space: nowrap;
}
.nm-breadcrumb > span {
  margin: 0 13px;
  color: #bec8d7;
}
.nm-breadcrumb b {
  font-weight: 600;
  color: #243955;
}
.nm-theme .globalSearch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 270px;
  color: #91a0b5;
}
.nm-theme .globalSearch > input {
  border: 0;
  background: none;
  min-height: 36px;
  padding: 5px;
  width: 100%;
  font-size: 12px;
}
.nm-theme #globalSearchResults {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  box-shadow: 0 12px 35px #18243b20;
  max-height: 70dvh;
  overflow: auto;
  min-width: 300px;
  z-index: 50;
}
.nm-theme .noticeBell {
  position: relative;
  min-height: 36px;
  border: 0;
  background: none;
  padding: 6px;
}
.nm-theme .noticeBell em {
  top: 0;
  right: 0;
  background: #ea765f;
  color: white;
  font: normal 9px/15px sans-serif;
  height: 15px;
  min-width: 15px;
}
.nm-local-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 32px;
  background: #eaf0fa;
  color: #516784;
  font-size: 10px;
}
.nm-local-strip span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.nm-local-strip i {
  background: #6589ba;
  border-radius: 50%;
  height: 5px;
  width: 5px;
}
.nm-local-strip button {
  border: 0;
  background: none;
  color: #446794;
  font-size: 10px;
}
.nm-theme .page {
  padding: 28px 32px 70px;
  max-width: 1660px;
  margin: 0 auto;
  min-width: 0;
}
.nm-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 239px;
  padding: 35px 39px;
  border-radius: 16px;
  color: #f5f8ff;
  background:
    radial-gradient(ellipse at 98% 70%, #274570 0%, transparent 57%),
    linear-gradient(120deg, #0e1c35, #142744);
  box-shadow: 0 10px 24px #111d3710;
}
.nm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    120deg,
    transparent,
    transparent 95px,
    #ffffff04 95px,
    #ffffff04 96px
  );
  pointer-events: none;
}
.nm-hero-copy {
  position: relative;
}
.nm-hero .nm-eyebrow {
  color: #9fb6d8;
  font-size: 9px;
  letter-spacing: 1.6px;
}
.nm-hero h1 {
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.2;
  margin: 14px 0 8px;
  letter-spacing: -1.3px;
  font-weight: 650;
}
.nm-hero p {
  color: #9caec9;
  font-size: 13px;
  margin: 0 0 23px;
}
.nm-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.nm-hero-actions .btn {
  border-color: #ffffff25;
  background: #ffffff07;
  color: #e1eafa;
  font-size: 12px;
  padding: 11px 16px;
}
.nm-hero-actions .btn.primary {
  background: #c9f478;
  color: #1a3023;
  border-color: #c9f478;
}
.nm-hero-actions .btn:hover {
  background: #ffffff15;
}
.nm-hero-actions .btn.primary:hover {
  background: #d6ff90;
}
.nm-hero-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 25px;
  min-width: 205px;
}
.nm-hero-orbit {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #adc3ed35;
  border-radius: 50%;
  width: 92px;
  height: 92px;
  outline: 1px solid #adc3ed14;
  outline-offset: 14px;
  box-shadow: 0 0 0 29px #adc3ed07;
  margin-bottom: 25px;
  color: #c9f478;
  background: #152b4e80;
  transform: rotate(-7deg);
}
.nm-theme .nm-hero-orbit .nm-icon {
  width: 48px;
  height: 48px;
}
.nm-hero-aside > span:not(.nm-hero-orbit) {
  letter-spacing: 2px;
  font-size: 8px;
  color: #9db0cd;
}
.nm-hero-aside > b {
  font-size: 14px;
  font-weight: 500;
  margin-top: 3px;
  color: #dfe9f9;
}
.nm-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}
.nm-metric {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
  gap: 4px;
  padding: 23px 21px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  color: #162741;
  box-shadow: var(--shadow);
}
.nm-metric-icon {
  position: absolute;
  right: 19px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #6082c0;
  background: #f0f4fd;
  border-radius: 8px;
}
.nm-metric-icon .nm-icon {
  width: 17px;
  height: 17px;
}
.nm-metric-label {
  font-size: 11px;
  color: #64758e;
  padding-right: 34px;
  min-height: 32px;
}
.nm-metric > b {
  font-size: clamp(23px, 2.2vw, 32px);
  font-weight: 650;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 4px 0 15px;
}
.nm-metric-detail {
  font-size: 10px;
  color: #8491a7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
.nm-metric-detail .nm-icon {
  width: 13px;
  height: 13px;
}
.nm-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}
.nm-main-column,
.nm-side-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.nm-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  min-width: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.nm-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px 19px;
  border-bottom: 1px solid #eef1f6;
}
.nm-panel-head h2 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.4px;
  font-weight: 650;
  margin: 4px 0 0;
}
.nm-panel-head .nm-eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
}
.nm-panel-head > .btn {
  border: 0;
  color: #5876aa;
  background: none;
  font-size: 10px;
  padding: 5px;
  min-height: 32px;
}
.nm-panel-head > .btn .nm-icon {
  display: none;
}
.nm-heading-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 10px;
  background: #f0f3f9;
  color: #6c7c95;
  margin-left: 5px;
  vertical-align: middle;
  letter-spacing: 0;
}
.nm-panel-foot {
  padding: 13px 22px;
  background: #fafbfe;
  color: #7b8ba3;
  font-size: 10px;
  border-top: 1px solid #edf1f7;
}
.nm-job-card {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid #eff2f7;
  text-align: left;
  width: 100%;
  background: white;
  padding: 22px;
  color: #263a58;
}
.nm-job-card:hover {
  background: #f8faff;
}
.nm-job-card > .nm-icon {
  width: 15px;
  color: #a1afc5;
  margin-left: auto;
}
.nm-job-time {
  min-width: 50px;
  align-self: flex-start;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
}
.nm-job-time b {
  font-size: 14px;
  letter-spacing: -0.5px;
}
.nm-job-time span {
  font-size: 9px;
  color: #8a9bb2;
  margin-top: 4px;
}
.nm-job-content {
  flex: 1;
  min-width: 0;
}
.nm-job-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.nm-job-title h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
}
.nm-job-route {
  font-size: 10px;
  color: #70829e;
  margin: 7px 0;
}
.nm-job-route > span {
  padding: 0 5px;
  color: #9fb0c7;
}
.nm-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  align-items: center;
  font-size: 9px;
  color: #8494a9;
}
.nm-job-meta > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nm-job-meta .nm-icon {
  width: 13px;
  height: 13px;
}
.nm-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.4;
  border-radius: 5px;
  padding: 4px 7px;
  background: #f0f3f8;
  color: #64738b;
  text-transform: capitalize;
  max-width: 100%;
}
.nm-tag.good {
  background: #e9f5ee;
  color: #367759;
}
.nm-tag.blue {
  background: #edf2ff;
  color: #4b69b2;
}
.nm-tag.warning {
  background: #fff4dd;
  color: #946a19;
}
.nm-tag.critical {
  background: #fff0ef;
  color: #ba514a;
}
.nm-tag.attention {
  background: #edf2ff;
  color: #526f9f;
}
.nm-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 31px 24px;
  color: #526884;
}
.nm-empty > .nm-icon {
  width: 33px;
  height: 33px;
  padding: 5px;
  color: #84a3cd;
  background: #edf3fb;
  border-radius: 8px;
  margin-bottom: 11px;
}
.nm-empty > b {
  font-size: 13px;
  font-weight: 600;
}
.nm-empty > p {
  font-size: 11px;
  max-width: 290px;
  margin: 6px 0 0;
  color: #8796ac;
}
.nm-subheading {
  padding: 14px 23px 4px;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 1.2px;
  color: #92a0b5;
}
.nm-alert-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: white;
  border: 0;
  border-bottom: 1px solid #f0f3f8;
  color: #334764;
}
.nm-alert-row:hover {
  background: #fafbfe;
}
.nm-alert-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  background: #eaf0fb;
  color: #5c7aa9;
}
.nm-alert-symbol.critical {
  background: #ffedeb;
  color: #d27368;
}
.nm-alert-symbol.warning {
  background: #fff2d7;
  color: #bb902f;
}
.nm-alert-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.nm-alert-row b {
  display: block;
  font-size: 11px;
  font-weight: 650;
  margin: 1px 0 4px;
}
.nm-alert-row small {
  display: block;
  font-size: 10px;
  color: #8b99ae;
  line-height: 1.6;
}
.nm-alert-row > .nm-tag {
  font-size: 8px;
  padding: 3px 5px;
}
.nm-attention .nm-alert-row {
  flex-wrap: wrap;
}
.nm-attention .nm-alert-row > .nm-tag {
  margin-left: 32px;
  margin-top: -6px;
}
.nm-text-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: #5374ad;
  font-size: 10px;
  padding: 17px;
  width: 100%;
  font-weight: 600;
}
.nm-text-button .nm-icon {
  height: 14px;
  width: 14px;
}
.nm-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  padding: 26px 24px;
}
.nm-pipeline > button {
  min-width: 0;
  text-align: left;
  border: 0;
  padding: 0;
  background: none;
  color: #2a3f61;
}
.nm-stage-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #7b89a0;
}
.nm-stage-label i {
  height: 6px;
  width: 6px;
  flex: none;
  border-radius: 50%;
}
.nm-pipeline strong {
  display: block;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 600;
  margin: 9px 0 14px;
}
.nm-track {
  height: 4px;
  background: #eef2f8;
  border-radius: 4px;
  overflow: hidden;
}
.nm-track i {
  display: block;
  height: 100%;
  border-radius: 4px;
}
.stage-0 {
  background: #5f84e7;
}
.stage-1 {
  background: #8d81d8;
}
.stage-2 {
  background: #e0bb60;
}
.stage-3 {
  background: #7eb699;
}
.nm-fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  padding: 20px;
}
.nm-truck {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  border: 1px solid #e9edf4;
  background: #fcfdff;
  border-radius: 10px;
  padding: 17px 8px;
  color: #476286;
}
.nm-truck > .nm-icon {
  height: 32px;
  width: 32px;
  color: #698ab8;
  margin-bottom: 9px;
}
.nm-truck b {
  font-size: 11px;
}
.nm-truck small {
  font-size: 9px;
  color: #8e9bb0;
}
.nm-truck .nm-tag {
  margin: 3px 0 8px;
}
.nm-quick-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px;
}
.nm-quick-links .btn {
  background: none;
  border: 0;
  justify-content: flex-start;
  color: #60738e;
  font-size: 11px;
  font-weight: 500;
}
.nm-quick-links .btn:hover {
  background: #f1f5fc;
}
.nm-quick-links .nm-icon {
  color: #8c9eb9;
  margin-right: 4px;
}
.nm-support {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  border-radius: 13px;
  background: linear-gradient(140deg, #e9f0fb, #f1f4fa);
  color: #4f6588;
  border: 1px solid #dde6f5;
}
.nm-support > span {
  margin-bottom: 12px;
  color: #7596c6;
}
.nm-support b {
  font-size: 12px;
  font-weight: 650;
}
.nm-support p {
  font-size: 10px;
  color: #899bb6;
  margin: 7px 0 16px;
}
.nm-support .btn {
  background: transparent;
  border-color: #cbd8ed;
  color: #526e98;
  font-size: 10px;
  min-height: 36px;
}
.nm-theme .helpFab {
  display: flex;
  align-items: center;
  gap: 7px;
  position: fixed;
  right: 22px;
  bottom: 20px;
  font-size: 12px;
  color: white;
  background: #253e65;
  border: 1px solid #ffffff20;
  border-radius: 24px;
  padding: 12px 17px;
  box-shadow: 0 4px 18px #12234630;
  z-index: 30;
}
.nm-theme .helpFab .nm-icon {
  width: 17px;
  height: 17px;
}
.nm-theme .mobileNav,
.nm-menu,
.nm-nav-shade {
  display: none !important;
}
.nm-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 5px 0 27px;
}
.nm-page-title h1 {
  font-size: 29px;
  font-weight: 650;
  line-height: 1.2;
  margin: 10px 0;
}
.nm-page-title p {
  font-size: 12px;
  color: #8090a7;
  margin: 8px 0 0;
}
.nm-dispatch-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px;
}
.nm-dispatch-toolbar input,
.nm-dispatch-toolbar select {
  width: auto;
  max-width: 180px;
  font-size: 12px !important;
}
.nm-dispatch-total {
  margin-left: auto;
  font-size: 11px;
  color: #8898ae;
}
.nm-segment {
  display: flex;
  background: #edf1f8;
  border-radius: 8px;
  padding: 3px;
  margin-right: 9px;
}
.nm-segment > button {
  border: 0;
  background: transparent;
  color: #8292a9;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 11px;
}
.nm-segment > button.active {
  background: white;
  color: #29436e;
  box-shadow: 0 2px 7px #15223c08;
}
.nm-dispatch-scroll {
  overflow: auto;
}
.nm-dispatch-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(155px, 1fr));
  min-height: 470px;
}
.nm-dispatch-grid.day {
  grid-template-columns: 1fr;
  min-height: 300px;
}
.nm-day-column {
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #fafbfd;
}
.nm-day-column:last-child {
  border-right: 0;
}
.nm-day-column > header {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 15px 13px;
  border-bottom: 1px solid #e8edf5;
  background: #fff;
}
.nm-day-column > header > span {
  font-size: 10px;
  color: #94a1b5;
  text-transform: uppercase;
}
.nm-day-column > header > b {
  font-size: 14px;
  color: #4c6486;
}
.nm-day-column > header > small {
  font-size: 9px;
  color: #99a7ba;
}
.nm-day-column.today > header {
  background: #edf3ff;
  border-top: 2px solid #5380eb;
  padding-top: 13px;
}
.nm-day-jobs {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.nm-dispatch-job {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  text-align: left;
  color: #39567c;
  background: #fff;
  border: 1px solid #dfe7f5;
  border-left: 3px solid #7899de;
  border-radius: 7px;
  padding: 12px 10px;
  box-shadow: 0 3px 9px #17264305;
}
.nm-dispatch-job:hover {
  border-color: #6c91d8;
}
.nm-dispatch-job > span:first-child {
  font-size: 10px;
  color: #6887b8;
}
.nm-dispatch-job > b {
  font-size: 12px;
  line-height: 1.4;
}
.nm-dispatch-job > small {
  font-size: 10px;
  color: #8a9bb4;
}
.nm-dispatch-job > div {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: #8296b1;
}
.nm-dispatch-job .nm-icon {
  width: 14px;
  height: 14px;
}
.nm-dispatch-job .nm-tag {
  align-self: flex-start;
  font-size: 8px;
}
.nm-no-moves {
  text-align: center;
  font-size: 10px;
  color: #a3aec0;
  padding: 22px 6px;
}
.nm-dispatch-unscheduled {
  margin-top: 22px;
}
.nm-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
  position: sticky;
  top: 0;
  z-index: 100;
  background: #c9f478;
  color: #243b28;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: 12px;
}
/* Give the established modules the same readable controls without replacing them. */
.nm-theme .card,
.nm-theme .workerCard {
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
  background: #fff;
}
.nm-theme .cardHead {
  padding: 20px 22px;
  border-bottom: 1px solid #edf1f6;
}
.nm-theme .cardHead h2 {
  font-size: 17px;
  font-weight: 650;
}
.nm-theme .cardBody {
  padding: 22px;
  font-size: 13px;
}
.nm-theme .sectionTitle h2,
.nm-theme .commandTop h2,
.nm-theme .opsHero h2,
.nm-theme .jobCommandHero h2 {
  font-size: 28px;
  margin: 8px 0;
  font-weight: 650;
}
.nm-theme .commandTop p,
.nm-theme .jobCommandHero p {
  font-size: 13px;
}
.nm-theme .sectionTitle,
.nm-theme .commandTop {
  margin-bottom: 23px;
}
.nm-theme .commandMetric,
.nm-theme .metric {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 20px;
  box-shadow: var(--shadow);
}
.nm-theme .commandMetric > span,
.nm-theme .metric span {
  font-size: 12px;
}
.nm-theme .commandMetric > b,
.nm-theme .metric b {
  font-size: 27px;
}
.nm-theme .commandMetrics {
  gap: 14px;
}
.nm-theme .listRow {
  padding: 17px 0;
  gap: 16px;
}
.nm-theme .job > b,
.nm-theme .listRow b {
  font-size: 13px;
}
.nm-theme .job > small,
.nm-theme .listRow small {
  font-size: 12px;
  line-height: 1.7;
}
.nm-theme .pill {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 6px;
}
.nm-theme .jobTabs {
  gap: 6px;
  padding: 12px 0;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
}
.nm-theme .jobCommandHero {
  background: #112442;
  color: #eff4fc;
  border-radius: 13px;
  padding: 28px;
}
.nm-theme .jobCommandHero p,
.nm-theme .jobCommandHero .eyebrow {
  color: #9fb3d0;
}
.nm-theme .jobTab.active {
  background: #dce8ff;
  color: #264e94;
  border-color: #b6c9f0;
}
.nm-theme .workflowStep {
  font-size: 12px;
  padding: 15px;
  border-radius: 8px;
}
.nm-theme .builderGrid {
  gap: 17px;
}
.nm-theme .formRow {
  gap: 16px;
}
.nm-theme .workerHead b {
  font-size: 16px;
}
.nm-theme .workerHead span,
.nm-theme .workerStat span {
  font-size: 12px;
}
.nm-theme .workerStat b {
  font-size: 17px;
}
.nm-theme .threadCard b {
  font-size: 13px;
}
.nm-theme .threadCard small,
.nm-theme .threadCard span {
  font-size: 12px;
}
.nm-theme .threadView {
  font-size: 14px;
}
.nm-theme th,
.nm-theme td {
  font-size: 12px;
  padding: 12px;
}
.nm-theme .tabs button {
  font-size: 12px;
  padding: 10px 15px;
}
.nm-theme .cardBody [style*="font-size:8px"],
.nm-theme .cardBody [style*="font-size:9px"],
.nm-theme .cardBody [style*="font-size:10px"] {
  font-size: 12px !important;
}
.nm-theme .emptyState {
  padding: 25px;
  font-size: 13px;
  color: #8496ad;
}
.nm-theme .setupStrip {
  font-size: 12px;
  padding: 14px 18px;
  border-radius: 10px;
}
.nm-theme .messageLayout {
  border-radius: 13px;
}
.nm-theme .tableWrap {
  overflow-x: auto;
}
/* Welcome screen */
.nm-login {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 100dvh;
}
.nm-login-story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 48px 60px;
  color: #f2f6ff;
  background:
    radial-gradient(ellipse at 0 110%, #274e7c 0, transparent 65%),
    linear-gradient(140deg, #0b1529, #15294a);
}
.nm-login-story:after {
  content: "";
  position: absolute;
  height: 560px;
  width: 560px;
  border: 1px solid #ffffff09;
  border-radius: 50%;
  box-shadow:
    0 0 0 75px #ffffff03,
    0 0 0 150px #ffffff02;
  right: -300px;
  bottom: -310px;
  pointer-events: none;
}
.nm-wordmark {
  display: flex;
  gap: 13px;
  align-items: center;
  color: #e2ebfc;
  line-height: 1.3;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1.4px;
}
.nm-wordmark b {
  font-weight: 750;
}
.nm-wordmark small {
  display: block;
  font-size: 8px;
  margin-top: 5px;
  color: #8499bb;
  letter-spacing: 1.5px;
}
.nm-story-copy {
  position: relative;
  margin: 75px 0;
  z-index: 1;
}
.nm-story-copy > .nm-eyebrow {
  color: #7f9ac2;
  font-size: 9px;
  letter-spacing: 2px;
}
.nm-story-copy h1 {
  font-size: clamp(36px, 4.2vw, 66px);
  line-height: 1.13;
  letter-spacing: -3px !important;
  font-weight: 550;
  margin: 23px 0;
}
.nm-story-copy em {
  font-style: normal;
  color: #c9f478;
}
.nm-story-copy p {
  font-size: 14px;
  line-height: 1.9;
  color: #819abe;
}
.nm-story-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.nm-story-pills > span {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #9db3d3;
  border: 1px solid #ffffff16;
  border-radius: 25px;
  padding: 10px 12px;
}
.nm-story-pills .nm-icon {
  width: 14px;
  height: 14px;
  color: #b1cd91;
}
.nm-story-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  color: #7189ac;
}
.nm-story-footer span {
  color: #657da0;
}
.nm-login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8faff;
  padding: 48px;
}
.nm-login-card {
  width: 100%;
  max-width: 365px;
}
.nm-login-card h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  margin: 15px 0 10px;
  letter-spacing: -1.7px;
}
.nm-login-card > p {
  font-size: 13px;
  color: #8d9ab0;
}
.nm-login-card > .nm-eyebrow {
  font-size: 9px;
  color: #8a9db7;
}
.nm-mode-note {
  display: flex;
  gap: 12px;
  padding: 15px;
  border: 1px solid #e0e7f3;
  border-radius: 9px;
  background: #f0f4fc;
  margin: 31px 0 25px;
  color: #7391bb;
}
.nm-mode-note > .nm-icon {
  margin-top: 2px;
}
.nm-mode-note b {
  display: block;
  font-size: 11px;
  color: #516e97;
  font-weight: 600;
}
.nm-mode-note span {
  display: block;
  font-size: 10px;
  color: #7c94b6;
  margin-top: 5px;
  line-height: 1.7;
}
.nm-login-card label {
  display: block;
  font-size: 11px;
  color: #6a7d99;
  margin-bottom: 8px;
}
.nm-login-card select {
  width: 100%;
  margin-bottom: 18px;
  background: white;
  min-height: 49px !important;
  font-size: 13px !important;
}
.nm-login-card .btn.primary {
  min-height: 48px;
}
.nm-login-card .nm-login-help {
  font-size: 10px;
  line-height: 1.8;
  color: #95a4bc;
  margin-top: 22px;
}
.nm-contact {
  display: block;
  margin-top: 34px;
  text-decoration: none;
  color: #7b94b7;
  font-size: 10px;
}
@media (min-width: 1600px) {
  .nm-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 370px;
  }
  .nm-hero {
    min-height: 258px;
  }
  .nm-theme .page {
    padding-top: 32px;
  }
}
@media (max-width: 1250px) {
  .nm-theme .sidebar {
    width: 218px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .nm-theme .main {
    margin-left: 218px;
  }
  .nm-theme .page {
    padding: 22px 22px 65px;
  }
  .nm-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 16px;
  }
  .nm-main-column,
  .nm-side-column {
    gap: 16px;
  }
  .nm-panel-head {
    padding: 19px;
  }
  .nm-hero {
    padding: 29px;
  }
  .nm-hero-aside {
    min-width: 160px;
    padding: 0 15px;
  }
  .nm-metric {
    padding: 19px 16px;
  }
  .nm-metric-icon {
    right: 13px;
    top: 16px;
  }
  .nm-metric-label {
    font-size: 10px;
  }
  .nm-fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nm-breadcrumb {
    font-size: 11px;
  }
  .nm-theme .globalSearch {
    width: 210px;
  }
  .nm-login-story {
    padding: 42px;
  }
  .nm-login-panel {
    padding: 40px;
  }
}
@media (max-width: 1040px) {
  .nm-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .nm-side-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .nm-side-column > .nm-attention {
    grid-row: span 2;
  }
  .nm-metric-detail {
    font-size: 9px;
  }
  .nm-theme .topbar {
    padding: 12px 22px;
  }
  .nm-hero-aside {
    display: none;
  }
  .nm-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nm-metric-label {
    font-size: 12px;
    min-height: 24px;
  }
  .nm-metric > b {
    font-size: 30px;
  }
  .nm-fleet-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nm-login {
    grid-template-columns: 1fr 1fr;
  }
  .nm-login-story {
    padding: 30px;
  }
  .nm-login-panel {
    padding: 30px;
  }
  .nm-story-pills {
    gap: 8px;
  }
  .nm-story-footer span {
    display: none;
  }
}
@media (max-width: 800px) {
  .nm-theme .main {
    margin-left: 0;
  }
  .nm-theme .sidebar {
    transform: translateX(-100%);
    transition: transform 0.18s;
    width: 272px;
  }
  .nm-theme.nm-nav-open .sidebar {
    transform: translateX(0);
  }
  .nm-theme.nm-nav-open .nm-nav-shade {
    display: block !important;
    position: fixed;
    inset: 0;
    background: #07112790;
    border: 0;
    z-index: 34;
  }
  .nm-theme .nm-menu {
    display: inline-flex !important;
    padding: 7px;
    min-height: 36px;
    background: none;
    border: 0;
  }
  .nm-theme .mobileNav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 7px 8px max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid #e1e7f1;
    background: #fffffff5;
    backdrop-filter: blur(10px);
    z-index: 30;
    justify-content: space-around;
  }
  .nm-theme .mobileNav button {
    border: 0;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 46px;
    min-width: 56px;
    color: #8c9bb1;
    padding: 4px 7px;
    font-size: 9px;
  }
  .nm-theme .mobileNav button.active {
    color: #3c65b8;
    background: #edf3ff;
    border-radius: 8px;
  }
  .nm-theme .mobileNav .nm-icon {
    height: 19px;
    width: 19px;
  }
  .nm-theme .helpFab {
    bottom: 86px;
    right: 16px;
    min-height: 44px;
  }
  .nm-theme .page {
    padding-bottom: 118px;
  }
  .nm-theme .topbar {
    min-height: 64px;
    padding: 10px 17px;
    gap: 10px;
  }
  .nm-header-left,
  .nm-header-right {
    gap: 11px;
  }
  .nm-theme .globalSearch {
    width: 220px;
  }
  .nm-local-strip {
    padding: 8px 20px;
  }
  .nm-theme .nm-page-title h1 {
    font-size: 24px;
  }
  .nm-dispatch-grid {
    grid-template-columns: repeat(7, minmax(205px, 1fr));
  }
  .nm-page-title {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .nm-theme .cardBody {
    padding: 17px;
  }
  .nm-login {
    grid-template-columns: 1fr;
  }
  .nm-login-story {
    padding: 28px;
    min-height: 310px;
  }
  .nm-story-copy {
    margin: 38px 0 10px;
  }
  .nm-story-copy h1 {
    font-size: 40px;
    letter-spacing: -1.7px !important;
    margin: 17px 0;
  }
  .nm-story-copy p {
    font-size: 12px;
  }
  .nm-story-pills {
    margin-top: 24px;
  }
  .nm-story-footer {
    display: none;
  }
  .nm-login-panel {
    padding: 35px 25px 45px;
  }
  .nm-login-card {
    max-width: 440px;
  }
  .nm-login-card h2 {
    font-size: 29px;
  }
  .nm-mode-note {
    margin: 24px 0;
  }
  .nm-login-card .nm-login-help {
    font-size: 12px;
  }
  .nm-mode-note b {
    font-size: 13px;
  }
  .nm-mode-note span {
    font-size: 12px;
  }
  .nm-contact {
    font-size: 12px;
  }
  .nm-login-card label {
    font-size: 12px;
  }
}
@media (max-width: 560px) {
  .nm-theme .globalSearch {
    width: 35px;
  }
  .nm-theme .globalSearch > input {
    position: absolute;
    opacity: 0;
    right: 0;
    width: 35px;
    cursor: pointer;
  }
  .nm-theme .globalSearch:focus-within {
    position: absolute;
    left: 16px;
    right: 64px;
    top: 12px;
    z-index: 50;
    width: auto;
    background: #fff;
    border: 1px solid #bdcee9;
    border-radius: 8px;
    padding: 5px 10px;
  }
  .nm-theme .globalSearch:focus-within > input {
    position: static;
    opacity: 1;
    width: 100%;
    min-height: 30px;
  }
  .nm-theme #globalSearchResults {
    min-width: 280px;
    max-width: calc(100vw - 35px);
  }
  .nm-breadcrumb {
    font-size: 10px;
  }
  .nm-breadcrumb > span {
    margin: 0 7px;
  }
  .nm-theme .page {
    padding: 17px 15px 115px;
  }
  .nm-local-strip {
    padding: 7px 17px;
    font-size: 9px;
  }
  .nm-local-strip button {
    font-size: 9px;
  }
  .nm-hero {
    padding: 26px 23px;
    min-height: 230px;
    border-radius: 13px;
  }
  .nm-hero .nm-eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .nm-hero h1 {
    font-size: 28px;
    letter-spacing: -1px;
    max-width: 260px;
  }
  .nm-hero p {
    font-size: 12px;
    max-width: 260px;
    margin-bottom: 22px;
  }
  .nm-hero-actions {
    gap: 8px;
  }
  .nm-hero-actions .btn {
    font-size: 11px;
    padding: 11px 12px;
    min-height: 44px;
  }
  .nm-metrics {
    gap: 11px;
    margin: 16px 0;
  }
  .nm-metric {
    padding: 17px 13px 15px;
  }
  .nm-metric-label {
    font-size: 10px;
    max-width: 100%;
    padding-right: 25px;
    min-height: 33px;
  }
  .nm-metric-icon {
    width: 26px;
    height: 26px;
    right: 11px;
    top: 13px;
  }
  .nm-metric-icon .nm-icon {
    width: 14px;
    height: 14px;
  }
  .nm-metric > b {
    font-size: 25px;
    margin-bottom: 10px;
  }
  .nm-metric-detail {
    font-size: 9px;
    line-height: 1.5;
    min-height: 26px;
  }
  .nm-side-column {
    display: flex;
    flex-direction: column;
  }
  .nm-side-column > * {
    width: 100%;
  }
  .nm-panel-head {
    padding: 20px 17px;
  }
  .nm-panel-head h2 {
    font-size: 16px;
  }
  .nm-job-card {
    padding: 18px 14px;
    gap: 12px;
  }
  .nm-job-card > .nm-icon {
    display: none;
  }
  .nm-job-time {
    min-width: 39px;
  }
  .nm-job-time b {
    font-size: 12px;
  }
  .nm-job-title h3 {
    font-size: 13px;
  }
  .nm-job-route {
    font-size: 11px;
  }
  .nm-job-meta {
    font-size: 10px;
  }
  .nm-job-title .nm-tag {
    font-size: 9px;
  }
  .nm-pipeline {
    grid-template-columns: 1fr 1fr;
    padding: 23px 18px;
    gap: 24px;
  }
  .nm-stage-label {
    font-size: 11px;
  }
  .nm-pipeline strong {
    font-size: 30px;
    margin: 8px 0;
  }
  .nm-fleet-grid {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }
  .nm-truck b {
    font-size: 12px;
  }
  .nm-truck small {
    font-size: 10px;
  }
  .nm-tag {
    font-size: 10px;
  }
  .nm-alert-row b {
    font-size: 12px;
  }
  .nm-alert-row small {
    font-size: 11px;
  }
  .nm-attention .nm-alert-row > .nm-tag {
    font-size: 9px;
  }
  .nm-text-button {
    font-size: 12px;
    min-height: 44px;
  }
  .nm-quick-links .btn {
    font-size: 13px;
    min-height: 46px;
  }
  .nm-theme .btn.small {
    min-height: 44px;
  }
  .nm-theme input:not([type="checkbox"]):not([type="radio"]),
  .nm-theme select,
  .nm-theme textarea {
    font-size: 16px !important;
    min-height: 44px;
  }
  .nm-dispatch-toolbar {
    gap: 7px;
    padding: 14px;
  }
  .nm-dispatch-toolbar select {
    max-width: 100%;
    flex: 1;
  }
  .nm-dispatch-toolbar .nm-segment {
    margin: 0 5px 0 0;
  }
  .nm-dispatch-total {
    width: 100%;
    margin-top: 8px;
  }
  .nm-day-column > header > b {
    font-size: 16px;
  }
  .nm-day-column > header > small {
    font-size: 11px;
  }
  .nm-dispatch-job > b {
    font-size: 14px;
  }
  .nm-dispatch-job > small {
    font-size: 12px;
  }
  .nm-dispatch-job > div,
  .nm-dispatch-job > span:first-child {
    font-size: 11px;
  }
  .nm-dispatch-job .nm-tag {
    font-size: 10px;
  }
  .nm-theme .builderGrid,
  .nm-theme .layout,
  .nm-theme .formRow {
    grid-template-columns: 1fr;
  }
  .nm-theme .commandMetrics {
    grid-template-columns: 1fr 1fr;
  }
  .nm-theme .listRow {
    flex-wrap: wrap;
  }
  .nm-theme .sectionTitle h2,
  .nm-theme .commandTop h2,
  .nm-theme .jobCommandHero h2 {
    font-size: 24px;
  }
  .nm-theme .jobTabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .nm-theme .jobTabs .btn {
    white-space: nowrap;
  }
  .nm-theme .jobCommandHero {
    padding: 23px;
  }
  .nm-theme .jobTabs .btn.small {
    font-size: 12px;
  }
  .nm-theme .workflowSteps {
    grid-template-columns: 1fr 1fr;
  }
  .nm-theme .messageLayout {
    grid-template-columns: 1fr;
  }
  .nm-theme .threadList {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .nm-panel-foot {
    font-size: 11px;
    padding: 13px 17px;
  }
  .nm-support p {
    font-size: 12px;
  }
  .nm-support b {
    font-size: 14px;
  }
  .nm-support .btn {
    font-size: 12px;
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nm-theme * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .nm-theme .sidebar,
  .nm-theme .topbar,
  .nm-theme .mobileNav,
  .nm-theme .helpFab,
  .nm-theme .nm-local-strip,
    display: none !important;
  }
  .nm-theme .main {
    margin: 0;
  }
  .nm-theme .page {
    padding: 0;
  }
  .nm-theme {
    background: white;
  }
}
/* Readable labels at office-monitor distance. */
.nm-theme .nav button {
  font-size: 13px;
}
.nm-theme .nm-metric-label {
  font-size: 12px;
}
.nm-theme .nm-metric-detail {
  font-size: 11px;
}
.nm-theme .nm-job-route {
  font-size: 12px;
}
.nm-theme .nm-job-meta {
  font-size: 11px;
}
.nm-theme .nm-alert-row b {
  font-size: 12px;
}
.nm-theme .nm-alert-row small {
  font-size: 11px;
}
.nm-theme .nm-panel-foot {
  font-size: 11px;
}
.nm-theme .nm-stage-label {
  font-size: 11px;
}
.nm-theme .nm-quick-links .btn {
  font-size: 12px;
}
.nm-theme .nm-local-strip {
  font-size: 11px;
}
.nm-theme .nm-hero p {
  font-size: 14px;
}
.nm-theme .nm-login-card > .nm-login-help {
  font-size: 12px;
}
.nm-theme .nm-mode-note span {
  font-size: 12px;
}
.nm-theme .nm-mode-note b {
  font-size: 13px;
}
@media (max-width: 560px) {
  .nm-theme .nm-metric-label {
    font-size: 11px;
  }
  .nm-theme .nm-metric-detail {
    font-size: 10px;
  }
  .nm-theme .nm-local-strip {
    font-size: 9px;
  }
  .nm-theme .nm-hero p {
    font-size: 12px;
  }
}
  font-size: 11px;
  line-height: 1.6;
  background: #fff8e6;
  color: #806728;
  border-bottom: 1px solid #eee3bc;
  padding: 10px 32px;
}
  border: 1px solid #eee3bc;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 18px;
}
@media (max-width: 800px) {
    padding: 10px 18px;
  }
}

/* ========================================================================== 
   PREMIUM OPERATIONS THEME · Q1–Q10 · 2026-09-22
   Luxury dark, strong brand colour, glow, soft raised cards, Apple-like widgets.
   ========================================================================== */
body.nm-theme{
  --nm-ink:#f7fbff;
  --nm-muted:#8fa2b9;
  --nm-bg:#050910;
  --nm-bg-2:#09101b;
  --nm-panel:#0c1421;
  --nm-panel-2:#101b2b;
  --nm-line:rgba(143,174,211,.14);
  --nm-blue:#2589ff;
  --nm-cyan:#52d6ff;
  --nm-lime:#b8f23a;
  --nm-danger:#ff5e78;
  --nm-warning:#ffbd54;
  --nm-glow:0 18px 60px rgba(27,115,255,.12),0 1px 0 rgba(255,255,255,.04) inset;
  background:
    radial-gradient(circle at 68% -10%,rgba(37,137,255,.16),transparent 34rem),
    radial-gradient(circle at 15% 82%,rgba(184,242,58,.045),transparent 27rem),
    linear-gradient(145deg,#04070c 0%,#07101b 53%,#05080d 100%);
  color:var(--nm-ink);
}
body.nm-theme .appShell{background:transparent;color:var(--nm-ink)}
body.nm-theme .main{background:transparent;min-width:0}
body.nm-theme .sidebar{
  width:272px;
  background:linear-gradient(180deg,rgba(8,14,24,.98),rgba(4,8,14,.99));
  border-right:1px solid rgba(82,214,255,.09);
  box-shadow:18px 0 55px rgba(0,0,0,.18);
  backdrop-filter:blur(20px);
}
body.nm-theme .brand{border-bottom:1px solid var(--nm-line)}
body.nm-theme .brandText b{color:#fff;letter-spacing:.055em}
body.nm-theme .brandText span,.nm-workspace{color:#7990aa}
body.nm-theme .nm-mark{
  color:var(--nm-lime);
  background:linear-gradient(145deg,rgba(184,242,58,.13),rgba(37,137,255,.10));
  border:1px solid rgba(184,242,58,.22);
  box-shadow:0 0 30px rgba(184,242,58,.08);
}
body.nm-theme .nav>button,body.nm-theme .nm-nav-group>button,body.nm-theme .nm-nav-group summary{
  color:#9daec2;
  border:1px solid transparent;
  border-radius:13px;
}
body.nm-theme .nav>button:hover,body.nm-theme .nm-nav-group>button:hover{
  color:#fff;background:rgba(37,137,255,.08);border-color:rgba(82,214,255,.10)
}
body.nm-theme .nav button.active,body.nm-theme .nav button[aria-current="page"]{
  color:#fff;
  background:linear-gradient(90deg,rgba(37,137,255,.20),rgba(37,137,255,.055));
  border-color:rgba(82,214,255,.16);
  box-shadow:0 0 30px rgba(37,137,255,.08);
}
body.nm-theme .sideFoot{border-top:1px solid var(--nm-line);background:rgba(255,255,255,.015)}
body.nm-theme .topbar{
  background:rgba(5,9,16,.80);
  border-bottom:1px solid var(--nm-line);
  backdrop-filter:blur(22px) saturate(130%);
}
body.nm-theme .nm-breadcrumb{color:#71849b}body.nm-theme .nm-breadcrumb b{color:#eaf3ff}
body.nm-theme .globalSearch{
  background:rgba(13,22,35,.78);border:1px solid rgba(143,174,211,.15);
  box-shadow:0 10px 35px rgba(0,0,0,.16);
}
body.nm-theme .globalSearch input{background:transparent!important;color:#edf7ff!important}
body.nm-theme .globalSearch input::placeholder{color:#6d8097}
body.nm-theme .nm-local-strip{background:rgba(9,16,27,.72);border-bottom:1px solid var(--nm-line);color:#758ba4}
body.nm-theme .page{background:transparent;color:var(--nm-ink)}
body.nm-theme .nm-hero{
  overflow:hidden;position:relative;
  background:
    radial-gradient(circle at 85% 20%,rgba(82,214,255,.12),transparent 25rem),
    radial-gradient(circle at 18% 100%,rgba(184,242,58,.06),transparent 18rem),
    linear-gradient(145deg,rgba(14,26,43,.94),rgba(7,13,23,.94));
  border:1px solid rgba(105,163,226,.16);
  box-shadow:0 26px 75px rgba(0,0,0,.28),0 0 70px rgba(37,137,255,.07),inset 0 1px 0 rgba(255,255,255,.05);
}
body.nm-theme .nm-hero:after{content:"";position:absolute;inset:auto -8% -80% 45%;height:230%;background:linear-gradient(90deg,transparent,rgba(82,214,255,.035),transparent);transform:rotate(-18deg);pointer-events:none}
body.nm-theme .nm-hero h1{color:#fff;text-shadow:0 0 30px rgba(82,214,255,.06)}
body.nm-theme .nm-hero p{color:#92a7c0}.nm-hero-aside{color:#9fb5cc}
body.nm-theme .nm-eyebrow{color:var(--nm-cyan);letter-spacing:.13em;font-weight:750}
body.nm-theme .nm-metric,body.nm-theme .nm-panel,body.nm-theme .nm-support,
body.nm-theme .card,body.nm-theme .docCard,body.nm-theme .moneyCard,body.nm-theme .bankCard,
body.nm-theme .jobOpsCard,body.nm-theme .reportCard{
  background:linear-gradient(150deg,rgba(15,25,41,.96),rgba(9,16,27,.96));
  color:var(--nm-ink);
  border:1px solid rgba(132,168,209,.13);
  box-shadow:var(--nm-glow);
}
body.nm-theme .nm-metric:hover,body.nm-theme .nm-panel:hover,body.nm-theme .docCard:hover{
  border-color:rgba(82,214,255,.24);
  box-shadow:0 22px 70px rgba(0,0,0,.26),0 0 38px rgba(37,137,255,.09),inset 0 1px 0 rgba(255,255,255,.06);
}
body.nm-theme .nm-metric-icon{color:var(--nm-cyan);background:rgba(37,137,255,.11);border:1px solid rgba(82,214,255,.13)}
body.nm-theme .nm-metric-label,body.nm-theme .nm-metric-detail,body.nm-theme .nm-panel p,body.nm-theme .nm-muted{color:var(--nm-muted)}
body.nm-theme .nm-metric b,body.nm-theme .nm-panel h2,body.nm-theme .card h2,body.nm-theme h1,body.nm-theme h2,body.nm-theme h3{color:#f8fbff}
body.nm-theme .nm-job-card,body.nm-theme .nm-alert-row,body.nm-theme .listRow,body.nm-theme .nm-dispatch-job{
  background:rgba(255,255,255,.018);color:#e9f2fb;border-color:rgba(143,174,211,.10)
}
body.nm-theme .nm-job-card:hover,body.nm-theme .nm-alert-row:hover,body.nm-theme .nm-dispatch-job:hover{background:rgba(37,137,255,.06);border-color:rgba(82,214,255,.18)}
body.nm-theme .nm-job-route,body.nm-theme .nm-job-meta,body.nm-theme small{color:#8297af}
body.nm-theme .btn{
  color:#e7f0fa;background:rgba(255,255,255,.035);border-color:rgba(142,174,210,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)
}
body.nm-theme .btn:hover{background:rgba(82,214,255,.07);border-color:rgba(82,214,255,.24)}
body.nm-theme .btn.primary{
  color:#fff;background:linear-gradient(135deg,#147bf0,#2c9aff);border-color:rgba(82,214,255,.34);
  box-shadow:0 10px 28px rgba(37,137,255,.22),inset 0 1px 0 rgba(255,255,255,.20)
}
body.nm-theme .btn.green{color:#0b1604;background:linear-gradient(135deg,#a8e932,#c9ff61);border-color:#d8ff83;box-shadow:0 10px 28px rgba(184,242,58,.14)}
body.nm-theme input,body.nm-theme select,body.nm-theme textarea{
  background:#0a121e!important;color:#eaf3ff!important;border:1px solid rgba(143,174,211,.17)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)
}
body.nm-theme input:focus,body.nm-theme select:focus,body.nm-theme textarea:focus{border-color:rgba(82,214,255,.48)!important;box-shadow:0 0 0 3px rgba(37,137,255,.10)!important}
body.nm-theme input:disabled,body.nm-theme textarea:disabled{color:#8ca0b7!important;background:#07101a!important}
body.nm-theme label{color:#91a5bb}
body.nm-theme .table th{color:#7189a4;border-color:var(--nm-line)}body.nm-theme .table td{color:#dbe6f2;border-color:var(--nm-line)}
body.nm-theme .pill{background:rgba(255,255,255,.05);color:#b8c7d8;border:1px solid rgba(143,174,211,.13)}
body.nm-theme .pill.green,.nm-tag.good{color:#d9ff92;background:rgba(184,242,58,.09);border-color:rgba(184,242,58,.18)}
body.nm-theme .pill.yellow,.nm-tag.warning{color:#ffd99a;background:rgba(255,189,84,.08);border-color:rgba(255,189,84,.18)}
body.nm-theme .nm-tag.blue{color:#a7dcff;background:rgba(37,137,255,.10);border-color:rgba(82,214,255,.16)}
body.nm-theme .nm-tag.critical{color:#ffafbd;background:rgba(255,94,120,.09);border-color:rgba(255,94,120,.18)}
body.nm-theme .nm-login{background:#050910}.nm-login-panel{background:radial-gradient(circle at 50% 30%,rgba(37,137,255,.13),transparent 22rem),#050910}.nm-login-card{background:linear-gradient(145deg,#0d1726,#07101b);border:1px solid rgba(82,214,255,.14);box-shadow:0 35px 90px rgba(0,0,0,.42),0 0 60px rgba(37,137,255,.07)}

/* Collapsible grouped sidebar */
body.nm-theme .nm-collapse{display:inline-flex}
body.nm-theme.nm-sidebar-collapsed .sidebar{width:86px}
body.nm-theme.nm-sidebar-collapsed .brandText,body.nm-theme.nm-sidebar-collapsed .nm-workspace,
body.nm-theme.nm-sidebar-collapsed .sidebar nav button>span,body.nm-theme.nm-sidebar-collapsed .nm-nav-group summary,
body.nm-theme.nm-sidebar-collapsed .sideFoot>div,body.nm-theme.nm-sidebar-collapsed .sideFoot #nmSwitchProfile{display:none}
body.nm-theme.nm-sidebar-collapsed .brand{justify-content:center;padding-inline:0}
body.nm-theme.nm-sidebar-collapsed .nav>button,body.nm-theme.nm-sidebar-collapsed .nm-nav-group>button{justify-content:center;padding-inline:0;min-height:44px}
body.nm-theme.nm-sidebar-collapsed .nm-count{position:absolute;transform:translate(15px,-13px)}
body.nm-theme.nm-sidebar-collapsed .sideFoot{justify-content:center}

/* Apple-style rearrangeable dashboard widgets */
body.nm-theme .nm-premium-widget{position:relative;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;cursor:grab}
body.nm-theme .nm-premium-widget:active{cursor:grabbing}
body.nm-theme .nm-premium-widget:before{content:"⋮⋮";position:absolute;right:12px;top:8px;font-size:10px;letter-spacing:-2px;color:rgba(143,174,211,.26);opacity:0;transition:opacity .15s;z-index:2}
body.nm-theme .nm-premium-widget:hover:before{opacity:1}
body.nm-theme .nm-widget-dragging{opacity:.48;transform:scale(.985);box-shadow:0 0 0 2px rgba(82,214,255,.18),0 28px 80px rgba(0,0,0,.35)!important}
body.nm-theme .nm-customize{font-size:11px}

/* Q252-Q258 billing approval / payment gate */
body.nm-theme .nm-billing-gate{border-color:rgba(82,214,255,.18);box-shadow:0 24px 75px rgba(0,0,0,.26),0 0 45px rgba(37,137,255,.08)}
body.nm-theme .nm-billing-rule{display:flex;gap:6px;flex-direction:column;padding:13px 15px;margin-bottom:14px;border-radius:14px;background:linear-gradient(135deg,rgba(37,137,255,.11),rgba(82,214,255,.035));border:1px solid rgba(82,214,255,.14)}
body.nm-theme .nm-billing-rule span{font-size:11px;color:#8fa6bf}
body.nm-theme .nm-billing-total{display:flex;align-items:center;justify-content:space-between;margin:14px 0;padding:16px 18px;border-radius:15px;background:rgba(184,242,58,.055);border:1px solid rgba(184,242,58,.15)}
body.nm-theme .nm-billing-total span{color:#a4b5c7}body.nm-theme .nm-billing-total b{font-size:24px;color:#d9ff92}
body.nm-theme .nm-approved-proof{display:flex;justify-content:space-between;gap:12px;margin:14px 0;padding:13px 15px;border-radius:13px;background:rgba(184,242,58,.06);border:1px solid rgba(184,242,58,.14)}
body.nm-theme .nm-approved-proof span{color:#8fa6bf;font-size:11px;text-align:right}
body.nm-theme .nm-payment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
body.nm-theme .nm-payment-summary>div{padding:13px;border-radius:13px;background:rgba(255,255,255,.025);border:1px solid var(--nm-line);display:flex;flex-direction:column;gap:5px}
body.nm-theme .nm-payment-summary span{font-size:10px;color:#7f95ad;text-transform:uppercase;letter-spacing:.08em}.nm-payment-summary b{font-size:18px}
body.nm-theme .nm-payment-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:11px 0;border-top:1px solid var(--nm-line)}
body.nm-theme .nm-payment-row>div{display:flex;flex-direction:column}.nm-payment-row small{margin-top:3px}
body.nm-theme .nm-tip-separation{margin-top:16px;padding:14px 15px;border-radius:14px;background:rgba(184,242,58,.045);border:1px solid rgba(184,242,58,.13);display:flex;flex-direction:column;gap:5px}
body.nm-theme .nm-tip-separation b{color:#d8ff8d}.nm-tip-separation span{font-size:11px;color:#91a5bb}

@media (max-width:900px){
  body.nm-theme .nm-collapse{display:none}
  body.nm-theme.nm-sidebar-collapsed .sidebar{width:min(88vw,310px)}
  body.nm-theme.nm-sidebar-collapsed .brandText,body.nm-theme.nm-sidebar-collapsed .nm-workspace,
  body.nm-theme.nm-sidebar-collapsed .sidebar nav button>span,body.nm-theme.nm-sidebar-collapsed .nm-nav-group summary,
  body.nm-theme.nm-sidebar-collapsed .sideFoot>div,body.nm-theme.nm-sidebar-collapsed .sideFoot #nmSwitchProfile{display:initial}
  body.nm-theme .nm-payment-summary{grid-template-columns:1fr}
}

/* Q259-Q276 protected move-day workflow */
.q276-wrap{display:grid;gap:12px;margin:12px 0}.q276-head{margin:0}.q276-stage{overflow:hidden}.q276-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.q276-grid>div{border:1px solid var(--line);border-radius:12px;padding:10px;background:rgba(255,255,255,.025)}.q276-grid span{display:block;font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.q276-grid b{display:block;font-size:10px;margin-top:4px}.q276-proof{border:1px solid rgba(61,220,151,.28);background:rgba(61,220,151,.07);padding:11px;border-radius:12px;margin-top:8px}.q276-proof b,.q276-proof span,.q276-proof small{display:block}.q276-proof span,.q276-proof small{font-size:8px;color:var(--muted);margin-top:3px}.q276-form{margin-top:10px;border:1px solid var(--line);background:rgba(4,12,23,.48);border-radius:14px;padding:12px}.q276-canvas{width:100%;height:160px;background:#fff;border-radius:12px;border:1px solid #59718b;touch-action:none}.q276-sub{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.q276-evidence{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px;border:1px solid var(--line);border-radius:12px;margin-top:7px;background:rgba(255,255,255,.02)}.q276-evidence b,.q276-evidence span,.q276-evidence small{display:block}.q276-evidence span,.q276-evidence small{font-size:8px;color:var(--muted);margin-top:3px}@media(max-width:780px){.q276-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.q276-grid{grid-template-columns:1fr}.q276-evidence{grid-template-columns:1fr}}
/* Q259-Q276 protected move-day workflow */
.q276-wrap{display:grid;gap:12px;margin:12px 0}.q276-head{margin:0}.q276-stage{overflow:hidden}.q276-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.q276-grid>div{border:1px solid var(--line);border-radius:12px;padding:10px;background:rgba(255,255,255,.025)}.q276-grid span{display:block;font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.q276-grid b{display:block;font-size:10px;margin-top:4px}.q276-proof{border:1px solid rgba(61,220,151,.28);background:rgba(61,220,151,.07);padding:11px;border-radius:12px;margin-top:8px}.q276-proof b,.q276-proof span,.q276-proof small{display:block}.q276-proof span,.q276-proof small{font-size:8px;color:var(--muted);margin-top:3px}.q276-form{margin-top:10px;border:1px solid var(--line);background:rgba(4,12,23,.48);border-radius:14px;padding:12px}.q276-canvas{width:100%;height:160px;background:#fff;border-radius:12px;border:1px solid #59718b;touch-action:none}.q276-sub{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.q276-evidence{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px;border:1px solid var(--line);border-radius:12px;margin-top:7px;background:rgba(255,255,255,.02)}.q276-evidence b,.q276-evidence span,.q276-evidence small{display:block}.q276-evidence span,.q276-evidence small{font-size:8px;color:var(--muted);margin-top:3px}@media(max-width:780px){.q276-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.q276-grid{grid-template-columns:1fr}.q276-evidence{grid-template-columns:1fr}}
