/* Congés — système de design repris de Perso Bank (MonBudget V2, « fintech épurée »).
   Aucun style en ligne : la politique CSP du site n'autorise que cette feuille. */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-wght.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #F7F8FA;
    --surface: #FFFFFF;
    --surface-2: #F9FAFB;
    --border: #E4E7EC;
    --border-soft: #F2F4F7;
    --border-input: #D0D5DD;
    --text: #101828;
    --text-2: #475467;
    --text-3: #344054;
    --muted: #667085;
    --accent: #4F46E5;
    --accent-strong: #3730A3;
    --accent-soft: #EEF2FF;
    --accent-line: #C7D2FE;
    --row-selected: #F5F7FF;
    --pos: #067647;   --pos-bg: #ECFDF3;  --pos-line: #ABEFC6;  --pos-ink: #054F31;
    --neg: #B42318;   --neg-bg: #FEF3F2;  --neg-line: #FDA29B;
    --warn: #B54708;  --warn-bg: #FFFAEB; --warn-line: #FEDF89; --warn-ink: #7A2E0E;
    --save: #0E7490;  --save-bg: #ECFEFF;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .05);
    --sidebar: 264px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font: 14px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-feature-settings: "tnum" 1, "cv11" 1;
    background: var(--bg);
    color: var(--text);
}
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
code { font: 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--border-soft); padding: 1px 6px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── Coque de l'application ─────────────────────────────── */
.app {
    display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh;
    /* colonne blanche de la barre latérale sur toute la hauteur, même quand la page défile */
    background: linear-gradient(to right, var(--surface) calc(var(--sidebar) - 1px), var(--border) calc(var(--sidebar) - 1px), var(--border) var(--sidebar), transparent var(--sidebar));
}
.sidebar {
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
    background: var(--surface); border-right: 1px solid var(--border);
    padding: 20px 16px; display: flex; flex-direction: column; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; color: var(--text); text-decoration: none; font-size: 16px; font-weight: 700; }
.brand:hover { color: var(--text); }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.brand-tag { font-size: 11px; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); border-radius: 999px; padding: 1px 8px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
    display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: var(--radius);
    color: var(--text-3); text-decoration: none; font-size: 14px; font-weight: 500;
}
.nav-item svg { flex: none; }
.nav-item:hover { background: var(--border-soft); color: var(--text); }
.nav-item[aria-current="page"] { background: var(--accent-soft); color: var(--accent-strong); }
.nav-item.is-soon { color: var(--muted); cursor: default; }
.nav-item.is-soon:hover { background: none; color: var(--muted); }
.nav-label { flex: 1; }
.nav-count { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.nav-soon { font-size: 11px; font-weight: 500; color: var(--muted); }
.nav-sep { height: 1px; background: var(--border); margin: 10px 4px; }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.sidebar-foot form { margin: 0; }

.main { padding: 32px 40px 48px; display: flex; flex-direction: column; gap: 24px; min-width: 0; max-width: 1360px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-title { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.page-sub { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.breadcrumb { font-size: 13px; color: var(--text-2); }
.breadcrumb a { text-decoration: none; }

/* Page sans barre latérale (connexion, erreur hors session) */
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 24px 16px; }
.auth .card { width: 100%; max-width: 400px; }

/* ── Cartes ─────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.card-flush { padding: 0; gap: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-flush > .card-head { padding: 16px 24px; border-bottom: 1px solid var(--border); }
.card-title { font-size: 16px; font-weight: 600; }
.card-link { font-size: 13px; font-weight: 600; text-decoration: none; }
.card-foot { padding: 12px 24px; font-size: 13px; color: var(--text-2); display: flex; flex-direction: column; gap: 12px; }

.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 24px; }

.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.kpi-label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.kpi-value { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.kpi-sub { font-size: 13px; color: var(--text-2); }

/* Étapes du point hebdomadaire */
.step { display: flex; gap: 12px; padding: 14px; border-radius: 10px; border: 1px solid var(--border); align-items: flex-start; }
.step-body { flex: 1; min-width: 0; }
.step-title { font-size: 14px; font-weight: 600; }
.step-text { font-size: 13px; color: var(--text-2); }
.step-mark { width: 24px; height: 24px; flex: none; border-radius: 999px; border: 2px solid #98A2B3; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--text-2); }
.step-link { align-self: center; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.step.is-done { border-color: var(--pos-line); background: var(--pos-bg); }
.step.is-done .step-mark { background: var(--pos); border-color: var(--pos); }
.step.is-done .step-text { color: var(--pos-ink); }
.step.is-todo { border-color: var(--warn-line); background: var(--warn-bg); }
.step.is-todo .step-mark { border-color: var(--warn); color: var(--warn); }
.step.is-todo .step-text { color: var(--warn-ink); }

/* Liste clé / valeur (soldes) */
.kv { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.kv-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.kv-row dt { color: var(--text); }
.kv-row dd { margin: 0; font-weight: 600; text-align: right; }
.kv-group { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); padding-top: 6px; }
.kv-note { font-size: 12px; color: var(--text-2); font-weight: 400; }

/* ── Boutons ────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 0 16px; border-radius: var(--radius); border: 1px solid transparent;
    font: 600 14px/1 "Inter", system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-strong); color: #FFFFFF; }
.btn-secondary { background: var(--surface); color: var(--text-3); border-color: var(--border-input); }
.btn-secondary:hover { background: var(--surface-2); color: var(--text); }
.btn-soft { background: var(--accent-soft); color: var(--accent-strong); }
.btn-danger { background: var(--surface); color: var(--neg); border-color: var(--neg-line); }
.btn-danger:hover { background: var(--neg-bg); }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; min-height: 44px; }
.btn-ghost { background: none; border: 0; color: var(--text-2); padding: 0 12px; min-height: 40px; font: 500 14px "Inter", system-ui, sans-serif; cursor: pointer; border-radius: var(--radius); display: flex; align-items: center; gap: 10px; width: 100%; }
.btn-ghost:hover { background: var(--border-soft); color: var(--text); }

/* ── Formulaires ────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-3); }
.input, .select {
    height: 40px; width: 100%; padding: 0 12px; border: 1px solid var(--border-input); border-radius: var(--radius);
    font: 14px "Inter", system-ui, sans-serif; color: var(--text); background: var(--surface);
}
.input:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hint { font-size: 13px; color: var(--text-2); font-weight: 400; }
.form { display: flex; flex-direction: column; gap: 16px; }
.inline { display: inline; margin: 0; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); font-weight: 500; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }

.dropzone {
    display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
    padding: 28px 20px; border: 1.5px dashed var(--border-input); border-radius: var(--radius-lg); background: var(--surface-2);
}
.dropzone-icon { width: 44px; height: 44px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.dropzone input[type=file] { font: 14px "Inter", system-ui, sans-serif; color: var(--text-2); max-width: 100%; }
.dropzone input[type=file]::file-selector-button {
    margin-right: 12px; min-height: 36px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--border-input);
    background: var(--surface); color: var(--text-3); font: 600 13px "Inter", system-ui, sans-serif; cursor: pointer;
}

/* ── Badges, alertes ────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.badge-accent { background: var(--accent-soft); color: var(--accent-strong); }
.badge-neutral { background: var(--border-soft); color: var(--text-3); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-pos { background: var(--pos-bg); color: var(--pos); }
.badge-neg { background: var(--neg-bg); color: var(--neg); }
.badge-save { background: var(--save-bg); color: var(--save); }
a.tag-note { text-decoration: none; }
a.tag-note:hover { border-color: var(--accent); color: var(--accent-strong); }
.tag-note { white-space: nowrap; display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px; border: 1px dashed #98A2B3; color: var(--text-2); font-size: 12px; font-weight: 500; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-lg); border: 1px solid; font-size: 14px; }
.alert-icon { width: 22px; height: 22px; flex: none; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #FFFFFF; }
.alert strong { font-weight: 600; }
.alert-ok { background: var(--pos-bg); border-color: var(--pos-line); color: var(--pos-ink); }
.alert-ok .alert-icon { background: var(--pos); }
.alert-warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }
.alert-warn .alert-icon { background: var(--warn); }
.alert-error { background: var(--neg-bg); border-color: var(--neg-line); color: var(--neg); }
.alert-error .alert-icon { background: var(--neg); }
.alert-info { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-strong); }
.alert-info .alert-icon { background: var(--accent); }

/* ── Tableaux (densité confortable : lignes de 52 px) ───── */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
    height: 44px; padding: 0 16px; text-align: left; background: var(--surface-2); border-bottom: 1px solid var(--border);
    font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.table td { height: 52px; padding: 6px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th:first-child, .table td:first-child { padding-left: 24px; }
.table th:last-child, .table td:last-child { padding-right: 24px; }
.table tbody tr:hover { background: var(--row-selected); }
.table .num { text-align: right; white-space: nowrap; }
.table .date { color: var(--text-2); white-space: nowrap; }
.table .strong { font-weight: 500; }
.table .sub { display: block; font-size: 12px; color: var(--text-2); }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions .status { flex-wrap: nowrap; justify-content: flex-end; }

.amount { font-weight: 500; white-space: nowrap; color: var(--text-2); }
.amount.neg { color: var(--neg); }
.amount.pos { color: var(--pos); }

.muted { color: var(--text-2); }
.empty { padding: 32px 24px; text-align: center; color: var(--text-2); }
.text-ok { color: var(--pos); font-weight: 600; }
.text-accent { color: var(--accent-strong); font-weight: 600; }
.text-warn { color: var(--warn); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ── À catégoriser ──────────────────────────────────────── */
.work { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.tab { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--radius); color: var(--text-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.tab:hover { background: var(--border-soft); color: var(--text); }
.tab[aria-current="page"] { background: var(--accent-soft); color: var(--accent-strong); }
.queue { list-style: none; margin: 0; padding: 0; }
.queue-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.queue-item:last-child { border-bottom: 0; }
.queue-item .date { color: var(--text-2); white-space: nowrap; }
.queue-item.is-selected { background: var(--row-selected); box-shadow: inset 3px 0 0 var(--accent); }
.queue-label { min-width: 0; }
.queue-label a { color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.queue-label a:hover { color: var(--accent); }
.queue-label .sub { display: block; font-size: 12px; color: var(--text-2); }
.queue-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.panel { position: sticky; top: 24px; box-shadow: var(--shadow); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.rule { border: 0; border-top: 1px solid var(--border); margin: 0; padding: 16px 0 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rule legend { padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.rule legend .check { font-size: 14px; font-weight: 600; color: var(--text); }
.check-list { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.grid-2-even { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 1100px) { .work { grid-template-columns: 1fr; } .panel { position: static; } }
@media (max-width: 640px) { .queue-item { grid-template-columns: 1fr auto; } .queue-item .date { grid-column: 1 / -1; } .queue-actions { grid-column: 1 / -1; justify-content: flex-start; } }


/* ── Éléments repris des écrans Opérations, Budget et Analyse ── */
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; padding: 0; border: 1px solid var(--border-input); border-radius: 8px; background: var(--surface); color: var(--muted); cursor: pointer; }
.btn-icon:hover, .btn-icon[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); }
.btn-icon.is-set { color: var(--accent); }
.btn-icon[hidden] { display: none; }
.select-sm, .input-sm { height: 32px; font-size: 13px; width: auto; min-width: 150px; }
.edit-actions { display: flex; justify-content: flex-end; }
.danger-zone { border-top: 1px solid var(--border); padding-top: 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.input-amount { width: 120px; min-width: 0; text-align: right; }
.push-right { margin-left: auto; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--text-3); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 12px; height: 12px; flex: none; vertical-align: -1px; }
.swatch-line { width: 18px; }

/* ── Volet latéral (modification d'une opération) ───────── */
body:has(.drawer) { overflow: hidden; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(16, 24, 40, .45); cursor: default; animation: fade-in .15s ease-out; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(460px, 100%); overflow-y: auto;
    background: var(--surface); border-left: 1px solid var(--border); box-shadow: -12px 0 32px rgba(16, 24, 40, .18);
    padding: 24px; display: flex; flex-direction: column; gap: 20px; animation: slide-in .2s ease-out; }
.drawer .edit-grid { grid-template-columns: 1fr; }
.drawer .edit-grid > .check { grid-column: auto; }
.drawer .edit-actions { justify-content: stretch; }
.drawer .edit-actions .btn { width: 100%; }
.drawer .card-head { align-items: flex-start; }
@keyframes slide-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-backdrop { animation: none; } }

/* ── Sélecteur de période ───────────────────────────────── */
.period-panel { position: absolute; z-index: 20; top: 44px; left: 0; width: 520px; max-width: calc(100vw - 32px);
    display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: 0 8px 24px rgba(16, 24, 40, .12); overflow: hidden; }
.period-presets { list-style: none; margin: 0; padding: 8px 0; border-right: 1px solid var(--border); }
.period-preset { display: block; width: 100%; text-align: left; padding: 10px 20px; border: 0; background: none; cursor: pointer;
    font: 400 14px "Inter", system-ui, sans-serif; color: var(--text-3); }
.period-preset:hover { background: var(--border-soft); color: var(--text); }
.period-preset[aria-current="true"] { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
.period-custom { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 560px) { .period-panel { grid-template-columns: 1fr; } .period-presets { border-right: 0; border-bottom: 1px solid var(--border); } }

/* ── Écrans étroits ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .app { grid-template-columns: 1fr; background: none; }
    .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--border); }
    .nav { flex-direction: row; flex-wrap: wrap; }
    .nav-item.is-soon, .nav-sep { display: none; }
    .sidebar-foot { margin: 0 0 0 auto; }
    .main { padding: 24px 16px 40px; }
    .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .grid-4 { grid-template-columns: 1fr; }
    .page-title { font-size: 24px; }
}

/* ════════════════════════════════════════════════════════════
   Congés — compléments propres à l'application
   Couleurs des types : mêmes teintes que les en-têtes du fichier Excel
   (orange, vert, bleu, violet, jaune), dans la palette du design system.
   ════════════════════════════════════════════════════════════ */
:root {
    --t-cp2425: #F79009;  --t-cp2425-bg: #FFFAEB; --t-cp2425-ink: #93370D;
    --t-cp2526: #17B26A;  --t-cp2526-bg: #ECFDF3; --t-cp2526-ink: #085D3A;
    --t-cp2627: #2E90FA;  --t-cp2627-bg: #EFF8FF; --t-cp2627-ink: #194185;
    --t-rtt2026: #7A5AF8; --t-rtt2026-bg: #F4F3FF; --t-rtt2026-ink: #4A1FB8;
    --t-recup: #EAAA08;   --t-recup-bg: #FEFBE8;  --t-recup-ink: #713B12;
}
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.text-neg { color: var(--neg); font-weight: 600; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; margin-right: 8px; flex: none; vertical-align: 0; }
.dot-cp2425 { background: var(--t-cp2425); }
.dot-cp2526 { background: var(--t-cp2526); }
.dot-cp2627 { background: var(--t-cp2627); }
.dot-rtt2026 { background: var(--t-rtt2026); }
.dot-recup { background: var(--t-recup); }
.badge-cp2425 { background: var(--t-cp2425-bg); color: var(--t-cp2425-ink); }
.badge-cp2526 { background: var(--t-cp2526-bg); color: var(--t-cp2526-ink); }
.badge-cp2627 { background: var(--t-cp2627-bg); color: var(--t-cp2627-ink); }
.badge-rtt2026 { background: var(--t-rtt2026-bg); color: var(--t-rtt2026-ink); }
.badge-recup { background: var(--t-recup-bg); color: var(--t-recup-ink); }

/* Tableau de bord */
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.kpi-type { border-top-width: 3px; }
.kpi-cp2425 { border-top-color: var(--t-cp2425); }
.kpi-cp2526 { border-top-color: var(--t-cp2526); }
.kpi-cp2627 { border-top-color: var(--t-cp2627); }
.kpi-rtt2026 { border-top-color: var(--t-rtt2026); }
.kpi-recup { border-top-color: var(--t-recup); }
.kpi-type .kpi-label { display: flex; align-items: center; }
.kpi-value.text-neg { font-weight: 600; }
.table-proj th.th-group { text-align: center; border-left: 1px solid var(--border); }
.table-proj thead tr:first-child th[rowspan] { vertical-align: bottom; padding-bottom: 12px; }
.table-proj thead tr:nth-child(2) th:nth-child(1), .table-proj thead tr:nth-child(2) th:nth-child(3),
.table-proj tbody td:nth-child(4), .table-proj tbody td:nth-child(6) { border-left: 1px solid var(--border-soft); }
.table-proj thead tr:nth-child(2) th:first-child { padding-left: 16px; }
.table-proj .row-sub td { font-size: 13px; color: var(--text-2); font-style: italic; height: 40px; }
.table-proj .sub { margin-top: 2px; }
.periodes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.periodes li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.periodes li:last-child { border-bottom: 0; padding-bottom: 0; }
.periodes li:first-child { padding-top: 0; }
.periode-dates { color: var(--text); font-weight: 500; text-decoration: none; }
.periode-dates:hover { color: var(--accent); }
.periode-types { display: flex; gap: 6px; flex-wrap: wrap; }
.calc { border: 1px solid var(--border); border-radius: var(--radius); }
.calc summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; font-weight: 500; list-style: none; }
.calc summary::-webkit-details-marker { display: none; }
.calc summary > span:first-child { display: inline-flex; align-items: center; }
.calc summary > span:first-child::before { content: "▸"; color: var(--muted); margin-right: 8px; transition: transform .15s; }
.calc[open] summary > span:first-child::before { transform: rotate(90deg); }
.calc .kv { padding: 4px 14px 14px; gap: 6px; }
.calc .kv-row { font-size: 13px; }
.calc .kv-row dt { color: var(--text-2); }
.calc .kv-row dd { font-weight: 500; }
.kv-total { border-top: 1px solid var(--border); padding-top: 6px; }
.kv-total dt, .kv-total dd { font-weight: 600 !important; color: var(--text) !important; }
.kv-row dt { display: inline-flex; align-items: center; }

/* Calendrier de saisie */
.month-nav { align-items: center; }
.select-month { width: auto; min-width: 180px; }
.table-cal td { height: 44px; padding-top: 4px; padding-bottom: 4px; }
.table-cal th.col-type, .table-cal td.col-type { text-align: center; padding-left: 4px; padding-right: 4px; width: 72px; }
.table-cal th.col-type { white-space: nowrap; letter-spacing: .02em; }
.table-cal th .dot { margin-right: 6px; }
.table-cal .th-long { display: none; }
.table-cal td.date { white-space: nowrap; width: 96px; }
.day-abbr { display: inline-block; width: 30px; color: var(--text-2); }
.day-num { font-weight: 600; color: var(--text); }
.table-cal tr.is-off td { background: var(--surface-2); color: var(--muted); }
.table-cal tr.is-off .day-num { color: var(--muted); font-weight: 500; }
.table-cal tr.is-wed td.date { box-shadow: inset 3px 0 0 #FEDF89; }
.table-cal tr.is-today td.date { box-shadow: inset 3px 0 0 var(--accent); }
.table-cal tr.is-invalid td { background: var(--neg-bg); }
.table-cal tbody tr:hover td { background: var(--row-selected); }
.table-cal tbody tr.is-off:hover td { background: var(--surface-2); }
.off-mark { color: #D0D5DD; }
.select-day { height: 32px; width: 64px; padding: 0 6px; font-size: 14px; font-weight: 600; text-align: center; text-align-last: center; color: var(--text-2); }
.select-day.has-value { border-width: 1.5px; }
.sel-cp2425.has-value { background: var(--t-cp2425-bg); border-color: var(--t-cp2425); color: var(--t-cp2425-ink); }
.sel-cp2526.has-value { background: var(--t-cp2526-bg); border-color: var(--t-cp2526); color: var(--t-cp2526-ink); }
.sel-cp2627.has-value { background: var(--t-cp2627-bg); border-color: var(--t-cp2627); color: var(--t-cp2627-ink); }
.sel-rtt2026.has-value { background: var(--t-rtt2026-bg); border-color: var(--t-rtt2026); color: var(--t-rtt2026-ink); }
.sel-recup.has-value { background: var(--t-recup-bg); border-color: var(--t-recup); color: var(--t-recup-ink); }
.col-note { min-width: 150px; }
.col-note .badge { margin-right: 6px; }
.input-note { min-width: 120px; }
.col-note .badge + .input-note { margin-top: 4px; }
.table-cal tfoot th, .table-cal tfoot td { height: 44px; border-top: 1px solid var(--border); background: var(--surface-2); font-weight: 600; }
.table-cal tfoot th { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text-3); }
.savebar { position: sticky; bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 12px 24px; border-top: 1px solid var(--border); background: var(--surface); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.savebar-state { margin-right: auto; font-size: 13px; font-weight: 600; color: var(--warn); }
.js .js-hide { display: none; }
@media (min-width: 1101px) { .work { grid-template-columns: minmax(0, 1fr) 340px; } }
.month-nav .btn-icon { width: 40px; height: 40px; }
.work > .card-flush { overflow: visible; min-width: 0; }
.work .table-wrap { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

/* Vue annuelle */
.tab { border: 0; }
.legend-types { gap: 8px 20px; }
.legend-types strong { font-weight: 600; color: var(--text); margin-left: 2px; }
.legend .swatch { width: 14px; height: 14px; border-radius: 4px; }
.year-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini-month { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 14px 16px 16px; color: var(--text); text-decoration: none; }
.mini-month:hover { border-color: var(--accent-line); color: var(--text); box-shadow: var(--shadow); }
.mini-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; }
.mini-total { font-size: 12px; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); border-radius: 999px; padding: 1px 8px; }
.mini-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mini-days > span { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 11px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.md-h { color: var(--muted); font-weight: 600; font-size: 10px !important; }
.md { color: var(--text-3); }
.md-off { color: #98A2B3; background: var(--surface-2); }
.md-ferie, .md-ferie-demo { background: repeating-linear-gradient(135deg, var(--border-soft) 0 3px, var(--border) 3px 4px); color: var(--muted); }
.md-today { box-shadow: inset 0 0 0 2px var(--accent); font-weight: 700; }
.md-cp2425 { background: var(--t-cp2425); color: #FFFFFF; font-weight: 600; }
.md-cp2526 { background: var(--t-cp2526); color: #FFFFFF; font-weight: 600; }
.md-cp2627 { background: var(--t-cp2627); color: #FFFFFF; font-weight: 600; }
.md-rtt2026 { background: var(--t-rtt2026); color: #FFFFFF; font-weight: 600; }
.md-recup { background: var(--t-recup); color: #FFFFFF; font-weight: 600; }
.md-half.md-cp2425 { background: linear-gradient(135deg, var(--t-cp2425) 50%, var(--t-cp2425-bg) 50%); color: var(--t-cp2425-ink); }
.md-half.md-cp2526 { background: linear-gradient(135deg, var(--t-cp2526) 50%, var(--t-cp2526-bg) 50%); color: var(--t-cp2526-ink); }
.md-half.md-cp2627 { background: linear-gradient(135deg, var(--t-cp2627) 50%, var(--t-cp2627-bg) 50%); color: var(--t-cp2627-ink); }
.md-half.md-rtt2026 { background: linear-gradient(135deg, var(--t-rtt2026) 50%, var(--t-rtt2026-bg) 50%); color: var(--t-rtt2026-ink); }
.md-half.md-recup { background: linear-gradient(135deg, var(--t-recup) 50%, var(--t-recup-bg) 50%); color: var(--t-recup-ink); }
.md-half-demo { background: linear-gradient(135deg, var(--muted) 50%, var(--border-soft) 50%); }

/* Paramètres */
.hyp-list { display: flex; flex-direction: column; gap: 0; }
.hyp { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.hyp:last-child { border-bottom: 0; }
.hyp > span { display: flex; flex-direction: column; gap: 2px; color: var(--text); font-size: 14px; }
.hyp-rem { font-size: 12px; }
.hyp .input-amount { flex: none; }

@media (max-width: 1280px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .year-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-5 { grid-template-columns: 1fr 1fr; } .year-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
    .grid-5, .year-grid { grid-template-columns: 1fr; }
    .table-cal th:first-child, .table-cal td:first-child { padding-left: 12px; }
    .table-cal td.col-type, .table-cal th.col-type { width: 60px; padding-left: 3px; padding-right: 3px; }
    .select-day { width: 52px; }
    .table-cal .th-court { font-size: 10px; }
    .savebar { padding: 12px 16px; }
    .hyp { flex-direction: column; align-items: stretch; }
    .hyp .input-amount { width: 100%; text-align: left; }
}
@media print {
    .sidebar, .page-actions, .savebar { display: none; }
    .app { display: block; background: none; }
}
.table-wrap { position: relative; }
.grid-2 > *, .stack > * { min-width: 0; }
.dropzone input[type=file] { width: 100%; }
.table-proj td:first-child { white-space: nowrap; }

/* ── Recentrage : budget de l'an prochain, stocks, simulations ── */
:root { --t-rtt2027: #DD2590; --t-rtt2027-bg: #FDF2FA; --t-rtt2027-ink: #851651; }
.dot-rtt2027 { background: var(--t-rtt2027); }
.badge-rtt2027 { background: var(--t-rtt2027-bg); color: var(--t-rtt2027-ink); }
.sel-rtt2027.has-value { background: var(--t-rtt2027-bg); border-color: var(--t-rtt2027); color: var(--t-rtt2027-ink); }
.md-rtt2027 { background: var(--t-rtt2027); color: #FFFFFF; font-weight: 600; }
.md-half.md-rtt2027 { background: linear-gradient(135deg, var(--t-rtt2027) 50%, var(--t-rtt2027-bg) 50%); color: var(--t-rtt2027-ink); }
.seg { gap: 4px; }
.budget { border-width: 1px; box-shadow: var(--shadow); }
.budget.is-ok { border-color: var(--pos-line); }
.budget.is-neg { border-color: var(--neg-line); background: linear-gradient(var(--neg-bg), var(--surface) 140px); }
.budget.is-ok { background: linear-gradient(var(--pos-bg), var(--surface) 140px); }
.budget-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.budget-title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 4px 0 6px; }
.budget.is-ok .budget-title { color: var(--pos-ink); }
.budget.is-neg .budget-title { color: var(--neg); }
.budget-figure { text-align: right; }
.table-budget-an { font-size: 14px; }
.table-budget-an th:first-child, .table-budget-an td:first-child { padding-left: 0; }
.table-budget-an th:last-child, .table-budget-an td:last-child { padding-right: 0; }
.table-budget-an thead th { background: none; }
.table-budget-an td { height: 44px; }
.table-budget-an tfoot th, .table-budget-an tfoot td { border-top: 1px solid var(--border); height: 44px; font-weight: 600; }
.table-budget-an tfoot th { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); background: none; }
.table-budget-an tfoot td.muted { font-weight: 400; }
.table-stocks td { white-space: nowrap; }
.table-stocks tr.is-expired td { color: var(--muted); }
.table-stocks .sub { font-weight: 400; }
.periodes li > div { display: flex; flex-direction: column; gap: 6px; }
.inline-actions { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.badge-simu { background: repeating-linear-gradient(135deg, var(--surface) 0 4px, var(--border-soft) 4px 8px); color: var(--text-2); border: 1px dashed #98A2B3; }
.proj > summary { cursor: pointer; list-style: none; }
.proj > summary::-webkit-details-marker { display: none; }
.proj:not([open]) > summary { border-bottom: 0; }
.proj[open] > summary .muted { visibility: hidden; }
.seg-field { border: 0; margin: 0; padding: 0; display: flex; gap: 20px; }
.col-simu { text-align: center; width: 64px; }
.chk-simu { width: 16px; height: 16px; accent-color: var(--accent); }
.table-cal tr.is-simu td.col-type .select-day.has-value { border-style: dashed; background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(255,255,255,.7) 4px 8px); }
.md-simu { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.45) 0 3px, transparent 3px 6px) !important; outline: 1px dashed var(--text-2); outline-offset: -1px; }
.md-simu-demo { background: repeating-linear-gradient(135deg, #98A2B3 0 3px, #D0D5DD 3px 6px); outline: 1px dashed var(--text-2); outline-offset: -1px; }
.budget-mini { gap: 4px; }
.budget-mini.is-ok { border-color: var(--pos-line); background: var(--pos-bg); }
.budget-mini.is-neg { border-color: var(--neg-line); background: var(--neg-bg); }
.budget-mini .kpi-value { font-size: 22px; }
@media (max-width: 560px) { .budget-figure { text-align: left; } .budget-title { font-size: 19px; } }

/* Repris de Perso Bank : barres de progression avec repère, méta des jauges */
.bar { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--border-soft); overflow: hidden; color: var(--accent); }
.bar::-webkit-progress-bar { background: var(--border-soft); border-radius: 999px; }
.bar::-webkit-progress-value { background: currentColor; border-radius: 999px; }
.bar::-moz-progress-bar { background: currentColor; border-radius: 999px; }
.bar-ok { color: var(--accent); }
.bar-warn { color: #F79009; } /* ambre plus clair que le texte d'alerte : bien distinct du rouge */
.bar-neg { color: var(--neg); }
.bar-pos { color: var(--pos); }
.bar-wrap { position: relative; }
.bar-wrap:not([class*="mk"])::after { display: none; }
.bar-wrap::after { content: ""; position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--text); border-radius: 1px; }
.mk-1::after { left: 8.333%; }
.mk-2::after { left: 16.667%; }
.mk-3::after { left: 25.0%; }
.mk-4::after { left: 33.333%; }
.mk-5::after { left: 41.667%; }
.mk-6::after { left: 50.0%; }
.mk-7::after { left: 58.333%; }
.mk-8::after { left: 66.667%; }
.mk-9::after { left: 75.0%; }
.mk-10::after { left: 83.333%; }
.mk-11::after { left: 91.667%; }
.mk-12::after { left: 100.0%; }
.mkp-0::after { left: 0%; }
.mkp-5::after { left: 5%; }
.mkp-10::after { left: 10%; }
.mkp-15::after { left: 15%; }
.mkp-20::after { left: 20%; }
.mkp-25::after { left: 25%; }
.mkp-30::after { left: 30%; }
.mkp-35::after { left: 35%; }
.mkp-40::after { left: 40%; }
.mkp-45::after { left: 45%; }
.mkp-50::after { left: 50%; }
.mkp-55::after { left: 55%; }
.mkp-60::after { left: 60%; }
.mkp-65::after { left: 65%; }
.mkp-70::after { left: 70%; }
.mkp-75::after { left: 75%; }
.mkp-80::after { left: 80%; }
.mkp-85::after { left: 85%; }
.mkp-90::after { left: 90%; }
.mkp-95::after { left: 95%; }
.mkp-100::after { left: 100%; }
.annuel-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-2); }
.bar-lg { height: 12px; }
.bar-wrap:has(.bar-lg)::after { top: -4px; bottom: -4px; }
.annuel-meta svg { vertical-align: -2px; }
.budget .bar-wrap { margin-top: 4px; }
.budget-mini, .budget-mini:hover { text-decoration: none; display: flex; }
.table-cal th.col-type, .table-cal td.col-type { width: 64px; padding-left: 3px; padding-right: 3px; }
.table-cal .select-day { width: 58px; }
.table-cal .col-note { min-width: 120px; }
.table-cal .input-note { min-width: 100px; }
.table-cal .col-simu { width: 56px; padding-left: 4px; padding-right: 4px; }
@media (min-width: 1101px) and (max-width: 1500px) { .table-cal .col-note .badge { display: none; } }
.table-cal .input-note { min-width: 0; width: 100%; }
.table-cal .col-note { min-width: 110px; width: 160px; }
.table-cal th.col-type { font-size: 11px; letter-spacing: 0; }
.table-cal th.col-type .dot { width: 8px; height: 8px; margin-right: 4px; }
.form-inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 0; }
.input-date { width: auto; min-width: 180px; }
.page-sub a { text-decoration: none; }
.compteur .card-title { display: inline-flex; align-items: center; }
.cds { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: end; background: var(--accent-soft); border-radius: var(--radius-lg); padding: 14px; }
.cds-box { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); text-align: right; }
.cds-box .input-amount { width: 100%; font-size: 18px; font-weight: 600; height: 44px; }
.cds-solde .input-amount { border-color: var(--accent-line); }
.cds-op { font-size: 20px; font-weight: 600; color: var(--text-2); padding-bottom: 10px; }
.compteur-note { margin-top: auto; }
.compteur-note .badge { margin-right: 4px; }
.card-actions { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.card-actions .hint { flex: 1; min-width: 260px; }
@media (max-width: 480px) { .cds { grid-template-columns: 1fr; } .cds-op { display: none; } .cds-box { text-align: left; } }

/* ── Calendrier annuel cliquable (fusion calendrier + vue annuelle) ── */
.card-legend { padding: 14px 20px; }
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.cal-layout .year-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cal-panel { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.cal-layout.is-loading { opacity: .6; transition: opacity .15s; }
.mini-month { cursor: default; }
.mini-month:hover { border-color: var(--border); box-shadow: none; }
.mini-days > * { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 12px; border-radius: 6px; font-variant-numeric: tabular-nums; }
a.md { text-decoration: none; cursor: pointer; }
a.md:not([class*="md-cp"]):not([class*="md-rtt"]):not(.md-recup):hover { background: var(--accent-soft); color: var(--accent-strong); }
a.md:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.md-sel { box-shadow: inset 0 0 0 2px var(--accent); }
.md-sel:not([class*="md-cp"]):not([class*="md-rtt"]):not(.md-recup):not(.md-off):not(.md-ferie) { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
.md-sel.md-off, .md-sel.md-ferie { box-shadow: inset 0 -2px 0 var(--accent); }
.md-sel-start, .md-sel-end { box-shadow: inset 0 0 0 2px var(--accent-strong), 0 0 0 1px var(--accent-strong); }
.md-note { position: relative; }
.md-note::after { content: ""; position: absolute; top: 3px; right: 3px; width: 4px; height: 4px; border-radius: 999px; background: currentColor; opacity: .8; }
.panel-sel .card-head { align-items: flex-start; flex-wrap: nowrap; }
.panel-sel .card-title { margin: 2px 0; }
.panel-sel .btn-icon { font-size: 18px; text-decoration: none; }
.deja { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.deja-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.note-form { border-top: 1px solid var(--border); padding-top: 14px; gap: 10px; }
.note-form .btn { align-self: flex-start; }
@media (max-width: 1400px) { .cal-layout .year-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
    .cal-layout { grid-template-columns: 1fr; }
    .cal-layout .year-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cal-panel { position: sticky; bottom: 0; top: auto; z-index: 10; max-height: 46vh; overflow-y: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .cal-panel > .card { padding: 14px 16px; gap: 12px; }
    .js .cal-panel .sel-fallback { display: none; }
    .cal-panel > .card { box-shadow: 0 -8px 24px rgba(16, 24, 40, .12); }
    .cal-panel > .budget-mini { display: none; }
}
@media (max-width: 760px) { .cal-layout .year-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .mini-month { padding: 10px; } .mini-days > * { font-size: 11px; border-radius: 5px; } }
@media (max-width: 420px) { .cal-layout .year-grid { grid-template-columns: 1fr; } }

/* ── Ajustements : contrôle « Situation au … » façon Lucca ── */
.grid-situations { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.situation { display: flex; flex-direction: column; gap: 10px; }
.situation-title { display: flex; align-items: center; font-weight: 600; }
.cds-lecture .cds-box { gap: 2px; background: var(--surface); border-radius: var(--radius); padding: 10px 12px; }
.cds-lecture .cds-box span { font-size: 12px; color: var(--text-2); }
.cds-lecture .cds-box strong { font-size: 20px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.cds-lecture .cds-op { padding-bottom: 0; align-self: center; }
.field-legend { font-size: 13px; font-weight: 500; color: var(--text-3); padding: 0; margin-bottom: 8px; }
.seg-field { flex-wrap: wrap; align-content: flex-start; }
