@charset "UTF-8";

/* =====================================================================
   Carnet — feuille de styles (mobile d'abord, sans framework)
   ===================================================================== */

:root {
    --pine: #123528;
    --pine-2: #1c4a38;
    --paper: #f6f1e7;
    --card: #ffffff;
    --ink: #1b2420;
    --muted: #6b746f;
    --line: #e4ddcf;
    --marigold: #e9a526;
    --fern: #17835b;
    --danger: #c2412d;
    --moss: #7a8f3c;
    --sky: #3e6fb0;
    --plum: #8a6fc0;
    --radius: 18px;
    --shadow: 0 6px 20px rgba(18, 53, 40, .07);
    --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 15px/1.45 var(--font-body);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.15; }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ── Structure ─────────────────────────────────────────── */
.app { max-width: 760px; margin: 0 auto; min-height: 100vh; padding-bottom: 88px; }
.app--auth { padding: 24px 16px 40px; max-width: 480px; }
.main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.app--auth .main { padding: 0; }

.topbar {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 16px; background: var(--pine); color: var(--paper);
    box-shadow: 0 6px 18px rgba(11, 39, 28, .3);
    max-width: 760px; margin: 0 auto; width: 100%;
}
.topbar__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar__logo {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
    background: var(--marigold); color: var(--pine); font-size: 22px; flex: none;
}
.topbar__school { margin: 0; font: 800 15px var(--font-display); }
.topbar__user { margin: 0; font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__user span { color: var(--marigold); font-weight: 600; }
.topbar__actions { display: flex; align-items: center; gap: 6px; }
.topbar__actions form { margin: 0; }
.clock {
    display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px;
    border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--marigold);
    font: 700 13px var(--font-display);
}

.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: grid; grid-template-columns: repeat(var(--tabs), 1fr);
    max-width: 760px; margin: 0 auto; width: 100%;
    padding: 12px 6px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(18, 53, 40, .06);
}
.tabbar__item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 2px; border-radius: 12px; text-decoration: none; color: var(--muted);
    font-size: 11px; font-weight: 600;
}
.tabbar__item.is-active { color: var(--pine); background: rgba(23, 131, 91, .1); }
.tabbar__icon { position: relative; font-size: 20px; }
.badge {
    position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px; background: var(--danger); color: #fff;
    font: 700 10.5px/18px var(--font-body); text-align: center;
}

/* ── Typographie ───────────────────────────────────────── */
.h1 { font-size: 26px; font-weight: 800; color: var(--pine); }
.h2 { font-size: 20px; font-weight: 800; }
.h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.h4 { font-size: 14px; font-weight: 700; margin-top: 12px; }
.eyebrow { margin: 0 0 4px; font: 800 11px var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--fern); }
.eyebrow--light { color: var(--marigold); }
.muted { color: var(--muted); margin: 0; }
.small { font-size: 12.5px; }
.block { display: block; }
.strong { font-weight: 700; }
.center { text-align: center; }
.right { text-align: right; }
.page-head { display: flex; flex-direction: column; gap: 4px; }

.tone-pine { color: var(--pine); }
.tone-fern { color: var(--fern); }
.tone-danger { color: var(--danger); }
.tone-marigold { color: #b97a0c; }
.tone-moss { color: var(--moss); }
.tone-sky { color: var(--sky); }

/* ── Cartes & mises en page ────────────────────────────── */
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.row { display: flex; align-items: center; }
.row--between { justify-content: space-between; gap: 10px; }
.row--gap { gap: 8px; }
.row--wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .grid-2 { grid-template-columns: 1fr; } }

.hero {
    position: relative; overflow: hidden; padding: 24px 20px; margin-bottom: 14px;
    border-radius: 24px; background: var(--pine); color: var(--paper);
    box-shadow: 0 18px 44px rgba(11, 39, 28, .45);
}
.hero__logo {
    display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px;
    border-radius: 14px; background: var(--marigold); color: var(--pine); font-size: 26px;
}
.hero__title { font-size: 34px; font-weight: 800; }
.hero__text { margin: 6px 0 0; opacity: .85; }
.hero-card { align-items: center; padding: 28px 18px; }
.hero-card__code { margin: 0; font: 800 56px var(--font-display); color: var(--marigold); }
.app--auth .card, .app--auth .btn--dashed { margin-bottom: 14px; }

.profile { flex-direction: row; align-items: center; gap: 14px; }

/* ── Formulaires ───────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.form--inline { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field__label { font-size: 12.5px; font-weight: 700; color: var(--pine); }
.input {
    width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line);
    border-radius: 12px; background: #fffdf8; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--fern); box-shadow: 0 0 0 3px rgba(23, 131, 91, .15); }
.input.is-invalid { border-color: var(--danger); background: #fff6f4; }
.input--sm { min-height: 36px; padding: 6px 10px; width: auto; font-size: 13px; }
.input--pin { letter-spacing: .5em; font-weight: 700; text-align: center; }
.input--grade { width: 72px; text-align: center; font-weight: 700; min-height: 40px; }
textarea.input { resize: vertical; min-height: 64px; }
.field-error { margin: 0; color: var(--danger); font-size: 12px; font-weight: 600; }
.grade-input { display: inline-flex; align-items: center; gap: 4px; }

.summary { cursor: pointer; list-style: none; }
.summary::-webkit-details-marker { display: none; }
details[open] > .summary { margin-bottom: 4px; }

/* ── Boutons ───────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer;
    font: 700 14.5px var(--font-display); text-decoration: none; transition: transform .1s, filter .15s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--pine); color: var(--paper); box-shadow: 0 8px 20px rgba(18, 53, 40, .3); }
.btn--primary:hover { filter: brightness(1.12); }
.btn--ghost { background: #fff; color: var(--pine); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--pine); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger-ghost { background: transparent; color: var(--danger); border: 1.5px dashed rgba(194, 65, 45, .4); }
.btn--dashed { background: rgba(18, 53, 40, .04); color: var(--pine); border: 2px dashed rgba(18, 53, 40, .3); }
.btn--sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn--block { width: 100%; }
.icon-btn {
    display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
    border: 0; background: rgba(255, 255, 255, .1); color: inherit; cursor: pointer; font-size: 17px;
}
.card .icon-btn, .list .icon-btn { background: rgba(18, 53, 40, .06); color: var(--pine); }
.icon-btn--danger { color: var(--danger) !important; }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--fern); text-decoration: none; font-size: 14px; }

/* ── Pastilles, puces ──────────────────────────────────── */
.pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill {
    --hue: var(--pine);
    flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
    border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
    text-decoration: none; font-weight: 700; font-size: 13.5px; white-space: nowrap;
}
.pill.is-active { background: var(--hue); border-color: var(--hue); color: #fff; }
.pill__count { font-size: 11px; opacity: .75; }
.pills--sm .pill { padding: 5px 11px; font-size: 12.5px; }

.chip {
    display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
    background: rgba(18, 53, 40, .07); color: var(--pine); font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.chip--fern { background: rgba(23, 131, 91, .12); color: var(--fern); }
.chip--danger { background: rgba(194, 65, 45, .12); color: var(--danger); }
.chip--marigold { background: rgba(233, 165, 38, .18); color: #9a6508; }
.chip--sky { background: rgba(62, 111, 176, .12); color: var(--sky); }
.chip--plum { background: rgba(138, 111, 192, .14); color: var(--plum); }
.chip--moss { background: rgba(122, 143, 60, .14); color: var(--moss); }
.chip--pine { background: var(--pine); color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--removable { --hue: var(--pine); margin: 0; border: 1.5px solid var(--hue); background: #fff; color: var(--hue); font-size: 13px; padding: 5px 10px; }
.chip--removable button { border: 0; background: none; color: var(--danger); cursor: pointer; font-weight: 800; padding: 0 0 0 4px; }

/* ── Listes ────────────────────────────────────────────── */
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.list > li + li { border-top: 1px solid var(--line); }
.list__item { display: flex; align-items: center; gap: 10px; padding: 10px 2px; }
.list__item--wrap { flex-wrap: wrap; }
.list__item--link, .list__item--button { text-decoration: none; width: 100%; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 10px; }
.list__item--link:hover, .list__item--button:hover { background: rgba(18, 53, 40, .04); }
.list--compact .list__item { padding: 7px 2px; font-size: 14px; }
.list__item.is-done .grow b, .list__item.is-done .grow { text-decoration: line-through; color: var(--muted); }
.list form { margin: 0; }

.avatar {
    display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px;
    background: rgba(23, 131, 91, .12); color: var(--pine); font: 800 13px var(--font-display);
}
.avatar--lg { width: 56px; height: 56px; border-radius: 16px; color: #fff; font-size: 20px; }
.swatch { width: 14px; height: 14px; border-radius: 5px; flex: none; }

/* ── Appel : sélecteur P / R / A ───────────────────────── */
.seg { display: inline-flex; gap: 4px; margin: 0; padding: 3px; border: 0; border-radius: 12px; background: var(--paper); }
.seg--wide { display: flex; }
.seg--wide .seg__opt { flex: 1; }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt span {
    display: grid; place-items: center; min-width: 38px; height: 36px; padding: 0 10px;
    border-radius: 9px; font: 800 14px var(--font-display); color: var(--muted); transition: background .15s, color .15s;
}
.seg__opt input:focus-visible + span { outline: 2px solid var(--fern); outline-offset: 1px; }
.seg__opt input:checked + span { background: var(--pine); color: #fff; }
.seg__opt--present input:checked + span { background: var(--fern); }
.seg__opt--late input:checked + span { background: var(--marigold); color: var(--pine); }
.seg__opt--absent input:checked + span { background: var(--danger); }
.appel-summary { display: flex; gap: 14px; font-size: 13px; }

/* ── Statistiques ──────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { padding: 10px 6px; border-radius: 16px; border: 1px solid var(--line); background: #fff; text-align: center; }
.kpi__value { margin: 0; font: 800 20px/1 var(--font-display); }
.kpi__label { margin: 4px 0 0; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; }
.stats-row div { display: flex; flex-direction: column; align-items: center; padding: 8px; border-radius: 12px; background: var(--paper); }
.stats-row b { font: 800 18px var(--font-display); }
.stats-row span { font-size: 11px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { display: flex; flex-direction: column; align-items: center; padding: 10px; border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; }
.tile b { font: 800 22px var(--font-display); }
.tile span { font-size: 12px; color: var(--muted); }
.tile.is-active { border-color: var(--pine); background: rgba(18, 53, 40, .04); }

.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bar { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; align-items: center; gap: 10px; font-size: 13.5px; }
.bar__track { height: 10px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 999px; }
.bar__value { font-family: var(--font-display); }

/* ── Tableaux ──────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; text-align: center; }
.table th { background: var(--paper); font-size: 12px; font-weight: 700; color: var(--pine); vertical-align: bottom; }
.table tfoot td { font-weight: 700; background: var(--paper); }
.table .sticky { position: sticky; left: 0; z-index: 1; text-align: left; background: #fff; box-shadow: 1px 0 0 var(--line); }
.table th.sticky, .table tfoot .sticky { background: var(--paper); }
.table .num { font-variant-numeric: tabular-nums; }
.table--planning td { min-width: 104px; height: 58px; vertical-align: top; padding: 4px; }
.slot {
    --hue: var(--fern);
    position: relative; display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; border-radius: 10px;
    background: color-mix(in srgb, var(--hue) 14%, white); border-left: 4px solid var(--hue); text-align: left; font-size: 12px;
}
.slot form { margin: 0; }
.slot__remove { position: absolute; top: 2px; right: 4px; border: 0; background: none; color: var(--danger); font-weight: 800; cursor: pointer; }
.scroll-hint { text-align: center; margin: 0; }
.scroll-hint[hidden] { display: none; }

/* ── Notifications ─────────────────────────────────────── */
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.notif { display: flex; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.notif.is-unread { background: #fffaf0; border-color: rgba(233, 165, 38, .5); }
.notif__dot { width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; flex: none; }
.notif__title { margin: 6px 0 2px; font-weight: 700; }
.notif__body { margin: 0; font-size: 13.5px; color: var(--muted); }
.dot--danger { background: var(--danger); } .dot--marigold { background: var(--marigold); }
.dot--fern { background: var(--fern); } .dot--sky { background: var(--sky); }
.dot--plum { background: var(--plum); } .dot--moss { background: var(--moss); } .dot--pine { background: var(--pine); }

/* ── Devoirs ───────────────────────────────────────────── */
.check {
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; cursor: pointer;
    border: 2px solid var(--line); background: #fff; color: transparent; font-size: 15px;
}
.check.is-checked { background: var(--fern); border-color: var(--fern); color: #fff; }
.due { font-weight: 700; }
.due--late { color: var(--danger); } .due--today { color: #b97a0c; }
.due--soon { color: var(--sky); } .due--later { color: var(--muted); }

/* ── Bulletins ─────────────────────────────────────────── */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stepper__step { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); }
.stepper__step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-weight: 800; }
.stepper__step.is-done { color: var(--fern); }
.stepper__step.is-done span { background: var(--fern); border-color: var(--fern); color: #fff; }
.report .rank { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); font: 800 15px var(--font-display); color: var(--pine); }
.report__avg { display: block; font: 800 22px var(--font-display); color: var(--pine); }
.report details summary { cursor: pointer; color: var(--fern); font-weight: 700; }
.quote { margin: 0; padding: 10px 12px; border-left: 3px solid var(--marigold); background: var(--paper); border-radius: 0 10px 10px 0; font-style: italic; }

/* ── Admin ─────────────────────────────────────────────── */
.hues { display: flex; flex-wrap: wrap; gap: 8px; }
.hue input { position: absolute; opacity: 0; }
.hue span { display: block; width: 30px; height: 30px; border-radius: 10px; cursor: pointer; border: 3px solid transparent; }
.hue input:checked + span { border-color: var(--ink); }
.danger-zone { position: relative; }
.danger-zone summary { list-style: none; }
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone[open] .form { position: absolute; right: 0; top: 42px; z-index: 5; width: 260px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }

/* ── Bandeaux, vide, messages ──────────────────────────── */
.banner { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; font-weight: 700; text-decoration: none; }
.banner--fern { background: rgba(23, 131, 91, .12); color: var(--fern); }
.banner--marigold { background: rgba(233, 165, 38, .18); color: #8a5a06; }
.banner--danger { background: rgba(194, 65, 45, .12); color: var(--danger); }
.banner--moss { background: rgba(18, 53, 40, .06); color: var(--muted); }
.banner--sky { background: rgba(62, 111, 176, .12); color: var(--sky); }

.empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 12px; text-align: center; }
.empty__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(18, 53, 40, .06); color: var(--pine); font-size: 24px; }
.empty__title { margin: 0; font: 700 16px var(--font-display); }

.toasts { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(92vw, 440px); display: flex; flex-direction: column; gap: 8px; }
.app--auth .toasts { top: 16px; }
.toast { padding: 12px 16px; border-radius: 14px; background: var(--pine); color: var(--paper); font-weight: 600; box-shadow: 0 12px 30px rgba(11, 39, 28, .35); animation: toast-in .25s ease-out; }
.toast--error { background: var(--danger); }
.toast--info { background: #34463e; }
.toast.is-leaving { opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 761px) {
    .app { padding-bottom: 100px; }
    .tabbar { bottom: 12px; border-radius: 18px; border: 1px solid var(--line); }
}

/* ── Ajouts du modèle ivoirien ─────────────────────────── */

/* Bandeau de supervision : nombre de colonnes variable */
.kpis { grid-template-columns: repeat(var(--cols, 4), 1fr); }
@media (max-width: 520px) { .kpis { grid-template-columns: repeat(3, 1fr); } }

/* Libellé de cycle devant une série de pastilles */
.pills__label {
    flex: none; align-self: center; padding-right: 2px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; color: var(--muted);
}
.pill__count { font-size: 10.5px; opacity: .75; font-weight: 600; }

/* Avatars différenciés filles / garçons */
.avatar--f { background: rgba(138, 111, 192, .16); color: var(--plum); }
.avatar--m { background: rgba(62, 111, 176, .14); color: var(--sky); }

/* Pastille de couleur d'une matière */
.dot-subject {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    margin-right: 6px; vertical-align: 1px;
}

/* Saisie d'un coefficient */
.coef-input { display: inline-flex; align-items: center; gap: 6px; }
.coef-input .input--grade { width: 62px; }

/* Étiquette de nature d'évaluation dans un en-tête de tableau */
.tag {
    display: inline-block; padding: 1px 6px; border-radius: 5px;
    font-size: 10px; font-weight: 800; letter-spacing: .04em;
}
.tag--sky { background: rgba(62, 111, 176, .14); color: var(--sky); }
.tag--plum { background: rgba(138, 111, 192, .16); color: var(--plum); }

/* Tableau des moyennes par matière */
.table--subjects td.sticky { font-weight: 600; }
.table tfoot .sticky { font-weight: 700; }

/* Fiche administrative */
.datalist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.datalist > div { min-width: 0; }
.datalist dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.datalist dd { margin: 2px 0 0; font-size: 14px; }
@media (max-width: 460px) { .datalist { grid-template-columns: 1fr; } }

.student-link { font-weight: 700; color: var(--pine); text-decoration: none; }
.student-link:hover { text-decoration: underline; }

/* Bloc d'absences repliable (vie scolaire) */
.absence-block { padding: 8px 0; border-top: 1px solid var(--line); }
.absence-block summary { cursor: pointer; font-size: 14px; }
.absence-block summary::marker { color: var(--fern); }

/* Case à cocher dans un formulaire */
.field--check { flex-direction: row; align-items: center; gap: 8px; align-self: end; padding-bottom: 10px; }
.field--check input { width: 18px; height: 18px; accent-color: var(--pine); }
.field--check span { font-size: 13.5px; font-weight: 600; }

/* Très petit bouton (justifier une absence) */
.btn--xs { min-height: 28px; padding: 0 9px; font-size: 12px; border-radius: 8px; }

/* Bandeau contenant un lien */
.banner a { color: inherit; font-weight: 800; }
.hero__year { margin: 8px 0 0; font-size: 12.5px; font-weight: 700; color: var(--marigold); }

/* Pastille de rang : assez large pour « 12e » */
.report .rank { min-width: 44px; width: auto; padding: 0 8px; font-size: 14px; }

/* Ligne de saisie de la conduite : l'observation occupe sa propre ligne */
.conduct-row { flex-wrap: wrap; row-gap: 8px; }
.conduct-row .grow { flex: 1 1 55%; }
.conduct-row__remark { flex: 1 1 100%; width: 100%; }
@media (min-width: 620px) { .conduct-row__remark { flex: 1 1 260px; width: auto; } }
