/* La Recette — style simple, propre, lisible sur téléphone */
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #faf7f2; color: #222; line-height: 1.5; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header { background: #7a1c25; color: #fff; }
.header-in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 16px; }
.logo { color: #fff; font-size: 1.4rem; font-weight: 700; text-decoration: none; }
nav { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-wrap: wrap; }
nav a { color: #ffe9e9; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-user { font-size: .85rem; opacity: .85; }
.nav-form { margin: 0; }
.nav-form button { background: transparent; border: 1px solid #fff; color: #fff;
  padding: 4px 10px; border-radius: 6px; cursor: pointer; font-size: .85rem; }
main { padding: 24px 16px 48px; }
footer { color: #888; font-size: .85rem; padding: 16px 0 32px; text-align: center; }
h1 { font-size: 1.6rem; margin: .2em 0 .4em; }
h2 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.lead { color: #555; font-size: 1.05rem; }
.muted { color: #777; font-size: .9rem; }
.card { background: #fff; border: 1px solid #e5ddd3; border-radius: 12px;
  padding: 20px; margin: 16px 0; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.link-card { display: block; text-decoration: none; color: inherit; }
.link-card:hover { border-color: #7a1c25; }
.link-card h2 { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
label { display: block; margin: 12px 0; font-weight: 600; font-size: .95rem; }
input[type=text], input[type=email], input[type=password], input[type=date],
input[type=file], textarea, select { display: block; width: 100%; margin-top: 4px;
  padding: 10px 12px; font-size: 1rem; border: 1px solid #ccc; border-radius: 8px;
  background: #fff; }
fieldset { border: 1px solid #e5ddd3; border-radius: 10px; margin: 16px 0; padding: 8px 16px 16px; }
legend { font-weight: 700; padding: 0 6px; }
.check { display: inline-block; margin: 6px 14px 6px 0; font-weight: 400; }
.check input { width: auto; display: inline; margin-right: 4px; }
button, .button { background: #7a1c25; color: #fff; border: none; border-radius: 8px;
  padding: 12px 20px; font-size: 1rem; cursor: pointer; text-decoration: none;
  display: inline-block; margin-top: 8px; }
button:hover, .button:hover { background: #5f151d; }
.alert { padding: 12px 16px; border-radius: 8px; margin: 12px 0; }
.alert.ok { background: #e6f4ea; color: #137333; }
.alert.error { background: #fce8e6; color: #a50e0e; }
.alert.warn { background: #fef7e0; color: #7a4a00; }
.big-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 12px 0; }
.big-numbers div { background: #fff; border: 1px solid #e5ddd3; border-radius: 12px; padding: 16px; }
.big-numbers span { display: block; color: #777; font-size: .85rem; }
.big-numbers strong { font-size: 1.5rem; }
table { width: 100%; border-collapse: collapse; background: #fff; margin: 12px 0; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; font-size: .95rem; }
th { color: #777; font-weight: 600; }
img.photo { max-width: 100%; border-radius: 12px; border: 1px solid #e5ddd3; }
a { color: #7a1c25; }
