@import url("https://fonts.googleapis.com/css2?family=Onest:wght@400..750&display=swap");
@import url("./product-card-typography.css?v=20261003-onest-product-cards-3");

/* Alias locaux -> jetons partagés de site-foundation.css (source unique).
   Les valeurs de repli gardent l'affichage identique si les jetons manquent. */
:root {
  --health: var(--sc-health, #0f6958);
  --health-deep: var(--sc-health-deep, #0c453b);
  --health-soft: var(--sc-health-soft, #eaf6f2);
  --health-ink: var(--sc-health-ink, #17211f);
  --health-muted: var(--sc-health-muted, #62706c);
  --health-line: var(--sc-health-line, #dbe7e3);
  --health-warm: var(--sc-health-warm, #f5b848);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--health-ink); background:#fbfdfc; font-family:'Amazon Ember',Arial,sans-serif; }
button,input,select,textarea { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
.health-boot { min-height:55vh; display:grid; place-content:center; gap:.7rem; padding:2rem 1rem; color:var(--health-muted); }
.health-dashboard { min-height:calc(100vh - 72px); display:grid; grid-template-columns:250px minmax(0,1fr); background:#f3f8f6; }
.health-dashboard__aside { display:flex; flex-direction:column; gap:1.5rem; padding:1.35rem 1rem; color:#fff; background:var(--health-deep); }
.health-dashboard__brand { display:flex; align-items:center; gap:.7rem; padding:.35rem .45rem 1rem; border-bottom:1px solid rgba(255,255,255,.14); }
.health-dashboard__brand-mark { width:38px; height:38px; display:grid; place-items:center; border-radius:11px; color:var(--health-deep); background:#fff; }
.health-dashboard__brand strong,.health-dashboard__brand small { display:block; }
.health-dashboard__brand strong { font-size:.86rem; }
.health-dashboard__brand small { margin-top:.18rem; color:rgba(255,255,255,.62); font-size:.68rem; }
.health-dashboard__nav { display:grid; gap:.3rem; }
.health-dashboard__nav button,.health-dashboard__aside-bottom a { width:100%; display:flex; align-items:center; gap:.7rem; padding:.7rem .75rem; border:0; border-radius:9px; color:rgba(255,255,255,.72); background:transparent; text-align:left; text-decoration:none; font-size:.78rem; cursor:pointer; }
.health-dashboard__nav button:hover,.health-dashboard__nav button.is-active { color:#fff; background:rgba(255,255,255,.13); }
.health-dashboard__nav button span { margin-left:auto; min-width:1.25rem; padding:.12rem .35rem; border-radius:999px; color:var(--health-deep); background:#b9e6d8; text-align:center; font-size:.68rem; font-weight:800; }
.health-dashboard__nav i,.health-dashboard__aside-bottom i { width:18px; text-align:center; color:#b9e6d8; }
.health-dashboard__aside-bottom { display:grid; gap:.15rem; margin-top:auto; padding-top:1rem; border-top:1px solid rgba(255,255,255,.14); }
.health-dashboard__main { min-width:0; padding:clamp(1rem,3vw,2.2rem); }
.health-dashboard__header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; max-width:1180px; margin:0 auto 1.4rem; }
.health-dashboard__header .health-eyebrow { padding:0; border:0; background:none; color:var(--health); font-size:.7rem; font-weight:800; }
.health-dashboard__header h1 { margin:.35rem 0 .25rem; color:var(--health-ink); font-size:clamp(1.65rem,3vw,2.35rem); letter-spacing:-.035em; }
.health-dashboard__header p { margin:0; color:var(--health-muted); font-size:.92rem; }
.health-dashboard__header .health-btn { color:var(--health-deep); border:1px solid var(--health-line); background:#fff; white-space:nowrap; }
.health-dashboard__quick-actions,.health-dashboard__metrics { max-width:1180px; margin-inline:auto; display:grid; gap:.75rem; }
.health-dashboard__quick-actions { grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:1.1rem; }
.health-dashboard__quick-actions a { min-width:0; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.65rem; padding:.95rem 1rem; color:var(--health-deep); background:#fff; border:1px solid var(--health-line); border-radius:13px; text-decoration:none; font-size:.8rem; font-weight:700; box-shadow:0 6px 16px rgba(15,75,61,.05); }
.health-dashboard__quick-actions a>i:first-child { color:var(--health); font-size:1rem; }
.health-dashboard__quick-actions a>i:last-child { color:var(--health-muted); font-size:.72rem; }
.health-dashboard__metrics { grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:1.2rem; }
.health-dashboard__metrics article { padding:1rem; border:1px solid var(--health-line); border-radius:13px; background:#fff; }
.health-dashboard__metrics span { display:block; color:var(--health-muted); font-size:.72rem; }
.health-dashboard__metrics strong { display:block; margin-top:.4rem; color:var(--health-deep); font-size:1.55rem; }
.health-dashboard__main>#health-space-auth { max-width:1180px; margin:0 auto; padding:1.1rem; border:1px solid var(--health-line); border-radius:15px; background:#fff; }
.health-cart-total { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:1rem; padding:1rem; border:1px solid var(--health-line); border-radius:12px; background:#fff; }
.health-dashboard__main .health-tabs { margin-bottom:1rem; overflow-x:auto; }
@media (max-width:800px){
  .health-dashboard { grid-template-columns:1fr; }
  .health-dashboard__aside { padding:.7rem .8rem; gap:.65rem; }
  .health-dashboard__brand { display:none; }
  .health-dashboard__nav { display:flex; overflow-x:auto; gap:.25rem; }
  .health-dashboard__nav button { width:auto; flex:0 0 auto; white-space:nowrap; padding:.6rem .7rem; }
  .health-dashboard__aside-bottom { display:none; }
  .health-dashboard__main { padding:.85rem; }
  .health-dashboard__quick-actions,.health-dashboard__metrics { grid-template-columns:1fr 1fr; }
  .health-dashboard__header h1 { font-size:1.6rem; }
}
@media (max-width:480px){ .health-dashboard__quick-actions,.health-dashboard__metrics { grid-template-columns:1fr; } .health-dashboard__header .health-btn { padding:.65rem .7rem; font-size:.74rem; } }
@media (max-width:560px){ .health-cart-total { align-items:stretch; flex-direction:column; } }
.health-shell { overflow:hidden; }
.health-hero { position:relative; padding:clamp(1.9rem,3.8vw,2.9rem) 1.25rem clamp(1.7rem,3.2vw,2.4rem); color:#fff; background:radial-gradient(circle at 80% 15%,rgba(245,184,72,.22),transparent 32%),linear-gradient(135deg,#0b3d35,#107461 70%,#14836e); }
.health-hero .health-hero-layout { gap:clamp(1.4rem,4vw,3rem); align-items:center; }
.health-hero .health-hero-visual, .health-hero .health-hero-visual img { min-height:0; }
.health-hero .health-hero-visual { max-height:260px; }
.health-privacy-inline { display:inline-flex; align-items:center; gap:.4rem; margin-left:.5rem; color:rgba(255,255,255,.66); font-size:.82rem; white-space:nowrap; }
.health-wrap { width:min(1180px,100%); margin-inline:auto; }
.health-eyebrow { display:inline-flex; align-items:center; gap:.5rem; padding:.5rem .8rem; border:1px solid rgba(255,255,255,.25); border-radius:999px; background:rgba(255,255,255,.09); font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; }
.health-hero h1 { margin:0 0 .55rem; max-width:640px; font-size:clamp(1.7rem,3.6vw,2.7rem); line-height:1.1; letter-spacing:-.03em; }
.health-hero p { max-width:560px; color:rgba(255,255,255,.82); font-size:clamp(.95rem,1.4vw,1.05rem); line-height:1.55; }
.health-search { margin-top:2rem; max-width:780px; display:flex; align-items:center; gap:.75rem; padding:.65rem; border-radius:18px; background:#fff; box-shadow:0 22px 60px rgba(3,30,25,.28); }
.health-search i { color:var(--health); margin-left:.6rem; }
.health-search input { flex:1; min-width:0; border:0; outline:0; padding:.8rem .25rem; color:var(--health-ink); }
.health-search button,.health-btn { border:0; border-radius:12px; padding:.85rem 1.1rem; font-weight:700; cursor:pointer; transition:.18s ease; }
.health-search button,.health-btn.primary { color:#fff; background:var(--health); }
.health-btn-link { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; }
.health-btn-ghost { color:#fff; border:1px solid rgba(255,255,255,.32); background:rgba(255,255,255,.08); }
.health-hero-actions { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.1rem; }
.health-btn.secondary { color:var(--health-deep); background:var(--health-soft); border:1px solid #cce5dd; }
.health-btn.danger { color:#9b2b2b; background:#fff0f0; }
.health-btn:disabled { opacity:.5; cursor:not-allowed; }
.health-btn:hover:not(:disabled) { transform:translateY(-1px); filter:brightness(.97); }
.health-privacy { margin-top:1.2rem; display:flex; align-items:center; gap:.55rem; color:rgba(255,255,255,.72); font-size:.82rem; }
.health-section { padding:clamp(3.5rem,7vw,6.5rem) 1.25rem; }
.health-section.alt { background:#f0f7f5; border-block:1px solid var(--health-line); }
.health-heading { display:flex; justify-content:space-between; align-items:end; gap:1rem; margin-bottom:1.6rem; }
.health-heading h2 { margin:0; font-size:clamp(1.8rem,4vw,3rem); letter-spacing:-.035em; }
.health-heading p { margin:.5rem 0 0; color:var(--health-muted); line-height:1.6; }
.health-actions-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:1rem; margin-top:-2rem; position:relative; z-index:2; }
.health-action { color:inherit; text-decoration:none; border:1px solid var(--health-line); background:#fff; border-radius:20px; padding:1.2rem; box-shadow:0 12px 35px rgba(25,63,54,.08); transition:.2s ease; cursor:pointer; text-align:left; }
.health-action:hover { transform:translateY(-4px); border-color:#b8d8cf; }
.health-action i { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; color:var(--health); background:var(--health-soft); margin-bottom:1rem; }
.health-action strong { display:block; margin-bottom:.4rem; }
.health-action span { color:var(--health-muted); font-size:.85rem; line-height:1.45; }
.health-tabs { display:flex; gap:.5rem; overflow:auto; padding-bottom:.5rem; margin-bottom:1.3rem; scrollbar-width:thin; }
.health-tab { white-space:nowrap; border:1px solid var(--health-line); background:#fff; color:var(--health-deep); border-radius:999px; padding:.72rem 1rem; cursor:pointer; font-weight:700; }
.health-tab.active { background:var(--health-deep); color:#fff; border-color:var(--health-deep); }
.health-panel[hidden] { display:none; }
.health-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.health-card { border:1px solid var(--health-line); background:#fff; border-radius:18px; padding:1.2rem; box-shadow:0 8px 26px rgba(28,65,56,.05); }
.health-card h3 { margin:.1rem 0 .5rem; }
.health-card p { margin:.35rem 0; color:var(--health-muted); line-height:1.5; }
.health-card .price { color:var(--health-deep); font-size:1.2rem; font-weight:800; }
.health-badge { display:inline-flex; align-items:center; gap:.35rem; padding:.36rem .62rem; border-radius:999px; background:var(--health-soft); color:var(--health-deep); font-size:.74rem; font-weight:800; }
.health-badge.warn { color:#805300; background:#fff4d6; }
.health-badge.danger { color:#972e2e; background:#ffeded; }
.health-card-actions { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1rem; }
.health-medicine-card { display:flex; flex-direction:column; gap:.65rem; }
.health-medicine-card-head { display:flex; align-items:center; justify-content:space-between; gap:.6rem; }
.health-medicine-image { width:64px; height:64px; object-fit:contain; border:1px solid var(--health-line); border-radius:12px; background:#fff; }
.health-medicine-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; color:#0d7665; background:#e7f3ef; font-size:1.05rem; }
.health-medicine-card h3 { margin:.1rem 0 0; }
.health-medicine-meta { margin:0; color:#56736d; font-size:.9rem; }
.health-medicine-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; padding:.75rem 0; border-top:1px solid var(--health-line); border-bottom:1px solid var(--health-line); }
.health-medicine-summary span,.health-medicine-footer>div { display:grid; gap:.2rem; }
.health-medicine-summary small,.health-medicine-stock { color:#718a85; font-size:.72rem; }
.health-medicine-summary strong { font-size:.86rem; font-weight:650; }
.health-medicine-info { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; padding:.7rem 0; border-top:1px solid var(--health-line); border-bottom:1px solid var(--health-line); }
.health-medicine-info span { display:grid; gap:.2rem; }
.health-medicine-info small { color:#718a85; font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; }
.health-medicine-info strong { font-size:.86rem; font-weight:600; }
.health-medicine-footer { display:flex; align-items:center; justify-content:space-between; gap:.7rem; margin-top:auto; }
.health-medicine-footer .price { margin:0; }
.health-form { display:grid; gap:1rem; }
.health-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.health-field { display:grid; gap:.4rem; }
.health-field label { font-size:.82rem; font-weight:800; color:#33443f; }
.health-field input,.health-field select,.health-field textarea { width:100%; border:1px solid #cfded9; border-radius:12px; background:#fff; padding:.82rem .9rem; outline:none; }
.health-field input:focus,.health-field select:focus,.health-field textarea:focus { border-color:var(--health); box-shadow:0 0 0 3px rgba(15,105,88,.1); }
.health-field textarea { min-height:95px; resize:vertical; }
.health-medicine-extra-fields { display:grid; gap:1rem; padding:1.25rem; border:1px solid #d8e8e2; border-radius:18px; background:linear-gradient(145deg,#f7fbf9,#fff); }
.health-medicine-extra-fields__heading h4 { margin:0; color:var(--health-deep); font-size:1.05rem; }
.health-medicine-extra-fields__heading p { margin:.35rem 0 0; color:#687d77; font-size:.88rem; }
.health-medicine-extra-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.health-medicine-extra-grid textarea { min-height:110px; }
.health-notice { border-left:4px solid var(--health); background:var(--health-soft); padding:1rem; border-radius:0 12px 12px 0; color:#29443d; line-height:1.55; }
.health-empty { border:1px dashed #b9cec8; border-radius:18px; padding:2rem; text-align:center; color:var(--health-muted); background:rgba(255,255,255,.5); }
.health-empty i { display:block; color:var(--health); font-size:1.5rem; margin-bottom:.7rem; }
.health-status { min-height:1.2rem; color:var(--health-muted); font-size:.88rem; }
.health-status.error { color:#ad2929; }
.health-status.success { color:#0a7553; }
.health-dialog { width:min(680px,calc(100% - 2rem)); border:0; border-radius:22px; padding:0; box-shadow:0 30px 90px rgba(6,31,25,.3); }
.health-dialog::backdrop { background:rgba(6,26,22,.66); backdrop-filter:blur(3px); }
.health-dialog:has(.health-medicine-detail) { width:min(820px,calc(100% - 2rem)); }
.health-medicine-detail { display:grid; gap:1rem; }
.health-medicine-detail__hero { display:flex; align-items:center; gap:1rem; padding:1rem; border-radius:16px; background:var(--health-soft); }
.health-medicine-detail__hero img { width:104px; height:104px; flex:0 0 auto; object-fit:contain; border:1px solid var(--health-line); border-radius:14px; background:#fff; }
.health-medicine-detail__hero h2 { margin:.25rem 0; }
.health-medicine-detail__hero p { margin:0; color:var(--health-muted); }
.health-medicine-detail__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.65rem; }
.health-medicine-detail__grid>div { display:grid; align-content:start; gap:.3rem; padding:.8rem; border-radius:12px; background:#f5f9f8; overflow-wrap:anywhere; }
.health-medicine-detail__grid small { color:var(--health-muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; }
.health-medicine-detail section { padding:.8rem 0; border-top:1px solid var(--health-line); }
.health-medicine-detail section h3 { margin:0 0 .4rem; font-size:1rem; }
.health-medicine-detail section p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.health-dialog-head { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.2rem 1.35rem; border-bottom:1px solid var(--health-line); }
  .health-dialog-body { padding:1.35rem; max-height:72vh; overflow:auto; }
  .health-icon-btn { border:0; background:#eef4f2; border-radius:50%; width:38px; height:38px; cursor:pointer; }
  .health-dialog-head > .health-icon-btn {
    box-sizing:border-box;
    display:grid;
    place-items:center;
    flex:0 0 44px;
    width:44px;
    min-width:44px;
    max-width:44px;
    height:44px;
    min-height:44px;
    max-height:44px;
    aspect-ratio:1 / 1;
    padding:0;
  }
.health-cart-dialog__head { min-height:86px; padding:1rem 1.3rem; background:linear-gradient(115deg,#fff,#f8fcfa); }
.health-cart-dialog__title { display:flex; align-items:center; gap:.85rem; min-width:0; }
.health-cart-dialog__title>strong { color:#101a35; font-size:clamp(1.2rem,2.4vw,1.55rem); letter-spacing:-.025em; }
.health-cart-dialog__title>strong span { color:#0c755f; }
.health-cart-dialog__mark,.health-cart-notice>span,.health-cart-provider-icon,.health-cart-product__image,.health-cart-total-icon { display:grid; place-items:center; flex:0 0 auto; color:#08715c; background:#e2f5ee; }
.health-cart-dialog__mark { width:52px; height:52px; border-radius:15px; color:#fff; background:#08715c; font-size:1.3rem; }
.health-cart-dialog .health-dialog-head>.health-icon-btn { width:44px; height:44px; color:#101a35; background:#eff4f2; font-size:1.05rem; }
.health-cart-layout { display:grid; gap:.85rem; }
.health-cart-notice { display:flex; align-items:center; gap:.7rem; padding:.8rem .9rem; border:1px solid #a8dacf; border-radius:13px; background:linear-gradient(110deg,#e9f8f3,#f4fbf8); color:#273c4c; }
.health-cart-notice>span { width:38px; height:38px; border-radius:50%; font-size:1.1rem; }
.health-cart-notice p { margin:0; font-size:.92rem; line-height:1.45; }
.health-cart-pharmacy { display:grid; gap:.7rem; margin:0; padding:.8rem; border:1px solid #d8e6e4; border-radius:15px; background:#fbfdfc; }
.health-cart-pharmacy__head { display:grid; grid-template-columns:48px minmax(0,1fr) auto; align-items:center; gap:.7rem; color:#101a35; }
.health-cart-provider-icon { width:48px; height:48px; border-radius:14px; font-size:1.15rem; }
.health-cart-pharmacy__identity { display:grid; gap:.15rem; min-width:0; }
.health-cart-pharmacy__identity strong { font-size:1rem; overflow-wrap:anywhere; }
.health-cart-pharmacy__identity small { color:#8193a2; font-size:.82rem; }
.health-cart-pharmacy__subtotal { padding:.45rem .7rem; border-radius:12px; color:#08644f; background:#e4f7ef; font-size:1.02rem; white-space:nowrap; }
.health-cart-pharmacy__items { display:grid; gap:.45rem; }
.health-cart-product { display:grid; grid-template-columns:88px minmax(0,1fr) auto; align-items:center; gap:.8rem; min-width:0; padding:.45rem; border:1px solid #dfe8e8; border-radius:13px; background:#fff; box-shadow:0 4px 12px rgba(24,54,68,.035); }
.health-cart-product__image { width:88px; height:82px; overflow:hidden; border:1px solid #e2e9e8; border-radius:11px; background:#f5faf8; font-size:1.5rem; }
.health-cart-product__image img { width:100%; height:100%; object-fit:contain; }
.health-cart-product__description { display:grid; gap:.35rem; min-width:0; }
.health-cart-product__description strong { color:#101a35; font-size:.95rem; overflow-wrap:anywhere; }
.health-cart-product__description small { color:#526477; font-size:.88rem; }
.health-cart-product__total { display:grid; place-items:center; align-self:stretch; min-width:72px; padding:.55rem; border-radius:10px; color:#075d4c; background:#e9f8f2; font-size:1.1rem; text-align:center; }
.health-cart-section-title { display:inline-flex; align-items:center; gap:.65rem; color:#075d4c; }
.health-cart-section-title>i { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; background:#e2f5ee; font-size:1.05rem; }
.health-cart-mode { display:inline-flex; align-items:center; gap:.4rem; padding:.45rem .7rem; border-radius:999px; color:#267967!important; background:#e4f7ef; font-size:.78rem!important; }
.health-cart-mode i { color:#108366; }
.health-delivery-checkout .health-form-grid { gap:.7rem .85rem; }
.health-delivery-checkout .health-field { min-width:0; }
.health-delivery-checkout .health-field label { display:block; margin:0 0 .35rem; color:#42576a; font-size:.78rem; font-weight:700; }
.health-cart-input { position:relative; display:flex; align-items:center; min-width:0; }
.health-cart-input>i { position:absolute; left:.8rem; z-index:1; color:#08715c; font-size:.95rem; pointer-events:none; }
.health-cart-input input { min-width:0; min-height:44px; padding:.65rem .75rem .65rem 2.35rem!important; border-color:#dbe6e8!important; border-radius:11px!important; background:#f8fafb!important; color:#16233b!important; }
.health-delivery-checkout select { min-height:44px; border:1px solid #dbe6e8; border-radius:11px; background:#fff; padding:.65rem .75rem; color:#16233b; }
.health-delivery-quote-note { display:flex; align-items:center; gap:.5rem; min-height:0; margin:0; color:#647a83; font-size:.82rem; }
.health-delivery-quote-note>i { color:#08715c; }
.health-delivery-quote-note .health-status { min-height:0; color:inherit; font-size:inherit; }
.health-delivery-quote-note .health-status.error { color:#ad2929; }
.health-delivery-totals { gap:.4rem; padding:.8rem .95rem; border:1px solid #dfebea; border-radius:15px; background:linear-gradient(115deg,#fff,#f8fbfa); }
.health-delivery-totals>div { align-items:center; color:#33445a; font-size:.9rem; }
.health-delivery-totals>div>span { display:inline-flex; align-items:center; gap:.6rem; }
.health-delivery-totals>div>span>i { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; color:#08715c; background:#e5f6ef; }
.health-delivery-totals .health-delivery-totals__grand { margin-top:.25rem; padding-top:.55rem; font-size:1rem; }
.health-delivery-totals__grand strong { font-size:1.45rem; }
.health-cart-payments { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; }
.health-cart-payments>button { display:flex; align-items:center; justify-content:center; gap:.65rem; min-width:0; min-height:58px; padding:.8rem; border:1px solid #8fcdbd; border-radius:13px; color:#075d4c; background:linear-gradient(115deg,#fff,#f4fbf8); font-weight:800; cursor:pointer; }
.health-cart-payments>button>i { font-size:1.2rem; }
.health-cart-payments>button:hover:not(:disabled) { box-shadow:0 7px 17px rgba(8,113,92,.12); }
.health-cart-payments>button:disabled { opacity:.55; cursor:not-allowed; }
.health-cart-payments>.health-cart-payments__moncash { border-color:#08715c; color:#fff; background:linear-gradient(110deg,#08715c,#0c7761); }
.health-cart-clear { display:flex; align-items:center; justify-content:center; gap:.65rem; min-height:50px; border:1px solid #ffc4c7; border-radius:13px; color:#cf202c; background:#fff4f4; font-weight:800; cursor:pointer; }
.health-cart-clear i { font-size:1.05rem; }
.health-cart-clear:hover { background:#ffebec; }
  @media(max-width:560px) {
  .health-cart-dialog__head { min-height:70px; padding:.75rem .85rem; }
  .health-cart-dialog__mark { width:42px; height:42px; border-radius:12px; font-size:1.1rem; }
  .health-cart-dialog__title { gap:.6rem; }
    .health-cart-dialog .health-dialog-head>.health-icon-btn { flex-basis:44px; width:44px; min-width:44px; max-width:44px; height:44px; min-height:44px; max-height:44px; }
  .health-cart-dialog .health-dialog-body { padding:.9rem; }
  .health-cart-layout { gap:.7rem; }
  .health-cart-notice { align-items:flex-start; padding:.7rem; }
  .health-cart-notice p { font-size:.82rem; }
  .health-cart-pharmacy { padding:.65rem; }
  .health-cart-pharmacy__head { grid-template-columns:38px minmax(0,1fr) auto; gap:.5rem; }
  .health-cart-provider-icon { width:38px; height:38px; border-radius:11px; font-size:.95rem; }
  .health-cart-pharmacy__identity strong { font-size:.88rem; }
  .health-cart-pharmacy__identity small { font-size:.72rem; }
  .health-cart-pharmacy__subtotal { padding:.35rem .5rem; font-size:.88rem; }
  .health-cart-product { grid-template-columns:60px minmax(0,1fr) auto; gap:.55rem; padding:.35rem; }
  .health-cart-product__image { width:60px; height:62px; font-size:1.2rem; }
  .health-cart-product__description strong { font-size:.82rem; }
  .health-cart-product__description small { font-size:.76rem; }
  .health-cart-product__total { min-width:58px; padding:.4rem; font-size:.9rem; }
  .health-delivery-checkout { gap:.75rem; padding:.7rem; }
  .health-delivery-checkout__heading { align-items:flex-start; }
  .health-cart-mode { font-size:.68rem!important; }
  .health-cart-section-title { gap:.45rem; font-size:.88rem; }
  .health-cart-section-title>i { width:32px; height:32px; }
  .health-delivery-checkout .health-form-grid { grid-template-columns:1fr; gap:.6rem; }
  .health-delivery-totals { padding:.65rem .75rem; }
  .health-delivery-totals>div { font-size:.82rem; }
  .health-delivery-totals>div>span>i { width:30px; height:30px; }
  .health-delivery-totals__grand strong { font-size:1.2rem; }
  .health-cart-payments { grid-template-columns:1fr; gap:.55rem; }
  .health-cart-payments>button { min-height:48px; }
}
.health-cart { position:fixed; right:1rem; bottom:1rem; z-index:30; border:0; border-radius:999px; padding:.9rem 1.15rem; color:#fff; background:var(--health-deep); box-shadow:0 14px 38px rgba(5,48,40,.3); font-weight:800; cursor:pointer; }
.health-disclaimer { border-top:1px solid var(--health-line); padding:2rem 1.25rem; color:var(--health-muted); background:#fff; font-size:.84rem; line-height:1.6; }
.health-home-statement { padding:clamp(2.4rem,5vw,4rem) 1.25rem; background:#fff; }
.health-home-statement .health-wrap { max-width:780px; margin-left:max(0px,calc((100% - 1180px)/2)); }
.health-home-statement span,.health-subheading span { display:block; color:var(--health); font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.health-home-statement h2 { margin:.5rem 0 .7rem; font-size:clamp(1.5rem,3vw,2.3rem); line-height:1.15; letter-spacing:-.03em; }
.health-home-statement p { margin:0; max-width:650px; color:var(--health-muted); font-size:1rem; line-height:1.75; }
.health-home-directory { padding:clamp(3rem,6vw,5.5rem) 1.25rem; background:#f6faf8; }
.health-home-directory .health-subheading { margin-top:0; }
.health-home-directory .health-subheading--spaced { margin-top:3.25rem; }
.health-home-card { display:flex; min-height:188px; flex-direction:column; }
.health-home-card > p { color:var(--health-muted); margin:.15rem 0 .5rem; line-height:1.45; }
.health-doctor-profile-card { min-height:0; padding:1.35rem; border-radius:24px; box-shadow:0 18px 48px rgba(17,83,70,.09); }
.health-doctor-profile-card__top { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.health-doctor-profile-card__brand { display:flex; align-items:center; gap:.65rem; min-width:0; }
.health-doctor-profile-card__brand > img { width:46px; height:46px; flex:0 0 auto; object-fit:contain; }
.health-doctor-profile-card__brand > span { display:grid; min-width:0; }
.health-doctor-profile-card__brand strong { color:#07517c; font-size:1rem; line-height:1.1; white-space:nowrap; }
.health-doctor-profile-card__brand small { margin-top:.2rem; color:#718186; font-size:.56rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.health-doctor-profile-card__role { display:inline-flex; align-items:center; gap:.48rem; padding:.55rem .72rem; border-radius:999px; color:#174e49; background:#edf8f6; font-size:.78rem; font-weight:800; white-space:nowrap; }
.health-doctor-profile-card__role i { width:10px; height:10px; border-radius:50%; background:#10b981; box-shadow:0 0 0 4px rgba(16,185,129,.1); }
.health-doctor-profile-card__photo { position:relative; display:grid; place-items:center; width:158px; height:158px; margin:1.7rem auto 1.2rem; overflow:hidden; border-radius:50%; color:#fff; background:linear-gradient(145deg,#dff4f0,#eef8f6); }
.health-doctor-profile-card__photo > span { color:#0f6958; font-size:1.6rem; font-weight:900; }
.health-doctor-profile-card__photo > img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center; background:#edf8f6; }
.health-doctor-profile-card__verified { position:relative; z-index:2; display:flex; align-items:center; justify-content:center; gap:.4rem; width:min(220px,82%); min-height:34px; margin:-1.75rem auto 1.15rem; padding:.45rem .85rem; border:1px solid rgba(15,105,88,.1); border-radius:999px; color:#0b5f51; background:rgba(255,255,255,.96); box-shadow:0 9px 24px rgba(12,69,59,.14); font-size:.72rem; font-weight:900; }
.health-doctor-profile-card__verified i { color:#0aa779; font-size:.78rem; }
.health-doctor-profile-card__identity { text-align:center; }
.health-doctor-profile-card__identity h3 { margin:0; color:#081f29; font-size:clamp(1.35rem,2.6vw,1.8rem); letter-spacing:-.035em; }
.health-doctor-profile-card__identity > strong { display:block; margin:.28rem 0 .65rem; color:#087d70; font-size:1rem; }
.health-doctor-profile-card__identity p { display:flex; align-items:center; justify-content:center; gap:.42rem; margin:0; color:#6f8184; }
.health-doctor-profile-card__identity p i { color:#658288; }
.health-doctor-profile-card__languages { display:flex; align-items:center; justify-content:center; gap:.7rem; margin:1.35rem 0 1rem; padding:1rem .5rem 0; border-top:1px solid #dce8e4; }
.health-doctor-profile-card__languages > i { color:#148778; font-size:1.2rem; }
.health-doctor-profile-card__languages > span { display:grid; }
.health-doctor-profile-card__languages small { color:#7b8d90; font-size:.72rem; }
.health-doctor-profile-card__languages strong { margin-top:.1rem; color:#10282d; font-size:.86rem; }
.health-doctor-profile-card__features { display:grid; grid-template-columns:1fr 1fr; gap:.55rem; }
.health-doctor-profile-card__features span { display:flex; align-items:center; justify-content:center; gap:.45rem; min-height:46px; padding:.65rem .55rem; border-radius:13px; color:#174e49; background:#edf8f6; font-size:.76rem; font-weight:800; text-align:center; }
.health-doctor-profile-card__features i { color:#087d70; font-size:.95rem; }
.health-doctor-profile-card__action { display:flex; align-items:center; justify-content:center; gap:.5rem; width:100%; min-height:44px; margin-top:.75rem; border:0; border-radius:13px; color:#fff; background:#087d70; font:inherit; font-size:.8rem; font-weight:800; text-decoration:none; cursor:pointer; }
.health-doctor-profile-card__action:disabled { color:#748783; background:#e9f0ee; cursor:not-allowed; }
.health-card-footer { display:flex; align-items:center; justify-content:space-between; gap:.7rem; margin-top:auto; padding-top:1rem; border-top:1px solid var(--health-line); }
.health-card-footer strong { color:var(--health-deep); font-size:1.05rem; }
.health-card-footer a { color:var(--health); font-weight:800; text-decoration:none; white-space:nowrap; }
.health-page-hero { padding:clamp(2rem,3.5vw,3rem) 1.25rem; color:#fff; background:radial-gradient(circle at 82% 10%,rgba(245,184,72,.17),transparent 28%),linear-gradient(135deg,#092f29,#0f6958); }
.health-page-hero .health-wrap { max-width:1180px; }
.health-page-hero h1 { margin:1rem 0 .7rem; max-width:820px; font-size:clamp(2.25rem,5vw,4.8rem); line-height:1; letter-spacing:-.045em; }
.health-page-hero p { max-width:680px; margin:0; color:rgba(255,255,255,.78); font-size:clamp(.98rem,1.8vw,1.12rem); line-height:1.7; }
.health-route-main { min-height:48vh; padding:clamp(2.5rem,5vw,4.5rem) 1.25rem; background:#f6faf8; }
.health-search--page { max-width:none; margin:0 0 2rem; border:1px solid var(--health-line); box-shadow:0 14px 38px rgba(18,62,52,.08); }
.health-subheading { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin:2.5rem 0 1.25rem; }
.health-subheading:first-child { margin-top:0; }
.health-subheading--spaced { padding-top:2.5rem; border-top:1px solid var(--health-line); }
.health-subheading h2 { margin:.4rem 0 0; font-size:clamp(1.7rem,3vw,2.5rem); letter-spacing:-.035em; }
.health-subheading a,.health-inline-link { color:var(--health); font-weight:800; text-decoration:none; }
.health-secure-layout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(1.25rem,6vw,5rem); align-items:start; }
.health-secure-copy { padding:1rem 0; }
.health-secure-copy h2 { margin:1rem 0 .75rem; font-size:clamp(1.8rem,4vw,3rem); letter-spacing:-.035em; }
.health-secure-copy p { color:var(--health-muted); line-height:1.7; }
.health-secure-copy ul { display:grid; gap:.6rem; margin:1.25rem 0 0; padding:0; list-style:none; color:#38544d; }
.health-secure-copy li::before { content:'✓'; margin-right:.6rem; color:var(--health); font-weight:900; }
.health-secure-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:15px; color:var(--health); background:var(--health-soft); font-size:1.2rem; }
.health-upload-card { min-width:0; padding:clamp(1.2rem,3vw,2rem); box-shadow:0 18px 50px rgba(19,61,52,.08); }
.health-account-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.5rem; padding:1.1rem 1.25rem; border:1px solid var(--health-line); border-radius:16px; background:#fff; }
.health-account-bar div { display:grid; gap:.25rem; }
.health-account-bar span { color:var(--health-muted); font-size:.86rem; }
@media(max-width:900px){.health-actions-grid{grid-template-columns:repeat(2,1fr)}.health-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.health-secure-layout{grid-template-columns:1fr;gap:1rem}.health-account-bar{align-items:stretch;flex-direction:column}.health-account-bar .health-btn{width:100%}}
@media(max-width:620px){.health-hero{padding-top:3.5rem}.health-page-hero{padding:3rem 1rem}.health-route-main{padding:2rem 1rem}.health-search{display:grid;grid-template-columns:auto 1fr}.health-search button{grid-column:1/-1}.health-actions-grid,.health-grid,.health-form-grid{grid-template-columns:1fr}.health-heading,.health-subheading{align-items:start;flex-direction:column}.health-section{padding-inline:1rem}.health-card{padding:1rem}.health-home-card{min-height:0}.health-doctor-profile-card{padding:1rem;border-radius:20px}.health-doctor-profile-card__brand>img{width:38px;height:38px}.health-doctor-profile-card__brand strong{font-size:.86rem}.health-doctor-profile-card__brand small{font-size:.48rem}.health-doctor-profile-card__role{padding:.42rem .58rem;font-size:.68rem}.health-doctor-profile-card__role i{width:8px;height:8px}.health-doctor-profile-card__photo{width:116px;height:116px;margin:1rem auto .8rem}.health-doctor-profile-card__verified{width:min(190px,86%);min-height:30px;margin:-1.45rem auto .85rem;padding:.36rem .65rem;font-size:.65rem}.health-doctor-profile-card__identity h3{font-size:1.3rem}.health-doctor-profile-card__identity>strong{font-size:.9rem}.health-doctor-profile-card__languages{margin:1rem 0 .75rem;padding-top:.75rem}.health-doctor-profile-card__features span{min-height:40px;padding:.5rem .35rem;font-size:.68rem}.health-doctor-profile-card__action{min-height:40px;margin-top:.6rem}.health-hero-actions{display:grid}.health-home-statement{padding-inline:1rem}}
.health-result-file{display:grid;gap:.25rem;padding:.7rem 0;border-top:1px solid #e4eeea}.health-result-file>strong{font-size:.82rem;color:var(--health-ink)}.health-result-file .health-card-actions{margin-top:.25rem}.health-result-file .health-btn{font-size:.78rem;padding:.5rem .7rem}

/* Accueil Health : hero immersif inspiré de la nouvelle direction artistique. */
.health-hero {
  min-height: min(650px, calc(100vh - var(--health-header-height)));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6.5rem) 1.25rem clamp(2.5rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 78% 42%, rgba(118, 238, 211, .38), transparent 32%),
    radial-gradient(circle at 8% 105%, rgba(24, 125, 112, .6), transparent 40%),
    linear-gradient(125deg, #073b46 0%, #0b625f 48%, #54bfae 100%);
}
.health-hero .health-wrap { width: min(1240px, 100%); }
.health-hero .health-hero-layout { grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr); min-height: 500px; }
.health-hero-copy { position: relative; z-index: 2; }
.health-hero h1 { max-width: 680px; font-size: clamp(2.8rem, 6vw, 5.3rem); line-height: .98; }
.health-hero p { max-width: 540px; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.health-hero-visual.health-art-home { align-self: stretch; max-height: none; min-height: 420px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.health-hero-visual.health-art-home::after { content:""; position:absolute; inset:8% 0 0 18%; background:radial-gradient(circle,rgba(151,255,226,.3),transparent 65%); pointer-events:none; }
.health-hero-visual.health-art-home img { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: center right; mix-blend-mode: normal; }

@media (max-width:760px){
  .health-hero { min-height: auto; padding: 2.5rem 1rem 2rem; }
  .health-hero .health-hero-layout { min-height: 0; }
  .health-hero-visual.health-art-home { min-height: 285px; }
  .health-hero-visual.health-art-home img { min-height: 285px; object-position: 68% center; }
}

/* Mobile-first : aucun débordement horizontal dans le hero Health. */
@media (max-width:760px){
  .health-hero { width:100%; overflow:hidden; padding:1.5rem 1rem 1.75rem; }
  .health-hero .health-wrap { width:100%; max-width:none; }
  .health-hero .health-hero-layout { display:flex; flex-direction:column; gap:1.25rem; min-height:0; }
  .health-hero-copy { width:100%; min-width:0; }
  .health-hero h1 { max-width:100%; font-size:clamp(2.25rem,12vw,3.5rem); line-height:1; overflow-wrap:anywhere; }
  .health-hero p { max-width:100%; font-size:.98rem; }
  .health-privacy-inline { margin-left:0; margin-top:.45rem; white-space:normal; }
  .health-hero-actions { display:grid; grid-template-columns:1fr; width:100%; gap:.65rem; }
  .health-hero-actions .health-btn { width:100%; min-height:46px; }
  .health-hero-visual.health-art-home { width:100%; min-height:260px; max-height:none; }
  .health-hero-visual.health-art-home img { width:100%; min-height:260px; max-height:360px; object-fit:cover; object-position:68% center; }
}

/* Téléconsultation — tarifs verrouillés côté serveur. */
.telehealth-hero { background:linear-gradient(135deg,#092f29,#0f6958 70%,#17816d); }
.health-emergency { display:flex; gap:.9rem; align-items:flex-start; margin-bottom:2rem; padding:1rem 1.1rem; border:1px solid #f0d4c9; border-radius:14px; color:#6f2b1c; background:#fff8f5; }
.health-emergency i { margin-top:.15rem; }
.health-emergency div { display:grid; gap:.25rem; }
.health-emergency span { color:#79594f; font-size:.9rem; line-height:1.55; }
.telehealth-picker { max-width:680px; display:grid; gap:.6rem; margin-bottom:1.5rem; }
.telehealth-active-request { margin-bottom:2rem; }
.telehealth-active-card { overflow:hidden; padding:clamp(1.15rem,3vw,1.7rem); border:1px solid rgba(15,105,88,.22); border-radius:20px; background:linear-gradient(145deg,#fff,#f3faf8); box-shadow:0 18px 48px rgba(17,83,70,.1); }
.telehealth-active-card.needs-slot { border-color:#d6a53d; background:linear-gradient(145deg,#fff,#fff9ec); }
.telehealth-active-card__head { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.25rem; }
.telehealth-active-card__head span { display:inline-flex; align-items:center; gap:.5rem; color:#0f6958; font-size:.76rem; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.telehealth-active-card__head strong { color:#102d27; font-size:1.05rem; }
.telehealth-active-card__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; }
.telehealth-active-card__grid div { display:grid; gap:.25rem; min-width:0; padding:.85rem; border-radius:12px; background:rgba(255,255,255,.82); }
.telehealth-active-card__grid small { color:#6b807a; font-size:.68rem; font-weight:800; text-transform:uppercase; }
.telehealth-active-card__grid strong { overflow-wrap:anywhere; color:#183b33; font-size:.85rem; }
.telehealth-active-card__notice { display:flex; align-items:flex-start; gap:.55rem; margin:1rem 0 0; padding:.85rem 1rem; border-radius:12px; color:#765517; background:#fff1c9; font-size:.82rem; font-weight:700; }
.telehealth-active-card__actions { display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1.2rem; }
.telehealth-active-card__actions .health-btn { min-height:44px; }
.telehealth-slot-button { padding:.8rem; border:1px solid var(--health-line); border-radius:10px; color:#173c34; background:#fff; font:inherit; font-weight:800; cursor:pointer; }
.telehealth-slot-button:hover,.telehealth-slot-button:focus-visible { border-color:var(--health); background:#e7f5f1; color:var(--health); }
.telehealth-picker label { font-size:.78rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; color:#38544d; }
.telehealth-picker select { width:100%; min-height:56px; padding:0 1rem; border:1px solid var(--health-line); border-radius:12px; background:#fff; color:#102d27; font:inherit; font-weight:700; }
.telehealth-plans { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.telehealth-intro { grid-column:1/-1; display:flex; justify-content:space-between; gap:1rem; padding:1.25rem; border:1px solid var(--health-line); border-radius:14px; background:#fff; color:var(--health-muted); }
.telehealth-intro strong { color:#102d27; }
.telehealth-plan { display:grid; gap:1.2rem; padding:clamp(1.2rem,3vw,1.8rem); border:1px solid var(--health-line); border-radius:18px; background:#fff; cursor:pointer; box-shadow:0 14px 36px rgba(18,62,52,.06); transition:.2s ease; }
.telehealth-plan:hover,.telehealth-plan.is-selected { border-color:#23806d; box-shadow:0 18px 46px rgba(18,92,76,.13); transform:translateY(-2px); }
.telehealth-plan__top { display:flex; justify-content:space-between; gap:1rem; }
.telehealth-plan__top span { color:var(--health); font-size:.78rem; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.telehealth-plan h2 { margin:.35rem 0 0; font-size:clamp(1.35rem,3vw,2rem); letter-spacing:-.035em; }
.telehealth-plan__check { width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--health-line);border-radius:50%; }
.telehealth-plan.is-selected .telehealth-plan__check { color:#fff;background:var(--health);border-color:var(--health); }
.telehealth-plan__price { font-size:clamp(1.75rem,4vw,2.6rem);font-weight:900;letter-spacing:-.045em;color:#102d27; }
.telehealth-plan ul { display:grid;gap:.55rem;margin:0;padding:0;list-style:none;color:#526b65;font-size:.9rem; }
.telehealth-plan li::before { content:'✓';margin-right:.55rem;color:var(--health);font-weight:900; }
.telehealth-plan button { min-height:46px;border:0;border-radius:10px;background:#eaf5f1;color:#0b5c4d;font:inherit;font-weight:900;cursor:pointer; }
.telehealth-plan.is-selected button { color:#fff;background:var(--health); }
.telehealth-doctors { margin-top:3rem; }
.telehealth-doctor { display:flex; flex-direction:column; }
.telehealth-doctor .health-btn { margin-top:auto; }
.telehealth-doctor-card{position:relative;overflow:hidden;display:grid;grid-template-columns:132px minmax(0,1fr);gap:1rem;min-height:210px;padding:.75rem;border:1px solid rgba(15,105,88,.15);border-radius:24px;background:linear-gradient(145deg,#ffffff,#f7fbfa);box-shadow:0 20px 46px rgba(19,67,57,.09)}
.telehealth-doctor-card:before{content:"";position:absolute;inset:0 0 auto auto;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(245,184,72,.17),transparent 70%);transform:translate(45px,-55px);pointer-events:none}
.telehealth-doctor-card__media{position:relative;min-height:190px;overflow:hidden;border-radius:19px;background:linear-gradient(145deg,#0b3d35,#14735f);display:grid;place-items:center;color:#fff}
.telehealth-doctor-card__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;background:#f7faf9}
.telehealth-doctor-card__media>span{width:74px;height:74px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.15);font-size:1.5rem;font-weight:900;letter-spacing:.04em}
.telehealth-doctor-card__media b{position:absolute;left:.65rem;right:.65rem;bottom:.65rem;display:flex;align-items:center;justify-content:center;gap:.35rem;padding:.42rem .55rem;border-radius:999px;background:rgba(255,255,255,.92);color:#0c453b;font-size:.68rem;font-weight:900;box-shadow:0 10px 24px rgba(4,31,26,.16)}
.telehealth-doctor-card__body{position:relative;min-width:0;display:flex;flex-direction:column;padding:.45rem .35rem .35rem}
.telehealth-doctor-card__kicker{color:#bd8a19;font-size:.66rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.telehealth-doctor-card h3{margin:.35rem 0 .2rem;color:#102d27;font-size:clamp(1.12rem,2vw,1.45rem);letter-spacing:-.035em}
.telehealth-doctor-card__specialty{margin:0;color:#0f6958;font-weight:900}
.telehealth-doctor-card__location{display:flex;align-items:center;gap:.42rem;margin:.45rem 0 0;color:#60766f;font-size:.84rem}
.telehealth-doctor-card__location i{color:#0f6958}
.telehealth-doctor-card__meta{display:flex;flex-wrap:wrap;gap:.42rem;margin:1rem 0}
.telehealth-doctor-card__meta span{display:inline-flex;align-items:center;gap:.35rem;padding:.38rem .58rem;border-radius:999px;background:#edf7f4;color:#31564d;font-size:.7rem;font-weight:800}
.telehealth-doctor-card .health-btn{margin-top:auto;width:100%;min-height:44px;border-radius:13px}
.telehealth-doctor-card .health-btn:disabled{color:#7f918c;background:#eef3f1}
.telehealth-dialog { width:min(620px,calc(100% - 2rem)); }
.telehealth-summary { display:grid;gap:.35rem;margin-bottom:1.2rem;padding:1rem;border-radius:12px;background:#eff8f5;color:#153d34; }
.telehealth-summary span { color:var(--health);font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em; }
.telehealth-summary small { color:#57726b; }
.telehealth-slots { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem; }
.telehealth-slots label { cursor:pointer; }
.telehealth-slots input { position:absolute;opacity:0;pointer-events:none; }
.telehealth-slots span { display:block;padding:.8rem;border:1px solid var(--health-line);border-radius:10px;background:#fff;text-align:center;font-weight:800; }
.telehealth-slots input:checked + span { border-color:var(--health);background:#e7f5f1;color:var(--health);box-shadow:0 0 0 2px rgba(15,105,88,.12); }
.telehealth-book-form { display:block; }
.telehealth-book-step[hidden] { display:none; }
.telehealth-step-heading { margin-bottom:1rem; }
.telehealth-step-heading span { color:var(--health);font-size:.7rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase; }
.telehealth-step-heading h3 { margin:.25rem 0;font-size:1.2rem;color:#102d27; }
.telehealth-step-heading p { margin:0;color:#627a73;font-size:.84rem; }
.telehealth-selected-slot { display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.2rem;padding:.9rem 1rem;border:1px solid rgba(15,105,88,.2);border-radius:14px;background:#eff8f5; }
.telehealth-selected-slot div { display:grid;gap:.15rem; }
.telehealth-selected-slot span { color:#668078;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em; }
.telehealth-selected-slot strong { color:#153d34;font-size:.92rem; }
.telehealth-selected-slot button { flex:0 0 auto;border:0;border-radius:10px;padding:.65rem .75rem;background:#fff;color:var(--health);font:inherit;font-size:.75rem;font-weight:900;cursor:pointer;box-shadow:0 4px 14px rgba(15,105,88,.1); }
.telehealth-payment-button { width:100%;margin-top:1rem;display:flex;align-items:center;justify-content:center;gap:.6rem; }
@media(max-width:700px){.telehealth-active-card__head{align-items:flex-start;flex-direction:column}.telehealth-active-card__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.telehealth-active-card__actions{display:grid}.telehealth-plans{grid-template-columns:1fr}.telehealth-intro{flex-direction:column}.telehealth-slots{grid-template-columns:1fr}.health-emergency{font-size:.9rem}.telehealth-doctor-card{grid-template-columns:96px minmax(0,1fr);border-radius:20px}.telehealth-doctor-card__media{min-height:155px;border-radius:15px}.telehealth-doctor-card__meta{display:none}}
@media(max-width:620px){.telehealth-dialog{width:calc(100% - 1rem);max-height:calc(100dvh - 1rem);border-radius:18px}.telehealth-dialog .health-dialog-head{padding:1rem}.telehealth-dialog .health-dialog-body{max-height:calc(100dvh - 72px);padding:1rem}.telehealth-summary{margin-bottom:1rem;padding:.8rem}.telehealth-selected-slot{align-items:flex-start;padding:.8rem}.telehealth-selected-slot button{padding:.55rem}.telehealth-step-heading h3{font-size:1.08rem}}
@media(max-width:430px){.telehealth-doctor-card{grid-template-columns:92px minmax(0,1fr);gap:.7rem;min-height:0;padding:.6rem}.telehealth-doctor-card__media{min-height:145px;border-radius:14px}.telehealth-doctor-card__media b{left:.35rem;right:.35rem;bottom:.35rem;padding:.32rem;font-size:.58rem}.telehealth-doctor-card__body{padding:.25rem .1rem}.telehealth-doctor-card h3{font-size:1.05rem}.telehealth-doctor-card__location{font-size:.75rem}.telehealth-doctor-card__meta{display:none}.telehealth-doctor-card .health-btn{min-height:40px;padding:.65rem .5rem;font-size:.72rem}}

/* Candidature professionnelle. */
/* En-tête compact : la page sert à déposer un dossier, pas de hero marketing. */
.health-route-main--flush { padding-top:clamp(1.5rem,3vw,2.25rem); }
.health-app-topbar { display:flex;gap:1rem;align-items:flex-start;margin-bottom:clamp(1.25rem,3vw,1.9rem);padding-bottom:1.1rem;border-bottom:1px solid var(--health-line); }
.health-app-topbar__icon { flex:0 0 auto;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--health-soft);color:var(--health);font-size:1.05rem; }
.health-app-topbar h1 { margin:0 0 .3rem;font-size:clamp(1.4rem,3.2vw,1.95rem);letter-spacing:-.03em;line-height:1.15; }
.health-app-topbar p { margin:0;max-width:62ch;color:var(--health-muted);font-size:.92rem;line-height:1.55; }
@media(max-width:620px){ .health-app-topbar__icon{width:38px;height:38px;font-size:.95rem} }
.health-professional-onboarding { display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1.25rem;padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--health-line);border-radius:18px;background:#fff;box-shadow:0 18px 50px rgba(19,61,52,.08); }
.health-professional-onboarding h2 { margin:.45rem 0;font-size:clamp(1.5rem,3vw,2.2rem);letter-spacing:-.035em; }
.health-professional-onboarding p { margin:0;max-width:700px;color:var(--health-muted);line-height:1.6; }
.health-application-login,.health-application-result { max-width:680px;margin:auto;padding:clamp(2rem,6vw,4rem);border:1px solid var(--health-line);border-radius:20px;background:#fff;text-align:center;box-shadow:0 22px 60px rgba(19,61,52,.09); }
.health-application-login img { width:64px;height:64px;padding:6px;border:1px solid var(--health-line);border-radius:14px;object-fit:contain;background:#fff; }
.health-application-login h2,.health-application-result h2 { margin:1rem 0 .5rem;font-size:clamp(1.7rem,4vw,2.6rem);letter-spacing:-.04em; }
.health-application-login p,.health-application-result p { margin:0 auto 1.5rem;max-width:520px;color:var(--health-muted);line-height:1.65; }
.health-application-layout { display:grid;grid-template-columns:240px minmax(0,1fr);gap:1.25rem;align-items:start; }
.health-application-progress { position:sticky;top:calc(var(--health-header-height,70px) + 1rem);display:grid;gap:.45rem;padding:1rem;border:1px solid var(--health-line);border-radius:16px;background:#fff; }
.health-application-progress>span { color:var(--health);font-size:.7rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase; }
.health-application-progress>strong { margin-bottom:.7rem;font-size:1.1rem; }
.health-application-progress button { display:flex;align-items:center;gap:.75rem;min-height:48px;padding:.45rem;border:0;border-radius:10px;background:transparent;color:#667d77;text-align:left;cursor:pointer; }
.health-application-progress button b { width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#edf3f1;color:#56706a;font-size:.78rem; }
.health-application-progress button.is-active { color:#103c32;background:#eaf6f2;font-weight:900; }
.health-application-progress button.is-active b { color:#fff;background:var(--health); }
.health-application-progress small { margin-top:.75rem;padding-top:.8rem;border-top:1px solid var(--health-line);color:#6d827d; }
.health-application-card { min-width:0;border:1px solid var(--health-line);border-radius:18px;background:#fff;box-shadow:0 18px 55px rgba(19,61,52,.07);overflow:hidden; }
.health-application-card form { display:grid;gap:1.5rem;padding:clamp(1.2rem,4vw,2.4rem); }
.health-application-heading span { color:var(--health);font-size:.75rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase; }
.health-application-heading h2 { margin:.45rem 0;font-size:clamp(1.7rem,4vw,2.7rem);letter-spacing:-.04em; }
.health-application-heading p { margin:0;color:var(--health-muted);line-height:1.6; }
.health-type-picker { display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem; }
.health-type-picker label { position:relative;display:grid;gap:.65rem;padding:1rem;border:1px solid var(--health-line);border-radius:12px;cursor:pointer; }
.health-type-picker input { position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1; }
.health-type-picker i { color:#638079;font-size:1.1rem; }
.health-type-picker label.is-selected { border-color:var(--health);background:#edf8f5;box-shadow:0 0 0 2px rgba(15,105,88,.1); }
.health-type-picker label.is-selected i { color:var(--health); }
.health-choice-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem; }
.health-choice-grid label { cursor:pointer; }
.health-choice-grid input { position:absolute;opacity:0; }
.health-choice-grid label>span { min-height:132px;display:flex;flex-direction:column;gap:.45rem;padding:1rem;border:1px solid var(--health-line);border-radius:12px;background:#fff; }
.health-choice-grid i { color:var(--health);font-size:1.1rem; }
.health-choice-grid small { color:var(--health-muted);line-height:1.45; }
.health-choice-grid input:checked+span { border-color:var(--health);background:#edf8f5;box-shadow:0 0 0 2px rgba(15,105,88,.1); }
.health-photo-row { display:flex;align-items:center;gap:1rem;flex-wrap:wrap; }
.health-photo-preview { width:72px;height:72px;flex:0 0 auto;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--health-soft);color:var(--health);border:1px solid var(--health-line);font-size:1.3rem; }
.health-photo-preview img { width:100%;height:100%;object-fit:cover; }
.health-photo-hint { display:block;margin-top:.35rem;color:var(--health-muted);font-size:12px; }
.health-lang-picker { display:flex;flex-wrap:wrap;gap:.5rem; }
.health-lang-picker label { display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .8rem;border:1px solid var(--health-line);border-radius:999px;font-size:13px;font-weight:600;cursor:pointer; }
.health-lang-picker input { margin:0;accent-color:var(--health); }
.health-lang-picker label:has(input:checked) { border-color:var(--health);background:#edf8f5;color:var(--health); }
.health-doc-list { display:grid;gap:.65rem; }
.health-doc-list label { display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;border:1px solid var(--health-line);border-radius:12px; }
.health-doc-list label>span { display:flex;align-items:center;gap:.8rem; }
.health-doc-list b { width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#eaf6f2;color:var(--health); }
.health-doc-list label>span>span { display:grid;gap:.2rem; }
.health-doc-list small { color:var(--health-muted); }
.health-doc-list input { max-width:230px; }
.health-declaration { display:flex;align-items:flex-start;gap:.75rem;padding:1rem;border-radius:12px;background:#f2f7f5;color:#38544d;line-height:1.55; }
.health-declaration input { margin-top:.25rem; }
.health-application-actions { display:flex;align-items:center;justify-content:flex-end;gap:.75rem;padding-top:1.25rem;border-top:1px solid var(--health-line); }
.health-application-actions>span { margin-right:auto;color:#60756f;font-size:.82rem; }
@media(max-width:820px){.health-application-layout{grid-template-columns:1fr}.health-application-progress{position:static;grid-template-columns:repeat(4,1fr)}.health-application-progress>span,.health-application-progress>strong,.health-application-progress small{display:none}.health-application-progress button{justify-content:center;padding:.35rem}.health-application-progress button span{display:none}.health-professional-onboarding{grid-template-columns:auto 1fr}.health-professional-onboarding .health-btn{grid-column:1/-1}}
@media(max-width:620px){.health-type-picker,.health-choice-grid{grid-template-columns:1fr}.health-doc-list label{align-items:stretch;flex-direction:column}.health-doc-list input{max-width:100%;width:100%}.health-application-actions{display:grid;grid-template-columns:1fr 1fr}.health-application-actions>span{grid-column:1/-1;grid-row:1}.health-application-actions .health-btn{width:100%}}

/* Heroes Health: deux colonnes, texte court, visuel propre à chaque parcours. */
.health-hero-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.82fr);align-items:stretch;gap:clamp(1.2rem,3vw,2.5rem)}
.health-hero-copy{min-width:0}.health-hero-copy h1{max-width:760px}.health-hero-copy p{max-width:560px}.health-hero-visual{position:relative;min-height:310px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.03));box-shadow:inset 0 1px rgba(255,255,255,.18),0 24px 60px rgba(3,49,39,.18)}
.health-hero-visual--photo{align-self:stretch;min-height:250px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}.health-hero-visual--photo img{width:100%;height:100%;min-height:250px;display:block;object-fit:cover}
.health-exam-subcategory{display:block;margin-top:.2rem;color:var(--health-muted);font-size:.8rem;font-weight:600}
.health-hero-visual i{position:relative;z-index:2;width:132px;height:132px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.55);border-radius:38px;background:rgba(255,255,255,.92);color:#0d6656;font-size:3.2rem;box-shadow:0 20px 40px rgba(1,44,34,.22)}
.health-hero-visual img{width:100%;height:100%;min-height:310px;object-fit:cover;display:block;mix-blend-mode:normal}.health-art-orb{position:absolute;width:230px;height:230px;border-radius:50%;background:rgba(220,249,239,.23);filter:blur(2px);transform:translate(76px,-72px)}.health-art-card{position:absolute;width:180px;height:70px;right:12%;bottom:13%;border:1px solid rgba(255,255,255,.38);border-radius:16px;background:rgba(255,255,255,.18);transform:rotate(-8deg);box-shadow:0 14px 26px rgba(0,0,0,.1)}
.health-art-pharmacy{background:linear-gradient(145deg,#e9f8f3,#75c4ad)}.health-art-prescription{background:linear-gradient(145deg,#edf4fc,#8cafcf)}.health-art-doctor,.health-art-teleconsultation{background:linear-gradient(145deg,#eaf8f6,#66b8ad)}.health-art-lab{background:linear-gradient(145deg,#f5f1ff,#b6a2df)}.health-art-space{background:linear-gradient(145deg,#fff7e7,#e5bf71)}.health-art-professional{background:linear-gradient(145deg,#edf6f3,#77aa9d)}
.health-route--pharmacy .health-page-hero,.health-route--prescription .health-page-hero,.health-route--doctors .health-page-hero,.health-route--labs .health-page-hero,.health-route--space .health-page-hero,.health-route--professional .health-page-hero{background:#0d5448;color:#fff}.health-route--pharmacy .health-page-hero .health-eyebrow,.health-route--prescription .health-page-hero .health-eyebrow,.health-route--doctors .health-page-hero .health-eyebrow,.health-route--labs .health-page-hero .health-eyebrow,.health-route--space .health-page-hero .health-eyebrow,.health-route--professional .health-page-hero .health-eyebrow{color:#b9e6d8}

/* Compact pharmacy cards: two-up on phones, then fluid columns as space grows. */
.health-route--pharmacy #health-medicine-results.health-grid,
#health-home-medicines.health-grid { grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr)); align-items:stretch; gap:clamp(.65rem,1.4vw,1.1rem); }
.health-route--pharmacy #health-medicine-results > .health-medicine-card { min-width:0; display:flex; flex-direction:column; gap:.65rem; padding:.85rem; border-radius:16px; box-shadow:0 5px 18px rgba(28,65,56,.055); }
#health-home-medicines > .health-medicine-product-card { min-width:0; display:flex; flex-direction:column; gap:.65rem; padding:.85rem; border-radius:16px; box-shadow:0 5px 18px rgba(28,65,56,.055); }
.health-route--pharmacy .health-medicine-card-visual { width:100%; aspect-ratio:1.55; min-height:0; display:grid; place-items:center; overflow:hidden; border-radius:12px; background:linear-gradient(145deg,#f0f8f5,#e6f2ee); }
#health-home-medicines .health-medicine-card-visual { width:100%; aspect-ratio:1.55; min-height:0; display:grid; place-items:center; overflow:hidden; border-radius:12px; background:linear-gradient(145deg,#f0f8f5,#e6f2ee); }
.health-route--pharmacy .health-medicine-image { display:block; width:100%; height:100%; min-height:0; object-fit:contain; border:0; border-radius:inherit; background:transparent; }
#health-home-medicines .health-medicine-image { display:block; width:100%; height:100%; min-height:0; object-fit:contain; border:0; border-radius:inherit; background:transparent; }
.health-route--pharmacy .health-medicine-card-visual .health-medicine-icon { width:48px; height:48px; font-size:1.25rem; }
.health-route--pharmacy .health-medicine-card-content { min-width:0; flex:1; display:flex; flex-direction:column; gap:.5rem; }
#health-home-medicines .health-medicine-card-content { min-width:0; flex:1; display:flex; flex-direction:column; gap:.5rem; }
.health-route--pharmacy .health-medicine-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:.4rem; }
.health-route--pharmacy .health-medicine-card-head h3 { min-width:0; margin:0; color:#142033; font-size:1rem; line-height:1.25; overflow-wrap:anywhere; }
#health-home-medicines .health-medicine-card-head h3 { min-width:0; margin:0; color:#142033; font-size:1rem; line-height:1.25; overflow-wrap:anywhere; }
.health-route--pharmacy .health-medicine-card-head .health-badge { flex:0 0 auto; padding:.28rem .45rem; font-size:.64rem; }
.health-route--pharmacy .health-medicine-summary { gap:.45rem; padding:.55rem 0; }
#health-home-medicines .health-medicine-summary { gap:.45rem; padding:.55rem 0; }
.health-route--pharmacy .health-medicine-summary small,.health-route--pharmacy .health-medicine-stock { font-size:.7rem; }
.health-route--pharmacy .health-medicine-summary strong { font-size:.8rem; line-height:1.25; overflow-wrap:anywhere; }
.health-route--pharmacy .health-medicine-footer { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:.55rem; margin-top:auto; }
#health-home-medicines .health-medicine-footer { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:.55rem; margin-top:auto; }
.health-route--pharmacy .health-medicine-footer .price { font-size:1.2rem; line-height:1.15; }
#health-home-medicines .health-medicine-footer .price { font-size:1.2rem; line-height:1.15; }
.health-route--pharmacy .health-medicine-footer>div:first-child { gap:.2rem; }
.health-route--pharmacy .health-medicine-footer .health-card-actions { display:grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap:.4rem; }
#health-home-medicines .health-medicine-footer .health-card-actions { display:grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap:.4rem; }
.health-route--pharmacy .health-medicine-footer .health-btn { min-width:0; min-height:38px; padding:.45rem .5rem; border-radius:10px; font-size:.75rem; line-height:1.2; white-space:normal; }
#health-home-medicines .health-medicine-footer .health-btn { min-width:0; min-height:38px; padding:.45rem .5rem; border-radius:10px; font-size:.75rem; line-height:1.2; white-space:normal; }
.health-route--pharmacy .health-medicine-footer .health-card-actions [data-dialog="prescription"] { grid-column:1/-1; }

.health-delivery-checkout { display:grid; gap:1rem; margin:1rem 0; padding:1rem; border:1px solid #cfe7df; border-radius:16px; background:#f5fbf8; }
.health-delivery-checkout__heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; color:#0d5448; }
.health-delivery-checkout__heading span { color:#61766f; font-size:.9rem; }
.health-delivery-checkout .health-field { margin:0; }
.health-delivery-checkout input[readonly] { background:#edf4f1; color:#35463f; }
.health-delivery-quote-note { min-height:1.25rem; margin:0; color:#61766f; font-size:.9rem; }
.health-delivery-totals { display:grid; gap:.5rem; padding:1rem; border-radius:14px; background:#f2f7f5; }
.health-delivery-totals>div { display:flex; justify-content:space-between; gap:1rem; color:#4f625c; }
.health-delivery-totals strong { color:#172b26; text-align:right; }
.health-delivery-totals .health-delivery-totals__grand { margin-top:.35rem; padding-top:.7rem; border-top:1px solid #d2e2dc; color:#0d5448; font-size:1.08rem; font-weight:800; }
.health-delivery-totals__grand strong { color:#0d5448; font-size:1.2rem; }
@media (max-width:600px) { .health-delivery-checkout { padding:.8rem; } .health-delivery-totals>div { align-items:flex-start; } }
.health-route--pharmacy .health-medicine-footer .health-card-actions { margin:0; }
#health-home-medicines .health-medicine-footer .health-card-actions { margin:0; }
.health-route--pharmacy .health-medicine-footer .health-btn { min-height:38px; padding:.45rem .5rem; border-radius:10px; font-size:.75rem; }
@media(max-width:620px) {
  .health-route--pharmacy #health-medicine-results.health-grid,
  #health-home-medicines.health-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
  .health-route--pharmacy #health-medicine-results > .health-medicine-card { gap:.5rem; padding:.6rem; border-radius:14px; }
  #health-home-medicines > .health-medicine-product-card { gap:.5rem; padding:.6rem; border-radius:14px; }
  .health-route--pharmacy .health-medicine-card-visual { aspect-ratio:1.45; border-radius:10px; }
  #health-home-medicines .health-medicine-card-visual { aspect-ratio:1.45; border-radius:10px; }
  .health-route--pharmacy .health-medicine-card-content { gap:.4rem; }
  #health-home-medicines .health-medicine-card-content { gap:.4rem; }
  .health-route--pharmacy .health-medicine-card-head { flex-direction:column-reverse; gap:.3rem; }
  .health-route--pharmacy .health-medicine-card-head h3,
  #health-home-medicines .health-medicine-card-head h3 { font-size:.88rem; }
  .health-route--pharmacy .health-medicine-card-head .health-badge { padding:.23rem .4rem; font-size:.59rem; }
  .health-route--pharmacy .health-medicine-summary { gap:.3rem; padding:.42rem 0; }
  .health-route--pharmacy .health-medicine-summary small,.health-route--pharmacy .health-medicine-stock { font-size:.64rem; }
  .health-route--pharmacy .health-medicine-summary strong { font-size:.72rem; }
  .health-route--pharmacy .health-medicine-footer .price { font-size:1.05rem; }
  .health-route--pharmacy .health-medicine-footer .health-card-actions { grid-template-columns:1fr 1.35fr; gap:.3rem; }
  #health-home-medicines .health-medicine-footer .health-card-actions { grid-template-columns:1fr 1.35fr; gap:.3rem; }
  .health-route--pharmacy .health-medicine-footer .health-btn { min-height:35px; padding:.35rem .35rem; font-size:.67rem; }
  #health-home-medicines .health-medicine-footer .health-btn { min-height:35px; padding:.35rem .35rem; font-size:.67rem; }
}
@media(max-width:360px) {
  .health-route--pharmacy #health-medicine-results.health-grid,
  #health-home-medicines.health-grid { gap:.45rem; }
  .health-route--pharmacy #health-medicine-results > .health-medicine-card { padding:.48rem; }
  #health-home-medicines > .health-medicine-product-card { padding:.48rem; }
  .health-route--pharmacy .health-medicine-footer .health-card-actions { grid-template-columns:1fr; }
  #health-home-medicines .health-medicine-footer .health-card-actions { grid-template-columns:1fr; }
}
.telehealth-hero .health-hero-copy p,.health-page-hero .health-hero-copy p{color:rgba(255,255,255,.78)}
@media(max-width:760px){.health-hero-layout{grid-template-columns:1fr;gap:1rem}.health-hero-visual{min-height:190px;order:2}.health-hero-visual img{min-height:190px}.health-hero-visual i{width:96px;height:96px;font-size:2.2rem;border-radius:28px}.health-hero-copy h1{font-size:clamp(2.1rem,10vw,3.5rem)}.health-hero-actions{display:flex;flex-wrap:wrap;gap:.55rem}.health-hero-actions .health-btn{flex:1 1 190px}}

/* Pharmacie en ligne : en-tete compact, recherche mise en avant, catalogue immediat. */
.health-pharmacy .pharmacy-head{padding:1.6rem 1.25rem 1.5rem;color:#fff;background:radial-gradient(circle at 88% 0%,rgba(245,184,72,.16),transparent 30%),linear-gradient(135deg,#0c453b,#0f6958)}
.health-pharmacy .pharmacy-head__inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.15rem}.health-pharmacy .pharmacy-head__visual{flex:1 1 300px;min-height:210px;max-width:430px;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:20px;box-shadow:0 18px 40px rgba(3,49,39,.2)}.health-pharmacy .pharmacy-head__visual img{width:100%;height:100%;min-height:210px;display:block;object-fit:cover}
.health-pharmacy .pharmacy-head__intro{display:grid;gap:.6rem;min-width:0}
.health-pharmacy .pharmacy-head h1{margin:0;max-width:640px;font-size:clamp(1.45rem,2.6vw,2.05rem);line-height:1.15;letter-spacing:-.02em}
.health-pharmacy .pharmacy-head__cta{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1rem;border-radius:12px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);color:#fff;font-weight:700;text-decoration:none;white-space:nowrap}
.health-pharmacy .pharmacy-head__cta:hover{background:rgba(255,255,255,.22)}
.health-pharmacy .health-search.pharmacy-search{margin:0;max-width:none;box-shadow:0 18px 44px rgba(3,30,25,.22)}
.health-pharmacy .pharmacy-search input{padding:.95rem .35rem;font-size:1rem}
.health-pharmacy .pharmacy-tags{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.9rem;color:rgba(255,255,255,.82);font-size:.85rem}
.health-pharmacy .pharmacy-tags span{font-weight:700}
.health-pharmacy .pharmacy-tags button{padding:.4rem .8rem;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.1);color:#fff;font-size:.82rem;font-weight:600;cursor:pointer;transition:.16s ease}
.health-pharmacy .pharmacy-tags button:hover{background:rgba(255,255,255,.24)}
.health-pharmacy .pharmacy-body{padding:2rem 1.25rem 3rem}
.health-pharmacy .pharmacy-body .health-subheading:first-of-type{margin-top:2.25rem}
@media(max-width:720px){
  .health-pharmacy .pharmacy-head{padding:1.2rem 1rem 1.3rem}
  .health-pharmacy .pharmacy-head__visual{order:3;width:100%;max-width:none;min-height:180px}.health-pharmacy .pharmacy-head__visual img{min-height:180px}
  .health-pharmacy .pharmacy-head__cta{width:100%;justify-content:center}
  .health-pharmacy .health-search.pharmacy-search{flex-wrap:wrap;gap:.5rem}
  .health-pharmacy .pharmacy-search button{width:100%}
}

/* Candidature pro : téléphones multiples avec indicatif +509, département/commune. */
.health-field--phones #health-phone-list{display:grid;gap:.5rem}
.health-phone-row{display:flex;align-items:stretch;gap:.5rem}
.health-phone-prefix{flex:0 0 auto;display:flex;align-items:center;padding:0 .75rem;border:1px solid var(--health-line);border-radius:10px;background:#f3f8f6;color:#3a5a54;font-weight:700;font-size:.9rem}
.health-phone-row input{flex:1;min-width:0}
.health-phone-remove{flex:0 0 auto;width:38px;border:1px solid var(--health-line);border-radius:10px;background:#fff;color:#a33a32;font-size:1.15rem;line-height:1;cursor:pointer}
.health-phone-remove:hover{border-color:#a33a32}
.health-phone-add{margin-top:.55rem;display:inline-flex;align-items:center;gap:.4rem;border:1px dashed var(--health-line);background:#f7fbfa;color:var(--health);border-radius:10px;padding:.5rem .8rem;font-weight:700;font-size:.85rem;cursor:pointer}
.health-phone-add:hover{border-color:var(--health);background:#eef7f4}

/* ===== Mon espace (patient) — tableau de bord ===== */
.hspace{background:#f4f7f5;min-height:calc(100vh - var(--health-header-height,70px))}
.hspace__wrap{width:min(1180px,100% - 2.5rem);margin-inline:auto;padding:clamp(1.6rem,4vw,3rem) 0 3.5rem}
.hspace__hero{margin-bottom:2rem}
.hspace__eyebrow{display:block;color:var(--health);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.6rem}
.hspace__hero h1{margin:0;color:var(--health-ink);font-size:clamp(1.7rem,3.6vw,2.6rem);font-weight:800;letter-spacing:-.02em}
.hspace__hero p{margin:.5rem 0 0;color:var(--health-muted);font-size:1rem}
.hspace__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin:0 0 1.2rem}
.hspace__metrics article{padding:1rem 1.1rem;border:1px solid var(--health-line);border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(15,75,61,.04)}
.hspace__metrics span{display:block;color:var(--health-muted);font-size:.76rem}
.hspace__metrics strong{display:block;margin-top:.35rem;color:var(--health-deep);font-size:1.45rem;letter-spacing:-.02em}
.hspace__wallet{display:flex;align-items:center;gap:1rem;margin:0 0 2rem;padding:1.1rem 1.3rem;border-radius:16px;background:linear-gradient(135deg,#0b3d35,#107461);color:#fff;box-shadow:0 12px 30px rgba(11,61,53,.18)}
.hspace__wallet-icon{width:46px;height:46px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.14);font-size:1.15rem}
.hspace__wallet>div>span{display:block;color:#bfe6da;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.hspace__wallet strong{display:block;margin:.2rem 0;font-size:1.5rem;letter-spacing:-.02em}
.hspace__wallet small{display:block;color:rgba(255,255,255,.75);font-size:.74rem;line-height:1.4;max-width:46ch}
@media(max-width:560px){.hspace__wallet{flex-direction:column;align-items:flex-start;text-align:left}}
.hspace__section{margin-bottom:1.8rem}
.hspace__h2{margin:0 0 .9rem;color:var(--health);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.hspace__quick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}
.hspace__quick-card{display:flex;align-items:center;gap:.75rem;padding:1rem;border:1px solid var(--health-line);border-radius:14px;background:#fff;text-decoration:none;box-shadow:0 8px 22px rgba(15,75,61,.05);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.hspace__quick-card:hover{transform:translateY(-2px);border-color:#bfe0d6;box-shadow:0 14px 30px rgba(15,75,61,.09)}
.hspace__quick-ico{flex:0 0 auto;width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:var(--health-soft);color:var(--health);font-size:1.15rem}
.hspace__quick-text{flex:1;min-width:0;display:grid;gap:.15rem}
.hspace__quick-text strong{color:var(--health-ink);font-size:.9rem;font-weight:700}
.hspace__quick-text small{color:var(--health-muted);font-size:.82rem}
.hspace__quick-card>.fa-chevron-right{color:var(--health-muted);font-size:.8rem}
.hspace__activities{border:1px solid var(--health-line);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(15,75,61,.05)}
.hspace__activities .health-empty{padding:2.4rem 1.25rem;display:grid;place-items:center;gap:.7rem;color:var(--health-muted);text-align:center}
.hspace__activity{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:1rem;padding:1rem 1.25rem;border-top:1px solid #eef3f0}
.hspace__activity:first-child{border-top:0}
.hspace__activity[role=button]{cursor:pointer}
.hspace__activity[role=button]:hover{background:#f6faf8}
.hspace__activity[role=button]:focus-visible{outline:2px solid var(--health);outline-offset:-2px}
.hspace__activity-ico{width:40px;height:40px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;background:var(--health-soft);color:var(--health)}
.hspace__activity-text{min-width:0;display:grid;gap:.15rem}
.hspace__activity-text strong{color:var(--health-ink);font-size:.95rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hspace__activity-text small{color:var(--health-muted);font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hspace__activity-status{padding:.28rem .7rem;border-radius:999px;background:var(--health-soft);color:var(--health-deep);font-size:.75rem;font-weight:700;white-space:nowrap}
.hspace__activity-date{color:var(--health-muted);font-size:.82rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.hspace__activity-chev{color:var(--health-muted);font-size:.78rem}
.hspace__banner{display:flex;align-items:flex-start;gap:1rem;margin-top:.6rem;padding:1.15rem 1.35rem;border:1px solid #cfe7df;border-radius:16px;background:var(--health-soft)}
.hspace__banner-ico{flex:0 0 auto;width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#fff;color:var(--health);border:1px solid #cfe7df}
.hspace__banner strong{display:block;color:var(--health-deep);font-size:.95rem}
.hspace__banner p{margin:.2rem 0 0;color:#4a6b63;font-size:.86rem}
.health-patient-empty{min-height:260px;padding:3rem 1.5rem;display:grid;place-items:center;gap:.7rem;text-align:center}
.health-patient-empty h2{margin:0;color:var(--health-ink);font-size:1.25rem}
.health-patient-empty p{max-width:34rem;margin:0;color:var(--health-muted)}
.health-provider-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.75rem;margin-bottom:1.1rem}
.health-provider-metrics article{padding:1rem;border:1px solid var(--health-line);border-radius:13px;background:#fff}.health-provider-metrics span{display:block;color:var(--health-muted);font-size:.72rem}.health-provider-metrics strong{display:block;margin-top:.35rem;color:var(--health-deep);font-size:1.3rem}
.health-provider-section{margin-top:1.1rem}.health-provider-section__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 .75rem}.health-provider-section__head h3{margin:.2rem 0 0;color:var(--health-ink);font-size:1.1rem}.health-provider-section__head .health-eyebrow{margin:0;font-size:.66rem}.health-provider-list{border:1px solid var(--health-line);border-radius:14px;background:#fff;padding:1.1rem}.health-provider-list .empty{padding:.6rem 0}
.health-provider-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid #eef3f0}.health-provider-row:last-child{border-bottom:0}.health-provider-row strong,.health-provider-row small{display:block}.health-provider-row small{margin-top:.18rem;color:var(--health-muted);font-size:.78rem}.health-provider-row__meta{display:flex;align-items:center;gap:.65rem;color:var(--health-deep);font-weight:700;white-space:nowrap}.health-provider-row__meta .health-icon-btn{width:32px;height:32px;color:var(--health);border-color:#cfe3dc;background:#fff}.health-provider-row__meta [data-delete-product]{color:#a33a32;border-color:#eed6d2}.health-provider-row__meta [data-delete-product]:hover{background:#fff4f2}
.health-order-row{display:block;list-style:none}.health-order-row summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;list-style:none}.health-order-row summary::-webkit-details-marker{display:none}.health-order-row summary>div:first-child{min-width:0}.health-order-row summary .fa-chevron-down{color:var(--health-muted);transition:transform .18s ease}.health-order-row[open] summary .fa-chevron-down{transform:rotate(180deg)}.health-order-detail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:.9rem;padding:.85rem;border:1px solid var(--health-line);border-radius:12px;background:var(--health-soft,#f7faf9);font-size:.8rem}.health-order-detail div{display:flex;flex-direction:column;gap:.25rem;min-width:0}.health-order-detail b{font-size:.7rem;color:var(--health-muted);text-transform:uppercase;letter-spacing:.04em}.health-order-detail span{color:var(--health-ink);overflow-wrap:anywhere}
.health-month-actions{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.7rem;color:var(--health-muted);font-size:.78rem}.health-month-actions .health-btn{padding:.45rem .75rem;font-size:.75rem}.health-month-actions .health-btn:disabled{opacity:.55;cursor:not-allowed}
.health-exam-category{margin-top:1.5rem}.health-exam-category:first-child{margin-top:0}.health-exam-category .health-subheading{margin-bottom:.7rem}.health-exam-category .health-subheading h3{font-size:1.05rem}.health-exam-category .health-subheading small{color:var(--health-muted);font-size:.78rem}
@media(max-width:700px){.health-order-detail{grid-template-columns:1fr 1fr}.health-order-row summary .health-provider-row__meta strong{white-space:nowrap}}
.health-module-entry{padding:2.2rem 0 1rem;background:#fff}
.health-module-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.health-module-heading .health-eyebrow{margin:0;color:var(--health);font-size:.68rem}
.health-module-heading h2{margin:0;color:var(--health-ink);font-size:clamp(1.35rem,2.4vw,1.8rem);letter-spacing:-.025em}
.health-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.health-module-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.9rem;padding:1.1rem 1.15rem;border:1px solid var(--health-line);border-radius:15px;background:#fff;color:var(--health-ink);text-decoration:none;box-shadow:0 8px 22px rgba(15,75,61,.05);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.health-module-card:hover{transform:translateY(-2px);border-color:#b8dace;box-shadow:0 14px 30px rgba(15,75,61,.1)}
.health-module-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--health-soft);color:var(--health);font-size:1rem}
.health-module-card strong,.health-module-card small{display:block}.health-module-card strong{font-size:.96rem}.health-module-card small{margin-top:.2rem;color:var(--health-muted);font-size:.79rem;line-height:1.4}.health-module-card>i{color:var(--health-muted);font-size:.8rem}
@media(max-width:700px){.health-module-entry{padding:1.6rem 0 .6rem}.health-module-grid{grid-template-columns:1fr}.health-module-heading{display:block}.health-module-heading h2{margin-top:.2rem}}
@media(max-width:860px){
  .hspace__metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:1.5rem}
  .hspace__quick{grid-template-columns:1fr}
  .hspace__activity{grid-template-columns:auto minmax(0,1fr) auto;row-gap:.35rem}
  .hspace__activity-status{grid-column:2;justify-self:start}
  .hspace__activity-date{grid-column:3;grid-row:1}
  .hspace__activity-chev{display:none}
}
@media(max-width:480px){.hspace__metrics{grid-template-columns:1fr}}
@media(max-width:700px){.health-provider-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Patient dashboard: keep every dynamic block inside the viewport. */
.health-dashboard__aside,
.health-dashboard__main,
.health-dashboard__main > *,
.health-panel,
.health-secure-layout,
.health-card { min-width:0; }
.health-dashboard__nav { min-width:0; scrollbar-width:none; }
.health-dashboard__nav::-webkit-scrollbar { display:none; }
.health-card p,
.health-card li,
.health-prescription-group__head h3,
.health-dashboard__header h1 { overflow-wrap:anywhere; }

@media (max-width:1024px) {
  .health-dashboard { grid-template-columns:1fr; width:100%; overflow:hidden; }
  .health-dashboard__aside { padding:.7rem .8rem; gap:.65rem; }
  .health-dashboard__brand { display:none; }
  .health-dashboard__nav { display:flex; width:100%; overflow-x:auto; gap:.25rem; }
  .health-dashboard__nav button { width:auto; max-width:none; flex:0 0 auto; white-space:nowrap; padding:.6rem .7rem; }
  .health-dashboard__aside-bottom { display:none; }
  .health-dashboard__main { width:100%; padding:.85rem; }
  .health-dashboard__quick-actions,
  .health-dashboard__metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .health-secure-layout { grid-template-columns:1fr; gap:1rem; }
}

@media (max-width:620px) {
  .health-dashboard__main { padding:.7rem; }
  .health-dashboard__header { margin-bottom:1rem; }
  .health-dashboard__header h1 { font-size:1.45rem; }
  .health-dashboard__quick-actions,
  .health-dashboard__metrics,
  .health-grid,
  .health-form-grid { grid-template-columns:1fr; }
  .health-dashboard__metrics article { padding:.85rem; }
  .health-secure-copy { padding:.25rem 0; }
  .health-secure-copy h2 { font-size:clamp(1.55rem,8vw,2.2rem); }
  .health-upload-card { padding:.9rem; }
  .health-prescription-group__head { align-items:flex-start; flex-direction:column; }
  .health-prescription-group__items { padding-left:0; border-left:0; }
  .health-card-actions { display:grid; grid-template-columns:1fr; }
  .health-card-actions .health-btn { width:100%; }
}

/* Téléconsultation : salle d'attente et séance privée */
.health-session{min-height:calc(100vh - var(--health-header-height,70px));padding:clamp(1rem,3vw,2.5rem) 0;background:#f3f7f5}.health-session__wrap{width:min(1060px,100% - 2rem);margin:auto}.health-session__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.health-session__head>a{color:var(--health);font-size:.86rem;font-weight:700;text-decoration:none}.health-session__card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);overflow:hidden;border:1px solid var(--health-line);border-radius:20px;background:#fff;box-shadow:0 18px 50px rgba(15,75,61,.09)}.health-session__main{padding:clamp(1.5rem,4vw,3rem)}.health-session__main h1{max-width:34rem;margin:.5rem 0;color:var(--health-ink);font-size:clamp(1.8rem,4vw,3rem);letter-spacing:-.045em}.health-session__main>p{max-width:37rem;margin:0;color:var(--health-muted);line-height:1.65}.health-session__doctor{display:flex;align-items:center;gap:.8rem;margin-top:2rem}.health-session__doctor>span{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--health-soft);color:var(--health)}.health-session__doctor strong,.health-session__doctor small{display:block}.health-session__doctor small{margin-top:.12rem;color:var(--health-muted);font-size:.8rem}.health-session__schedule{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin-top:1.2rem;padding-top:1.1rem;border-top:1px solid #edf3f0;color:var(--health-muted);font-size:.85rem}.health-session__schedule i{color:var(--health)}.health-session__schedule strong{margin-left:auto;color:var(--health-deep);font-variant-numeric:tabular-nums}.health-session__side{display:flex;flex-direction:column;justify-content:center;padding:clamp(1.5rem,3vw,2.5rem);background:#0d5448;color:#fff}.health-session__timer span,.health-session__timer strong,.health-session__timer small{display:block}.health-session__timer span{color:#b9e6d8;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.health-session__timer strong{margin:.5rem 0;font-size:clamp(2.5rem,6vw,4.2rem);line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.06em}.health-session__timer small{color:#d8eee8;font-size:.8rem;line-height:1.5}.health-session__tools{display:grid;gap:.55rem;margin-top:2rem}.health-session__tools button{display:flex;align-items:center;gap:.6rem;width:100%;padding:.75rem .85rem;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:.84rem;font-weight:700;text-align:left}.health-session__tools button:disabled{opacity:.48}.health-session__notice{display:flex;gap:.8rem;align-items:flex-start;margin-top:1rem;padding:1rem 1.1rem;border:1px solid #cfe7df;border-radius:14px;background:var(--health-soft)}.health-session__notice>i{color:var(--health);margin-top:.1rem}.health-session__notice strong{color:var(--health-deep);font-size:.88rem}.health-session__notice p{margin:.2rem 0 0;color:#4d6e66;font-size:.8rem;line-height:1.5}@media(max-width:700px){.health-session__card{grid-template-columns:1fr}.health-session__side{padding:1.5rem}.health-session__schedule strong{margin-left:0;width:100%}}

body.health-video-open{overflow:hidden}
.health-session__video{margin-top:1.6rem;padding:1rem;border:1px solid #cfe7df;border-radius:18px;background:linear-gradient(180deg,#f7fbfa,#fff)}
.health-session__video-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.85rem}
.health-session__video-head strong,.health-session__video-head span{display:block}
.health-session__video-head strong{display:flex;align-items:center;gap:.5rem;color:var(--health-ink);font-size:.94rem}
.health-session__video-head strong i{color:var(--health)}
.health-session__video-head span{margin-top:.25rem;color:var(--health-muted);font-size:.76rem;line-height:1.45}
.health-session__video-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}
.health-session__video-actions button{display:inline-flex;align-items:center;gap:.45rem;border:0;border-radius:999px;padding:.62rem .9rem;background:var(--health);color:#fff;font-size:.78rem;font-weight:800;cursor:pointer}
.health-session__video-actions button:disabled{opacity:.55;cursor:wait}
.health-session__video-actions button[hidden]{display:none}
.health-session__video-actions #sessionLeaveVideo{background:#9b2b2b}
.health-session__video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.health-session__video-tile{min-width:0}
.health-session__video-tile>span{display:block;margin-bottom:.35rem;color:var(--health-muted);font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.health-session__video-box{position:relative;min-height:190px;overflow:hidden;display:grid;place-items:center;border-radius:16px;background:#0d221e;color:rgba(255,255,255,.72)}
.health-session__video-box i{font-size:1.8rem}
.health-session__video-box small{display:block;margin-top:.45rem;max-width:12rem;text-align:center;color:rgba(255,255,255,.62);font-size:.72rem;line-height:1.4}
.health-session__video-box video{width:100%!important;height:100%!important;object-fit:cover!important}
.health-session__video-grid[data-primary="local"] .health-session__video-tile[data-video-tile="local"]{order:1}
.health-session__video-grid[data-primary="local"] .health-session__video-tile[data-video-tile="remote"]{order:2}
.health-session__video-grid[data-primary="remote"] .health-session__video-tile[data-video-tile="remote"]{order:1}
.health-session__video.is-fullscreen{position:fixed;inset:0;z-index:1200;display:flex;flex-direction:column;margin:0;padding:clamp(.75rem,2vw,1.5rem);border:0;border-radius:0;background:#071512;color:#fff;box-shadow:none}
.health-session__video.is-fullscreen .health-session__video-head{flex:0 0 auto;width:100%;color:#fff}
.health-session__video.is-fullscreen .health-session__video-head strong{color:#fff}
.health-session__video.is-fullscreen .health-session__video-head span{color:rgba(255,255,255,.7)}
.health-session__video.is-fullscreen .health-session__video-grid{position:relative;display:block;flex:1;min-height:0;width:100%;padding:0;border-radius:18px;overflow:hidden;background:#000}
.health-session__video.is-fullscreen .health-session__video-tile{position:absolute;inset:0;display:none;background:#000}
.health-session__video.is-fullscreen .health-session__video-tile[data-video-tile="remote"]{display:block}
.health-session__video.is-fullscreen .health-session__video-grid[data-primary="local"] .health-session__video-tile[data-video-tile="remote"]{display:none}
.health-session__video.is-fullscreen .health-session__video-grid[data-primary="local"] .health-session__video-tile[data-video-tile="local"]{display:block}
.health-session__video.is-fullscreen .health-session__video-tile>span{position:absolute;left:1rem;bottom:1rem;z-index:2;padding:.35rem .6rem;border-radius:999px;background:rgba(0,0,0,.5);color:#fff}
.health-session__video.is-fullscreen .health-session__video-tile[data-video-tile="local"]{inset:auto 1rem 1rem auto;width:clamp(110px,24vw,220px);height:clamp(150px,28vh,260px);display:block;z-index:4;border:2px solid rgba(255,255,255,.85);border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.4);cursor:pointer}
.health-session__video.is-fullscreen .health-session__video-grid[data-primary="local"] .health-session__video-tile[data-video-tile="remote"]{display:block;z-index:3}
.health-session__video.is-fullscreen .health-session__video-grid[data-primary="local"] .health-session__video-tile[data-video-tile="local"]{inset:0;width:auto;height:auto;border:0;border-radius:0;box-shadow:none}
.health-session__video.is-fullscreen .health-session__video-grid[data-primary="local"] .health-session__video-tile[data-video-tile="remote"]{inset:auto 1rem 1rem auto;width:clamp(110px,24vw,220px);height:clamp(150px,28vh,260px);border:2px solid rgba(255,255,255,.85);border-radius:14px;overflow:hidden;cursor:pointer}
.health-session__video.is-fullscreen .health-session__video-box{height:100%;min-height:0;border-radius:0;cursor:pointer}
.health-session__video.is-fullscreen .health-session__video-actions #sessionLeaveVideo{background:#d83b45}
.health-session__video.is-fullscreen .health-status{color:rgba(255,255,255,.8)}
@media(max-width:640px){.health-session__video{padding:.85rem}.health-session__video-head{display:block}.health-session__video-actions{justify-content:stretch;margin-top:.8rem}.health-session__video-actions button{flex:1;justify-content:center}.health-session__video-grid{grid-template-columns:1fr}.health-session__video-box{min-height:220px}}

/* Messagerie de séance (health-session.js) */
.health-field-label{display:block;margin-bottom:.4rem;font-size:.82rem;font-weight:800;color:#33443f}
.health-session__messaging{margin-top:1.8rem;padding-top:1.4rem;border-top:1px solid #edf3f0}
.health-session__messaging-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:.7rem}
.health-session__messaging-head strong{display:flex;align-items:center;gap:.5rem;color:var(--health-ink);font-size:.92rem}
.health-session__messaging-head strong i{color:var(--health)}
.health-session__messaging-head span{color:var(--health-muted);font-size:.72rem}
.health-session__messages{display:flex;flex-direction:column;gap:.5rem;max-height:280px;min-height:80px;overflow-y:auto;padding:.9rem;border:1px solid var(--health-line);border-radius:14px;background:#fafcfb}
.health-session__messages .health-empty{border:0;background:none;padding:1rem}
.health-session__bubble{align-self:flex-start;max-width:78%;padding:.6rem .8rem;border-radius:14px;background:#fff;border:1px solid var(--health-line);color:var(--health-ink)}
.health-session__bubble.is-mine{align-self:flex-end;background:var(--health-deep);color:#fff;border-color:var(--health-deep)}
.health-session__bubble p{margin:0;font-size:.86rem;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.health-session__bubble time{display:block;margin-top:.25rem;color:inherit;opacity:.62;font-size:.66rem}
.health-session__media-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem 0;border:0;background:none;color:inherit;font:inherit;font-size:.84rem;font-weight:700;cursor:pointer;text-decoration:underline}
.health-session__composer{margin-top:.8rem;display:grid;gap:.55rem}
.health-session__composer-limits{display:flex;gap:1rem;color:var(--health-muted);font-size:.72rem}
.health-session__composer-limits i{color:var(--health);margin-right:.3rem}
.health-session__text-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.7fr) minmax(0,1fr) 34px;gap:.5rem}
.health-session__text-row input{flex:1;min-width:0;border:1px solid #cfded9;border-radius:999px;padding:.75rem 1rem;outline:none}
.health-session__text-row input:focus{border-color:var(--health)}
.health-session__text-row button{width:44px;height:44px;flex:0 0 auto;display:grid;place-items:center;border:0;border-radius:50%;background:var(--health);color:#fff;cursor:pointer}
.health-session__composer-actions{display:flex;gap:.6rem}
.health-session__attach,.health-session__composer-actions button{display:inline-flex;align-items:center;gap:.45rem;padding:.55rem .85rem;border:1px solid var(--health-line);border-radius:999px;background:#fff;color:var(--health-deep);font-size:.8rem;font-weight:700;cursor:pointer}
.health-session__attach.is-disabled{opacity:.45;pointer-events:none}
.health-session__composer-actions button:disabled{opacity:.45;cursor:not-allowed}
.health-session__composer-actions button.is-recording{color:#fff;background:#c0392b;border-color:#c0392b;animation:health-pulse 1.1s ease-in-out infinite}
@keyframes health-pulse{0%,100%{opacity:1}50%{opacity:.65}}
.health-session__messaging-closed{margin:.5rem 0 0;color:var(--health-muted);font-size:.82rem}
.health-session__med-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,.9fr) 70px minmax(0,1.4fr) minmax(0,.9fr) minmax(0,1fr) minmax(0,1.2fr) 34px;gap:.5rem;margin-bottom:.5rem}
.health-session__med-row input,.health-session__med-row select{border:1px solid #cfded9;border-radius:10px;padding:.6rem .7rem;outline:none;width:100%;box-sizing:border-box;background:#fff;font:inherit}

/* Éditeur e-prescription : sections compactes, lisibles et imprimables */
.health-prescription-section{margin:1rem 0;padding:1rem;border:1px solid #e1ece8;border-radius:14px;background:#fbfdfc}
.health-prescription-section h4{margin:0 0 .7rem;color:var(--health-deep);font-size:.72rem;letter-spacing:.09em}
.health-prescription-section>.health-btn{margin-top:.25rem}
.health-prescription-actions{display:flex;justify-content:flex-end;gap:.55rem;flex-wrap:wrap;margin-top:1.1rem}
.health-prescription-actions .health-btn{min-height:42px}
.health-session__med-row{align-items:center}
.health-session__med-row{cursor:grab}.health-session__med-row:active{cursor:grabbing}.health-session__med-row.is-dragging{opacity:.45}
.health-session__med-row .health-icon-btn{width:34px;height:34px;color:#8d3b38;background:#fff4f2}
.health-session__text-row{grid-template-columns:minmax(0,1.2fr) minmax(0,.7fr) minmax(0,1fr) 34px}
.health-prescription-preview{margin-top:1rem;padding:1rem;border:1px solid #dce9e4;border-radius:14px;background:#eef5f2}
.health-prescription-paper{max-width:680px;margin:auto;padding:1.5rem;background:#fff;border:1px solid #d6e1dd;box-shadow:0 8px 24px rgba(15,75,61,.08);color:#1c302b}
.health-prescription-paper header{display:grid;gap:.18rem;padding-bottom:1rem;border-bottom:2px solid var(--health)}
.health-prescription-paper header strong{color:var(--health-deep);font-size:1rem;letter-spacing:.08em}
.health-prescription-paper header span,.health-prescription-paper header small{color:#5e766e;font-size:.76rem}
.health-prescription-paper section{margin-top:1.1rem;padding-top:.8rem;border-top:1px solid #edf2f0}
.health-prescription-paper h5{margin:0 0 .55rem;color:var(--health-deep);font-size:.72rem;letter-spacing:.08em}
.health-prescription-preview__item{display:grid;gap:.15rem;padding:.45rem 0;border-bottom:1px dashed #e4ece9;font-size:.86rem}
.health-prescription-preview__item span{color:#5e766e;font-size:.8rem}
.health-prescription-paper section div,.health-prescription-paper p{margin:.25rem 0;font-size:.84rem;line-height:1.5}
.health-prescription-paper footer{margin-top:1.5rem;padding-top:.8rem;border-top:1px solid #dfe9e5;color:#5e766e;font-size:.78rem;text-align:right}
.health-prescription-group{display:grid;gap:.8rem;margin:0 0 1rem}.health-prescription-group__head{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1rem;border:1px solid #dce9e5;border-radius:14px;background:linear-gradient(135deg,#f7fbfa,#eef7f4)}.health-prescription-group__head h3{margin:.2rem 0 0;color:var(--health-deep);font-size:1rem}.health-prescription-group__items{display:grid;gap:.8rem;padding-left:.7rem;border-left:2px solid #cfe8df}.health-prescription-group__items>.health-card{margin:0}.health-prescription-group__head .health-badge{white-space:nowrap}
.health-prescription-availability{display:grid;gap:.75rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #e1ece8}.health-prescription-availability__head{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}.health-prescription-availability__head>div{display:grid;gap:.25rem}.health-prescription-availability__head strong{color:var(--health-deep);font-size:.9rem}.health-prescription-availability__head small{color:var(--health-muted);font-size:.75rem}.health-prescription-availability__summary{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem .85rem;border:1px solid #bfe1d7;border-radius:12px;background:#effaf6}.health-prescription-availability__summary>div{display:grid;gap:.2rem}.health-prescription-availability__summary small{color:var(--health-muted);font-size:.75rem}.health-prescription-availability__summary-actions{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:flex-end}.health-prescription-batch{display:grid;gap:.75rem;padding:.85rem;border:1px solid #abd8cc;border-radius:12px;background:#f7fcfa}.health-prescription-batch__head{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}.health-prescription-batch__head>div{display:grid;gap:.2rem}.health-prescription-batch__head small{color:var(--health-muted);font-size:.75rem}.health-prescription-batch__options{display:grid;gap:.45rem}.health-prescription-batch__options label{display:flex;gap:.65rem;align-items:flex-start;padding:.6rem;border:1px solid #dce9e5;border-radius:9px;background:#fff}.health-prescription-batch__options label>span{display:grid;gap:.15rem}.health-prescription-batch__options small{color:var(--health-muted);font-size:.75rem}.health-prescription-offer{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem .7rem;border-top:1px solid #edf3f0}.health-prescription-offer>div{display:grid;gap:.2rem;min-width:0}.health-prescription-offer strong{font-size:.82rem;overflow-wrap:anywhere}.health-prescription-offer small{color:var(--health-muted);font-size:.74rem}.health-prescription-offer__select{display:inline-flex;align-items:center;gap:.3rem;flex:0 0 auto;color:var(--health-deep);font-size:.72rem}.health-prescription-offer .health-btn{flex:0 0 auto;padding:.55rem .7rem;font-size:.75rem}
.health-session__exam-results{margin-top:1rem;padding:1rem;border:1px solid #dce9e5;border-radius:16px;background:#fbfdfc}.health-session__exam-results .health-session__messaging-head{margin:0 0 .9rem}.health-session__exam-card{padding:.9rem;border:1px solid #e1ece8;border-radius:13px;background:#fff}.health-session__exam-card+.health-session__exam-card{margin-top:.7rem}.health-session__exam-card-head{display:flex;justify-content:space-between;gap:.8rem;align-items:flex-start}.health-session__exam-card-head strong,.health-session__exam-card-head small{display:block}.health-session__exam-card-head small{margin-top:.25rem;color:#6f8981;font-size:.75rem}.health-session__exam-lines{display:grid;gap:.3rem;margin-top:.7rem;color:#355c52;font-size:.84rem}.health-session__exam-lines i{width:1.2rem;color:#0d806e}.health-session__exam-files{display:grid;gap:.5rem;margin-top:.8rem;padding-top:.7rem;border-top:1px solid #edf3f0}.health-session__exam-files>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.25rem .7rem;align-items:center}.health-session__exam-files small{grid-column:1;color:#718a85;font-size:.72rem}.health-session__exam-files .health-card-actions{grid-column:2;grid-row:1/3}.health-session__exam-upload{display:grid;gap:.75rem;margin-top:.9rem;padding-top:.9rem;border-top:1px solid #e1ece8}.health-session__exam-upload label{display:grid;gap:.35rem;color:#34564d;font-size:.82rem}.health-session__exam-upload select,.health-session__exam-upload input{width:100%;padding:.65rem;border:1px solid #cbded7;border-radius:9px;background:#fff;font:inherit}.health-session__exam-upload small{color:#718a85;font-size:.72rem}.health-session__exam-preview{display:grid;gap:.3rem}.health-session__exam-preview span{padding:.45rem .6rem;border-radius:8px;background:#eef7f4;color:#41675d;font-size:.76rem}
@media(max-width:640px){.health-prescription-section{padding:.8rem}.health-session__med-row{grid-template-columns:1fr 1fr 34px}.health-session__med-row input[data-med-name],.health-session__med-row input[data-med-instructions]{grid-column:1/-1}.health-session__med-row .health-icon-btn{grid-column:3}.health-session__text-row{grid-template-columns:1fr 1fr 34px}.health-session__text-row input:first-child{grid-column:1/-1}.health-session__text-row .health-icon-btn{grid-column:3}.health-prescription-availability__head,.health-prescription-availability__summary{display:grid}.health-prescription-availability__summary-actions{display:grid;justify-content:stretch}.health-prescription-availability__summary .health-btn{width:100%}.health-prescription-batch__head{display:grid}.health-prescription-zone-form{display:grid;grid-template-columns:1fr 1fr}.health-prescription-zone-form input{width:auto}.health-prescription-zone-form .health-btn{grid-column:1/-1}.health-prescription-actions{justify-content:stretch}.health-prescription-actions .health-btn{flex:1}.health-prescription-paper{padding:1rem}}

.health-prescription-batch__payments{display:grid;gap:.5rem}.health-prescription-batch__payments>div{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem;border:1px solid #dce9e5;border-radius:9px;background:#fff}.health-prescription-batch__payments span{font-size:.8rem;color:var(--health-deep)}
.health-prescription-batch__exam{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem;border:1px solid #dce9e5;border-radius:9px;background:#fff}.health-prescription-batch__exam>span{display:grid;gap:.15rem;min-width:0}.health-prescription-batch__exam small{color:var(--health-muted);font-size:.75rem}

/* Commandes patient */
.health-cart-pharmacy{display:grid;gap:.65rem;padding:1rem;border:1px solid #dce9e5;border-radius:14px;background:#fbfdfc}.health-cart-pharmacy__head{display:flex;justify-content:space-between;gap:.75rem;align-items:center;color:var(--health-deep)}.health-cart-pharmacy__head span{font-weight:700}
.health-order-card{padding:1.2rem;border:1px solid var(--health-line);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,75,61,.05)}.health-order-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.health-order-card__head .health-eyebrow{margin:0;color:var(--health);font-size:.65rem}.health-order-card__head h2{margin:.25rem 0 0;color:var(--health-ink);font-size:1.05rem}.health-order-card__head>div>small{display:block;margin-top:.25rem;color:var(--health-muted);font-size:.74rem}.health-order-card__items{display:grid;gap:.4rem;margin:1rem 0}.health-order-card__items span{display:flex;align-items:center;gap:.45rem;padding:.45rem .6rem;border-radius:8px;background:#f4f8f6;color:#506c65;font-size:.78rem}.health-order-card__items b{color:var(--health-deep)}.health-order-card__items strong{margin-left:auto;color:var(--health-deep);white-space:nowrap}.health-order-card__progress{display:grid;grid-template-columns:repeat(4,1fr);gap:.25rem;padding-top:.8rem;border-top:1px solid #edf3f0}.health-order-card__progress span{display:grid;gap:.3rem;color:#9caea9;font-size:.7rem;text-align:center}.health-order-card__progress i{justify-self:center;font-size:.75rem}.health-order-card__progress .is-done{color:var(--health)}.health-order-card__foot{display:flex;justify-content:space-between;gap:1rem;margin-top:1rem;color:var(--health-muted);font-size:.78rem}.health-order-card__foot i{color:var(--health)}.health-order-card__foot strong{color:var(--health-deep);font-size:.9rem}.health-order-card__delivery{display:block;margin-top:.35rem;text-align:right;color:var(--health-muted)}@media(max-width:480px){.health-order-card__head{display:block}.health-order-card__head .health-badge{display:inline-block;margin-top:.65rem}}

/* Notifications dérivées du parcours santé */
.health-notification-list{display:grid;overflow:hidden;border:1px solid var(--health-line);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(15,75,61,.05)}.health-notification{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.9rem;padding:1rem 1.1rem;border-top:1px solid #eef3f0;color:inherit;text-decoration:none;cursor:pointer}.health-notification:first-child{border-top:0}.health-notification:hover{background:#f6faf8}.health-notification>span{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--health-soft);color:var(--health)}.health-notification strong{display:block;color:var(--health-ink);font-size:.9rem}.health-notification p{margin:.16rem 0 0;color:var(--health-muted);font-size:.78rem}.health-notification time{color:var(--health-muted);font-size:.76rem}.health-notification>i{color:var(--health-muted);font-size:.7rem}.health-notification.is-unread{background:#f5fbf9}.health-notification.is-unread strong{position:relative;padding-left:.9rem}.health-notification.is-unread strong::before{content:'';position:absolute;left:0;top:.35em;width:7px;height:7px;border-radius:50%;background:var(--health-warm)}@media(max-width:560px){.health-notification{grid-template-columns:auto minmax(0,1fr) auto}.health-notification>i{display:none}}

/* Patient record shown to the doctor during an active teleconsultation. */
.health-session__patient-record{margin-top:1.2rem;padding:1rem;border:1px solid #cfe7df;border-radius:16px;background:#fbfdfc}.health-session__patient-record .health-session__messaging-head{margin-bottom:.8rem}.health-session__patient-record .health-session__messaging-head span{color:#0d806e;font-weight:700}.health-session__record-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.health-session__record-meta>div{display:grid;gap:.15rem;padding:.65rem;border-radius:10px;background:#eef7f4}.health-session__record-meta small,.health-session__record-block small{color:#6b8980;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.health-session__record-meta strong{color:#173f35;font-size:.82rem}.health-session__record-meta span{color:#5b776f;font-size:.75rem}.health-session__record-vitals{display:grid;gap:.3rem;margin-top:.7rem;padding:.7rem;border-left:3px solid #0d806e;border-radius:8px;background:#f0faf7;color:#355c52;font-size:.8rem}.health-session__record-vitals strong{color:#0d6658}.health-session__record-vitals i{margin-right:.35rem}.health-session__record-block{margin-top:.7rem;padding-top:.65rem;border-top:1px solid #e3efeb}.health-session__record-block p{margin:.2rem 0 0;color:#294e44;font-size:.82rem;line-height:1.5;white-space:pre-wrap;word-break:break-word}@media(max-width:640px){.health-session__record-meta{grid-template-columns:1fr}.health-session__patient-record{padding:.8rem}}

.health-session__record-form { display: grid; gap: 14px; margin-top: 16px; }
.health-session__record-section { display: grid; gap: 10px; padding: 14px; border: 1px solid rgba(15, 118, 110, .16); border-radius: 16px; background: rgba(240, 249, 247, .55); }
.health-session__record-section > strong { color: #0f766e; }
.health-session__record-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.health-session__record-form .health-field { display: grid; gap: 6px; }
.health-session__record-form .health-field span { font-size: .78rem; font-weight: 700; color: #41615f; }
.health-session__record-form input, .health-session__record-form textarea, .health-session__record-form select { width: 100%; border: 1px solid #d4e2e0; border-radius: 10px; padding: 10px 11px; background: #fff; color: #132b2a; font: inherit; box-sizing: border-box; }
.health-session__record-form textarea { resize: vertical; min-height: 68px; }
.health-session__record-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.health-session__record-flags { font-size: .85rem; color: #46615f; }
@media (max-width: 640px) { .health-session__record-grid { grid-template-columns: 1fr; } .health-session__record-actions .health-btn { width: 100%; } }
/* Laboratory exam catalog: mobile-first, readable cards and category filter. */
.health-exam-catalog { display:grid; gap:1rem; }
.health-exam-catalog > .health-field { max-width:34rem; padding:1rem; border:1px solid #cfe5de; border-radius:16px; background:linear-gradient(135deg,#ffffff,#f1faf7); box-shadow:0 10px 26px rgba(15,75,61,.06); }
.health-exam-catalog > .health-field > span { color:var(--health-deep); font-size:.75rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.health-exam-catalog > .health-field select { min-height:48px; color:var(--health-ink); font-weight:700; cursor:pointer; }
.health-exam-category { margin-top:.25rem; padding:1rem; border:1px solid #d7e8e2; border-radius:20px; background:rgba(255,255,255,.72); box-shadow:0 14px 34px rgba(28,65,56,.06); }
.health-exam-category .health-subheading { margin:0 0 1rem; align-items:center; }
.health-exam-category .health-subheading h3 { margin:.2rem 0 0; font-size:clamp(1.2rem,2vw,1.55rem); letter-spacing:-.02em; }
.health-exam-category .health-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:.8rem; }
.health-exam-category .health-card { display:flex; min-width:0; min-height:190px; flex-direction:column; gap:.45rem; padding:1rem; border-radius:16px; box-shadow:0 6px 18px rgba(28,65,56,.045); }
.health-exam-category .health-card h3 { min-width:0; margin:.1rem 0 .15rem; color:var(--health-ink); font-size:1rem; line-height:1.25; overflow-wrap:anywhere; }
.health-exam-category .health-card p { min-height:2.8em; margin:0; font-size:.84rem; overflow-wrap:anywhere; }
.health-exam-category .health-card .price { min-height:1.4em; margin-top:auto; font-size:1.05rem; }
.health-exam-category .health-card-actions { margin-top:.65rem; }
.health-exam-category .health-card-actions .health-badge { line-height:1.25; white-space:normal; }
@media (max-width:620px) {
  .health-exam-category { padding:.75rem; border-radius:16px; }
  .health-exam-category .health-subheading { align-items:flex-start; }
  .health-exam-category .health-card { min-height:0; }
  .health-exam-category .health-card p { min-height:0; }
}
/* Give the laboratory directory a wide desktop canvas while keeping mobile fluid. */
.health-route--labs .health-route-main > .health-wrap { width:min(1600px,100%); max-width:none; }
.health-route--labs .health-exam-catalog,
.health-route--labs .health-exam-category { width:100%; min-width:0; }
.health-route--labs .health-exam-category .health-grid { grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); }
@media (min-width:1200px) {
  .health-route--labs .health-exam-category .health-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .health-route--labs .health-route-main > .health-wrap { width:100%; }
  .health-route--labs .health-exam-category .health-grid { grid-template-columns:1fr; }
}
/* Adaptive catalog grid: never reserve empty columns when a category has few exams. */
.health-route--labs .health-exam-category .health-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  align-items: stretch;
}
.health-route--labs .health-exam-category .health-card {
  width: 100%;
}
/* Use the available catalog width, even when desktop browser zoom triggers the mobile breakpoint. */
@media (min-width:480px) {
  .health-route--labs .health-exam-category .health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width:980px) {
  .health-route--labs .health-exam-category .health-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
/* Full-width laboratory shell: the directory must use the viewport, not shrink to content. */
#health-root,
#health-root > .health-route--labs,
.health-route--labs .health-route-main {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.health-route--labs .health-route-main > .health-wrap {
  width: 100%;
  max-width: 1600px;
  min-width: 0;
  box-sizing: border-box;
}
.health-route--labs .health-exam-category .health-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
@media (max-width:620px) {
  .health-route--labs .health-exam-category .health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width:430px) {
  .health-route--labs .health-exam-category .health-grid {
    grid-template-columns: 1fr;
  }
}
/* Laboratory catalog: break out of narrow legacy wrappers and fill the desktop viewport. */
.health-route--labs .health-route-main > .health-wrap {
  width: calc(100vw - 2.5rem) !important;
  max-width: none !important;
  margin-left: calc((100% - 100vw) / 2 + 1.25rem) !important;
  margin-right: 0 !important;
}
.health-route--labs .health-exam-catalog,
.health-route--labs .health-exam-category {
  width: 100% !important;
  max-width: none !important;
}
.health-route--labs .health-exam-category .health-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  width: 100% !important;
  gap: 1rem !important;
}
@media (max-width: 760px) {
  .health-route--labs .health-route-main > .health-wrap {
    width: 100% !important;
    margin-left: 0 !important;
  }
  .health-route--labs .health-exam-category .health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 430px) {
  .health-route--labs .health-exam-category .health-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Each laboratory category panel spans the desktop viewport. */
.health-route--labs .health-exam-category {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  box-sizing: border-box !important;
}
@media (max-width: 760px) {
  .health-route--labs .health-exam-category {
    width: 100% !important;
    margin-left: 0 !important;
  }
}


/* Recherche laboratoires — panneau compact, hiérarchisé et mobile-first */
.health-lab-search.health-search--page{display:grid;gap:1.35rem;margin:0 0 2rem;padding:clamp(1rem,2.4vw,1.55rem);border:1px solid #d9e8e3;border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(18,62,52,.08)}
.health-lab-search__intro{display:grid;gap:.35rem}
.health-lab-search__intro .health-eyebrow{width:max-content;padding:0;border:0;background:none;color:#0f6958;font-size:.7rem;letter-spacing:.08em}
.health-lab-search__intro h3{margin:0;color:#123a33;font-size:clamp(1.15rem,2vw,1.4rem);letter-spacing:-.02em}
.health-lab-search__intro p{margin:0;max-width:58rem;color:#6a827c;font-size:.88rem;line-height:1.5}
.health-lab-search__fields{display:grid;grid-template-columns:1fr;gap:.85rem}
.health-lab-field{display:grid;align-content:start;gap:.4rem;min-width:0;color:#38544d;font-size:.72rem;font-weight:800;letter-spacing:.02em}
.health-lab-field>span{display:flex;align-items:center;gap:.3rem}
.health-lab-field>span small{color:#7a918b;font-size:.68rem;font-weight:600}
.health-lab-field input,.health-lab-field select{width:100%;min-height:46px;border:1px solid #d4e2de;border-radius:11px;background:#fbfdfc;color:#193b34;font:inherit;font-size:.9rem;font-weight:600;letter-spacing:normal;padding:.7rem .8rem;outline:0;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.health-lab-field input::placeholder{color:#8ba09b;font-weight:500}
.health-lab-field input:focus,.health-lab-field select:focus{border-color:#0f806b;background:#fff;box-shadow:0 0 0 3px rgba(15,128,107,.13)}
.health-lab-input{position:relative}
.health-lab-input i{position:absolute;top:50%;left:.85rem;z-index:1;color:#0f806b;transform:translateY(-50%)}
.health-lab-input input{padding-left:2.35rem}
.health-lab-price-range{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.45rem}
.health-lab-price-range>span{color:#8aa19b;font-size:.78rem}
.health-lab-search__actions{display:flex;flex-wrap:wrap;gap:.65rem;padding-top:.15rem}
.health-lab-search__actions .health-btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:45px;padding:.72rem 1.05rem;border-radius:11px;font-size:.86rem}
.health-lab-search__actions .health-btn.secondary{color:#0f6958;background:#edf7f4;border-color:#c8e2da}
.health-lab-search__actions .health-btn:hover{transform:translateY(-1px)}
@media(min-width:640px){
 .health-lab-search__fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .health-lab-field--query,.health-lab-field--prices{grid-column:span 2}
}
@media(min-width:980px){
 .health-lab-search__fields{grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem}
 .health-lab-field--query{grid-column:span 4}
 .health-lab-field:nth-child(2),.health-lab-field:nth-child(3),.health-lab-field:nth-child(4){grid-column:span 2}
 .health-lab-field--prices{grid-column:span 2}
 .health-lab-search__actions{justify-content:flex-end}
}
@media(max-width:420px){
 .health-lab-search__actions{display:grid;grid-template-columns:1fr}
 .health-lab-search__actions .health-btn{width:100%}
}
@media(max-width:620px){
 .health-medicine-detail__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .health-medicine-detail__hero{align-items:flex-start;flex-direction:column}
 .health-medicine-detail__hero img{width:84px;height:84px}
}

/* Product detail modal: preserve its width and scroll only the rich content. */
#health-medicine-detail-dialog:has(.health-medicine-detail) {
  overflow:hidden;
}
#health-medicine-detail-dialog .health-dialog-body {
  max-height:72vh;
  overflow:auto;
  overscroll-behavior:contain;
  padding:1.35rem;
  scrollbar-gutter:stable;
}
.health-medicine-detail { gap:.9rem; }
.health-medicine-detail__hero {
  display:grid;
  grid-template-columns:144px minmax(0,1fr) 116px;
  align-items:center;
  gap:1rem;
  min-width:0;
  padding:1rem;
  border:1px solid #e6f0ed;
  border-radius:16px;
  background:linear-gradient(120deg,#edf7f4,#f7fbfa);
}
.health-medicine-detail__image {
  width:144px;
  height:144px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid #e3ece9;
  border-radius:14px;
  background:#fff;
}
.health-medicine-detail__image img { width:100%; height:100%; object-fit:contain; }
.health-medicine-detail__identity { min-width:0; }
.health-medicine-detail__eyebrow {
  display:inline-flex;
  margin-bottom:.55rem;
  padding:.38rem .75rem;
  border-radius:999px;
  color:#08745f;
  background:#d8f2e9;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.health-medicine-detail__identity h2 { margin:0; color:#142033; font-size:clamp(1.15rem,2vw,1.5rem); line-height:1.2; overflow-wrap:anywhere; }
.health-medicine-detail__identity p { display:flex; flex-wrap:wrap; gap:.25rem .5rem; margin:.55rem 0; color:#667787; font-size:.82rem; line-height:1.4; }
.health-medicine-detail__identity p span { color:#a6b3bd; }
.health-medicine-detail__price { display:block; color:#075b2b; font-size:1.8rem; line-height:1.1; }
.health-medicine-detail__stock {
  min-width:0;
  min-height:116px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.14rem;
  border-radius:14px;
  color:#087443;
  background:#e2f6eb;
}
.health-medicine-detail__stock > span { display:inline-flex; align-items:center; gap:.4rem; margin-bottom:.35rem; padding:.35rem .55rem; border:1px solid #c6ead5; border-radius:999px; background:rgba(255,255,255,.5); font-size:.72rem; font-weight:800; }
.health-medicine-detail__stock > span i { width:9px; height:9px; border-radius:50%; background:#14a85b; }
.health-medicine-detail__stock > strong { font-size:1.8rem; line-height:1; }
.health-medicine-detail__stock > small { font-size:.76rem; }
.health-medicine-detail__stock.is-out-of-stock { color:#a12d2d; background:#fff0ef; }
.health-medicine-detail__stock.is-out-of-stock > span { border-color:#f0d0ce; }
.health-medicine-detail__stock.is-out-of-stock > span i { background:#dc4343; }
.health-medicine-detail__grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:.55rem; }
.health-medicine-detail__grid > div { min-width:0; min-height:76px; display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:.6rem; padding:.65rem; border:1px solid #edf1f5; border-radius:14px; background:linear-gradient(130deg,#f5f8fc,#fbfcfd); }
.health-medicine-detail__grid > div > img { width:42px; height:42px; object-fit:contain; }
.health-medicine-detail__grid > div > span { min-width:0; display:grid; gap:.24rem; }
.health-medicine-detail__grid small { color:#718096; font-size:.64rem; line-height:1.25; letter-spacing:.045em; }
.health-medicine-detail__grid strong { color:#172033; font-size:.86rem; line-height:1.3; overflow-wrap:anywhere; }
.health-medicine-detail__accordions { display:grid; gap:.55rem; padding-top:.85rem; border-top:1px solid #dce5eb; }
.health-medicine-accordion { overflow:hidden; border:1px solid #e2eaf0; border-radius:13px; background:#fff; transition:border-color .18s ease,box-shadow .18s ease; }
.health-medicine-accordion[open] { border-color:#b7d9ce; box-shadow:0 5px 15px rgba(26,74,61,.06); }
.health-medicine-accordion > summary { min-height:60px; display:flex; align-items:center; gap:.75rem; padding:.48rem .7rem; color:#172033; font-weight:750; list-style:none; cursor:pointer; }
.health-medicine-accordion > summary::-webkit-details-marker { display:none; }
.health-medicine-accordion > summary > img { width:42px; height:42px; flex:0 0 42px; object-fit:contain; }
.health-medicine-accordion > summary > span { flex:1; min-width:0; }
.health-medicine-accordion > summary > i { flex:0 0 auto; font-size:.8rem; transition:transform .18s ease; }
.health-medicine-accordion[open] > summary > i { transform:rotate(180deg); }
.health-medicine-accordion__content { padding:0 1rem .9rem 3.95rem; color:#58697c; line-height:1.55; }
.health-medicine-accordion__content p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.health-medicine-accordion__empty { display:flex; align-items:center; gap:.55rem; padding:0 1rem .9rem 3.95rem; color:#718096; font-size:.86rem; line-height:1.45; }
.health-medicine-accordion__empty i { color:#0f806b; }
.health-medicine-detail__actions { position:sticky; bottom:-1rem; z-index:2; display:flex; align-items:center; gap:.7rem; margin:.9rem -1rem -1rem; padding:.85rem 1rem 1rem; border-top:1px solid #e6ecef; background:rgba(255,255,255,.98); box-shadow:0 -8px 18px rgba(19,43,66,.04); }
.health-medicine-detail__actions [data-detail-add] { min-width:min(340px,72%); min-height:54px; display:inline-flex; align-items:center; justify-content:center; gap:.7rem; border-radius:13px; font-size:.96rem; }
.health-medicine-detail__actions [data-detail-add] i { font-size:1.1rem; }
@media(max-width:700px) {
  #health-medicine-detail-dialog .health-dialog-body { padding:1rem; }
  .health-medicine-detail { gap:.65rem; }
  .health-medicine-detail__hero { grid-template-columns:82px minmax(0,1fr); gap:.7rem; padding:.7rem; }
  .health-medicine-detail__image { grid-column:1; grid-row:1; width:82px; height:82px; }
  .health-medicine-detail__identity { grid-column:2; grid-row:1; }
  .health-medicine-detail__eyebrow { margin-bottom:.35rem; padding:.3rem .55rem; font-size:.62rem; }
  .health-medicine-detail__identity h2 { font-size:1.05rem; }
  .health-medicine-detail__identity p { margin:.35rem 0; font-size:.7rem; }
  .health-medicine-detail__price { font-size:1.4rem; }
  .health-medicine-detail__stock { grid-column:1/-1; min-height:0; flex-direction:row; justify-content:space-between; gap:.35rem; padding:.5rem .65rem; }
  .health-medicine-detail__stock > span { margin:0; }
  .health-medicine-detail__stock > strong { margin-left:auto; font-size:1.35rem; }
  .health-medicine-detail__stock > small { font-size:.7rem; }
  .health-medicine-detail__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; }
  .health-medicine-detail__grid > div { min-height:66px; grid-template-columns:34px minmax(0,1fr); gap:.45rem; padding:.5rem; }
  .health-medicine-detail__grid > div > img { width:34px; height:34px; }
  .health-medicine-detail__grid small { font-size:.58rem; }
  .health-medicine-detail__grid strong { font-size:.76rem; }
  .health-medicine-accordion > summary { min-height:54px; gap:.55rem; padding:.4rem .55rem; font-size:.88rem; }
  .health-medicine-accordion > summary > img { width:38px; height:38px; flex-basis:38px; }
  .health-medicine-accordion__content { padding:0 .75rem .75rem 3.3rem; font-size:.88rem; }
  .health-medicine-accordion__empty { padding:0 .75rem .75rem 3.3rem; font-size:.82rem; }
  .health-medicine-detail__actions { gap:.5rem; padding:.65rem .7rem .75rem; }
  .health-medicine-detail__actions [data-detail-add] { min-width:0; flex:1; min-height:48px; font-size:.86rem; }
}
@media(max-width:380px) {
  .health-medicine-detail__grid { grid-template-columns:1fr; }
}

/* Medicine cards: image-led layout shared by the Health home and pharmacy. */
.health-card.health-medicine-card,
.health-home-card.health-medicine-product-card {
  border: 1px solid #e3eaf0;
  background: #fff;
  box-shadow: 0 10px 28px rgba(22, 48, 75, .08);
}

.health-medicine-card-visual {
  position: relative;
}

.health-medicine-stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .52rem .85rem;
  border: 1px solid #a8efba;
  border-radius: 999px;
  color: #075b2b;
  background: rgba(232, 255, 237, .96);
  font-size: clamp(.72rem, 1vw, .92rem);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(15, 55, 31, .12);
}

.health-medicine-stock-badge > i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #13a538;
}

.health-medicine-stock-badge.is-out-of-stock {
  border-color: #f1c3c3;
  color: #8d2525;
  background: rgba(255, 241, 241, .97);
}

.health-medicine-stock-badge.is-out-of-stock > i { background: #d14646; }

.health-medicine-stock-label {
  flex: 0 0 auto;
  padding: .28rem .48rem;
  border-radius: 999px;
  color: #075b2b;
  background: #e8f9ed;
  font-size: .68rem;
  font-weight: 800;
}
.health-medicine-stock-label.is-out-of-stock,
.health-medicine-stock-label.warn { color: #805300; background: #fff4d6; }
.health-medicine-stock-label.is-out-of-stock { color: #8d2525; background: #ffeded; }
.health-route--pharmacy .health-medicine-stock-label { display: none; }
.health-home-card.health-medicine-product-card .health-medicine-stock-badge { display: none; }

.health-medicine-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .45rem; }
.health-medicine-card-head h3 {
  min-width: 0;
  margin: .1rem 0 0;
  color: #142033;
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.health-medicine-card-head .health-badge {
  justify-self: start;
  padding: .28rem .55rem;
  font-size: .68rem;
}

.health-medicine-card-content .health-medicine-summary {
  color: #56647a;
  font-size: .86rem;
}

.health-medicine-summary > i { display: none; }

.health-medicine-card-content .health-medicine-footer {
  align-items: center;
}

.health-medicine-card-content .health-medicine-footer > .price {
  margin: 0;
  color: #075b2b;
  font-size: 1.2rem;
}

.health-route--pharmacy .health-medicine-footer > .price {
  justify-self: end;
  padding-inline: .25rem;
  border-radius: 8px;
  color: #075b2b;
  background: #e8f9ed;
}

.health-route--pharmacy .health-medicine-card-visual { aspect-ratio: 1.41; }
.health-route--pharmacy #health-medicine-results > .health-medicine-card { gap: .45rem; }
.health-route--pharmacy .health-medicine-card-content { gap: .4rem; }
.health-route--pharmacy .health-medicine-summary { padding: .25rem 0; }

.health-medicine-card-content .health-card-actions {
  gap: .55rem;
}

.health-medicine-card-content .health-card-actions .health-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}

.health-medicine-card-content .health-card-actions .health-btn.secondary {
  border: 1px solid #cbdaf2;
  color: #0866cc;
  background: #fff;
}

.health-medicine-card-content .health-card-actions .health-btn.primary {
  border: 1px solid #0866cc;
  color: #fff;
  background: linear-gradient(135deg, #1680ff, #0866dc);
  box-shadow: 0 7px 16px rgba(8, 102, 204, .2);
}

.health-medicine-card-content .health-card-actions .health-btn i { font-size: 1.05em; }
.health-medicine-card-content .health-card-actions .health-medicine-prescription { grid-column: 1 / -1; }

.health-route--pharmacy #health-medicine-results.health-grid,
#health-home-medicines.health-grid { align-items:stretch; }

/* Homepage product cards use the same natural sizing and content flow as Pharmacy. */
.health-home-card.health-medicine-product-card { height:auto; min-height:0; overflow:hidden; }
.health-home-card.health-medicine-product-card .health-medicine-stock-badge { display:inline-flex; }
.health-home-card.health-medicine-product-card .health-medicine-stock-label { display:none; }

.health-route--pharmacy .health-medicine-card-visual,
#health-home-medicines .health-medicine-card-visual { aspect-ratio:1.41; }
.health-route--pharmacy #health-medicine-results > .health-medicine-card,
#health-home-medicines > .health-medicine-product-card { gap:.45rem; }
.health-route--pharmacy .health-medicine-card-content,
#health-home-medicines .health-medicine-card-content { gap:.4rem; }
.health-route--pharmacy .health-medicine-summary,
#health-home-medicines .health-medicine-summary { padding:.25rem 0; }
.health-route--pharmacy .health-medicine-footer > .price,
#health-home-medicines .health-medicine-footer > .price {
  justify-self:end;
  padding-inline:.25rem;
  border-radius:8px;
  color:#075b2b;
  background:#e8f9ed;
}

@media (max-width: 620px) {
  .health-route--pharmacy .health-medicine-card-visual,
  #health-home-medicines .health-medicine-card-visual { aspect-ratio:1.07; }
  .health-route--pharmacy #health-medicine-results > .health-medicine-card,
  #health-home-medicines > .health-medicine-product-card { gap:.35rem; }
  .health-route--pharmacy .health-medicine-card-content,
  #health-home-medicines .health-medicine-card-content { gap:.25rem; }
  .health-route--pharmacy .health-medicine-summary,
  #health-home-medicines .health-medicine-summary { padding:.08rem 0; }
  .health-route--pharmacy .health-medicine-footer .health-btn,
  #health-home-medicines .health-medicine-footer .health-btn { min-height:35px; padding:.3rem .25rem; font-size:.62rem; line-height:1.1; }
  .health-medicine-stock-badge { top:8px; right:8px; gap:.32rem; padding:.3rem .5rem; font-size:.68rem; }
  .health-medicine-stock-badge > i { width:8px; height:8px; flex-basis:8px; }
  .health-medicine-card-head .health-badge,
  .health-medicine-stock-label { padding:.2rem .4rem; font-size:.58rem; }
}
