/* Base */
:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#fff;color:#000}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}

/* Layout: one narrow column, one big action at a time; amber squares = what the person does next. */
:root {
  --bg: #EEF1F6; --surface: #FFFFFF; --soft: #E2E7F0; --line: #CBD3E1;
  --ink: #0E1B33; --ink-2: #4F5B70; --brand: #13233F; --brand-ink: #F2F4F8; --brand-mute: #A7B4CC;
  --accent: #D9A85C; --accent-ink: #13233F;
  --red: #B3261E; --red-bg: #FBE7E5; --green: #1D7349; --green-bg: #E1F1E8;
  --font: 'Manrope', 'Helvetica Neue', Arial, sans-serif; --r: 4px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0A1020; --surface: #111A2E; --soft: #18233B; --line: #26344F;
  --ink: #E8ECF4; --ink-2: #A3AEC2; --brand: #060B18; --brand-ink: #E8ECF4; --brand-mute: #8F9CB5;
  --accent: #E8B05A; --accent-ink: #0B1426; --red: #FF8C82; --red-bg: #3B1613; --green: #74D4A2; --green-bg: #12382A; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #0A1020; --surface: #111A2E; --soft: #18233B; --line: #26344F;
  --ink: #E8ECF4; --ink-2: #A3AEC2; --brand: #060B18; --brand-ink: #E8ECF4; --brand-mute: #8F9CB5;
  --accent: #E8B05A; --accent-ink: #0B1426; --red: #FF8C82; --red-bg: #3B1613; --green: #74D4A2; --green-bg: #12382A; color-scheme: dark }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { background: var(--bg); color: var(--ink); }
body { font-family: var(--font); font-size: 18px; line-height: 1.45; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; letter-spacing: -0.02em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.top { background: var(--brand); color: var(--brand-ink); padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 0; }
.top-in { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.brand-row { display: flex; align-items: center; gap: 10px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.logo i { width: 18px; height: 18px; background: var(--accent); display: block; }
.demo { font-size: 12px; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); padding: 2px 8px; }
.spacer { flex: 1; }
.link { background: none; border: 0; color: var(--brand-mute); font-size: 14px; font-weight: 700; text-decoration: underline; padding: 4px; }
.who { display: grid; grid-template-columns: repeat(3, 1fr); }
.who button { background: none; border: 0; border-bottom: 4px solid transparent; color: var(--brand-mute); padding: 12px 4px; font-weight: 800; font-size: 17px; }
.who button[aria-selected="true"] { color: var(--brand-ink); border-bottom-color: var(--accent); }

main { max-width: 720px; margin: 0 auto; padding-inline: 16px; padding-block: 28px 80px; display: flex; flex-direction: column; gap: 22px; }
.hello { display: flex; flex-direction: column; gap: 6px; }
.hello h1 { font-size: clamp(30px, 6vw, 42px); font-weight: 800; }
.hello p { font-size: 20px; color: var(--ink-2); }
.hello p b { color: var(--ink); }
.eyebrow-s { font-size: 14px !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.eyebrow-s::before { content: ""; width: 10px; height: 10px; background: var(--accent); }

.switch { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); padding: 4px; border-radius: var(--r); }
.switch button { border: 0; background: none; padding: 12px; font-weight: 800; border-radius: var(--r); color: var(--ink-2); }
.switch button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.card { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.card.red { border-color: var(--red); background: var(--red-bg); }
.card.green { border-color: var(--green); }
.card-h { display: flex; align-items: center; gap: 14px; }
.card-h h2 { font-size: 26px; font-weight: 800; }
.card-h .who-small { color: var(--ink-2); font-size: 15px; }
.tag { font-size: 14px; font-weight: 800; padding: 4px 10px; border-radius: var(--r); white-space: nowrap; }
.tag.red { background: var(--red); color: var(--surface); }
.tag.green { background: var(--green-bg); color: var(--green); }
.tag.amber { background: var(--accent); color: var(--accent-ink); }
.tag.grey { background: var(--soft); color: var(--ink-2); }
.blink { animation: blink 1s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .blink { animation: none; } }

.dots { display: flex; gap: 6px; }
.dots i { flex: 1; height: 10px; background: var(--soft); }
.dots i.on { background: var(--green); }
.dots i.now { background: var(--accent); }

.ask { font-size: 22px; font-weight: 800; }
.big { width: 100%; border: 0; border-radius: var(--r); padding: 20px; font-size: 21px; font-weight: 800; background: var(--brand); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 68px; }
:root[data-theme="dark"] .big { background: var(--accent); color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .big { background: var(--accent); color: var(--accent-ink); } }
.big.amber { background: var(--accent); color: var(--accent-ink); }
.big.light { background: var(--surface); color: var(--ink); border: 2px solid var(--line); }
.big:disabled { opacity: .4; cursor: not-allowed; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.three button { border: 2px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 18px 6px; font-weight: 800; font-size: 18px; color: var(--ink); }
.three button.nul { color: var(--red); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.small-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.undo { background: none; border: 0; color: var(--ink-2); text-decoration: underline; font-size: 15px; font-weight: 700; padding: 4px 0; }
.say { font-size: 19px; color: var(--ink-2); }
.say b { color: var(--ink); }
.missing { font-size: 20px; font-weight: 800; color: var(--red); }
.done-mark { width: 44px; height: 44px; background: var(--green); display: grid; place-items: center; flex: none; }
.done-mark::after { content: ""; width: 10px; height: 20px; border: solid var(--surface); border-width: 0 4px 4px 0; transform: rotate(45deg) translate(-2px, -2px); }

.road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.road div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-align: center; }
.road div i { height: 10px; background: var(--soft); }
.road div.on i { background: var(--green); }
.road div.now i { background: var(--accent); }
.road div.now { color: var(--ink); }

.progress { display: flex; flex-direction: column; gap: 8px; }
.progress p { font-weight: 800; color: var(--ink-2); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.q-title { font-size: clamp(30px, 6vw, 40px); font-weight: 800; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { border: 3px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 26px 18px; text-align: left; display: flex; flex-direction: column; gap: 6px; }
.choice b { font-size: 26px; }
.choice .ph { display: block; width: calc(100% + 36px); margin: -26px -18px 10px; aspect-ratio: 4 / 3; object-fit: cover; max-width: none; }
.choice { overflow: hidden; }
.choice span { color: var(--ink-2); font-size: 16px; }
.choice[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
label.f { display: flex; flex-direction: column; gap: 8px; font-weight: 800; font-size: 18px; }
label.f input[type=text], label.f input[type=tel] { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 16px; font-size: 20px; width: 100%; color: var(--ink); }
.file { border: 3px dashed var(--line); background: var(--surface); border-radius: var(--r); padding: 22px; display: flex; align-items: center; gap: 14px; font-weight: 800; cursor: pointer; }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file.ok { border-style: solid; border-color: var(--green); color: var(--green); }
.tick { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 3px solid var(--line); border-radius: var(--r); padding: 22px; font-size: 20px; font-weight: 800; cursor: pointer; }
.tick input { width: 30px; height: 30px; accent-color: var(--green); flex: none; }
.nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 19px; font-weight: 700; background: var(--surface); padding: 14px 16px; border-radius: var(--r); border: 2px solid var(--line); }

.overlay { position: fixed; inset: 0; background: rgba(6,11,24,.6); display: grid; place-items: center; padding: 16px; z-index: 20; }
.modal { background: var(--surface); width: 100%; max-width: 420px; border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.label-card { background: #FFFFFF; color: #13234A; border: 3px dashed #13234A; padding: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 18px; }
.label-card .t { font-weight: 800; font-size: 14px; letter-spacing: .1em; border-bottom: 2px solid #13234A; padding-bottom: 6px; display: flex; justify-content: space-between; }
.label-card b { font-size: 26px; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); transform: translateX(-50%); background: var(--brand); color: var(--brand-ink); padding: 14px 20px; border-radius: var(--r); font-weight: 800; z-index: 30; border-left: 8px solid var(--accent); max-width: calc(100% - 32px); }
.reg-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.reg-bar input[type=date] { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 10px 12px; font-size: 18px; color: var(--ink); }
.sq { border: 2px solid var(--line); background: var(--surface); border-radius: var(--r); width: 48px; height: 48px; font-size: 20px; font-weight: 800; color: var(--ink); }
.reg-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.reg-sum div { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.reg-sum b { font-size: 30px; font-variant-numeric: tabular-nums; }
.reg-sum span { font-size: 14px; color: var(--ink-2); font-weight: 700; }
.tablewrap { overflow-x: auto; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); }
.reg { border-collapse: collapse; width: 100%; min-width: 1240px; font-size: 15px; }
.reg th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); padding: 12px 12px; border-bottom: 2px solid var(--line); background: var(--soft); vertical-align: bottom; }
.reg td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.reg tr:last-child td { border-bottom: 0; }
.reg .mono { font-family: ui-monospace, Menlo, monospace; font-size: 14px; white-space: nowrap; }
.reg th:nth-child(9), .reg td:nth-child(9) { min-width: 230px; }
.reg th:nth-child(7), .reg td:nth-child(7) { min-width: 180px; }
.dps { border: 2px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 6px 10px; font-weight: 800; font-size: 13px; white-space: nowrap; color: var(--ink); }
.dps[aria-pressed="true"] { background: var(--green-bg); border-color: var(--green); color: var(--green); }
.dps[aria-pressed="false"] { border-color: var(--accent); }
.exports { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.note { font-size: 15px; color: var(--ink-2); }

/* Ordinateur */
.cards { display: flex; flex-direction: column; gap: 22px; }
.head-row { display: flex; flex-direction: column; gap: 22px; }
.who .ic, .who small, .side-foot, .steps { display: none; }
.who b { font-weight: 800; }
.wiz, .wiz-main { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 900px) {
  body { padding-left: 272px; }
  .top { position: fixed; inset: 0 auto 0 0; width: 272px; padding: 28px 18px; display: flex; overflow-y: auto; }
  .top-in { max-width: none; margin: 0; width: 100%; gap: 28px; }
  .brand-row { flex-wrap: wrap; padding: 0 10px; row-gap: 8px; }
  .brand-row .spacer { display: none; }
  .logo { font-size: 24px; }
  #reset { position: absolute; bottom: 70px; left: 24px; }
  .toast { left: calc(50% + 136px); }
  .side-foot { display: block; position: absolute; bottom: 24px; left: 28px; right: 18px; font-size: 13px; color: var(--brand-mute); }
  .top { position: fixed; }
  .who { display: flex; flex-direction: column; gap: 6px; }
  .who button { display: flex; align-items: center; gap: 14px; text-align: left; border: 0; border-radius: 6px; padding: 14px 12px; border-left: 4px solid transparent; }
  .who button:hover { background: rgba(255,255,255,.05); }
  .who button[aria-selected="true"] { background: rgba(255,255,255,.08); border-left-color: var(--accent); }
  .who .ic { display: block; width: 12px; height: 12px; border: 2px solid currentColor; flex: none; }
  .who button[aria-selected="true"] .ic { background: var(--accent); border-color: var(--accent); }
  .who span { display: flex; flex-direction: column; gap: 2px; }
  .who b { font-size: 17px; }
  .who small { display: block; font-size: 13px; font-weight: 600; color: var(--brand-mute); }

  main { max-width: none; margin: 0; padding: 48px clamp(32px, 4vw, 72px) 96px; gap: 32px; }
  .hello h1 { font-size: 44px; }
  .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); align-items: start; gap: 24px; }
  .head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .head-row .big { width: auto; padding-inline: 44px; }
  .switch { max-width: 620px; }
  .reg-sum { max-width: 900px; }

  .wiz { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
  .wiz-main { max-width: 760px; gap: 26px; }
  .wiz.wide .wiz-main { max-width: none; }
  .wiz .progress { display: none; }
  .steps .eyebrow-s { letter-spacing: .08em; }
  .steps { display: block; position: sticky; top: 48px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 22px; }
  .steps ol { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
  .steps li { display: flex; align-items: center; gap: 12px; padding: 10px 8px; font-weight: 700; color: var(--ink-2); font-size: 16px; border-radius: 4px; }
  .steps li i { width: 28px; height: 28px; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; background: var(--soft); color: var(--ink-2); flex: none; }
  .steps li.on i { background: var(--green); color: var(--surface); }
  .steps li.on i::after { content: ""; width: 6px; height: 11px; border: solid var(--surface); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
  .steps li.now { background: var(--soft); color: var(--ink); }
  .steps li.now i { background: var(--accent); color: var(--accent-ink); }
  .choices { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
  .nav { max-width: 760px; }
}
@media (max-width: 480px) { .choices, .two { grid-template-columns: 1fr; } .three button { font-size: 16px; } }

/* Lecture du livret */
.file.drop { flex-direction: column; align-items: flex-start; gap: 4px; padding: 26px 22px; }
.file.drop span { display: flex; flex-direction: column; gap: 4px; font-size: 20px; }
.file.drop small { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.file.drop.over { border-color: var(--accent); background: var(--soft); }
.file.drop.ok { color: var(--ink); border-style: dashed; border-color: var(--line); }
.pages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.pages li { position: relative; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pages img, .pages .pdf { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: grid; place-items: center; background: var(--soft); font-weight: 800; color: var(--ink-2); max-width: none; }
.pages .pn { font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pages .x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: var(--r); background: var(--brand); color: var(--brand-ink); font-size: 20px; font-weight: 800; line-height: 1; }
.pages .x:disabled { opacity: .4; }
.scan { border: 2px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.scan.busy { flex-direction: row; align-items: center; gap: 16px; }
.scan.busy p { flex: 1; color: var(--ink-2); font-size: 16px; }
.scan.busy p b { color: var(--ink); font-size: 18px; }
.scan.ok { border-color: var(--green); background: var(--green-bg); }
.scan.warn { border-color: var(--accent); }
.scan-t { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.scan-n { font-family: ui-monospace, Menlo, monospace; font-size: clamp(28px, 6vw, 36px); font-weight: 800; letter-spacing: .06em; color: var(--ink); }
.scan.ok .scan-n { color: var(--green); }
.scan-x { font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.scan-m { font-size: 16px; color: var(--ink); }
.scan .big { margin-top: 8px; }
.spin { width: 28px; height: 28px; border: 4px solid var(--soft); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }
.fl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lu { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: var(--r); background: var(--green-bg); color: var(--green); }

/* Pages du livret demandées */
.livret-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.slot { position: relative; display: flex; align-items: center; gap: 14px; background: var(--surface); border: 3px dashed var(--line); border-radius: var(--r); padding: 14px 16px; min-height: 84px; cursor: pointer; }
label.slot:hover, .slot.over { border-color: var(--accent); background: var(--soft); }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slot.ok { border-style: solid; border-color: var(--green); cursor: default; padding-right: 60px; }
.slot .num { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--soft); color: var(--ink-2); font-weight: 800; font-size: 20px; border-radius: var(--r); }
.slot img, .slot .pdf { width: 52px; height: 52px; flex: none; object-fit: cover; border-radius: var(--r); background: var(--soft); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--ink-2); max-width: none; }
.slot .st { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.slot .st b { font-size: 18px; }
.slot .st small { font-size: 14px; color: var(--ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot .add { font-weight: 800; font-size: 16px; color: var(--ink); white-space: nowrap; }
.slot .x { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: var(--r); background: var(--brand); color: var(--brand-ink); font-size: 20px; font-weight: 800; line-height: 1; }
.slot .x:disabled { opacity: .4; }
@media (max-width: 480px) { .slot.ok .tag { display: none; } .slot .add { font-size: 0; } .slot .add::before { content: "+"; font-size: 28px; } }
label.slot .st small { white-space: normal; }

/* Libellé long / court de l'onglet Centre agréé de mise en place */
.who b .sh { display: inline; }
.who b .lg { display: none; }
@media (min-width: 900px) { .who b .sh { display: none; } .who b .lg { display: inline; } }

/* Centres agréés de mise en place */
.sel { appearance: none; -webkit-appearance: none; width: 100%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%234F5B70' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat right 18px center; border: 2px solid var(--line); border-radius: var(--r); padding: 16px 48px 16px 16px; font: inherit; font-size: 18px; font-weight: 700; color: var(--ink); min-height: 60px; }
.sel:focus-visible { border-color: var(--accent); }
.geo-ask { display: flex; flex-direction: column; gap: 14px; }
.geo-ask .big { min-height: 60px; font-size: 19px; }
.geo-cp { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.geo-cp .big { width: auto; padding-inline: 26px; min-height: 60px; }
.geo-s { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 16px; color: var(--ink-2); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.geo-s.ok { border-color: var(--green); background: var(--green-bg); color: var(--ink); }
.geo-s .undo { padding: 0; }
.pin { width: 14px; height: 14px; flex: none; display: inline-block; background: var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); position: relative; }
.pin::after { content: ""; position: absolute; inset: 4px; background: var(--surface); border-radius: 50%; }
.big-pin { width: 22px; height: 22px; margin: 4px 4px 0; align-self: flex-start; }
.big-pin::after { inset: 6px; }
.centre-card { background: var(--surface); border: 2px solid var(--green); border-radius: var(--r); padding: 16px 18px; }
.centre-card b { font-size: 18px; }
.centre-card .say { font-size: 16px; }
.centre-card .card-h { align-items: flex-start; }
label.f input[type=date] { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 14px 16px; font-size: 20px; width: 100%; color: var(--ink); min-height: 60px; }
.geo-s .gt { flex: 1; min-width: 0; }
.geo-cp label.f .note { font-weight: 600; font-size: 15px; margin-top: -4px; }

/* Livret : parcours guidé, une photo à la fois */
.pips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pips li { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--ink-2); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 8px 10px; }
.pips i { width: 24px; height: 24px; flex: none; display: grid; place-items: center; font-style: normal; font-size: 13px; background: var(--soft); border-radius: 50%; }
.pips li.now { border-color: var(--accent); color: var(--ink); }
.pips li.now i { background: var(--accent); color: var(--accent-ink); }
.pips li.on { border-color: var(--green); color: var(--green); background: var(--green-bg); }
.pips li.on i { background: var(--green); }
.pips li.on i::after { content: ""; width: 5px; height: 10px; border: solid var(--surface); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.shoot { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; background: var(--surface); border: 3px solid var(--accent); border-radius: var(--r); padding: 22px; scroll-margin-top: 16px; }
.shoot.over { background: var(--soft); }
.shoot .art svg { width: 100%; height: auto; display: block; }
.shoot .art .pg { fill: var(--bg); stroke: var(--line); stroke-width: 2; }
.shoot .art .ln { fill: var(--line); }
.shoot .art .tr { stroke: var(--line); stroke-width: 2.5; fill: none; }
.shoot .art .st { fill: none; stroke: var(--line); stroke-width: 2.5; stroke-dasharray: 4 3; }
.shoot .art .hl { fill: var(--accent); opacity: .25; }
.shoot .art .hlt { fill: var(--accent); }
.shoot-b { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.shoot-b h2 { font-size: 26px; font-weight: 800; }
.shoot-b .say { font-size: 17px; }
.cam { position: relative; margin-top: 6px; cursor: pointer; }
.cam input, .pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cam-ic { width: 26px; height: 20px; border: 3px solid currentColor; border-radius: 5px; position: relative; flex: none; }
.cam-ic::before { content: ""; position: absolute; width: 8px; height: 8px; border: 3px solid currentColor; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cam-ic::after { content: ""; position: absolute; width: 8px; height: 4px; background: currentColor; top: -7px; left: 4px; border-radius: 2px 2px 0 0; }
.pick { position: relative; text-align: center; font-size: 15px; font-weight: 700; color: var(--ink-2); text-decoration: underline; cursor: pointer; padding: 4px; }
.tip { font-size: 14px; color: var(--ink-2); text-align: center; }
.shoot.all { display: flex; align-items: center; gap: 16px; border-color: var(--green); background: var(--green-bg); }
.shoot.all h2 { font-size: 22px; font-weight: 800; }
.taken { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.taken li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 8px 14px 8px 8px; }
.taken img, .taken .pdf { width: 48px; height: 48px; object-fit: cover; border-radius: var(--r); flex: none; background: var(--soft); display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--ink-2); max-width: none; }
.taken .tk { flex: 1; display: flex; flex-direction: column; }
.taken .tk b { font-size: 17px; }
.taken .tk small { font-size: 13px; color: var(--green); font-weight: 700; }
.verify { display: flex; flex-direction: column; gap: 18px; border-top: 2px solid var(--line); padding-top: 22px; }
.verify h2 { font-size: 22px; font-weight: 800; }
.undo.manual { align-self: flex-start; text-align: left; }
@media (max-width: 480px) {
  .shoot { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
  .shoot .art { width: 84px; }
  .shoot-b h2 { font-size: 24px; }
  .pips li { font-size: 13px; padding: 8px 6px; gap: 6px; }
}

/* Contrat d'achat de dose */
.contract { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 20px 22px; max-height: 380px; overflow-y: auto; font-size: 15px; line-height: 1.55; display: flex; flex-direction: column; gap: 10px; }
.contract h3 { font-size: 19px; font-weight: 800; margin: 0; }
.contract h4 { font-size: 15px; font-weight: 800; margin: 6px 0 0; }
.contract .ct-sub { color: var(--ink-2); font-weight: 700; font-size: 14px; }
.contract p { margin: 0; }
.sign { display: flex; flex-direction: column; gap: 16px; border-top: 2px solid var(--line); padding-top: 22px; }
.sign h2 { font-size: 22px; font-weight: 800; }
.sig-wrap { position: relative; }
.sig { display: block; width: 100%; height: 180px; background: #FFFFFF; border: 3px dashed var(--line); border-radius: var(--r); touch-action: none; cursor: crosshair; }
.sig-wrap.inked .sig { border-style: solid; border-color: var(--accent); }
.sig-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #8A94A6; font-weight: 700; font-size: 18px; pointer-events: none; }
.sig-wrap::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 44px; border-bottom: 2px solid #CBD3E1; pointer-events: none; }
.sig-wrap.inked .sig-ph { display: none; }
.sig-clear { position: absolute; top: 8px; right: 12px; }
.sig-img { background: #FFFFFF; border: 2px solid var(--line); border-radius: var(--r); max-width: 320px; width: 100%; height: auto; }
.ct-more summary { cursor: pointer; font-weight: 800; padding: 8px 0; }
.ct-more[open] { display: flex; flex-direction: column; gap: 10px; }

/* ===== Espace éleveur v2 ===== */
.backlink { align-self: flex-start; background: none; border: 0; padding: 4px 0; font-weight: 800; font-size: 16px; color: var(--ink-2); }
.backlink:hover { color: var(--ink); }
.sheet { max-width: 720px; display: flex; flex-direction: column; gap: 22px; }
.h2 { font-size: 24px; font-weight: 800; }
.blk { display: flex; flex-direction: column; gap: 14px; }
.blk-h, .part-h, .sum-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.onboard { border-color: var(--accent); }
.how { margin: 0; padding: 0; list-style: none; counter-reset: h; display: flex; flex-direction: column; gap: 14px; }
.how li { counter-increment: h; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; }
.how li::before { content: counter(h); grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; border-radius: 50%; }
.how b { font-size: 18px; }
.how span { color: var(--ink-2); font-size: 16px; }
.coord p { font-size: 17px; color: var(--ink-2); }
.coord p b { color: var(--ink); }

/* Cartes jument */
.mares { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.mare { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.mare-h { display: flex; align-items: center; gap: 14px; }
.mare-h h3 { font-size: 22px; font-weight: 800; margin: 0; }
.mare-h p { color: var(--ink-2); font-size: 15px; font-family: ui-monospace, Menlo, monospace; }
.av { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--soft); color: var(--ink); font-weight: 800; font-size: 22px; max-width: none; }
.mare-st { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.mare-st li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.mare-st li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.mare-st li.ko::before { background: var(--accent); }
.mare-st li.ko, .ko { color: var(--ink); }
.mare .big { min-height: 56px; padding: 14px; font-size: 18px; }
.mare.add { border-style: dashed; align-items: center; justify-content: center; text-align: center; min-height: 220px; color: var(--ink); gap: 6px; }
.mare.add:hover { border-color: var(--accent); }
.mare.add b { font-size: 20px; }
.mare.add span:last-child { color: var(--ink-2); font-size: 15px; }
.plus { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 34px; font-weight: 800; line-height: 1; }

/* Fiche jument */
.part { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 20px; }
.part-n { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.part-n i { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-style: normal; font-size: 15px; flex: none; }
:root[data-theme="dark"] .part-n i { background: var(--accent); color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .part-n i { background: var(--accent); color: var(--accent-ink); } }
.part .say { font-size: 16px; }
label.f input.xl { font-size: 24px; font-weight: 800; padding: 18px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 8px; background: var(--bg); border: 3px dashed var(--line); border-radius: var(--r); cursor: pointer; min-width: 0; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tile.next { border-color: var(--accent); border-style: solid; background: var(--surface); }
.tile.over { border-color: var(--accent); background: var(--soft); }
.tile .art { width: 56px; }
.tile .art svg { width: 100%; height: auto; display: block; }
.tile .art .pg { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.tile .art .ln { fill: var(--line); }
.tile .art .tr { stroke: var(--line); stroke-width: 2.5; fill: none; }
.tile .art .st { fill: none; stroke: var(--line); stroke-width: 2.5; stroke-dasharray: 4 3; }
.tile .art .hl { fill: var(--accent); opacity: .25; }
.tile .art .hlt { fill: var(--accent); }
.tile b { font-size: 16px; }
.tile small { font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.tile-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: var(--r); }
.tile:not(.next) .tile-cta { background: var(--soft); color: var(--ink); }
.tile-cta .cam-ic { transform: scale(.75); }
.tile.ok { border-style: solid; border-color: var(--green); background: var(--green-bg); cursor: default; }
.tile.ok img, .tile.ok .pdf { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; display: grid; place-items: center; background: var(--surface); font-weight: 800; color: var(--ink-2); max-width: none; }
.tile.ok b { color: var(--green); }
.retake { position: relative; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.retake input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vf { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: var(--r); white-space: nowrap; }
.vf.ok { background: var(--green-bg); color: var(--green); }
.vf.wait { background: var(--soft); color: var(--ink-2); }
.vf.none { background: var(--soft); color: var(--ink-2); }
.vf-diff { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; background: var(--surface); border: 2px solid var(--accent); border-radius: var(--r); padding: 10px 12px; margin-top: -6px; font-size: 16px; }
.big.sm { width: auto; min-height: 44px; padding: 8px 18px; font-size: 16px; }
.undo.danger { color: var(--red); align-self: flex-start; }

/* Coordonnées */
.two-f { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; }
label.f input[type=email] { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 16px; font-size: 20px; width: 100%; color: var(--ink); }
label.f.bad input { border-color: var(--red); }
.errm { color: var(--red); font-size: 14px; font-weight: 700; }

/* Commande */
.pickms { display: flex; flex-direction: column; gap: 10px; }
.pickm { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--surface); border: 3px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.pickm[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.pickm:hover { border-color: var(--accent); }
.pickm .pm { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pickm .pm b { font-size: 20px; }
.pickm .pm small { font-size: 14px; color: var(--ink-2); font-family: ui-monospace, Menlo, monospace; }
.pickm.add { border-style: dashed; }
.pickm .av.plus { background: var(--accent); color: var(--accent-ink); font-size: 30px; }
.sum { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.sum > p { font-size: 17px; color: var(--ink-2); line-height: 1.6; }
.sum > p b { color: var(--ink); }
.sum .centre-card { border-width: 2px; }
.recap { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); }
.recap li { display: grid; grid-template-columns: 110px 1fr 28px; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 17px; }
.recap li:last-child { border-bottom: 0; }
.recap .rl { color: var(--ink-2); font-weight: 700; font-size: 15px; }
.recap .rv { font-weight: 800; min-width: 0; overflow-wrap: anywhere; }
.recap .ri { width: 24px; height: 24px; border-radius: 50%; background: var(--green); position: relative; }
.recap .ri::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid var(--surface); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.recap li.ko .ri { background: var(--accent); }
.recap li.ko .ri::after { left: 10px; top: 4px; width: 4px; height: 10px; border: 0; background: var(--accent-ink); transform: none; border-radius: 2px; box-shadow: 0 13px 0 -0px var(--accent-ink); height: 9px; }
@media (max-width: 480px) {
  .tiles { gap: 6px; }
  .tile { padding: 10px 4px; }
  .tile small { display: none; }
  .tile-cta { font-size: 13px; padding: 6px 8px; gap: 4px; }
  .two-f { grid-template-columns: 1fr; }
  .recap li { grid-template-columns: 84px 1fr 24px; font-size: 16px; padding: 12px; }
  .mare-h h3 { font-size: 20px; }
}

/* Onglets de l'espace éleveur */
.etabs { display: flex; gap: 4px; background: var(--soft); padding: 4px; border-radius: var(--r); overflow-x: auto; scrollbar-width: none; position: sticky; top: 0; z-index: 5; }
.etabs::-webkit-scrollbar { display: none; }
.etabs button { flex: 1 0 auto; border: 0; background: none; padding: 12px 14px; font-weight: 800; font-size: 16px; color: var(--ink-2); border-radius: var(--r); white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.etabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.cnt { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--green); color: #fff; font-size: 13px; display: inline-grid; place-items: center; }
.cnt.ko { background: var(--red); }
.notice { display: flex; flex-direction: column; gap: 2px; text-align: left; width: 100%; background: var(--surface); border: 2px solid var(--green); border-left-width: 8px; border-radius: var(--r); padding: 12px 16px; color: var(--ink); }
.notice.ko { border-color: var(--red); }
.notice b { font-size: 17px; }
.notice span { font-size: 15px; color: var(--ink-2); text-decoration: underline; }
.cat-h .say { margin-top: 4px; font-size: 17px; }
.choices.cat .choice { cursor: pointer; }
.choices.cat .choice .meta { font-size: 14px; }
.choices.cat .choice .go { margin-top: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 16px; text-align: center; padding: 12px; border-radius: var(--r); }
:root[data-theme="dark"] .choices.cat .choice .go { background: var(--accent); color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .choices.cat .choice .go { background: var(--accent); color: var(--accent-ink); } }
.choices.cat .choice:hover { border-color: var(--accent); }
.choices.cat .choice:hover .go { background: var(--accent); color: var(--accent-ink); }
.empty { align-items: flex-start; }
@media (max-width: 480px) {
  .etabs button { font-size: 14px; padding: 10px 10px; }
  .choices.cat { grid-template-columns: 1fr 1fr; gap: 10px; }
  .choices.cat .choice { padding: 18px 12px; }
  .choices.cat .choice .ph { width: calc(100% + 24px); margin: -18px -12px 8px; }
  .choices.cat .choice b { font-size: 18px; }
  .choices.cat .choice span { font-size: 13px; }
  .choices.cat .choice .go { font-size: 14px; padding: 10px 6px; }
}
@media (max-width: 560px) { .etabs { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; } .etabs button { white-space: normal; } }

/* Accueil éleveur */
.etabs .sh { display: none; }
@media (max-width: 560px) {
  .etabs { display: flex; padding: 3px; gap: 2px; }
  .etabs button { flex: 1 1 0; padding: 10px 2px; font-size: 13px; flex-direction: column; gap: 2px; min-width: 0; }
  .etabs .lg { display: none; }
  .etabs .sh { display: inline; }
  .etabs .cnt { min-width: 18px; height: 18px; font-size: 11px; }
}
.hero { display: flex; flex-direction: column; gap: 14px; background: var(--brand); color: var(--brand-ink); border-radius: var(--r); padding: 28px 24px; }
.hero .eyebrow-s { color: var(--brand-mute); }
.hero h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; }
.hero .say { color: var(--brand-mute); font-size: 18px; }
.hero .say b { color: var(--brand-ink); }
.hero .big { align-self: flex-start; width: auto; padding-inline: 32px; }
.hero.small h1 { font-size: clamp(30px, 5vw, 40px); }
.steps3 { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.steps3 li { counter-increment: s; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.steps3 li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; margin-bottom: 6px; }
.steps3 b { font-size: 18px; }
.steps3 span { color: var(--ink-2); font-size: 15px; }
.todo { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.todo li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 2px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--r); padding: 12px 14px; }
.tdi { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }
.tdt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tdt b { font-size: 17px; }
.tdt small { font-size: 14px; color: var(--ink-2); }
.allgood { display: flex; align-items: center; gap: 14px; background: var(--green-bg); border: 2px solid var(--green); border-radius: var(--r); padding: 14px 16px; }
.allgood p { font-size: 16px; color: var(--ink); }
.minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.mini { display: flex; flex-direction: column; gap: 10px; text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 14px 16px; color: var(--ink); }
.mini:hover { border-color: var(--accent); }
.mini-h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.mini-h b { font-size: 18px; }
.mini-h span { font-size: 14px; color: var(--ink-2); }
.mini-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.mini-bar i { height: 8px; background: var(--soft); border-radius: 2px; }
.mini-bar i.on { background: var(--green); }
.mini-bar i.now { background: var(--accent); }
.mini-s { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.mini-s.ko { color: var(--red); }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.chip { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 10px 12px; text-align: left; color: var(--ink); }
.chip .av { width: 44px; height: 44px; font-size: 18px; }
.chip .ct { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chip .ct b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip .ct small { font-size: 13px; color: var(--ink-2); }
.chip.add { border-style: dashed; }
.chip.add .av.plus { font-size: 26px; }
.feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fe { display: flex; flex-direction: column; gap: 2px; text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 0 0 12px; color: var(--ink); }
.fe:hover { border-color: var(--accent); }
.fe img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; max-width: none; }
.fe b { font-size: 16px; padding: 0 12px; }
.fe span { font-size: 13px; color: var(--ink-2); padding: 0 12px; }
@media (max-width: 700px) { .feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .hero { padding: 22px 18px; } .hero .big { width: 100%; } .todo li { flex-wrap: wrap; } .todo li .big.sm { width: 100%; } }
@media (max-width: 560px) {
  .etabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
  .etabs button { flex-direction: row; font-size: 14px; padding: 10px 4px; }
}
.chips { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
@media (max-width: 480px) { .chips { grid-template-columns: 1fr; } }

/* ===== Logo dans l'en-tête ===== */
.logo { background: none; border: 0; color: inherit; padding: 0; cursor: pointer; font-family: var(--font); }
.logo img { width: 30px; height: 30px; border-radius: 4px; display: block; }

/* ===== Page d'accueil Horsenext (v3 : un seul écran, trois boutons) ===== */
.landing { display: none; }
body.on-landing { padding-left: 0 !important; background: #F4F1EA; }
body.on-landing .landing { display: block; }
body.on-landing > header.top, body.on-landing > main, body.on-landing > .toast { display: none !important; }
.landing { --n: #13233F; --g: #C99A55; --c: #F4F1EA; --m: #5B6478; background: var(--c); color: var(--n); }
.lp { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lp-main { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: calc(env(safe-area-inset-top, 0px) + 40px) clamp(20px, 6vw, 88px) 32px; max-width: 640px; width: 100%; margin-left: auto; }
.lp-logo { width: 64px; height: 64px; border-radius: 6px; }
.lp-word { font-weight: 700; letter-spacing: .4em; font-size: 14px; margin-top: -4px; padding-bottom: 14px; border-bottom: 2px solid var(--g); align-self: flex-start; }
.landing h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: 0; color: var(--n); margin-top: 8px; }
.lp-q { font-weight: 800; font-size: 18px; margin-top: 10px; }
.lp-choices { display: flex; flex-direction: column; gap: 12px; }
.lp-c { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 16px; text-align: left; background: #FFFFFF; border: 2px solid #DDD6C7; border-radius: 10px; padding: 18px 22px; color: var(--n); cursor: pointer; transition: border-color .15s, transform .15s; }
.lp-c:hover { border-color: var(--n); transform: translateX(2px); }
.lp-c b { font-size: 21px; font-weight: 800; }
.lp-c span { grid-column: 1; font-size: 15px; color: var(--m); font-weight: 600; }
.lp-c i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 26px; font-weight: 800; color: var(--g); }
.lp-c.main { background: var(--n); border-color: var(--n); color: var(--c); padding: 24px 22px; }
.lp-c.main b { font-size: 24px; }
.lp-c.main span { color: #C9CFDA; }
.lp-c.main i { color: var(--g); }
.lp-c:focus-visible { outline: 3px solid var(--g); outline-offset: 3px; }
.lp-foot { margin-top: 12px; font-size: 13px; color: var(--m); }
.lp-pic { position: relative; overflow: hidden; }
.lp-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.lp-pic::after { content: ""; position: absolute; inset: 0; box-shadow: inset 6px 0 0 var(--g); }
@media (max-width: 860px) {
  .lp { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .lp-pic { order: -1; height: 30vh; min-height: 180px; }
  .lp-pic::after { box-shadow: inset 0 -5px 0 var(--g); }
  .lp-main { margin: 0; max-width: none; padding: 24px 16px calc(env(safe-area-inset-bottom, 0px) + 24px); gap: 14px; }
  .lp-logo { width: 52px; height: 52px; margin-top: -50px; border: 3px solid var(--c); box-sizing: content-box; }
}
.lp-pic img { object-position: 22% 50%; }
@media (max-width: 860px) { .lp-logo { margin-top: 0; border: 0; } .lp-pic img { object-position: 50% 40%; } }
@media (min-width: 861px) {
  .lp-pic { display: flex; align-items: center; padding: 48px clamp(24px, 5vw, 72px) 48px 0; }
  .lp-pic::after { display: none; }
  .lp-pic img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; object-position: 50% 50%; border-radius: 10px; box-shadow: 0 24px 50px rgba(19,35,63,.18); border-bottom: 6px solid var(--g); }
}
/* Accueil sans photo : une colonne centrée */
.lp { grid-template-columns: 1fr; grid-template-rows: none; }
.lp-main { margin: 0 auto; max-width: 560px; padding-top: calc(env(safe-area-inset-top, 0px) + 40px); }
@media (max-width: 860px) { .lp-main { padding-top: calc(env(safe-area-inset-top, 0px) + 32px); } }
/* Accueil — format ordinateur : tout centré, les trois profils côte à côte */
@media (min-width: 861px) {
  .lp { align-items: center; }
  .lp-main { max-width: 1040px; align-items: center; text-align: center; gap: 22px; padding: 56px 40px; justify-content: center; }
  .lp-logo { width: 84px; height: 84px; }
  .lp-word { align-self: center; font-size: 16px; }
  .landing h1 { font-size: clamp(48px, 5.2vw, 72px); max-width: 900px; margin-top: 16px; }
  .lp-q { margin-top: 26px; }
  .lp-choices { flex-direction: row; gap: 18px; width: 100%; }
  .lp-c { flex: 1 1 0; grid-template-columns: 1fr; grid-template-rows: auto auto auto; text-align: left; padding: 28px 26px; row-gap: 6px; min-height: 170px; align-content: start; }
  .lp-c.main { padding: 28px 26px; }
  .lp-c b, .lp-c.main b { font-size: 24px; }
  .lp-c span { font-size: 16px; }
  .lp-c i { grid-column: 1; grid-row: 3; align-self: end; font-size: 28px; margin-top: 18px; }
  .lp-c:hover { transform: translateY(-3px); }
  .lp-foot { margin-top: 24px; }
}

/* =====================================================================
   Style unifié sur la page d'accueil Horsenext
   (fond crème, bleu nuit, doré, titres Cormorant, contenu centré)
   ===================================================================== */
:root, :root[data-theme="dark"] {
  --bg: #F4F1EA; --surface: #FFFFFF; --soft: #EBE5D8; --line: #DDD6C7;
  --ink: #13233F; --ink-2: #5B6478; --brand: #13233F; --brand-ink: #F4F1EA; --brand-mute: #A9B3C6;
  --accent: #C99A55; --accent-ink: #13233F; --r: 10px; color-scheme: light;
  --red: #B3261E; --red-bg: #FBE7E5; --green: #1D7349; --green-bg: #E3F0E7;
  --serif: 'Cormorant Garamond', Georgia, serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #F4F1EA; --surface: #FFFFFF; --soft: #EBE5D8; --line: #DDD6C7;
  --ink: #13233F; --ink-2: #5B6478; --brand: #13233F; --brand-ink: #F4F1EA; --brand-mute: #A9B3C6;
  --accent: #C99A55; --accent-ink: #13233F; --red: #B3261E; --red-bg: #FBE7E5; --green: #1D7349; --green-bg: #E3F0E7; color-scheme: light; } }
:root[data-theme="dark"] .big, :root .big { background: var(--brand); color: var(--brand-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .big { background: var(--brand); color: var(--brand-ink); } }
.big.amber { background: var(--accent); color: var(--accent-ink); }
.big.light { background: var(--surface); color: var(--ink); border: 2px solid var(--line); }
body { padding-left: 0 !important; background: var(--bg); }
.toast { left: 50% !important; }

/* Barre du haut : logo (retour à la page d'accueil) + nom de l'espace. Pas de choix de profil ici. */
header.bar { position: sticky; top: 0; z-index: 10; background: rgba(244, 241, 234, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.bar-in { max-width: 1040px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar-brand { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; color: var(--ink); font-weight: 700; letter-spacing: .34em; font-size: 14px; }
.bar-brand img { border-radius: 5px; display: block; }
.bar-space { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
body.on-landing > header.bar, body.on-landing > .app-foot { display: none !important; }

main { max-width: 1040px !important; margin: 0 auto !important; padding: 28px 16px 40px !important; }
.app-foot { max-width: 1040px; margin: 0 auto; padding: 18px 16px calc(env(safe-area-inset-bottom, 0px) + 28px); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); }
.app-foot .link { color: var(--ink-2); font-size: 13px; padding: 0; }

/* Titres : même police que la page d'accueil */
.hello h1, .q-title, .pt, .hub h1, .sheet .q-title { font-family: var(--serif); font-weight: 600; letter-spacing: 0; color: var(--ink); }
.hello h1 { font-size: clamp(36px, 5vw, 52px); }
.q-title, .pt { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.08; }
.eyebrow-s::before { background: var(--accent); }
.h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; }

/* Accueil éleveur : comme la page de présentation */
.hub { --n: #13233F; --g: #C99A55; --c: #F4F1EA; --m: #5B6478; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 24px 0 8px; }
.hub-eyebrow { font-weight: 700; letter-spacing: .3em; text-transform: uppercase; font-size: 13px; color: var(--accent); padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.hub h1 { font-size: clamp(44px, 6vw, 68px); line-height: 1.04; margin-top: 10px; }
.hub-q { font-weight: 800; font-size: 19px; margin-top: 8px; }
.hub-alert { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 780px; text-align: left; background: var(--surface); border: 2px solid var(--accent); border-radius: var(--r); padding: 14px 18px; color: var(--ink); }
.hub-alert .ha-t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hub-alert b { font-size: 17px; }
.hub-alert small { font-size: 14px; color: var(--ink-2); }
.hub-alert .go { font-weight: 800; color: var(--ink); white-space: nowrap; }
.hub-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 780px; margin-top: 8px; }
.hub-cards .lp-c { min-height: 150px; grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 6px; align-content: start; padding: 26px 24px; text-align: left; }
.hub-cards .lp-c b { font-size: 24px; }
.hub-cards .lp-c span { font-size: 16px; }
.hub-cards .lp-c i { grid-column: 1; grid-row: 3; align-self: end; margin-top: 14px; font-size: 26px; }
.hub-cards .lp-c:hover { transform: translateY(-3px); }

/* Pages de rubrique */
.page { display: flex; flex-direction: column; gap: 22px; }
.page .pt { margin-top: -6px; }
.backlink { font-size: 16px; color: var(--ink-2); }

/* Commande : une seule colonne centrée, comme la page d'accueil */
.wiz, .wiz.wide { display: flex !important; flex-direction: column; }
.wiz .steps { display: none !important; }
.wiz-main { width: 100%; max-width: 780px !important; margin: 0 auto; }
.wiz.wide .wiz-main { max-width: none !important; }
.wiz .progress { display: flex !important; }
.dots i.on { background: var(--green); } .dots i.now { background: var(--accent); }

/* Cartes et champs : coins arrondis comme la page d'accueil */
.card, .mare, .part, .sum, .recap, .contract, .tile, .pickm, .choice, .lp-c, .mini, .chip, .todo li, .centre-card, .scan, .notice { border-radius: var(--r); }
label.f input[type=text], label.f input[type=tel], label.f input[type=email], label.f input[type=date], .sel { border-radius: var(--r); border-color: var(--line); }
.choice[aria-pressed="true"], .pickm[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }

@media (max-width: 640px) {
  .bar-brand span { font-size: 12px; letter-spacing: .28em; }
  .bar-space { font-size: 11px; letter-spacing: .1em; }
  main { padding: 20px 16px 32px !important; }
  .hub h1 { font-size: 44px; }
  .hub-cards { grid-template-columns: 1fr; gap: 12px; }
  .hub-cards .lp-c { min-height: 0; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 20px 22px; }
  .hub-cards .lp-c i { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
  .hub-alert { flex-wrap: wrap; }
}
#reset { position: static !important; }
.choice b, .mare-h h3, .pickm .pm b { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: 0; }
.pickm .pm b { font-size: 24px; }

/* Choix du centre : code postal puis liste des plus proches */
.cp-row { display: grid; grid-template-columns: minmax(0, 260px) auto; gap: 10px; align-items: end; }
.cp-row .big { width: auto; min-height: 60px; padding-inline: 26px; }
.ctrs { display: flex; flex-direction: column; gap: 10px; }
.ctr { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 16px 18px; color: var(--ink); }
.ctr:hover { border-color: var(--accent); }
.ctr[aria-checked="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.ctr .rd { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.ctr[aria-checked="true"] .rd { border: 7px solid var(--brand); }
.ctr .ct-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ctr .ct-b b { font-size: 18px; }
.ctr .ct-b small { font-size: 14px; color: var(--ink-2); }
.ctr .ct-b em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.ctr .km { font-weight: 800; font-size: 16px; white-space: nowrap; color: var(--ink); }
.ctr.autre { border-style: dashed; }
@media (max-width: 480px) { .cp-row { grid-template-columns: 1fr auto; } .ctr { padding: 14px; gap: 12px; } .ctr .ct-b b { font-size: 16px; } }
.ctrs .undo.more { align-self: flex-start; padding: 4px 2px; }

/* Date de livraison */
.whens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.whn { display: flex; flex-direction: column; gap: 2px; text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 14px 16px; color: var(--ink); }
.whn:hover { border-color: var(--accent); }
.whn[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.whn b { font-size: 18px; }
.whn small { font-size: 14px; color: var(--ink-2); text-transform: capitalize; }
.whn[aria-pressed="true"] small { color: var(--brand-mute); }
.when-ok { font-size: 16px; color: var(--ink); background: var(--green-bg); border-radius: var(--r); padding: 10px 14px; }
.when-ok b::first-letter { text-transform: uppercase; }
@media (max-width: 480px) { .whens { grid-template-columns: 1fr; } .whn { flex-direction: row; justify-content: space-between; align-items: baseline; } }
.whn small { text-transform: none; }

/* ===== Espace haras ===== */
.login { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; max-width: 420px; margin: 8px auto 0; }
.login img { border-radius: 8px; }
.login h1 { font-family: var(--serif); font-weight: 600; font-size: 48px; letter-spacing: 0; }
.login-f { width: 100%; display: flex; flex-direction: column; gap: 16px; text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 22px; }
.login-f input[type=password] { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 16px; font-size: 20px; width: 100%; color: var(--ink); }
.h-top { display: flex; justify-content: space-between; align-items: center; }
.kpi { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--brand); color: var(--brand-ink); border-radius: var(--r); padding: 20px 24px; }
.kpi > b { font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 600; color: var(--accent); }
.kpi > span { font-size: 20px; font-weight: 800; line-height: 1.3; flex: 1; min-width: 180px; }
.kpi small { font-size: 15px; font-weight: 600; color: var(--brand-mute); }
.kpi small::first-letter { text-transform: uppercase; }
.kpi ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kpi li { background: rgba(244, 241, 234, .1); border: 1px solid rgba(244, 241, 234, .2); border-radius: 999px; padding: 6px 12px; font-size: 15px; font-weight: 700; display: flex; gap: 8px; }
.kpi li b { color: var(--accent); }
.stal { display: flex; flex-direction: column; gap: 14px; }
.stal-h { display: flex; align-items: center; gap: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.stal-h img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; max-width: none; }
.stal-h h2 { font-family: var(--serif); font-weight: 600; font-size: 32px; letter-spacing: 0; }
.stal-h p { color: var(--ink-2); font-weight: 700; font-size: 15px; }
.later-h { margin-top: 10px; }
.dose-t { font-size: 22px; font-weight: 800; margin: 0; }
.dose-t small { font-size: 15px; color: var(--ink-2); font-weight: 700; }
.who-small b { color: var(--ink); }

/* Étiquette */
.etq { background: #FFFFFF; color: #13233F; border: 2px solid #13233F; border-radius: 8px; padding: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.etq-h { width: 100%; display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; letter-spacing: .12em; padding-bottom: 8px; border-bottom: 2px solid #C99A55; margin-bottom: 8px; }
.etq-k { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #5B6478; }
.etq-n { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px; font-weight: 600; line-height: 1.05; }
.etq-qr { width: 190px; height: 190px; display: grid; place-items: center; margin: 6px 0; }
.etq-qr svg { width: 100%; height: 100%; }
.etq-s { font-size: 12px; color: #5B6478; font-weight: 700; }
.etq-f { font-size: 13px; font-weight: 700; margin-top: 4px; }
.etq-txt { font-size: 11px; text-align: left; white-space: pre-wrap; }
@media print {
  body * { visibility: hidden !important; }
  .etq, .etq * { visibility: visible !important; }
  .etq { position: fixed; left: 0; top: 0; width: 70mm; border-width: 1px; }
}

/* ===== v5 : fiche pro, accueil éleveur, historique, livraison demain, étiquette seringue ===== */
.fiche { display: flex; flex-direction: column; gap: 14px; }
.fiche section { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.fiche h3 { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.fiche .two-f { grid-template-columns: 1fr 1fr; gap: 14px; }
.fiche label.f input { font-size: 18px; padding: 14px; }
.f > span:first-child { font-weight: 800; }
.civ { display: inline-flex; gap: 8px; }
.civ-o { position: relative; cursor: pointer; }
.civ-o input { position: absolute; opacity: 0; }
.civ-o span { display: inline-block; padding: 12px 20px; border: 2px solid var(--line); border-radius: 999px; font-weight: 800; font-size: 16px; background: var(--surface); }
.civ-o input:checked + span { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.civ-o input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hub-hello { display: flex; flex-direction: column; align-items: center; line-height: 1; font-size: clamp(56px, 9vw, 96px) !important; }
.hub-hello span { font-size: .42em; color: var(--ink-2); margin-bottom: 6px; }
.hub-cards.three { grid-template-columns: 1fr; max-width: 640px; }
.hub-cards.three .lp-c { min-height: 0; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 22px 24px; }
.hub-cards.three .lp-c i { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.hub-more { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.histo { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); }
.histo li { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.histo li:last-child { border-bottom: 0; }
.histo .h-d { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.histo .h-m { display: flex; flex-direction: column; min-width: 0; }
.histo .h-m b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.histo .h-m small { font-size: 14px; color: var(--ink-2); }
.tmw { display: flex; flex-direction: column; gap: 4px; background: var(--brand); color: var(--brand-ink); border-radius: var(--r); padding: 18px 22px; }
.tmw-k { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.tmw b { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.1; }
.tmw b::first-letter { text-transform: uppercase; }
.tmw > span:last-child:not(.tmw-k) { color: var(--brand-mute); font-size: 15px; }
.tmw.small { flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 12px 18px; }
.tmw.small b { font-size: 22px; }
.tile .tbtn { position: relative; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: 14px; padding: 8px 6px; border-radius: var(--r); border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.tile .tbtn.cam { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.tile .tbtn input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tile .tbtn .cam-ic { transform: scale(.7); }
.tile { cursor: default; }
.vbad { border-color: var(--red) !important; background: var(--red-bg) !important; }
.vblock .say { font-size: 16px; }
.switch.two-tabs { grid-template-columns: 1fr 1fr; max-width: 640px; }
/* Étiquette seringue : 60 × 22 mm (affichée en grand à l'écran) */
.etq.syr { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 10px 14px; width: 100%; max-width: 360px; aspect-ratio: 60 / 22; margin: 0 auto; border-radius: 6px; }
.syr-qr { height: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.syr-qr svg { width: 100%; height: 100%; }
.syr-t { display: flex; flex-direction: column; text-align: left; min-width: 0; line-height: 1.15; }
.syr-b { font-size: 9px; font-weight: 800; letter-spacing: .2em; color: #C99A55; }
.syr-t b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.syr-t span { font-size: 13px; font-weight: 800; }
@media print { .etq.syr { width: 60mm; height: 22mm; max-width: none; padding: 1.5mm 2mm; gap: 2mm; aspect-ratio: auto; }
  .syr-t b { font-size: 11pt; } .syr-t span { font-size: 7pt; } .syr-b { font-size: 5pt; } }
@media (max-width: 560px) {
  .fiche .two-f { grid-template-columns: 1fr; }
  .histo li { grid-template-columns: 1fr auto; } .histo .h-d { grid-column: 1 / -1; }
  .tmw b { font-size: 26px; }
  .switch.two-tabs button { font-size: 14px; }
}
/* Étiquette seringue : dimensions fixes à l'écran (rapport 60 × 22) */
.etq.syr { display: flex !important; align-items: center; width: 330px; max-width: 100%; height: 121px; aspect-ratio: auto; padding: 10px 12px; gap: 12px; }
.etq.syr .syr-qr { width: 100px; height: 100px; flex: none; aspect-ratio: auto; }
.etq.syr .syr-t { flex: 1; }
@media print { .etq.syr { width: 60mm !important; height: 22mm !important; padding: 1.5mm 2mm; gap: 2mm; } .etq.syr .syr-qr { width: 18mm; height: 18mm; } }
@media (max-width: 420px) { .bar-brand span { display: none; } .bar-space { text-align: right; } }
.etq.syr { flex-direction: row !important; text-align: left; }
.etq.syr .syr-t b { font-size: 30px; white-space: normal; line-height: 1.05; }
@media print { .etq.syr .syr-t b { font-size: 14pt; } }
.etq.syr .syr-n { font-size: 15px; font-weight: 800; letter-spacing: .04em; margin-top: 4px; } @media print { .etq.syr .syr-n { font-size: 8pt; } }
.pay { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.pay-k { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.pay-l { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 18px; font-weight: 700; }
.pay-l b { font-family: var(--serif); font-size: 28px; font-weight: 600; }
/* Étiquettes du jour (planche) */
.modal.wide { max-width: 760px; max-height: calc(100vh - 32px); overflow-y: auto; }
.etq-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.etq-sheet .etq.syr { width: 100%; max-width: none; }
.kpi-btn { width: auto; min-height: 52px; padding: 12px 22px; font-size: 16px; margin-left: auto; }
@media print {
  .etq-sheet, .etq-sheet * { visibility: visible !important; }
  .etq-sheet { position: absolute; left: 0; top: 0; display: grid; grid-template-columns: repeat(3, 60mm); gap: 3mm; }
  .etq-sheet .etq.syr { position: static !important; }
}
@media (max-width: 560px) { .kpi-btn { width: 100%; margin-left: 0; } .etq-sheet { grid-template-columns: 1fr; } }

/* Centre de mise en place : fiche jument en 3 étapes */
.ccard { gap: 14px; }
.csteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cs { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.cs-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--accent); color: var(--accent-ink); }
.cs.ok .cs-n { background: var(--green); position: relative; }
.cs.ok .cs-n::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.cs-b { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cs-t { font-weight: 800; font-size: 17px; margin-top: 3px; }
.cs.ok .cs-t { font-size: 14px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.cs-d { font-weight: 700; font-size: 17px; margin-top: -6px; }
.cs-q { font-weight: 700; font-size: 15px; color: var(--ink-2); }
.cs-s { font-size: 15px; color: var(--ink-2); }
.necs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nec { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 12px 6px; color: var(--ink); }
.nec b { font-size: 16px; }
.nec small { font-size: 12px; color: var(--ink-2); font-weight: 700; }
.nec[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.nec[aria-checked="true"] small { color: var(--brand-mute); }
.ccard .big { min-height: 54px; font-size: 18px; padding: 12px; }
.ccard .two { grid-template-columns: 1fr 1fr !important; }
.who-on { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; font-size: 14px; color: var(--ink-2); }
.who-on b { color: var(--ink); }
.cs-f input { font-size: 17px !important; padding: 12px 14px !important; }
.hello .chef { font-size: 15px !important; color: var(--ink-2); margin-top: 2px; } .hello .chef b { color: var(--ink); }
.hub-eyebrow.left { align-self: flex-start; }
/* Choix du haras + recherche par lettre */
.haras-list { display: grid; gap: 14px; max-width: 640px; margin-top: 18px; }
.haras-sel { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; font-weight: 600; color: var(--brand, #13233F); margin: 18px 0 8px; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.az button { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid #D9D2C3; background: #fff; color: #13233F; font: 700 15px Manrope, sans-serif; cursor: pointer; }
.az button[aria-pressed="true"] { background: #13233F; border-color: #13233F; color: #fff; }
.az button:disabled { opacity: .3; cursor: default; }
.az button:not(:disabled):hover { border-color: #C99A55; }
@media (max-width: 600px) { .az { gap: 4px; } .az button { min-width: 32px; height: 34px; padding: 0 6px; font-size: 13px; } }
/* Bandeau livraison : « Commandez » en doré, le reste en blanc, plus visible */
.tmw.small { padding: 18px 24px; }
.tmw.small .tmw-k { color: #fff; font-size: 16px; letter-spacing: .12em; }
.tmw.small .tmw-k em { font-style: normal; color: var(--accent, #C99A55); font-weight: 900; }
.tmw.small b { color: #fff; font-size: 30px; }
@media (max-width: 600px) { .tmw.small .tmw-k { font-size: 13px; } .tmw.small b { font-size: 24px; } }
.stal-h p .liv-d { color: var(--brand, #13233F); font-weight: 800; }
/* Registre journalier : tout visible sans défilement horizontal */
.tablewrap.fit { overflow-x: visible; }
.regt { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: 14px; }
.regt th { text-align: left; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; color: var(--ink-2); padding: 12px 10px; border-bottom: 2px solid var(--line); background: var(--soft); vertical-align: bottom; }
.regt td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.4; overflow-wrap: anywhere; }
.regt tr:last-child td { border-bottom: 0; }
.regt td b { display: block; font-size: 15px; }
.regt td small { display: block; color: var(--ink-2); font-size: 13px; }
.regt .mono { font-family: ui-monospace, Menlo, monospace; }
.regt th:nth-child(1) { width: 18%; } .regt th:nth-child(2) { width: 12%; } .regt th:nth-child(3) { width: 24%; }
.regt th:nth-child(4) { width: 20%; } .regt th:nth-child(5) { width: 11%; } .regt th:nth-child(6) { width: 15%; }
.regt .tag { font-size: 13px; padding: 4px 10px; white-space: nowrap; }
.regt .dps { font-size: 13px; padding: 6px 10px; white-space: nowrap; }
@media (max-width: 760px) {
  .regt thead { display: none; }
  .regt, .regt tbody, .regt tr, .regt td { display: block; width: 100%; }
  .regt tr { border-bottom: 2px solid var(--line); padding: 8px 0; }
  .regt td { border: 0; padding: 4px 14px; }
}
/* Centre : contrôle d'identité de la jument avant insémination */
.idc { background: #FAF8F3; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 6px 0 14px; display: flex; flex-direction: column; gap: 10px; }
.idc .cs-q { margin: 0; }
.idc-ref { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; }
.idc-ref span { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.idc-ref b { font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.idc-ref .mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; white-space: nowrap; }
.idc-c { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 15px; cursor: pointer; }
.idc-c input { width: 20px; height: 20px; margin-top: 1px; accent-color: #13233F; flex: none; }
.idc .cs-f { margin: 0; }
.idc-r { font-size: 14px; font-weight: 700; color: var(--ink-2); margin: 0; padding: 8px 10px; border-radius: 8px; background: #fff; }
.idc-r.ok { color: #1E6B3A; background: #E6F2EA; }
.idc-r.mid { color: #13233F; background: #F4ECDD; }
.idc-r.ko { color: #A12A2A; background: #F9E4E2; }
@media (max-width: 600px) { .idc-ref { grid-template-columns: 1fr; } }
/* Haras : juments et éleveurs (dossier centralisé) */
.switch { flex-wrap: wrap; }
.hj-q { width: 100%; max-width: 520px; border: 2px solid var(--line); border-radius: var(--r); padding: 14px 16px; font: inherit; font-size: 16px; background: #fff; margin-bottom: 16px; }
.hj-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.hj { display: flex; flex-direction: column; gap: 12px; }
.hj-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.hj-h h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.hj-b { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.hj-t { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent, #C99A55); margin: 0 0 6px; }
.hj-dl { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.hj-dl div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; font-size: 14px; }
.hj-dl dt { color: var(--ink-2); font-weight: 700; }
.hj-dl dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.hj-dl .mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.hj-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hj-tile { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 2px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; text-align: center; font: 700 13px Manrope, sans-serif; color: var(--ink); }
.hj-tile img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.hj-tile span { padding: 0 6px 8px; }
.hj-tile:hover { border-color: var(--accent, #C99A55); }
.hj-tile.none { cursor: default; color: var(--ink-2); }
.hj-tile .pdf { display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 0; background: var(--soft); font-size: 18px; }
.hj-modal { max-width: 860px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.hj-big { width: 100%; max-height: 68vh; object-fit: contain; background: #F4F1EA; border-radius: 10px; }
.hj-nav { display: flex; gap: 14px; justify-content: center; }
.hj-nav [aria-current="true"] { color: var(--ink); text-decoration: none; font-weight: 800; }
.hj-modal a.big { text-decoration: none; display: grid; place-items: center; }
@media (max-width: 600px) { .hj-b { grid-template-columns: 1fr; } }
.switch[role="tablist"] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 860px; }
@media (max-width: 600px) { .switch[role="tablist"] { grid-template-columns: 1fr 1fr; } }
.hj-ph { grid-template-columns: repeat(3, minmax(0, 170px)); }
.idc.idc-c { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px; }
.idc.idc-c input { margin-top: 3px; }
.idc.idc-c span { display: flex; flex-direction: column; gap: 2px; }
.idc.idc-c b { font-size: 16px; }
.idc.idc-c small { font-size: 13px; font-weight: 600; color: var(--ink-2); }

/* ================= FORMAT ORDINATEUR (≥ 1100 px) : menu latéral + contenu large ================= */
.side { display: none; }
@media (min-width: 900px) {
  body.has-side:not(.on-landing) > header.bar { display: none; }
  body.has-side:not(.on-landing) .side {
    display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: 272px; z-index: 5;
    background: #13233F; color: #fff; padding: 28px 18px 22px; gap: 6px; overflow-y: auto;
  }
  body.has-side:not(.on-landing) > main { margin: 0 0 0 272px !important; max-width: none !important; padding: 44px 64px 48px !important; }
  body.has-side:not(.on-landing) > main > * { max-width: 1180px; }
  body.has-side:not(.on-landing) > .app-foot { margin-left: 272px; max-width: none; padding-inline: 64px; }
  .sn-brand { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 4px 8px; cursor: pointer; color: #fff; }
  .sn-brand img { width: 40px; height: 40px; border-radius: 8px; background: #fff; }
  .sn-brand span { font: 800 14px Manrope, sans-serif; letter-spacing: .32em; }
  .sn-space { margin: 18px 10px 14px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #C99A55; }
  .sn-nav { display: flex; flex-direction: column; gap: 4px; }
  .sn-i { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 12px 14px; color: rgba(255,255,255,.78); font: 700 15px Manrope, sans-serif; cursor: pointer; }
  .sn-i:hover { background: rgba(255,255,255,.07); color: #fff; }
  .sn-i.on { background: #fff; color: #13233F; }
  .sn-i.main:not(.on) { color: #C99A55; }
  .sn-sep { height: 1px; background: rgba(255,255,255,.14); margin: 10px 8px; }
  .sn-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.14); padding: 16px 10px 0; display: flex; flex-direction: column; gap: 10px; }
  .sn-who { margin: 0; display: flex; flex-direction: column; gap: 2px; }
  .sn-who b { font-size: 15px; }
  .sn-who small { font-size: 13px; color: rgba(255,255,255,.6); }
  .sn-out { align-self: flex-start; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 999px; padding: 8px 16px; font: 700 13px Manrope, sans-serif; cursor: pointer; }
  .sn-out:hover { border-color: #C99A55; color: #C99A55; }

  /* Le menu latéral remplace les onglets et liens en haut de page */
  body.has-side .switch[role="tablist"], body.has-side .h-top, body.has-side .hub-more { display: none !important; }
  body.has-side .hub > .backlink, body.has-side main > .backlink:first-child { display: none; }

  /* Accueil éleveur : aligné à gauche, 3 cartes côte à côte */
  body.has-side .hub { align-items: flex-start; text-align: left; padding-top: 8px; }
  body.has-side .hub-eyebrow::after { margin-left: 0; }
  body.has-side .hub-hello { text-align: left; align-items: flex-start; font-size: 76px !important; }
  body.has-side .hub-alert { max-width: 1180px; width: 100%; }
  body.has-side .hub-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; gap: 20px; }
  body.has-side .hub-cards.three .lp-c { min-height: 190px; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding: 28px 26px; }
  body.has-side .hub-cards.three .lp-c i { grid-column: 1; grid-row: 3; align-self: end; margin-top: 18px; }

  /* Cartes en grille sur toute la largeur */
  body.has-side .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 22px; align-items: start; }
  body.has-side .stal { gap: 18px; }
  body.has-side .hello h1, body.has-side .pt { font-size: 52px; }
  body.has-side .kpi { max-width: 1180px; }

  /* Commande : contenu à gauche, lisible */
  body.has-side .wiz-main { margin: 0 !important; max-width: 860px !important; }
  body.has-side .wiz.wide .wiz-main { max-width: 1180px !important; }
  body.has-side .sheet { max-width: 860px; }
  body.has-side .choices.cat { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (min-width: 900px) {
  body.has-side .cards { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
  body.has-side .stal-h h2 { font-size: 34px; }
}
/* Suivi du colis en temps réel */
.trk { border: 1px solid var(--line); background: #FAF8F3; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.tk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tk-t { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #13233F; display: flex; align-items: center; gap: 8px; }
.tk-dot { width: 9px; height: 9px; border-radius: 50%; background: #1E8A4C; box-shadow: 0 0 0 0 rgba(30,138,76,.5); animation: tkp 1.6s infinite; }
@keyframes tkp { 0% { box-shadow: 0 0 0 0 rgba(30,138,76,.5); } 70% { box-shadow: 0 0 0 8px rgba(30,138,76,0); } 100% { box-shadow: 0 0 0 0 rgba(30,138,76,0); } }
@media (prefers-reduced-motion: reduce) { .tk-dot { animation: none; } }
.tk-n { margin: 0; font-size: 13px; color: var(--ink-2); font-weight: 700; }
.tk-n .mono { font-family: ui-monospace, Menlo, monospace; color: var(--ink); }
.tk-in { font: 700 13px ui-monospace, Menlo, monospace; width: 15ch; padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.tk-eta { margin: 0; font-size: 14px; } .tk-eta small { color: var(--ink-2); }
.tk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tk-list li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 6px 0 6px; position: relative; color: var(--ink-2); }
.tk-list li::before { content: ''; position: absolute; left: 61px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: #D9D2C3; }
.tk-list .tk-l { padding-left: 18px; display: flex; flex-direction: column; }
.tk-list b { font-size: 14px; font-weight: 700; } .tk-list small { font-size: 12px; }
.tk-list li.last { color: var(--ink); } .tk-list li.last b { font-weight: 800; } .tk-list li.last::before { background: #C99A55; }
.tk-h { font: 700 13px ui-monospace, Menlo, monospace; padding-top: 1px; }
.tk-up { margin: 0; font-size: 12px; color: var(--ink-2); }
/* Fiche éleveur : entreprise ou particulier */
.st { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.st-o { display: block; cursor: pointer; }
.st-o input { position: absolute; opacity: 0; pointer-events: none; }
.st-o span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.st-o b { font-size: 17px; } .st-o small { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.st-o input:checked + span { border-color: #13233F; box-shadow: inset 0 0 0 1px #13233F; background: #F7F4EC; }
.st-o input:focus-visible + span { outline: 3px solid #C99A55; outline-offset: 2px; }
@media (max-width: 520px) { .st { grid-template-columns: 1fr; } }
/* Étiquette : lignes SIRE / agrément / date */
.etq.syr .syr-l { font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1.25; }
@media print { .etq.syr .syr-l { font-size: 6.5pt; } }
/* Bandeau commandes closes + programmation haras */
.tmw.small.closed { background: #7A2E2E; }
.tmw.small.closed .tmw-k em { color: #F3D9A8; }
.prog { max-width: 620px; display: flex; flex-direction: column; gap: 14px; }
.prog-f { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 18px; }
.prog-f input { font: 800 28px Manrope, sans-serif; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: #13233F; }
.prog-s { margin: 0; font-weight: 800; padding: 10px 14px; border-radius: 10px; }
.prog-s.ok { background: #E6F2EA; color: #1E6B3A; } .prog-s.ko { background: #F9E4E2; color: #A12A2A; }
.switch[role="tablist"] { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 1000px; }
@media (max-width: 600px) { .switch[role="tablist"] { grid-template-columns: 1fr 1fr; } }
/* Haras : étapes de la dose côte à côte */
.hsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hs { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 86px; padding: 10px 6px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink-2); font: 800 13px/1.2 Manrope, sans-serif; text-align: center; }
.hs i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #EDE8DD; color: #13233F; font-size: 13px; }
.hs.now { background: #13233F; border-color: #13233F; color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(19,35,63,.18); }
.hs.now i { background: #C99A55; color: #13233F; }
.hs.now:hover { background: #1d3157; }
.hs.ok { background: #EEF6F0; border-color: #CFE5D6; color: #1E6B3A; }
.hs.ok i { background: #1E8A4C; color: #fff; }
.hs:disabled:not(.ok) { opacity: .55; }
.undo.danger { color: #A12A2A; }
.nodose { background: #FBEDEB; border: 1px solid #EBC4BF; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.nodose p { margin: 0; font-size: 14px; }
.big.red { background: #A12A2A; color: #fff; border-color: #A12A2A; }
.choices.cat .choice.off { opacity: .55; filter: grayscale(.6); }
.choices.cat .choice.off .go { background: #EDE8DD; color: #7A2E2E; }
@media (max-width: 420px) { .hsteps { grid-template-columns: 1fr 1fr; } }
/* ---------- Aide ---------- */
.aide { display: flex; flex-direction: column; gap: 28px; max-width: 980px; }
.aide-contact { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: #13233F; color: #fff; border-radius: 16px; padding: 22px 26px; }
.aide-contact .hub-eyebrow { color: #C99A55; border-color: #C99A55; }
.aide-contact .say { color: rgba(255,255,255,.75); margin: 6px 0 0; } .aide-contact .say a { color: #fff; }
.ac-tel { margin: 10px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 40px; font-weight: 600; line-height: 1; }
.ac-tel .ko { font-family: Manrope, sans-serif; font-size: 18px; color: #F3D9A8; }
a.ac-btn { text-decoration: none; display: inline-grid; place-items: center; }
.aide-b { display: flex; flex-direction: column; gap: 14px; }
.pbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.pb { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; font: 700 15px Manrope, sans-serif; color: #13233F; cursor: pointer; }
.pb i { font-style: normal; color: #C99A55; }
.pb:hover { border-color: #C99A55; } .pb.on { border-color: #13233F; background: #F7F4EC; }
.pb-d { display: flex; flex-direction: column; gap: 12px; }
.pb-tips { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.pb-trk { margin: 0; font-size: 14px; background: #FAF8F3; border-radius: 8px; padding: 8px 10px; }
.pb-d textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; resize: vertical; background: #fff; }
.chat { display: flex; flex-direction: column; gap: 12px; }
.chat-l { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.msg.assistant { align-self: flex-start; background: #F4F1EA; border-top-left-radius: 4px; }
.msg.user { align-self: flex-end; background: #13233F; color: #fff; border-top-right-radius: 4px; }
.chat-f { display: flex; gap: 10px; }
.chat-f input { flex: 1; min-width: 0; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fff; }
.chat-f .big { width: auto; padding-inline: 22px; }
.sig-l li span { display: flex; flex-direction: column; gap: 2px; }
.switch[role="tablist"] { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 1100px; }
@media (max-width: 600px) { .switch[role="tablist"] { grid-template-columns: 1fr 1fr 1fr; } .ac-tel { font-size: 32px; } }
/* Étiquettes d'envoi : seringue + boîte */
.modal { max-height: 92vh; overflow-y: auto; }
.print-zone { display: flex; flex-direction: column; gap: 10px; }
.pz-h { margin: 6px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.pz-syr { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; justify-items: start; }
.pz-box { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; justify-items: start; }
.box-l { width: 100%; max-width: 360px; aspect-ratio: 100 / 150; border: 2px solid #13233F; border-radius: 8px; background: #fff; color: #13233F; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-family: Manrope, sans-serif; }
.bx-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid #13233F; padding-bottom: 6px; }
.bx-top b { font-size: 15px; letter-spacing: .2em; } .bx-top sup { font-size: .5em; }
.bx-top span { font-size: 11px; font-weight: 800; text-transform: uppercase; }
.bx-urg { margin: 0; background: #13233F; color: #fff; text-align: center; font-weight: 900; font-size: 13px; letter-spacing: .06em; padding: 6px; border-radius: 4px; }
.box-l small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #5B6478; }
.bx-to p { margin: 2px 0 0; font-size: 17px; font-weight: 800; line-height: 1.25; }
.bx-to .bx-d { font-size: 13px; font-weight: 700; color: #7A5A2A; }
.bx-mid { display: flex; gap: 12px; align-items: center; border-top: 1px dashed #B9B2A3; border-bottom: 1px dashed #B9B2A3; padding: 8px 0; }
.bx-qr { width: 92px; height: 92px; flex: none; display: grid; place-items: center; } .bx-qr svg { width: 100%; height: 100%; }
.bx-dose { display: flex; flex-direction: column; gap: 2px; font-size: 13px; font-weight: 700; } .bx-dose b { font-size: 18px; }
.bx-from p { margin: 2px 0 0; font-size: 13px; font-weight: 700; }
.bx-trk { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid #13233F; padding-top: 6px; }
.bx-trk span { font-size: 12px; font-weight: 800; } .bx-trk b { font: 800 16px ui-monospace, Menlo, monospace; letter-spacing: .06em; }
@media print {
  .print-zone, .print-zone * { visibility: visible !important; }
  .print-zone { position: absolute !important; left: 0; top: 0; width: 190mm; gap: 3mm; }
  .print-zone .pz-h { display: none; }
  .print-zone .pz-syr { display: grid; grid-template-columns: repeat(3, 60mm); gap: 3mm; }
  .print-zone .etq { position: static !important; }
  .print-zone .pz-box { display: block; break-before: page; }
  .print-zone .box-l { width: 100mm; height: 150mm; max-width: none; aspect-ratio: auto; break-inside: avoid; break-after: page; border-radius: 0; }
}
@media print {
  @page { margin: 8mm; }
  body > main, body > header, body > footer, body > .side, body > .landing, body > .toast { display: none !important; }
  .overlay { position: absolute !important; inset: 0 auto auto 0 !important; display: block !important; padding: 0 !important; background: none !important; }
  .overlay .modal { position: static !important; max-height: none !important; overflow: visible !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; }
  .print-zone .pz-box { break-before: auto; display: flex; flex-wrap: wrap; gap: 4mm; margin-top: 4mm; }
  .print-zone .box-l { break-after: auto; }
  .print-zone * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.switch[role="tablist"] > button { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .switch[role="tablist"] > button { font-size: 14px; padding-inline: 4px; } }
.diag { border: 1px solid var(--line); background: #FAF8F3; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.diag p { margin: 0; } .diag.due { border-color: #C99A55; background: #FBF4E6; }
/* Procédure de réclamation */
.recl-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.recl-r { margin: 0; background: #FBF4E6; border-left: 4px solid #C99A55; padding: 10px 14px; border-radius: 8px; }
.recl-q { display: flex; flex-direction: column; gap: 14px; }
.recl-a { display: flex; flex-direction: column; gap: 10px; }
.recl-a .big { text-align: left; justify-content: flex-start; }
.cas { display: flex; gap: 12px; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.cas-i { display: grid; place-items: center; width: 34px; flex: none; color: #fff; font-weight: 900; }
.cas.ok .cas-i { background: #2E7D4F; } .cas.ko .cas-i { background: #B4483C; }
.cas.ko { background: #FCF2F0; }
.cas > div { padding: 10px 12px 10px 0; display: flex; flex-direction: column; gap: 2px; }
.cas small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.cas b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; line-height: 1.1; } .cas.ko b { color: #A12A2A; }
.cas span { font-size: 14px; }
.cas em { font-style: normal; font-size: 12px; font-weight: 800; color: #13233F; margin-top: 4px; }
.recl-all summary { cursor: pointer; font-weight: 800; color: #13233F; }
.cas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-top: 10px; }
.f small { font-weight: 600; color: var(--ink-2); }
.sig-ph { max-width: 220px; border-radius: 10px; border: 1px solid var(--line); }
.sig-th { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex: none; }
/* Alertes jours fériés */
.ferie { display: flex; flex-direction: column; gap: 8px; }
.fe-i { display: flex; align-items: flex-start; gap: 12px; background: #FBF1DE; border: 1px solid #E5C68E; border-left: 5px solid #C99A55; border-radius: 12px; padding: 12px 14px; color: #13233F; text-align: left; }
.fe-i.now { background: #F9E4E2; border-color: #E2B3AD; border-left-color: #A12A2A; }
.fe-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #C99A55; color: #13233F; font-weight: 900; font-size: 14px; }
.fe-i.now .fe-ic { background: #A12A2A; color: #fff; }
.fe-i p { margin: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.fe-i p b { font-size: 15px; } .fe-i p span { color: #4B5568; }
.fe-x { flex: none; background: none; border: 0; font-size: 22px; line-height: 1; color: #5B6478; cursor: pointer; padding: 0 2px; }
.ferie.compact { width: 100%; max-width: 640px; }
.fe-liv { margin: 0; background: #F9E4E2; color: #7A2E2E; font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 10px; }

/* ================= FORMAT TÉLÉPHONE / TABLETTE (< 1100 px) ================= */
.tabbar { display: none; }
@media (max-width: 899px) {
  body.has-tabbar:not(.on-landing) .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    background: #13233F; padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 20px rgba(19,35,63,.18);
  }
  .tb-i { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; color: rgba(255,255,255,.7); font: 700 11px/1.1 Manrope, sans-serif; padding: 6px 2px; border-radius: 10px; cursor: pointer; }
  .tb-i span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .tb-i.on { color: #fff; background: rgba(255,255,255,.1); }
  .tb-i.on svg { color: #C99A55; }
  body.has-tabbar:not(.on-landing) > main { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
  body.has-tabbar:not(.on-landing) > .app-foot { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  body.has-tabbar .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
  /* la barre du bas remplace les onglets et liens du haut */
  body.has-tabbar .switch[role="tablist"], body.has-tabbar .hub-more, body.has-tabbar .h-top .undo[data-a="logout"], body.has-tabbar .who-on { display: none !important; }
  /* boutons de la commande toujours à portée de pouce */
  body.has-tabbar .wiz .nav { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); z-index: 4; background: linear-gradient(to top, #F4F1EA 80%, rgba(244,241,234,0)); padding: 14px 0 8px; margin-top: 4px; }
  /* menu « Plus » en bas d'écran */
  .overlay.bottom { place-items: end center; padding: 0; }
  .sheet-m { width: 100%; max-width: 560px; background: #fff; border-radius: 18px 18px 0 0; padding: 10px 14px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 4px; animation: shUp .18s ease-out; }
  @keyframes shUp { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
  .sh-grab { width: 42px; height: 5px; border-radius: 3px; background: #D9D2C3; align-self: center; margin-bottom: 8px; }
  .sh-i { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: none; border: 0; border-radius: 12px; padding: 14px 12px; font: 700 16px Manrope, sans-serif; color: #13233F; cursor: pointer; min-height: 52px; }
  .sh-i:hover, .sh-i:active { background: #F4F1EA; }
  .sh-i svg { color: #C99A55; flex: none; }
  .sh-i.out { color: #A12A2A; justify-content: center; border-top: 1px solid var(--line); border-radius: 0; margin-top: 6px; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) { .sheet-m { animation: none; } }
/* Lisibilité téléphone : pas de zoom automatique sur les champs, cibles tactiles confortables */
@media (max-width: 600px) {
  input, select, textarea { font-size: 16px !important; }
  .big { min-height: 52px; }
  .undo { min-height: 36px; }
  .pt, .hello h1, .q-title { font-size: 34px !important; line-height: 1.1; }
  .card { padding: 18px 16px; }
  .hs { min-height: 72px; font-size: 12px; }
  .msg { max-width: 92%; }
  .chat-l { max-height: 52vh; }
  .aide-contact { padding: 18px; } .aide-contact .ac-btn { width: 100%; }
  .pbs { grid-template-columns: 1fr; }
  .recl-a .big { min-height: 56px; }
  .modal { width: 100%; border-radius: 16px; }
  .box-l { max-width: 100%; }
  .kpi { flex-wrap: wrap; }
}
/* Haras : classer les commandes par étalon ou par propriétaire */
.tri { display: inline-flex; align-items: center; gap: 6px; background: #EDE8DD; padding: 4px; border-radius: 999px; align-self: flex-start; }
.tri span { font-size: 13px; font-weight: 800; color: var(--ink-2); padding: 0 8px 0 10px; }
.tri button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; font: 800 14px Manrope, sans-serif; color: #13233F; cursor: pointer; min-height: 40px; }
.tri button[aria-checked="true"] { background: #13233F; color: #fff; }
.prop-av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #13233F; color: #C99A55; font: 600 30px 'Cormorant Garamond', Georgia, serif; flex: none; }
@media (max-width: 600px) { .prop-av { width: 48px; height: 48px; font-size: 24px; } }
.st-o span { justify-content: center; align-items: center; text-align: center; min-height: 64px; }
.sn-brand { cursor: default !important; }
.lp-demo { margin-top: 6px; align-self: center; background: none; border: 2px dashed #C99A55; color: #13233F; border-radius: 999px; padding: 12px 22px; font: 800 15px Manrope, sans-serif; cursor: pointer; }
.lp-demo i { font-style: normal; color: #C99A55; margin-left: 6px; }
.lp-demo:hover { background: #FBF4E6; }
.demo-b { background: #13233F; color: #fff; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.demo-b b { color: #C99A55; }
/* Assistant flottant 24 h/24 */
.fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 18; }
.fab-b { display: flex; align-items: center; gap: 10px; background: #13233F; color: #fff; border: 2px solid #C99A55; border-radius: 999px; padding: 12px 18px 12px 14px; font: 800 14px Manrope, sans-serif; cursor: pointer; box-shadow: 0 10px 28px rgba(19,35,63,.28); }
.fab-b svg { color: #C99A55; }
.fab-b:hover { transform: translateY(-2px); }
.fab-p { width: 380px; height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(19,35,63,.3); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.fab-h { display: flex; align-items: center; gap: 10px; background: #13233F; color: #fff; padding: 12px 14px; }
.fab-h div { flex: 1; display: flex; flex-direction: column; } .fab-h b { font-size: 15px; } .fab-h small { font-size: 12px; color: rgba(255,255,255,.65); }
.fab-dot { width: 10px; height: 10px; border-radius: 50%; background: #3BB56F; box-shadow: 0 0 0 3px rgba(59,181,111,.25); }
.fab-tel, .fab-x { color: #fff; background: none; border: 0; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-size: 24px; text-decoration: none; }
.fab-tel svg { color: #C99A55; } .fab-tel:hover, .fab-x:hover { background: rgba(255,255,255,.1); }
.fab-p .chat { flex: 1; min-height: 0; padding: 12px; gap: 10px; }
.fab-p .chat-l { flex: 1; max-height: none; }
.fab-p .chat-f .big { padding-inline: 14px; min-height: 46px; font-size: 15px; }
.fab-p .chat-f input { padding: 10px 12px; }
.fab-p .note { font-size: 11px; margin: 0; }
@media (max-width: 899px) {
  body.has-tabbar:not(.on-landing) .fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  .fab { right: 12px; }
  .fab-b span { display: none; } .fab-b { padding: 14px; }
  .fab-p { position: fixed; left: 0; right: 0; bottom: 0; width: auto; height: 82vh; border-radius: 18px 18px 0 0; }
  body.has-tabbar:not(.on-landing) .fab-p { bottom: 0; }
}
@media print { .fab { display: none !important; } }
.sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.sg { background: #fff; border: 1px solid #C99A55; color: #13233F; border-radius: 999px; padding: 7px 12px; font: 700 13px Manrope, sans-serif; cursor: pointer; text-align: left; }
.sg:hover { background: #FBF4E6; }
/* Éleveur : « Déclarer un problème avec ma dose » */
.hub-cards .lp-c.pbc { grid-column: 1 / -1; }
body.has-side .hub-cards.three .lp-c.pbc { min-height: 0; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 22px 26px; }
body.has-side .hub-cards.three .lp-c.pbc i { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.prob { display: flex; flex-direction: column; gap: 24px; max-width: 980px; }
.big-pbs .pb { min-height: 64px; font-size: 16px; }
.pb-sub { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #C99A55; }
.pb-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 10px; }
.pb-steps li { counter-increment: st; position: relative; padding: 10px 12px 10px 48px; background: #FAF8F3; border-radius: 10px; line-height: 1.45; }
.pb-steps li::before { content: counter(st); position: absolute; left: 12px; top: 9px; width: 26px; height: 26px; border-radius: 50%; background: #13233F; color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.pb-form { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.recl-r a { color: #13233F; font-weight: 800; }
/* Problèmes : version simplifiée */
.prob-i { margin: 0; }
.pb-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.pb-t { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 18px; background: #fff; border: 2px solid var(--line); border-radius: 16px; font: 800 17px/1.25 Manrope, sans-serif; color: #13233F; text-align: left; cursor: pointer; }
.pb-t svg { width: 30px; height: 30px; color: #C99A55; flex: none; }
.pb-t:hover, .pb-t:active { border-color: #13233F; }
.prob-tel { margin: 0; font-weight: 700; } .prob-tel a { color: #13233F; font-weight: 800; }
.pb-h { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 22px; } .pb-h svg { width: 30px; height: 30px; color: #C99A55; flex: none; }
.pb-res { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; background: #F4F1EA; border-left: 5px solid #C99A55; }
.pb-res b { font-size: 19px; } .pb-res span { font-size: 14px; color: #4B5568; }
.pb-res.ok { background: #EAF4ED; border-left-color: #2E7D4F; } .pb-res.ok b { color: #1E6B3A; }
.pb-res.ko { background: #FCF2F0; border-left-color: #B4483C; } .pb-res.ko b { color: #A12A2A; }
.pb-steps li { font-size: 16px; }
/* Problème › Traitement › Solution */
.pb-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pb-flow li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #EDE8DD; color: var(--ink-2); font-weight: 800; font-size: 14px; }
.pb-flow i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #13233F; font-size: 12px; flex: none; }
.pb-flow li.now { background: #13233F; color: #fff; } .pb-flow li.now i { background: #C99A55; }
.pb-flow li.ok { background: #EAF4ED; color: #1E6B3A; } .pb-flow li.ok i { background: #2E7D4F; color: #fff; }
.pb-q { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 600; color: #13233F; }
.pb-res.big b { font-size: 26px; }
.pb-num { margin: 0; font-size: 15px; }
.pb-photo { flex-direction: row !important; align-items: center; gap: 10px; border: 2px dashed #C99A55; border-radius: 12px; padding: 14px 16px; cursor: pointer; font-weight: 800; }
.pb-photo svg { color: #C99A55; } .pb-photo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pb-photo { position: relative; }
@media (max-width: 420px) { .pb-flow li { flex-direction: column; gap: 4px; font-size: 12px; padding: 8px 4px; text-align: center; } }
.sig-ph { position: static !important; display: block; width: auto; height: auto; max-height: 220px; inset: auto !important; }
.ac-tel.ac-mail { font-size: 28px; overflow-wrap: anywhere; }
/* Haras : chiffres du jour, lisibles, en 3 tuiles (étiquettes à droite) */
.kpi2 { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 14px; }
.k-tile { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.k-lab { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.k-num { margin: 0; font: 800 56px/1 Manrope, sans-serif; color: #13233F; font-variant-numeric: tabular-nums; }
.k-sub { margin: 0; font-size: 15px; color: var(--ink-2); } .k-sub b { color: #13233F; }
.k-main { border-color: #13233F; }
.k-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.k-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; background: #F4F1EA; border-radius: 10px; font-weight: 700; font-size: 16px; }
.k-list li b { min-width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: #13233F; color: #fff; font-size: 15px; }
.k-act { background: #FBF4E6; border-color: #E5C68E; }
.k-act .big { margin-top: auto; width: 100%; }
@media (max-width: 760px) { .kpi2 { grid-template-columns: 1fr; } .k-num { font-size: 48px; } }
/* Haras : étiquettes seringue / postale */
.lbls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lbl { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px; border: 2px dashed #C99A55; background: #FBF4E6; border-radius: 14px; cursor: pointer; color: #13233F; font-family: Manrope, sans-serif; }
.lbl svg { color: #C99A55; width: 26px; height: 26px; flex: none; }
.lbl span { display: flex; flex-direction: column; gap: 2px; } .lbl b { font-size: 15px; } .lbl small { font-size: 12px; font-weight: 700; color: #7A5A2A; }
.lbl.ok { border-style: solid; border-color: #CFE5D6; background: #EEF6F0; } .lbl.ok small { color: #1E6B3A; } .lbl.ok svg { color: #2E7D4F; }
.k-act .big + .big { margin-top: 8px; }
.post-l { width: 100%; max-width: 380px; aspect-ratio: 100 / 150; background: #fff; color: #000; border: 2px solid #000; border-radius: 6px; padding: 12px; display: flex; flex-direction: column; gap: 10px; font-family: Arial, Helvetica, sans-serif; }
.pl-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #000; padding-bottom: 6px; }
.pl-top b { font-size: 22px; font-weight: 900; letter-spacing: .04em; } .pl-top span { font-size: 11px; font-weight: 700; text-align: right; }
.pl-bc { text-align: center; } .pl-bc .bc { width: 100%; height: 64px; display: block; } .pl-bc p { margin: 4px 0 0; font: 700 16px ui-monospace, Menlo, monospace; letter-spacing: .12em; }
.post-l small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pl-to { border: 2px solid #000; padding: 8px; } .pl-to p { margin: 2px 0 0; font-size: 16px; line-height: 1.25; }
.pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .pl-row p { margin: 2px 0 0; font-size: 12px; line-height: 1.3; }
.pl-foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; font-size: 11px; font-weight: 700; border-top: 1px solid #000; padding-top: 6px; }
.pl-demo { margin: 0; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #A12A2A; }
@media print {
  .print-zone .post-l { width: 100mm; height: 150mm; max-width: none; aspect-ratio: auto; break-inside: avoid; border-radius: 0; }
  .print-zone .pz-box { display: flex; flex-wrap: wrap; gap: 4mm; }
}
@media (max-width: 420px) { .lbls { grid-template-columns: 1fr; } }
/* Haras : bandeau bleu récapitulatif + étiquettes du jour en dessous */
.kban { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: #13233F; color: #fff; border-radius: 16px; padding: 20px 24px; }
.kb-main { display: flex; align-items: center; gap: 16px; }
.kb-num { font: 800 58px/1 Manrope, sans-serif; color: #C99A55; font-variant-numeric: tabular-nums; }
.kb-t { margin: 0; font-size: 20px; font-weight: 800; } .kb-s { margin: 2px 0 0; font-size: 15px; color: rgba(255,255,255,.7); }
.kb-s::first-letter { text-transform: uppercase; }
.kb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kb-chips li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 6px 6px 14px; font-weight: 700; font-size: 15px; }
.kb-chips b { min-width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: #C99A55; color: #13233F; font-size: 14px; }
.klab { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kl { display: flex; align-items: center; gap: 14px; text-align: left; background: #fff; border: 2px solid #E5C68E; border-radius: 14px; padding: 14px 18px; cursor: pointer; font-family: Manrope, sans-serif; color: #13233F; }
.kl svg { width: 30px; height: 30px; color: #C99A55; flex: none; }
.kl span { flex: 1; display: flex; flex-direction: column; gap: 2px; } .kl b { font-size: 16px; } .kl small { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.kl i { font-style: normal; color: #C99A55; font-size: 22px; }
.kl:hover { border-color: #C99A55; background: #FBF4E6; }
@media (max-width: 600px) { .klab { grid-template-columns: 1fr; } .kb-num { font-size: 48px; } .kb-t { font-size: 18px; } .kban { padding: 18px; } }
.klab { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
.kl { flex: 0 0 auto; width: auto; padding: 12px 18px; }
.kl i { margin-left: 10px; }
@media (max-width: 600px) { .klab { flex-direction: row; } .kl { flex: 1 1 0; min-width: 0; padding: 12px; gap: 8px; } .kl svg { width: 22px; height: 22px; } .kl b { font-size: 14px; } .kl i { display: none; } }
/* Haras : ligne compacte — doses de demain à gauche, impression des étiquettes à droite */
.krow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kr-sum { display: inline-flex; align-items: center; gap: 12px; background: #13233F; color: #fff; border-radius: 14px; padding: 10px 18px 10px 14px; }
.kr-sum b { font: 800 30px/1 Manrope, sans-serif; color: #C99A55; min-width: 26px; text-align: center; }
.kr-sum span { display: flex; flex-direction: column; font-weight: 800; font-size: 15px; line-height: 1.2; }
.kr-sum small { font-weight: 600; font-size: 13px; color: rgba(255,255,255,.7); }
.kr-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.kr-b { display: inline-flex; align-items: center; gap: 10px; background: #13233F; color: #fff; border: 2px solid #13233F; border-radius: 14px; padding: 12px 18px; font: 800 14px Manrope, sans-serif; cursor: pointer; min-height: 52px; }
.kr-b svg { width: 22px; height: 22px; color: #C99A55; flex: none; }
.kr-b:hover { background: #1d3157; }
@media (max-width: 600px) { .krow { flex-direction: column; align-items: stretch; } .kr-sum { align-self: flex-start; } .kr-btns { display: grid; grid-template-columns: 1fr 1fr; } .kr-b { justify-content: center; text-align: left; font-size: 13px; padding: 10px; } }
/* Haras : bloc informatif (gros, bleu) + actions d'impression (petites, dorées) */
.krow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 14px; }
.kr-info { display: flex; align-items: center; gap: 20px; background: #13233F; color: #fff; border-radius: 18px; padding: 22px 28px; }
.kr-n { font: 800 64px/1 Manrope, sans-serif; color: #C99A55; font-variant-numeric: tabular-nums; }
.kr-t { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1.1; }
.kr-d { margin: 4px 0 0; font-size: 15px; color: rgba(255,255,255,.72); }
.kr-d::first-letter { text-transform: uppercase; }
.kr-acts { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 250px; }
.kr-lab { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.kr-a { display: flex; align-items: center; gap: 10px; background: #C99A55; color: #13233F; border: 0; border-radius: 12px; padding: 10px 14px; font: 800 14px Manrope, sans-serif; cursor: pointer; text-align: left; min-height: 44px; }
.kr-a svg { width: 20px; height: 20px; color: #13233F; flex: none; }
.kr-a:hover { background: #D6AA68; }
@media (max-width: 760px) {
  .krow { grid-template-columns: 1fr; }
  .kr-info { padding: 18px 20px; gap: 14px; } .kr-n { font-size: 50px; } .kr-t { font-size: 24px; }
  .kr-acts { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; } .kr-lab { grid-column: 1 / -1; }
  .kr-a { justify-content: center; font-size: 13px; }
}
.sig-n { display: flex; flex-direction: column; gap: 2px; background: #FBF4E6; border-left: 4px solid #C99A55; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.sig-n b { color: #13233F; }
/* Haras : moteur de recherche de l'historique */
.srch { display: flex; flex-direction: column; gap: 12px; }
.srch-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.srch-g .f { margin: 0; font-size: 13px; }
.srch-g input, .srch-g .sel { min-height: 46px; padding: 10px 12px; font-size: 15px; border: 2px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.srch-g .sel { padding-right: 36px; background-position: right 12px center; }
.srch-q { grid-column: 1 / -1; }
.srch-f { display: flex; justify-content: space-between; align-items: center; }
.hj-hits { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #13233F; font-weight: 700; }
.hj-hits li::before { content: '› '; color: #C99A55; }
@media (max-width: 760px) { .srch-g { grid-template-columns: 1fr 1fr; } }
.srch-g input[type=date] { font-size: 15px !important; padding: 10px 12px !important; min-height: 46px; }
/* Onglet Réclamation dans la barre du bas : symbole d'alerte bien visible */
.tb-i.rec svg { color: #E8836F; }
.tb-i.rec.on svg { color: #F2A08F; }
.tb-i.rec:not(.on) span { color: #F3C7BD; }
@media (max-width: 400px) { .tb-i { font-size: 10px; } .tb-i svg { width: 22px; height: 22px; } }
.sn-rec { display: inline-flex; align-items: center; gap: 8px; } .sn-rec svg { width: 18px; height: 18px; color: #E8836F; }
.lnk { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; font-size: 15px; color: #13233F; text-decoration: underline; text-decoration-color: #C99A55; text-underline-offset: 3px; cursor: pointer; display: block; text-align: left; }
/* Registre : moteur de recherche (bleu) + registre journalier (blanc) */
.rs { background: #13233F; color: #fff; border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.rs-t { margin: 0; display: flex; align-items: center; gap: 10px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; font-weight: 600; }
.rs-t svg { color: #C99A55; }
.rs-q { width: 100%; border: 0; border-radius: 12px; padding: 15px 16px; font: 600 17px Manrope, sans-serif; color: #13233F; background: #fff; }
.rs-f { display: flex; flex-wrap: wrap; gap: 10px; }
.rs-f label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.rs-f select, .rs-f input { min-height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 8px 10px; background: rgba(255,255,255,.08); color: #fff; font: 600 14px Manrope, sans-serif; color-scheme: dark; }
.rs-f select option { color: #13233F; }
.rs-res { background: #fff; color: #13233F; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.rs-h { display: flex; justify-content: space-between; align-items: center; } .rs-h span { display: flex; gap: 12px; }
.rs-x { background: none; border: 0; color: #13233F; font: 700 13px Manrope, sans-serif; text-decoration: underline; cursor: pointer; padding: 0; }
.rs-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; }
.rs-l button { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: #F4F1EA; border: 0; border-radius: 10px; padding: 10px 12px; cursor: pointer; font-family: Manrope, sans-serif; color: #13233F; }
.rs-l button:hover { background: #FBF4E6; } .rs-l b { font-size: 15px; } .rs-l span { font-size: 13px; color: var(--ink-2); }
.rs-none { margin: 0; color: var(--ink-2); }
.rj { display: flex; flex-direction: column; gap: 14px; }
.rj-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rj-t { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; font-weight: 600; color: #13233F; }
.rj-t::first-letter { text-transform: uppercase; }
.rj-nav { display: flex; align-items: center; gap: 8px; }
.rj-nav input { min-height: 42px; border: 2px solid var(--line); border-radius: 10px; padding: 6px 10px; font: 600 14px Manrope, sans-serif; }
.rj-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rj-l li { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rj-l li:last-child { border-bottom: 0; }
.rj-dl { align-self: flex-start; width: auto; min-height: 46px; font-size: 15px; padding: 10px 18px; }
@media (max-width: 700px) { .rj-l li { grid-template-columns: 1fr; gap: 4px; } .rs-f label { flex: 1 1 40%; } .rj-dl { width: 100%; } }
.sn-sep.sn-l { margin: 4px 14px; background: rgba(255,255,255,.12); }
.sn-sep:not(.sn-l) { margin: 16px 8px; height: 2px; background: rgba(201,154,85,.45); }
/* Réclamations entre acteurs : bandeau sur la ligne de dose, fenêtre, liste, badge */
.sigfs { display: flex; flex-direction: column; gap: 6px; margin: -4px 0 12px; }
.sigf { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; border-radius: 12px; padding: 10px 12px; background: #FCEBE6; color: #8A2E1C; font-family: Manrope, sans-serif; cursor: pointer; }
.sigf svg { flex: none; width: 22px; height: 22px; }
.sigf .sigf-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sigf b { font-size: 14px; } .sigf span span, .sigf > span:not(.sigf-t) { font-size: 13px; color: #A3503F; }
.sigf em { font-style: normal; font-weight: 800; font-size: 13px; white-space: nowrap; }
.sigf.new { background: #C2412D; color: #fff; } .sigf.new span span { color: #FCE3DC; }
.sigf.new em { background: #fff; color: #C2412D; border-radius: 999px; padding: 3px 9px; }
.sigf.ok { background: #E7F3EA; color: #2F6B3F; } .sigf.ok > span { flex: 1; color: #2F6B3F; }
.sigf:hover { filter: brightness(.97); }
.sigm h2 { margin: 4px 0 2px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; color: #13233F; }
.sigm-h { display: flex; justify-content: space-between; align-items: center; } .sigm-h small { color: var(--ink-2); font-weight: 700; }
.sigm-e { font: 800 12px Manrope, sans-serif; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.sigm-e.new { background: #C2412D; color: #fff; } .sigm-e.run { background: #FBF0DC; color: #8A5A12; } .sigm-e.ok { background: #E7F3EA; color: #2F6B3F; }
.sigm-d { margin: 0 0 10px; color: var(--ink-2); }
.sigm-fil { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow-y: auto; }
.sigm-fil li { background: #F4F1EA; border-radius: 12px; padding: 10px 12px; margin-right: 32px; }
.sigm-fil li.me { background: #E8EDF5; margin: 0 0 0 32px; }
.sigm-fil li.sys { background: none; border: 1px dashed var(--line); margin: 0 16px; }
.sigm-fil p { margin: 0; font-size: 14px; } .sigm-fil .sigm-w { font-size: 12px; color: var(--ink-2); margin-bottom: 3px; }
.sigm-fil .sig-th { margin-top: 8px; max-width: 160px; border-radius: 8px; position: static !important; }
.sigm-p { margin: 0 0 12px; font-size: 13px; color: var(--ink-2); }
.big.green { background: #2F6B3F; border-color: #2F6B3F; color: #fff; }
.sigb { background: #fff; border: 2px solid #E9B8AC; border-radius: 16px; padding: 16px 18px; margin-bottom: 18px; }
.sigb-t { margin: 0 0 10px; font: 800 16px Manrope, sans-serif; color: #13233F; display: flex; align-items: center; gap: 8px; }
.sigb-t span { background: #C2412D; color: #fff; border-radius: 999px; font-size: 12px; padding: 2px 8px; }
.sigb ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sigb details { margin-top: 10px; } .sigb summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.sigr { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; border: 0; border-radius: 12px; padding: 10px 12px; background: #F4F1EA; cursor: pointer; font-family: Manrope, sans-serif; color: #13233F; }
.sigr-i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #FCEBE6; color: #C2412D; font-weight: 800; }
.sigr-i svg { width: 18px; height: 18px; }
.sigr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .sigr-t b { font-size: 15px; } .sigr-t small { font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.sigr em { font-style: normal; font-weight: 800; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.sigr.new { background: #FCEBE6; } .sigr.new em { color: #fff; background: #C2412D; border-radius: 999px; padding: 3px 9px; }
.sigr.ok .sigr-i { background: #E7F3EA; color: #2F6B3F; } .sigr.ok em { color: #2F6B3F; }
.pb-prev { display: flex; gap: 10px; align-items: flex-start; background: #E8EDF5; color: #13233F; border-radius: 12px; padding: 12px 14px; margin: 8px 0; font-size: 14px; }
.pb-prev svg { flex: none; color: #C2412D; }
.nb { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px; border-radius: 999px; background: #C2412D; color: #fff; font: 800 11px Manrope, sans-serif; }
.tb-i { position: relative; } .tb-i .nb { position: absolute; top: 4px; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; font-size: 10px; padding: 0 5px; }
.sigm textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 500 15px Manrope, sans-serif; color: #13233F; resize: vertical; }
.sigm .two .big { min-height: 50px; font-size: 16px; padding: 10px 14px; }
.sigf.ok .sigr-i { width: 26px; height: 26px; background: #fff; color: #2F6B3F; font-size: 13px; }
.sigf.ok .sigf-t span { color: #3F7A50; }
.foot-a { display: flex; gap: 18px; flex-wrap: wrap; }
/* Réclamations centralisées Horsenext® */
.sigf.run { background: #FBF0DC; color: #7A4E0E; } .sigf.run .sigf-t span { color: #8A5A12; }
.sigm-s { border-radius: 12px; padding: 10px 14px; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 2px; background: #FBF0DC; color: #7A4E0E; }
.sigm-s.ok { background: #E7F3EA; color: #2F6B3F; } .sigm-s.new { background: #E8EDF5; color: #13233F; }
.sigm-s small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .75; } .sigm-s b { font-size: 15px; }
.sigm-fil li.hx { background: #13233F; color: #fff; } .sigm-fil li.hx .sigm-w { color: #C99A55; }
.sigm-fil li.hx.sys, .sigm-fil li.sys { background: none; color: inherit; border: 1px dashed var(--line); }
.sigm-fil li.hx.sys .sigm-w { color: var(--ink-2); }
.lp-adm { margin-top: 14px; align-self: center; background: none; border: 0; color: var(--ink-2); font: 700 14px Manrope, sans-serif; text-decoration: underline; cursor: pointer; }
.af { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.af-b { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: 700 14px Manrope, sans-serif; color: #13233F; cursor: pointer; }
.af-b span { margin-left: 4px; color: var(--ink-2); } .af-b.on { background: #13233F; border-color: #13233F; color: #fff; } .af-b.on span { color: #C99A55; }
.al { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.al-r { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; font-family: Manrope, sans-serif; color: #13233F; }
.al-r.new { border-color: #C2412D; } .al-r:hover { background: #FBF7EF; }
.al-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .al-t b { font-size: 16px; } .al-t small { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.al-t .al-c { color: #8A5A12; font-weight: 700; }
.al-r em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink-2); max-width: 220px; text-align: right; }
.al-r em .nb { margin: 0; height: auto; padding: 4px 10px; font-size: 12px; }
.a-q { border: 2px solid var(--line); margin-bottom: 12px; }
.at-w { padding: 0; overflow-x: auto; }
.at { width: 100%; border-collapse: collapse; font-size: 14px; } .at th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); padding: 12px 14px; border-bottom: 2px solid var(--line); }
.at td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; } .at tr:last-child td { border-bottom: 0; }
.al-flag { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; background: #FCEBE6; color: #C2412D; border: 0; border-radius: 999px; padding: 3px 9px; font: 800 12px Manrope, sans-serif; cursor: pointer; } .al-flag svg { width: 14px; height: 14px; }
.ac { margin-bottom: 14px; } .ac-t { margin: 0 0 8px; font: 800 13px Manrope, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #8A5A12; }
.ac-r { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .ac-r:last-child { border-bottom: 0; }
.ac-r span { color: var(--ink-2); overflow-wrap: anywhere; } .ac-r em { font-style: normal; font-weight: 700; color: var(--ink-2); }
.as-h { display: flex; gap: 10px; align-items: center; } .as-h small { color: var(--ink-2); font-weight: 700; }
.as { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 12px; }
.as-main, .as-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.as-b { display: flex; flex-direction: column; gap: 10px; }
.as-t { margin: 0; font: 800 13px Manrope, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #8A5A12; }
.as-now { margin: 0; font: 700 18px Manrope, sans-serif; color: #13233F; }
.as-sv { display: flex; flex-wrap: wrap; gap: 8px; }
.as-s, .as-a { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font: 700 13px Manrope, sans-serif; color: #13233F; cursor: pointer; }
.as-s.on, .as-a.on { background: #13233F; border-color: #13233F; color: #fff; }
.as-av { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); font-weight: 700; }
.as-b textarea, .as-b input[type=text] { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 500 15px Manrope, sans-serif; color: #13233F; }
.as-b .big { align-self: flex-start; width: auto; min-height: 48px; font-size: 16px; padding: 10px 20px; }
.as-b .sigm-fil { max-height: 420px; }
.as-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; } .as-dl dt { color: var(--ink-2); font-weight: 700; } .as-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 900px) { .as { grid-template-columns: 1fr; } .ac-r { grid-template-columns: 1fr; gap: 2px; } .al-r { flex-wrap: wrap; } .al-r em { max-width: none; text-align: left; } }
/* Espace Horsenext® : file de réclamations optimisée */
.kp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.kp-i { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.kp-i b { font: 800 26px Manrope, sans-serif; color: #13233F; } .kp-i span { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.kp-i.bad { border-color: #C2412D; background: #FCEBE6; } .kp-i.bad b { color: #C2412D; }
.kp-go { width: auto; align-self: flex-start; margin: 0 0 14px; min-height: 50px; font-size: 16px; padding: 10px 22px; }
.adm .page, .adm { display: flex; flex-direction: column; }
.pr { flex: none; font: 800 11px Manrope, sans-serif; letter-spacing: .05em; text-transform: uppercase; border-radius: 6px; padding: 4px 8px; }
.pr.urgent { background: #C2412D; color: #fff; } .pr.haute { background: #F3C9A8; color: #7A3A12; } .pr.normale { background: #E8EDF5; color: #13233F; } .pr.basse { background: #EFEDE7; color: var(--ink-2); }
.sl { font-style: normal; font: 700 12px Manrope, sans-serif; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.sl.fine { background: #EFEDE7; color: var(--ink-2); } .sl.soon { background: #FBF0DC; color: #8A5A12; } .sl.late { background: #C2412D; color: #fff; } .sl.ok { background: #E7F3EA; color: #2F6B3F; }
.al-r em.sl { max-width: none; }
.al-auto { font-style: normal; font-size: 11px; font-weight: 800; background: #E8EDF5; color: #13233F; border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; }
.as-top { display: flex; justify-content: space-between; }
.as-h { flex-wrap: wrap; }
.as-play { border: 2px solid #13233F; }
.pl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pl li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #F4F1EA; }
.pl li.ok { background: #E7F3EA; }
.pl-c { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #13233F; color: #fff; font: 800 13px Manrope, sans-serif; }
.pl li.ok .pl-c { background: #2F6B3F; }
.pl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 700; font-size: 14px; color: #13233F; } .pl-t small { font-weight: 500; color: var(--ink-2); font-size: 12px; margin-top: 2px; }
.pl-b { border: 2px solid #13233F; background: #fff; color: #13233F; border-radius: 999px; padding: 6px 14px; font: 800 13px Manrope, sans-serif; cursor: pointer; }
.pl-end { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.as-done { border: 2px solid #2F6B3F; }
.rc { background: #F4F1EA; border-radius: 12px; padding: 10px 12px; } .rc-h { margin: 0 0 8px; font-size: 14px; } .rc-h small { color: var(--ink-2); }
.rc-s { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.rc-s li { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.rc-s li.ok { background: #2F6B3F; color: #fff; border-color: #2F6B3F; }
.as-tr { display: flex; gap: 8px; flex-wrap: wrap; }
.mac { max-width: 320px; }
.as-more summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
@media (max-width: 700px) { .kp { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kp-go { width: 100%; } }
/* Espace Horsenext® individualisé par haras */
.hb { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 16px; padding-bottom: 14px; border-bottom: 2px solid var(--line); }
.hb-b { border: 2px solid #C99A55; background: #fff; color: #13233F; border-radius: 12px; padding: 9px 14px; font: 800 14px Manrope, sans-serif; cursor: pointer; }
.hb-b span { margin-left: 6px; background: #C2412D; color: #fff; border-radius: 999px; padding: 1px 7px; font-size: 12px; }
.hb-b.on { background: #C99A55; color: #13233F; }
.sn-lab { margin: 4px 14px 2px; font: 800 11px Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.sn-i.sn-h { font-size: 14px; padding-top: 8px; padding-bottom: 8px; }
/* Historique et Transporteur (espace Horsenext®) */
.af-sep { width: 1px; background: var(--line); margin: 0 4px; }
.gd { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; } .gd .kp-go { margin: 0; }
.gd-s { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.gd-s li { display: flex; align-items: center; gap: 6px; } .gd-s b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #C99A55; color: #13233F; font-size: 12px; }
.hr { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; } .hr .as-t small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--ink-2); }
.hr-r { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: #F4F1EA; border-radius: 10px; padding: 9px 12px; cursor: pointer; font: 700 14px Manrope, sans-serif; color: #13233F; overflow: hidden; }
.hr-r span { position: relative; z-index: 1; flex: 1; } .hr-r b { position: relative; z-index: 1; }
.hr-r i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(201,154,85,.28); border-radius: 10px; }
.hr-r.on { outline: 2px solid #13233F; }
.hl-h { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 8px; } .hl-h .as-t { display: flex; gap: 8px; align-items: center; }
.hl-d { flex: none; width: 70px; display: flex; flex-direction: column; } .hl-d b { font-size: 15px; } .hl-d small { font-size: 11px; color: var(--ink-2); }
.hl-ok { color: #2F6B3F !important; font-weight: 700; }
.tp { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.tp-r { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: #F4F1EA; }
.tp-r.late { background: #FCEBE6; } .tp-late { color: #C2412D !important; font-weight: 800; }
.tp-i { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #13233F; }
.tp-a { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .tp-a a.as-a { text-decoration: none; }
.tp-r .rc { background: #fff; margin-top: 6px; }
.tp-n { font-size: 13px; color: var(--ink-2); margin: 0 0 10px; }
@media (max-width: 700px) { .tp-r { flex-wrap: wrap; } .tp-a { justify-content: flex-start; width: 100%; } .gd-s { display: none; } }
/* Espace Horsenext® v3 : 2 onglets, 4 liens par réclamation */
.go { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; }
.go .kp-go { margin: 0; } .go-t { font-size: 15px; color: var(--ink-2); } .go-t b { color: #13233F; } .go-late { color: #C2412D; }
.go.ok { border-color: #BFDCC7; background: #F1F8F3; color: #2F6B3F; font-size: 16px; }
.lks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lk { display: flex; align-items: flex-start; gap: 10px; text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 12px; cursor: pointer; font-family: Manrope, sans-serif; color: #13233F; min-width: 0; }
.lk svg { flex: none; width: 22px; height: 22px; color: #8A5A12; margin-top: 2px; }
.lk-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .lk-t b { font-size: 15px; } .lk-t small { font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.lk-t em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.lk.act .lk-t em { color: #2F6B3F; }
.lk.on { border-color: #13233F; background: #13233F; color: #fff; } .lk.on svg { color: #C99A55; } .lk.on .lk-t small, .lk.on .lk-t em { color: rgba(255,255,255,.75); }
.lk-p { border-top: 2px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.lk-co { display: flex; } .co { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .co small { color: var(--ink-2); font-size: 13px; } .co a { text-decoration: none; } .co-v { font-style: italic; }
.lk-w { display: flex; flex-direction: column; gap: 8px; } .lk-w textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 500 15px Manrope, sans-serif; color: #13233F; }
.lk-w .big { align-self: flex-start; width: auto; min-height: 48px; font-size: 16px; padding: 10px 20px; }
.lk-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .lk-acts .big { width: auto; min-height: 46px; font-size: 15px; padding: 10px 18px; text-decoration: none; display: inline-flex; align-items: center; }
.fil-vide { margin: 0; }
.as-pol { color: #8A5A12; font-weight: 700; }
details.as-more.card { padding: 14px 18px; } details.as-more summary b { color: #13233F; }
.jr { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; } .jr small { color: var(--ink-2); margin-right: 6px; }
@media (max-width: 900px) { .lks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Tuiles « ce qui s'affiche chez chaque partie » */
.lk { flex-direction: column; align-items: stretch; gap: 10px; }
.lk-h { display: flex; gap: 10px; align-items: flex-start; }
.lk-d { font-style: normal; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: #C99A55; color: #13233F; border-radius: 6px; padding: 2px 6px; margin-left: 4px; vertical-align: middle; }
.lk-v { display: flex; flex-direction: column; gap: 4px; } .lk-v > small { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.lk.on .lk-v > small { color: rgba(255,255,255,.6); }
.sigf.mini { padding: 8px 10px; gap: 8px; cursor: default; border-radius: 10px; } .sigf.mini svg { width: 16px; height: 16px; }
.sigf.mini b { font-size: 12px; } .sigf.mini .sigf-t span { font-size: 11px; } .sigf.mini em { display: none; } .sigf.mini .sigr-i { width: 20px; height: 20px; font-size: 11px; }
.vu-0 { font-size: 12px; color: var(--ink-2); font-style: italic; background: #F4F1EA; border-radius: 10px; padding: 8px 10px; }
.vu-t { font-size: 12px; background: #E8EDF5; color: #13233F; border-radius: 10px; padding: 8px 10px; }
.lk.on .vu-0 { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); } .lk.on .vu-t { background: rgba(255,255,255,.14); color: #fff; }
.lk-f { font-size: 12px; font-weight: 800; color: #8A5A12; margin-top: auto; } .lk.on .lk-f { color: #C99A55; }
.lk-v .sigf.mini { display: flex; flex-direction: row; align-items: flex-start; text-align: left; width: 100%; }
.lk-v .sigf.mini svg { width: 16px; height: 16px; margin-top: 1px; color: inherit; flex: none; }
.lk-v .sigf.mini .sigf-t { flex: 1; min-width: 0; }
/* Fiche réclamation : déroulé en 7 étapes */
.fls { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-direction: column; gap: 0; position: relative; }
.fl { position: relative; padding-left: 0; }
.fl::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: -4px; width: 2px; background: var(--line); }
.fl:last-child::before { display: none; } .fl.ok::before { background: #9CC7A9; }
.fl-h { width: 100%; display: flex; align-items: center; gap: 14px; background: none; border: 0; padding: 8px 0; text-align: left; cursor: pointer; font-family: Manrope, sans-serif; color: #13233F; }
.fl-n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 16px Manrope, sans-serif; background: #fff; border: 2px solid var(--line); color: var(--ink-2); position: relative; z-index: 1; }
.fl.ok .fl-n { background: #2F6B3F; border-color: #2F6B3F; color: #fff; }
.fl.now .fl-n { background: #13233F; border-color: #13233F; color: #fff; box-shadow: 0 0 0 5px rgba(201,154,85,.35); }
.fl-t { display: flex; flex-direction: column; } .fl-t b { font-size: 17px; } .fl-t small { font-size: 13px; color: var(--ink-2); }
.fl.next .fl-t b { color: var(--ink-2); }
.fl-b { margin: 2px 0 14px 58px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.fl.now .fl-b { border-color: #13233F; }
.fl-b textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 500 15px Manrope, sans-serif; color: #13233F; }
.fl-b .big { align-self: flex-start; width: auto; min-height: 48px; font-size: 16px; padding: 10px 20px; }
.fl-b .two { display: flex; gap: 10px; flex-wrap: wrap; } .fl-b .two .big { flex: none; }
.fl-b .say { margin: 0; }
.fl-msg { background: #F4F1EA; border-radius: 12px; padding: 10px 12px; } .fl-msg p { margin: 0; font-size: 15px; } .fl-msg .sigm-w { font-size: 12px; color: var(--ink-2); margin-bottom: 4px; }
.fl-vu { display: flex; flex-direction: column; gap: 4px; max-width: 460px; } .fl-vu > small { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.fl-vu .sigf { cursor: default; } .fl-vu .sigf em { display: none; }
.fl-pv { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; } .fl-pt { margin: 0; font-size: 14px; }
.fl-more summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; } .fl-more { display: flex; flex-direction: column; gap: 8px; }
.fl-more[open] > *:not(summary) { margin-top: 8px; }
@media (max-width: 700px) { .fl-b { margin-left: 0; } .fl::before { display: none; } }
.fl-vu .sigf { display: flex; flex-direction: row; align-items: flex-start; text-align: left; width: 100%; padding: 10px 12px; }
.fl-vu .sigf svg { width: 18px; height: 18px; flex: none; margin-top: 1px; } .fl-vu .sigf .sigf-t { flex: 1; min-width: 0; } .fl-vu .sigf b { font-size: 13px; }
/* Fiche du Centre de Mise en Place choisi */
.ctr-i { background: #fff; border: 2px solid #13233F; border-radius: 14px; padding: 14px 16px; margin-top: 10px; }
.ctr-it { margin: 0 0 8px; font: 800 16px Manrope, sans-serif; color: #13233F; }
.ctr-i dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; } .ctr-i dt { color: var(--ink-2); font-weight: 700; } .ctr-i dd { margin: 0; overflow-wrap: anywhere; }
.ctr-i .as-a { margin-left: 6px; text-decoration: none; }
.ct-b small + small { margin-top: 1px; }
/* Case unique « La DPS a été effectuée ? » */
.dps { display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; cursor: pointer; margin-top: 8px; }
.dps input { width: 22px; height: 22px; accent-color: #2F6B3F; flex: none; }
.dps span { display: flex; flex-direction: column; } .dps b { font-size: 14px; color: #13233F; } .dps small { font-size: 12px; color: #2F6B3F; font-weight: 700; }
.dps.on { border-color: #9CC7A9; background: #F1F8F3; }
.cs-dps { list-style: none; margin: 4px 0 0; }
.rj-l li .dps { margin: 0; padding: 6px 10px; } .rj-l li .dps b { font-size: 13px; }
/* Contrat Centre : verso (tableau) et règles */
.contract .ct-fin { font-style: italic; margin-top: 14px; }
.contract .ct-verso { margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--line); }
.contract .ct-sec { margin: 14px 0 6px; font: 800 12px Manrope, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #8A5A12; }
.contract .ct-tw { overflow-x: auto; }
.contract .ct-t { width: 100%; border-collapse: collapse; font-size: 13px; } .contract .ct-t th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); padding: 6px 8px; border-bottom: 2px solid var(--line); }
.contract .ct-t td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.contract .ct-r { padding-left: 18px; font-size: 14px; } .contract .ct-r li { margin-bottom: 6px; }
.sign .two { display: flex; gap: 10px; flex-wrap: wrap; } .sign .two .f { flex: 1 1 200px; }
/* Ordinateur + téléphone : ajustements */
.haras-list .lp-c span { color: var(--ink-2) !important; opacity: 1 !important; }
@media (max-width: 700px) {
  .hb { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .hb::-webkit-scrollbar { display: none; } .hb-b { flex: none; white-space: nowrap; }
  .af { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .af::-webkit-scrollbar { display: none; } .af-b { flex: none; white-space: nowrap; }
  .fl-b .big, .lk-w .big, .as-b .big { width: 100%; align-self: stretch; }
  .fl-b .two .big { flex: 1 1 100%; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  body.has-side:not(.on-landing) .side { width: 232px; padding: 24px 14px 18px; }
  body.has-side:not(.on-landing) > main { margin-left: 232px !important; padding: 32px 28px 40px !important; }
  body.has-side:not(.on-landing) > .app-foot { margin-left: 232px; padding-inline: 28px; }
  .toast { left: calc(50% + 116px) !important; }
}
@media (min-width: 1200px) { body.has-side:not(.on-landing) ~ .toast, body.has-side .toast { left: calc(50% + 136px) !important; } }
.rj-l .lnk, .prob-tel a { display: inline-block; padding: 6px 0; }
/* Accueil éleveur : 3 cases côte à côte seulement si la place le permet (≥ 1200 px) ; sinon liste comme sur téléphone */
@media (min-width: 900px) and (max-width: 1199px) {
  body.has-side .hub-cards.three { grid-template-columns: 1fr; max-width: 640px; gap: 14px; }
  body.has-side .hub-cards.three .lp-c { min-height: 0; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 22px 24px; }
  body.has-side .hub-cards.three .lp-c i { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
}
/* Contrats par dose */
.ctd { display: flex; gap: 8px; flex-wrap: wrap; }
.ctd-b { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; cursor: pointer; font-family: Manrope, sans-serif; color: #13233F; text-align: left; }
.ctd-b svg { width: 18px; height: 18px; color: #8A5A12; flex: none; } .ctd-b span { display: flex; flex-direction: column; } .ctd-b b { font-size: 13px; } .ctd-b small { font-size: 11px; color: var(--ink-2); }
.ctd-b.ok { border-color: #9CC7A9; } .ctd-b.ok small { color: #2F6B3F; font-weight: 700; } .ctd-b:disabled { opacity: .55; cursor: default; }
.ctl { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ctl li { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ctl-t { flex: 1 1 240px; display: flex; flex-direction: column; min-width: 0; } .ctl-t b { font-size: 15px; } .ctl-t small { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.rj-l li .rj-ct { grid-column: 1 / -1; }
@media (max-width: 700px) { .rj-l li { grid-template-columns: minmax(0, 1fr) !important; } .rj-l li > * { min-width: 0; } .ctd-b { flex: 1 1 140px; } }
.ac-r .as-a { justify-self: end; }
/* ===== Contrat Centre : mise en page du document (recto / verso) ===== */
.cv { display: flex; flex-direction: column; gap: 18px; }
.cv-wrap { overflow-x: auto; border-radius: 6px; }
.cv-page { background: #fff; color: #1d2433; border: 1px solid #E6E1D6; box-shadow: 0 2px 10px rgba(19,35,63,.06); padding: 34px 38px 22px; font: 400 12.5px/1.45 Manrope, sans-serif; max-width: 820px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.cv-hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; border-bottom: 2px solid #C99A55; padding-bottom: 8px; margin-bottom: 14px; }
.cv-brand { margin: 0 0 4px; font: 800 10px Manrope, sans-serif; letter-spacing: .32em; color: #C99A55; }
.cv-title { margin: 0; font: 700 25px/1.15 'Cormorant Garamond', Georgia, serif; color: #13233F; }
.cv-tag { font-size: 11px; color: #6B7488; white-space: nowrap; }
.cv-parties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.cv-parties > div { border: 1px solid #E6E1D6; border-radius: 6px; padding: 10px 12px; background: #FDFCF9; }
.cv-parties b { display: block; font-size: 12px; color: #13233F; margin-bottom: 4px; } .cv-parties p { margin: 0; font-size: 11.5px; }
.cv .ph { color: #B07A2E; }
.cv-cols { columns: 2; column-gap: 28px; }
.cv-a { break-inside: avoid; margin-bottom: 10px; } .cv-a h4 { margin: 0 0 3px; font: 800 12px Manrope, sans-serif; letter-spacing: .04em; color: #13233F; } .cv-a p { margin: 0; }
.cv-fin { margin: 14px 0 10px; font-size: 11px; color: #4F5B70; }
.cv-sig { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #E6E1D6; border-radius: 6px; }
.cv-sig > div { padding: 10px 12px; min-height: 90px; border-right: 1px solid #E6E1D6; } .cv-sig > div:last-child { border-right: 0; }
.cv-sig b { display: block; font-size: 12px; color: #13233F; } .cv-sig p { margin: 2px 0 0; font-size: 11px; color: #4F5B70; }
.cv-sig img { display: block; max-width: 100%; height: 46px; object-fit: contain; object-position: left; margin-top: 4px; }
.cv-ft { display: flex; justify-content: space-between; margin: 14px 0 0; font-size: 10px; color: #8A93A5; }
.cv-t { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.cv-t th { background: #13233F; color: #fff; text-align: left; font-weight: 700; padding: 8px 10px; }
.cv-t td { padding: 7px 10px; border-bottom: 1px solid #ECE8DF; vertical-align: top; } .cv-t td b { color: #13233F; }
.cv-t tr.cv-s td { background: #F4F1EA; font: 800 10.5px Manrope, sans-serif; letter-spacing: .06em; color: #13233F; }
.cv-rg { margin-top: 14px; background: #F7F5F0; border-radius: 6px; padding: 10px 14px; } .cv-rgt { margin: 0 0 6px; font: 800 11px Manrope, sans-serif; letter-spacing: .06em; color: #13233F; }
.cv-rg ul { margin: 0; padding-left: 18px; font-size: 11px; } .cv-rg li { margin-bottom: 3px; }
.seg { display: flex; gap: 10px; flex-wrap: wrap; } .seg label { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 700; cursor: pointer; background: #fff; }
.seg label:has(input:checked) { border-color: #13233F; }
.cv-sheet { max-width: 880px; }
.cv-modal { max-width: 900px !important; }
@media (max-width: 700px) {
  .cv-page { padding: 18px 14px 14px; font-size: 12px; } .cv-title { font-size: 20px; }
  .cv-parties, .cv-sig { grid-template-columns: 1fr; } .cv-sig > div { border-right: 0; border-bottom: 1px solid #E6E1D6; min-height: 0; }
  .cv-cols { columns: 1; } .cv-t { font-size: 11px; } .cv-t th, .cv-t td { padding: 6px; }
}
@media print {
  .print-zone .cv { gap: 0; } .print-zone .cv-page { box-shadow: none; border: 0; max-width: none; width: 190mm; padding: 0; break-after: page; font-size: 9.5pt; }
  .print-zone .cv-page:last-child { break-after: auto; } .print-zone .cv-cols { columns: 2; } .print-zone .cv-parties, .print-zone .cv-sig { grid-template-columns: repeat(3, 1fr); }
  .print-zone { width: 190mm !important; }
}
/* ===== Contrats en lecture fluide, deux onglets (une seule signature) ===== */
.cv.fluid { gap: 0; max-width: 820px; margin: 0 auto; }
.cv-tabs { position: sticky; top: 0; z-index: 2; display: flex; gap: 6px; background: #F4F1EA; padding: 8px 0; }
.cv-tabs button { flex: 1; border: 2px solid var(--line); background: #fff; border-radius: 12px 12px 0 0; padding: 12px 14px; font: 800 14px Manrope, sans-serif; color: #13233F; cursor: pointer; }
.cv-tabs button.on { background: #13233F; border-color: #13233F; color: #fff; }
.cv-pane { background: #fff; border: 1px solid #E6E1D6; border-radius: 0 0 12px 12px; padding: 24px 26px; font: 400 14px/1.6 Manrope, sans-serif; color: #1d2433; }
.cv-pane[hidden] { display: none; }
.cv.fluid .cv-cols { columns: 1; } .cv.fluid .cv-a { margin-bottom: 14px; } .cv.fluid .cv-a h4 { font-size: 13px; }
.cv.fluid .cv-parties > div p { font-size: 13px; } .cv.fluid .cv-fin { font-size: 13px; }
.cv-sec { margin: 18px 0 8px; font: 800 12px Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8A5A12; }
.cv-rows { display: flex; flex-direction: column; gap: 8px; }
.cv-row { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 12px; padding: 10px 12px; border: 1px solid #ECE8DF; border-radius: 10px; font-size: 13px; }
.cv-row b { color: #13233F; } .cv-row em { font-style: normal; color: #4F5B70; font-weight: 700; }
.cv.fluid .cv-rg li { font-size: 13px; margin-bottom: 6px; }
.cv-wrap { overflow: visible; }
@media (max-width: 700px) {
  .cv-pane { padding: 16px 14px; font-size: 14px; } .cv-tabs button { font-size: 13px; padding: 10px 8px; }
  .cv-row { grid-template-columns: 1fr; gap: 4px; } .cv-row em::before { content: 'Qui en répond : '; font-weight: 600; }
}
@media print {
  .print-zone .cv-tabs { display: none !important; }
  .print-zone .cv-pane { display: block !important; border: 0; padding: 0; break-after: page; font-size: 9.5pt; }
  .print-zone .cv-pane:last-child { break-after: auto; }
  .print-zone .cv.fluid .cv-cols { columns: 2; } .print-zone .cv-row { break-inside: avoid; }
}
/* Registre du jour (haras) : SIRE, adresses, case du centre */
.rj-l.rj-v2 li { display: flex !important; flex-direction: column; gap: 10px; padding: 14px 4px; }
.rj-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; } .rj-top .lnk { font-size: 16px; }
.rj-sire { font-size: 13px; color: var(--ink-2); } .rj-sire b { color: #13233F; }
.rj-dl2 { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rj-dl2 > div { background: #F7F5F0; border-radius: 10px; padding: 8px 10px; min-width: 0; }
.rj-dl2 dt { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 2px; }
.rj-dl2 dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; } .rj-dl2 dd b { color: #13233F; }
.rj-bot { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .rj-bot .dps { margin: 0; }
.dps.ro { cursor: default; } .dps.ro input { opacity: .9; } .dps-w { color: var(--ink-2) !important; font-weight: 600 !important; }
@media (max-width: 700px) { .rj-dl2 { grid-template-columns: 1fr; } }
/* Rappel du haras (case DPS) côté centre */
.rp { display: flex; flex-direction: column; gap: 6px; background: #FBF0DC; border: 2px solid #E8C98F; border-radius: 12px; padding: 10px 12px; margin: -4px 0 12px; color: #7A4E0E; }
.rp b { font-size: 14px; } .rp span { font-size: 13px; } .rp .dps { margin: 2px 0 0; background: #fff; }
.rp-n { margin: 6px 0 0; font-weight: 800; color: #8A5A12; }
.cs-dps.rappel .dps { border-color: #E8C98F; background: #FFF8EA; box-shadow: 0 0 0 3px rgba(232,201,143,.35); }
/* Onglet DPS du centre */
.dls { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dl { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.dl.rappel { border-color: #E8C98F; background: #FFF8EA; }
.dl-t { flex: 1 1 240px; display: flex; flex-direction: column; min-width: 0; } .dl-t b { font-size: 16px; color: #13233F; } .dl-t small { font-size: 13px; color: var(--ink-2); }
.dl-r { color: #8A5A12 !important; font-weight: 800; } .dl .dps { margin: 0; }
.dl-ok summary { cursor: pointer; font-weight: 800; color: var(--ink-2); margin: 6px 0 10px; }
@media (max-width: 700px) { .dl .dps { width: 100%; } }
/* Paiement par lien Stripe */
a.big.pay-go { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.pay-test { background: #FFF8EA; border: 1px dashed #E8C98F; color: #8A5A12; border-radius: 10px; padding: 8px 12px; font-size: 13px; margin: 0 0 10px; }
.pay-wait { font-weight: 700; color: #13233F; margin: 0 0 10px; }
.pay-re { display: inline-block; margin-top: 10px; }
.pay-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid #E8C98F; border-top-color: #8A5A12; border-radius: 50%; margin-right: 8px; vertical-align: -2px; animation: payspin .9s linear infinite; }
@keyframes payspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pay-spin { animation: none; } }
/* Notifications Horsenext® */
.nt-cfg { margin-bottom: 18px; } .nt-k { font-weight: 800; color: #13233F; margin: 0 0 10px; }
.nt-ch { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.nt-ch li { display: flex; flex-direction: column; padding: 10px 12px 10px 36px; border-radius: 12px; background: #F4F6FA; position: relative; }
.nt-ch li::before { content: ''; position: absolute; left: 13px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: #C9CFDA; }
.nt-ch li.on::before { background: #2E8B57; } .nt-ch li b { color: #13233F; } .nt-ch li span { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.nt-on { font-size: 13px; font-weight: 700; color: #2E8B57; } .nt-btn { width: 100%; }
.nt-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ntl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nt-r { width: 100%; text-align: left; display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; }
.nt-r.new { border-color: #E8C98F; background: #FFF8EA; } .nt-r:hover { border-color: #13233F; }
.nt-t { flex: 1 1 260px; display: flex; flex-direction: column; min-width: 0; } .nt-t b { color: #13233F; } .nt-t small { color: var(--ink-2); font-size: 13px; } .nt-m { font-style: italic; }
.nt-s { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .nt-s small { color: var(--ink-2); font-size: 12px; }
.nt-s em { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #EEF1F6; color: var(--ink-2); }
.nt-s em.ok { background: #E6F4EC; color: #1F6B41; } .nt-s em.ko { background: #FBE9E9; color: #9B2C2C; }
@media (max-width: 600px) { .nt-s { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; } }
/* Déclaration sur l'honneur (vaccin) */
.dh { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.dh input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: #13233F; }
.dh b:first-child { display: block; color: #13233F; font-size: 15px; margin-bottom: 2px; }
.dh.on { border-color: #2E8B57; background: #F1F9F4; } .dh.need { border-color: #C0392B; background: #FDF0EE; }
.tile > b { overflow-wrap: anywhere; hyphens: auto; text-align: center; }
@media (max-width: 480px) { .tile > b { font-size: 13px; } }
/* Vérification du SIRET */
.sir { font-size: 13px; color: var(--ink-2); margin: 2px 0 6px; line-height: 1.4; }
.sir.ok { color: #1F6B41; font-weight: 700; } .sir.ok b { color: #13233F; }
.sir.warn { color: #8A5A12; } .sir.busy { color: #13233F; font-weight: 700; }
.sir-nom input[readonly] { background: #F1F9F4; border-color: #9FD0B3; color: #13233F; font-weight: 700; }
.sir-src { display: block; font-size: 12px; color: #1F6B41; font-weight: 600; margin-top: 4px; }
.fiche .sir-nom input[readonly], label.f.sir-nom input[readonly] { background: #F1F9F4; border-color: #9FD0B3; color: #13233F; font-weight: 800; }
/* Réservation non réglée */
.nr-t { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: #9B2C2C; margin: 0 0 8px; }
.pay.nr { margin-top: 12px; } .nr-block .pay-k { text-transform: none; letter-spacing: 0; }
.nr-line { display: flex; gap: 10px; align-items: flex-start; background: #FDF0EE; border: 2px solid #E8B4AC; color: #7A2318; border-radius: 12px; padding: 10px 12px; margin: 12px 0; font-size: 14px; }
.nr-line .tdi, .nr-t .tdi { flex: 0 0 auto; }
/* Contrats de saillie */
.ncv-s { font-size: 13px; margin: -4px 0 14px; color: var(--ink-2); line-height: 1.45; }
.ncv-s.ok { color: #1F6B41; font-weight: 700; } .ncv-s.ko { color: #9B2C2C; font-weight: 700; }
.sl-f select { width: 100%; }
.sl-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sl-l li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.sl-t { flex: 1 1 240px; display: flex; flex-direction: column; min-width: 0; } .sl-t b { color: #13233F; } .sl-t small { color: var(--ink-2); font-size: 13px; }
.sl-n { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #EEF1F6; color: var(--ink-2); } .sl-n.on { background: #E6F4EC; color: #1F6B41; }
label.f select { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 14px 16px; font-size: 20px; width: 100%; color: var(--ink); min-height: 60px; font-family: inherit; }
/* Calendrier des commandes */
.cond { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; margin: 10px 0 16px; }
.cond summary { cursor: pointer; font-weight: 800; color: #13233F; }
.cond ul { margin: 10px 0 2px; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.45; } .cond b { color: #13233F; }
.slots { display: grid; gap: 8px; margin-bottom: 12px; }
.slot { display: flex; gap: 12px; align-items: center; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; }
.slot[aria-checked="true"] { border-color: #13233F; background: #F4F6FA; } .slot b { display: block; color: #13233F; } .slot small { color: var(--ink-2); font-size: 13px; }
.slot .rd { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9AA3B5; flex: 0 0 18px; } .slot[aria-checked="true"] .rd { border: 6px solid #13233F; }
/* Contrôle à réception + signalement rapide */
.cs.wait { opacity: .6; } .late-c { color: #9B2C2C; font-weight: 800; }
.sig-q { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: #FDF0EE; border: 2px solid #E8B4AC; color: #7A2318; border-radius: 12px; padding: 8px 12px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.sig-q svg { width: 18px; height: 18px; }
/* Registre v3 : lecture facile + contrôles puce / livret */
.rr-l { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.rr { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #EEF1F6; color: #13233F; font-size: 14px; font-weight: 700; }
.rr b { font-size: 16px; } .rr.ko { background: #FFF1E0; color: #8A5A12; } .rr.ok { background: #E6F4EC; color: #1F6B41; }
.rj-v3 { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rj-v3 > li { border: 2px solid var(--line); border-left: 6px solid #E8C98F; border-radius: 14px; padding: 14px 16px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.rj-v3 > li.done { border-left-color: #2E8B57; }
.rj-v3 .rj-top { display: flex; flex-direction: column; gap: 2px; } .rj-v3 .rj-top .lnk { font-size: 17px; font-weight: 800; text-align: left; }
.rj-id { font-size: 13px; color: var(--ink-2); } .rj-id b { color: #13233F; }
.rj-ck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ck { border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; background: #FAFBFD; min-width: 0; }
.ck > b { font-size: 14px; color: #13233F; } .ck > small { font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.ck.ok { border-color: #9FD0B3; background: #F1F9F4; } .ck.ok > b { color: #1F6B41; } .ck.ko { border-color: #E8B4AC; background: #FDF0EE; } .ck.ko > b { color: #9B2C2C; }
.ck .dps { margin: 0; border: 0; padding: 0; background: none; }
.ck-in { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.pu-in { flex: 1 1 140px; min-width: 0; border: 2px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 15px; font-family: ui-monospace, Menlo, monospace; }
.pu-in:focus { outline: 3px solid #E8C98F; border-color: #13233F; }
.rj-acts { margin-top: 14px; }
@media (max-width: 900px) { .rj-ck { grid-template-columns: 1fr; } }
/* Registre imprimable */
.reg-pz { font-size: 12px; color: #000; }
.rp-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13px; }
.rp-t { width: 100%; border-collapse: collapse; } .rp-t th, .rp-t td { border: 1px solid #555; padding: 4px 5px; vertical-align: top; text-align: left; }
.rp-t th { background: #EEF1F6; font-size: 11px; } .rp-t td.c { text-align: center; font-size: 14px; } .rp-t td.visa { min-width: 60px; } .rp-t small { font-size: 9px; }
.rp-f { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 11px; }
.modal .reg-pz { overflow-x: auto; }
@page paysage { size: A4 landscape; margin: 8mm; }
@media print { .print-zone.reg-pz { page: paysage; width: 281mm !important; } .rp-t { font-size: 9.5pt; } .rp-t tr { break-inside: avoid; } }
.rj-l.rj-v3 > li { display: flex !important; flex-direction: column; align-items: stretch; grid-template-columns: none !important; padding: 14px 16px; border-bottom: 2px solid var(--line); }
.rj-l.rj-v3 > li:last-child { border-bottom: 2px solid var(--line); }
.rj-v3 .rj-top { align-items: flex-start; } .rj-v3 .rj-ct { grid-column: auto; }
.rj-l.rj-v3 li .ck .dps { padding: 0; } .ck .dps span { min-width: 0; } .ck .dps small { overflow-wrap: anywhere; white-space: normal; }

/* =====================================================================
   ORDINATEUR (≥ 1200 px) : toute la largeur de l'écran est utilisée.
   Le contenu est centré dans la zone à droite du menu (jusqu'à 1640 px),
   les listes de cartes passent en colonnes, les formulaires en 2 colonnes.
   Le format téléphone / tablette n'est pas modifié.
   ===================================================================== */
@media (min-width: 900px) {
  body.has-side:not(.on-landing) > main { padding: 40px clamp(40px, 3.5vw, 72px) 56px !important; }
  body.has-side:not(.on-landing) > main > * { max-width: 1640px !important; width: 100%; margin-left: auto !important; margin-right: auto !important; }
  body.has-side:not(.on-landing) .app-foot { max-width: 1640px; margin-left: auto; margin-right: auto; }
  body.has-side:not(.on-landing) > .app-foot { margin-left: calc(272px + clamp(40px, 3.5vw, 72px)); margin-right: clamp(40px, 3.5vw, 72px); max-width: none; }

  /* Blocs qui étaient bridés à 620–1180 px : pleine largeur */
  body.has-side main :is(.ferie, .ferie.compact, .hub, .hub-alert, .hub-cards, .hub-cards.three, .kpi, .krow, .tmw, .cond, .stal, .rs, .rj, .reg-sum, .page, .page.adm,
    .cards, .histo, .mares, .al, .ctl, .dls, .ntl, .sl-l, .tp, .hb, .aide, .haras-list, .choices, .prog, .hello, .nt-cfg, .rr-l, .switch.two-tabs) { max-width: none !important; }
  body.has-side main .page > * { max-width: none; }

  /* Listes de cartes : autant de colonnes que l'écran le permet */
  body.has-side main .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 24px; align-items: start; }
  body.has-side main .histo, body.has-side main .dls, body.has-side main .ntl, body.has-side main .sl-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(560px, 1fr)); gap: 12px; }
  body.has-side main .mares { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
  body.has-side main .haras-list { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
  body.has-side main .choices.cat { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
  body.has-side main .hub-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  body.has-side main .hub-cards.three .lp-c { min-height: 220px; }

  /* Formulaires : deux colonnes de rubriques, boutons sur toute la largeur */
  body.has-side main .fiche, body.has-side main .sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; align-items: start; max-width: none !important; }
  body.has-side main .fiche > :not(section), body.has-side main .sheet > :not(section) { grid-column: 1 / -1; }
  body.has-side main .sheet > .big, body.has-side main .fiche > .big { justify-self: start; width: auto; min-width: 360px; padding-inline: 48px; }
  body.has-side main .page > .sheet { max-width: none !important; }
  body.has-side main :is(.card.hi, .sl-f, .prob) { max-width: none !important; }
  body.has-side main .card.hi .two-f, body.has-side main .sl-f .two-f { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Commande : étapes à gauche, contenu à droite sur toute la largeur */
  body.has-side main .wiz, body.has-side main .wiz.wide { display: grid !important; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; max-width: 1640px !important; }
  body.has-side main .wiz .steps { display: block !important; position: sticky; top: 32px; }
  body.has-side main .wiz .progress { display: none !important; }
  body.has-side main .wiz-main, body.has-side main .wiz.wide .wiz-main { max-width: none !important; margin: 0 !important; }
  body.has-side main .wiz-main .nav { max-width: none; }
  body.has-side main .wiz-main .nav .big { width: auto; min-width: 280px; padding-inline: 40px; }
  body.has-side main .wiz-main .nav { display: flex; justify-content: space-between; gap: 16px; }

  /* Lisibilité : pas de lignes de texte interminables */
  body.has-side main :is(p.say, .cs-s, .note) { max-width: 90ch; }

  /* Message « Connecté » : en bas à droite, hors du contenu */
  .toast { left: auto !important; right: 32px !important; transform: none !important; }
}
@media (min-width: 1700px) {
  body.has-side main .cards { grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); }
  body.has-side:not(.on-landing) > main { padding-inline: 72px !important; }
}
@media (min-width: 900px) {
  .toast { width: auto !important; max-width: 440px; left: auto !important; right: 32px !important; }
  body.has-side main .sheet > .backlink, body.has-side main .fiche > .backlink, body.has-side main .backlink { justify-self: start; width: auto !important; }
  body.has-side main .tri, body.has-side main .switch:not([role="tablist"]):not(.two-tabs) { width: fit-content !important; max-width: 100% !important; }
}
@media (min-width: 900px) {
  .toast { width: max-content !important; max-width: 380px !important; }
  .modal.wide { max-width: min(1100px, 90vw); }
  .hj-modal { max-width: min(1200px, 90vw); }
}

/* ===== Accueil ===== */
.lp-left, .lp-right { display: contents; }   /* téléphone / tablette : même empilement qu'avant */
.lp-sub { display: none; }
/* Ordinateur : mise en page en deux colonnes, largeur maîtrisée, proportions fixes (aucun étirement) */
@media (min-width: 1100px) {
  body.on-landing .lp { display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 48px 56px; }
  body.on-landing .lp-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "left right" "foot foot"; column-gap: clamp(48px, 6vw, 112px); row-gap: 40px;
    align-items: center; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0; text-align: left; }
  body.on-landing .lp-left { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; grid-area: left; }
  body.on-landing .lp-right { display: flex; flex-direction: column; gap: 16px; grid-area: right; }
  body.on-landing .lp-logo { width: 72px; height: 72px; margin: 0; }
  body.on-landing .lp-word { align-self: flex-start; font-size: 15px; margin: 0; }
  body.on-landing .landing h1 { font-size: clamp(46px, 3.9vw, 64px); line-height: 1.06; max-width: 15ch; margin: 14px 0 0; text-align: left; }
  body.on-landing .lp-sub { display: block; font-size: 18px; line-height: 1.55; color: var(--m); max-width: 46ch; margin: 0; }
  body.on-landing #lp-ferie { width: 100%; max-width: 560px; margin-top: 8px; }
  body.on-landing #lp-ferie .ferie { max-width: none; }
  body.on-landing .lp-q { margin: 0; font-size: 16px; text-transform: uppercase; letter-spacing: .14em; color: var(--m); }
  body.on-landing .lp-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
  body.on-landing .lp-c { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; min-height: 0; aspect-ratio: 4 / 3; padding: 28px 26px; border-radius: 16px; text-align: left; }
  body.on-landing .lp-c b, body.on-landing .lp-c.main b { font-size: 23px; line-height: 1.15; }
  body.on-landing .lp-c span { font-size: 15px; line-height: 1.4; }
  body.on-landing .lp-c i { margin-top: auto; font-size: 26px; align-self: flex-start; }
  body.on-landing .lp-c:hover { transform: translateY(-3px); }
  body.on-landing .lp-foot { grid-area: foot; text-align: center; margin: 0; font-size: 13px; }
}
@media (min-width: 1100px) and (max-height: 760px) { body.on-landing .lp-c { aspect-ratio: auto; min-height: 150px; } body.on-landing .lp { padding-block: 28px; } }
/* Recherche d'entreprise par nom (SIRET automatique) */
.sir-box { position: relative; }
.sir-sug { list-style: none; margin: 4px 0 0; padding: 6px; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: #fff; border: 2px solid #13233F; border-radius: 12px; box-shadow: 0 16px 34px rgba(19,35,63,.18); max-height: 340px; overflow-y: auto; }
.sir-sug button { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 2px; background: none; border: 0; border-radius: 8px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.sir-sug button:hover, .sir-sug button:focus-visible { background: #F4F6FA; outline: none; }
.sir-sug b { color: #13233F; font-size: 15px; } .sir-sug small { color: var(--ink-2); font-size: 13px; overflow-wrap: anywhere; }
.sg-i { padding: 8px 12px; font-size: 13px; color: var(--ink-2); }
.sg-demo { padding: 8px 12px; margin-bottom: 4px; font-size: 12.5px; color: #8A5A12; background: #FFF8EA; border-radius: 8px; line-height: 1.4; }
/* Conditions de commande : version pédagogique */
.cond2 { background: #fff; border: 2px solid var(--line); border-radius: 16px; margin: 10px 0 18px; overflow: hidden; }
.cond2 summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.cond2 summary::-webkit-details-marker { display: none; }
.cond2 summary > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .cond2 summary b { color: #13233F; font-size: 16px; } .cond2 summary small { color: var(--ink-2); font-size: 13px; }
.c2-ic { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #FFF4E0; color: #B07A2A; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.c2-ch { width: 10px; height: 10px; border-right: 2.5px solid #13233F; border-bottom: 2.5px solid #13233F; transform: rotate(45deg); margin-right: 6px; transition: transform .2s; }
.cond2[open] .c2-ch { transform: rotate(-135deg); }
.c2-steps { list-style: none; margin: 0; padding: 4px 16px 6px; display: grid; gap: 10px; }
.c2-steps li { position: relative; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.c2-n { grid-row: 1 / span 3; width: 30px; height: 30px; border-radius: 50%; background: #13233F; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.c2-steps b { color: #13233F; font-size: 15px; } .c2-steps p { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.45; } .c2-steps small { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.c2-tip { margin: 0 16px 16px; padding: 10px 12px; background: #F4F6FA; border-radius: 10px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ink-2); line-height: 1.45; } .c2-tip b { color: #13233F; font-size: 13px; }
@media (min-width: 900px) {
  .c2-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 6px 16px 14px; }
  .c2-steps li { grid-template-columns: 1fr; border: 0; background: #FAFBFD; border-radius: 12px; padding: 14px; align-content: start; }
  .c2-n { grid-row: auto; margin-bottom: 6px; }
  .c2-steps li:not(:last-child)::after { content: '→'; position: absolute; right: -12px; top: 18px; color: #C99A55; font-weight: 800; }
}
/* Accueil ordinateur : tout centré (logo en grand, titre, explication, profils), largeur maîtrisée, sans étirement */
@media (min-width: 1100px) {
  body.on-landing .lp { padding: 40px 48px; }
  body.on-landing .lp-main { display: flex !important; flex-direction: column; align-items: center; text-align: center; max-width: 1180px; gap: 0; }
  body.on-landing .lp-left, body.on-landing .lp-right { display: flex; flex-direction: column; align-items: center; width: 100%; }
  body.on-landing .lp-left { gap: 14px; }
  body.on-landing .lp-right { gap: 14px; margin-top: 34px; }
  body.on-landing .lp-logo { width: 120px; height: 120px; border-radius: 10px; }
  body.on-landing .lp-word { align-self: center; font-size: 18px; letter-spacing: .45em; padding-bottom: 14px; }
  body.on-landing .landing h1 { text-align: center; max-width: 22ch; font-size: clamp(46px, 4vw, 64px); margin-top: 18px; }
  body.on-landing .lp-sub { text-align: center; max-width: 60ch; font-size: 18px; }
  body.on-landing #lp-ferie { max-width: 760px; margin-top: 10px; text-align: left; }
  body.on-landing .lp-q { font-size: 15px; }
  body.on-landing .lp-choices { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  body.on-landing .lp-c { aspect-ratio: auto; min-height: 168px; padding: 26px 24px; }
  body.on-landing .lp-foot { margin-top: 30px; }
}
@media (min-width: 1100px) { body.on-landing .landing h1 { max-width: 28ch; } }
/* Guide éleveur « commandez avant 13 h, recevez demain » */
.guide { background: linear-gradient(180deg, #FFFFFF 0%, #FBF8F2 100%); border: 2px solid #E6DCC8; border-radius: 18px; margin: 10px 0 20px; overflow: hidden; box-shadow: 0 10px 28px rgba(19,35,63,.06); }
.guide summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.guide summary::-webkit-details-marker { display: none; }
.g-badge { flex: 0 0 auto; background: #13233F; color: #E8C98F; font-weight: 800; font-size: 15px; letter-spacing: .04em; border-radius: 12px; padding: 10px 12px; }
.g-st { flex: 1; display: flex; flex-direction: column; } .g-st b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; color: #13233F; line-height: 1.1; } .g-st small { color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.guide[open] .c2-ch { transform: rotate(-135deg); }
.g-body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.g-live { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.45; }
.g-live.ok { background: #E9F5EE; color: #17482D; } .g-live.ko { background: #FFF1E0; color: #6B4210; }
.g-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; margin-top: 6px; background: currentColor; box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.g-live.ok .g-dot { animation: gpulse 1.6s ease-in-out infinite; } @keyframes gpulse { 50% { opacity: .35; } } @media (prefers-reduced-motion: reduce) { .g-live.ok .g-dot { animation: none; } }
.g-tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; position: relative; }
.g-tl li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px 12px; border-radius: 14px; background: #fff; border: 2px solid #EFE8DA; }
.g-tl li.dem { background: #13233F; border-color: #13233F; } .g-tl li.dem b { color: #fff; } .g-tl li.dem .g-h { color: #E8C98F; } .g-tl li.dem em { background: #E8C98F; color: #13233F; }
.g-tl li:not(:last-child)::after { content: '›'; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; background: #C99A55; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; line-height: 1; z-index: 1; }
.g-ic { font-size: 26px; line-height: 1; } .g-h { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #B07A2A; }
.g-tl b { font-size: 14px; color: #13233F; line-height: 1.3; } .g-tl em { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: #F4EEE2; color: #6B5A3A; margin-top: 2px; }
.g-k { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.g-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.g-day { position: relative; border-radius: 12px; padding: 10px 6px; text-align: center; display: flex; flex-direction: column; gap: 2px; border: 2px solid transparent; }
.g-day.on { background: #EEF5F0; } .g-day.off { background: #F1F1F1; color: #9AA0AA; }
.g-day b { font-size: 15px; color: #13233F; } .g-day.off b { color: #9AA0AA; } .g-day span { font-size: 12px; font-weight: 700; color: #1F6B41; } .g-day.off span { color: #9AA0AA; } .g-day small { font-size: 11px; color: var(--ink-2); }
.g-day.today { border-color: #C99A55; } .g-day i { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; font-weight: 800; background: #C99A55; color: #fff; border-radius: 99px; padding: 1px 7px; white-space: nowrap; }
.g-ex ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g-ex li { position: relative; padding: 10px 12px 10px 38px; border-radius: 12px; background: #fff; border: 1.5px solid #EFE8DA; font-size: 14px; line-height: 1.4; color: var(--ink); }
.g-ex li::before { position: absolute; left: 12px; top: 10px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #fff; }
.g-ex li.y::before { content: '✓'; background: #2E8B57; } .g-ex li.n::before { content: '!'; background: #C77A1E; }
.g-tip { margin: 0; font-size: 14px; color: var(--ink-2); background: #F4F6FA; border-radius: 12px; padding: 10px 14px; line-height: 1.45; }
@media (max-width: 700px) {
  .g-st b { font-size: 21px; }
  .g-tl { grid-template-columns: 1fr 1fr; gap: 12px; } .g-tl li:nth-child(2)::after { display: none; }
  .g-days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; } .g-day { padding: 8px 2px; } .g-day small { display: none; } .g-day span { font-size: 10px; }
  .g-ex ul { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .g-day span { font-size: 0 !important; } .g-day span::before { font-size: 14px; font-weight: 900; }
  .g-day.on span::before { content: '✓'; color: #1F6B41; } .g-day.off span::before { content: '—'; color: #9AA0AA; }
  .g-day i { font-size: 0; width: 8px; height: 8px; padding: 0; top: -5px; }
  .g-days::after { content: '✓ = commande possible, livrée le lendemain · — = pas d’envoi le week-end'; grid-column: 1 / -1; font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }
}
/* Guide ultra simple */
.g-simple .g-body { gap: 14px; }
.g-two { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 14px; }
.g-box { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 22px 16px; border-radius: 16px; background: #fff; border: 2px solid #EFE8DA; }
.g-box.dem { background: #13233F; border-color: #13233F; }
.g-box .g-ic { font-size: 40px; } .g-when { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #B07A2A; } .g-box.dem .g-when { color: #E8C98F; }
.g-box b { font-size: 22px; line-height: 1.25; color: #13233F; } .g-box.dem b { color: #fff; }
.g-arrow { align-self: center; font-size: 34px; color: #C99A55; font-weight: 800; }
.g-we { margin: 0; text-align: center; font-size: 15px; color: var(--ink-2); }
@media (max-width: 700px) { .g-two { grid-template-columns: 1fr; gap: 8px; } .g-arrow { transform: rotate(90deg); justify-self: center; font-size: 28px; } .g-box { padding: 16px; } .g-box .g-ic { font-size: 32px; } .g-box b { font-size: 19px; } }
@media (max-width: 700px) { .g-two { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; } .g-arrow { transform: none; font-size: 22px; } .g-box { padding: 14px 8px; } .g-box .g-ic { font-size: 28px; } .g-box b { font-size: 15px; } .g-when { font-size: 11px; } }
/* Assistant « Je n'ai pas mon numéro de contrat de saillie » */
.ncv-help { display: inline-flex; align-items: center; gap: 10px; margin: -6px 0 14px; background: #FFF8EA; border: 2px solid #EAD3A6; color: #6B4210; border-radius: 999px; padding: 8px 16px 8px 8px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.ncv-help:hover { border-color: #C99A55; } .na-ic { width: 26px; height: 26px; border-radius: 50%; background: #C99A55; color: #fff; display: grid; place-items: center; font-size: 14px; }
.na { position: relative; margin: -4px 0 16px; padding: 16px; border-radius: 16px; background: #F4F6FA; border: 2px solid #DCE2EC; display: flex; flex-direction: column; gap: 12px; }
.na-b { display: flex; gap: 10px; align-items: flex-start; padding-right: 26px; } .na-av { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #13233F; color: #fff; display: grid; place-items: center; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 20px; }
.na-t { background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 14px; font-size: 14.5px; line-height: 1.45; color: var(--ink); box-shadow: 0 2px 8px rgba(19,35,63,.06); }
.na-l { display: grid; gap: 8px; margin-left: 44px; }
.na-c { text-align: left; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: #fff; border: 2px solid #9FD0B3; border-radius: 12px; padding: 10px 14px; cursor: pointer; font: inherit; color: inherit; }
.na-c b { color: #13233F; font-size: 16px; } .na-c small { grid-column: 1; color: var(--ink-2); font-size: 12.5px; } .na-c span { grid-column: 2; grid-row: 1 / span 2; font-weight: 800; color: #1F6B41; font-size: 13px; }
.na-c:hover { background: #F1F9F4; }
.na-q { margin-left: 44px; display: flex; flex-direction: column; gap: 8px; } .na-q p { margin: 0; font-size: 13px; color: var(--ink-2); } .na-q .big { width: auto; align-self: flex-start; padding-inline: 28px; }
.na-r { margin-left: 44px; align-self: flex-start; background: none; border: 0; color: #13233F; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.na-x { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #E4E8F0; color: #13233F; font-size: 18px; cursor: pointer; }
.sl-dem { border-color: #E8C98F; background: #FFFBF2; } .sl-imp textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; font: 14px ui-monospace, Menlo, monospace; margin: 8px 0; }
@media (max-width: 600px) { .na-l, .na-q, .na-r { margin-left: 0; } .na-c { grid-template-columns: 1fr; } .na-c span { grid-column: 1; grid-row: auto; margin-top: 4px; } }
/* Confirmation du contrat de saillie par la station */
.card.amber-c { border-color: #E8C98F; background: #FFFBF2; }
.ctc { display: flex; flex-direction: column; gap: 10px; } .ctc-q { margin: 0; font-size: 14px; color: var(--ink-2); } .ctc-q b { color: #13233F; }
.ctc-t { margin: 0; font-size: 17px; font-weight: 800; color: #13233F; }
.ctc-wait, .ctc-ok { margin: 6px 0 0; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 8px; }
.ctc-wait { background: #FFF4E0; color: #8A5A12; } .ctc-ok { background: #E6F4EC; color: #1F6B41; }
/* Guide de l'éleveur */
.ge-hero { margin-bottom: 18px; } .ge-k { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B07A2A; }
.ge-lead { font-size: 17px; color: var(--ink-2); max-width: 70ch; margin: 6px 0 0; line-height: 1.5; }
.ge-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ge-steps li { position: relative; background: #fff; border: 2px solid #EFE8DA; border-radius: 18px; padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.ge-n { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%; background: #13233F; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.ge-ic { font-size: 34px; line-height: 1; } .ge-steps b { font-size: 17px; color: #13233F; } .ge-steps p { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.5; flex: 1; }
.ge-go { align-self: flex-start; margin-top: 4px; background: none; border: 0; padding: 0; color: #B07A2A; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.ge-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.ge-rules section { border-radius: 18px; padding: 18px 20px; } .ge-rules h2 { margin: 0 0 10px; font-size: 18px; }
.ge-oui { background: #EEF7F1; border: 2px solid #BFE0CC; } .ge-oui h2 { color: #1F6B41; }
.ge-non { background: #FDF1EF; border: 2px solid #F0C9C2; } .ge-non h2 { color: #9B2C2C; }
.ge-rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .ge-rules li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.ge-oui li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #1F6B41; font-weight: 900; } .ge-non li::before { content: '✕'; position: absolute; left: 0; top: 0; color: #9B2C2C; font-weight: 900; }
.ge-help { background: #F4F6FA; border-radius: 14px; padding: 12px 16px; font-size: 15px; color: var(--ink-2); margin-bottom: 18px; } .ge-help a { color: #13233F; font-weight: 700; }
.ge-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; } .ge-cta .big { width: auto; padding-inline: 36px; }
.ge-link { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: #fff; border: 2px solid #E6DCC8; border-radius: 16px; padding: 14px 18px; margin: 0 0 16px; cursor: pointer; font: inherit; color: inherit; }
.ge-link > span:first-child { font-size: 28px; } .ge-link > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .ge-link b { color: #13233F; font-size: 16px; } .ge-link small { color: var(--ink-2); font-size: 13px; }
.ge-link i { font-style: normal; color: #B07A2A; font-weight: 800; font-size: 20px; } .ge-link:hover { border-color: #C99A55; }
@media (max-width: 700px) { .ge-rules { grid-template-columns: 1fr; } .ge-cta .big { width: 100%; } }
@media (min-width: 900px) { body.has-side main .ge-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } body.has-side main .ge-link { max-width: none; } }
/* Guide éleveur, version courte (focus livraison) */
.ge2-lead { font-size: 20px; color: var(--ink); margin: 4px 0 22px; } .ge2-lead b { color: #13233F; }
.ge2-tl { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.ge2-tl::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 21px; height: 3px; background: linear-gradient(90deg, #C99A55 0 50%, #13233F 50% 100%); }
.ge2-tl li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 8px; }
.ge2-j { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: #fff; color: #B07A2A; border: 3px solid #C99A55; margin-bottom: 8px; }
.ge2-tl li.j1 .ge2-j { background: #13233F; color: #E8C98F; border-color: #13233F; }
.ge2-h { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); } .ge2-tl b { font-size: 16px; color: #13233F; line-height: 1.3; }
.ge2-r { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ge2-r li { background: #fff; border: 1.5px solid #E6DCC8; border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--ink); }
.ge-lic { flex: 0 0 auto; background: #13233F; color: #E8C98F; font-weight: 800; font-size: 13px; border-radius: 10px; padding: 8px 10px; }
@media (max-width: 700px) {
  .ge2-lead { font-size: 17px; }
  .ge2-tl { grid-template-columns: 1fr; gap: 14px; } .ge2-tl::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; background: linear-gradient(180deg, #C99A55 0 50%, #13233F 50% 100%); }
  .ge2-tl li { flex-direction: row; text-align: left; align-items: center; gap: 12px; padding: 0; } .ge2-j { margin: 0; flex: 0 0 44px; }
  .ge2-tl li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; } .ge2-j { grid-row: 1 / span 2; } .ge2-h, .ge2-tl b { grid-column: 2; }
}
.ge2-k { margin: 6px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.ge2-r2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.ge2-c { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 2px solid #E9E2D4; border-radius: 16px; padding: 18px; }
.ge2-ci { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.ge2-ci svg { width: 24px; height: 24px; }
.ge2-c.ok .ge2-ci { background: #E6F4EC; color: #1F6B41; } .ge2-c.ko .ge2-ci { background: #FBE9E7; color: #B23A2E; } .ge2-c.mu .ge2-ci { background: #13233F; color: #E8C98F; }
.ge2-c b { display: block; font-size: 18px; color: #13233F; margin-bottom: 4px; } .ge2-c p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
@media (max-width: 900px) { .ge2-r2 { grid-template-columns: 1fr; gap: 10px; } .ge2-c { padding: 14px; } }
.ge2-two { margin-bottom: 24px; } .ge2-two .g-box { padding: 30px 20px; } .ge2-two .g-box b { font-size: 26px; } .ge2-two .g-ic { font-size: 46px; }
@media (min-width: 900px) { body.has-side main .ge2-two { max-width: 1000px !important; } body.has-side main .ge2-r2 { max-width: none; } }
@media (max-width: 700px) { .ge2-two .g-box { padding: 16px 8px; } .ge2-two .g-box b { font-size: 16px; } .ge2-two .g-ic { font-size: 30px; } }
.sire-h { display: block; margin-top: 4px; font-size: 12.5px; color: #8A5A12; font-weight: 600; }
/* Ordinateur portable / fenêtre moyenne (900–1199 px) : même mise en page « ordinateur », plus compacte */
@media (min-width: 900px) and (max-width: 1199px) {
  body.has-side:not(.on-landing) > main { padding: 28px 28px 40px !important; }
  body.has-side:not(.on-landing) > .app-foot { margin-left: 232px !important; margin-right: 0 !important; padding-inline: 28px; }
  body.has-side main .cards { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
  body.has-side main .histo, body.has-side main .dls, body.has-side main .ntl, body.has-side main .sl-l { grid-template-columns: 1fr; }
  body.has-side main .mares { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  body.has-side main .haras-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  body.has-side main .choices.cat { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  body.has-side main .wiz, body.has-side main .wiz.wide { grid-template-columns: 190px minmax(0, 1fr) !important; gap: 24px; }
  body.has-side main .wiz-main .nav .big { min-width: 180px; padding-inline: 24px; }
  body.has-side main .hub-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; max-width: none !important; gap: 14px; }
  body.has-side main .hub-cards.three .lp-c { min-height: 170px; display: flex; flex-direction: column; padding: 20px; }
  body.has-side main .hub-cards.three .lp-c i { margin-top: auto; }
  body.has-side main .sheet > .big, body.has-side main .fiche > .big { min-width: 0; width: 100%; }
  body.has-side main .rj-ck { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.has-side main .ge2-r2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.has-side main .ge2-c { flex-direction: column; gap: 10px; }
  .toast { right: 24px !important; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  body.has-side main .sheet { grid-template-columns: 1fr; }
  body.has-side main h1.pt, body.has-side main .q-title { font-size: 40px; }
  body.has-side main .hello h1, body.has-side main .hello .pt { font-size: 38px; }
}
@media (min-width: 900px) and (max-height: 700px) { body.has-side main h1.pt, body.has-side main .q-title { font-size: 38px; margin-bottom: 10px; } }
/* Accueil ordinateur : un peu plus grand (zoom), selon la place disponible */
@media (min-width: 861px) and (min-height: 640px) { body.on-landing .lp-main { zoom: 1.12; } }
@media (min-width: 1100px) and (min-height: 760px) { body.on-landing .lp-main { zoom: 1.2; } }
@media (min-width: 1400px) and (min-height: 860px) { body.on-landing .lp-main { zoom: 1.3; } }
@media (min-width: 1800px) and (min-height: 1000px) { body.on-landing .lp-main { zoom: 1.45; } }
/* Menu de gauche plus large et proportionné à l'écran (ordinateur ≥ 1200 px) */
@media (min-width: 1200px) {
  body.has-side:not(.on-landing) { --sw: clamp(300px, 19vw, 400px); }
  body.has-side:not(.on-landing) .side { width: var(--sw); padding: 34px 26px 26px; gap: 8px; }
  body.has-side:not(.on-landing) > main { margin-left: var(--sw) !important; padding: 44px clamp(40px, 4vw, 88px) 56px !important; }
  body.has-side:not(.on-landing) > main > * { max-width: 1480px !important; }
  body.has-side:not(.on-landing) > .app-foot { margin-left: calc(var(--sw) + clamp(40px, 4vw, 88px)) !important; margin-right: clamp(40px, 4vw, 88px) !important; }
  body.has-side .sn-brand img { width: 48px; height: 48px; } body.has-side .sn-brand span { font-size: 16px; }
  body.has-side .sn-space { font-size: 12.5px; margin: 22px 12px 16px; }
  body.has-side .sn-i { font-size: 17px; padding: 14px 16px; border-radius: 12px; }
  body.has-side .sn-sep { margin: 12px 10px; }
  body.has-side .sn-foot { padding: 18px 12px 0; } body.has-side .sn-who b { font-size: 17px; }
  .toast { right: 32px !important; }
}
/* ===== Accueil éleveur : tableau de bord ===== */
.hub2 { display: flex; flex-direction: column; gap: 18px; }
.h2-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.h2-hello { margin: 4px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(32px, 3.4vw, 48px); color: #5B6478; line-height: 1.05; } .h2-hello b { font-weight: 600; color: #13233F; }
.h2-guide { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 2px solid #E6DCC8; border-radius: 999px; padding: 6px 16px 6px 6px; font: inherit; font-weight: 800; font-size: 14px; color: #13233F; cursor: pointer; }
.h2-guide .ge-lic { padding: 6px 8px; font-size: 12px; } .h2-guide:hover { border-color: #C99A55; }
.h2-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.h2-hero { background: #13233F; color: #fff; border-radius: 20px; padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; position: relative; overflow: hidden; }
.h2-hero::after { content: 'J+1'; position: absolute; right: -10px; bottom: -34px; font: 800 160px/1 Manrope, sans-serif; color: rgba(255,255,255,.04); pointer-events: none; }
.h2-hero.ko { background: #7A2318; }
.h2-k { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #E8C98F; }
.h2-big { margin: 2px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.05; font-weight: 600; }
.h2-big::first-letter { text-transform: uppercase; }
.h2-sub { margin: 6px 0 14px; font-size: 16px; color: rgba(255,255,255,.82); } .h2-sub b { color: #fff; }
.h2-hero .big { width: auto; padding-inline: 30px; margin-top: auto; }
.h2-tiles { display: grid; grid-template-rows: repeat(3, 1fr); gap: 12px; }
.h2-t { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; background: #fff; border: 2px solid #EAE3D5; border-radius: 16px; padding: 14px 18px; cursor: pointer; font: inherit; color: inherit; }
.h2-t:hover { border-color: #C99A55; }
.h2-t b { grid-row: 1 / span 2; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 44px; line-height: 1; color: #13233F; min-width: 44px; text-align: center; }
.h2-t span { font-weight: 800; color: #13233F; font-size: 15px; } .h2-t small { grid-column: 2; color: var(--ink-2); font-size: 13px; }
.h2-t i { grid-column: 3; grid-row: 1 / span 2; font-style: normal; color: #B07A2A; font-weight: 800; font-size: 18px; }
.h2-list { background: #fff; border: 2px solid #EAE3D5; border-radius: 20px; padding: 18px 20px; }
.h2-lh { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; } .h2-lh h2 { margin: 0; font-size: 18px; color: #13233F; }
.h2-minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.h2-empty { margin: 0; color: var(--ink-2); font-size: 15px; }
.hub2 .hub-more { margin-top: 0; }
@media (max-width: 899px) {
  .h2-grid { grid-template-columns: 1fr; } .h2-tiles { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .h2-t { grid-template-columns: 1fr; text-align: center; padding: 12px 6px; justify-items: center; row-gap: 2px; } .h2-t b { grid-row: auto; font-size: 34px; } .h2-t small, .h2-t i { display: none; } .h2-t span { font-size: 12.5px; }
  .h2-hero .big { width: 100%; } .h2-hero::after { font-size: 110px; }
  .h2-guide { order: -1; }
}
@media (min-width: 900px) { body.has-side main .hub2 { max-width: 1320px !important; } }
.hub.hub2 { text-align: left; align-items: stretch; width: 100%; max-width: none; }
.hub.hub2 > * { width: 100%; max-width: none; }
.hub.hub2 .h2-top > div { text-align: left; } .hub.hub2 .hub-eyebrow { margin: 0; display: inline-block; }
.hub.hub2 .h2-hello { text-align: left; }
.hub.hub2 .h2-hero { text-align: left; }
@media (min-width: 900px) { body.has-side main .hub.hub2 { max-width: 1320px !important; } }
@media (max-width: 899px) { .hub.hub2 .h2-top { flex-direction: column; align-items: flex-start; } }
@media (max-width: 899px) { .h2-hero .big { font-size: 17px; white-space: nowrap; padding-inline: 12px; } .h2-guide { order: 0; } }
/* ===== Menu éleveur organisé ===== */
body.has-side .sn-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 4px 0 14px; padding: 14px 16px; border: 0; border-radius: 14px; background: #C99A55; color: #13233F; font: 800 16px Manrope, sans-serif; cursor: pointer; }
body.has-side .sn-cta svg { width: 20px; height: 20px; } body.has-side .sn-cta:hover, body.has-side .sn-cta.on { background: #E0B26A; }
body.has-side .sn-g { margin: 16px 14px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
body.has-side .sn-i.sn-r { display: flex; align-items: center; gap: 12px; }
body.has-side .sn-ic { width: 20px; height: 20px; flex: 0 0 20px; opacity: .85; } body.has-side .sn-ic svg { width: 20px; height: 20px; }
body.has-side .sn-tx { flex: 1; } body.has-side .sn-b { font-style: normal; background: #C99A55; color: #13233F; font-size: 12px; font-weight: 800; border-radius: 99px; padding: 1px 8px; }
body.has-side .sn-i.on .sn-b { background: #13233F; color: #fff; }
/* ===== Accueil éleveur doux et pédagogique ===== */
.hub.hub3 { text-align: left; align-items: stretch; gap: 18px; width: 100%; max-width: none; }
.hub.hub3 > * { width: 100%; max-width: none; }
.h3-hello { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: clamp(34px, 3.2vw, 46px); color: #13233F; line-height: 1.05; }
.h3-q { margin: 4px 0 0; font-size: 17px; color: var(--ink-2); }
.h3-alert { display: flex; align-items: center; gap: 14px; text-align: left; background: #FFF6E8; border: 2px solid #F0D6A8; border-radius: 16px; padding: 12px 16px; cursor: pointer; font: inherit; color: inherit; }
.h3-ai { width: 30px; height: 30px; border-radius: 50%; background: #C77A1E; color: #fff; display: grid; place-items: center; font-weight: 900; flex: 0 0 30px; }
.h3-alert .ha-t { flex: 1; display: flex; flex-direction: column; } .h3-alert b { color: #6B4210; } .h3-alert small { color: #8A5A12; } .h3-alert .go { font-weight: 800; color: #6B4210; white-space: nowrap; }
.h3-card { background: #fff; border: 1.5px solid #ECE5D7; border-radius: 22px; padding: clamp(18px, 2vw, 28px); box-shadow: 0 6px 24px rgba(19,35,63,.05); }
.h3-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; background: linear-gradient(135deg, #FFFFFF 0%, #FBF6EC 100%); }
.h3-left { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.h3-k { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B07A2A; } .h3-k.ko { color: #B23A2E; }
.h3-t { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: clamp(30px, 3vw, 44px); color: #13233F; line-height: 1.08; }
.h3-t::first-letter { text-transform: uppercase; }
.h3-s { margin: 2px 0 14px; font-size: 16px; color: var(--ink-2); } .h3-s b { color: #13233F; }
.h3-left .big { width: auto; padding-inline: 32px; }
.h3-right { background: #F7F4EE; border-radius: 16px; padding: 16px; }
.h3-k2 { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.h3-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.h3-checks button { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1.5px solid #ECE5D7; border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.h3-checks button:hover { border-color: #C99A55; }
.h3-ck { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; background: #FDEBD3; color: #B06A10; }
.h3-checks .ok .h3-ck { background: #DFF1E6; color: #1F6B41; }
.h3-checks b { display: block; font-size: 15px; color: #13233F; } .h3-checks small { color: var(--ink-2); font-size: 13px; }
.h3-lh { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; } .h3-lh h2 { margin: 0; font-size: 19px; color: #13233F; }
.h3-ds { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.h3-d { display: flex; align-items: center; gap: 12px; text-align: left; background: #FAF8F4; border: 1.5px solid #EFE9DD; border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; }
.h3-d:hover { border-color: #C99A55; background: #fff; }
.h3-di { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; } .h3-di svg { width: 22px; height: 22px; }
.h3-di.wait { background: #F1ECE2; color: #8A6A3A; } .h3-di.go { background: #E3ECF7; color: #1E4C8A; } .h3-di.ok { background: #DFF1E6; color: #1F6B41; } .h3-di.ko { background: #FBE4E1; color: #B23A2E; }
.h3-dt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .h3-dt b { color: #13233F; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .h3-dt small { color: var(--ink-2); font-size: 13px; }
.h3-dots { display: flex; gap: 4px; } .h3-dots i { width: 8px; height: 8px; border-radius: 50%; background: #E2DBCD; } .h3-dots i.on { background: #2E8B57; }
.h3-empty { margin: 0; color: var(--ink-2); font-size: 15px; }
.h3-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.h3-q2 { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left; background: #fff; border: 1.5px solid #ECE5D7; border-radius: 18px; padding: 14px 16px; cursor: pointer; font: inherit; color: inherit; }
.h3-q2:hover { border-color: #C99A55; }
.h3-q2 > span { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; background: #F4EEE2; color: #8A6A3A; display: grid; place-items: center; } .h3-q2 svg { width: 22px; height: 22px; }
.h3-q2 b { font-size: 15px; color: #13233F; } .h3-q2 small { color: var(--ink-2); font-size: 13px; }
@media (min-width: 900px) { body.has-side main .hub.hub3 { max-width: 1240px !important; } }
@media (max-width: 899px) {
  .h3-main { grid-template-columns: 1fr; } .h3-left .big { width: 100%; }
  .h3-quick { grid-template-columns: 1fr; gap: 8px; } .h3-ds { grid-template-columns: 1fr; }
}
