/* ── Home tab (/home), redesigned 2026-10-09 ──
   Same look as the /totem page: white cards, gold diamond + spaced green
   capitals headings, no emojis. Markup: home.html + js/home.js. */

#home-page { gap: 18px; }

/* 1. Greeting */
.hm-head { display: flex; flex-direction: column; gap: 2px; }
.hm-date { margin: 0; font-size: 13px; color: var(--tab-muted); }
.hm-head h1 { margin: 0; }

/* Section headings: gold diamond, spaced capitals, fine rule, "see all". */
.hm-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tab-page h2.hm-kicker {
  flex: 1; display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--z-primary);
}
.hm-kicker::before { content: ''; flex: none; width: 7px; height: 7px; background: #b8975a; transform: rotate(45deg); }
.hm-kicker::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #b8975a66, transparent); }
.hm-more { flex: none; font-size: 13px; font-weight: 600; color: var(--tab-accent); text-decoration: none; }
.hm-more::after { content: ' ›'; }
.hm-section.hidden { display: none; }

/* 2. Next session (left, white) + find a session (right, green), mockup D */
.hm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hm-split-card {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 11px 12px; border-radius: 16px; text-decoration: none;
}
.hm-split-next { background: #fff; border: 1px solid #e4e6e3; color: #2e3235; }
.hm-split-find {
  background: linear-gradient(160deg, var(--z-primary) 0%, #4a6b5c 100%);
  color: #f7f5f0; box-shadow: 0 6px 20px rgb(63 94 79 / 0.25);
}
.hm-split-k {
  display: flex; align-items: center; gap: 6px; margin-bottom: 2px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--z-primary);
}
.hm-split-k::before { content: ''; flex: none; width: 6px; height: 6px; background: #b8975a; transform: rotate(45deg); }
.hm-split-find .hm-split-k { color: #d4c19e; }
.hm-split-card strong { font-size: 14px; line-height: 1.2; padding-right: 12px; }
.hm-split-when { font-size: 13px; font-weight: 700; color: var(--z-primary); }
.hm-split-sub { font-size: 11.5px; line-height: 1.3; color: #5f6467; padding-right: 12px; }
.hm-split-find .hm-split-sub { color: #d1e1d9; }
.hm-split-go { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 20px; line-height: 1; opacity: 0.6; }
.hm-split-next .hm-split-go { color: var(--z-primary); }
.hm-split-status {
  align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; background: #e6eeea; color: #2e3235;
}
.hm-split-status.is-pending { background: #f0e7d6; color: #7a6236; }
.hm-btn {
  padding: 8px 14px; border-radius: 999px; background: #f7f5f0; color: var(--z-primary);
  font-size: 14px; font-weight: 700; text-decoration: none;
}

/* Big green link card (practitioner Accueil) */
.hm-find {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px;
  background: linear-gradient(160deg, var(--z-primary) 0%, #4a6b5c 100%);
  color: #f7f5f0; text-decoration: none; box-shadow: 0 6px 20px rgb(63 94 79 / 0.25);
}
.hm-find-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.hm-find-text strong { font-size: 18px; }
.hm-find-text span { font-size: 13px; color: #d1e1d9; }
.hm-find-go { font-size: 28px; line-height: 1; opacity: 0.7; }

.hm-go { flex: none; font-size: 24px; color: var(--tab-muted); }

/* 4. Book again */
.hm-again-initial {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #ecf2ef; color: #2e3235; font-size: 18px; font-weight: 700;
  box-shadow: inset 0 0 0 2px #b8975a55;
}
.hm-again-slot { font-size: 13px !important; font-weight: 600; color: var(--z-primary) !important; margin-top: 2px; }
.hm-again-off { padding: 0 6px; border-radius: 6px; background: #f0e7d6; color: #7a6236; font-weight: 700; }
.hm-again-none { font-size: 12px; color: var(--tab-muted) !important; font-style: italic; margin-top: 2px; }
.hm-again-btn { flex: none; padding: 7px 12px; border-radius: 999px; background: var(--tab-accent); color: #fff; font-size: 13px; font-weight: 700; }

/* 5. My sessions: compact rows */
.hm-list { display: flex; flex-direction: column; border: 1px solid #e1ebe6; border-radius: 16px; background: #fff; overflow: hidden; }
.hm-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; color: inherit; }
.hm-row + .hm-row { border-top: 1px solid #f2f1ed; }
.hm-row:hover { background: #f7f9f8; }
.hm-row-date {
  flex: none; width: 44px; padding: 5px 0; border-radius: 10px; background: #ecf2ef;
  display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--z-primary); text-transform: uppercase;
}
.hm-row-date b { font-size: 17px; line-height: 1.1; color: #2e3235; }
.hm-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hm-row-text strong { font-size: 15px; color: var(--tab-ink); }
.hm-row-text span { font-size: 12px; color: #4a4f52; }
.hm-row-status { flex: none; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #e6eeea; color: #2e3235; }
.hm-row-status.is-pending { background: #f0e7d6; color: #7a6236; }
.hm-row-status.is-declined, .hm-row-status.is-cancelled { background: #f7e3e3; color: #8a2a2a; }
.hm-row.status-declined, .hm-row.status-cancelled { opacity: 0.75; }
#home-bookings .home-sub { margin: 14px 2px 8px; }
.hm-empty { padding: 16px; border: 1px dashed #d0e0d8; border-radius: 16px; text-align: center; }
.hm-empty p { margin: 0 0 4px; }

.hm-row-saved { color: var(--z-primary); font-weight: 700; }
.hm-row-status.is-done { background: #e8f0ec; color: var(--z-primary); }

/* 2a. Our practitioners: carousel (owner picked mockup A, 2026-10-12) → /praticiens */
.hm-pros-row {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 0 -18px; padding: 2px 18px 6px; scroll-padding: 0 18px; overflow-anchor: none;
}
.hm-pros-row::-webkit-scrollbar { display: none; }
.hm-pro {
  position: relative;
  flex: none; width: 138px; scroll-snap-align: start; padding: 14px 12px; border-radius: 18px;
  background: #fff; border: 1px solid #e4e6e3; box-shadow: 0 2px 8px rgb(46 50 53 / 0.05);
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; text-decoration: none; color: inherit;
}
.hm-pro-av {
  width: 58px; height: 58px; margin-bottom: 6px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; font-weight: 700; color: #2e3235; background: #ecf2ef; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #b8975a;
}
.hm-pro strong { max-width: 100%; overflow-wrap: anywhere; font-size: 14px; line-height: 1.2; color: var(--tab-ink); }
.hm-pro-city { font-size: 12px; color: #5f6467; }
.hm-pro-rate { font-size: 12px; }
.hm-pro-rate b { margin-left: 3px; color: #2e3235; }
.hm-pro-stars { color: #b8975a; letter-spacing: 1px; }
.hm-pro-stars i { font-style: normal; color: #e3dccd; }
.hm-pro-new { padding: 1px 8px; border-radius: 999px; background: #f0e7d6; color: #7a6236; font-size: 11px; font-weight: 700; }
.hm-pro-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #ecf2ef; color: var(--z-primary); font-size: 11px; font-weight: 600; }
.hm-pros-all {
  flex: none; width: 110px; min-height: 150px; scroll-snap-align: start; padding: 10px; border-radius: 18px;
  background: var(--z-primary); color: #f7f5f0; text-decoration: none; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 14px;
}
.hm-pros-all span { font-size: 26px; font-weight: 800; color: #d4c19e; }
.hm-pros-all span:empty { display: none; }
.hm-pros-all b::after { content: ' ›'; }

/* /praticiens: every practitioner (js/practitioners.js) */
.pros-page { position: relative; gap: 12px; }
.pros-head { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; }
.pros-head h1 { margin: 0; text-align: center; }
.pros-back {
  position: absolute; left: -8px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
}
.pros-back svg { width: 24px; height: 24px; fill: none; stroke: #2e3235; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pros-back:active { background: #ebe9e3; }
.pros-intro { margin: 0 4px; font-size: 14px; color: #5f6467; text-align: center; line-height: 1.45; }

/* Search (owner, 2026-10-15, spec docs/specs/practitioners-search.md): field + place suggestions */
.pros-search { position: relative; }
.pros-search-field {
  display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 14px;
  border: 1px solid #e1ebe6; border-radius: 999px; background: #fff;
}
.pros-search-field:focus-within { border-color: var(--z-primary); box-shadow: 0 0 0 3px #e3ece7; }
.pros-search-field > svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--z-primary); stroke-width: 2.2; stroke-linecap: round; }
.pros-search-field input {
  flex: 1; min-width: 0; border: 0; outline: none; background: none;
  font: inherit; font-size: 16px; color: #2e3235; /* 16 px: iOS doesn't zoom into the field */
}
.pros-search-field input::placeholder { color: #8a8f92; }
.pros-search-field input::-webkit-search-cancel-button { display: none; }
.pros-q-clear { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f2f1ed; display: grid; place-items: center; cursor: pointer; }
.pros-q-clear.hidden { display: none; }
.pros-q-clear svg, .pros-near-clear svg { width: 16px; height: 16px; fill: none; stroke: #2e3235; stroke-width: 2.2; stroke-linecap: round; }
.pros-places {
  position: absolute; z-index: 30; left: 0; right: 0; top: 54px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid #e1ebe6; border-radius: 18px; box-shadow: 0 12px 30px rgba(17, 27, 22, 0.14);
}
.pros-places.hidden { display: none; }
.pros-places-h { padding: 8px 10px 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9c4419; }
.pros-place {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 12px;
  background: none; font: inherit; text-align: left; cursor: pointer;
}
.pros-place:active, .pros-place:hover { background: #f5f4f0; }
.pros-place svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--z-primary); stroke-width: 2; stroke-linejoin: round; }
.pros-place span { min-width: 0; display: flex; flex-direction: column; }
.pros-place strong { font-size: 15px; color: #2e3235; }
.pros-place small { font-size: 12px; color: #5f6467; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pros-near {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0;
  padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--z-primary); color: #fff; font-size: 14px;
}
.pros-near.hidden { display: none; }
.pros-near b { font-weight: 700; }
.pros-near-clear { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: pointer; }
.pros-dist { color: var(--z-primary); font-weight: 700; }

/* Filters: Zenoa pickers + bottom sheet (owner, 2026-10-12: no native drop-down) */
.pros-filters { display: flex; gap: 10px; }
.pros-pick {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 14px; border-radius: 999px; border: 1px solid #e1ebe6; background: #fff;
  font: inherit; font-size: 15px; color: #2e3235; cursor: pointer;
}
.pros-pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pros-pick svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--z-primary); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pros-pick.is-on { background: var(--z-primary); border-color: var(--z-primary); color: #fff; font-weight: 700; }
.pros-pick.is-on svg { stroke: #d4c19e; }
.pros-pick.hidden { display: none; }

.pros-sheet { position: fixed; inset: 0; z-index: 2600; }
.pros-sheet.hidden { display: none; }
.pros-sheet-bg { position: absolute; inset: 0; background: rgba(17, 27, 22, 0.38); opacity: 0; transition: opacity 0.2s ease; }
.pros-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 78vh; display: flex; flex-direction: column;
  background: #f7f5f0; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.18);
  padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(100%); transition: transform 0.25s ease;
}
.pros-sheet.in .pros-sheet-bg { opacity: 1; }
.pros-sheet.in .pros-sheet-panel { transform: none; }
@media (min-width: 769px) {
  .pros-sheet-panel { left: 50%; right: auto; bottom: auto; top: 12vh; width: 440px; border-radius: 22px; transform: translate(-50%, 24px); opacity: 0; transition: transform 0.2s ease, opacity 0.2s ease; }
  .pros-sheet.in .pros-sheet-panel { transform: translate(-50%, 0); opacity: 1; }
}
.pros-sheet-panel::before { content: ''; align-self: center; width: 40px; height: 5px; margin-top: 8px; border-radius: 3px; background: #d9d6ce; }
.pros-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 10px 20px; border-bottom: 1px solid #ebe9e3; }
.tab-page .pros-sheet-head h2, .pros-sheet-head h2 { margin: 0; font-size: 19px; font-weight: 800; color: #2e3235; }
.pros-sheet-close { width: 40px; height: 40px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.pros-sheet-close svg { width: 24px; height: 24px; fill: none; stroke: #2e3235; stroke-width: 2.2; stroke-linecap: round; }
.pros-sheet-list { overflow-y: auto; padding: 8px 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.pros-choice {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 13px 14px; border: 0; border-radius: 14px; background: none;
  font: inherit; font-size: 16px; color: #2e3235; text-align: left; cursor: pointer;
}
.pros-choice:active { background: #ebe9e3; }
.pros-choice svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--z-primary); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.pros-choice[aria-pressed="true"] { background: #fff; color: var(--z-primary); font-weight: 700; box-shadow: inset 0 0 0 1px #d7e5de; }
.pros-choice[aria-pressed="true"] svg { visibility: visible; }
.pros-count { margin: 4px 2px 0; font-size: 13px; color: #5f6467; }
.pros-list { display: flex; flex-direction: column; gap: 10px; }
.pros-card {
  display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px;
  background: #fff; border: 1px solid #e4e6e3; text-decoration: none; color: inherit;
}
.pros-card:hover { background: #fbfaf7; }
.pros-card.is-demo { background: #fbfaf7; border-style: dashed; }
.pros-top { display: flex; align-items: center; gap: 12px; }
.pros-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pros-id strong { font-size: 16px; color: var(--tab-ink); }
.pros-city { font-size: 13px; color: #5f6467; }
.pros-demo { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #f2f1ed; color: #5f6467; font-size: 11px; font-weight: 700; vertical-align: 2px; }
.pros-soon { color: #7a6236; font-weight: 600; }
.pros-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #5f6467; }
.pros-rating b { font-size: 15px; color: var(--tab-ink); }
.pros-stars { color: #b8975a; font-size: 15px; letter-spacing: 1px; }
.pros-stars i { font-style: normal; color: #e3dccd; }
.pros-none { font-style: italic; }
.pros-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pros-tag { padding: 3px 10px; border-radius: 999px; background: #ecf2ef; color: var(--z-primary); font-size: 12px; font-weight: 600; }
.pros-quote {
  padding: 8px 12px; border-left: 3px solid #b8975a; border-radius: 0 10px 10px 0; background: #faf8f3;
  font-size: 13px; font-style: italic; color: #4a4f52; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pros-quote em { display: block; margin-top: 2px; font-size: 12px; font-style: normal; font-weight: 600; color: #5f6467; }
.pros-demo-note { margin: 4px 4px 0; font-size: 12px; color: #6f7477; text-align: center; line-height: 1.45; }
.pros-demo-note.hidden { display: none; }

/* Practitioner photo instead of the initial (Nos praticiens, 2026-10-13). */
.hm-again-initial.has-photo { overflow: hidden; background: #fff; }
.hm-again-initial.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Practitioner mode (owner, 2026-10-13, mockup A "like LastSpot"): js/home-pro.js. */
body[data-mode="practitioner"] .hm-client { display: none !important; }
#home-pro { display: flex; flex-direction: column; gap: 14px; }
.hp-space { background: linear-gradient(160deg, var(--z-primary) 0%, #c76a3a 100%); }
/* Once everything is filled in, the space card gives way to this box (owner, 2026-10-13). */
.hp-publish { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; padding: 16px; border-radius: 20px; border: 1.5px dashed var(--z-primary); background: #fff8f1; color: inherit; text-decoration: none; }
.hp-publish-off { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--z-primary); color: #fff; font-weight: 700; font-size: 20px; }
.hp-publish-text { display: flex; flex-direction: column; gap: 4px; }
.hp-publish-text strong { font-size: 16.5px; line-height: 1.25; }
.hp-publish-text span { font-size: 13.5px; color: #5d5a55; line-height: 1.35; }
.hp-publish-btn { grid-column: 1 / -1; text-align: center; padding: 11px 14px; border-radius: 999px; background: var(--z-primary); color: #fff; font-weight: 600; font-size: 15px; }
.hp-level { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--z-primary); color: #fff; text-decoration: none; }
.hp-level-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.hp-level-text strong { font-size: 18px; }
.hp-level-text small { font-size: 12.5px; opacity: 0.92; }
.hp-bar { display: flex; gap: 3px; margin: 4px 0 2px; }
.hp-bar i { width: 22px; height: 5px; border-radius: 3px; background: rgb(255 255 255 / 0.35); }
.hp-bar i.on { background: #f3d9a6; }
.hp-list { display: flex; flex-direction: column; gap: 12px; }
.hp-big { display: flex; flex-direction: column; border: 1px solid #ebe7df; border-radius: 22px; background: #fff; color: inherit; text-decoration: none; overflow: hidden; }
.hp-big.is-locked { opacity: 0.6; }
.hp-cover { position: relative; height: 130px; display: flex; align-items: center; justify-content: center; }
.hp-cover-word { font: italic 40px Georgia, serif; opacity: 0.55; }
.hp-cover .hp-off { left: 10px; bottom: 10px; font-size: 13.5px; padding: 3px 9px; }
.hp-cover .hp-chip { position: absolute; right: 10px; top: 10px; margin: 0; }
.hp-big-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.hp-schools { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: -2px -18px 0; padding: 2px 18px; }
.hp-schools::-webkit-scrollbar { display: none; }
.hp-school-tile { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #2e3235; text-decoration: none; font-size: 12px; font-weight: 600; text-align: center; }
.hp-school-logo { width: 92px; height: 92px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font: italic 22px Georgia, serif; }
.hp-school-name { line-height: 1.2; }
.hp-off { position: absolute; padding: 2px 7px; border-radius: 9px; background: #8a6d36; color: #fff; font: 800 12.5px system-ui, sans-serif; }
.hp-chip { padding: 2px 9px; border-radius: 10px; background: #e7efe9; color: #2f4a3d; font-size: 11.5px; font-weight: 600; }
.hp-school { font-size: 12.5px; color: #5f6467; }
.hp-title { font-size: 16px; line-height: 1.2; }
.hp-line { font-size: 12.5px; color: #5f6467; }
.hp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 8px; margin-top: 6px; }
.hp-foot .hp-price { margin-left: auto; }
.hp-btn { padding: 5px 11px; border-radius: 8px; background: var(--z-primary-soft, #fbe9df); color: var(--z-primary); font-size: 13px; font-weight: 700; white-space: nowrap; }
.hp-price { white-space: nowrap; font-size: 12.5px; color: #5f6467; }
.hp-price s { margin-right: 6px; }
.hp-price b { font-size: 18px; color: #2e3235; }
/* Rows by kind of offer (owner, 2026-10-13, mockup C): small swipeable cards. */
.hp-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: -2px -18px 0; padding: 2px 18px 6px; }
.hp-row::-webkit-scrollbar { display: none; }
.hp-mini { flex: none; width: 236px; display: flex; flex-direction: column; gap: 3px; padding: 12px 13px; border-radius: 14px; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.07); color: #2e3235; text-decoration: none; }
.hp-mini.is-locked { opacity: 0.6; }
.hp-mini-head { display: flex; align-items: center; gap: 9px; margin-bottom: 2px; }
.hp-mini-face { flex: none; width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font: italic 11.5px Georgia, serif; overflow: hidden; }
.hp-mini-face.is-person { border-radius: 50%; font: 700 12px system-ui, sans-serif; }
.hp-mini-who { font-size: 12.5px; color: #5f6467; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hp-mini-title { font-size: 14.5px; line-height: 1.25; }
.hp-mini-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.hp-mini-off { padding: 2px 7px; border-radius: 8px; background: #8a6d36; color: #fff; font: 800 12px system-ui, sans-serif; }
.hp-mini-foot b { font-size: 16px; }
.hm-pro-av.has-photo { overflow: hidden; background: #fff; }
.hm-pro-av.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Shortcuts (owner, 2026-10-13): round 3-line button at the top left of the
   fixed bar, list of the sections under it (js/home-menu.js). */
.page-menu-btn {
  position: absolute; top: calc(var(--topbar-safe) + 4px); left: 12px;
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
  border: 1px solid #e7e5dd; background: #fff; color: var(--zen-ink, #2e3235);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.page-menu-btn[aria-expanded="true"] { background: var(--z-primary); border-color: var(--z-primary); color: #fff; }
.page-menu-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hmenu {
  position: absolute; top: calc(var(--topbar-safe) + 50px); left: 12px; z-index: 960;
  min-width: 230px; max-width: calc(100vw - 24px); padding: 6px;
  display: flex; flex-direction: column;
  border-radius: 16px; background: #fff; border: 1px solid #e4e6e3;
  box-shadow: 0 10px 30px rgb(46 50 53 / 0.16);
}
.hmenu.hidden { display: none; }
.hmenu-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 12px; border: 0; border-radius: 10px;
  background: none; text-align: left; cursor: pointer;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--z-primary);
}
.hmenu-item::before { content: ''; flex: none; width: 7px; height: 7px; background: #b8975a; transform: rotate(45deg); }
.hmenu-item::after { content: '›'; margin-left: auto; font-size: 18px; letter-spacing: 0; opacity: 0.6; }
.hmenu-item:hover, .hmenu-item:focus-visible { background: #f3f1ea; }
/* A tapped section lands just under the fixed bar, which also covers the
   iPhone status bar (safe area): bar 48 px (42 on a phone) + the page gap. */
#home-page [data-jump] { scroll-margin-top: calc(var(--topbar-safe) + 62px); }
@media (max-width: 420px) {
  #home-page [data-jump] { scroll-margin-top: calc(var(--topbar-safe) + 56px); }
  /* The phone bar is 42 px high: a 36 px button stays inside it. */
  .page-menu-btn { top: calc(var(--topbar-safe) + 3px); width: 36px; height: 36px; }
  .page-menu-btn svg { width: 18px; height: 18px; }
  .hmenu { top: calc(var(--topbar-safe) + 46px); }
}
#home-pro .hm-h { margin: 6px 0 -4px; }
/* No real school yet (owner, 2026-10-13, mockup A + notes): js/home-pro.js. */
.hp-soon { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: #fbf3e4; border: 1px dashed #d4b77c; color: #5b4520; }
.hp-soon-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #b8975a; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.hp-soon strong { display: block; font-size: 15.5px; color: #2e3235; margin-bottom: 2px; }
.hp-soon span span { font-size: 13px; line-height: 1.35; }
.hp-note { margin: -6px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13px; color: #5f6467; }
.hp-pill { padding: 2px 9px; border-radius: 9px; background: #b8975a; color: #fff; font: 700 10.5px system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }

/* « Notez votre séance » card (2026-10-14). */
#home-rate.hidden { display: none; }
.hm-rate { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px 40px 14px 14px; background: #fff; border: 1px solid #d7c6a5; border-radius: 16px; }
.hm-rate-ic { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: #fbf6ec; fill: none; stroke: #b8975a; stroke-width: 1.6; stroke-linejoin: round; }
.hm-rate-text { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.hm-rate-text b { font-size: 15px; color: #2e3235; }
.hm-rate-text span { font-size: 13px; color: #5f6467; }
.hm-rate-text .hm-btn { margin-top: 8px; }
.hm-rate-close { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: none; background: none; font-size: 22px; line-height: 1; color: #8a8f92; cursor: pointer; }

