/* PERFECT BUD 0.16.3 – Raporty i analizy */
.pb-an-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
  color: #132d44;
  min-width: 0;
}
.pb-an-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.pb-an-top h2 {
  font-size: 23px;
  margin: 7px 0 5px;
  color: #112c43;
}
.pb-an-top p {
  margin: 0;
  color: #596f80;
  font-size: 13px;
}
.pb-an-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #3a7482;
}
.pb-an-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pb-an-actions .btn {
  white-space: nowrap;
}
.pb-an-panel {
  background: #fff;
  border: 1px solid #dce6ed;
  border-radius: 14px;
  padding: 19px;
  box-shadow: 0 2px 11px #18354e08;
  min-width: 0;
}
.pb-an-panel h3 {
  font-size: 15px;
  color: #153148;
  margin: 0 0 9px;
}
.pb-an-filterpanel {
  padding: 14px 19px;
}
.pb-an-filters {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.pb-an-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 650;
  font-size: 11px;
  color: #586f80;
  min-width: 122px;
  flex: 1;
}
.pb-an-filters select {
  height: 39px;
  border: 1px solid #cbdde7;
  border-radius: 8px;
  background: white;
  padding: 0 10px;
  color: #16334c;
  font-size: 13px;
  min-width: 0;
}
.pb-an-filters button {
  height: 39px;
}
.pb-an-printhead {
  display: none;
}
.pb-an-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pb-an-summary > div {
  background: #fff;
  border: 1px solid #e0e9f0;
  padding: 17px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.pb-an-summary span {
  font-size: 12px;
  color: #5b7081;
  font-weight: 650;
}
.pb-an-summary strong {
  font-size: 22px;
  letter-spacing: -0.6px;
  color: #102d44;
  overflow-wrap: anywhere;
}
.pb-an-summary small {
  font-size: 11px;
  color: #5d707f;
}
.pb-an-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pb-an-charts .pb-an-panel {
  min-width: 0;
}
.pb-an-svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 140px;
}
.pb-an-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  font-size: 11px;
  color: #5a7080;
  margin: 5px 0 10px;
}
.pb-an-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 5px;
}
.pb-an-muted,
.pb-an-footnotes {
  color: #5e707d;
  font-size: 11px;
  line-height: 1.55;
}
.pb-an-footnotes {
  padding: 10px 18px;
}
.pb-an-footnotes p {
  margin: 4px 0;
}
.pb-an-loading,
.pb-an-warning,
.pb-an-empty {
  padding: 25px;
  background: #f7fafb;
  border: 1px dashed #d8e4eb;
  border-radius: 12px;
  color: #5d7485;
  font-size: 13px;
}
.pb-an-warning {
  background: #fff7e9;
  color: #84591b;
  border-color: #f0d7ae;
}
.pb-an-negative {
  color: #c43b45 !important;
}
.pb-an-positive {
  color: #007b69 !important;
}
.pb-an-tablewrap {
  overflow: auto;
}
.pb-an-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
  font-size: 12px;
}
.pb-an-table th {
  text-align: right;
  padding: 11px;
  background: #eef3f7;
  color: #395569;
  font-size: 11px;
  white-space: nowrap;
}
.pb-an-table th:first-child {
  text-align: left;
}
.pb-an-table td {
  padding: 12px 11px;
  border-bottom: 1px solid #e5edf1;
  text-align: right;
  white-space: nowrap;
}
.pb-an-table td:first-child {
  text-align: left;
}
.pb-an-table tr:hover td {
  background: #f6fbfa;
}
.pb-an-table td small {
  display: block;
  color: #5b707f;
  font-size: 10px;
  margin-top: 3px;
}
.pb-an-no-data {
  text-align: center !important;
  color: #5d707f;
}
.pb-an-costs {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.pb-an-costrow {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr) 110px;
  gap: 11px;
  align-items: center;
  font-size: 12px;
  color: #4f6b7c;
}
.pb-an-costrow strong {
  text-align: right;
  font-size: 11px;
  color: #1c3a50;
}
.pb-an-costtrack {
  height: 12px;
  border-radius: 6px;
  background: #edf3f5;
  overflow: hidden;
}
.pb-an-costtrack i {
  display: block;
  height: 100%;
  border-radius: 6px;
}
@media (max-width: 1150px) {
  .pb-an-charts {
    grid-template-columns: 1fr;
  }
  .pb-an-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .pb-an-panel {
    padding: 13px;
  }
  .pb-an-summary {
    grid-template-columns: 1fr 1fr;
  }
  .pb-an-summary strong {
    font-size: 17px;
  }
  .pb-an-filters label {
    min-width: 140px;
  }
  .pb-an-costrow {
    grid-template-columns: 90px minmax(0, 1fr) 83px;
    gap: 6px;
    font-size: 10px;
  }
  .pb-an-costrow strong {
    font-size: 10px;
  }
}
