/* Dashboard v5 — reporte opción D (anti-listado). Mock: Extras/.../dashboard-reporte-opcion-d-f10.html */

/* Misma lógica que Propietarios/Inquilinos v5: sin padding-left del main (evita franja entre menú y sombra).
   Viewport fijo: encabezado + KPIs arriba; los 2 paneles de abajo scrollean por dentro. */
main:has(> #dashboard.view.nd-dash-v5-view.active) {
  padding-left: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
  min-height: 0;
  overflow: hidden;
}

#dashboard.view.nd-dash-v5-view.active {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

#dashboard.view.nd-dash-v5-view {
  --nd-dash-v5-pad-x: 12px;
  --nd-dash-v5-layout-pad-l: 14px;
  --nd-dash-v5-layout-pad-r: 10px;
  --nd-dash-v5-layout-bridge-x: 6px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-layout {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0;
  padding: 0 var(--nd-dash-v5-layout-pad-r) 12px var(--nd-dash-v5-layout-pad-l);
  box-sizing: border-box;
  overflow: hidden;
  min-height: 0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-header__main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 20px;
  padding: 12px var(--nd-dash-v5-pad-x) 14px;
  border-bottom: 1px solid rgba(168, 146, 116, 0.22);
  background: transparent;
  border-radius: 0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: rgba(186, 168, 142, 0.22);
  color: #dccab0;
  flex-shrink: 0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-header__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-header__titles {
  flex: 1 1 200px;
  min-width: 0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-crumb {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #dccab0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-header__title {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(120deg, #f5f2ee 0%, #dccab0 45%, #a89274 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-stats {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(234, 232, 230, 0.78);
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-stats strong {
  color: #6ee7b7;
  font-weight: 600;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-stat-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-stat-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(234, 232, 230, 0.88);
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-stat-pill__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(168, 146, 116, 0.95);
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-stat-pill--muted {
  color: rgba(234, 232, 230, 0.65);
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-stat-pill--warn {
  border-color: rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.06);
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-stat-pill--rate {
  border-color: rgba(110, 231, 183, 0.22);
  background: rgba(110, 231, 183, 0.07);
  color: #6ee7b7;
  font-weight: 700;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-stat-pill--note {
  font-size: 0.68rem;
  color: rgba(168, 146, 116, 0.75);
  border-style: dashed;
  background: transparent;
}

#dashboard.view.nd-dash-v5-view .nd-dash-kpi-money--stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

#dashboard.view.nd-dash-v5-view .card-value .nd-dash-kpi-money--stack {
  gap: 4px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-kpi-money__line {
  display: block;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

#dashboard.view.nd-dash-v5-view .nd-dash-kpi-money__line--fx {
  font-size: 0.82em;
  font-weight: 700;
  color: #93c5fd;
}

#dashboard.view.nd-dash-v5-view .card[data-card-tone="ok"] .nd-dash-kpi-money__line--fx {
  color: #a7f3d0;
}

#dashboard.view.nd-dash-v5-view .card[data-card-tone="warn"] .nd-dash-kpi-money__line--fx {
  color: #fde68a;
}

#dashboard.view.nd-dash-v5-view .nd-dash-v5-header,
#dashboard.view.nd-dash-v5-view .nd-dash-kpi-row {
  flex-shrink: 0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-kpi-row {
  padding: 18px var(--nd-dash-v5-pad-x) 0;
}

#dashboard.view.nd-dash-v5-view .cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

#dashboard.view.nd-dash-v5-view .card {
  background: linear-gradient(165deg, #353230 0%, var(--neo-base, #2e2b29) 52%, #262322 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 15px 15px 13px;
  box-shadow: 8px 8px 22px var(--neo-d, #161413), -5px -5px 14px var(--neo-l, #403c39),
    inset 1px 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

#dashboard.view.nd-dash-v5-view .card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(186, 168, 142, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.15s ease;
}

#dashboard.view.nd-dash-v5-view .card:hover::before,
#dashboard.view.nd-dash-v5-view .card.is-active::before {
  opacity: 1;
}

#dashboard.view.nd-dash-v5-view .card:hover {
  border-color: rgba(186, 168, 142, 0.28);
  transform: translateY(-1px);
}

#dashboard.view.nd-dash-v5-view .card.is-active {
  border-color: rgba(186, 168, 142, 0.45);
  box-shadow: 0 0 0 1px rgba(168, 146, 116, 0.25) inset, 8px 8px 20px var(--neo-d, #161413);
}

#dashboard.view.nd-dash-v5-view .card-title {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
}

#dashboard.view.nd-dash-v5-view .card-value {
  font-size: 1.45rem;
  font-weight: 800;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.2;
  min-height: 1.2em;
}

#dashboard.view.nd-dash-v5-view .card-subtitle {
  margin-top: 6px;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

#dashboard.view.nd-dash-v5-view .card-subtitle--ok {
  color: #6ee7b7;
}

#dashboard.view.nd-dash-v5-view .card-subtitle--warn {
  color: #fbbf24;
}

#dashboard.view.nd-dash-v5-view .card-subtitle--late {
  color: #fca5a5;
}

#dashboard.view.nd-dash-v5-view .card[data-card-tone="ok"] .card-value {
  color: #6ee7b7;
}
#dashboard.view.nd-dash-v5-view .card[data-card-tone="warn"] .card-value {
  color: #fbbf24;
}
#dashboard.view.nd-dash-v5-view .card[data-card-tone="late"] .card-value {
  color: #f87171;
}

#dashboard.view.nd-dash-v5-view .nd-dash-charts-wrap {
  margin-top: 16px;
  margin-bottom: 18px;
  padding-inline: var(--nd-dash-v5-pad-x);
}

#dashboard.view.nd-dash-v5-view .nd-dash-ops {
  margin-top: 16px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

#dashboard.view.nd-dash-v5-view details.nd-dash-charts {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(165deg, #33302e 0%, var(--neo-base, #2e2b29) 50%, var(--neo-deep, #201e1c) 100%);
  box-shadow: 12px 12px 26px var(--neo-d, #161413), -8px -8px 18px var(--neo-l, #403c39);
  overflow: hidden;
}

#dashboard.view.nd-dash-v5-view details.nd-dash-charts summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #dccab0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
}

#dashboard.view.nd-dash-v5-view details.nd-dash-charts summary::-webkit-details-marker {
  display: none;
}

#dashboard.view.nd-dash-v5-view details.nd-dash-charts summary .hint {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

#dashboard.view.nd-dash-v5-view details.nd-dash-charts summary::after {
  content: "▾";
  color: #dccab0;
  transition: transform 0.15s ease;
}

#dashboard.view.nd-dash-v5-view details.nd-dash-charts:not([open]) summary::after {
  transform: rotate(-90deg);
}

#dashboard.view.nd-dash-v5-view .charts-inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 16px;
  padding: 8px 16px 20px;
  border-top: 1px solid rgba(168, 146, 116, 0.18);
}

#dashboard.view.nd-dash-v5-view .chart-card {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(32, 30, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 220px;
}

#dashboard.view.nd-dash-v5-view .chart-card h3 {
  margin: 0 0 6px;
  font-size: 0.84rem;
  font-weight: 700;
}

#dashboard.view.nd-dash-v5-view .chart-card__sub {
  margin: 0 0 12px;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

#dashboard.view.nd-dash-v5-view .nd-dash-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--muted);
}

#dashboard.view.nd-dash-v5-view .nd-dash-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-leg {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-leg--ok {
  background: linear-gradient(180deg, #6ee7b7, #059669);
}

#dashboard.view.nd-dash-v5-view .nd-dash-leg--warn {
  background: linear-gradient(180deg, #fcd34d, #d97706);
}

#dashboard.view.nd-dash-v5-view .nd-dash-chart-foot {
  margin: 10px 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

#dashboard.view.nd-dash-v5-view .nd-dash-chart-foot em {
  color: #dccab0;
  font-style: normal;
  font-weight: 600;
}

#dashboard.view.nd-dash-v5-view .chart-bars-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

#dashboard.view.nd-dash-v5-view .chart-stat {
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#dashboard.view.nd-dash-v5-view .chart-stat strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

#dashboard.view.nd-dash-v5-view .chart-stat span {
  display: block;
  margin-top: 3px;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--muted);
}

#dashboard.view.nd-dash-v5-view .chart-stat--ok strong {
  color: #6ee7b7;
}
#dashboard.view.nd-dash-v5-view .chart-stat--warn strong {
  color: #fbbf24;
}
#dashboard.view.nd-dash-v5-view .chart-stat--rate strong {
  color: #dccab0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 140px;
  padding-top: 8px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-bar-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 2px 0;
  border-radius: 6px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-bar-col--cur {
  background: rgba(186, 168, 142, 0.08);
  box-shadow: inset 0 0 0 1px rgba(168, 146, 116, 0.18);
}

#dashboard.view.nd-dash-v5-view .nd-dash-bar-stack {
  width: 100%;
  max-width: 42px;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-bar-stack span {
  display: block;
  width: 100%;
  border-radius: 3px 3px 0 0;
  min-height: 2px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-bar-stack .bar-ok {
  background: linear-gradient(180deg, #6ee7b7, #059669);
}
#dashboard.view.nd-dash-v5-view .nd-dash-bar-stack .bar-warn {
  background: linear-gradient(180deg, #fcd34d, #d97706);
}

#dashboard.view.nd-dash-v5-view .nd-dash-bar-label {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

#dashboard.view.nd-dash-v5-view .nd-dash-bar-label--cur {
  color: #dccab0;
  font-weight: 700;
}

#dashboard.view.nd-dash-v5-view .donut-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#dashboard.view.nd-dash-v5-view .donut-ring {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(32, 30, 28, 0.55), 0 8px 24px rgba(0, 0, 0, 0.28);
}

#dashboard.view.nd-dash-v5-view .donut-hole {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: linear-gradient(165deg, #33302e 0%, var(--neo-base, #2e2b29) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 3px 3px 8px var(--neo-d, #161413);
}

#dashboard.view.nd-dash-v5-view .donut-hole strong {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

#dashboard.view.nd-dash-v5-view .donut-hole span {
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 3px;
}

#dashboard.view.nd-dash-v5-view .donut-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  font-size: 0.74rem;
}

#dashboard.view.nd-dash-v5-view .donut-legend li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

#dashboard.view.nd-dash-v5-view .donut-legend .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

#dashboard.view.nd-dash-v5-view .donut-legend .lbl {
  font-size: 0.68rem;
  color: var(--muted);
}

#dashboard.view.nd-dash-v5-view .donut-legend li span:last-child {
  font-weight: 800;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ops {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.82fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ops::before {
  content: "";
  position: absolute;
  left: calc(-1 * (var(--nd-dash-v5-layout-pad-l) + var(--nd-dash-v5-layout-bridge-x)));
  top: 0;
  bottom: 0;
  width: calc(var(--nd-dash-v5-layout-pad-l) + var(--nd-dash-v5-layout-bridge-x));
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(46, 43, 41, 0.85) 0%,
    rgba(46, 43, 41, 0.32) 45%,
    rgba(46, 43, 41, 0.08) 75%,
    transparent 100%
  );
}

#dashboard.view.nd-dash-v5-view .nd-dash-ops__block {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.034) 0%, transparent 50%),
    linear-gradient(168deg, rgba(51, 48, 46, 0.42) 0%, rgba(46, 43, 41, 0.28) 46%, rgba(32, 30, 28, 0.1) 100%);
  box-shadow: 12px 12px 26px var(--neo-d, #161413), -8px -8px 18px var(--neo-l, #403c39),
    inset 1px 1px 0 rgba(255, 255, 255, 0.03);
  padding: 14px 16px 12px;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#dashboard.view.nd-dash-v5-view .action-cards,
#dashboard.view.nd-dash-v5-view .timeline {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

#dashboard.view.nd-dash-v5-view .action-cards::-webkit-scrollbar,
#dashboard.view.nd-dash-v5-view .timeline::-webkit-scrollbar {
  width: 6px;
}

#dashboard.view.nd-dash-v5-view .action-cards::-webkit-scrollbar-track,
#dashboard.view.nd-dash-v5-view .timeline::-webkit-scrollbar-track {
  background: transparent;
}

#dashboard.view.nd-dash-v5-view .action-cards::-webkit-scrollbar-thumb,
#dashboard.view.nd-dash-v5-view .timeline::-webkit-scrollbar-thumb {
  background: rgba(168, 146, 116, 0.35);
  border-radius: 999px;
}

#dashboard.view.nd-dash-v5-view .action-cards::-webkit-scrollbar-thumb:hover,
#dashboard.view.nd-dash-v5-view .timeline::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 146, 116, 0.55);
}

#dashboard.view.nd-dash-v5-view .nd-dash-ops__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(168, 146, 116, 0.2);
  flex-shrink: 0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ops__head h2 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ops__count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

#dashboard.view.nd-dash-v5-view .action-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#dashboard.view.nd-dash-v5-view .action-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px 12px 16px;
  border-radius: 10px;
  background: rgba(32, 30, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left-width: 4px;
  box-shadow: inset 2px 2px 6px var(--neo-d, #161413);
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease;
  font: inherit;
  color: inherit;
}

#dashboard.view.nd-dash-v5-view .action-card:hover {
  background: rgba(168, 146, 116, 0.1);
  transform: translateX(2px);
}

#dashboard.view.nd-dash-v5-view .action-card--late {
  border-left-color: #f87171;
}
#dashboard.view.nd-dash-v5-view .action-card--warn {
  border-left-color: #fbbf24;
}
#dashboard.view.nd-dash-v5-view .action-card--ok {
  border-left-color: #6ee7b7;
}
#dashboard.view.nd-dash-v5-view .action-card--info {
  border-left-color: #60a5fa;
}

#dashboard.view.nd-dash-v5-view .action-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

#dashboard.view.nd-dash-v5-view .action-card__who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

#dashboard.view.nd-dash-v5-view .action-card__who strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
}

#dashboard.view.nd-dash-v5-view .action-card__text {
  min-width: 0;
  flex: 1;
}

#dashboard.view.nd-dash-v5-view .action-card__nombre {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#dashboard.view.nd-dash-v5-view .action-card__sub {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#dashboard.view.nd-dash-v5-view .action-card__amt {
  font-size: 0.9rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

#dashboard.view.nd-dash-v5-view .action-card__foot {
  margin-top: 4px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-badge {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  white-space: nowrap;
}

#dashboard.view.nd-dash-v5-view .nd-dash-badge--late {
  background: rgba(248, 113, 113, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.35);
}
#dashboard.view.nd-dash-v5-view .nd-dash-badge--warn {
  background: rgba(251, 191, 36, 0.16);
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.32);
}
#dashboard.view.nd-dash-v5-view .nd-dash-badge--ok {
  background: rgba(110, 231, 183, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.32);
}
#dashboard.view.nd-dash-v5-view .nd-dash-badge--info {
  background: rgba(96, 165, 250, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.32);
}

#dashboard.view.nd-dash-v5-view .nd-dash-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-av--a {
  background: linear-gradient(145deg, #57534e, #44403c);
}
#dashboard.view.nd-dash-v5-view .nd-dash-av--b {
  background: linear-gradient(145deg, #6366f1, #4338ca);
}
#dashboard.view.nd-dash-v5-view .nd-dash-av--c {
  background: linear-gradient(145deg, #0d9488, #0f766e);
}
#dashboard.view.nd-dash-v5-view .nd-dash-av--d {
  background: linear-gradient(145deg, #d97706, #b45309);
}

#dashboard.view.nd-dash-v5-view .nd-dash-ops__link--btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #dccab0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ops__link--btn:hover {
  text-decoration: underline;
}

#dashboard.view.nd-dash-v5-view .timeline {
  position: relative;
  padding-left: 4px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-track {
  position: relative;
  padding-left: 4px;
  margin-bottom: 8px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-track::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(168, 146, 116, 0.45), rgba(168, 146, 116, 0.08));
  border-radius: 2px;
}

#dashboard.view.nd-dash-v5-view .timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0 14px;
}

#dashboard.view.nd-dash-v5-view .timeline-dot {
  width: 12px;
  height: 12px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: var(--neo-base, #2e2b29);
  border: 2px solid #baa88e;
  box-shadow: 0 0 0 3px rgba(186, 168, 142, 0.15);
  position: relative;
  z-index: 1;
}

#dashboard.view.nd-dash-v5-view .timeline-item--soon .timeline-dot {
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
}

#dashboard.view.nd-dash-v5-view .timeline-body {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(32, 30, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#dashboard.view.nd-dash-v5-view .timeline-date {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #dccab0;
  margin-bottom: 4px;
}

#dashboard.view.nd-dash-v5-view .timeline-body strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
}

#dashboard.view.nd-dash-v5-view .timeline-body p {
  margin: 4px 0 0;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.35;
}

#dashboard.view.nd-dash-v5-view .nd-dash-empty-inline {
  margin: 0;
  padding: 8px 0 4px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

#dashboard.view.nd-dash-v5-view .nd-dash-empty-block {
  padding: 8px 4px 4px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-empty-hint {
  margin: 0;
  padding: 0 8px 8px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  opacity: 0.85;
}

#dashboard.view.nd-dash-v5-view .nd-dash-agenda-note {
  margin: 0 0 10px;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #dccab0;
  background: rgba(186, 168, 142, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(168, 146, 116, 0.2);
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-pulse {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(168, 146, 116, 0.22);
  background: rgba(186, 168, 142, 0.08);
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-pulse__line,
#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-pulse__ok,
#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-pulse__meta {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(234, 232, 230, 0.88);
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-pulse__ok {
  margin-top: 4px;
  font-weight: 700;
  color: #6ee7b7;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-pulse__meta {
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--muted);
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-ipc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(110, 231, 183, 0.28);
  background: rgba(110, 231, 183, 0.1);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-ipc:hover {
  border-color: rgba(110, 231, 183, 0.5);
  background: rgba(110, 231, 183, 0.16);
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-ipc strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #a7f3d0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-ipc span {
  font-size: 0.74rem;
  color: rgba(234, 232, 230, 0.82);
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-ipc em {
  font-style: normal;
  font-weight: 700;
  color: #fbbf24;
}

#dashboard.view.nd-dash-v5-view .nd-dash-ritmo-sec {
  margin: 4px 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dccab0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-timeline-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.14);
  border-radius: 4px;
  vertical-align: middle;
}

#dashboard.view.nd-dash-v5-view .timeline-item--prox .timeline-dot {
  border-color: #60a5fa;
}

#dashboard.view.nd-dash-v5-view .nd-dash-cta-wrap {
  padding: 18px var(--nd-dash-v5-pad-x) 8px;
}

#dashboard.view.nd-dash-v5-view .nd-dash-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(168, 146, 116, 0.22);
  background: rgba(32, 30, 28, 0.65);
  box-shadow: inset 3px 3px 8px var(--neo-d, #161413), inset -2px -2px 6px var(--neo-l, #403c39);
  transition: border-color 0.12s ease;
}

#dashboard.view.nd-dash-v5-view .nd-dash-cta:hover {
  border-color: rgba(186, 168, 142, 0.38);
}

#dashboard.view.nd-dash-v5-view .nd-dash-cta svg {
  width: 18px;
  height: 18px;
  color: #dccab0;
  flex-shrink: 0;
}

#dashboard.view.nd-dash-v5-view .nd-dash-cta__btn {
  font-size: 0.9rem;
  font-weight: 700;
  color: #dccab0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

#dashboard.view.nd-dash-v5-view .nd-dash-cta__btn:hover {
  text-decoration: underline;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-v5-header__icon {
  background: rgba(22, 101, 52, 0.12);
  color: #166534;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-v5-crumb {
  color: #166534;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-v5-header__title {
  background: none;
  -webkit-text-fill-color: unset;
  color: var(--text);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-v5-stats {
  color: var(--muted);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-v5-stats strong {
  color: #047857;
  font-weight: 700;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card {
  background: var(--card);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card:hover {
  border-color: rgba(168, 146, 116, 0.45);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card.is-active {
  border-color: rgba(168, 146, 116, 0.55);
  box-shadow: 0 0 0 1px rgba(168, 146, 116, 0.22) inset, var(--shadow);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card-title {
  color: var(--muted);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card-value {
  color: var(--text);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card-subtitle {
  color: var(--muted);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card-subtitle--ok {
  color: #047857;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card-subtitle--warn {
  color: #b45309;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card-subtitle--late {
  color: #b91c1c;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card[data-card-tone="ok"] .card-value {
  color: #047857;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card[data-card-tone="warn"] .card-value {
  color: #b45309;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .card[data-card-tone="late"] .card-value {
  color: #dc2626;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view details.nd-dash-charts {
  border-color: var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view details.nd-dash-charts summary {
  color: var(--text);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view details.nd-dash-charts summary::after {
  color: var(--muted);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .chart-card {
  background: var(--neo-base);
  border-color: var(--border);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .chart-card h3 {
  color: var(--text);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ops::before {
  display: none;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ops__block {
  border-color: var(--border);
  background: linear-gradient(165deg, #f3ece4 0%, var(--neo-base) 55%, #ded4c9 100%);
  box-shadow:
    12px 12px 28px rgba(190, 180, 168, 0.4),
    -8px -8px 22px var(--neo-l),
    inset 1px 1px 0 rgba(255, 252, 248, 0.85);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ops__head {
  border-bottom-color: var(--border);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ops__head h2 {
  color: var(--text);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ops__count {
  color: var(--muted);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .action-card {
  background: var(--neo-base);
  border-color: rgba(168, 146, 116, 0.22);
  box-shadow: none;
  color: var(--text);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .action-card:hover {
  background: rgba(222, 184, 150, 0.18);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .action-card__who strong,
html.theme-f5 #dashboard.view.nd-dash-v5-view .action-card__nombre {
  color: var(--text);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .action-card__sub {
  color: var(--muted);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .action-card__amt {
  color: var(--text);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-badge--late {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.28);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-badge--warn {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.28);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-badge--ok {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
  border-color: rgba(5, 150, 105, 0.28);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-badge--info {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.24);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ops__link--btn {
  color: #4a4038;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ops__link--btn:hover {
  color: var(--text);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-agenda-note {
  color: var(--muted);
  background: rgba(168, 146, 116, 0.1);
  border-color: var(--border);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ritmo-track::before {
  background: linear-gradient(180deg, rgba(168, 146, 116, 0.45), rgba(168, 146, 116, 0.12));
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ritmo-pulse {
  background: rgba(168, 146, 116, 0.08);
  border-color: rgba(168, 146, 116, 0.22);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ritmo-pulse__line,
html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ritmo-pulse__meta {
  color: var(--muted);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ritmo-pulse__ok {
  color: #047857;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ritmo-ipc {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.28);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ritmo-ipc strong {
  color: #047857;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ritmo-ipc span {
  color: var(--muted);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ritmo-ipc em {
  color: #b45309;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-ritmo-sec {
  color: #6b5c50;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .timeline-dot {
  background: var(--neo-base);
  border-color: #a89274;
  box-shadow: 0 0 0 3px rgba(168, 146, 116, 0.18);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .timeline-body {
  background: var(--neo-base);
  border-color: var(--border);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .timeline-date {
  color: #6b5c50;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .timeline-body strong {
  color: var(--text);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .timeline-body p {
  color: var(--muted);
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-cta {
  background: var(--neo-base);
  border-color: rgba(168, 146, 116, 0.22);
  box-shadow: none;
}

html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-cta svg,
html.theme-f5 #dashboard.view.nd-dash-v5-view .nd-dash-cta__btn {
  color: var(--text);
}

@media (max-width: 1100px) {
  #dashboard.view.nd-dash-v5-view .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  #dashboard.view.nd-dash-v5-view .nd-dash-ops,
  #dashboard.view.nd-dash-v5-view .charts-inner {
    grid-template-columns: 1fr;
  }
  #dashboard.view.nd-dash-v5-view .nd-dash-ops {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  #dashboard.view.nd-dash-v5-view .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  #dashboard.view.nd-dash-v5-view .cards {
    grid-template-columns: 1fr;
  }
  #dashboard.view.nd-dash-v5-view .chart-bars-head {
    grid-template-columns: 1fr;
  }
  #dashboard.view.nd-dash-v5-view .nd-dash-v5-stat-pills {
    flex-direction: column;
    align-items: stretch;
  }
  #dashboard.view.nd-dash-v5-view .nd-dash-v5-stat-pill {
    justify-content: space-between;
  }
}
