:root {
    color-scheme: light dark;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    --accent: #1f5f99;
    --ligne: color-mix(in srgb, currentColor 18%, transparent);
}

@media (prefers-color-scheme: dark) {
    :root { --accent: #79b0e6; }
}

main {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    line-height: 1.5;
}

[hidden] { display: none !important; }

.bouton {
    display: inline-block;
    font: inherit;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: Canvas;
    text-decoration: none;
    cursor: pointer;
}

.bouton:disabled { opacity: 0.6; cursor: progress; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }

.message { padding: 0.6rem 0.8rem; border-radius: 6px; border: 1px solid var(--ligne); }

.etat { color: GrayText; font-size: 0.9rem; }

.defile { overflow-x: auto; }

table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }

caption { text-align: left; font-weight: 600; padding-bottom: 0.4rem; }

th, td { text-align: left; padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--ligne); }

.m { text-align: right; }
