:root {
  --nvx-blue: #075789;
  --nvx-blue-deep: #063c71;
  --nvx-blue-pale: #eaf5fb;
  --nvx-green: #23a567;
  --nvx-orange: #f28b32;
  --nvx-red: #d34a50;
  --nvx-ink: #102a43;
  --nvx-muted: #6b7f93;
  --nvx-line: #dfe9f1;
  --nvx-surface: #ffffff;
  --nvx-bg: #f4f8fb;
}

body.nvx-material-open {
  overflow: hidden !important;
}

.nvx-material-layer,
.nvx-submodal-layer {
  align-items: center;
  background: rgba(2, 29, 53, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 9998;
}

.nvx-material-shell {
  background: var(--nvx-bg);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(1, 26, 49, 0.38);
  display: flex;
  flex-direction: column;
  height: min(94vh, 980px);
  max-width: 1780px;
  overflow: hidden;
  width: min(98vw, 1780px);
}

.nvx-material-header {
  align-items: center;
  background:
    radial-gradient(circle at 75% -80%, rgba(84, 202, 241, 0.45), transparent 45%),
    linear-gradient(125deg, #063c71, #0878aa);
  color: white;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 92px;
  padding: 18px 24px;
}

.nvx-material-brand {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.nvx-material-brand img {
  background: white;
  border-radius: 12px;
  height: 54px;
  object-fit: contain;
  padding: 4px;
  width: 122px;
}

.nvx-material-brand div {
  min-width: 0;
}

.nvx-material-brand p,
.nvx-eyebrow,
.nvx-panel-heading p,
.nvx-action-band p {
  color: #6bc7e9;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.nvx-material-brand h1 {
  color: white;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  line-height: 1.2;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvx-material-brand span {
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 0.82rem;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvx-header-actions,
.nvx-toolbar > div,
.nvx-action-band > div:last-child {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.nvx-icon-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  font-size: 1.6rem;
  height: 42px;
  justify-content: center;
  line-height: 1;
  width: 42px;
}

.nvx-icon-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.nvx-material-tabs {
  background: white;
  border-bottom: 1px solid var(--nvx-line);
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 16px 0;
}

.nvx-material-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--nvx-muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  padding: 11px 14px 12px;
  white-space: nowrap;
}

.nvx-material-tabs button.active {
  border-bottom-color: var(--nvx-blue);
  color: var(--nvx-blue);
}

.nvx-material-content {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px;
}

.nvx-material-loader {
  align-items: center;
  color: var(--nvx-muted);
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.nvx-material-loader > span {
  animation: nvx-spin 0.8s linear infinite;
  border: 4px solid #d6e7f0;
  border-radius: 999px;
  border-top-color: var(--nvx-blue);
  height: 42px;
  width: 42px;
}

@keyframes nvx-spin {
  to {
    transform: rotate(360deg);
  }
}

.nvx-kpis {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  margin-bottom: 16px;
}

.nvx-kpis article,
.nvx-panel,
.nvx-action-band,
.nvx-building-selector,
.nvx-note,
.nvx-table-wrap,
.nvx-toolbar {
  background: white;
  border: 1px solid var(--nvx-line);
  border-radius: 16px;
}

.nvx-kpis article {
  display: flex;
  flex-direction: column;
  min-height: 112px;
  padding: 16px;
}

.nvx-kpis strong {
  color: var(--nvx-blue-deep);
  font-size: 1.85rem;
  line-height: 1;
}

.nvx-kpis b {
  color: var(--nvx-ink);
  font-size: 0.83rem;
  margin-top: 11px;
}

.nvx-kpis span {
  color: var(--nvx-muted);
  font-size: 0.71rem;
  margin-top: 4px;
}

.nvx-action-band {
  align-items: center;
  background:
    linear-gradient(100deg, rgba(7, 87, 137, 0.06), transparent),
    white;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 20px;
}

.nvx-action-band > div:first-child {
  max-width: 830px;
}

.nvx-action-band h2,
.nvx-toolbar h2,
.nvx-panel-heading h2 {
  color: var(--nvx-ink);
  font-size: 1.05rem;
  margin: 0;
}

.nvx-action-band > div:first-child > span,
.nvx-toolbar > div:first-child > span,
.nvx-copy {
  color: var(--nvx-muted);
  display: block;
  font-size: 0.8rem;
  line-height: 1.55;
  margin-top: 6px;
}

.nvx-button {
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  min-height: 38px;
  padding: 9px 13px;
}

.nvx-button.primary {
  background: linear-gradient(120deg, var(--nvx-blue-deep), var(--nvx-blue));
  color: white;
}

.nvx-button.secondary {
  background: white;
  border-color: #bcd4e2;
  color: var(--nvx-blue-deep);
}

.nvx-button.ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.nvx-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.nvx-grid-two {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.nvx-panel {
  overflow: hidden;
  padding: 18px;
}

.nvx-panel-heading {
  align-items: center;
  border-bottom: 1px solid var(--nvx-line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.nvx-panel-heading > span {
  background: var(--nvx-blue-pale);
  border-radius: 99px;
  color: var(--nvx-blue);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 10px;
}

.nvx-building-cards,
.nvx-project-shortcuts {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nvx-building-cards button,
.nvx-project-shortcuts button {
  background: #f9fcfe;
  border: 1px solid var(--nvx-line);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 12px;
  text-align: left;
}

.nvx-building-cards button > span {
  align-items: center;
  background: var(--nvx-blue);
  border-radius: 8px;
  color: white;
  display: flex;
  font-size: 0.62rem;
  font-weight: 800;
  grid-row: 1 / 3;
  justify-content: center;
  margin-right: 10px;
  min-width: 42px;
  padding: 5px;
}

.nvx-building-cards button b,
.nvx-project-shortcuts b {
  color: var(--nvx-ink);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvx-building-cards button small,
.nvx-project-shortcuts span {
  color: var(--nvx-muted);
  font-size: 0.67rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvx-list > div {
  align-items: center;
  border-bottom: 1px solid #edf2f6;
  display: flex;
  gap: 10px;
  padding: 10px 0;
}

.nvx-list > div:last-child {
  border-bottom: 0;
}

.nvx-mini-icon {
  align-items: center;
  background: #e6f6ee;
  border-radius: 8px;
  color: #138154;
  display: flex;
  flex: 0 0 auto;
  font-size: 0.65rem;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nvx-list p {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  min-width: 0;
}

.nvx-list p b {
  color: var(--nvx-ink);
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvx-list p small,
.nvx-list em {
  color: var(--nvx-muted);
  font-size: 0.66rem;
}

.nvx-list em {
  font-style: normal;
  white-space: nowrap;
}

.nvx-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  min-height: 72px;
  padding: 13px 15px;
}

.nvx-toolbar label,
.nvx-form label,
.nvx-import-meta label,
.nvx-mapping-grid label,
.nvx-project-picker label {
  color: #40586d;
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
  font-weight: 800;
  gap: 5px;
}

.nvx-toolbar input,
.nvx-toolbar select,
.nvx-form input,
.nvx-form select,
.nvx-form textarea,
.nvx-import-meta input,
.nvx-mapping-grid select,
.nvx-project-picker input {
  background: white;
  border: 1px solid #cbdbe5;
  border-radius: 9px;
  color: var(--nvx-ink);
  font: inherit;
  font-size: 0.78rem;
  min-height: 38px;
  outline: none;
  padding: 8px 10px;
}

.nvx-toolbar input:focus,
.nvx-toolbar select:focus,
.nvx-form input:focus,
.nvx-form select:focus,
.nvx-form textarea:focus,
.nvx-import-meta input:focus,
.nvx-mapping-grid select:focus,
.nvx-project-picker input:focus {
  border-color: var(--nvx-blue);
  box-shadow: 0 0 0 3px rgba(7, 87, 137, 0.1);
}

.nvx-search input {
  min-width: min(360px, 50vw);
}

.nvx-toolbar-summary {
  color: var(--nvx-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.nvx-note {
  align-items: flex-start;
  background: #edf8fc;
  border-color: #c7e6f1;
  display: flex;
  gap: 9px;
  margin-bottom: 12px;
  padding: 11px 14px;
}

.nvx-note b {
  color: var(--nvx-blue-deep);
  flex: 0 0 auto;
  font-size: 0.75rem;
}

.nvx-note span {
  color: #49687d;
  font-size: 0.72rem;
  line-height: 1.45;
}

.nvx-table-wrap {
  overflow: auto;
}

.nvx-material-table {
  border-collapse: collapse;
  min-width: 1480px;
  width: 100%;
}

.nvx-material-table.combined {
  min-width: 1600px;
}

.nvx-material-table th {
  background: #edf4f8;
  border-bottom: 1px solid #cbdde7;
  color: #31566d;
  font-size: 0.66rem;
  letter-spacing: 0.035em;
  padding: 10px 9px;
  position: sticky;
  text-align: left;
  text-transform: uppercase;
  top: 0;
  white-space: nowrap;
  z-index: 1;
}

.nvx-material-table td {
  border-bottom: 1px solid #e9eff3;
  color: #3b5062;
  font-size: 0.7rem;
  max-width: 320px;
  padding: 10px 9px;
  vertical-align: top;
}

.nvx-material-table tbody tr:hover {
  background: #f8fcfe;
}

.nvx-material-table td > b,
.nvx-item-cell > b {
  color: var(--nvx-ink);
  display: block;
  font-size: 0.72rem;
}

.nvx-material-table td > small,
.nvx-item-cell > span,
.nvx-item-cell > small {
  color: var(--nvx-muted);
  display: block;
  font-size: 0.63rem;
  line-height: 1.4;
  margin-top: 3px;
}

.nvx-material-table td a {
  color: var(--nvx-blue);
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 800;
  margin: 0 5px 4px 0;
  text-decoration: none;
}

.nvx-item-cell {
  min-width: 300px;
  white-space: normal;
}

.nvx-status {
  background: #edf1f4;
  border-radius: 99px;
  color: #536678;
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  max-width: 150px;
  overflow: hidden;
  padding: 5px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvx-status.good {
  background: #e5f6ed;
  color: #167a4d;
}

.nvx-status.warn {
  background: #fff2de;
  color: #a65b12;
}

.nvx-status.bad {
  background: #fde9ea;
  color: #ae3038;
}

.nvx-danger-text {
  color: #bd353c !important;
}

.nvx-success-text {
  color: #178050 !important;
}

.nvx-row-actions {
  min-width: 105px;
}

.nvx-row-actions button,
.nvx-material-table td > button {
  background: white;
  border: 1px solid #bcd4e2;
  border-radius: 7px;
  color: var(--nvx-blue);
  cursor: pointer;
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  margin-bottom: 5px;
  padding: 6px 8px;
  white-space: nowrap;
}

.nvx-building-selector {
  margin-bottom: 12px;
  padding: 14px;
}

.nvx-building-selector > div:first-child {
  display: flex;
  flex-direction: column;
}

.nvx-building-selector > div:first-child b {
  color: var(--nvx-ink);
  font-size: 0.82rem;
}

.nvx-building-selector > div:first-child span {
  color: var(--nvx-muted);
  font-size: 0.7rem;
  margin-top: 3px;
}

.nvx-selector-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-top: -34px;
}

.nvx-selector-actions button,
.nvx-import-file button {
  background: transparent;
  border: 0;
  color: var(--nvx-blue);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
}

.nvx-building-checks {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  margin-top: 17px;
}

.nvx-building-checks label {
  align-items: center;
  background: #f9fcfe;
  border: 1px solid var(--nvx-line);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  padding: 10px;
}

.nvx-building-checks input {
  accent-color: var(--nvx-blue);
  height: 17px;
  width: 17px;
}

.nvx-building-checks span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nvx-building-checks b {
  color: var(--nvx-ink);
  font-size: 0.68rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvx-building-checks small {
  color: var(--nvx-muted);
  font-size: 0.59rem;
}

.nvx-empty {
  align-items: center;
  color: var(--nvx-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 120px;
  padding: 24px;
  text-align: center;
}

.nvx-empty b {
  color: var(--nvx-ink);
  font-size: 0.86rem;
}

.nvx-empty span {
  font-size: 0.72rem;
}

.nvx-empty.bad b,
.nvx-empty.bad span {
  color: var(--nvx-red);
}

.nvx-timeline {
  background: white;
  border: 1px solid var(--nvx-line);
  border-radius: 16px;
  padding: 20px;
}

.nvx-timeline article {
  display: grid;
  gap: 12px;
  grid-template-columns: 12px minmax(0, 1fr);
  padding-bottom: 18px;
  position: relative;
}

.nvx-timeline article::before {
  background: #d8e7ef;
  content: "";
  height: 100%;
  left: 5px;
  position: absolute;
  top: 10px;
  width: 2px;
}

.nvx-timeline article > span {
  background: var(--nvx-blue);
  border: 3px solid #dff2fa;
  border-radius: 99px;
  height: 11px;
  position: relative;
  width: 11px;
  z-index: 1;
}

.nvx-timeline h3,
.nvx-timeline p {
  margin: 3px 0;
}

.nvx-timeline b {
  color: var(--nvx-blue);
  font-size: 0.68rem;
}

.nvx-timeline h3 {
  color: var(--nvx-ink);
  font-size: 0.78rem;
}

.nvx-timeline p,
.nvx-timeline small {
  color: var(--nvx-muted);
  font-size: 0.67rem;
}

.nvx-submodal-layer {
  z-index: 9999;
}

.nvx-submodal {
  background: var(--nvx-bg);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0, 20, 38, 0.34);
  max-height: 91vh;
  max-width: 720px;
  overflow: hidden;
  width: min(95vw, 720px);
}

.nvx-submodal.wide {
  max-width: 1120px;
  width: min(96vw, 1120px);
}

.nvx-submodal > header {
  align-items: center;
  background: linear-gradient(120deg, var(--nvx-blue-deep), var(--nvx-blue));
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
}

.nvx-submodal > header p {
  color: #76d0ee;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 3px;
}

.nvx-submodal > header h2 {
  color: white;
  font-size: 1.05rem;
  margin: 0;
}

.nvx-submodal > header button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  color: white;
  cursor: pointer;
  font-size: 1.4rem;
  height: 36px;
  width: 36px;
}

.nvx-form {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: calc(91vh - 75px);
  overflow: auto;
  padding: 18px;
}

.nvx-form .wide,
.nvx-form footer,
.nvx-form-error,
.nvx-import-body {
  grid-column: 1 / -1;
}

.nvx-form textarea {
  min-height: 82px;
  resize: vertical;
}

.nvx-form label small {
  color: var(--nvx-muted);
  font-size: 0.62rem;
  font-weight: 500;
}

.nvx-form-note {
  background: #eaf6fb;
  border: 1px solid #c6e4ef;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 13px;
}

.nvx-form-note b {
  color: var(--nvx-blue-deep);
  font-size: 0.72rem;
}

.nvx-form-note span {
  color: #567286;
  font-size: 0.66rem;
  line-height: 1.45;
}

.nvx-form-error {
  background: #fdebec;
  border: 1px solid #f0bfc2;
  border-radius: 10px;
  color: #a92c34;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 10px 12px;
}

.nvx-form footer {
  align-items: center;
  border-top: 1px solid var(--nvx-line);
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  margin: 5px -18px -18px;
  padding: 13px 18px;
}

.nvx-form footer .ghost {
  background: white;
  border-color: #cbdbe5;
  color: var(--nvx-muted);
}

.nvx-dropzone {
  align-items: center;
  background: white;
  border: 2px dashed #9fc6d9;
  border-radius: 14px;
  color: var(--nvx-blue) !important;
  cursor: pointer;
  display: flex !important;
  min-height: 150px;
  justify-content: center;
  padding: 22px;
  text-align: center;
}

.nvx-dropzone input {
  background: transparent;
  border: 0;
  max-width: 280px;
}

.nvx-dropzone span {
  color: var(--nvx-muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.nvx-import-body {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nvx-import-file,
.nvx-import-sheets {
  grid-column: 1 / -1;
}

.nvx-import-file {
  align-items: center;
  background: white;
  border: 1px solid var(--nvx-line);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  padding: 12px;
}

.nvx-import-file > span {
  align-items: center;
  background: #e4f5ec;
  border-radius: 9px;
  color: #168053;
  display: flex;
  font-size: 0.68rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nvx-import-file div {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.nvx-import-file b {
  color: var(--nvx-ink);
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvx-import-file small {
  color: var(--nvx-muted);
  font-size: 0.65rem;
}

.nvx-import-sheets {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nvx-import-sheets > article {
  background: white;
  border: 1px solid var(--nvx-line);
  border-radius: 13px;
  padding: 13px;
}

.nvx-import-sheets > article.disabled {
  opacity: 0.55;
}

.nvx-import-sheets article > header {
  align-items: center;
  border-bottom: 1px solid #e8eff3;
  display: flex;
  gap: 12px;
  margin-bottom: 11px;
  padding-bottom: 10px;
}

.nvx-import-sheets article > header label {
  align-items: center;
  display: flex;
  flex-direction: row;
  white-space: nowrap;
}

.nvx-import-sheets article > header input {
  accent-color: var(--nvx-blue);
  height: 16px;
  min-height: 0;
  width: 16px;
}

.nvx-import-sheets article > header div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nvx-import-sheets article > header b {
  color: var(--nvx-ink);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvx-import-sheets article > header span {
  color: var(--nvx-muted);
  font-size: 0.62rem;
}

.nvx-import-meta,
.nvx-mapping-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nvx-import-sheets details {
  border-top: 1px solid #edf2f5;
  margin-top: 11px;
  padding-top: 9px;
}

.nvx-import-sheets summary {
  color: var(--nvx-blue);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.nvx-import-warning,
.nvx-import-ok {
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  font-size: 0.62rem;
  margin-top: 10px;
  padding: 8px 10px;
}

.nvx-import-warning {
  background: #fff3e2;
  color: #9b591d;
}

.nvx-import-warning b {
  margin-bottom: 3px;
}

.nvx-import-warning em {
  font-style: normal;
  font-weight: 800;
  margin-top: 3px;
}

.nvx-import-ok {
  background: #e7f6ed;
  color: #1a764e;
  font-weight: 800;
}

.nvx-import-preview {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 9px;
}

.nvx-import-preview span {
  color: var(--nvx-muted);
  font-size: 0.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nvx-import-preview b {
  color: #3e5b70;
}

.nvx-material-toast {
  background: #143c59;
  border-radius: 12px;
  bottom: 24px;
  box-shadow: 0 14px 35px rgba(3, 35, 58, 0.25);
  color: white;
  font-size: 0.76rem;
  font-weight: 750;
  left: 50%;
  max-width: min(90vw, 620px);
  padding: 12px 16px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 10000;
}

.nvx-material-toast.bad {
  background: #a72e36;
}

.nvx-material-toast.warn {
  background: #a7651c;
}

.nvx-material-project-button {
  background: #e4f4fa !important;
  border-color: #91c7da !important;
  color: #075789 !important;
}

.nvx-project-picker {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.nvx-project-picker label {
  flex: 1;
}

.nvx-project-shortcuts button {
  display: flex;
  flex-direction: column;
}

.nvx-inventory-summary {
  align-items: baseline;
  background: #eef7fb;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
}

.nvx-inventory-summary strong {
  color: var(--nvx-blue-deep);
  font-size: 2rem;
}

.nvx-inventory-summary span {
  color: var(--nvx-muted);
  font-size: 0.72rem;
}

.nvx-inventory-summary b {
  color: var(--nvx-orange);
  flex-basis: 100%;
  font-size: 0.68rem;
}

@media (max-width: 1280px) {
  .nvx-kpis {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .nvx-building-checks {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 820px) {
  .nvx-material-layer,
  .nvx-submodal-layer {
    padding: 0;
  }

  .nvx-material-shell,
  .nvx-submodal,
  .nvx-submodal.wide {
    border-radius: 0;
    height: 100dvh;
    max-height: 100dvh;
    width: 100vw;
  }

  .nvx-material-header {
    min-height: 78px;
    padding: 12px;
  }

  .nvx-material-brand img {
    display: none;
  }

  .nvx-material-brand h1 {
    font-size: 0.98rem;
  }

  .nvx-header-actions .ghost {
    display: none;
  }

  .nvx-material-content {
    padding: 10px;
  }

  .nvx-kpis {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .nvx-action-band,
  .nvx-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .nvx-grid-two,
  .nvx-grid-two.hub,
  .nvx-import-sheets {
    grid-template-columns: 1fr;
  }

  .nvx-building-cards {
    grid-template-columns: 1fr;
  }

  .nvx-building-checks {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .nvx-selector-actions {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .nvx-form {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 70px);
  }

  .nvx-form > *,
  .nvx-import-body > * {
    grid-column: 1 / -1;
  }

  .nvx-import-body,
  .nvx-import-meta,
  .nvx-mapping-grid {
    grid-template-columns: 1fr;
  }

  .nvx-search input {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nvx-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .nvx-kpis article {
    min-height: 96px;
    padding: 12px;
  }

  .nvx-kpis strong {
    font-size: 1.45rem;
  }

  .nvx-building-checks {
    grid-template-columns: 1fr;
  }
}

