.reports-shell { width: min(1280px, 100%); }
.reports-logo { width: clamp(180px, 22vw, 300px); }

.report-intro {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.report-intro > div:first-child { max-width: 680px; }
.report-intro h2 { font-size: clamp(1.45rem, 3vw, 2.4rem); }
.report-intro p:not(.section-label) { margin: 12px 0 0; color: var(--muted); line-height: 1.55; }

.report-page-mark {
  display: grid;
  width: 138px;
  height: 138px;
  flex: 0 0 138px;
  place-content: center;
  border: 1px solid var(--line);
  border-top: 7px solid var(--warning);
  border-radius: 8px;
  background: #161c22;
  text-align: center;
}

.report-page-mark span { color: var(--warning); font-size: 2.2rem; font-weight: 850; }
.report-page-mark small { margin-top: 6px; color: var(--muted); font-size: 0.68rem; }

.report-builder { margin-bottom: 18px; }
.report-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 4px 18px 18px;
}

.report-filters label { display: grid; gap: 7px; }
.report-filters label span { color: var(--muted); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.report-filters input,
.report-filters select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #161c22;
  color: var(--text);
}
.report-filters input:focus,
.report-filters select:focus { border-color: var(--normal); outline: none; }

.report-actions { display: flex; gap: 8px; }
.report-actions .button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; }
.report-actions .button-primary { border-color: var(--normal); background: var(--normal); color: #06121a; }
.report-actions .button-primary:hover,
.report-actions .button-primary:focus-visible { background: #31b4ff; color: #06121a; }
.report-message { min-height: 20px; margin: 0; padding: 0 18px 14px; color: var(--muted); font-size: 0.78rem; }

.report-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.report-section { padding: 20px; }
.report-section h2 { margin-bottom: 16px; }
.report-includes { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.report-includes li { display: grid; gap: 3px; padding: 12px; border-left: 3px solid var(--normal); background: #161c22; }
.report-includes strong { color: var(--text); font-size: 0.86rem; }
.report-includes span,
.report-guidance dd { margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.report-guidance dl { display: grid; gap: 14px; margin: 0; }
.report-guidance dl div { padding-bottom: 14px; border-bottom: 1px solid rgba(224, 224, 224, 0.08); }
.report-guidance dl div:last-child { padding-bottom: 0; border: 0; }
.report-guidance dt { margin-bottom: 4px; color: var(--warning); font-size: 0.8rem; font-weight: 800; }

@media (max-width: 960px) {
  .report-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-actions { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .report-intro { align-items: flex-start; flex-direction: column; padding: 20px; }
  .report-page-mark { width: 110px; height: 110px; flex-basis: 110px; }
  .report-filters,
  .report-content-grid { grid-template-columns: 1fr; }
  .report-filters { padding: 4px 12px 12px; }
  .report-actions { display: grid; grid-column: auto; grid-template-columns: 1fr; }
}
