.page.is-report {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.page.is-report .page__scope {
  display: none;
}

.page.is-report .page-body {
  width: 100%;
}

.report-shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.report-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 1px 12px rgba(29, 42, 52, 0.06);
}

.report-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.report-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.report-filters__label {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
}

.report-filters__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.report-filter-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(12, 17, 20, 0.02);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  cursor: default;
}

.report-filters__edit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--brand);
}

.report-card__list {
  display: flex;
  flex-direction: column;
}

.report-card__title + .report-card__list {
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.report-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.report-filters + .report-card__list .report-row:first-child {
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.report-card__list .report-row + .report-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.report-row__main {
  flex: 1;
  min-width: 0;
}

.report-row__heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-row__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.report-row__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.report-row__desc {
  margin: 8px 0 0;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.report-export {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 2px;
  min-width: 108px;
  height: 40px;
  padding: 0 24px;
  border: none;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.report-export:disabled {
  opacity: 0.65;
  cursor: default;
}
