.progress-report-button{display:inline-flex;gap:8px;align-items:center}
.progress-report-form{display:grid;gap:18px}
.progress-report-period{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.progress-report-summary{padding:16px;border-radius:var(--radius);background:var(--soft);color:var(--muted);font-size:var(--text-body);line-height:1.5}
.progress-report-summary strong{color:var(--ink)}
.progress-report-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.progress-report-actions>.btn{min-height:var(--control-height,44px);font-size:var(--text-label)}
.progress-report-feedback{margin:0;color:var(--red);font-size:var(--text-body);line-height:1.5}
.progress-report-actions button[aria-busy=true]{opacity:.65;cursor:wait}
.progress-report-note{font-size:var(--text-label);color:var(--muted);line-height:1.5;margin:0}
@media(max-width:520px){.progress-report-period{grid-template-columns:1fr}.progress-report-actions>.btn{flex:1}}

.co-report-heading {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.co-report-actions,
.co-modal [data-report-result]:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.co-modal [data-report-error] {
  color: var(--red);
}

.co-modal [data-report-error]:empty {
  display: none;
}

@media (max-width: 600px) {
  .co-report-actions {
    width: 100%;
  }
}

/* Report controls remain one stable footer on desktop and mobile. */
.co-modal.co-report-modal .co-report-period .co-period-custom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.co-modal.co-report-modal .co-report-period .co-period-custom[hidden]{display:none!important}
.co-modal.co-report-modal .co-report-period :is(label,input,select){min-width:0;max-width:100%}
.co-modal.co-report-modal .co-report-export-footer{border-top:1px solid var(--line,#111);margin-top:20px;padding-top:18px}
.co-modal.co-report-modal .co-report-feedback{margin:0 0 12px;font-size:var(--text-label,14px);line-height:1.45;color:var(--muted,#555)}
.co-modal.co-report-modal .co-report-feedback:empty{display:none}
.co-modal.co-report-modal [data-report-error]{color:var(--red)}
.co-modal.co-report-modal .co-report-export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin:0;padding:0}
.co-modal.co-report-modal .co-report-export-actions>.btn{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;width:100%;min-height:48px;margin:0;padding:12px 10px;border-radius:7px;white-space:normal;text-align:center;font:700 var(--text-label,14px)/1.3 var(--font);text-decoration:none}
.co-modal.co-report-modal .co-report-export-actions>[aria-disabled=true]{opacity:.6;cursor:wait;pointer-events:none}
.co-modal.co-report-modal .co-report-export-actions .btn-dark{background:#111!important;color:#fff!important}
.co-modal.co-report-modal .co-report-export-actions svg{flex:none}
