/* ===== rc_sickness_absent_html (HTML form, scoped) =====
   Loaded eagerly from anvil.yaml native_deps.head_html. The root rule is a bare private class; every
   list rule is :where()-scoped to that root, which adds zero specificity and so cannot change which
   rule wins.

   The element carries .rc-absent-container as well and the private
   .rc-sickness-absent-container carries the rules, the same shape the lateness leaves use. Nothing
   else in the repo declares .rc-absent-*, so no rule here needs a second class.

   The designer limit recorded in the header of rc_lateness_html.css applies here too. */

.rc-sickness-absent-container {
    font-family: var(--px-font-display);
}

:where(.rc-sickness-absent-container) .rc-absent-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.35rem;
    background: var(--px-bg-elevated);
    border: 1px solid var(--px-border);
    gap: 0.5rem;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

:where(.rc-sickness-absent-container) .rc-absent-item:hover {
    background: var(--px-bg-deep);
    border-color: var(--px-chart-coral);
}

:where(.rc-sickness-absent-container) .rc-absent-rank {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--px-danger-wash);
    color: var(--px-danger-ink);
    flex-shrink: 0;
}

:where(.rc-sickness-absent-container) .rc-absent-info {
    flex: 1;
    min-width: 0;
}

:where(.rc-sickness-absent-container) .rc-absent-name {
    font-weight: 600;
    color: var(--px-text-primary);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

:where(.rc-sickness-absent-container) .rc-absent-role {
    font-size: 0.7rem;
    color: var(--px-text-secondary);
}

:where(.rc-sickness-absent-container) .rc-absent-stats {
    text-align: right;
    flex-shrink: 0;
}

:where(.rc-sickness-absent-container) .rc-absent-total {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--px-danger-ink);
}

:where(.rc-sickness-absent-container) .rc-absent-count {
    font-size: 0.65rem;
    color: var(--px-text-secondary);
}
