﻿/* Participant dialog: the DcH overview's design, scoped to this dialog. */
html body #event-participants-modal {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    width: calc(100% - 40px);
    max-width: 1080px;
    max-height: 90vh;
    max-height: 90dvh;
    padding: 28px;
    border: 1px solid #dfebef;
    border-radius: 16px;
    background: #f4f7f8;
    color: #172f3c;
    box-shadow: 0 24px 80px #17333f40;
    overflow: auto;
    overscroll-behavior: contain;
    z-index: 10000;
    font: 15px/1.5 "Roboto Condensed", "Segoe UI", sans-serif;
    text-align: left;
}
html body #event-participants-modal:not([open]):not(.ep-print),
html body #event-participants-modal [hidden] { display: none !important; }
html body #event-participants-modal::backdrop { background: #132f3e88; }
html body #event-participants-modal *,
html body #event-participants-modal *::before,
html body #event-participants-modal *::after { box-sizing: border-box; }
html body #event-participants-modal h2,
html body #event-participants-modal h3,
html body #event-participants-modal p {
    margin: 0;
    padding: 0;
    color: inherit;
    letter-spacing: normal;
    text-transform: none;
}
html body #event-participants-modal button,
html body #event-participants-modal input,
html body #event-participants-modal select { font: inherit; letter-spacing: normal; text-transform: none; margin: 0; }
html body #event-participants-modal button { cursor: pointer; box-shadow: none; background-image: none; }
html body #event-participants-modal a { color: #087fa5; text-decoration: none; }
html body #event-participants-modal a:hover { text-decoration: underline; }
html body #event-participants-modal :is(a, button, input, select, summary):focus-visible { outline: 3px solid #65bed9; outline-offset: 3px; }
html body #event-participants-modal .ep-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
html body #event-participants-modal .ep-heading > div { min-width: 0; overflow-wrap: anywhere; }
html body #event-participants-modal .ep-heading h2 { font-size: 24px; font-weight: 600; line-height: 1.35; }
html body #event-participants-modal .ep-heading p { color: #657c8a; margin-top: 6px; }
html body #event-participants-modal .ep-close { flex-shrink: 0; align-self: start; width: 38px; height: 38px; border: 1px solid #dfebef; border-radius: 50%; color: #172f3c; background: #fff; font-size: 26px; line-height: 1; padding: 0; }
html body #event-participants-modal .ep-tools { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-bottom: 12px; }
html body #event-participants-modal .ep-field { flex: 0 1 180px; min-width: 0; }
html body #event-participants-modal .ep-field:first-child { flex: 1 1 240px; }
html body #event-participants-modal .ep-field label { display: block; margin: 0 0 5px; color: #657c8a; font-size: 12px; font-weight: 400; }
html body #event-participants-modal .ep-field :is(input[type="search"], select) { display: block; width: 100%; min-width: 0; height: 38px; border: 1px solid #dfebef; border-radius: 6px; background: #fff; color: #172f3c; padding: 0 10px; font-size: 14px; line-height: normal; box-shadow: none; }
html body #event-participants-modal select { padding-right: 26px; }
html body #event-participants-modal .ep-direction { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dfebef; border-radius: 5px; background: #fff; color: #087fa5; width: 34px; min-width: 34px; height: 38px; padding: 0; font-size: 18px; }
html body #event-participants-modal .ep-chip { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; padding: 6px 10px; border: 1px solid #dfebef; border-radius: 5px; background: #fff; color: #657c8a; font-size: 14px; line-height: 1.3; }
html body #event-participants-modal .ep-chip:hover { background: #e8f5f9; color: #087fa5; }
html body #event-participants-modal [data-ep-count] { margin: 12px 0; color: #657c8a; font-size: 13px; }
html body #event-participants-modal .ep-section { margin-top: 20px; }
html body #event-participants-modal .ep-section > h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
html body #event-participants-modal .ep-person { background: #fff; border: 1px solid #dfebef; border-radius: 6px; padding: 12px 14px; margin-bottom: 6px; overflow-wrap: anywhere; }
html body #event-participants-modal .ep-person h3 { font-size: 16px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
html body #event-participants-modal .ep-name-only .ep-person { display: flex; align-items: center; min-height: 42px; padding: 9px 14px; }
html body #event-participants-modal .ep-name-only .ep-person h3 { margin: 0; font-size: 15px; font-weight: 500; }
html body #event-participants-modal .ep-person dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
html body #event-participants-modal .ep-person dt { font-size: 12px; color: #657c8a; }
html body #event-participants-modal .ep-person dd { margin: 2px 0 0; min-width: 0; }
html body #event-participants-modal .ep-person img { max-width: 100%; height: auto; }
html body #event-participants-modal details summary { cursor: pointer; color: #087fa5; }
html body #event-participants-modal details ul { margin: 6px 0; padding-left: 18px; }
html body #event-participants-modal .ep-class-counts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
html body #event-participants-modal .ep-class-counts span { padding: 3px 8px; border-radius: 5px; background: #e8f5f9; font-size: 13px; }
html body #event-participants-modal .ep-class-counts:empty { display: none; }
html body #event-participants-modal .ep-footer { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #dfebef; font-size: 13px; }
html body .ep-print-frame { position: fixed; left: -10000px; top: 0; width: 1100px; height: 1px; border: 0; }
@media (max-width: 900px) { html body #event-participants-modal .ep-person dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    html body #event-participants-modal { width: calc(100% - 16px); max-height: 94vh; max-height: 94dvh; padding: 18px 14px; }
    html body #event-participants-modal .ep-heading h2 { font-size: 20px; }
    html body #event-participants-modal .ep-person dl { grid-template-columns: minmax(0, 1fr); }
    html body #event-participants-modal .ep-person { padding: 14px; }
    html body #event-participants-modal .ep-chip { font-size: 13px; }
}
html body #event-participants-modal.ep-print { position: static; width: 100%; max-width: none; max-height: none; background: #fff; padding: 0; border: 0; box-shadow: none; overflow: visible; }
html body #event-participants-modal.ep-print .ep-person { break-inside: avoid; }
@media print {
    html, body { margin: 0; padding: 0; background: #fff; }
    html body #event-participants-modal.ep-print { page: event-participants; color: #111; font: 10pt/1.25 Arial, sans-serif; }
    html body #event-participants-modal.ep-print.ep-print-wide { page: event-participants-wide; }
    html body #event-participants-modal.ep-print > h2 { font-size: 14pt; line-height: 1.2; margin-bottom: 2mm; }
    html body #event-participants-modal.ep-print > [data-ep-info] { font-size: 9pt; color: #333; }
    html body #event-participants-modal.ep-print > [data-ep-count] { font-size: 8pt; color: #555; margin: 1mm 0 3mm; }
    html body #event-participants-modal.ep-print .ep-section { margin-top: 3mm; }
    html body #event-participants-modal.ep-print .ep-section > h3 { font-size: 10pt; margin-bottom: 2mm; break-after: avoid; }
    html body #event-participants-modal.ep-print .ep-name-only .ep-people { column-count: 2; column-gap: 8mm; }
    html body #event-participants-modal.ep-print .ep-person { border: 0; border-bottom: .2mm solid #ccc; border-radius: 0; padding: 1.5mm 0; margin: 0 0 2mm; }
    html body #event-participants-modal.ep-print .ep-person h3 { font-size: 10pt; line-height: 1.25; margin-bottom: 1mm; }
    html body #event-participants-modal.ep-print .ep-name-only .ep-person { display: block; min-height: 0; padding: .8mm 0; margin: 0; break-inside: avoid-column; }
    html body #event-participants-modal.ep-print .ep-name-only .ep-person h3 { font-size: 10pt; font-weight: 400; margin: 0; }
    html body #event-participants-modal.ep-print .ep-person dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5mm 4mm; font-size: 9pt; line-height: 1.25; }
    html body #event-participants-modal.ep-print .ep-person dt { font-size: 8pt; color: #444; }
    html body #event-participants-modal.ep-print .ep-person dd { margin: .5mm 0 0; }
    html body #event-participants-modal.ep-print .ep-person img { max-width: 35mm; max-height: 25mm; object-fit: contain; }
    html body #event-participants-modal.ep-print a { color: #111; text-decoration: none; }
    html body #event-participants-modal.ep-print .ep-class-counts { gap: 1mm 3mm; margin-top: 2mm; }
    html body #event-participants-modal.ep-print .ep-class-counts span { background: none; padding: 0; font-size: 8pt; }
    html body #event-participants-modal.ep-print .ep-print-table { width: 100%; border-collapse: collapse; table-layout: auto; font: 9pt/1.25 Arial, sans-serif; }
    html body #event-participants-modal.ep-print .ep-print-table thead { display: table-header-group; }
    html body #event-participants-modal.ep-print .ep-print-table tr { break-inside: avoid; }
    html body #event-participants-modal.ep-print .ep-print-table th,
    html body #event-participants-modal.ep-print .ep-print-table td { border-bottom: .2mm solid #ccc; padding: 1.2mm 1.5mm; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
    html body #event-participants-modal.ep-print .ep-print-table th { font-size: 8pt; font-weight: 600; border-bottom-color: #555; }
    html body #event-participants-modal.ep-print .ep-print-table ul { margin: 0; padding-left: 3mm; }
    html body #event-participants-modal.ep-print .ep-print-table img { max-width: 35mm; max-height: 25mm; object-fit: contain; }
    html body #event-participants-modal.ep-print details summary { display: none; }
}
@page event-participants { size: A4 portrait; margin: 12mm; }
@page event-participants-wide { size: A4 landscape; margin: 12mm; }
