/* Report geometry belongs to components; semantic colors inherit Appearance. */
.hssm-report-form { margin-bottom: 1.5rem; }
.hssm-report-form fieldset { min-width: 0; padding: 1rem; border: 1px solid var(--hssm-border); border-radius: .65rem; }
.hssm-report-form legend { padding: 0 .4rem; font-weight: 600; }
.hssm-report-scope > label { display: flex; align-items: flex-start; gap: .65rem; margin: .75rem 0; }
.hssm-report-scope input[type="radio"], .hssm-report-scope input[type="checkbox"] { flex: 0 0 auto; width: auto; margin-top: .3rem; }
.hssm-report-choices { margin-top: 1rem; }
.hssm-report-choices summary { cursor: pointer; font-weight: 600; padding: .6rem 0; }
.hssm-report-choices__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .65rem 1.25rem; }
.hssm-report-choices__list label { display: flex; gap: .6rem; align-items: flex-start; overflow-wrap: anywhere; }
.hssm-report-selected-scope { padding: .8rem 1rem; border-inline-start: 3px solid var(--hssm-theme-accent); font-weight: 600; }
.hssm-notes-report { background-color: var(--hssm-surface-light); color: var(--hssm-text-light); padding: clamp(1rem, 3vw, 2rem); border-radius: .8rem; border: 1px solid var(--hssm-border); box-shadow: 0 5px 18px color-mix(in srgb, var(--hssm-shadow) 16%, transparent); overflow-wrap: anywhere; }
.hssm-notes-report__header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--hssm-border); }
.hssm-notes-report__header h2 { margin-top: 0; }
.hssm-notes-report__counts { font-weight: 600; }
.hssm-notes-report__filters { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 1rem 0 0; }
.hssm-notes-report__filters div { min-width: 0; }
.hssm-notes-report__filters dt { font-weight: 600; }
.hssm-notes-report__filters dd { margin: .2rem 0 0; }
.hssm-notes-report__player { margin: 2rem 0; }
.hssm-notes-report__player:last-child { margin-bottom: 0; }
.hssm-notes-report__player-heading h3 { margin-bottom: .4rem; }
.hssm-notes-report__player-heading p { margin: .4rem 0; }
.hssm-notes-report__teams { white-space: pre-line; }
.hssm-notes-report__note { margin-top: 1rem; padding: 1rem 1.15rem; background-color: var(--hssm-note-bg); color: var(--hssm-note-text); border: 1px solid var(--hssm-note-border); border-radius: .5rem; }
.hssm-notes-report__note header p { margin: 0 0 .5rem; }
.hssm-notes-report__time { font-size: .875rem; }
.hssm-notes-report__body { white-space: pre-wrap; line-height: 1.65; overflow-wrap: anywhere; }
@media (max-width: 40rem) { .hssm-notes-report__filters { display: block; } .hssm-notes-report__filters div + div { margin-top: .6rem; } .hssm-report-form .hssm-cc-actions { align-items: stretch; } .hssm-report-form .hssm-cc-actions > * { flex: 1 1 100%; text-align: center; } }

.hssm-cc .hssm-notes-report :is(h2,h3,p,dt,dd) { color: inherit; }
.hssm-cc .hssm-notes-report a { color: var(--hssm-link-light); }
.hssm-cc .hssm-notes-report a:hover { color: var(--hssm-link-light-hover); }
