.assignment-reports-panel { min-width: 0; padding-bottom: 24px; }
.reports-header { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.reports-header h1 { font: 500 25px/1.2 Georgia, serif; margin: 8px 0 12px; }
.reports-intro, .reports-hint, .reports-empty { color: var(--muted); font-size: 12px; line-height: 1.6; }
.reports-picker { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; margin: 20px 0; }
.reports-picker label { grid-column: 1 / -1; }
.assignment-reports-panel :is(input:not([type=checkbox]):not([type=range]),select,textarea) { box-sizing: border-box; width: 100%; min-width: 0; min-height: 38px; border: 1px solid var(--border); border-radius: 7px; padding: 9px 11px; background: var(--map-background); color: var(--text); font: 13px/1.5 system-ui, sans-serif; }
.assignment-reports-panel textarea { resize: vertical; min-height: 110px; }
.assignment-reports-panel :is(input,select,textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.assignment-reports-panel label { font-size: 12px; line-height: 1.6; }
.assignment-reports-panel h2 { font: 500 21px/1.35 Georgia, serif; margin: 26px 0 16px; }
.assignment-reports-panel h3 { margin: 0 0 14px; font-size: 15px; }
.assignment-reports-panel details { border: 1px solid var(--border); border-radius: 8px; padding: 12px; margin: 14px 0; }
.assignment-reports-panel summary { cursor: pointer; font-size: 13px; font-weight: 600; line-height: 1.5; }
.reports-new form { display: grid; gap: 9px; margin-top: 16px; }
.reports-new button { justify-self: start; }
.reports-member { padding: 16px; background: var(--inset); border: 1px solid var(--border); border-radius: 9px; margin: 12px 0; }
.reports-member h3 { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.reports-badge { padding: 3px 8px; border-radius: 20px; font-size: 10px; color: var(--muted); border: 1px solid var(--border); font-weight: 400; }
.reports-member-fields { display: grid; gap: 10px; }
.reports-member-fields label:not(.reports-enable) { display: grid; gap: 4px; }
.reports-enable { display: flex; align-items: center; gap: 8px; }
.reports-enable input { accent-color: var(--accent); width: 18px; height: 18px; }
.reports-preview p, .reports-preview li, .reports-common-preview p, .reports-common-preview li { font-size: 12px; line-height: 1.6; }
.reports-preview small, .reports-common-preview small { display: block; font-size: 11px; color: var(--muted); }
.reports-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 10px; }
.reports-result dl { margin-bottom: 0; }
.reports-result dt { color: var(--muted); font-size: 12px; margin-top: 18px; }
.reports-result dd { margin: 6px 0 0; font-size: 14px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.reports-result meter { width: min(65%,240px); height: 12px; margin-right: 12px; accent-color: var(--accent); }
.reports-role { color: var(--accent); font-size: 13px; }
.reports-question { border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin: 20px 0; min-width: 0; background: var(--inset); }
.reports-question legend { font-size: 14px; line-height: 1.5; padding: 0 6px; max-width: 100%; }
.reports-question input[type=range] { width: 100%; accent-color: var(--accent); margin: 12px 0; }
.reports-question small { display: block; color: var(--muted); margin-top: 8px; font-size: 11px; }
.reports-anchors { display: flex; justify-content: space-between; gap: 18px; font-size: 10px; color: var(--muted); line-height: 1.5; }
.reports-anchors span { max-width: 48%; }
.reports-anchors span:last-child { text-align: right; }
.reports-rating-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.reports-rating-actions output { font-size: 14px; font-weight: 600; margin-right: auto; }
.reports-rating-actions button { font-size: 11px; padding: 6px 10px; height: auto; }
.reports-rating-actions button[aria-pressed=true] { background: var(--selected-background); color: var(--selected-text); }
.reports-confidential { border-left: 3px solid var(--accent); padding: 16px; margin: 30px 0 20px; background: var(--inset); }
.reports-confidential p { font-size: 13px; line-height: 1.7; margin-bottom: 0; }
.reports-popout .app-shell { display: block; overflow: auto; background: var(--surface); }
.reports-popout .assignment-reports-panel { box-sizing: border-box; max-width: 1050px; margin: 0 auto; padding: 32px; }
.reports-popout .reports-header h1 { font-size: 32px; }
.reports-popout .reports-member-fields { grid-template-columns: minmax(120px, .7fr) minmax(170px, 1fr) minmax(170px, 1fr); align-items: center; }
.reports-popout .reports-picker { max-width: 650px; }
.reports-popout #reports-player-form { max-width: 760px; }
@media(max-width:650px) {
  .reports-popout .assignment-reports-panel { padding: 22px 16px; }
  .reports-popout .reports-member-fields { grid-template-columns: 1fr; }
  .reports-question { padding: 12px; }
  .reports-header h1 { font-size: 26px; }
}
