.ui-bell form[style] {
  margin-top: 8px;
}

.app-side-foot span strong {
  color: var(--text);
}


.ui-donut-wrap ul li i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 5px;
  vertical-align: middle;
}

.ui-legend {
  display: flex;
  gap: 16px;
  font-size: 0.8em;
  margin-top: 8px;
}
.ui-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.ui-legend span i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.reset-code-display {
  font-size: 28px;
  letter-spacing: 6px;
  font-weight: bold;
  margin: 10px 0;
}

.company-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tv-grid {
  display: grid;
  gap: 16px;
}

.rank-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 0.75em;
  font-weight: bold;
}

.error-illustration {
  text-align: center;
  padding: 32px 0;
}

.redirect-countdown {
  font-size: 2em;
  font-weight: bold;
  color: var(--accent);
}

.activity-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.app-user-name {
  color: var(--text);
}

.vg-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--borda, #ddd);
}
.vg-pagination-info {
  font-size: 13px;
  color: var(--muted, #666);
  display: none;
}
.vg-pagination-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.vg-p-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 1px solid var(--borda, #ccc);
  background: #fff;
  color: var(--verde-esc, #1f6f2d);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.vg-p-btn:hover {
  background: var(--verde-cl, #eaf5ec);
  border-color: var(--verde, #2f9e41);
}
.vg-p-btn.is-active,
.vg-p-btn[aria-current="page"] {
  background: var(--verde, #2f9e41);
  color: #fff;
  border-color: var(--verde, #2f9e41);
  font-weight: 800;
  min-width: 36px;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(47, 158, 65, 0.35);
}
.vg-p-ellipsis {
  color: var(--muted, #666);
  font-size: 13px;
  padding: 0 4px;
}

.vg-detail-meta-sep {
  color: var(--muted);
  margin: 0 4px;
}
.vg-detail-meta-tag {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.vg-list-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.vg-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a5c29;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  animation: toast-in 0.25s ease;
}
.vg-toast[hidden] {
  display: none;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.vg .vg-pagination {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vg .vg-pagination .vg-pagination-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ui-section-h {
  font-size: 18px;
  margin: 0;
}
.ui-card-foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.ui-card-foot a {
  font-weight: 600;
}
.ui-ledger-label {
  color: var(--text);
}
.ui-callout > .vg-ico {
  flex: none;
}
.ui-ledger-sub {
  margin: 22px 0 8px;
  font-size: 15px;
}
.ui-metric-l::first-letter {
  text-transform: uppercase;
}

.ui-rows {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ui-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.ui-row:last-child {
  border-bottom: 0;
}
.ui-row:hover {
  background: var(--surface-2);
}
.ui-row-main {
  min-width: 0;
}
.ui-row-title {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-right: 6px;
}
.ui-row-title:hover {
  color: var(--primary);
  text-decoration: underline;
}
.ui-row-meta {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-row-dates {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ui-row-dates small {
  color: var(--muted);
}
.ui-row-actions .ui-actions {
  flex-wrap: nowrap;
}
@media (max-width: 900px) {
  .ui-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .ui-row-dates {
    align-items: flex-start;
  }
}
.ui-row-actions {
  display: flex;
  justify-content: flex-end;
  min-width: 170px;
}
@media (max-width: 900px) {
  .ui-row-actions {
    justify-content: flex-start;
    min-width: 0;
  }
}

.ui-sub-flush {
  margin: 0;
  max-width: 62ch;
}
.ui-chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 14px;
}
.ui-chart-head h2 {
  font-size: 16px;
  margin: 0;
}
.ui-key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: var(--muted);
}
.ui-key li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ui-key i {
  display: inline-block;
  width: 12px;
  height: 8px;
  border-radius: 2px;
}
.ui-key-bar,
.ui-key-s1 {
  background: var(--chart-1);
}
.ui-key-s2 {
  background: var(--chart-2);
}
.ui-key-s3 {
  background: var(--chart-3);
}
.ui-key i.ui-key-tick {
  width: 2px;
  height: 12px;
  border-radius: 1px;
  background: var(--text);
}
.ui-hbars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ui-hbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  padding: 7px 8px;
  margin: 0 -8px;
  border-radius: var(--r-sm);
}
.ui-hbar:hover,
.ui-hbar:focus-visible {
  background: var(--surface-2);
}
.ui-hbar-label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.ui-hbar-label a,
.ui-hbar-label span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-hbar-label a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.ui-hbar-label small {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-hbar-track {
  position: relative;
  height: 12px;
  border-radius: 0 4px 4px 0;
  background: var(--surface-2);
}
.ui-hbar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--chart-1);
  border-radius: 0 4px 4px 0;
  min-width: 2px;
}
.ui-hbar-tick {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  margin-left: -1px;
  border-radius: 1px;
  background: var(--text);
  box-shadow: 0 0 0 2px var(--surface);
}
.ui-hbar-stack {
  display: flex;
  gap: 2px;
  background: transparent;
}
.ui-hbar-seg {
  height: 100%;
  min-width: 3px;
}
.ui-hbar-seg:last-child {
  border-radius: 0 4px 4px 0;
}
.ui-hbar-s1 {
  background: var(--chart-1);
}
.ui-hbar-s2 {
  background: var(--chart-2);
}
.ui-hbar-s3 {
  background: var(--chart-3);
}
.ui-hbar-value {
  text-align: right;
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.ui-hbar[data-tip]:hover::after,
.ui-hbar[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  width: max-content;
  max-width: 320px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--text);
  color: var(--bg);
  font-size: 12.5px;
  line-height: 1.4;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
}
.ui-hbars-compact .ui-hbar {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) 44px;
}
@media (max-width: 700px) {
  .ui-hbar {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 4px 10px;
  }
  .ui-hbar-label {
    grid-column: 1 / -1;
  }
}
.ui-card .ui-chart {
  max-height: 260px;
}

.dash-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  margin-bottom: 20px;
  border-radius: var(--r);
  background: linear-gradient(120deg, #0b3424 0%, #13784a 100%);
  color: #e6f2ea;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dash-hero-kicker {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a6d8b9;
}
.dash-hero h2 {
  margin: 6px 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  max-width: 24ch;
}
.dash-hero p {
  margin: 0 0 16px;
  color: #cfe6d8;
}
.dash-hero .ui-btn {
  border-color: rgba(255, 255, 255, 0.35);
}
.dash-hero .ui-btn:not(.ui-btn-primary) {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.dash-hero .ui-btn-primary {
  background: #fff;
  border-color: #fff;
  color: #0b3424;
}
.dash-hero-art {
  flex: none;
  width: 220px;
  height: auto;
}
.dash-hero-art rect {
  fill: rgba(255, 255, 255, 0.14);
}
.dash-hero-art rect.is-top {
  fill: #6fd69c;
}
.dash-hero-art .is-dot {
  fill: var(--if-red);
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.dash-kpi {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dash-kpi:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.dash-kpi-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 10px;
}
.tone-green { background: color-mix(in srgb, var(--chart-1) 14%, transparent); color: var(--chart-1); }
.tone-blue { background: color-mix(in srgb, var(--chart-2) 14%, transparent); color: var(--chart-2); }
.tone-amber { background: color-mix(in srgb, var(--chart-3) 16%, transparent); color: var(--chart-3); }
.tone-violet { background: color-mix(in srgb, var(--chart-4) 14%, transparent); color: var(--chart-4); }
.tone-ok { background: var(--ok-bg); color: var(--ok); }
.tone-danger { background: var(--danger-bg); color: var(--danger); }
.tone-info { background: var(--info-bg); color: var(--info); }
.tone-mute { background: var(--mute-bg); color: var(--mute); }
.dash-kpi-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.dash-kpi strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.dash-kpi strong .ui-delta {
  margin: 0;
  font-family: var(--font-body);
}
.dash-kpi small {
  font-size: 12.5px;
  color: var(--muted);
}
.dash-spark {
  width: 100%;
  height: 28px;
  margin-top: 4px;
  overflow: visible;
}
.dash-spark polyline {
  fill: none;
  stroke: var(--chart-4);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.dash-span-2 {
  grid-column: span 2;
}
.dash-grid .ui-card > h2 {
  font-size: 16px;
}
.dash-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.dash-mini-stats div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
}
.dash-mini-stats > div > span:first-child {
  width: 100%;
  font-size: 12.5px;
  color: var(--muted);
}
.dash-mini-stats strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.dash-mini-stats .ui-delta {
  margin: 0;
}
.ui-link-sm {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.ui-link-sm:hover {
  text-decoration: underline;
}
.dash-grid .ui-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.dash-grid .ui-donut-wrap svg {
  width: 170px;
  height: 170px;
}
.dash-grid .ui-donut-wrap ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 14px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.dash-grid .ui-donut-wrap li strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.dash-stackbar {
  display: flex;
  gap: 2px;
  height: 14px;
  margin: 4px 0 12px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-2);
}
.dash-stackbar span {
  height: 100%;
  min-width: 3px;
}
.dash-key {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}
.dash-key strong {
  margin-left: auto;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.dash-subhead {
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--font-body);
  letter-spacing: 0;
}
.dash-people {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dash-people li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.dash-people a {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-people a:hover {
  color: var(--primary);
}
.dash-people .app-avatar {
  width: 30px;
  height: 30px;
  font-size: 11px;
}
.dash-feed {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dash-feed li {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.dash-feed li:last-child {
  border-bottom: 0;
}
.dash-feed-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.dash-feed p {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.dash-feed time {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .dash-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .dash-hero {
    padding: 20px;
  }
  .dash-hero-art {
    display: none;
  }
  .dash-hero h2 {
    font-size: 20px;
  }
  .dash-grid,
  .dash-mini-stats {
    grid-template-columns: 1fr;
  }
  .dash-span-2 {
    grid-column: auto;
  }
  .dash-feed li {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .dash-feed time {
    grid-column: 2;
  }
}
@media (max-width: 480px) {
  .dash-kpis {
    gap: 10px;
  }
  .dash-kpi {
    padding: 14px;
  }
  .dash-kpi-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }
  .dash-kpi strong {
    font-size: 24px;
  }
}
