/* Rappel : démo hébergée sur le site de Hugo Delaroque (styles repris du prototype, hors ligne de styles). */
:root { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #17231d; background: #f3f5ef; font-synthesis: none; }
* { box-sizing: border-box; }
body { max-width: 640px; margin: 0 auto; padding: 0 14px 38px; }
.demo-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 -14px; padding: 10px 14px; background: #17231d; color: #d7e4da; font-size: 13px; }
.demo-bar a { color: #fff; font-weight: 700; display: inline-block; padding: 6px 0; }
header, .card { background: #fff; border: 1px solid #e8ece6; border-radius: 19px; padding: 18px; margin: 14px 0; box-shadow: 0 4px 18px #173c2b0d; }
header { background: #173c2b; color: #fff; padding: 21px; }
h1 { font-size: 25px; line-height: 1.12; margin: 8px 0; }
h2 { font-size: 18px; margin: 0 0 14px; }
.brand { font-weight: 800; letter-spacing: -.03em; }
.brand__dot { color: #25734a; }
.eyebrow { font-size: 13px; letter-spacing: .08em; font-weight: 750; color: #c5d9cb; }
.sub { color: #d7e4da; margin: 0; font-size: 14px; }
.top { display: flex; justify-content: space-between; align-items: center; margin: 16px 2px 4px; }
.badge { font-size: 13px; color: #526157; background: #e6eee7; border-radius: 20px; padding: 6px 9px; font-weight: 750; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.field { margin-bottom: 10px; }
.field.full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 750; color: #526157; margin: 8px 0 5px; }
input, select, textarea { width: 100%; min-height: 46px; padding: 12px; border: 1px solid #ccd7ce; border-radius: 11px; background: #fff; color: #17231d; font: inherit; font-size: 16px; }
textarea { min-height: 62px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #25734a; outline-offset: 1px; }
button, .btn, .actions a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 0; border-radius: 11px; padding: 11px 13px; background: #25734a; color: #fff; font: 750 14px system-ui; text-decoration: none; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid #17231d; outline-offset: 2px; }
.primary { width: 100%; padding: 14px; font-size: 16px; }
.soft { background: #edf3ed; color: #244c33; }
.red { background: #fff0ed; color: #963b2d; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.count { background: #e8f2e8; color: #285839; font-size: 13px; font-weight: 800; border-radius: 20px; padding: 5px 9px; white-space: nowrap; }
.lead { border-top: 1px solid #edf0ec; padding: 14px 0; }
.lead:first-child { border-top: 0; }
.lead-title { font-weight: 800; overflow-wrap: anywhere; }
.date { font-size: 13px; font-weight: 750; color: #735611; background: #fff6da; padding: 5px 8px; border-radius: 20px; white-space: nowrap; }
.date.late { background: #ffebe7; color: #a03c2c; }
.meta { font-size: 13px; line-height: 1.4; color: #5b6a61; margin: 5px 0 10px; overflow-wrap: anywhere; }
.actions { display: flex; gap: 7px; flex-wrap: wrap; }
.actions button, .actions a { font-size: 13px; padding: 9px 11px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.toolbar button { font-size: 13px; padding: 9px 11px; }
.notice { font-size: 13px; line-height: 1.55; color: #5b6a61; }
.notice b { color: #293a2e; }
.empty { padding: 18px 3px; color: #66726a; font-size: 14px; }
.section-label { font-weight: 800; font-size: 14px; margin: 12px 0 0; }
.hidden { display: none !important; }
footer { font-size: 13px; color: #66726a; text-align: center; padding: 8px 12px; }
@media (max-width: 440px) {
  body { padding: 0 11px 30px; }
  .demo-bar { margin: 0 -11px; }
  header { padding: 19px; }
  .grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  h1 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
