/* Segment pages (tools/segments.mjs). Every class is prefixed cl-. The product drawings are white
   in both themes, like the other demonstrations of the site; the page around them uses the tokens.
   Animations run only on [data-scene][data-cue="play"]; without a cue (paused or reduced motion)
   every drawing shows its final state. Heights are locked so nothing moves the page. */

.site[data-page^="segment"] { --cta-fill: var(--action-wine); --on-brand: var(--on-plum); }
html[data-site-theme="night"] .site[data-page^="segment"] { --cta-fill: var(--prompt-wine-light); }
.site[data-page^="segment"] .price-workspace { --cta-fill: var(--prompt-wine-light); }

/* ------------------------------------------------------------------ opening */
.cl-hero {
  padding: clamp(48px, 6vw, 76px) 0 clamp(52px, 6vw, 80px);
  background-color: var(--surface-paper);
  background-image:
    radial-gradient(ellipse 54% 76% at 103% -8%, var(--light-apricot) 0%, transparent 90%),
    radial-gradient(ellipse 55% 100% at 97% 40%, var(--light-rose) 0%, transparent 87%),
    radial-gradient(ellipse 54% 80% at 76% 105%, var(--light-mauve) 0%, transparent 84%);
}
.cl-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.cl-hero h1 { font-size: clamp(38px, 3.9vw, 54px); line-height: 1.06; letter-spacing: -.035em; margin-top: 20px; }
.cl-hero-copy > p:not(.product-label, .cl-areas) { font-size: 18px; max-width: 46ch; margin-top: 20px; color: var(--on-ground-soft); }
.cl-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 30px; }
.cl-areas span { font-size: 13px; color: var(--on-ground-faint); margin-right: 4px; }
.cl-areas b { font-size: 12.5px; font-weight: 500; line-height: 1; padding: 7px 11px; border: 1px solid var(--ground-line); border-radius: 999px; background: color-mix(in srgb, var(--ground-raised) 70%, transparent); }
.cl-hero-scene { height: 540px; border: 1px solid #ded8d3; border-radius: 14px; overflow: hidden; background: #fff; }
.cl-scene, .cl-scene > div { height: 100%; }

/* ---------------------------------------------------- product drawing base */
.cl-win { height: 100%; display: flex; flex-direction: column; background: #fff; color: #2a2226; font-size: 12.5px; line-height: 1.45; text-align: left; }
.cl-win .i, .cl-link-stage .i, .cl-remind-stage .i, .cl-flow-stage .i, .cl-pain .i { width: 1em; height: 1em; flex: none; }
.cl-top { height: 48px; flex: none; display: flex; align-items: center; justify-content: space-between; padding-right: 14px; border-bottom: 1px solid #eee7ea; }
.cl-cabin { height: 100%; display: flex; align-items: center; gap: 9px; padding: 0 40px 0 14px; background: linear-gradient(100deg, #fff 10%, #fbe7ef 58%, #fde9df); clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%); }
.cl-crm { width: 22px; height: 22px; }
.cl-cabin b { display: block; font-size: 13px; line-height: 1.2; }
.cl-cabin small { display: block; font-size: 10.5px; color: #6a5c64; }
.cl-top-tools { display: flex; gap: 14px; color: #8b7d84; font-size: 16px; }

.cl-face { position: relative; display: block; flex: none; width: 34px; height: 34px; }
.cl-pain-face { flex: none; }
.cl-face.is-initials { display: grid; place-items: center; border-radius: 50%; background: #efe4ea; color: #6d4a5d; font-size: 8.5px; font-weight: 600; }
.cl-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.cl-face-channel { position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #fff; color: #312d31; }
.cl-face-channel .brand-icon { width: 11px; height: 11px; }
.cl-initials { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fbe4ee; color: #a3184f; font-size: 9.5px; font-weight: 600; letter-spacing: .02em; }
.cl-initials.is-org { width: 30px; height: 30px; border-radius: 9px; font-size: 11px; background: linear-gradient(135deg, #fde7dc, #fbe1ec); color: #8e1b4e; }

.cl-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 500; font-style: normal; line-height: 1.2; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.cl-pill .i { font-size: 10px; }
.cl-pill-ai { background: var(--demo-wine-wash); color: #452238; }
.cl-pill-ok { background: #e6f4ea; color: #23733a; }
.cl-pill-wait { background: #fdf1e4; color: #9a5a1c; }

/* Conversation */
.cl-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.cl-chat-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #eee7ea; }
.cl-chat-head b { display: block; font-size: 13px; line-height: 1.25; }
.cl-chat-head small { display: block; font-size: 11px; color: #6a5c64; }
.cl-chat-head .cl-pill { margin-left: auto; }
.cl-thread { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--demo-thread); }
.cl-day { align-self: center; font-size: 10px; color: #6a5c64; background: rgb(255 255 255 / 72%); padding: 2px 10px; border-radius: 10px; }
.cl-msg { max-width: 78%; padding: 8px 11px 6px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; }
.cl-msg time { display: block; text-align: right; font-size: 9.5px; color: #6e5f67; margin-top: 3px; }
.cl-in { align-self: flex-start; background: #fff; color: #2a2226; border: 1px solid #efe6ea; border-bottom-left-radius: 4px; }
.cl-out { align-self: flex-end; background: var(--demo-reply); color: var(--demo-reply-ink); border-bottom-right-radius: 4px; }
.cl-out small { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--demo-reply-meta); margin-bottom: 3px; }
.cl-out time { color: var(--demo-reply-meta); }
.cl-linkcard { display: flex; gap: 9px; align-items: center; margin-top: 8px; padding: 8px; border-radius: 9px; background: rgb(255 255 255 / 12%); }
.cl-linkcard b { display: block; font-size: 11.5px; line-height: 1.3; }
.cl-linkcard em { display: block; font-style: normal; font-size: 10.5px; line-height: 1.4; opacity: .86; margin-top: 2px; }
.cl-linkcard-mark .cl-initials { width: 32px; height: 32px; border-radius: 8px; background: #fff; color: #8e1b4e; }
.cl-in .cl-linkcard { background: #f6f1f4; }
.cl-event { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: #5d4f57; background: #fff; border: 1px solid #eadfe5; border-radius: 999px; padding: 4px 11px; }
.cl-event b { font-weight: 600; color: #452238; }
.cl-event .i { color: #a3184f; }
.cl-compose { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-top: 1px solid #eee7ea; color: #6e5f67; font-size: 12px; }
.cl-compose .i { font-size: 16px; color: #452238; }

/* Opening: conversation and the contact panel */
.cl-hero-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 206px; }
.cl-hero-body .cl-chat { border-right: 1px solid #eee7ea; }
.cl-contact { display: flex; flex-direction: column; gap: 18px; padding: 18px 14px; }
.cl-contact-top { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cl-contact-top .cl-face { width: 48px; height: 48px; margin-bottom: 8px; }
.cl-contact-top b { font-size: 13px; }
.cl-contact-top small { font-size: 11px; color: #6a5c64; }
.cl-contact-block > small { display: block; font-size: 10.5px; font-weight: 500; color: #6a5c64; margin-bottom: 7px; }
.cl-next, .cl-stage-swap { display: grid; align-items: start; justify-items: start; }
.cl-next > *, .cl-stage-swap > * { grid-area: 1 / 1; }
.cl-next { justify-items: stretch; }
.cl-next-empty { align-self: start; font-size: 11.5px; color: #6e5f67; border: 1px dashed #e2d7dd; border-radius: 9px; padding: 10px; }
.cl-next-card { display: flex; flex-direction: column; gap: 2px; border: 1px solid #e7dbe2; border-radius: 9px; padding: 9px 10px; background: #fff; }
.cl-next-card b { font-size: 12px; }
.cl-next-card > span { font-size: 11px; color: #6d5f67; }
.cl-next-card .cl-pill { align-self: flex-start; margin-top: 6px; }
.cl-phase { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 6px 10px; border-radius: 8px; border: 1px solid #e7dbe2; color: #5d4f57; }
.cl-phase.is-new { background: var(--demo-wine-wash); border-color: #dcc0cf; color: #452238; font-weight: 500; }

/* Motion: things that arrive (cl-seq) and things that leave (cl-seq-out). */
.cl-seq-out { opacity: 0; }
.cl-scene[data-cue="wait"] .cl-seq { opacity: 0; }
.cl-scene[data-cue="wait"] .cl-seq-out { opacity: 1; }
.cl-scene[data-cue="play"] .cl-seq { animation: cl-arrive .5s var(--ease) var(--t, 0s) both; }
.cl-scene[data-cue="play"] .cl-seq-out { animation: cl-leave .28s ease var(--t, 0s) both; }
@keyframes cl-arrive { from { opacity: 0; transform: translateY(6px); } }
@keyframes cl-leave { from { opacity: 1; } to { opacity: 0; } }

/* ------------------------------------------------------------------ pains */
.cl-pains { background: var(--ground); }
.cl-pain-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cl-pain { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--ground-hairline); border-radius: 16px; background: var(--ground-raised); }
.cl-pain-chat { display: flex; align-items: flex-end; gap: 10px; min-height: 104px; padding: 18px; margin-bottom: 20px; border-radius: 12px; background: var(--demo-thread); }
.cl-pain-chat .cl-msg { max-width: 82%; margin: 0; font-size: 13.5px; }
.cl-pain h3 { font-size: 19px; font-weight: 500; line-height: 1.3; margin-bottom: 6px; }
.cl-pain > p:not(.cl-fix) { font-size: 15px; line-height: 1.6; color: var(--on-ground-soft); }
.cl-fix { display: flex; gap: 10px; margin-top: auto; padding-top: 16px; font-size: 15px; line-height: 1.55; color: var(--on-ground); }
.cl-pain > p + .cl-fix { margin-top: 16px; border-top: 1px solid var(--ground-hairline); }
.cl-fix .i { font-size: 17px; margin-top: 3px; color: var(--action-pink); }
html[data-site-theme="night"] .cl-fix .i { color: #f08cb5; }

/* ------------------------------------------------------------------ journey */
.cl-journey { background: var(--ground-raised); }
.cl-journey-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; }
.cl-steps { display: flex; flex-direction: column; border-top: 1px solid var(--ground-line); }
.cl-steps button { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--ground-line); background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.cl-steps button:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.cl-step-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ground-line); font-size: 12px; font-weight: 500; color: var(--on-ground-soft); }
.cl-step-short { display: none; }
.cl-step-copy b { display: block; font-size: 16.5px; font-weight: 500; line-height: 1.35; padding-top: 2px; }
.cl-step-copy > span, .cl-step-copy small { display: none; }
.cl-step-copy > span { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--on-ground-soft); }
.cl-step-copy small { margin-top: 10px; font-size: 12px; color: var(--on-ground-faint); }
.cl-steps [aria-selected="true"] .cl-step-copy > span, .cl-steps [aria-selected="true"] .cl-step-copy small { display: block; }
.cl-steps [aria-selected="true"] .cl-step-n { background: var(--action-wine); border-color: var(--action-wine); color: #fff; }
html[data-site-theme="night"] .cl-steps [aria-selected="true"] .cl-step-n { background: var(--prompt-wine-light); border-color: var(--prompt-wine-light); }
.cl-step-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--action-wine); }
html[data-site-theme="night"] .cl-step-bar { background: #f08cb5; }
.cl-steps [aria-selected="true"] .cl-step-bar { width: 100%; }
[data-playing="true"] .cl-steps [aria-selected="true"] .cl-step-bar { animation: cl-bar var(--cl-step, 7s) linear both; }
@keyframes cl-bar { from { width: 0; } to { width: 100%; } }
.cl-stage { height: 560px; border: 1px solid #ded8d3; border-radius: 14px; overflow: hidden; background: #fff; }
.cl-panel { height: 100%; }
.cl-panel-caption { display: none; }

/* Step 1: inbox */
.cl-inbox-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.cl-list { border-right: 1px solid #eee7ea; padding-top: 14px; overflow: hidden; }
.cl-list h4 { font-size: 15px; font-weight: 600; padding: 0 14px; }
.cl-tabs { display: flex; gap: 6px; padding: 10px 14px; }
.cl-tabs span { font-size: 11px; padding: 3px 10px; border-radius: 999px; color: #6a5c64; }
.cl-tabs .is-on { background: #452238; color: #fff; }
.cl-conv { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid #f3edf0; }
.cl-conv.is-on { background: #f7f0f4; }
.cl-conv > div { min-width: 0; }
.cl-conv b { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 600; }
.cl-conv time { font-size: 10px; font-weight: 400; color: #6e5f67; }
.cl-conv span { display: block; font-size: 11px; color: #6a5c64; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Steps 2 and 4: the patient's phone beside the clinic's screen */
.cl-link-stage, .cl-remind-stage { height: 100%; display: grid; grid-template-columns: auto minmax(0, 340px); justify-content: center; align-items: center; gap: clamp(24px, 4vw, 52px); padding: 26px 32px; background: linear-gradient(135deg, #f6edf1, #fbf4ef 60%, #f9ebe3); color: #2a2226; font-size: 12px; line-height: 1.45; text-align: left; }
.cl-phone { width: 252px; height: 500px; display: flex; flex-direction: column; padding: 12px 12px 14px; border: 1px solid #ddd3d8; border-radius: 32px; background: #fff; overflow: hidden; }
.cl-phone-speaker { flex: none; width: 62px; height: 5px; margin: 0 auto 12px; border-radius: 3px; background: #e9e0e5; }
.cl-book { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 0 4px; min-height: 0; }
.cl-book-org { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #f0e9ed; }
.cl-book-org b { font-size: 13px; }
.cl-book-service b { display: block; font-size: 16px; line-height: 1.25; }
.cl-book-service span { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #6d5f67; margin-top: 2px; }
.cl-book-step { font-size: 10.5px; color: #6e5f67; }
.cl-book h5 { margin: -4px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.cl-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.cl-days span { text-align: center; padding: 5px 0; border: 1px solid #e7dde2; border-radius: 9px; }
.cl-days small { display: block; font-size: 9.5px; color: #6a5c64; }
.cl-days b { font-size: 13px; }
.cl-days .is-picked { background: #452238; border-color: #452238; color: #fff; }
.cl-days .is-picked small { color: #ecd2df; }
.cl-period small { font-size: 10.5px; color: #6a5c64; }
.cl-period > div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.cl-period span { font-size: 11.5px; padding: 5px 9px; border: 1px solid #e7dde2; border-radius: 8px; }
.cl-period .is-picked { background: var(--demo-wine-wash); border-color: #452238; color: #452238; font-weight: 600; }
.cl-zone { font-size: 10px; color: #6e5f67; }
.cl-book-go { margin-top: auto; padding: 10px; border-radius: 11px; background: #452238; color: #fff; text-align: center; font-size: 12.5px; font-weight: 500; }
.cl-scene[data-cue="play"] .cl-period .is-picked, .cl-scene[data-cue="play"] .cl-days .is-picked { animation: cl-pick .5s var(--ease) .7s both; }
@keyframes cl-pick { from { background: #fff; color: #2a2226; border-color: #e7dde2; } }

.cl-share, .cl-avisos { padding: 18px; border: 1px solid #e3d9de; border-radius: 14px; background: #fff; }
.cl-share-head, .cl-avisos-head { display: flex; align-items: center; gap: 9px; }
.cl-share-head b, .cl-avisos-head b { font-size: 14px; }
.cl-share-head .i { font-size: 17px; color: #452238; }
.cl-share > p { font-size: 11.5px; line-height: 1.55; color: #6d5f67; margin: 8px 0 12px; }
.cl-share-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #f0e9ed; }
.cl-share-row b { display: flex; align-items: baseline; gap: 6px; font-size: 12.5px; }
.cl-share-row b small { font-size: 10.5px; font-weight: 400; color: #6e5f67; }
.cl-share-row span { font-size: 11px; color: #6a5c64; }
.cl-share-row em { display: inline-flex; align-items: center; gap: 4px; flex: none; font-style: normal; font-size: 11px; color: #452238; padding: 4px 9px; border: 1px solid #e3d9de; border-radius: 7px; }
.cl-share-row.is-copied em { background: #e6f4ea; border-color: #cfe8d6; color: #23733a; }
.cl-scene[data-cue="play"] .cl-share-row.is-copied em { animation: cl-copied .45s var(--ease) 1.2s both; }
@keyframes cl-copied { from { background: #fff; border-color: #e3d9de; color: #452238; } }
.cl-share-bio { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px; border-radius: 9px; background: #faf6f8; font-size: 11px; color: #6d5f67; }
.cl-share-bio .brand-icon { width: 15px; height: 15px; flex: none; color: #312d31; }

/* Step 3: agenda */
.cl-crmnav { flex: none; display: flex; gap: 6px; height: 44px; align-items: center; padding: 0 14px; border-bottom: 1px solid #eee7ea; overflow: hidden; }
.cl-crmnav span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #5d4f57; padding: 5px 9px; border-radius: 8px; white-space: nowrap; }
.cl-crmnav .i { font-size: 14px; }
.cl-crmnav .is-on { color: #bd205e; background: #fdf0f5; font-weight: 500; }
.cl-agenda-head { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px 12px; }
.cl-agenda-head b { display: block; font-size: 17px; line-height: 1.2; }
.cl-agenda-head small { font-size: 11px; color: #6a5c64; }
.cl-agenda-actions { display: flex; gap: 8px; }
.cl-btn-line, .cl-btn-pink { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px; font-size: 11.5px; white-space: nowrap; }
.cl-btn-line { border: 1px solid #e3d9de; background: #fff; }
.cl-btn-pink { background: #e3157a; color: #fff; font-weight: 500; }
.cl-btn-line .i, .cl-btn-pink .i { font-size: 13px; }
.cl-agenda-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 186px minmax(0, 1fr); gap: 16px; padding: 0 18px 16px; }
.cl-agenda-side { display: flex; flex-direction: column; gap: 16px; font-size: 11.5px; overflow: hidden; }
.cl-mini-head { display: flex; justify-content: space-between; align-items: center; }
.cl-mini-head b { font-size: 12px; }
.cl-mini-head span { display: flex; gap: 6px; color: #6a5c64; font-size: 13px; }
.cl-mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px 0; margin-top: 6px; text-align: center; }
.cl-mini-grid small { font-size: 9.5px; color: #6a5c64; }
.cl-mini-grid span { font-size: 10.5px; line-height: 21px; }
.cl-mini-grid .is-out { color: #c6babf; }
.cl-mini-grid .is-on { width: 21px; margin: 0 auto; border-radius: 50%; background: #e3157a; color: #fff; font-weight: 600; }
.cl-side-title { display: flex; justify-content: space-between; margin-bottom: 4px; }
.cl-side-title b { font-weight: 600; color: #5d4f57; }
.cl-side-title span { font-size: 10.5px; color: #6a5c64; }
.cl-check-row { display: flex; align-items: center; gap: 7px; padding: 4px 0; }
.cl-check-row > i { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; background: #e3157a; color: #fff; font-size: 10px; }
.cl-check-row > span:not(.cl-initials) { flex: 1; }
.cl-check-row small { color: #6a5c64; }
.cl-side-avisos { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid #ece4e8; border-radius: 10px; }
.cl-side-avisos b { display: flex; align-items: center; gap: 6px; font-size: 11.5px; }
.cl-side-avisos b .i { color: #a3184f; font-size: 14px; }
.cl-side-avisos span { display: flex; align-items: center; gap: 5px; font-size: 11px; }
.cl-side-avisos span .i { color: #23733a; }
.cl-side-avisos small { margin-left: auto; color: #6a5c64; font-size: 10.5px; }
.cl-side-avisos em { display: flex; align-items: center; gap: 2px; font-style: normal; font-size: 11px; font-weight: 500; color: #bd205e; }
.cl-day-card { display: flex; flex-direction: column; min-height: 0; border: 1px solid #ece4e8; border-radius: 12px; overflow: hidden; }
.cl-day-bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #eee7ea; }
.cl-day-bar b { font-size: 13px; white-space: nowrap; }
.cl-day-arrows { display: flex; gap: 4px; color: #6a5c64; font-size: 14px; }
.cl-views { margin-left: auto; display: flex; padding: 2px; border-radius: 8px; background: #f4eff2; }
.cl-views span { font-size: 10.5px; padding: 3px 9px; border-radius: 6px; color: #6a5c64; }
.cl-views .is-on { background: #fff; color: #2a2226; font-weight: 600; }
.cl-day-grid { --hour: 56px; flex: 1; min-height: 0; display: grid; grid-template-columns: 48px 1fr 1fr; grid-template-rows: auto 1fr; overflow: hidden; }
.cl-day-people { grid-column: 1 / -1; display: grid; grid-template-columns: 48px 1fr 1fr; align-items: center; padding: 7px 0; border-bottom: 1px solid #eee7ea; }
.cl-day-people > small { font-size: 9.5px; color: #6a5c64; text-align: center; }
.cl-day-people > span { display: flex; align-items: center; gap: 7px; padding-left: 8px; }
.cl-day-people b { font-size: 11.5px; line-height: 1.25; }
.cl-day-people b small { display: block; font-size: 10px; font-weight: 400; color: #6a5c64; }
.cl-hours { display: grid; grid-auto-rows: var(--hour); padding-top: 4px; }
.cl-hours small { font-size: 9.5px; color: #6e5f67; text-align: center; }
.cl-col { position: relative; border-left: 1px solid #f0e9ed; background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--hour) - 1px), #f3edf0 calc(var(--hour) - 1px) var(--hour)); background-position: 0 10px; }
.cl-slot { position: absolute; left: 5px; right: 5px; top: calc(var(--top) * var(--hour) + 11px); height: calc(var(--len) * var(--hour) - 2px); padding: 2px 7px; border-left: 3px solid #e3157a; border-radius: 5px; background: #fde9f1; overflow: hidden; font-size: 10px; line-height: 1.22; }
.cl-slot b { display: block; color: #a3184f; }
.cl-slot span { display: block; font-size: 10px; color: #b04473; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-slot.is-new { background: #452238; border-left-color: #ff8967; }
.cl-slot.is-new b { color: #fff; }
.cl-slot.is-new span { color: #f3cedc; }
.cl-scene[data-cue="play"] .cl-slot.is-new { --t: .5s; }

/* Step 4: reminder and confirmation */
.cl-wa { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cl-wa-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 10px; }
.cl-wa-head b { flex: 1; font-size: 13px; }
.cl-wa-head .brand-icon { width: 15px; height: 15px; color: #312d31; }
.cl-wa-thread { display: flex; flex-direction: column; gap: 8px; margin: 0 -12px; padding: 12px 14px; background: var(--demo-thread); }
.cl-wa-thread .cl-msg { max-width: 94%; font-size: 11.5px; line-height: 1.4; }
.cl-linkcard.is-plain { margin-top: 7px; }
.cl-confirm { position: relative; display: flex; flex-direction: column; gap: 5px; margin-top: 12px; padding: 12px 12px 12px; border: 1px solid #e7dde2; border-radius: 14px; }
.cl-confirm > small { font-size: 10.5px; color: #6a5c64; }
.cl-confirm h5 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.25; }
.cl-confirm-when { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #5d4f57; }
.cl-confirm-actions { display: grid; gap: 6px; margin-top: 6px; }
.cl-confirm-actions span { padding: 8px; border-radius: 10px; text-align: center; font-size: 12.5px; }
.cl-confirm-yes { background: #452238; color: #fff; font-weight: 500; }
.cl-confirm-no { border: 1px solid #e3d9de; color: #5d4f57; }
.cl-confirm-done { position: absolute; left: 11px; right: 11px; bottom: 11px; height: 82px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; background: #e6f4ea; color: #23733a; font-size: 13px; font-weight: 600; }
.cl-scene[data-cue="wait"] .cl-confirm-done { opacity: 0; }
.cl-scene[data-cue="play"] .cl-confirm-yes { animation: cl-press .32s ease 1.5s both; }
.cl-scene[data-cue="play"] .cl-confirm-done { animation: cl-arrive .45s var(--ease) 1.9s both; }
@keyframes cl-press { 50% { transform: scale(.96); background: #6b3456; } }
.cl-avisos-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: #fbe4ee; color: #a3184f; font-size: 17px; }
.cl-avisos-head { align-items: flex-start; }
.cl-avisos-head p { font-size: 11.5px; line-height: 1.5; color: #6d5f67; margin-top: 3px; }
.cl-avisos-service { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 2px; }
.cl-avisos-service b { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.cl-avisos-service b .i { color: #23733a; }
.cl-avisos-service small { font-size: 11px; color: #6d5f67; }
.cl-avisos ul { list-style: none; margin: 0; padding: 0; }
.cl-avisos li { padding: 8px 0; border-top: 1px solid #f0e9ed; }
.cl-avisos li span { display: block; font-size: 12px; }
.cl-avisos li small { display: block; font-size: 10.5px; color: #23733a; }
.cl-avisos-status { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px; border-radius: 10px; background: #faf6f8; }
.cl-avisos-status > span { flex: 1; font-size: 11.5px; }
.cl-avisos-status .cl-pill { grid-area: 1 / 1; }
.cl-avisos-status { display: grid; grid-template-columns: 1fr auto; }
.cl-avisos-status .cl-pill-wait { grid-area: 1 / 2; opacity: 0; }
.cl-avisos-status .cl-pill-ok { grid-area: 1 / 2; justify-self: end; }
.cl-scene[data-cue="wait"] .cl-avisos-status .cl-pill-wait { opacity: 1; }
.cl-scene[data-cue="wait"] .cl-avisos-status .cl-pill-ok { opacity: 0; }
.cl-scene[data-cue="play"] .cl-avisos-status .cl-pill-wait { animation: cl-leave .25s ease 1.9s both; }
.cl-scene[data-cue="play"] .cl-avisos-status .cl-pill-ok { animation: cl-arrive .4s var(--ease) 2s both; }

/* Step 5: pipeline and the scheduled return */
.cl-return-head { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 12px; }
.cl-return-head > div { display: flex; align-items: center; gap: 12px; }
.cl-return-head b { font-size: 17px; }
.cl-select { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid #e3d9de; border-radius: 8px; font-size: 11.5px; }
.cl-select .i { font-size: 12px; }
.cl-return-head .cl-views { margin-left: 0; }
.cl-board { flex: 1; min-height: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 10px; padding: 0 18px 8px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 18px; scrollbar-width: thin; scrollbar-color: #dccfd6 transparent; }
/* Columns keep a readable width; when the screen is narrower the board scrolls sideways, as in the app. */
.cl-board > .cl-column { scroll-snap-align: start; }
.cl-column { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px; border-radius: 12px; background: #f6f2f4; }
.cl-column:nth-child(3) { background: #fbeef3; }
.cl-column.is-target { background: #f4ecf1; }
.cl-column-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.cl-column-head b { font-size: 11.5px; line-height: 1.25; }
.cl-column-head i { flex: none; font-style: normal; font-size: 10px; padding: 1px 7px; border-radius: 999px; background: #fff; color: #6a5c64; }
.cl-card { display: flex; flex-direction: column; gap: 6px; padding: 9px; border: 1px solid #ece4e8; border-radius: 9px; background: #fff; }
.cl-card > b { font-size: 11.5px; }
.cl-card-who { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #5d4f57; }
.cl-card-who .cl-face { width: 20px; height: 20px; }
.cl-card > small { font-size: 10px; color: #6a5c64; }
.cl-card.cl-card-ghost { padding: 0; border: 0; background: none; }
.cl-card-ghost .cl-card { border-color: #cfa9bf; }
.cl-card.is-moving { opacity: 0; }
.cl-scene[data-cue="wait"] .cl-card.is-moving { opacity: 1; }
.cl-scene[data-cue="wait"] .cl-card-ghost { opacity: 0; }
.cl-scene[data-cue="play"] .cl-card.is-moving { animation: cl-move .45s var(--ease) .8s both; }
.cl-scene[data-cue="play"] .cl-card-ghost { animation: cl-arrive .45s var(--ease) 1.05s both; }
@keyframes cl-move { from { opacity: 1; } to { opacity: 0; transform: translateX(30px); } }
.cl-scheduled { flex: none; display: flex; align-items: center; gap: 10px; margin: 12px 18px 16px; padding: 10px 12px; border: 1px solid #e7dbe2; border-radius: 12px; background: #fff; }
.cl-scheduled-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--demo-wine-wash); color: #452238; font-size: 15px; }
.cl-scheduled > div { flex: 1; min-width: 0; }
.cl-scheduled > div > b { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.cl-scheduled > div > span { display: block; font-size: 11.5px; color: #6d5f67; }

/* The questions get the Workspace page's paper, so they do not run into the price section. */
.site[data-page^="segment"] .cl-faq { --cl-shade: rgb(142 102 140 / 12%); --cl-shade-soft: rgb(238 160 127 / 12%); position: relative; isolation: isolate; background: var(--ground); background-image: radial-gradient(ellipse 90% 100% at 0% 0%, var(--cl-shade), transparent 72%), radial-gradient(ellipse 85% 90% at 100% 100%, var(--cl-shade-soft), transparent 72%); }
html[data-site-theme="night"] .site[data-page^="segment"] .cl-faq { --cl-shade: rgb(188 136 180 / 9%); --cl-shade-soft: rgb(217 142 111 / 6%); }

/* ------------------------------------------------ vendas consultivas */
/* Opening panel: what the AI wrote down, the stage and the broker who got the lead. */
.cl-field { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #f2ebef; font-size: 11.5px; }
.cl-field small { color: #6a5c64; }
.cl-field b { font-weight: 600; text-align: right; }
.cl-owner { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.cl-owner .cl-face { width: 28px; height: 28px; }
.cl-owner small { display: block; font-size: 10px; color: #6a5c64; }
.cl-owner b { display: block; font-size: 12px; }
/* Pipeline footer: the team's output from Métricas. */
.cl-perf { flex: none; margin: 12px 18px 16px; padding: 10px 12px; border: 1px solid #e7dbe2; border-radius: 12px; background: #fff; }
.cl-perf > b { display: block; font-size: 12px; margin-bottom: 4px; }
.cl-perf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 5px 0; border-top: 1px solid #f2ebef; font-size: 11.5px; }
.cl-perf-row > span { display: flex; align-items: center; gap: 7px; min-width: 0; }
.cl-perf-row .cl-face { width: 22px; height: 22px; }
.cl-perf-row small { color: #6a5c64; font-size: 10.5px; white-space: nowrap; }
.cl-perf-row small b { color: #2a2226; font-weight: 600; margin-left: 3px; }
/* Follow-up: the flow beside the client's phone. */
.cl-flow-stage { height: 100%; display: grid; grid-template-columns: minmax(0, 330px) auto; justify-content: center; align-items: center; gap: clamp(24px, 4vw, 52px); padding: 26px 32px; background: linear-gradient(135deg, #f6edf1, #fbf4ef 60%, #f9ebe3); color: #2a2226; font-size: 12px; line-height: 1.45; text-align: left; }
.cl-flow { padding: 16px; border: 1px solid #e3d9de; border-radius: 14px; background: #fff; }
.cl-flow-stage .cl-phone { height: auto; max-height: 100%; }
.cl-flow-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #f0e9ed; }
.cl-flow-head b { font-size: 13.5px; }
.cl-node { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 9px 0; }
.cl-node + .cl-node::before { content: ""; position: absolute; left: 14px; top: -6px; height: 14px; border-left: 2px dotted #dcc9d3; }
.cl-node-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--demo-wine-wash); color: #452238; font-size: 15px; }
.cl-node > div > small { display: block; font-size: 10px; color: #6a5c64; }
.cl-node > div > b { display: block; font-size: 12px; font-weight: 600; line-height: 1.35; }
.cl-node > div > span { display: block; font-size: 11px; color: #6d5f67; }
.cl-node em { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; font-style: normal; }
.cl-node em i { font-style: normal; font-size: 10.5px; padding: 3px 8px; border: 1px solid #e3d9de; border-radius: 999px; color: #452238; }
.cl-buttons { display: grid; gap: 5px; max-width: 94%; }
.cl-buttons span { padding: 7px; border-radius: 10px; background: #fff; border: 1px solid #efe6ea; color: #128c7e; text-align: center; font-size: 12px; font-weight: 500; }
.cl-buttons .is-picked { border-color: #9fd9c9; }
.cl-in-ai { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #8e1b4e; margin-bottom: 3px; }
/* Renewal: the scheduled messages screen. */
.cl-sched-head { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px 8px; }
.cl-sched-head b { display: block; font-size: 17px; }
.cl-sched-head small { font-size: 11px; color: #6a5c64; }
.cl-toast { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: #e6f4ea; color: #23733a; font-size: 12px; font-weight: 600; }
.cl-sched-list { flex: 1; min-height: 0; overflow: hidden; padding: 0 18px; }
.cl-sched-list h5 { margin: 12px 0 8px; font-size: 12px; font-weight: 600; color: #66515f; }
.cl-sched-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid #e7dfe5; border-radius: 10px; }
.cl-sched-row.is-new { border-color: #cba6bb; background: #fffbfd; }
.cl-sched-row > div { min-width: 0; }
.cl-sched-row b { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.cl-sched-row time { font-size: 11px; font-weight: 600; color: #786270; }
.cl-sched-row span { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.45; color: #6d5f67; }
.cl-sched-note { flex: none; display: flex; align-items: center; gap: 8px; margin: 12px 18px 16px; padding: 10px 12px; border-radius: 10px; background: #faf6f8; font-size: 11.5px; color: #6d5f67; }
.cl-sched-note .i { font-size: 15px; color: #452238; }

/* ------------------------------------------------------------ escritórios */
.cl-tag { flex: none; font-style: normal; font-size: 10px; font-weight: 500; line-height: 1.2; padding: 3px 8px; border-radius: 999px; background: #f3eaf0; color: #6d3e5a; white-space: nowrap; }
.cl-chat-head .cl-tag { margin-left: auto; }
.cl-tasks { flex: none; margin: 12px 18px 16px; padding: 10px 12px; border: 1px solid #e7dbe2; border-radius: 12px; background: #fff; }
.cl-tasks > b { display: block; font-size: 12px; margin-bottom: 4px; }
.cl-task { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid #f2ebef; }
.cl-task > i { display: grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid #cdbcc6; border-radius: 5px; color: transparent; font-size: 10px; }
.cl-task > div { min-width: 0; }
.cl-task b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-task span { display: block; font-size: 11px; color: #6a5c64; }
.cl-task small { font-size: 11px; color: #786270; white-space: nowrap; }
.cl-task small.is-late { color: #b3261e; }

/* -------------------------------------------------------- negócios locais */
.cl-product { display: grid; gap: 2px; padding: 9px 10px; border: 1px solid #e7dbe2; border-radius: 9px; }
.cl-product b { font-size: 12px; }
.cl-product span { font-size: 11px; color: #6d5f67; }
.cl-product .cl-pill { justify-self: start; margin-top: 4px; }
.cl-channels { flex: none; margin: 12px 18px 16px; padding: 10px 12px; border: 1px solid #e7dbe2; border-radius: 12px; background: #fff; }
.cl-channels > b { display: block; font-size: 12px; margin-bottom: 8px; }
.cl-channels-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: #f2ebef; }
.cl-channels-bar i, .cl-channels-legend i { display: block; }
.cl-channels-bar .is-0, .cl-channels-legend .is-0 { background: #452238; }
.cl-channels-bar .is-1, .cl-channels-legend .is-1 { background: #c2185b; }
.cl-channels-bar .is-2, .cl-channels-legend .is-2 { background: #ff8967; }
.cl-channels-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 11px; color: #6d5f67; }
.cl-channels-legend span { display: flex; align-items: center; gap: 6px; }
.cl-channels-legend i { width: 8px; height: 8px; border-radius: 50%; }
.cl-channels-legend b { color: #2a2226; font-weight: 600; }
.cl-bc-head { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px 10px; border-bottom: 1px solid #f0e9ed; }
.cl-bc-head small { display: block; font-size: 11px; color: #6a5c64; }
.cl-bc-head b { display: block; font-size: 17px; }
.cl-bc-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 16px; padding: 16px 18px; overflow: hidden; }
.cl-bc-info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cl-bc-info > div { padding: 10px 12px; border: 1px solid #ece4e8; border-radius: 10px; }
.cl-bc-info small { display: block; font-size: 10.5px; color: #6a5c64; }
.cl-bc-info b { display: block; font-size: 12.5px; margin-top: 2px; }
.cl-bc-info span { display: block; font-size: 11px; color: #6d5f67; }
.cl-bc-preview { flex: 1; background: var(--demo-thread); border-color: transparent !important; }
.cl-bc-preview .cl-msg { max-width: 100%; margin: 6px 0 0; font-size: 12px; }
.cl-bc-funnel { padding: 12px 14px; border: 1px solid #ece4e8; border-radius: 12px; min-width: 0; }
.cl-bc-funnel > b { display: block; font-size: 12.5px; margin-bottom: 10px; }
.cl-bc-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) 40px; align-items: center; gap: 10px; padding: 6px 0; font-size: 11.5px; }
.cl-bc-row > span { color: #6d5f67; }
.cl-bc-row > i { height: 10px; border-radius: 999px; background: #f2ebef; overflow: hidden; }
.cl-bc-row > i em { display: block; height: 100%; border-radius: 999px; background: #452238; }
.cl-bc-row:last-of-type > i em { background: #e57373; }
.cl-bc-row > b { text-align: right; font-weight: 600; }
.cl-bc-rates { display: flex; gap: 8px; margin-top: 12px; }
.cl-bc-rates span { flex: 1; padding: 8px; border-radius: 9px; background: #faf6f8; font-size: 10.5px; color: #6d5f67; text-align: center; }
.cl-bc-rates b { display: block; font-size: 16px; color: #2a2226; }

/* ------------------------------------------------------------- e-commerce */
.cl-know { display: flex; align-items: center; gap: 9px; padding: 8px 10px; margin-bottom: 8px; border: 1px solid #e7dbe2; border-radius: 9px; }
.cl-know-icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #f6eef2; color: #a3184f; font-size: 13px; }
.cl-know > div { min-width: 0; }
.cl-know b { display: block; font-size: 12px; }
.cl-know > div > span { display: block; font-size: 10.5px; color: #6a5c64; }
.cl-contact-block > .cl-phase { justify-self: start; }
.cl-card > .cl-pill { align-self: flex-start; }
.cl-ticket-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.cl-prio { font-style: normal; font-size: 10px; font-weight: 500; line-height: 1.2; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.cl-prio.is-urgent { background: #fde8e6; color: #b3261e; }
.cl-prio.is-high { background: #fdf1e4; color: #9a5a1c; }
.cl-prio.is-mid { background: #eef1fb; color: #3d4f8f; }
.cl-prio.is-low { background: #f2eff1; color: #6d5f67; }
.cl-events .cl-task { grid-template-columns: 20px minmax(0, 1fr) auto; }
.cl-events .cl-task > i { border: 0; border-radius: 6px; background: #f6eef2; color: #a3184f; width: 20px; height: 20px; font-size: 11px; }
.cl-ticket-chat > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.cl-ticket-chat .cl-msg { margin: 0; }


/* -------------------------------------------------------------- afiliados */
/* The Afiliados page sells the Extensão: its actions are coral, like the Extensão page. */
.site[data-page="segment-afiliados"] { --cta-fill: var(--action-coral); --on-brand: var(--on-coral); }
html[data-site-theme="night"] .site[data-page="segment-afiliados"] { --cta-fill: var(--action-coral); }
.cl-context { margin-top: 12px; }
/* WhatsApp Web with the Extensão's bar (opening). */
.cl-ww { height: 100%; display: flex; flex-direction: column; background: #fff; font-size: 12px; }
.cl-ww .i { width: 1.15em; height: 1.15em; flex: none; }
.cl-ww-bar { flex: none; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-bottom: 1px solid #ece6e9; }
.cl-ww-logo { width: 74px; height: 18px; }
.cl-ww-tools { display: flex; gap: 6px; margin-left: auto; }
.cl-ww-tools i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f6f3f4; color: #6d6168; }
.cl-ww-tools i.is-on { background: var(--demo-peach-wash); color: var(--demo-copper); }
.cl-ww-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.cl-ww-list { padding: 12px 0; border-right: 1px solid #ece6e9; overflow: hidden; }
.cl-ww-list h4 { margin: 0 14px 10px; font-size: 15px; font-weight: 600; }
.cl-ww-row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; }
.cl-ww-row.is-on { background: #f4f0f2; }
.cl-ww-row > div { flex: 1; min-width: 0; }
.cl-ww-row b { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 600; }
.cl-ww-row time { font-size: 10px; font-weight: 400; color: #6e5f67; }
.cl-ww-row small { display: block; font-size: 11px; color: #6a5c64; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-ww-chat { min-width: 0; display: flex; flex-direction: column; background: var(--demo-thread); }
.cl-ww-thread { flex: 1; min-height: 0; display: grid; align-content: start; gap: .6em; padding: 1.1em 1.3em; overflow: hidden; }
.cl-ww-quick { flex: none; display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #fff; border-top: 1px solid #ece6e9; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.cl-ww-grid { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 7px; background: #f6f3f4; color: #6d6168; }
.cl-ww-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border: 1px solid #e8e1e4; border-radius: 999px; font-size: 11px; color: #5d4f57; white-space: nowrap; }
.cl-ww-pill.is-on { border-color: var(--action-coral); background: var(--demo-peach-wash); color: var(--demo-copper); }
.cl-ww-compose { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; color: #6e5f67; }
.cl-ww-compose span { flex: 1; }
/* The contact at the top of a conversation, with its status line. */
.cl-xhead { flex: none; display: flex; align-items: center; gap: .7em; padding: .7em 1em; background: #fff; border-bottom: 1px solid #ece6e9; }
.cl-xhead b { display: block; font-size: 1.04em; }
.cl-xstatus { display: grid; font-size: .86em; color: #8a8a8a; }
.cl-xstatus > span { grid-area: 1 / 1; display: flex; align-items: center; gap: .35em; }
.cl-xstatus .cl-xrec { display: flex; align-items: center; gap: .35em; color: var(--demo-copper); }
/* A step: the Extensão's window beside the conversation. */
.cl-xstage.xv { height: 100%; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 300px); justify-content: center; align-items: center; gap: clamp(20px, 3vw, 40px); padding: 26px 32px; background: linear-gradient(135deg, #f6edf1, #fbf4ef 60%, #f9ebe3); font-size: 12px; }
.cl-xsheet { align-self: center; }
.cl-xchat { display: flex; flex-direction: column; border: 1px solid #ddd3d8; border-radius: 16px; overflow: hidden; background: var(--demo-thread); }
.cl-xthread { display: grid; align-content: start; gap: .6em; padding: 1em; }
.cl-xfolder { display: flex; align-items: center; gap: .45em; font-weight: 600; color: #6d6d6d; }
.cl-xmeta { font-size: .8em; font-weight: 500; color: #888; }
.cl-xcheck { display: flex; align-items: center; gap: .55em; font-size: .92em; color: #5d5d5d; }
.cl-xcheck i { display: grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: .35em; background: var(--action-coral); color: var(--on-coral); }
.cl-xcheck .i { width: .85em; height: .85em; }
.cl-xswitch { display: flex; align-items: center; justify-content: space-between; gap: .8em; padding-top: .2em; font-size: .92em; }
.cl-xswitch i { position: relative; flex: none; width: 2.4em; height: 1.4em; border-radius: 99px; background: var(--action-coral); }
.cl-xswitch i::after { content: ""; position: absolute; top: .2em; right: .2em; width: 1em; height: 1em; border-radius: 50%; background: #fff; }
.cl-xphotos { display: grid; grid-template-columns: repeat(3, 3.2em); gap: .3em; align-items: end; }
.cl-xphotos i { height: 3.2em; border-radius: .4em; background: linear-gradient(160deg, #f3d9c9, #e9c3cf); }
.cl-xphotos time { grid-column: 1 / -1; justify-self: end; margin: 0; }
.cl-xpending { padding: .2em 0 0; }
.cl-xpending .xv-row span { min-width: 0; }
.cl-xline { display: flex; flex-direction: column; gap: .1em; padding-bottom: .55em; border-bottom: 1px solid #f0eded; }
.cl-xline small { font-size: .86em; color: #888; }
.cl-xgo { padding: .75em; border-radius: .7em; background: var(--action-coral); color: var(--on-coral); text-align: center; font-weight: 600; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .cl-journey-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; }
  .cl-hero-body { grid-template-columns: minmax(0, 1fr) 180px; }
  .cl-inbox-body { grid-template-columns: 200px minmax(0, 1fr); }
  .cl-agenda-body { grid-template-columns: minmax(0, 1fr); }
  .cl-agenda-side { display: none; }
  .cl-share, .cl-avisos { display: none; }
  .cl-link-stage, .cl-remind-stage { grid-template-columns: auto; }
  .cl-flow-stage { grid-template-columns: minmax(0, 340px); }
  .cl-flow-stage .cl-phone { display: none; }
  .cl-sched-extra { display: none; }
  .cl-bc-body { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .cl-bc-info { display: grid; grid-template-columns: 1fr 1fr; }
  .cl-bc-preview { grid-column: 1 / -1; }
  .cl-bc-rates { display: none; }
  .cl-events .cl-card-extra { display: none; }
  .cl-ww-body { grid-template-columns: 190px minmax(0, 1fr); }
  .cl-xstage.xv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 22px; gap: 18px; }
}
@media (max-width: 900px) {
  .cl-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .cl-journey-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* The steps become a row of named chips that scrolls sideways; the current one fills with the
     time left before the next step. The text of the step sits under the screen, in a box of fixed
     height, so moving between steps never changes the height of the page. */
  .cl-steps { flex-direction: row; gap: 8px; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); border: 0; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
  .cl-steps::-webkit-scrollbar { display: none; }
  .cl-steps button { flex: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 6px; border: 1px solid var(--ground-line); border-radius: 999px; overflow: hidden; }
  .cl-steps button:focus-visible { border-radius: 999px; outline-offset: 2px; }
  .cl-step-copy { display: none; }
  .cl-step-short { display: block; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
  .cl-step-n { width: 30px; height: 30px; font-size: 13px; }
  .cl-steps [aria-selected="true"] { border-color: var(--action-wine); background: color-mix(in srgb, var(--action-wine) 7%, var(--ground-raised)); }
  html[data-site-theme="night"] .cl-steps [aria-selected="true"] { border-color: var(--prompt-wine-light); }
  .cl-step-bar { top: auto; bottom: 0; left: 0; height: 3px; }
  .cl-steps [aria-selected="true"] .cl-step-bar { width: 0; }
  [data-playing="true"] .cl-steps [aria-selected="true"] .cl-step-bar { animation: cl-bar var(--cl-step, 7s) linear both; }
  .cl-stage { touch-action: pan-y; }
  .cl-panel-caption { display: block; height: 150px; margin-top: 16px; overflow: hidden; }
  .cl-panel-caption b { display: block; font-size: 18px; font-weight: 500; line-height: 1.35; }
  .cl-panel-caption span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--on-ground-soft); }
  .cl-stage { height: auto; border: 0; border-radius: 0; background: none; overflow: visible; }
  .cl-panel .cl-scene { height: 600px; border: 1px solid #ded8d3; border-radius: 14px; overflow: hidden; background: #fff; }
  /* One column again: the stage is wide enough for the phone and its panel side by side, as on a computer. */
  .cl-flow-stage { grid-template-columns: minmax(0, 320px) auto; padding: 20px; gap: 24px; }
  .cl-flow-stage .cl-phone { display: flex; }
  .cl-link-stage, .cl-remind-stage { grid-template-columns: auto minmax(0, 320px); padding: 20px; gap: 24px; }
  .cl-share, .cl-avisos { display: block; }
}
@media (max-width: 600px) {
  /* On a phone the four pains become a row of cards that scrolls sideways. */
  .cl-pain-grid { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .cl-pain-grid::-webkit-scrollbar { display: none; }
  .cl-pain { flex: 0 0 min(84%, 420px); scroll-snap-align: start; }
  .cl-hero { background-image: radial-gradient(ellipse 80% 42% at 108% 65%, var(--light-apricot), transparent 92%), radial-gradient(ellipse 88% 48% at 85% 80%, var(--light-rose), transparent 90%); }
  .cl-hero h1 { font-size: 38px; }
  .cl-hero-copy > p:not(.product-label, .cl-areas) { font-size: 16px; }
  .cl-hero-scene { height: 640px; }
  /* The WhatsApp Web of the Extensão carries less above the fold than the Workspace inbox. */
  .cl-hero-scene:has(.cl-ww) { height: 480px; }
  .cl-panel .cl-scene { height: 600px; }
  .cl-card-extra { display: none; }
  .cl-hero-body { grid-template-columns: minmax(0, 1fr); }
  .cl-hero-body .cl-chat { border-right: 0; }
  .cl-contact { display: none; }
  .cl-msg { max-width: 88%; }
  .cl-inbox-body { grid-template-columns: minmax(0, 1fr); }
  .cl-list { display: none; }
  .cl-link-stage, .cl-remind-stage { grid-template-columns: auto; padding: 10px; }
  .cl-phone { width: 262px; height: 100%; max-height: 580px; }
  .cl-remind-stage .cl-phone { height: auto; }
  .cl-scheduled > div > b { flex-wrap: wrap; gap: 4px 8px; }
  .cl-scheduled > .cl-face { display: none; }
  .cl-crmnav span:not(.is-on) { display: none; }
  .cl-agenda-head small { display: none; }
  .cl-btn-line { display: none; }
  .cl-agenda-body { padding: 0 10px 10px; }
  .cl-day-bar { gap: 6px; }
  .cl-day-bar > .cl-btn-line, .cl-day-arrows { display: none; }
  .cl-day-bar b { font-size: 12px; }
  .cl-views span:not(.is-on) { display: none; }
  /* Two whole columns on a phone, so the card that moves stays in view; the rest scrolls. */
  .cl-board { grid-auto-columns: calc((100% - 10px) / 2); padding: 0 10px 8px; scroll-padding-inline: 10px; }
  .cl-return-head .cl-views { display: none; }
  .cl-scheduled { margin: 10px; }
  .cl-pain { padding: 16px; }
  .cl-pain-chat { padding: 14px; }
  /* Product drawings read at phone size: nothing under about 10.5px, messages at body size. */
  .cl-top { height: 52px; }
  .cl-cabin b { font-size: 14px; }
  .cl-cabin small { font-size: 11px; }
  .cl-chat-head b { font-size: 14px; }
  .cl-chat-head small { font-size: 12px; }
  .cl-pill { font-size: 11px; padding: 4px 9px; }
  .cl-day { font-size: 11px; }
  .cl-msg { font-size: 14px; line-height: 1.45; }
  .cl-msg time { font-size: 10.5px; }
  .cl-out small { font-size: 11px; }
  .cl-linkcard b { font-size: 13px; }
  .cl-linkcard em { font-size: 12px; }
  .cl-event { font-size: 11.5px; padding: 5px 12px; }
  .cl-compose { font-size: 13px; padding: 13px 14px; }
  .cl-crmnav span { font-size: 12.5px; }
  .cl-agenda-head b, .cl-return-head b { font-size: 18px; }
  .cl-btn-pink { font-size: 12.5px; padding: 7px 12px; }
  .cl-day-people b { font-size: 12.5px; }
  .cl-day-people b small { font-size: 11px; }
  .cl-hours small { font-size: 10.5px; }
  .cl-day-grid { --hour: 61px; }
  .cl-slot { font-size: 11.5px; line-height: 1.15; }
  .cl-slot span { font-size: 11px; }
  .cl-day-bar b { font-size: 13px; }
  .cl-views span { font-size: 11.5px; }
  .cl-select { font-size: 12.5px; }
  .cl-column-head b { font-size: 12.5px; }
  .cl-column-head i { font-size: 11px; }
  .cl-card > b { font-size: 13px; }
  .cl-card-who { font-size: 12px; }
  .cl-card > small { font-size: 11px; }
  .cl-scheduled > div > b { font-size: 13px; }
  .cl-scheduled > div > span { font-size: 12.5px; }
  .cl-book-service span, .cl-period span { font-size: 12.5px; }
  .cl-period small, .cl-book-step, .cl-zone { font-size: 11px; }
  .cl-days small { font-size: 10.5px; }
  .cl-wa-thread .cl-msg { font-size: 12.5px; }
  .cl-confirm > small { font-size: 11px; }
  .cl-confirm-when { font-size: 12.5px; }
  /* Vendas consultivas on a phone. */
  .cl-field { font-size: 12.5px; }
  .cl-owner small, .cl-node > div > small, .cl-in-ai { font-size: 10.5px; }
  .cl-node > div > b { font-size: 13px; }
  .cl-node > div > span { font-size: 12px; }
  .cl-node em i { font-size: 11px; }
  .cl-flow-stage { grid-template-columns: minmax(0, 340px); padding: 10px; }
  .cl-flow-stage .cl-phone, .cl-share, .cl-avisos { display: none; }
  .cl-perf { margin: 10px; }
  .cl-perf-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .cl-perf-row > span { grid-row: span 2; }
  .cl-perf-row small { font-size: 11px; text-align: right; }
  .cl-sched-head { padding: 12px 14px 4px; }
  .cl-sched-head b { font-size: 18px; }
  .cl-toast { font-size: 11.5px; padding: 6px 10px; }
  .cl-sched-list { padding: 0 12px; }
  .cl-sched-list h5 { margin: 10px 0 6px; }
  .cl-sched-row { padding: 9px 10px; gap: 8px; }
  .cl-sched-note { margin: 8px 12px 12px; padding: 8px 10px; }
  /* Escritórios on a phone. */
  .cl-inbox .cl-day { display: none; }
  .cl-tag { font-size: 10.5px; }
  .cl-tasks { margin: 10px; }
  .cl-task b { font-size: 12.5px; }
  /* Negócios locais on a phone. */
  .cl-channels { margin: 10px; }
  .cl-channels-legend { font-size: 11.5px; }
  .cl-bc-head { padding: 12px 14px 8px; }
  .cl-bc-head b { font-size: 18px; }
  .cl-bc-body { padding: 12px; gap: 12px; }
  .cl-bc-info { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cl-bc-info > div:nth-child(2) { display: none; }
  .cl-bc-row { font-size: 12px; }
  .cl-bc-rates { display: flex; }
  .cl-bc-rates span { font-size: 11px; }
  .cl-ww-body { grid-template-columns: minmax(0, 1fr); }
  .cl-ww-list { display: none; }
  .cl-xstage.xv { grid-template-columns: minmax(0, 1fr); align-content: center; align-items: start; padding: 12px; gap: 12px; }
  .cl-x-extra { display: none; }
}
