.pwl-brand-name-power {
  color: var(--rz-primary);
}

.pwl-brand-name-data {
  color: var(--rz-base-900);
}

.pwl-bd {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  gap: 0.75rem;
}

.pwl-bd-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pwl-bd-head-stemma {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: var(--rz-primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pwl-bd-head-stemma img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.pwl-bd-head-text {
  flex: 1 1 auto;
  min-width: 0;
}

.pwl-bd-head-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--rz-primary-dark);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pwl-bd-head-sub {
  font-size: 0.75rem;
  color: var(--rz-text-tertiary-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pwl-bd-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.pwl-bd-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--rz-text-color);
}
.pwl-bd-title .rzi {
  font-size: 1.125rem;
  color: var(--rz-primary);
}
.pwl-bd-title .pwl-bd-fonti {
  margin-left: auto;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--rz-text-tertiary-color);
}

.pwl-bd-hint {
  font-size: 0.75rem;
  color: var(--rz-text-tertiary-color);
}

.pwl-bd-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-top: 0.25rem;
}

.pwl-bd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.pwl-bd-table th {
  position: sticky;
  top: 0;
  background: var(--rz-base-100);
  color: var(--rz-text-tertiary-color);
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.pwl-bd-table td {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--rz-base-200);
}
.pwl-bd-table .text-end {
  text-align: right;
}
.pwl-bd-table .pwl-bd-col-date {
  width: 9rem;
  text-align: center;
}

.pwl-bd-caric {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.pwl-bd-dot {
  flex: 0 0 auto;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--rz-text-disabled-color);
}
.pwl-bd-dot--success {
  background: var(--rz-success);
}
.pwl-bd-dot--warning {
  background: var(--rz-warning);
}
.pwl-bd-dot--danger {
  background: var(--rz-danger);
}

.pwl-bd-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: var(--rz-border-normal);
}

.pwl-bd-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  font-size: 0.75rem;
  color: var(--rz-text-tertiary-color);
}

.pwl-bd-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.pwl-menu-comune-voice {
  display: none;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 800px) {
  .pwl-menu-comune-voice {
    display: block;
  }
}
