/*
 * ChannelCherub results screen: a calmer page for visitors.
 * Loaded after channel-cherub.css on /channel-cherub and /zh/channel-cherub.
 *
 * Developer and review panels stay in the markup because match-maker-app.js
 * still queries and fills them (for example renderDecisionReview needs
 * [data-mm-decision-review] and the fact fields). They are only hidden here.
 */

/* 1. Hidden on the results screen (kept in the DOM for the app). */
.mm [data-mm-step="results"] [data-mm-optional-questions],
.mm [data-mm-step="results"] [data-mm-decision-review],
.mm [data-mm-step="results"] [data-mm-panel="core"],
.mm [data-mm-step="results"] [data-mm-panel="category"],
.mm [data-mm-step="results"] [data-mm-panel="ops"],
.mm [data-mm-step="results"] [data-mm-panel="missing"],
.mm [data-mm-step="results"] [data-mm-priority-reason],
.mm [data-mm-step="results"] [data-cc-results-hide],
/* Per-card "N of 3 reviews left" and "Disagree? Ask for a re-review". */
.mm [data-mm-marketplaces] li[data-mm-appeal-card] > .mm-field,
.mm [data-mm-marketplaces] [data-mm-reviews-left],
.mm [data-mm-marketplaces] [data-mm-appeal-toggle],
.mm [data-mm-marketplaces] [data-mm-appeal-panel] {
  display: none !important;
}

/* 2. The second "Book a consultation" panel, after the results, with the business development team. */
.mm .cc-help {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #EEF4FA;
  border: 1px solid #CFDDEC;
  border-left: 4px solid var(--mm-blue, #3D6FA3);
  border-radius: 16px;
  padding: 18px 18px 16px;
  margin: 6px 0 18px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.mm .cc-help-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--mm-blue, #3D6FA3);
  border: 1px solid #CFDDEC;
}
.mm .cc-help-body { flex: 1 1 auto; min-width: 0; }
.mm .cc-help h3 {
  margin: 2px 0 6px;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--mm-charcoal, #23201B);
}
.mm .cc-help p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--mm-gray, #3A352E);
  margin: 0;
}
.mm .cc-help .mm-actions { margin-top: 14px; }
.mm .cc-help p.cc-help-small {
  font-size: 13px;
  line-height: 1.5;
  color: var(--mm-muted, #3F3A34);
  margin-top: 10px;
}

/* 3. One general "Think we missed something?" card after the list. */
.mm .cc-appeal {
  background: #FFFFFF;
  border: 1px solid var(--mm-border, #ECE7E0);
  border-radius: 16px;
  padding: 18px;
  margin: 18px 0 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.mm .cc-appeal h3 {
  margin: 0 0 6px;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--mm-charcoal, #23201B);
}
.mm .cc-appeal > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mm-gray, #3A352E);
  margin: 0 0 14px;
}
.mm .cc-appeal .mm-field { margin-bottom: 10px; }
.mm .cc-appeal textarea { width: 100%; min-height: 92px; resize: vertical; }
.mm .cc-appeal .mm-actions { margin-top: 8px; gap: 8px 14px; }
.mm .cc-appeal .mm-why { margin: 6px 0 0; }
.mm .cc-appeal-limit { font-size: 13px; color: var(--mm-muted, #3F3A34); }

/* The business development team beside the copy, as in the brand mockup. */
.mm .cc-help-team { flex: 0 0 auto; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mm .cc-help-team figcaption { font-size: 12.5px; line-height: 1.4; color: var(--mm-charcoal, #23201B); text-align: center; }
.mm .cc-help-faces { display: flex; }
.mm .cc-help-faces img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #EEF4FA;
  background: #DCE6F0;
  box-shadow: 0 4px 12px rgba(35, 32, 27, 0.10);
}
.mm .cc-help-faces img + img { margin-left: -12px; }
/* Narrower screens: the faces lead the box and stand in for the icon. */
@media (max-width: 900px) {
  .mm .cc-help:has(.cc-help-team) .cc-help-icon { display: none; }
  .mm .cc-help { flex-wrap: wrap; }
  .mm .cc-help-team { order: -1; flex-basis: 100%; align-items: flex-start; }
  .mm .cc-help-team figcaption { text-align: left; }
  .mm .cc-help-faces img { width: 60px; height: 60px; }
  .mm .cc-help-faces img + img { margin-left: -10px; }
}

@media (max-width: 560px) {
  .mm .cc-help { flex-direction: column; gap: 10px; padding: 16px 14px; }
  .mm .cc-help-team { padding-left: 0; }
  .mm .cc-appeal { padding: 16px 14px; }
  .mm .cc-appeal-limit { text-align: center; }
}

/* 4. Site rule: paragraphs span their container. Lift existing caps. */
.mm .cc-hero .cc-hero-lede,
.cc-section > p,
.cc-close p,
.mm .mm-assist { max-width: none; }

/* 5. Screen-reader status line added by channel-cherub-results.js. */
.cc-sr-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 6. Tap targets at least 44px tall on the results screen. */
.mm .cc-help .mm-btn,
.mm .cc-appeal .mm-btn { min-height: 44px; }

/* What a re-run changed, shown in the appeal card. One line per change. */
.mm .cc-appeal .cc-appeal-changes { white-space: pre-line; }

/* ---- UX round ---------------------------------------------------------- */

/* Processing screen: an estimate bar, a rotating line and a reconnecting note. */
.mm .mm-progress {
  height: 10px;
  margin: 10px 0 0;
  border-radius: 999px;
  background: #E7EFF7;
  overflow: hidden;
}
.mm .mm-progress > i {
  display: block;
  height: 100%;
  min-width: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3D6FA3, #6FA0D0);
  transition: width 0.9s ease;
}
.mm .mm-progress-label { margin: 6px 0 0; font-size: 13.5px; font-weight: 600; color: #2F5A87; }
.mm .mm-reconnecting { margin: 6px 0 0; font-size: 13.5px; color: #8A4B08; }
.mm .mm-activity-copy { flex: 1 1 auto; }
.mm .mm-quip {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
  font-style: italic;
  color: var(--mm-muted, #3F3A34);
  /* Two lines reserved, so a longer line does not make the pinned card jump. */
  min-height: 2.9em;
}
.mm .mm-restoring { font-weight: 600; color: #2F5A87; }

/* Progress rows: a mark for the state, next to the localized word. */
.mm .mm-roadmap li[data-mm-step-state="done"]::before { content: "✓"; background: #DDEFE4; color: #0B6B3A; }
.mm .mm-roadmap li[data-mm-step-state="active"]::before { background: #3D6FA3; color: #FFFFFF; }
.mm .mm-roadmap li[data-mm-step-state="failed"]::before { content: "!"; background: #FBE4E6; color: #9F1239; }
.mm .mm-roadmap li[data-mm-step-state="waiting"] strong { color: #6E675E; }

/* Result card: link to the retailer's guide on this site. */
.mm .mm-guide-link { margin-top: 10px; min-height: 44px; align-items: center; }

/* Shortlist: guidance when nothing is pre-checked, the closest-option tag, search. */
.mm .mm-shortlist-guidance {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #C9D9EA;
  border-left: 4px solid #3D6FA3;
  border-radius: 12px;
  background: #EEF3FA;
}
.mm .mm-shortlist-guidance p { margin: 0 0 10px; }
.mm .mm-shortlist-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #E7EFF7;
  color: #2F5A87;
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}
.mm .mm-shortlist-search {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 8px 12px;
  border: 1px solid #8C857B;
  border-radius: 10px;
  font: inherit;
  background: #FFFFFF;
}
.mm .mm-shortlist-row[hidden] { display: none; }
.mm .mm-shortlist-bar [data-mm-shortlist-restart] { margin-top: 8px; width: 100%; }
.mm .cc-results-nav { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  .mm .mm-progress > i { transition: none; }
}

/* Appeal chat: a short conversation, then Reprocess. */
.mm .cc-chat-log { list-style: none; margin: 14px 0 12px; padding: 4px 2px; display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow-y: auto; }
.mm .cc-chat-turn { display: flex; flex-direction: column; gap: 2px; max-width: 85%; padding: 10px 14px; border-radius: 14px; box-sizing: border-box; }
.mm .cc-chat-cherub { align-self: flex-start; background: #EEF4FB; border-bottom-left-radius: 4px; }
.mm .cc-chat-visitor { align-self: flex-end; background: #F3EEE7; border-bottom-right-radius: 4px; }
.mm .cc-chat-who { font-size: 12.5px; font-weight: 700; color: var(--mm-muted, #3F3A34); }
.mm .cc-chat-text { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--mm-charcoal, #23201B); overflow-wrap: anywhere; white-space: pre-wrap; }
.mm .cc-chat-typing .cc-chat-text { color: var(--mm-muted, #3F3A34); font-style: italic; }
.mm .cc-chat-requested { margin: 0 0 10px; font-size: 14.5px; font-weight: 600; color: #2F5A87; }
.mm .cc-chat-compose { display: flex; gap: 10px; align-items: flex-end; }
.mm .cc-chat-compose textarea { flex: 1; min-width: 0; min-height: 48px; resize: vertical; }
.mm .cc-chat-compose .mm-btn { min-height: 48px; flex-shrink: 0; }
.mm .mm-requested-tag { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; background: #F3EEE7; color: #6B4E1F; font-size: 12.5px; font-weight: 600; line-height: 1.5; }
@media (max-width: 560px) {
  .mm .cc-chat-turn { max-width: 92%; }
  .mm .cc-chat-compose { flex-direction: column; align-items: stretch; }
}

/* Findings: what we read, the reviewers' label, a split rating, and the scope line. */
.mm .cc-saw { margin: 4px 0 16px; padding: 14px 16px; border-radius: 12px; background: #F3EEE7; }
.mm .cc-saw-title { margin: 0 0 4px; font-size: 13px !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mm-muted, #3F3A34); }
.mm .cc-saw-text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--mm-charcoal, #23201B); }
.mm .mm-reviewers-tag { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--mm-muted, #3F3A34); }
.mm .mm-fit.mm-fit-split, .mm .mm-fit-split { color: #6B4200 !important; background: #FFF1DC !important; border-color: #D9A85A !important; display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #FFF4E5; color: #7A4B00; border: 1px solid #E9C88F; font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.mm .mm-market-split { border-left-color: #C98A1F !important; }
.mm .cc-scope { margin: 12px 0 0; }

/* ---- Next step: book a consultation ----------------------------------- */

/* "Your next steps": three short paths, so the order is clear at a glance. Links, not buttons, so the
   booking button stays the one strong action. */

/* The main action: a navy card right after "What we saw", before the marketplace cards. */
.mm .cc-book {
  margin: 14px 0 22px;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 18px;
  background: linear-gradient(135deg, #13233F 0%, #24456F 100%);
  color: #FFFFFF;
  box-shadow: 0 16px 34px -24px rgba(19, 35, 63, 0.7);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(20px, 3vw, 36px);
}
.mm .cc-book > :not(.cc-book-team) { grid-column: 1; }
/* The people the visitor would meet, beside the invitation. */
.mm .cc-book-team { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mm .cc-book-team figcaption { font-size: 12.5px; line-height: 1.4; color: #C9D7E8; text-align: center; max-width: 13em; }
.mm .cc-book-faces img { width: 68px; height: 68px; border-color: #24456F; background: #2E4F7A; box-shadow: 0 6px 16px rgba(5, 12, 28, 0.35); }
.mm .cc-book-faces img + img { margin-left: -12px; }
@media (max-width: 720px) {
  .mm .cc-book { grid-template-columns: minmax(0, 1fr); }
  .mm .cc-book-team { grid-column: 1; grid-row: 1; flex-direction: row; align-items: center; gap: 10px; margin-bottom: 12px; justify-self: start; }
  .mm .cc-book-team figcaption { text-align: left; }
  .mm .cc-book-faces img { width: 48px; height: 48px; border-width: 2px; }
  .mm .cc-book-faces img + img { margin-left: -9px; }
}
.mm .cc-book h3 { margin: 0; font-family: 'Inter', 'Noto Sans SC', sans-serif; font-size: clamp(20px, 2.6vw, 25px); font-weight: 650; line-height: 1.25; letter-spacing: -0.015em; color: #FFFFFF; text-wrap: balance; }
.mm .cc-book > p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: #E3ECF6; }
.mm .cc-book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.mm .cc-book .cc-book-btn { background: #FFFFFF; border-color: #FFFFFF; color: #13233F; font-size: 16.5px; font-weight: 700; min-height: 50px; padding: 14px 26px; }
.mm .cc-book .cc-book-btn:hover { background: #E3EEF9; border-color: #E3EEF9; color: #13233F; }
.mm .cc-book .cc-book-btn:focus-visible { outline: 3px solid #9CC3EA; outline-offset: 3px; }
.mm .cc-book .cc-book-refine { color: #CFE0F3; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; align-items: center; }
.mm .cc-book .cc-book-refine:hover, .mm .cc-book .cc-book-refine:focus-visible { color: #FFFFFF; }
.mm .cc-book .cc-book-refine:focus-visible { outline: 2px solid #9CC3EA; outline-offset: 2px; border-radius: 4px; }
.mm p.cc-book-small { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: #C9D7E8; }

/* The second booking point keeps the team box but makes its button the strongest one in the box. */
.mm .cc-help .cc-book-btn { min-height: 50px; font-size: 16.5px; font-weight: 700; padding: 14px 26px; }

/* The list: a real section heading, groups for strong matches and the ones worth a closer look,
   and the not-approval note as small print under the list. */
.mm [data-mm-panel="opportunities"] .cc-section-title { margin: 0 0 10px; font-family: 'Inter', 'Noto Sans SC', sans-serif; font-size: 20px; font-weight: 650; letter-spacing: -0.01em; color: var(--mm-charcoal, #23201B); }
.mm .mm-market-kicker-strong { color: #0B6B3A; }
.mm .mm-market-kicker-review { color: #2363A3; }
.mm [data-mm-marketplaces] .mm-market-kicker { margin-top: 14px; }
.mm [data-mm-marketplaces] .mm-market-kicker:first-child { margin-top: 0; }
.mm .cc-matches-caveat { margin: 12px 0 0; }

/* Section targets clear the sticky site header when the step links jump to them. */
.mm #cc-matches-title, .mm #cc-book-title, .mm #cc-refine { scroll-margin-top: 112px; }
.mm #cc-matches-title:focus, .mm #cc-book-title:focus, .mm #cc-refine:focus { outline: none; }
.mm #cc-matches-title:focus-visible, .mm #cc-book-title:focus-visible, .mm #cc-refine:focus-visible { outline: 2px solid #3D6FA3; outline-offset: 4px; }

/* Download, shortlist and a new scan: kept, quieter. */
.mm .cc-more-options { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--mm-border, #ECE7E0); }
.mm .cc-more-title { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mm-muted, #3F3A34); }
.mm .cc-more-options .mm-actions { margin-top: 10px; }
/* "Start a new scan" asks once: the button turns amber and says so, then reverts after 8 seconds. */
.mm [data-mm-reset].is-confirming { background: #FDF1E6; color: #7A4206; border-color: #E8B984; font-weight: 700; }
.mm [data-mm-reset].is-confirming:hover { background: #FBE6D0; color: #6A3905; }

@media (max-width: 560px) {
  .mm .cc-book-actions { flex-direction: column; align-items: stretch; }
  .mm .cc-book .cc-book-btn { width: 100%; }
  .mm .cc-book .cc-book-refine { justify-content: center; }
}

/* Share dialog: an email field that only fills in the visitor's email app, copy, and the device's own share sheet. */
.mm dialog.mm-dialog.cc-share { max-width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; }
.mm .cc-share-email { margin: 0 0 14px; }
.mm .cc-share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.mm .cc-share-row input { flex: 1 1 220px; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #CFC6BA; border-radius: 10px; font: inherit; }
.mm .cc-share-row input:focus-visible { outline: 3px solid var(--mm-blue, #3D6FA3); outline-offset: 1px; }
.mm .cc-share-row .mm-btn { min-height: 44px; }
.mm .cc-share-email .mm-why { margin: 6px 0 0; }
.mm .cc-share-join { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.mm .cc-share-join input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--mm-blue, #3D6FA3); }
.mm p.cc-share-sent { margin: 10px 0 0; padding: 8px 12px; border-radius: 8px; background: #EAF5EE; color: #1F5135; font-weight: 600; }
.mm p.cc-share-privacy { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #1F5135; }
.mm .cc-share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.mm .cc-share-status { margin: 0 0 8px; }
.mm .cc-share-text { display: block; width: 100%; box-sizing: border-box; margin: 6px 0 14px; padding: 10px 12px; border: 1px solid #DDD5CA; border-radius: 10px; font: 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--mm-charcoal, #23201B); background: #FBF9F6; resize: vertical; }

/* The consultation banner: one compact navy band with the booking button as the strongest action, and a jump to
   the recommendations right below it. Short, so the first match shows early. */
.mm .cc-banner { margin: 12px 0 16px; padding: 16px clamp(16px, 2.4vw, 24px); align-items: center; row-gap: 0; }
.mm .cc-book.cc-banner > .cc-banner-body { grid-column: 1; grid-row: 1; }
.mm .cc-banner h3 { font-size: clamp(19px, 2.2vw, 22px); }
.mm .cc-banner-body p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: #E3ECF6; }
.mm .cc-book.cc-banner > .cc-banner-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.mm .cc-banner .cc-book-btn { min-height: 48px; padding: 12px 24px; text-align: center; justify-content: center; }
.mm .cc-banner-jump { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 40px; color: #CFE0F3; font-size: 14.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mm .cc-banner-jump:hover, .mm .cc-banner-jump:focus-visible { color: #FFFFFF; }
.mm .cc-banner-jump:focus-visible { outline: 2px solid #9CC3EA; outline-offset: 2px; border-radius: 4px; }
.mm .cc-book.cc-banner > p.cc-book-small { grid-column: 1; grid-row: 2; margin: 8px 0 0; }
.mm .cc-banner p.cc-book-small .cc-book-refine { display: inline; min-height: 0; }
@media (max-width: 720px) {
  .mm .cc-banner { grid-template-columns: minmax(0, 1fr); }
  .mm .cc-book.cc-banner > .cc-banner-actions { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .mm .cc-book.cc-banner > p.cc-book-small { grid-row: auto; }
  .mm .cc-banner .cc-book-btn { width: 100%; }
}

/* Download, Print and Share: a quiet row beside the recommendations heading, below the booking button in weight. */
.mm .cc-matches-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 10px; }
.mm .cc-matches-head .cc-section-title { margin: 0; }
.mm .cc-utility { display: flex; flex-wrap: wrap; gap: 6px; }
.mm .cc-utility-btn { appearance: none; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border: 1px solid #D9D2C8; border-radius: 10px; background: #FFFDFB; color: var(--mm-blue, #3D6FA3); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.mm .cc-utility-btn:hover { background: #F1ECE5; color: var(--mm-blue-dark, #2F5A87); }
.mm .cc-utility-btn:focus-visible { outline: 2px solid var(--mm-blue, #3D6FA3); outline-offset: 2px; }
.mm .cc-utility-btn:disabled { opacity: 0.7; cursor: progress; }
@media (pointer: coarse) { .mm .cc-utility-btn { min-height: 44px; } }
@media (max-width: 560px) { .mm .cc-utility { gap: 4px; } .mm .cc-utility-btn { padding: 8px 10px; font-size: 13.5px; } }
.mm p.cc-utility-note { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: var(--mm-muted, #3F3A34); }

/* Wide screens: the recommendations keep the page flow and scroll; a small booking card stays beside them. */
.mm .cc-side-book { display: none; }
@media (min-width: 1180px) {
  /* Room for the side card without narrowing the recommendations (the results card is 820px elsewhere). */
  .mm [data-mm-step="results"]:not([data-mm-step="intake"]) { max-width: 1100px; }
  .mm .cc-results-layout { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 20px; align-items: start; }
  .mm .cc-results-layout > .mm-panel { margin-bottom: 14px; }
  .mm .cc-side-book { display: block; position: sticky; top: calc(var(--header-top-offset, 0px) + 92px); padding: 18px; border: 1px solid var(--mm-border, #ECE7E0); border-radius: 16px; background: #FFFFFF; box-shadow: 0 12px 28px -22px rgba(19, 35, 63, 0.45); }
}
.mm .cc-side-book h3 { margin: 0; font-family: 'Inter', 'Noto Sans SC', sans-serif; font-size: 17px; font-weight: 650; line-height: 1.3; color: var(--mm-charcoal, #23201B); }
.mm .cc-side-book p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--mm-muted, #3F3A34); }
.mm .cc-side-book .cc-book-btn { display: flex; width: 100%; margin-top: 14px; min-height: 48px; justify-content: center; text-align: center; font-weight: 700; }
.mm .cc-side-faces { margin-top: 12px; }
.mm .cc-side-faces img { width: 36px; height: 36px; border-width: 2px; }
.mm .cc-side-faces img + img { margin-left: -8px; }
.mm .cc-side-book p.cc-side-small { margin-top: 10px; font-size: 13px; }

/* The invitation after the strongest matches: part of the list, plainly an invitation, not a match. */
.mm .mm-markets li.cc-invite { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 4px 0 12px; padding: 14px 16px; border: 1px dashed #9CB9D8; border-radius: 14px; background: #EEF4FA; }
.mm .mm-markets li.cc-invite p { margin: 0; flex: 1 1 260px; font-size: 15px; line-height: 1.5; color: #1D3557; }
.mm .mm-markets li.cc-invite .cc-book-btn { flex: none; min-height: 44px; padding: 10px 20px; font-weight: 700; }
@media (max-width: 560px) { .mm .mm-markets li.cc-invite .cc-book-btn { width: 100%; justify-content: center; } }

/* Small screens: a slim bar keeps booking in reach. Shown only while the banner button is off screen and no dialog is
   open; the page gets matching bottom room so the bar never covers content. */
.mm .cc-book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #13233F; box-shadow: 0 -10px 24px -16px rgba(5, 12, 28, 0.6); }
.mm .cc-book-bar-text { font-size: 14px; line-height: 1.35; font-weight: 600; color: #E3ECF6; }
.mm .cc-book-bar .cc-book-btn { flex: none; min-height: 44px; padding: 10px 18px; background: #FFFFFF; border-color: #FFFFFF; color: #13233F; font-weight: 700; }
.mm .cc-book-bar .cc-book-btn:hover { background: #E3EEF9; border-color: #E3EEF9; }
.mm .cc-book-bar .cc-book-btn:focus-visible { outline: 3px solid #9CC3EA; outline-offset: 3px; }
@media (max-width: 560px) { .mm .cc-book-bar-text { display: none; } .mm .cc-book-bar .cc-book-btn { width: 100%; justify-content: center; } }
@media (min-width: 1180px) { .mm .cc-book-bar { display: none !important; } }
.mm.cc-bar-room .mm-wrap { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.mm #cc-matches-title { scroll-margin-top: calc(var(--header-top-offset, 0px) + 92px); }

@media print {
  .mm .cc-book-bar, .mm .cc-side-book, .mm .mm-markets li.cc-invite, .mm .cc-utility { display: none !important; }
  .mm .cc-results-layout { display: block !important; }
}

/* Schedule consultation: one warm orange call to action everywhere it appears (banner, side card, in-list invite,
   mobile bar, help box), like a retail "buy" button. Near-black text on #FFA41C is about 10:1, and the orange reads
   on both the navy banner and white cards. */
.mm .cc-book-btn,
.mm .cc-book .cc-book-btn,
.mm .cc-book-bar .cc-book-btn,
.mm .cc-side-book .cc-book-btn,
.mm .mm-markets li.cc-invite .cc-book-btn,
.mm .cc-help .cc-book-btn { background: #FFA41C; border: 1px solid #FF8F00; color: #0F1111; box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5); }
.mm .cc-book-btn:hover,
.mm .cc-book .cc-book-btn:hover,
.mm .cc-book-bar .cc-book-btn:hover,
.mm .cc-side-book .cc-book-btn:hover,
.mm .mm-markets li.cc-invite .cc-book-btn:hover,
.mm .cc-help .cc-book-btn:hover { background: #FA8900; border-color: #E47911; color: #0F1111; }
.mm .cc-book-btn:active { background: #F08804; border-color: #E47911; }
.mm .cc-book-btn:focus-visible,
.mm .cc-book .cc-book-btn:focus-visible,
.mm .cc-book-bar .cc-book-btn:focus-visible { outline: 3px solid #FFD39A; outline-offset: 3px; }
.mm .cc-side-book .cc-book-btn:focus-visible,
.mm .mm-markets li.cc-invite .cc-book-btn:focus-visible,
.mm .cc-help .cc-book-btn:focus-visible { outline: 3px solid #C45500; outline-offset: 3px; }

/* ALPHA: an upload's per-product spreadsheet, under the matches. */
.mm .cc-assortment { margin: 18px 0 0; padding: 16px 18px; border: 1px dashed #B9C9DC; border-radius: 14px; background: #F6F9FC; }
.mm .cc-assortment[hidden] { display: none; }
.mm .cc-assortment-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mm .cc-assortment-head h4 { margin: 0; font-size: 17px; font-weight: 650; color: var(--mm-charcoal, #23201B); }
.mm .cc-alpha { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #FBEBD0; color: #8A5A12; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.mm .cc-assortment-text { margin: 8px 0 12px; font-size: 15px; line-height: 1.5; color: var(--mm-muted, #3F3A34); }
.mm .cc-assortment-note { margin: 8px 0 0; }
@media print { .mm .cc-assortment { display: none !important; } }

/* ALPHA spreadsheet: suggestions only, not business advice. Plain and visible, above the download. */
.mm .cc-assortment-disclaimer { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid #B5642A; border-radius: 6px; background: #FFF6EC; font-size: 14px; line-height: 1.5; font-weight: 600; color: #7A3A12; }
