.industry-shell {
  --bg: #f3f5f6;
  --ink: #1c2329;
  --muted: #64707b;
  --line: #d7dde2;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --warn: #b45309;
}

.industry-shell * {
  box-sizing: border-box;
}

.industry-shell {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

.industry-shell.app-shell {
  min-height: 100vh;
  background: var(--bg);
  transition: background 180ms ease, color 180ms ease;
}

.industry-shell .app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.industry-shell .app-title {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: 0;
}

.industry-shell .app-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.industry-shell .build-state {
  color: var(--muted);
  font-size: 12px;
  min-width: 0;
}

.industry-shell .header-actions {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.industry-shell .header-actions .build-state {
  flex: 1 1 auto;
}

.industry-shell .theme-toggle {
  display: inline-flex;
  position: relative;
  flex: 0 0 112px;
  align-items: center;
  justify-content: stretch;
  width: 112px;
  height: 32px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #e8ecef;
  color: #64707b;
  cursor: pointer;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.industry-shell .theme-toggle:hover {
  border-color: #b7c1cc;
}

.industry-shell .theme-toggle-option {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
  height: 26px;
  transition: color 160ms ease;
  white-space: nowrap;
}

.industry-shell .theme-toggle-light {
  color: #111827;
}

.industry-shell .theme-toggle-dark {
  color: #64707b;
}

.industry-shell .theme-toggle-thumb {
  position: absolute;
  z-index: 0;
  top: 3px;
  left: 3px;
  display: block;
  width: 53px;
  height: 26px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.industry-shell .status-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.industry-shell .status-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 28px;
  padding: 5px 8px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.industry-shell .status-chip span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.industry-shell .status-chip strong {
  color: var(--ink);
  font-size: 12px;
}

.industry-shell .method-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.industry-shell .control-strip {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(260px, 1fr) minmax(190px, 240px) 160px;
  gap: 16px;
  align-items: end;
  padding: 14px 24px;
  background: #fbfcfc;
  border-bottom: 1px solid var(--line);
}

.industry-shell .control-block {
  min-width: 0;
}

.industry-shell .control-wide {
  max-width: 760px;
}

.industry-shell .control-network {
  min-width: 190px;
}

.industry-shell .control-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.industry-shell .primary-button, .industry-shell .secondary-button {
  height: 38px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.industry-shell .primary-button {
  background: var(--accent);
  color: #ffffff;
}

.industry-shell .primary-button:hover {
  background: var(--accent-strong);
}

.industry-shell .secondary-button {
  margin-bottom: 12px;
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.industry-shell .tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  padding: 0 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  max-width: 100vw;
  overflow: hidden;
  overflow-x: auto;
  white-space: nowrap;
}

.industry-shell .tab-content {
  padding: 16px 24px 32px;
}

.industry-shell .tab {
  flex: 0 0 auto !important;
  width: 146px !important;
  min-width: 118px;
  max-width: 170px;
  padding: 13px 18px !important;
  border-color: var(--line) !important;
  background: #ffffff !important;
}

.industry-shell .tab--selected {
  border-top: 2px solid #2563eb !important;
  color: var(--ink) !important;
  font-weight: 700;
}

.industry-shell .metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.industry-shell .metric-grid-compact {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.industry-shell .cancelled-metric-panel {
  margin-bottom: 16px;
}

.industry-shell .info-details {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.industry-shell .info-details summary {
  list-style: none;
}

.industry-shell .info-details summary::-webkit-details-marker {
  display: none;
}

.industry-shell .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.industry-shell .info-popover {
  position: absolute;
  z-index: 10;
  top: 32px;
  left: 0;
  width: min(560px, calc(100vw - 48px));
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
  color: var(--ink);
}

.industry-shell .info-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 760;
}

.industry-shell .info-popover ul {
  margin: 0;
  padding-left: 18px;
}

.industry-shell .info-popover li {
  margin: 6px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.industry-shell .metric-card, .industry-shell .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.industry-shell .metric-card {
  min-height: 92px;
  padding: 12px;
}

.industry-shell .metric-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.industry-shell .metric-value {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 760;
  line-height: 1.2;
}

.industry-shell .metric-subvalue {
  min-height: 18px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.industry-shell .panel {
  margin-bottom: 16px;
  padding: 14px;
}

.industry-shell .panel-nested {
  margin-top: 14px;
  margin-bottom: 0;
  padding: 0;
  border: 0;
}

.industry-shell .panel h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.industry-shell .panel-title-row h3 {
  margin-bottom: 4px;
}

.industry-shell .panel-executive {
  padding: 0;
  overflow: hidden;
}

.industry-shell .panel-executive .panel-title-row {
  padding: 14px 16px 8px;
}

.industry-shell .consulting-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.industry-shell .consulting-table {
  width: 100%;
  min-width: 1500px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.industry-shell .consulting-table th, .industry-shell .consulting-table td {
  border-bottom: 1px solid #e5e9ed;
  padding: 9px 10px;
  text-align: right;
  vertical-align: middle;
}

.industry-shell .consulting-table tbody tr:nth-child(even) {
  background: #f8fafb;
}

.industry-shell .consulting-table tbody tr:hover {
  background: #eef6f5;
}

.industry-shell .consulting-group-header {
  background: #111827;
  color: #ffffff;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.industry-shell .consulting-col-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f1f4f7;
  color: #111827;
  font-size: 11px;
  font-weight: 760;
}

.industry-shell .consulting-cell {
  color: #111827;
  white-space: nowrap;
}

.industry-shell .consulting-strong {
  font-weight: 760;
}

.industry-shell .carrier-col, .industry-shell .carrier-cell {
  left: 0;
  position: sticky;
  text-align: left !important;
  z-index: 2;
}

.industry-shell .carrier-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  background: inherit;
  font-weight: 760;
}

.industry-shell .carrier-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex: 0 0 auto;
}

.industry-shell .column-heading {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.industry-shell .column-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border: 1px solid #b8c2cc;
  border-radius: 50%;
  color: #64707b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  cursor: help;
}

.industry-shell .consulting-delta {
  font-weight: 760;
}

.industry-shell .dash-table-container {
  font-variant-numeric: tabular-nums;
}

.industry-shell .dash-table-container .dash-spreadsheet-container {
  border-radius: 8px;
}

.industry-shell .dash-table-container .dash-spreadsheet-inner table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.industry-shell .dash-table-container .dash-spreadsheet-inner th, .industry-shell .dash-table-container .dash-spreadsheet-inner td {
  border-left: 0 !important;
  border-right: 0 !important;
}

.industry-shell .dash-table-container .dash-spreadsheet-inner tr:hover td {
  background: #eef6f5 !important;
}

.industry-shell .dash-table-container .column-header-name {
  font-weight: 760;
}

.industry-shell .dash-table-container .dash-filter input {
  border: 1px solid #d7dde2 !important;
  border-radius: 5px;
  min-height: 26px;
  padding: 3px 6px !important;
}

.industry-shell .dash-table-container .previous-next-container {
  margin-top: 10px;
  padding-right: 4px;
}

.industry-shell .dash-table-container .previous-next-container button {
  min-width: 28px;
  height: 28px;
  border: 1px solid #d7dde2;
  border-radius: 5px;
  background: #ffffff;
  color: #111827;
}

.industry-shell .dash-table-container .previous-next-container button:hover {
  background: #eef6f5;
}

.industry-shell .dash-table-container .page-number {
  border: 0 !important;
  color: #111827;
  font-weight: 700;
}

.industry-shell .dash-tooltip, .industry-shell .dash-table-tooltip {
  background: #111827 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
  font-size: 12px !important;
  line-height: 1.35;
  max-width: 300px;
}

.industry-shell .metric-positive {
  color: #166534;
  background: #dcfce7;
}

.industry-shell .metric-negative {
  color: #991b1b;
  background: #fee2e2;
}

.industry-shell .metric-neutral {
  color: #475569;
}

.industry-shell .panel h4 {
  margin: 0 0 10px;
  font-size: 13px;
}

.industry-shell .details-panel {
  margin-top: 14px;
}

.industry-shell .details-panel summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  margin-bottom: 10px;
}

.industry-shell .cockpit-daily-validation {
  padding: 0;
  overflow: hidden;
}

.industry-shell .cockpit-daily-validation summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin: 0;
  padding: 14px;
  border-bottom: 1px solid transparent;
  list-style: none;
}

.industry-shell .cockpit-daily-validation summary::-webkit-details-marker {
  display: none;
}

.industry-shell .cockpit-daily-validation summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.industry-shell .cockpit-daily-validation[open] summary {
  border-bottom-color: var(--line);
}

.industry-shell .cockpit-daily-validation[open] summary::before {
  content: "-";
}

.industry-shell .details-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.industry-shell .details-subtitle {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.industry-shell .cockpit-daily-chart {
  min-width: 0;
  padding: 10px 14px 4px;
}

.industry-shell .cockpit-daily-table {
  min-width: 0;
  padding: 0 14px 14px;
}

.industry-shell .cockpit-daily-table h3 {
  margin-top: 2px;
}

.industry-shell .segmented-control {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.industry-shell .segmented-control label {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.industry-shell .split-panel {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 0.78fr);
  gap: 18px;
  align-items: center;
}

.industry-shell .split-main, .industry-shell .split-side {
  min-width: 0;
}

.industry-shell .ops-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
}

.industry-shell .cockpit-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.industry-shell .cockpit-health-strip {
  padding: 10px 14px;
  overflow-x: hidden;
}

.industry-shell .cockpit-health-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(170px, 0.7fr) minmax(300px, 1.3fr) minmax(330px, 1.4fr);
  gap: 10px;
  align-items: stretch;
}

.industry-shell .cockpit-health-card, .industry-shell .cockpit-health-meta-card {
  min-width: 0;
  min-height: 78px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(15, 35, 55, 0.035);
}

.industry-shell .cockpit-health-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.industry-shell .cockpit-health-label, .industry-shell .cockpit-card-title {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.industry-shell .cockpit-health-card-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.industry-shell .cockpit-health-score-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}

.industry-shell .cockpit-health-score {
  color: #111827;
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
}

.industry-shell .cockpit-health-band {
  display: inline-flex;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.industry-shell .cockpit-health-band.cockpit-good {
  color: #166534;
  background: #dcfce7;
}

.industry-shell .cockpit-health-band.cockpit-warning {
  color: #92400e;
  background: #fef3c7;
}

.industry-shell .cockpit-health-band.cockpit-critical {
  color: #991b1b;
  background: #fee2e2;
}

.industry-shell .cockpit-health-detail {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.industry-shell .cockpit-health-meta-card {
  display: grid;
  align-content: center;
  gap: 6px;
}

.industry-shell .cockpit-health-meta-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.industry-shell .cockpit-health-meta-card strong {
  color: #111827;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.industry-shell .cockpit-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 12px;
}

.industry-shell .cockpit-card {
  display: flex;
  min-height: 122px;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  gap: 3px;
  padding: 10px 12px 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(15, 35, 55, 0.035);
  overflow: hidden;
}

.industry-shell .cockpit-card-head, .industry-shell .cockpit-network-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.industry-shell .cockpit-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1px solid #b8c2cc;
  border-radius: 50%;
  color: #64707b;
  font-size: 10px;
  font-weight: 850;
  cursor: help;
}

.industry-shell .cockpit-card-value {
  margin-top: 6px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.industry-shell .cockpit-delta {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.industry-shell .cockpit-card-method {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
  max-height: 26px;
  overflow: hidden;
}

.industry-shell .cockpit-card-worst {
  margin-top: 5px;
  color: #334155;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
}

.industry-shell .cockpit-spark {
  flex: 0 0 30px;
  width: 100%;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  margin-top: 3px;
  overflow: hidden;
}

.industry-shell .cockpit-spark .js-plotly-plot, .industry-shell .cockpit-spark .plot-container, .industry-shell .cockpit-spark .svg-container {
  width: 100% !important;
  height: 30px !important;
  max-height: 30px !important;
  overflow: hidden !important;
}

.industry-shell .cockpit-spark-empty {
  display: none;
}

.industry-shell .cockpit-panel {
  padding: 14px;
  overflow-x: auto;
}

.industry-shell .cockpit-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 14px;
}

.industry-shell .cockpit-two-col > * {
  min-width: 0;
  overflow-x: auto;
}

.industry-shell .cockpit-network-list {
  display: grid;
  gap: 12px;
}

.industry-shell .cockpit-network-row-head {
  margin-bottom: 5px;
  color: #111827;
  font-size: 12px;
}

.industry-shell .cockpit-network-row-head span {
  font-weight: 800;
}

.industry-shell .cockpit-network-track {
  height: 9px;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: 999px;
}

.industry-shell .cockpit-network-fill {
  height: 100%;
  border-radius: inherit;
}

.industry-shell .cockpit-mini-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.industry-shell .cockpit-mini-table th, .industry-shell .cockpit-mini-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #e5e9ed;
  text-align: right;
}

.industry-shell .cockpit-mini-table th {
  background: #f1f4f7;
  color: #111827;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.industry-shell .cockpit-mini-table tbody tr:nth-child(even) {
  background: #f8fafb;
}

.industry-shell .cockpit-driver-table td:nth-child(2) {
  font-weight: 850;
}

.industry-shell .cockpit-driver-table .cockpit-good {
  color: #166534;
  background: #dcfce7;
}

.industry-shell .cockpit-driver-table .cockpit-warning {
  color: #92400e;
  background: #fef3c7;
}

.industry-shell .cockpit-driver-table .cockpit-critical {
  color: #991b1b;
  background: #fee2e2;
}

.industry-shell .cockpit-carrier-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  text-align: left !important;
}

.industry-shell .cockpit-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 10px;
}

.industry-shell .cockpit-status-item {
  display: grid;
  gap: 6px;
  padding: 10px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.industry-shell .cockpit-status-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.industry-shell .cockpit-status-item strong {
  color: #111827;
  font-size: 19px;
  font-weight: 850;
}

.industry-shell .empty-state, .industry-shell .error-text {
  padding: 16px 24px;
  color: var(--muted);
}

.industry-shell .error-text:not(:empty) {
  color: var(--warn);
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
}

.industry-shell .ada-loading-parent {
  position: relative;
}

.industry-shell .ada-loading-parent div:has(> .ada-loading-shell) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2000;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none;
}

.industry-shell .ada-loading-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  min-height: 82px;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(215, 221, 226, 0.72);
  box-shadow: 0 12px 30px rgba(15, 35, 55, 0.1);
  backdrop-filter: blur(6px);
}

.industry-shell .ada-loading-logo {
  display: block;
  width: 88px;
  height: auto;
  animation: ada-loader-breathe 3s ease-in-out infinite;
  transform-origin: center;
  will-change: opacity, transform;
}

@keyframes ada-loader-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.industry-shell.theme-dark {
  --bg: #20242a;
  --ink: #eef4f8;
  --muted: #a9b6c3;
  --line: #46515f;
  --panel: #282e36;
  --accent: #2dd4bf;
  --accent-strong: #5eead4;
  --warn: #fbbf24;
  color: var(--ink);
}

.industry-shell.theme-dark .ada-loading-shell {
  background: rgba(32, 36, 42, 0.76);
  border-color: rgba(70, 81, 95, 0.8);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.industry-shell.theme-dark .ada-loading-logo {
  filter: brightness(0) invert(1);
}

.industry-shell.theme-dark .app-header, .industry-shell.theme-dark .tabs {
  background: #252b33;
  border-color: var(--line);
}

.industry-shell.theme-dark .control-strip {
  background: #232830;
  border-color: var(--line);
}

.industry-shell.theme-dark .header-actions {
  color: var(--muted);
}

.industry-shell.theme-dark .theme-toggle {
  background: #111820;
  border-color: #3b4653;
  color: #a9b6c3;
}

.industry-shell.theme-dark .theme-toggle-thumb {
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.24), 0 6px 14px rgba(0, 0, 0, 0.22);
  transform: translateX(53px);
}

.industry-shell.theme-dark .theme-toggle-light {
  color: #8794a3;
}

.industry-shell.theme-dark .theme-toggle-dark {
  color: #052f2c;
}

.industry-shell.theme-dark .status-chip, .industry-shell.theme-dark .metric-card, .industry-shell.theme-dark .panel, .industry-shell.theme-dark .info-icon, .industry-shell.theme-dark .info-popover, .industry-shell.theme-dark .cockpit-health-card, .industry-shell.theme-dark .cockpit-health-meta-card, .industry-shell.theme-dark .cockpit-card, .industry-shell.theme-dark .cockpit-status-item {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: none;
}

.industry-shell.theme-dark .status-chip strong, .industry-shell.theme-dark .metric-value, .industry-shell.theme-dark .panel h3, .industry-shell.theme-dark .panel h4, .industry-shell.theme-dark .details-panel summary, .industry-shell.theme-dark .cockpit-health-score, .industry-shell.theme-dark .cockpit-health-meta-card strong, .industry-shell.theme-dark .cockpit-card-value, .industry-shell.theme-dark .cockpit-network-row-head, .industry-shell.theme-dark .cockpit-status-item strong {
  color: var(--ink);
}

.industry-shell.theme-dark .cockpit-card-worst, .industry-shell.theme-dark .metric-neutral {
  color: #cbd5e1;
}

.industry-shell.theme-dark .tab {
  background: #252b33 !important;
  border-color: var(--line) !important;
  color: var(--muted) !important;
}

.industry-shell.theme-dark .tab--selected {
  background: #2d3540 !important;
  border-top-color: var(--accent) !important;
  color: var(--ink) !important;
}

.industry-shell.theme-dark .primary-button {
  background: var(--accent);
  color: #082f2c;
}

.industry-shell.theme-dark .primary-button:hover {
  background: var(--accent-strong);
}

.industry-shell.theme-dark .secondary-button {
  background: #313944;
  border-color: var(--line);
  color: var(--ink);
}

.industry-shell.theme-dark .segmented-control {
  background: #313944;
  border-color: var(--line);
}

.industry-shell.theme-dark .consulting-table {
  background: var(--panel);
}

.industry-shell.theme-dark .consulting-table th, .industry-shell.theme-dark .consulting-table td, .industry-shell.theme-dark .cockpit-mini-table th, .industry-shell.theme-dark .cockpit-mini-table td {
  border-bottom-color: #3a4450;
}

.industry-shell.theme-dark .consulting-table tbody tr:nth-child(even), .industry-shell.theme-dark .cockpit-mini-table tbody tr:nth-child(even) {
  background: #313944;
}

.industry-shell.theme-dark .consulting-table tbody tr:hover, .industry-shell.theme-dark .dash-table-container .dash-spreadsheet-inner tr:hover td {
  background: #364453 !important;
}

.industry-shell.theme-dark .consulting-group-header {
  background: #111827;
  color: #ffffff;
}

.industry-shell.theme-dark .consulting-col-header, .industry-shell.theme-dark .cockpit-mini-table th {
  background: #35404c;
  color: var(--ink);
}

.industry-shell.theme-dark .consulting-cell {
  color: var(--ink);
}

.industry-shell.theme-dark .column-info, .industry-shell.theme-dark .cockpit-info {
  border-color: #6b7787;
  color: var(--muted);
}

.industry-shell.theme-dark .cockpit-network-track {
  background: #394451;
}

.industry-shell.theme-dark .dash-table-container .dash-spreadsheet-inner th, .industry-shell.theme-dark .dash-table-container .dash-spreadsheet-inner td {
  color: var(--ink) !important;
  border-bottom-color: #3a4450 !important;
}

.industry-shell.theme-dark .dash-table-container .dash-filter input, .industry-shell.theme-dark .dash-table-container .previous-next-container button {
  background: #313944 !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

.industry-shell.theme-dark .dash-table-container .page-number {
  color: var(--ink);
}

.industry-shell.theme-dark .dash-tooltip, .industry-shell.theme-dark .dash-table-tooltip {
  background: #0f172a !important;
  color: #ffffff !important;
}

.industry-shell.theme-dark .metric-positive, .industry-shell.theme-dark .cockpit-health-band.cockpit-good, .industry-shell.theme-dark .cockpit-driver-table .cockpit-good {
  color: #86efac;
  background: rgba(34, 197, 94, 0.18);
}

.industry-shell.theme-dark .metric-negative, .industry-shell.theme-dark .cockpit-health-band.cockpit-critical, .industry-shell.theme-dark .cockpit-driver-table .cockpit-critical {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.18);
}

.industry-shell.theme-dark .cockpit-health-band.cockpit-warning, .industry-shell.theme-dark .cockpit-driver-table .cockpit-warning {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.18);
}

.industry-shell.theme-dark .error-text:not(:empty) {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  border-bottom-color: rgba(245, 158, 11, 0.35);
}

.industry-shell.theme-dark .Select-control, .industry-shell.theme-dark .Select-menu-outer, .industry-shell.theme-dark .Select-value, .industry-shell.theme-dark .Select-input, .industry-shell.theme-dark .DateRangePickerInput, .industry-shell.theme-dark .DateInput, .industry-shell.theme-dark .DateInput_input {
  background: #313944 !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

.industry-shell.theme-dark .Select-placeholder, .industry-shell.theme-dark .Select-value-label, .industry-shell.theme-dark .Select-input input, .industry-shell.theme-dark .DateInput_input {
  color: var(--ink) !important;
}

.industry-shell.theme-dark .Select-arrow {
  border-top-color: var(--muted);
}

.industry-shell.theme-dark .VirtualizedSelectOption {
  background: #313944;
  color: var(--ink);
}

.industry-shell.theme-dark .VirtualizedSelectFocusedOption {
  background: #364453;
}

.industry-shell.theme-dark .DateRangePicker_picker, .industry-shell.theme-dark .DayPicker, .industry-shell.theme-dark .CalendarMonth, .industry-shell.theme-dark .CalendarMonthGrid {
  background: #252b33 !important;
  color: var(--ink) !important;
}

.industry-shell.theme-dark .CalendarDay {
  background: #313944 !important;
  border-color: #46515f !important;
  color: var(--ink) !important;
}

.industry-shell.theme-dark .CalendarDay__selected, .industry-shell.theme-dark .CalendarDay__selected_span {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #082f2c !important;
}

@media (max-width: 1180px) {
  .industry-shell .cockpit-health-row {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .industry-shell .cockpit-kpi-grid {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }
}

@media (max-width: 980px) {
  .industry-shell .control-strip {
    grid-template-columns: 1fr;
  }

  .industry-shell .metric-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .industry-shell .metric-grid-compact {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .industry-shell .split-panel {
    grid-template-columns: 1fr;
  }

  .industry-shell .ops-filter-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .industry-shell .cockpit-health-row, .industry-shell .cockpit-two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .industry-shell .cockpit-kpi-grid, .industry-shell .cockpit-status-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

}

@media (max-width: 560px) {
  .industry-shell .app-header {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .industry-shell .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .industry-shell .status-strip {
    justify-content: flex-start;
  }

  .industry-shell .control-strip {
    padding: 12px 20px;
  }

  .industry-shell .tabs {
    padding: 0 20px;
  }

  .industry-shell .tab {
    width: 128px !important;
    min-width: 112px;
    padding: 12px 16px !important;
  }

  .industry-shell .metric-grid {
    grid-template-columns: 1fr;
  }

  .industry-shell .ops-filter-grid {
    grid-template-columns: 1fr;
  }

  .industry-shell .cockpit-kpi-grid, .industry-shell .cockpit-health-row, .industry-shell .cockpit-status-grid {
    grid-template-columns: 1fr;
  }
}
