/* Demandes de fonctionnalités (/roadmap), changelog (/changelog) et section « Coming next » de l'accueil. */
.u { text-decoration: underline; text-underline-offset: 3px; }
.accent-text { color: var(--accent-text); }
.grow { flex: 1; min-width: 0; }
.small-muted { font-size: 13px; color: var(--muted); }
.muted-inline { font-weight: 400; color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--ink) !important; font-weight: 500; }
.link-btn { border: 0; background: none; padding: 0; font-size: 13px; color: inherit; }
.link-btn:hover { color: var(--accent-text); }

.upd-main { width: 100%; margin: 0 auto; padding: 64px 24px 80px; display: flex; flex-direction: column; }
.upd-intro { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.upd-intro h1 { margin: 0; font-size: clamp(32px, 4.4vw, 48px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }

/* Petits boutons */
.ghost-sm { height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid oklch(0.45 0.012 60); background: transparent; color: inherit; font-size: 12.5px; }
.ghost-sm.light { height: 36px; padding: 0 14px; border-radius: 9px; border-color: oklch(0.82 0.01 70); background: #fff; font-size: 13.5px; }
.dark-sm { height: 36px; padding: 0 14px; border-radius: 9px; border: 0; background: var(--ink); color: var(--accent-ink); font-size: 13.5px; font-weight: 500; }

/* Statuts */
.rq-status { flex: none; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; white-space: nowrap; }
.st-planned { --sb: oklch(0.94 0.04 250); --sf: oklch(0.42 0.1 250); }
.st-exploring { --sb: oklch(0.94 0.008 70); --sf: oklch(0.42 0.012 60); }
.st-progress { --sb: oklch(0.94 0.05 70); --sf: oklch(0.45 0.1 60); }
.st-shipped { --sb: oklch(0.94 0.05 155); --sf: oklch(0.42 0.09 155); }
.rq-status { background: var(--sb); color: var(--sf); }

/* Bouton de vote */
.vote { flex: none; width: 56px; height: 62px; border-radius: 12px; border: 1px solid oklch(0.86 0.008 70); background: #fff; color: oklch(0.3 0.012 60); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: background .15s, border-color .15s, color .15s; }
.vote:hover { border-color: var(--accent); }
.vote[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.vote[disabled] { cursor: progress; }
.vote-n { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vote.sm { width: 48px; height: 52px; border-radius: 10px; gap: 1px; }
.vote.sm svg { width: 12px; height: 9px; }
.vote.sm .vote-n { font-size: 14px; }

/* ---- /roadmap ---- */
.rm-main { max-width: 960px; gap: 40px; }
.rm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.rm-open { height: 46px; padding: 0 20px; font-size: 15px; }
.rm-admin-bar { background: var(--ink); color: oklch(0.97 0.006 75); }
.rm-admin-bar .wrap-sm { max-width: 960px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.accent-soft { color: oklch(0.78 0.12 40); font-size: 11px; }

.rm-card { border: 1px solid oklch(0.88 0.008 70); border-radius: 16px; background: oklch(0.99 0.004 75); padding: 24px; }
.rm-form { display: flex; flex-direction: column; gap: 16px; }
.rm-form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rm-form-title { font-size: 17px; font-weight: 600; }
.rm-x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 18px; color: var(--muted); }
.rm-x:hover { background: var(--tint); }
.rm-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.rm-form input, .rm-form textarea { font: inherit; font-size: 15px; font-weight: 400; border-radius: 10px; border: 1px solid oklch(0.86 0.008 70); background: #fff; outline-color: var(--accent); color: var(--ink); }
.rm-form input { height: 42px; padding: 0 12px; }
.rm-form textarea { padding: 10px 12px; line-height: 1.5; resize: vertical; }
.rm-form textarea::placeholder { color: oklch(0.55 0.012 60); }
.rm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rm-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rm-send { height: 42px; padding: 0 18px; border-radius: 10px; border: 0; background: var(--ink); color: var(--accent-ink); font-size: 14.5px; font-weight: 500; }
.rm-send[disabled] { background: oklch(0.7 0.01 60); cursor: not-allowed; }
.rm-error { margin: 0; font-size: 14px; color: oklch(0.52 0.18 28); }
.rm-sent { display: flex; align-items: flex-start; gap: 14px; }
.rm-sent .grow { display: flex; flex-direction: column; gap: 4px; }
.rm-check { flex: none; width: 28px; height: 28px; border-radius: 50%; background: oklch(0.62 0.11 155); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.rm-sent-title { font-size: 16px; font-weight: 600; }
.rm-sent-text { font-size: 14px; line-height: 1.5; color: var(--body); }

.rm-pending-box { display: flex; flex-direction: column; gap: 12px; }
.rm-pending-head { display: flex; align-items: baseline; gap: 10px; font-size: 18px; font-weight: 600; }
.rm-pending-head .mono { font-size: 12px; font-weight: 400; }
#rm-pending { display: flex; flex-direction: column; gap: 12px; }
.rm-pending-item { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: oklch(0.97 0.025 70); border: 1px solid oklch(0.88 0.04 70); }
.rm-pending-item .rq-body { flex: 1 1 320px; padding: 0; }
.rm-pending-actions { display: flex; gap: 8px; }
.rm-none { padding: 20px; border: 1px dashed oklch(0.85 0.008 70); border-radius: 14px; font-size: 14px; color: var(--muted); }

.rm-list-box { display: flex; flex-direction: column; gap: 14px; }
.rm-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rm-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid oklch(0.86 0.008 70); background: transparent; color: var(--ink-2); font-size: 13px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--accent-ink); }
.chip-n { font-size: 11px; opacity: .7; }
.rm-sorts { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: oklch(0.94 0.008 70); }
.rm-sorts button { height: 28px; padding: 0 12px; border-radius: 7px; border: 0; background: transparent; font-size: 13px; white-space: nowrap; }
.rm-sorts button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 2px oklch(0.2 0.01 60 / .12); }
.rm-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rm-empty { margin: 0; padding: 32px 0; font-size: 14px; color: var(--muted); }
.rq-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rq-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.rq-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.rq-title { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.rq-desc { font-size: 14.5px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.rq-admin { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rq-opt { height: 26px; padding: 0 9px; border-radius: 6px; border: 1px solid oklch(0.86 0.008 70); background: #fff; font-size: 12px; white-space: nowrap; }
.rq-opt[aria-pressed="true"] { background: var(--sb); border-color: var(--sf); }
.rq-opt.danger { border-color: oklch(0.86 0.04 30); color: oklch(0.5 0.16 30); }

/* ---- /changelog ---- */
.cl-main { max-width: 1040px; gap: 56px; }
.cl-list { display: flex; flex-direction: column; }
.cl-entry { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 40px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.cl-meta { display: flex; flex-direction: column; gap: 6px; }
.cl-ver { font-size: 13px; font-weight: 500; }
.cl-date { font-size: 13px; color: var(--muted); }
.cl-badge { align-self: flex-start; margin-top: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; display: flex; align-items: center; }
.cl-badge.new { background: oklch(0.94 0.05 32); color: oklch(0.48 0.14 32); }
.cl-badge.improvement { background: oklch(0.94 0.04 250); color: oklch(0.42 0.1 250); }
.cl-badge.launch { background: oklch(0.94 0.008 70); color: oklch(0.42 0.012 60); }
.cl-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cl-body h2 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.cl-body p { margin: 0; font-size: 15.5px; line-height: 1.6; color: oklch(0.42 0.012 60); text-wrap: pretty; }
.cl-shot { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px oklch(0.2 0.01 60 / .08); }
.cl-shot img { display: block; width: 100%; height: auto; }
.cl-body ul { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) {
  .cl-entry { grid-template-columns: 1fr; }
  .cl-meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .cl-badge { margin-top: 0; }
  .upd-main { padding-top: 48px; }
}

/* ---- Accueil : « Coming next » + « Recently shipped » ---- */
.updates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px; }
.updates-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.updates-head { display: flex; flex-direction: column; gap: 10px; }
.updates-head .h2 { font-size: clamp(26px, 3vw, 34px); }
.updates-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.up-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.up-row .rq-body { gap: 3px; padding: 0; }
.up-row .rq-title { font-size: 15.5px; }
.up-row .rq-desc { font-size: 14px; line-height: 1.45; }
.up-empty { padding: 20px 0; font-size: 14px; color: var(--muted); }
.shipped-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.shipped-row:hover { color: inherit; }
.shipped-row:hover .rq-title { color: var(--accent-text); }
.shipped-row .mono { font-size: 13px; font-weight: 500; padding-top: 2px; }
.shipped-row > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.updates-links { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 14.5px; font-weight: 500; }
@media (max-width: 440px) {
  .site-nav { gap: 14px; }
  .site-header .brand { font-size: 14px; }
}
