/* Suivi des heures : mobile d'abord, thème clair / sombre. */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #111827;
  --text-2: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #1d4ed8;
  --accent-2: #dbeafe;
  --danger: #dc2626;
  --ok: #15803d;
  --warn-bg: #fef3c7;
  --warn-text: #92400e;
  --info-bg: #e0f2fe;
  --info-text: #075985;
  --weekend: #f3f4f6;
  --holiday: #fdf2f8;
  --radius: 12px;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 1px 3px rgb(0 0 0 / .08);
  --top-h: 56px;
  --bottom-h: 62px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #181b21;
    --surface-2: #1f232b;
    --text: #e5e7eb;
    --text-2: #c2c7d0;
    --muted: #8b93a1;
    --line: #2c313a;
    --accent: #60a5fa;
    --accent-2: #1e3a5f;
    --danger: #f87171;
    --ok: #4ade80;
    --warn-bg: #3b2f12;
    --warn-text: #fcd34d;
    --info-bg: #10304a;
    --info-text: #7dd3fc;
    --weekend: #1c2027;
    --holiday: #2a1d27;
    --shadow: 0 1px 2px rgb(0 0 0 / .4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--accent); text-decoration: none; }
h1, h2 { margin: 0; line-height: 1.2; }
h1.title { font-size: 1.15rem; font-weight: 650; }
h1.title::first-letter { text-transform: uppercase; }
h2 { font-size: 1rem; font-weight: 650; margin-bottom: .6rem; }
.muted { color: var(--muted); }
.small, small { font-size: .82rem; }
.error { color: var(--danger); }
.warn-text { color: var(--warn-text); }
.pos { color: var(--ok); }
.neg { color: var(--danger); }
.grow { flex: 1; }
[hidden] { display: none !important; }

/* ---- Coquille ---- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  height: calc(var(--top-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 16px 0;
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); font-size: 1.05rem; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.who-wrap { margin-left: auto; position: relative; }
.who { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 6px; border-radius: 999px; color: var(--text-2); font: inherit; font-size: .9rem; cursor: pointer; }
.who:hover, .who[aria-expanded=true] { background: var(--surface-2); }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .85rem; }
.who .caret { font-size: .7rem; color: var(--muted); }
@media (max-width: 520px) { .who-name, .who .caret { display: none; } }
.user-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgb(0 0 0 / .14); padding: 6px; }
.user-menu-head { display: grid; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.user-menu-item { display: block; width: 100%; text-align: left; padding: 10px; border-radius: 8px; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; }
.user-menu-item:hover { background: var(--surface-2); }
.user-menu-item.danger { color: var(--danger); }
.topnav { display: none; gap: 4px; }
.navlink { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-weight: 500; }
.navlink.on { background: var(--accent-2); color: var(--accent); }
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: space-around;
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface); border-top: 1px solid var(--line);
}
.bottomnav .navlink { flex: 1; flex-direction: column; justify-content: center; gap: 2px; font-size: .72rem; border-radius: 0; padding: 6px 0; }
.bottomnav .navlink .ico { font-size: 1.25rem; line-height: 1; }
.bottomnav .navlink.on { background: none; }
main#view {
  max-width: 1180px; margin: 0 auto;
  padding: 12px 16px calc(var(--bottom-h) + env(safe-area-inset-bottom) + 20px);
}
@media (min-width: 860px) {
  .topnav { display: flex; }
  .bottomnav { display: none; }
  main#view { padding-bottom: 32px; }
}

/* Barre du chrono */
#timerbar {
  position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top)); z-index: 15;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; background: var(--surface-2);
  border-bottom: 3px solid var(--cat, var(--accent));
}
.timer-label { flex: 1; min-width: 0; text-align: left; background: none; border: 0; color: var(--text); font: inherit; padding: 0; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; flex: none; }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---- Composants ---- */
.view > * + * { margin-top: 12px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: .6rem; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.toolbar .nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.banner { padding: 10px 14px; border-radius: 10px; font-size: .9rem; }
.banner.warn { background: var(--warn-bg); color: var(--warn-text); }
.banner.info { background: var(--info-bg); color: var(--info-text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 550; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--muted); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .btn.primary { color: #0b1220; } }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.btn.small { min-height: 32px; padding: 4px 10px; font-size: .88rem; }
.btn.block { width: 100%; }
.btn.stop { background: var(--danger); border-color: var(--danger); color: #fff; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 0; background: none; color: var(--text); font-size: 1.3rem; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }

.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 2px; }
.seg > * { border: 0; background: none; color: var(--text-2); font: inherit; font-size: .88rem; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.seg > .on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-weight: 600; }
.picker { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--text-2); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chip {
  border: 2px solid var(--c); background: transparent; color: var(--text);
  padding: 5px 11px; border-radius: 999px; font: inherit; font-size: .88rem; cursor: pointer;
}
.cat-chip.on, .cat-chip.static { background: var(--c); color: var(--t); }
.cat-chip.static { cursor: default; border-width: 0; padding: 4px 10px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.cat-btn { border: 0; border-radius: 10px; padding: 12px 10px; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.cat-btn.small { padding: 6px 10px; font-size: .85rem; }
.cat-btn:active { transform: scale(.98); }

/* Formulaires */
.form { display: grid; gap: 12px; }
.form label, .field { display: grid; gap: 4px; font-size: .88rem; color: var(--text-2); }
.form label.check { display: flex; align-items: center; gap: 8px; color: var(--text); }
.form .lbl { font-size: .88rem; color: var(--text-2); }
.form.inline { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; min-height: 42px; width: 100%;
}
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); }
input[type=color] { padding: 3px; height: 42px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.toolbar select, .picker select, .filters select { width: auto; min-height: 36px; padding: 5px 9px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { color: var(--muted); }
.actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 4px; }
.actions.wrap { flex-wrap: wrap; }
.num-input { width: 100px; text-align: right; }

/* Modale */
.modal-back { position: fixed; inset: 0; z-index: 50; background: rgb(0 0 0 / .45); display: flex; align-items: flex-end; justify-content: center; }
.modal {
  background: var(--surface); width: 100%; max-width: 520px; max-height: 92vh; overflow: auto;
  border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom);
  animation: up .18s ease-out;
}
.modal.wide { max-width: 860px; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 4px; }
.modal-head h2 { margin: 0; }
.modal-body { padding: 8px 16px 18px; }
@media (min-width: 600px) { .modal-back { align-items: center; } .modal { border-radius: 16px; } }

#toast {
  position: fixed; left: 50%; bottom: calc(var(--bottom-h) + 20px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .2s;
  background: #111827; color: #fff; padding: 10px 16px; border-radius: 10px; max-width: calc(100vw - 32px); box-shadow: var(--shadow);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.error { background: #b91c1c; }
@media (min-width: 860px) { #toast { bottom: 24px; } }

/* Connexion */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login .card { width: 100%; max-width: 360px; padding: 24px; }
.login-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 8px; }
.login-brand img { width: 64px; height: 64px; border-radius: 16px; }
.login-brand h1 { font-size: 1.2rem; }

/* Tableau de bord */
.grid-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 860px) { .grid-stats { grid-template-columns: repeat(5, 1fr); } }
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat-label { font-size: .8rem; color: var(--muted); font-weight: 500; }
.stat-value { font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-value.smaller { font-size: 1rem; }
.stat-sub { font-size: .8rem; }
.stat.pos .stat-value { color: var(--ok); }
.stat.neg .stat-value { color: var(--danger); }
.progress { display: flex; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 4px; }
.progress span { background: var(--accent); }
.progress span.plan { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.timer-now { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.split { display: grid; gap: 16px; }
@media (min-width: 700px) { .split { grid-template-columns: 260px 1fr; align-items: center; } }
.derived { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: .88rem; color: var(--text-2); }
.chart-box { position: relative; height: 300px; }
.chart-box.small { height: 220px; }

/* Tableaux */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 8px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { font-weight: 600; color: var(--text-2); font-size: .82rem; }
.table tfoot th { color: var(--text); border-bottom: 0; }
.table.compact td { padding: 5px 6px; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.center { text-align: center !important; }
.right { text-align: right !important; white-space: nowrap; }
.right .btn + .btn { margin-left: 6px; }
tr.inactive td { opacity: .5; }
.matrix th:first-child { white-space: nowrap; }
.tabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; }
.tab { padding: 7px 12px; border-radius: 8px; color: var(--text-2); white-space: nowrap; font-weight: 500; }
.tab.on { background: var(--accent-2); color: var(--accent); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.filters label { display: grid; gap: 3px; font-size: .8rem; color: var(--muted); }
.filters input[type=date] { min-height: 36px; padding: 5px 9px; }
.export { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }

/* Jour */
.day-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.day-summary .big { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.quick-timers { display: flex; gap: 6px; flex-wrap: wrap; }

/* Frise horaire */
.tl { --hcol: 44px; }
.tl-head { display: flex; position: sticky; top: 0; z-index: 3; background: var(--surface); border-bottom: 1px solid var(--line); }
.tl:not(.multi) .tl-head { display: none; }
.tl-gutter { width: var(--hcol); flex: none; }
.tl-colhead { flex: 1; min-width: 86px; text-align: center; padding: 6px 2px; font-size: .82rem; font-weight: 600; color: var(--text-2); text-transform: capitalize; }
.tl-colhead.today { color: var(--accent); }
.tl-colhead.holiday small { color: var(--danger); font-weight: 500; }
.tl-scroll { max-height: min(70vh, 680px); overflow-y: auto; }
.tl-body { display: flex; position: relative; }
.tl-hour { font-size: .72rem; color: var(--muted); text-align: right; padding-right: 6px; transform: translateY(-.55em); }
.tl-hour:first-child { visibility: hidden; }
.tl-col { flex: 1; min-width: 86px; position: relative; border-left: 1px solid var(--line); cursor: copy; }
.tl-col.weekend { background: var(--weekend); }
.tl-col.holiday { background: var(--holiday); }
.tl-col.locked { cursor: default; background-image: repeating-linear-gradient(45deg, transparent 0 8px, color-mix(in srgb, var(--line) 50%, transparent) 8px 9px); }
.tl-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); pointer-events: auto; height: 0; }
.tl-now { position: absolute; left: 0; right: 0; border-top: 2px solid var(--danger); z-index: 2; pointer-events: none; }
.tl-now::before { content: ''; position: absolute; left: -4px; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.tl-block {
  position: absolute; left: 3px; right: 3px; z-index: 1;
  border-radius: 6px; padding: 3px 26px 3px 7px; font-size: .78rem; line-height: 1.25;
  overflow: hidden; cursor: pointer; box-shadow: 0 1px 2px rgb(0 0 0 / .2);
  touch-action: pan-y;
}
.tl-block.tiny { padding-top: 0; padding-bottom: 0; display: flex; align-items: center; }
.tl-block.dragging { opacity: .85; z-index: 5; box-shadow: 0 6px 18px rgb(0 0 0 / .3); transition: none; }
.tl-block-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-block-sub { opacity: .85; overflow: hidden; }
.tl-time { opacity: .9; font-variant-numeric: tabular-nums; }
.tl-grip {
  position: absolute; top: 0; right: 0; width: 26px; height: 26px; display: grid; place-items: center;
  cursor: grab; touch-action: none; font-size: 1rem; opacity: .75;
}
.tl-resize { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; cursor: ns-resize; touch-action: none; }
.tl-resize::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 24px; margin-left: -12px; height: 3px; border-radius: 2px; background: currentColor; opacity: .45; }
.multi .tl-block { font-size: .72rem; padding-right: 22px; }
.scroll-x { overflow-x: auto; }
.week-totals { display: flex; font-size: .82rem; font-variant-numeric: tabular-nums; }
.week-totals .tl-gutter { width: 44px; }
.week-total { flex: 1; min-width: 86px; text-align: center; color: var(--text-2); font-weight: 600; }

/* Mois */
.mgrid { display: grid; grid-template-columns: repeat(7, 1fr); }
.mhead { text-align: center; font-size: .75rem; color: var(--muted); padding: 6px 0; font-weight: 600; text-transform: uppercase; }
.mcell {
  min-height: 74px; padding: 5px 6px; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px; color: var(--text);
}
.mcell:nth-child(7n + 1) { border-left: 0; }
.mcell.out { opacity: .4; }
.mcell.weekend { background: var(--weekend); }
.mcell.holiday { background: var(--holiday); }
.mcell.today .mday { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 6px; }
.mday { font-size: .8rem; font-weight: 600; align-self: flex-start; }
.mtot { font-size: .95rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.mbar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; margin-top: auto; gap: 1px; }
.mbar span { min-width: 2px; }
@media (max-width: 480px) { .mcell { min-height: 60px; padding: 4px; } .mtot { font-size: .82rem; } }

/* ---- v2 : navigation calendrier ---- */
.arrows { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.arrows .arrow { width: 44px; height: 38px; border-radius: 0; font-size: 1.5rem; }
.arrows .arrow:first-child { border-right: 1px solid var(--line); border-radius: 9px 0 0 9px; }
.arrows .arrow:last-child { border-radius: 0 9px 9px 0; }
.title-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 8px; border-radius: 8px; color: var(--text); cursor: pointer; font: inherit; }
.title-btn:hover { background: var(--surface-2); }
.title-btn .caret { color: var(--muted); font-size: .8rem; }
.dp-year { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 1.1rem; margin-bottom: 8px; }
.dp-months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dp-month, .dp-day, .dp-week { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 8px; padding: 9px 0; font: inherit; cursor: pointer; }
.dp-month.cur { border-color: var(--accent); }
.dp-month.on, .dp-day.on, .dp-week.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.dp-cal { margin-top: 12px; display: grid; gap: 4px; }
.dp-row { display: grid; grid-template-columns: 44px repeat(7, 1fr); gap: 4px; }
.dp-head span { text-align: center; font-size: .78rem; color: var(--muted); }
.dp-day { padding: 7px 0; border-color: transparent; }
.dp-day.out { color: var(--muted); }
.dp-day.today { border-color: var(--accent); font-weight: 700; }
.dp-week { padding: 7px 0; font-size: .75rem; color: var(--muted); background: var(--surface-2); }
.dp-month:hover, .dp-day:hover, .dp-week:hover { border-color: var(--muted); }

/* ---- v2 : planning d'un collègue ---- */
.banner.other { background: var(--warn-bg); border-left: 5px solid var(--u, #f59e0b); color: var(--text); }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }
.inline-check { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-size: .9rem; }

/* ---- v2 : choix (conflits) ---- */
.choice-list { display: grid; gap: 8px; margin: 12px 0 4px; }
.choice-btn { flex-direction: column; align-items: flex-start; white-space: normal; text-align: left; padding: 10px 14px; min-height: 52px; }
.choice-hint { color: var(--muted); font-weight: 400; font-size: .82rem; }
.choice-btn.primary .choice-hint { color: inherit; opacity: .85; }
.conflicts { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 4px; }

/* ---- v2 : formulaire ---- */
.seg.slots { display: flex; }
.seg.slots > * { flex: 1; }
details.more { border: 1px dashed var(--line); border-radius: 10px; padding: 8px 12px; }
details.more summary { cursor: pointer; color: var(--text-2); font-size: .9rem; }
details.more[open] summary { margin-bottom: 8px; }
.form h3 { margin: 10px 0 0; font-size: .95rem; }
.inline-sel { display: flex; gap: 6px; }
.actions.left { justify-content: flex-start; }

/* ---- v2 : interrupteur ---- */
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 38px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: .15s; flex: none; }
.switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); transition: .15s; }
.switch input:checked + .switch-ui { background: var(--ok); }
.switch input:checked + .switch-ui::after { left: 19px; }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch-lbl { font-size: .85rem; color: var(--text-2); }

/* ---- v2 : comparatifs, sauvegarde ---- */
.cmp .cmp-head th { padding-top: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp .cmp-head th.num { text-align: right; }
.cmp td:first-child { padding-left: 14px; color: var(--text-2); }
.delta { font-size: .88rem; white-space: nowrap; }
.backup-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
