:root {
  --orange: #DE7927;
  --orange-dark: #b85f17;
  --orange-soft: #fbe9da;
  --ink: #1a1a1a;
  --muted: #6b6259;
  --cream: #FFFDFB;
  --card: #ffffff;
  --line: #ece4dc;
  --ok: #2f7d4a;
  --ok-soft: #e3f2e8;
  --warn: #9a6200;
  --warn-soft: #fff3d6;
  --bad: #b3261e;
  --bad-soft: #fde7e5;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--orange-dark); }
h1 { font-size: 1.35rem; margin: 0 0 12px; }
h2 { font-size: 1.1rem; margin: 20px 0 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: .875rem; }

.topbar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: var(--ink); color: #fff;
}
.brand { color: var(--orange); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.who { margin-left: auto; font-size: .85rem; opacity: .85; text-align: right; }
/* Indicateur hors ligne / actions en attente */
.net { margin-left: auto; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap;
  text-decoration: none; background: var(--orange-soft); color: var(--orange-dark); }
.net.off { background: var(--warn-soft); color: var(--warn); }
.net.bad { background: var(--bad-soft); color: var(--bad); }
.net:not([hidden]) + .who { margin-left: 10px; }
.icon-btn { background: none; border: 0; color: #fff; font-size: 1.4rem; padding: 4px 8px; cursor: pointer; }
.drawer {
  position: fixed; top: 52px; left: 0; bottom: 0; width: min(280px, 85vw); z-index: 9; overflow-y: auto;
  background: var(--card); border-right: 1px solid var(--line); padding: 8px 0; box-shadow: 4px 0 16px rgb(0 0 0 / .08);
}
.drawer a { display: block; padding: 12px 20px; color: var(--ink); text-decoration: none; }
.drawer a.active { background: var(--orange-soft); color: var(--orange-dark); font-weight: 600; }
.drawer hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }

main { max-width: 960px; margin: 0 auto; padding: 16px 16px 80px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 12px;
}
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kpi .label { font-size: .8rem; color: var(--muted); }
.kpi .value { font-size: 1.3rem; font-weight: 700; }
.kpi .sub { font-size: .8rem; color: var(--muted); }

.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.list > li:last-child { border-bottom: 0; }
.row { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.row > .grow { flex: 1 1 auto; min-width: 0; }
a.item { display: block; color: inherit; text-decoration: none; }

.badge {
  display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: var(--line); color: var(--ink); white-space: nowrap;
}
.badge.validee, .badge.a_valider { background: var(--warn-soft); color: var(--warn); }
.badge.en_preparation, .badge.prete, .badge.creneau_confirme, .badge.assignee, .badge.en_route { background: var(--orange-soft); color: var(--orange-dark); }
.badge.livree, .badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.echec, .badge.annulee, .badge.bad { background: var(--bad-soft); color: var(--bad); }

form { display: grid; gap: 12px; }
label { display: grid; gap: 4px; font-size: .9rem; font-weight: 500; }
input, select, textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #d8cdc2; border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.check input { width: auto; }
.two { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }

.btn {
  display: inline-block; font: inherit; font-weight: 600; padding: 11px 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--orange); background: var(--orange); color: #fff; text-align: center; text-decoration: none;
}
.btn:hover { background: var(--orange-dark); }
.btn.secondary { background: #fff; color: var(--orange-dark); }
.btn.danger { background: #fff; color: var(--bad); border-color: var(--bad); }
.btn.small { padding: 6px 10px; font-size: .85rem; }
.btn:disabled { opacity: .5; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; }
td.num, th.num { text-align: right; white-space: nowrap; }
.scroll { overflow-x: auto; }

.qty { display: flex; align-items: center; gap: 6px; }
.qty input { width: 56px; text-align: center; padding: 6px; }
.qty button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #d8cdc2; background: #fff; font-size: 1.1rem; cursor: pointer; }

.code-box { font-size: 1.8rem; letter-spacing: .3em; font-weight: 700; text-align: center; }
.alert { padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); margin-bottom: 12px; }
.alert.bad { background: var(--bad-soft); color: var(--bad); }

.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 20; max-width: calc(100% - 32px);
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: 0 6px 20px rgb(0 0 0 / .2);
}
.toast.bad { background: var(--bad); }

.login { max-width: 380px; margin: 8vh auto 0; }
.login .logo { text-align: center; color: var(--orange); font-size: 2rem; font-weight: 800; margin-bottom: 4px; }

@media (min-width: 900px) {
  .drawer { top: 52px; box-shadow: none; }
  .drawer[hidden] { display: block; }
  #menu-btn { display: none; }
  body.authed main { margin-left: 280px; }
}

/* ---------- Boutique client ---------- */
.btn.block { display: block; width: 100%; }
.shop-bar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: var(--cream); border-bottom: 1px solid var(--line);
}
.shop-bar .brand { font-size: 1.4rem; }
.shop-nav { display: flex; gap: 16px; align-items: center; font-size: .9rem; }
.shop-nav a { color: var(--ink); text-decoration: none; }
.cart-link { font-weight: 600; }
.cart-count {
  display: inline-block; min-width: 22px; padding: 1px 6px; border-radius: 999px; text-align: center;
  background: var(--orange); color: #fff; font-size: .8rem;
}
.hero { padding: 28px 0 8px; }
.hero h1 { font-size: 1.7rem; line-height: 1.2; margin-bottom: 8px; }
.hero p { color: var(--muted); max-width: 560px; }
.products { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.product {
  display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px;
}
.product h3 { font-size: .95rem; margin: 6px 0 0; }
.product .btn { margin-top: auto; }
.price { font-weight: 700; color: var(--orange-dark); margin: 0; }
.pic { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--orange-soft); display: block; }
.pic.placeholder { display: grid; place-items: center; font-size: 2.4rem; font-weight: 700; color: var(--orange); }
.pic.big { max-width: 420px; }
.detail { display: grid; gap: 16px; }
.slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); margin-top: 8px; }
.slot { display: block; font-weight: 400; cursor: pointer; }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slot span { display: block; padding: 10px; border: 1px solid #d8cdc2; border-radius: 10px; text-align: center; background: #fff; }
.slot input:checked + span { border-color: var(--orange); background: var(--orange-soft); box-shadow: 0 0 0 1px var(--orange); }
.slot input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.steps { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 0; }
.steps li { position: relative; padding: 6px 0 6px 28px; color: var(--muted); }
.steps li::before {
  content: ""; position: absolute; left: 6px; top: 11px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #d8cdc2; background: #fff;
}
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--ok); border-color: var(--ok); }
.steps li.current { color: var(--ink); font-weight: 700; }
.steps li.current::before { background: var(--orange); border-color: var(--orange); }
.how ol { padding-left: 20px; margin: 0; }
.shop-footer { text-align: center; color: var(--muted); font-size: .8rem; padding: 24px 16px 40px; }
@media (min-width: 700px) {
  .detail { grid-template-columns: minmax(0, 420px) 1fr; align-items: start; }
}

/* Nom de marque : « Cosmetic » plus discret à côté de « Nũra'a ». */
.brand span, .logo span { font-weight: 400; opacity: .85; }
.brand { white-space: nowrap; }

/* Accueil : origine en étiquette, slogan de la marque en titre. */
.hero .origin { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; }

/* Accueil : photo d'ambassadrice. Téléphone : photo au-dessus du texte ; grand écran : côte à côte. */
.hero { display: grid; gap: 18px; align-items: center; }
.hero-photo { width: 100%; height: auto; max-height: 560px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 18px; background: #F3D9CC; }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-photo { order: 2; aspect-ratio: 1 / 1; }
}

/* « Voir comme… » : bandeau et actions grisées */
.view-as-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; box-shadow: 0 -4px 16px rgba(0,0,0,.2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between;
  padding: 8px 16px; background: var(--ink); color: #fff; font-size: .9rem; }
.view-as-bar .btn { background: var(--orange); }
body.read-only main form button[type=submit], body.read-only main [data-to], body.read-only #checkout { opacity: .45; }

.badge.channel { background: #eef0f6; color: #3a4466; }
.kpi .value.small-value { font-size: 1.05rem; color: var(--orange-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.chip { border: 1px solid #d8cdc2; background: #fff; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); }
.chip.on { background: var(--orange); border-color: var(--orange); color: #fff; }
label.inline { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.ok-alert { background: var(--ok-soft); color: var(--ok); }

/* Caisse de la boutique : grandes touches pour tablette */
.pos { display: grid; gap: 16px; }
@media (min-width: 900px) { .pos { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .pos-cart { position: sticky; top: 70px; } }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pos-tile { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); font: inherit; color: var(--ink); cursor: pointer; min-height: 120px; }
.pos-tile:active { transform: scale(.98); }
.pos-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--orange-soft); }
.pos-tile.out { border-color: var(--bad-soft); }
.pos-tile.out .pos-stock { color: var(--bad); }
.pos-name { font-weight: 600; font-size: .9rem; line-height: 1.25; }
.pos-price { color: var(--orange-dark); font-weight: 700; }
.pos-stock { font-size: .78rem; color: var(--muted); }
.pos-total { font-size: 1.2rem; padding: 10px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.pos-cart .btn.block { margin-top: 8px; }
.pos-client { margin: 10px 0; }
.pos-client summary { cursor: pointer; font-size: .9rem; color: var(--orange-dark); }
.receipt { border: 2px solid var(--ok); }
#pos-search { margin-bottom: 4px; }
body.read-only main { padding-bottom: 90px; }
body.read-only .toast { bottom: 84px; }
.pos-jump { display: none; }
@media (max-width: 899px) {
  .pos-jump { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; justify-content: space-between;
    align-items: center; padding: 14px 18px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
    font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
  .pos-jump[hidden] { display: none; }
  .pos { padding-bottom: 70px; }
  body.read-only .pos-jump { bottom: 84px; }
}
a.chip { text-decoration: none; display: inline-block; }

/* Bilan : graphique en colonnes, légende, infobulle, impression */
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; }
.chart .axis { font-size: 11px; fill: var(--muted); }
.chart .bucket { cursor: pointer; }
.chart .bucket.dim path { opacity: .35; }
.legend { display: flex; gap: 14px; font-size: .85rem; color: var(--muted); }
.legend i, .chart-tip i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart-tip { position: absolute; top: 4px; width: 190px; padding: 8px 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.12); font-size: .82rem; pointer-events: none; }
.two-cards { display: grid; gap: 12px; }
@media (min-width: 760px) { .two-cards { grid-template-columns: 1fr 1fr; } }
.print-title { display: none; }
@media print {
  .topbar, .drawer, .no-print, .chips, .toast, #net, .view-as-bar { display: none !important; }
  .print-title { display: block; }
  body, main { background: #fff; padding: 0; margin: 0; }
  .card { break-inside: avoid; box-shadow: none; }
}
@media print {
  details:not([open]), .actions, [data-ecancel], [data-ephoto] { display: none !important; }
  .grid { grid-template-columns: repeat(4, 1fr) !important; }
  h1 { margin-top: 0; }
  a { color: inherit; text-decoration: none; }
}

/* Barres horizontales */
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(110px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.hbar-label { overflow-wrap: anywhere; }
.hbar-track { height: 14px; background: #f5efe9; border-radius: 4px; overflow: hidden; }
.hbar-fill { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.hbar-value { font-weight: 600; white-space: nowrap; text-align: right; }
.hbar-value .muted { font-weight: 400; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 5px 0 4px; vertical-align: -1px; }
@media (max-width: 520px) { .hbar { grid-template-columns: 1fr auto; } .hbar-track { grid-column: 1 / -1; order: 3; } }
@media print { .hbar-track, .hbar-fill, .key { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Boutique : même barre noire que l'espace équipe (marque en orange), et pied de page assorti */
.shop-bar { background: var(--ink); border-bottom: 0; color: #fff; }
.shop-nav a { color: #fff; opacity: .92; }
.shop-nav a:hover { opacity: 1; color: var(--orange); }
.shop-footer { background: var(--ink); color: rgba(255,255,255,.75); margin-top: 32px; }
.shop-nav a { white-space: nowrap; }
@media (max-width: 480px) { .hide-sm { display: none; } .shop-bar .brand { font-size: 1.25rem; } }

/* Boutique : menu déroulant « Boutique » */
.dropdown { position: relative; }
.menu-btn { background: none; border: 0; color: #fff; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; padding: 6px 0; }
.menu-btn:hover { color: var(--orange); }
.menu { position: absolute; right: -60px; top: calc(100% + 10px); min-width: 240px; background: #fff; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18); padding: 6px; z-index: 30; }
.shop-nav .menu a { display: block; color: var(--ink); opacity: 1; padding: 10px 12px; border-radius: 8px; font-weight: 600; white-space: normal; }
.shop-nav .menu a span { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.shop-nav .menu a:hover { background: var(--orange-soft); color: var(--ink); }
@media (max-width: 480px) { .menu { right: -110px; } }

/* Boutique : page d'accueil de la marque */
.serif { font-family: Georgia, 'Times New Roman', serif; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--orange-dark); margin-bottom: 4px; }
.shop main section { margin: 40px 0; }
.brand-story { display: grid; gap: 24px; align-items: center; }
.brand-story p { line-height: 1.65; }
.mission { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.mission p { font-family: Georgia, serif; font-style: italic; font-size: 1.15rem; line-height: 1.55; margin: 0; }
.mission .eyebrow { color: var(--orange); }
@media (min-width: 760px) { .brand-story { grid-template-columns: 1.3fr 1fr; gap: 40px; } }
.values { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 12px; }
.value h3 { margin: 6px 0; font-size: 1rem; }
.value p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.value-num { font-family: Georgia, serif; font-size: 1.5rem; color: var(--orange); font-weight: 700; }
.cta-band { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: var(--orange-soft); }
.cta-band h2 { margin-top: 0; }
.page-head { margin: 20px 0 8px; }
.page-head h1 { margin: 0 0 6px; }
.gamme { display: grid; gap: 16px; margin-bottom: 16px; }
.gamme h2 a, .gamme li a { color: var(--ink); }
@media (min-width: 640px) { .gamme { grid-template-columns: 220px 1fr; } }
.shop main h2.serif, .page-head h1.serif { font-size: 1.7rem; line-height: 1.2; margin: 4px 0 12px; }
.cta-band h2.serif { font-size: 1.5rem; }
.menu-btn { white-space: nowrap; }
@media (max-width: 480px) { .shop main h2.serif, .page-head h1.serif { font-size: 1.4rem; } .shop-nav { gap: 12px; } }

/* Pied de page : contact et mention de conception */
.shop-footer a { color: #fff; }
.shop-footer .footer-title { color: var(--orange); font-weight: 700; margin-bottom: 4px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; }
.footer-links span { opacity: .5; }
.credit { font-size: .75rem; opacity: .7; margin-top: 12px; }
.credit a { color: inherit; text-decoration: underline; }
.login + .credit, main > .credit { color: var(--muted); }
.topbar[hidden] { display: none; }
body:not(.authed) .drawer { display: none !important; }

/* Champ photo : aperçu et bouton d'envoi */
.photo-field { border: 1px dashed var(--line); border-radius: 10px; padding: 10px; margin: 8px 0; }
.photo-preview { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--orange-soft); }
.file-btn { cursor: pointer; margin: 0; }

/* Messages clients */
.msg-body { background: #f6f1ec; border-radius: 8px; padding: 8px 10px; margin: 6px 0; white-space: pre-wrap; }
.msg.urgent { border-left: 3px solid var(--bad); padding-left: 10px; }
.msg.stale { opacity: .6; }
.msg-badge { margin-left: auto; }
.msg-badge + .net:not([hidden]) { margin-left: 8px; }
.msg-badge.bad { background: var(--bad); color: #fff; }
.topbar .brand { margin-right: auto; }
.topbar .who, .topbar .net { margin-left: 10px; }
.promo-row { display: flex; gap: 8px; align-items: flex-end; }
.promo-row .btn { margin-bottom: 2px; }
.tpl { border-top: 1px solid var(--line); padding: 10px 0; }

/* Ma routine */
.diag .q { font-weight: 600; margin: 14px 0 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 8px 14px; border: 1px solid #d8cdc2; border-radius: 999px; cursor: pointer; background: #fff; }
.choice input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.diag .btn { margin-top: 16px; }
.routine table { width: 100%; font-size: .9rem; }
.usage { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .88rem; margin: 8px 0; }
.usage dt { font-weight: 600; color: var(--orange-dark); }
.usage dd { margin: 0; }
.my-product { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.my-product .pic { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.soon { color: var(--warn); font-weight: 600; }
.loyalty { background: var(--orange-soft); border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.loyalty .bar { height: 8px; background: #fff; border-radius: 4px; margin: 8px 0; overflow: hidden; }
.loyalty .bar span { display: block; height: 100%; background: var(--orange); }
.reward { margin-top: 8px; padding: 8px; background: #fff; border-radius: 8px; }
.faq details { margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
.routine-band { background: var(--ink); color: #fff; }
.routine-band .eyebrow { color: var(--orange); }
.choice { position: relative; } .choice input { width: 1px; height: 1px; left: 0; top: 0; margin: 0; padding: 0; }
.brand-logo { height: 34px; width: auto; display: block; }
.hero.no-photo { grid-template-columns: 1fr !important; text-align: center; padding: 48px 0; }
.hero.no-photo .hero-text p { margin-left: auto; margin-right: auto; }
.hero.no-photo .actions { justify-content: center; }
.consent .check { align-items: flex-start; margin: 6px 0; }
.privacy h2 { font-size: 1.05rem; margin-top: 18px; }
.shop-footer .credit a { color: inherit; }
.momo-box { background: #fff8e6; border-color: #f3d58a; }
/* Petit écran : le badge des messages passe avant le nom de la personne connectée. */
.topbar .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-badge { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 480px) { .msg-badge:not([hidden]) ~ .who { display: none; } }
/* Un bloc masqué reste masqué même s'il est en grille. */
.two[hidden], .grid[hidden] { display: none; }
.role-pick { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 8px 0 12px; }
.role-pick label { border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; margin: 0; }
.role-pick label:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
.role-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role-pick strong { display: block; }
.registry td, .registry th { white-space: nowrap; font-size: .85rem; }
@media print { .registry td, .registry th { font-size: 8pt; padding: 2px 4px; } }
.goal-track { height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 8px; }
.goal-track span { display: block; height: 100%; border-radius: 6px; }
.routine-band.with-photo { display: grid; gap: 20px; align-items: center; overflow: hidden; }
.routine-band .band-photo { width: 100%; height: 240px; object-fit: cover; object-position: center 30%; border-radius: var(--radius); }
@media (min-width: 760px) {
  .routine-band.with-photo { grid-template-columns: 1fr 1.2fr; text-align: left; padding: 24px; }
  .routine-band .band-photo { height: 360px; }
}

.price s.was{color:var(--muted,#8a8178);font-weight:400;font-size:.85em;margin-right:.25em}
.offer-badge{display:inline-block;margin:.15rem 0 .35rem;padding:.15rem .55rem;border-radius:999px;background:#fbe9da;color:#8f4810;font-size:.75rem;font-weight:600;letter-spacing:.02em}
