:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #192c43; background: #f3f6fa; font-size: 16px; }
* { box-sizing: border-box; }
body { margin: 0; }
.topbar { background: #112b49; color: white; min-height: 88px; padding: 20px 5vw; display: flex; align-items: center; gap: 28px; }
.brand { font-size: 1.75rem; font-weight: 750; letter-spacing: -.06em; text-decoration: none; color: white; }
.brand span { color: #78d9d0; }
.service { font-size: .9rem; color: #d7e4f0; }
.account { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: .95rem; }
main { max-width: 1550px; margin: 0 auto; padding: 42px 5vw 64px; min-height: calc(100vh - 150px); }
h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); letter-spacing: -.04em; margin: 8px 0 12px; }
h2 { font-size: 1.22rem; margin: 0 0 9px; }
p { line-height: 1.6; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .09em; color: #35636f; margin: 0; }
.intro { margin: 0 0 28px; color: #546579; }
.panel, .table-panel, .login { background: white; border: 1px solid #dbe3ed; border-radius: 12px; }
.panel { padding: 24px; }
.filters { display: flex; gap: 16px; flex-wrap: wrap; align-items: end; }
.filters > div { flex: 1 1 155px; }
.filters .course-field { flex: 3 1 340px; }
label { display: block; font-size: .9rem; font-weight: 650; margin: 0 0 9px; }
input, select, button { font: inherit; border-radius: 6px; min-height: 45px; }
input, select { width: 100%; border: 1px solid #b7c6d7; padding: 10px 12px; color: #22374c; background: white; }
select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23374659' fill='none' stroke-width='2'/%3E%3C/svg%3E"); background-position: right 12px center; background-repeat: no-repeat; }
button { background: #17665e; color: white; border: 1px solid #17665e; padding: 10px 23px; cursor: pointer; font-weight: 650; }
button:hover { background: #104f49; }
.secondary { background: transparent; border-color: #6a819b; font-size: .9rem; min-height: 36px; padding: 7px 16px; }
:focus-visible { outline: 3px solid #e4a41b; outline-offset: 3px; }
.result-heading { display: flex; gap: 20px; align-items: start; justify-content: space-between; margin: 30px 0 18px; }
.result-heading p { font-size: .9rem; color: #56697c; margin: 0; }
.count { background: #e3eeec; color: #15564e; padding: 10px 15px; border-radius: 6px; white-space: nowrap; font-size: .9rem; }
.notice { background: #e9eff7; padding: 16px 20px; border-left: 3px solid #487499; border-radius: 4px; font-size: .9rem; line-height: 1.6; }
.error { background: #fff0ef; border-color: #ad3630; margin-bottom: 24px; color: #842822; }
.table-panel { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th { font-size: .875rem; color: #506479; font-weight: 600; background: #f8fafc; white-space: nowrap; }
th, td { padding: 19px 20px; border-bottom: 1px solid #e5eaf1; }
td { font-size: .95rem; vertical-align: top; }
tr:last-child td { border: 0; }
.email, .duration span { display: block; color: #607086; font-size: .85rem; margin-top: 5px; overflow-wrap: anywhere; }
.badge { display: inline-block; margin-top: 8px; padding: 4px 7px; border-radius: 4px; color: #79560c; background: #fff3d6; font-size: .8rem; }
.time, .duration { font-variant-numeric: tabular-nums; white-space: nowrap; }
.duration strong { color: #17665e; font-size: 1.05rem; }
summary { cursor: pointer; font-size: .9rem; color: #245a80; }
.connections { min-width: 240px; max-width: 380px; padding-left: 18px; font-size: .85rem; line-height: 1.6; overflow-wrap: anywhere; }
.connections li { padding: 8px 0 12px; }
.connections span { color: #607086; }
.dates { margin-bottom: 15px; }
.dates > div { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 0; }
.dates a { font-size: .9rem; padding: 6px 10px; background: white; border: 1px solid #dbe3ed; border-radius: 5px; color: #245a80; }
.muted { color: #607086; font-size: .875rem; }
.empty { text-align: center; padding: 65px 24px; color: #56697c; }
.empty h2 { color: #233c54; }
.login { max-width: 470px; padding: 38px; margin: 42px auto; }
.login h1 { font-size: 1.9rem; }
.login > p { color: #607086; }
.login form { display: grid; gap: 8px; margin: 26px 0; }
.login label { margin-top: 10px; margin-bottom: 0; }
.login button { margin-top: 18px; }
footer { text-align: center; border-top: 1px solid #dbe3ed; color: #65788d; padding: 20px; font-size: .85rem; }
@media(max-width: 700px) { .topbar { flex-wrap: wrap; gap: 12px; padding: 18px 5vw; } .service { display: none; } .account { font-size: .85rem; gap: 12px; } main { padding-top: 28px; } .panel { padding: 18px; } .filters button { width: 100%; } .result-heading { display: block; } .count { display: inline-block; margin-top: 15px; } .login { padding: 26px; margin-top: 15px; } th, td { padding: 16px; } }
@media(max-width: 700px) { .table-panel { border: 0; background: transparent; overflow: visible; } table, tbody { display: block; } thead { display: none; } tbody > tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid #dbe3ed; border-radius: 10px; background: white; padding: 8px; margin-bottom: 14px; } td { border: 0; padding: 10px 12px; } td.person, td.detail, td.empty { grid-column: 1 / -1; } td.person { padding-bottom: 17px; border-bottom: 1px solid #e5eaf1; } td[data-label]::before { content: attr(data-label); display: block; font-size: .85rem; color: #607086; margin: 0 0 7px; } .connections { max-width: 100%; min-width: 0; } }

.badge.recovered { color: #15564e; background: #e3eeec; }
