/* Dashboard Defeitos V4 - mockup aprovado */
body.mode-dashboard-defeitos .page-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 28px;
}

@media (max-width: 640px) {
  body.mode-dashboard-defeitos #viewDashboardDefeitos .df-v4-filters.dashboard-filter-panel {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
    padding: 14px !important;
    overflow: visible !important;
    white-space: normal !important;
    border: 1px solid #dce5f2 !important;
    border-radius: 16px !important;
    background: #f7faff !important;
    box-shadow: 0 8px 24px rgba(29, 78, 144, 0.07);
  }

  body.mode-dashboard-defeitos #viewDashboardDefeitos #dfFiltroSetor {
    display: block !important;
  }
}

@media (max-width: 1100px) {
  body.mode-dashboard-defeitos .page-content {
    padding: 14px;
  }
}

.df-v4-shell {
  width: 100%;
  max-width: none;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #eef2f6;
  box-shadow: 0 23px 65px rgba(15, 35, 55, .25);
}

body.mode-dashboard-defeitos .content {
  align-items: stretch;
}

body.mode-dashboard-defeitos #viewDashboardDefeitos.df-v4-shell:not(.hidden) {
  display: block !important;
}

.df-v4-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  padding: 10px 18px;
  color: #fff;
  background: #102b47;
}

.df-v4-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.df-v4-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #102b47;
  background: #fff;
  font-weight: 1000;
}

.df-v4-brand strong,
.df-v4-brand small {
  display: block;
}

.df-v4-brand strong {
  font-size: 20px;
}

.df-v4-brand small {
  color: #b9ccdd;
  font-size: 13px;
}

.df-v4-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfe0ef;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.df-v4-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47d59a;
  box-shadow: 0 0 0 4px rgba(71, 213, 154, .13);
}

.df-v4-status em {
  font-style: normal;
}

.df-v4-body {
  container: dashboard / inline-size;
  padding: 16px;
}

.df-v4-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.df-v4-title-row h2 {
  margin: 0;
  color: #102b47;
  font-size: 32px;
  letter-spacing: 0;
}

.df-v4-title-row p {
  margin: 2px 0 0;
  color: #66788b;
  font-size: 16px;
  font-weight: 800;
}

.df-v4-refresh {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #c7d4e1;
  border-radius: 9px;
  color: #173c61;
  background: #fff;
  font-size: 15px;
  font-weight: 900;
}

.df-v4-dash-tabs,
.df-v4-scope-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.df-v4-dash-tabs {
  margin: 14px 0 12px;
}

.df-v4-scope-tabs {
  margin-bottom: 8px;
}

.df-v4-dash-tabs button,
.df-v4-scope-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #cfd9e3;
  border-radius: 9px;
  color: #55687d;
  background: #fff;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.df-v4-dash-tabs button.active,
.df-v4-scope-tabs button.active {
  color: #fff;
  border-color: #15416f;
  background: #15416f;
}

.df-v4-scope-tabs button.consolidated.active {
  border-color: #6d3bc2;
  background: #6d3bc2;
}

.df-v4-scope-caption,
.df-v4-data-banner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 14px;
}

.df-v4-scope-caption {
  color: #425a73;
  background: #e7eef6;
}

.df-v4-data-banner {
  color: #705006;
  background: #fff4d6;
}

.df-v4-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr 1.2fr minmax(160px, 1.7fr) auto;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid #d5dee8;
  border-radius: 12px;
  background: #fff;
}

.df-v4-filters .mi-filter-item {
  min-width: 0;
}

.df-v4-filters .mi-filter-item label {
  display: block;
  margin-bottom: 3px;
  color: #748598;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.df-v4-filters .input-field {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d5dee8;
  border-radius: 8px;
  color: #25394e;
  background: #f9fbfd;
  font-size: 15px;
  font-weight: 700;
}

.df-v4-filters #dfFiltroSetor {
  display: none;
}

.df-v4-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.df-v4-kpi {
  position: relative;
  overflow: hidden;
  min-height: 106px;
  padding: 13px;
  border: 1px solid #d5dee8;
  border-radius: 12px;
  background: #fff;
}

.df-v4-kpi-hero {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #15416f, #1f659f);
}

.df-v4-kpi-hero::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  border: 25px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.df-v4-kpi-label {
  position: relative;
  z-index: 1;
  display: block;
  color: #6f8294;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.df-v4-kpi-hero .df-v4-kpi-label {
  color: #d8e8f5;
}

.df-v4-kpi-value {
  position: relative;
  z-index: 1;
  display: block;
  margin: 7px 0 3px;
  color: #173c61;
  font-size: 42px;
  font-weight: 1000;
  line-height: 1;
}

.df-v4-kpi-hero .df-v4-kpi-value {
  color: #fff;
  font-size: 56px;
}

.df-v4-kpi-meta {
  position: relative;
  z-index: 1;
  display: block;
  color: #7b8b9b;
  font-size: 13px;
}

.df-v4-kpi-hero .df-v4-kpi-meta {
  color: #c9dcec;
}

.df-v4-chip {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 6px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .13);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.df-v4-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}

.df-v4-mini-kpi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d5dee8;
  border-radius: 10px;
  background: #fff;
}

.df-v4-mini-kpi strong,
.df-v4-mini-kpi span {
  display: block;
}

.df-v4-mini-kpi strong {
  color: #183b5d;
  font-size: 28px;
}

.df-v4-mini-kpi span {
  color: #77889a;
  font-size: 13px;
}

.df-v4-mini-kpi > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: #fff;
  background: #8f2430;
  font-size: 14px;
  font-weight: 1000;
  flex: 0 0 auto;
}

.df-v4-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 9px;
  margin-top: 9px;
}

.df-v4-panel {
  min-width: 0;
  margin-top: 9px;
  padding: 12px;
  border: 1px solid #d5dee8;
  border-radius: 12px;
  background: #fff;
}

.df-v4-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 11px;
}

.df-v4-panel-head strong,
.df-v4-panel-head small {
  display: block;
}

.df-v4-panel-head strong {
  color: #21394f;
  font-size: 17px;
}

.df-v4-panel-head small {
  color: #8291a1;
  font-size: 13px;
}

.df-v4-panel-head > span,
.df-v4-panel-head > button {
  padding: 4px 7px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #15416f;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.df-v4-panel-head > button {
  cursor: pointer;
}

.df-v4-panel-head > button:hover,
.df-v4-panel-head > button:focus-visible {
  background: #0f3459;
}

.df-v4-panel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex: 0 0 auto;
}

.df-v4-panel-actions > span,
.df-v4-panel-actions > button {
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #15416f;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.df-v4-panel-actions > button {
  cursor: pointer;
}

.df-v4-panel-actions > button:hover,
.df-v4-panel-actions > button:focus-visible {
  background: #0f3459;
}

.df-defect-share-chart {
  min-width: 0;
}

.df-defect-entry {
  min-width: 0;
}

.df-defect-toggle {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.df-defect-toggle:hover,
.df-defect-toggle:focus-visible,
.df-defect-toggle[aria-expanded="true"] {
  border-color: #93b9ee;
  background: #f5f9ff;
  outline: none;
}

.df-defect-row-end {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.df-defect-row-end i {
  color: #47678c;
  font-size: 22px;
  font-style: normal;
  line-height: 1;
  transition: transform .18s ease;
}

.df-defect-toggle[aria-expanded="true"] .df-defect-row-end i {
  transform: rotate(180deg);
}

.df-defect-detail[hidden] {
  display: none !important;
}

.df-defect-detail {
  min-width: 0;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #cbdcf0;
  border-radius: 10px;
  background: #f8fbff;
}

.df-defect-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
  color: #334e6c;
  font-size: 13px;
}

.df-defect-detail-head strong {
  color: #163657;
  font-size: 15px;
}

.df-defect-detail-scroll {
  max-height: 440px;
  overflow: auto;
}

.df-defect-detail-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.df-defect-detail-table th,
.df-defect-detail-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #e0e8f2;
  text-align: left;
  vertical-align: top;
}

.df-defect-detail-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #425d79;
  background: #edf4fc;
  white-space: nowrap;
}

.df-defect-detail-table td:first-child,
.df-defect-detail-table td:nth-child(2) {
  color: #163657;
  font-weight: 800;
}

.df-defect-detail-table tr:hover td {
  background: #f5f9ff;
}

@media (max-width: 720px) {
  .df-defect-detail-table,
  .df-defect-detail-table tbody,
  .df-defect-detail-table tr,
  .df-defect-detail-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .df-defect-detail-table thead {
    display: none;
  }

  .df-defect-detail-table tr {
    margin-bottom: 10px;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    overflow: hidden;
  }

  .df-defect-detail-table td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 10px;
    overflow-wrap: anywhere;
    text-align: right;
  }

  .df-defect-detail-table td::before {
    content: attr(data-label);
    flex: 0 0 45%;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-align: left;
  }
}

.df-defect-share-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #718399;
  font-size: 13px;
}

.df-defect-share-caption strong {
  color: #5d718a;
  font-size: 15px;
  white-space: nowrap;
}

.df-defect-share-list {
  display: grid;
  gap: 8px;
  max-height: 440px;
  padding-right: 3px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.df-defect-share-row {
  display: grid;
  grid-template-columns: minmax(165px, 0.72fr) minmax(230px, 1.28fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.df-defect-share-label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #20374e;
  font-size: 14px;
  font-weight: 750;
}

.df-defect-share-label i {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 4px;
  background: var(--df-defect-color);
  box-shadow: inset 0 0 0 1px rgba(15, 30, 60, 0.12);
}

.df-defect-share-label span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-defect-share-track {
  position: relative;
  height: 36px;
  overflow: hidden;
  border-radius: 8px;
  background: #e8eef5;
  box-shadow: inset 0 0 0 1px rgba(21, 65, 111, 0.03);
}

.df-defect-share-fill {
  display: flex;
  align-items: center;
  width: var(--df-defect-width);
  min-width: 46px;
  height: 100%;
  padding: 0 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--df-defect-color);
  transition: width 220ms ease;
}

.df-defect-share-fill strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.df-defect-share-percent {
  position: absolute;
  top: 50%;
  right: 7px;
  min-width: 56px;
  padding: 3px 7px;
  transform: translateY(-50%);
  border-radius: 999px;
  color: #193651;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(15, 30, 60, 0.14);
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.df-v4-content .mi-defeitos-row,
.df-v4-content .mi-def-pareto-row,
.df-v4-content .mi-def-action {
  border: 0;
  border-radius: 8px;
  background: #f7f9fb;
}

.df-v4-content .mi-def-pareto-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.df-v4-content .mi-defeitos-row-main strong {
  font-size: 19px;
}

.df-v4-content .mi-defeitos-row-main span,
.df-v4-content .mi-defeitos-row-metrics span {
  font-size: 15px;
}

.df-v4-content .mi-def-pareto-row strong,
.df-v4-content .mi-def-action strong {
  font-size: 17px;
}

.df-v4-content .mi-def-pareto-row span,
.df-v4-content .mi-def-action span,
.df-v4-content .mi-def-action p,
.df-v4-content .mi-def-matrix-scroll table {
  font-size: 14px;
}

@container dashboard (max-width: 980px) {
  .df-v4-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .df-v4-hero-grid,
  .df-v4-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .df-v4-layout {
    grid-template-columns: 1fr;
  }
}

@container dashboard (max-width: 560px) {
  body.mode-dashboard-defeitos .page-content {
    padding: 12px;
  }

  .df-v4-topbar,
  .df-v4-title-row,
  .df-v4-scope-caption,
  .df-v4-data-banner {
    display: block;
  }

  .df-v4-body {
    padding: 10px;
  }

  .df-v4-refresh {
    width: 100%;
    margin-top: 8px;
  }

  .df-v4-filters,
  .df-v4-hero-grid,
  .df-v4-mini-grid {
    grid-template-columns: 1fr;
  }

  .df-v4-kpi-hero .df-v4-kpi-value {
    font-size: 48px;
  }

  .df-v4-panel-head,
  .df-defect-share-caption {
    align-items: stretch;
    flex-direction: column;
  }

  .df-v4-panel-actions {
    justify-content: flex-start;
  }

  .df-defect-share-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .df-defect-share-label span {
    white-space: normal;
  }
}

.df-v4-memory {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #cbd8e5;
  border-radius: 12px;
  background: #e8eef5;
}

.df-v4-memory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 11px;
}

.df-v4-memory-head span,
.df-v4-memory-head strong {
  display: block;
}

.df-v4-memory-head span {
  color: #1f659f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.df-v4-memory-head strong {
  margin-top: 3px;
  color: #102b47;
  font-size: 18px;
}

.df-v4-memory-head p {
  margin: 0;
  color: #50677d;
  font-size: 13px;
  font-weight: 750;
}

.df-v4-memory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.df-v4-memory-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid #d5dee8;
  border-left: 5px solid #1f659f;
  border-radius: 10px;
  background: #fff;
}

.df-v4-memory-card.secondary {
  border-left-color: #16805c;
}

.df-v4-memory-card.tertiary {
  border-left-color: #6d3bc2;
}

.df-v4-memory-card > span,
.df-v4-memory-card > strong {
  display: block;
}

.df-v4-memory-card > span {
  color: #62778b;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.df-v4-memory-card > strong {
  margin: 4px 0 8px;
  color: #203a53;
  font-size: 16px;
}

.df-v4-memory-card p {
  margin: 5px 0;
  color: #506477;
  font-size: 14px;
  line-height: 1.42;
}

@container dashboard (max-width: 820px) {
  .df-v4-memory-head {
    display: block;
  }

  .df-v4-memory-head p {
    margin-top: 5px;
  }

  .df-v4-memory-grid {
    grid-template-columns: 1fr;
  }
}

/* Apresentacao 4:3 do Dashboard Defeitos */
body.df-presentation-open {
  overflow: hidden !important;
}

.df-v4-title-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.df-v4-presentation-btn,
.df-v4-refresh {
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.df-v4-presentation-btn {
  background: #e8762a;
  box-shadow: 0 8px 18px rgba(232, 118, 42, .2);
}

.df-v4-presentation-btn:hover,
.df-v4-presentation-btn:focus-visible {
  background: #c85d16;
}

.df-presentation-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  color: #14283d;
  background: #071522;
}

.df-presentation-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 10px 18px;
  color: #fff;
  background: #0d2237;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.df-presentation-toolbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.df-presentation-toolbar-title span {
  padding: 5px 8px;
  border-radius: 6px;
  background: #e8762a;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .08em;
}

.df-presentation-toolbar-title strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-presentation-toolbar-title em {
  color: #9fb1c3;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.df-presentation-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.df-presentation-toolbar-actions button,
.df-presentation-toolbar-actions > span {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.df-presentation-toolbar-actions button {
  cursor: pointer;
}

.df-presentation-toolbar-actions button:hover,
.df-presentation-toolbar-actions button:focus-visible {
  background: rgba(255, 255, 255, .17);
}

.df-presentation-toolbar-actions button.close {
  border-color: rgba(232, 118, 42, .55);
  background: #a94712;
}

.df-presentation-toolbar-actions button:disabled {
  opacity: .42;
  cursor: default;
}

.df-presentation-toolbar-actions > span {
  display: grid;
  place-items: center;
  min-width: 58px;
}

.df-presentation-viewport {
  display: grid;
  flex: 1 1 auto;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
}

.df-presentation-frame {
  position: relative;
  flex: 0 0 auto;
  overflow: visible;
}

.df-presentation-deck {
  position: absolute;
  top: 0;
  left: 0;
  width: 1024px;
  height: 768px;
  transform-origin: top left;
}

.df-presentation-slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  width: 1024px;
  height: 768px;
  padding: 34px 42px 24px;
  overflow: hidden;
  color: #183047;
  background: #f5f7fa;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .38);
}

.df-presentation-slide.is-active {
  display: flex;
}

.df-presentation-slide::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, #123d68 0 72%, #e8762a 72% 100%);
}

.df-slide-head,
.df-slide-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.df-slide-head {
  min-height: 62px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d6e0ea;
}

.df-slide-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.df-slide-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: #fff;
  background: #123d68;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: .04em;
}

.df-slide-brand span,
.df-slide-brand strong,
.df-slide-context span,
.df-slide-context strong {
  display: block;
}

.df-slide-brand span {
  color: #74869a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.df-slide-brand strong {
  margin-top: 3px;
  color: #173653;
  font-size: 18px;
}

.df-slide-context {
  text-align: right;
}

.df-slide-context span {
  color: #788a9c;
  font-size: 12px;
  font-weight: 800;
}

.df-slide-context strong {
  margin-top: 3px;
  color: #173653;
  font-size: 14px;
}

.df-slide-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  padding: 22px 0 14px;
}

.df-slide-foot {
  min-height: 28px;
  padding-top: 9px;
  border-top: 1px solid #d6e0ea;
  color: #75879a;
  font-size: 11px;
  font-weight: 800;
}

.df-slide-foot strong {
  color: #173653;
}

.df-slide-title {
  margin: 0;
  color: #173653;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.df-slide-kicker {
  display: block;
  margin-bottom: 7px;
  color: #e06c22;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.df-slide-overview-grid {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  gap: 18px;
  margin-bottom: 18px;
}

.df-slide-overview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: 24px 28px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #123d68, #1c5f95);
}

.df-slide-overview-copy .df-slide-kicker {
  color: #ffbd86;
}

.df-slide-overview-copy .df-slide-title {
  color: #fff;
  font-size: 39px;
}

.df-slide-overview-copy p {
  max-width: 560px;
  margin: 12px 0 0;
  color: #d9eaf8;
  font-size: 16px;
  line-height: 1.45;
}

.df-slide-rate-hero {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 180px;
  border: 1px solid #d6e1ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 55, 87, .08);
  text-align: center;
}

.df-slide-rate-hero span,
.df-slide-rate-hero small {
  display: block;
}

.df-slide-rate-hero span {
  color: #6f8296;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.df-slide-rate-hero strong {
  margin: 5px 0;
  color: #123d68;
  font-size: 56px;
  line-height: 1;
}

.df-slide-rate-hero small {
  max-width: 180px;
  color: #7a8b9c;
  font-size: 12px;
  line-height: 1.35;
}

.df-slide-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.df-slide-kpi {
  min-width: 0;
  min-height: 112px;
  padding: 16px;
  border: 1px solid #d9e2eb;
  border-top: 5px solid var(--df-kpi-color, #2563eb);
  border-radius: 13px;
  background: #fff;
}

.df-slide-kpi span,
.df-slide-kpi strong,
.df-slide-kpi small {
  display: block;
}

.df-slide-kpi span {
  color: #73869a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.df-slide-kpi strong {
  margin: 7px 0 5px;
  color: #173653;
  font-size: 30px;
  line-height: 1;
}

.df-slide-kpi small {
  overflow: hidden;
  color: #7e8e9e;
  font-size: 11px;
  line-height: 1.3;
}

.df-slide-insight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: center;
  margin-top: 16px;
  padding: 13px 16px;
  border-left: 5px solid #e8762a;
  border-radius: 10px;
  color: #526b82;
  background: #e8eef5;
  font-size: 14px;
  line-height: 1.42;
}

.df-slide-insight strong {
  color: #173653;
  white-space: nowrap;
}

.df-slide-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.df-slide-section-head p {
  max-width: 430px;
  margin: 0;
  color: #718397;
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.df-slide-ranking {
  display: grid;
  gap: 8px;
}

.df-slide-ranking-row {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr) 70px;
  gap: 12px;
  align-items: center;
  min-height: 47px;
}

.df-slide-ranking-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #24415d;
  font-size: 14px;
  font-weight: 850;
}

.df-slide-ranking-label i {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border-radius: 4px;
  background: var(--df-defect-color);
}

.df-slide-ranking-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-slide-ranking-track {
  position: relative;
  height: 35px;
  overflow: hidden;
  border-radius: 8px;
  background: #e4ebf2;
}

.df-slide-ranking-fill {
  display: flex;
  align-items: center;
  width: var(--df-defect-width);
  min-width: 48px;
  height: 100%;
  padding: 0 11px;
  border-radius: 8px;
  color: #fff;
  background: var(--df-defect-color);
  font-size: 14px;
  font-weight: 1000;
}

.df-slide-ranking-pct {
  color: #173653;
  font-size: 15px;
  font-weight: 1000;
  text-align: right;
}

.df-slide-top3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.df-slide-top3 article {
  padding: 12px 14px;
  border-radius: 10px;
  color: #536a80;
  background: #e9eef4;
  font-size: 12px;
}

.df-slide-top3 strong {
  display: block;
  margin-bottom: 3px;
  color: #173653;
  font-size: 14px;
}

.df-slide-sector-grid {
  display: grid;
  grid-template-columns: repeat(var(--df-sector-card-count, 4), minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.df-slide-sector-card {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #d7e0ea;
  border-radius: 12px;
  background: #fff;
}

.df-slide-sector-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.df-slide-sector-card header strong {
  color: #173653;
  font-size: 18px;
}

.df-slide-sector-card header span {
  color: #d94a39;
  font-size: 18px;
  font-weight: 1000;
}

.df-slide-sector-card p {
  margin: 6px 0 9px;
  color: #6c8094;
  font-size: 11px;
}

.df-slide-sector-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf4;
}

.df-slide-sector-track i {
  display: block;
  width: var(--df-sector-width);
  height: 100%;
  border-radius: inherit;
  background: #e8762a;
}

.df-slide-matrix-card {
  padding: 14px 16px;
  border: 1px solid #d7e0ea;
  border-radius: 13px;
  background: #fff;
}

.df-slide-matrix-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.df-slide-matrix-title strong {
  color: #173653;
  font-size: 15px;
}

.df-slide-matrix-title span {
  color: #73869a;
  font-size: 11px;
}

.df-slide-matrix {
  display: grid;
  gap: 5px;
}

.df-slide-matrix-row {
  display: grid;
  grid-template-columns: 310px repeat(var(--df-sector-count), minmax(0, 1fr));
  gap: 5px;
  align-items: center;
  min-height: 36px;
}

.df-slide-matrix-row > strong {
  overflow: hidden;
  color: #405a72;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-slide-matrix-cell {
  display: grid;
  place-items: center;
  min-height: 32px;
  border-radius: 6px;
  color: var(--df-matrix-text, #173653);
  background: var(--df-matrix-bg, #edf2f7);
  font-size: 12px;
  font-weight: 950;
}

.df-slide-matrix-row.head .df-slide-matrix-cell {
  color: #5f7488;
  background: transparent;
  font-size: 11px;
  text-transform: uppercase;
}

.df-slide-action-grid {
  display: grid;
  grid-template-columns: repeat(var(--df-action-count, 3), minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 17px;
}

.df-slide-action-card {
  min-width: 0;
  min-height: 170px;
  padding: 17px;
  border: 1px solid #d8e1ea;
  border-top: 6px solid var(--df-defect-color);
  border-radius: 13px;
  background: #fff;
}

.df-slide-action-card > span {
  display: block;
  color: #76889a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.df-slide-action-card > strong {
  display: block;
  min-height: 42px;
  margin: 7px 0 4px;
  color: #173653;
  font-size: 16px;
  line-height: 1.3;
}

.df-slide-action-card > em {
  color: var(--df-defect-color);
  font-size: 21px;
  font-style: normal;
  font-weight: 1000;
}

.df-slide-action-card p {
  margin: 10px 0 0;
  color: #5f7488;
  font-size: 12px;
  line-height: 1.4;
}

.df-slide-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.df-slide-method-card {
  min-width: 0;
  min-height: 125px;
  padding: 14px 15px;
  border-radius: 12px;
  color: #566e84;
  background: #e8eef5;
}

.df-slide-method-card span,
.df-slide-method-card strong {
  display: block;
}

.df-slide-method-card span {
  color: #1d659c;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.df-slide-method-card strong {
  margin: 6px 0;
  color: #173653;
  font-size: 14px;
}

.df-slide-method-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.df-slide-empty {
  display: grid;
  place-items: center;
  min-height: 340px;
  border: 2px dashed #cbd7e3;
  border-radius: 14px;
  color: #718397;
  font-size: 17px;
  text-align: center;
}

@media (max-width: 820px) {
  .df-v4-dash-tabs,
  .df-v4-scope-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .df-v4-dash-tabs button,
  .df-v4-scope-tabs button {
    flex: 1 1 auto;
  }

  .df-v4-title-actions {
    width: 100%;
    margin-top: 8px;
  }

  .df-v4-title-actions > button {
    flex: 1 1 0;
  }

  .df-presentation-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .df-presentation-toolbar-actions {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media print {
  body.df-presentation-print,
  body.df-presentation-print #app {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body.df-presentation-print * {
    visibility: hidden !important;
  }

  body.df-presentation-print #dfPresentationOverlay,
  body.df-presentation-print #dfPresentationOverlay * {
    visibility: visible !important;
  }

  body.df-presentation-print #dfPresentationOverlay {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    background: #fff !important;
  }

  body.df-presentation-print .df-presentation-toolbar {
    display: none !important;
  }

  body.df-presentation-print .df-presentation-viewport,
  body.df-presentation-print .df-presentation-frame,
  body.df-presentation-print .df-presentation-deck {
    position: static !important;
    display: block !important;
    width: 1024px !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  body.df-presentation-print .df-presentation-slide {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    width: 1024px !important;
    height: 768px !important;
    box-shadow: none !important;
    break-after: page;
    page-break-after: always;
  }

  body.df-presentation-print .df-presentation-slide:last-child {
    break-after: auto;
    page-break-after: auto;
  }
}
