/* ============================================================
   WDA — SERVICE LANDING PAGES
   Child-page primitives + the interactive infographic library.
   Reads design tokens; pairs with services.js.
   ============================================================ */

/* ============================================================
   CHILD HERO  (asymmetric, distinct visual slot per page)
   ============================================================ */
.chero { position: relative; overflow: hidden; padding: 14px var(--page-margin-tablet) clamp(52px, 6vw, 88px);padding-top: 100px; background: var(--color-bg-page); }
.chero--ink { background: var(--color-ink); color: #fff; }
.chero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.chero__bg::before { content: ""; position: absolute; width: 640px; height: 640px; top: -260px; right: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--color-brand-primary-rgb),.16), transparent 67%); filter: blur(54px); }
.chero--ink .chero__bg::before { background: radial-gradient(circle, rgba(var(--color-brand-primary-rgb),.22), transparent 65%); }
.chero__grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(var(--color-border-default) 1px, transparent 1px), linear-gradient(90deg, var(--color-border-default) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 36%, #000, transparent 72%); mask-image: radial-gradient(ellipse 70% 70% at 72% 36%, #000, transparent 72%); opacity: .42; }
.chero--ink .chero__grid { background-image: linear-gradient(var(--color-ink-border) 1px, transparent 1px), linear-gradient(90deg, var(--color-ink-border) 1px, transparent 1px); opacity: .6; }
.chero__inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.chero__inner--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); }
.chero__copy { max-width: 560px; }
.chero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-brand); }
.chero--ink .chero__eyebrow { color: var(--color-brand-primary); }
.chero__eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--color-brand-primary); }
.chero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(31px, 4.3vw, 52px); line-height: 1.06; letter-spacing: -.025em; margin: 18px 0 0; }
.chero h1 .accent { background: var(--gradient-accent-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.chero--ink h1 .accent { background: var(--gradient-accent-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--color-brand-highlight); }
.chero__lead { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.6; color: var(--color-text-secondary); margin: 20px 0 0; }
.chero--ink .chero__lead { color: var(--color-text-on-dark-muted); }
.chero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chero__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chero__quick .tag { background: var(--color-bg-surface); }
.chero--ink .chero__quick .tag { background: rgba(255,255,255,.06); border-color: var(--color-ink-border); color: #D7DCD8; }
.chero--ink .btn--outline { color: #fff; border-color: var(--color-ink-border-strong); }
.chero--ink .btn--outline:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* generic hero visual frame (mock window) */
.cvisual { position: relative; }
.cwin { position: relative; z-index: 2; background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.chero--ink .cwin { border-color: var(--color-ink-border); }
.cwin__bar { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 1px solid var(--color-border-default); background: var(--color-bg-surface); }
.cwin__bar .dots { display: flex; gap: 6px; } .cwin__bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border-strong); }
.cwin__bar .t { font-size: 12.5px; font-weight: var(--fw-bold); color: var(--color-text-muted); margin-left: 4px; }
.cwin__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: var(--fw-bold); color: var(--color-text-brand); }
.cwin__live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-brand-primary); animation: pulseDot 2s var(--motion-easing-soft) infinite; }
.cwin__body { padding: 16px; }

/* ============================================================
   SHARED CHILD SECTIONS
   ============================================================ */
/* symptom / pain list */
.symp { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.symp__card { border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); background: var(--color-bg-page); padding: 24px; transition: transform var(--motion-duration-standard) var(--motion-easing-standard), box-shadow var(--motion-duration-standard), border-color var(--motion-duration-standard); }
.symp__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.symp__ic { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--color-state-error-tint); color: var(--color-state-error); display: grid; place-items: center; margin-bottom: 15px; }
.symp__ic svg { width: 22px; height: 22px; }
.symp__card h3 { font-size: 17px; font-weight: var(--fw-bold); margin: 0 0 7px; }
.symp__card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--color-text-secondary); }

/* "what's included" feature grid */
.incl { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.incl__card { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); background: var(--color-bg-page); padding: 24px; }
.incl__ic { width: 46px; height: 46px; border-radius: var(--radius-md); flex: none; background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; }
.incl__ic svg { width: 23px; height: 23px; }
.incl__card h3 { font-size: 16.5px; font-weight: var(--fw-bold); margin: 0 0 6px; }
.incl__card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--color-text-secondary); }

/* transformation logic (two-column from→to) */
.transf { margin-top: 44px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; border: 1px solid var(--color-border-default); border-radius: var(--radius-xl); overflow: hidden; align-items: stretch; }
.transf__col { padding: 32px; } .transf__col--from { background: var(--color-bg-surface); } .transf__col--to { background: linear-gradient(180deg, var(--color-brand-tint), var(--color-bg-page)); }
.transf__tag { font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.transf__col--from .transf__tag { color: var(--color-text-muted); } .transf__col--to .transf__tag { color: var(--color-text-brand); }
.transf__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.transf__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.transf__list .ic { width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; }
.transf__col--from .ic { background: var(--color-bg-surface-2); color: var(--color-text-muted); } .transf__col--from .ic svg { width: 11px; height: 11px; } .transf__col--from li { color: var(--color-text-secondary); }
.transf__col--to .ic { background: var(--color-brand-primary); color: var(--color-text-on-brand); } .transf__col--to .ic svg { width: 12px; height: 12px; } .transf__col--to li { color: var(--color-text-primary); font-weight: var(--fw-medium); }
.transf__mid { display: grid; place-items: center; padding: 0 8px; background: var(--color-bg-page); }
.transf__arrow { width: 50px; height: 50px; border-radius: 50%; background: var(--color-ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); } .transf__arrow svg { width: 22px; height: 22px; }

/* related services rail */
.rel-svc { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel-svc__card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); background: var(--color-bg-page); padding: 18px 20px; text-decoration: none; color: inherit; transition: border-color var(--motion-duration-standard), transform var(--motion-duration-standard) var(--motion-easing-standard), box-shadow var(--motion-duration-standard); }
.rel-svc__card:hover { border-color: var(--color-brand-tint-strong); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.rel-svc__ic { width: 40px; height: 40px; border-radius: 10px; flex: none; background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; } .rel-svc__ic svg { width: 20px; height: 20px; }
.rel-svc__card b { font-size: 14.5px; font-weight: var(--fw-bold); display: block; line-height: 1.25; }
.rel-svc__card span { font-size: 12.5px; color: var(--color-text-muted); }
.rel-svc__arrow { margin-left: auto; color: var(--color-text-muted); } .rel-svc__arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--motion-easing-standard); }
.rel-svc__card:hover .rel-svc__arrow svg { transform: translateX(3px); color: var(--color-text-brand); }

/* dominant infographic shell */
.dominfo { margin-top: 44px; }
.dominfo__shell { border: 1px solid var(--color-border-default); border-radius: var(--radius-xl); background: var(--color-bg-page); box-shadow: var(--shadow-md); overflow: hidden; }
.dominfo--ink .dominfo__shell { background: var(--color-ink); border-color: var(--color-ink-border); }

/* ============================================================
   MODULE 4 · CRM WORKSPACE BUILDER  (crm-implementation)
   ============================================================ */
.wsb { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 0; }
.wsb__pick { padding: 28px; border-right: 1px solid var(--color-border-default); background: var(--color-bg-surface); }
.wsb__pick h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0 0 4px; }
.wsb__pick p { margin: 0 0 18px; font-size: 13px; color: var(--color-text-muted); }
.wsb__mods { display: flex; flex-wrap: wrap; gap: 8px; }
.wsb__mod { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--color-bg-page); border: 1.5px solid var(--color-border-default); font-size: 13px; font-weight: var(--fw-semibold); color: var(--color-text-secondary); cursor: pointer; transition: all var(--motion-duration-fast) var(--motion-easing-standard); }
.wsb__mod svg { width: 15px; height: 15px; color: var(--color-text-muted); }
.wsb__mod:hover { border-color: var(--color-brand-tint-strong); color: var(--color-text-primary); }
.wsb__mod.is-on { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: var(--color-text-on-brand); }
.wsb__mod.is-on svg { color: var(--color-text-on-brand); }
.wsb__mod:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.wsb__stage { padding: 28px; position: relative; }
.wsb__hint { font-size: 13px; color: var(--color-text-muted); margin: 0 0 16px; min-height: 20px; transition: opacity var(--motion-duration-standard); }
.wsb__hint b { color: var(--color-text-primary); }
.wsb__canvas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wsb__tile { aspect-ratio: 1 / .82; border-radius: var(--radius-md); border: 1px dashed var(--color-border-strong); background: var(--color-bg-surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 10px; transition: all var(--motion-duration-standard) var(--motion-easing-standard); }
.wsb__tile .ti { width: 36px; height: 36px; border-radius: 10px; background: var(--color-bg-surface-2); color: var(--color-text-muted); display: grid; place-items: center; transition: all var(--motion-duration-standard); }
.wsb__tile .ti svg { width: 18px; height: 18px; }
.wsb__tile b { font-size: 12px; font-weight: var(--fw-bold); color: var(--color-text-muted); transition: color var(--motion-duration-standard); }
.wsb__tile.is-on { border-style: solid; border-color: transparent; background: var(--color-bg-page); box-shadow: var(--shadow-md); }
.wsb__tile.is-on .ti { background: var(--color-brand-tint); color: var(--color-text-brand); }
.wsb__tile.is-on b { color: var(--color-text-primary); }
.wsb__tile.just-on { animation: tilePop .42s var(--motion-easing-enter); }
@keyframes tilePop { 0% { transform: scale(.86); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .wsb__tile.just-on { animation: none; } }
.wsb__meter { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.wsb__meter .track { flex: 1; height: 7px; border-radius: var(--radius-pill); background: var(--color-bg-surface-2); overflow: hidden; }
.wsb__meter .fill { height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--color-brand-primary), var(--color-brand-primary-hover)); width: 0; transition: width var(--motion-duration-emphasis) var(--motion-easing-soft); }
.wsb__meter .pct { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--color-text-brand); min-width: 42px; text-align: right; }

/* ============================================================
   MODULE 5 · ANIMATED SALES PIPELINE  (sales)
   ============================================================ */
.pipe { padding: 28px; }
.pipe__switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pipe__scn { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: var(--radius-pill); background: var(--color-bg-surface); border: 1.5px solid var(--color-border-default); font-size: 13px; font-weight: var(--fw-semibold); color: var(--color-text-secondary); cursor: pointer; transition: all var(--motion-duration-fast) var(--motion-easing-standard); }
.pipe__scn:hover { border-color: var(--color-brand-tint-strong); color: var(--color-text-primary); }
.pipe__scn.is-on { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.pipe__scn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.pipe__board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pipe__stage { border-radius: var(--radius-md); background: var(--color-bg-surface); border: 1px solid var(--color-border-default); padding: 12px 10px; min-height: 160px; }
.pipe__stage h5 { font-size: 11.5px; font-weight: var(--fw-bold); letter-spacing: .03em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 12px; display: flex; align-items: center; gap: 7px; }
.pipe__stage h5 .num { width: 18px; height: 18px; border-radius: 5px; background: var(--color-bg-surface-2); color: var(--color-text-secondary); display: grid; place-items: center; font-size: 10px; }
.pipe__lead { border-radius: var(--radius-sm); background: var(--color-bg-page); border: 1px solid var(--color-border-default); padding: 10px; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(8px); transition: opacity var(--motion-duration-standard) var(--motion-easing-enter), transform var(--motion-duration-standard) var(--motion-easing-enter), border-color var(--motion-duration-standard); }
.pipe__lead.is-here { opacity: 1; transform: none; border-color: var(--color-brand-primary); box-shadow: 0 0 0 3px rgba(var(--color-brand-primary-rgb),.12); }
.pipe__lead .av { width: 24px; height: 24px; border-radius: 50%; background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.pipe__lead .nm { font-size: 12px; font-weight: var(--fw-bold); margin-top: 7px; }
.pipe__lead .sub { font-size: 11px; color: var(--color-text-muted); }
.pipe__events { margin-top: 18px; display: grid; gap: 8px; }
.pipe__event { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-md); background: var(--color-bg-surface); border: 1px solid var(--color-border-default); font-size: 13px; color: var(--color-text-secondary); opacity: 0; transform: translateX(-8px); transition: opacity var(--motion-duration-standard) var(--motion-easing-enter), transform var(--motion-duration-standard) var(--motion-easing-enter); }
.pipe__event.show { opacity: 1; transform: none; }
.pipe__event .ei { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--color-brand-tint); color: var(--color-text-brand); } .pipe__event .ei svg { width: 16px; height: 16px; }
.pipe__event b { color: var(--color-text-primary); font-weight: var(--fw-bold); }

/* ============================================================
   MODULE 6 · UNIFIED INBOX / CHANNEL MAP  (messengers)
   ============================================================ */
.chmap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0; }
.chmap__channels { padding: 28px; border-right: 1px solid var(--color-border-default); background: var(--color-bg-surface); display: flex; flex-direction: column; gap: 10px; }
.chmap__ch { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: var(--radius-md); background: var(--color-bg-page); border: 1.5px solid var(--color-border-default); cursor: pointer; transition: all var(--motion-duration-fast) var(--motion-easing-standard); font-family: var(--font-sans); text-align: left; width: 100%; }
.chmap__ch:hover { border-color: var(--color-brand-tint-strong); }
.chmap__ch.is-on { border-color: var(--color-brand-primary); box-shadow: 0 0 0 3px rgba(var(--color-brand-primary-rgb),.1); }
.chmap__ch:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.chmap__ch .ci { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; color: #fff; } .chmap__ch .ci svg { width: 17px; height: 17px; }
.chmap__ch b { font-size: 14px; font-weight: var(--fw-bold); flex: 1; }
.chmap__ch .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--color-border-strong); flex: none; transition: all var(--motion-duration-fast); }
.chmap__ch.is-on .dot { border-color: var(--color-brand-primary); background: var(--color-brand-primary); }
.chmap__inbox { padding: 28px; }
.chmap__inbox-h { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.chmap__inbox-h b { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.chmap__inbox-h .count { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--color-text-brand); background: var(--color-brand-tint); padding: 3px 10px; border-radius: var(--radius-pill); }
.chmap__msgs { display: grid; gap: 9px; }
.chmap__msg { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: var(--radius-md); border: 1px solid var(--color-border-default); background: var(--color-bg-page); }
.chmap__msg.enter { animation: msgIn .5s var(--motion-easing-enter) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .chmap__msg.enter { animation: none; } }
.chmap__msg .mi { width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center; color: #fff; } .chmap__msg .mi svg { width: 16px; height: 16px; }
.chmap__msg .mb { flex: 1; min-width: 0; } .chmap__msg .mb .n { font-size: 12.5px; font-weight: var(--fw-bold); } .chmap__msg .mb .t { font-size: 11.5px; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chmap__msg .badge { height: 22px; font-size: 10.5px; }
.chmap__empty { text-align: center; padding: 30px 20px; color: var(--color-text-muted); font-size: 14px; }
.ic-wa { background: #25D366; } .ic-ig { background: linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7); } .ic-tg { background: #2AABEE; } .ic-web { background: var(--color-text-primary); } .ic-call { background: var(--color-brand-primary); color: var(--color-text-on-brand) !important; } .ic-other { background: var(--color-text-secondary); }

/* ============================================================
   MODULE 7 · BOOKING SIMULATOR  (online-booking)
   ============================================================ */
.booksim { padding: 28px; }
.booksim__steps { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.booksim__stepbtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--color-bg-surface); border: 1.5px solid var(--color-border-default); font-size: 12.5px; font-weight: var(--fw-semibold); color: var(--color-text-muted); transition: all var(--motion-duration-fast); }
.booksim__stepbtn .sn { width: 20px; height: 20px; border-radius: 50%; background: var(--color-bg-surface-2); color: var(--color-text-muted); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.booksim__stepbtn.is-done { color: var(--color-text-brand); border-color: var(--color-brand-tint-strong); } .booksim__stepbtn.is-done .sn { background: var(--color-brand-primary); color: var(--color-text-on-brand); }
.booksim__stepbtn.is-cur { background: var(--color-ink); border-color: var(--color-ink); color: #fff; } .booksim__stepbtn.is-cur .sn { background: var(--color-brand-primary); color: var(--color-text-on-brand); }
.booksim__stage { min-height: 230px; border-radius: var(--radius-lg); border: 1px solid var(--color-border-default); background: var(--color-bg-surface); padding: 22px; }
.booksim__panel { display: none; }
.booksim__panel.is-on { display: block; animation: pnavIn .4s var(--motion-easing-enter) both; }
@media (prefers-reduced-motion: reduce) { .booksim__panel.is-on { animation: none; } }
.booksim__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.booksim__opt { border-radius: var(--radius-md); border: 1.5px solid var(--color-border-default); background: var(--color-bg-page); padding: 14px; cursor: pointer; text-align: left; font-family: var(--font-sans); transition: all var(--motion-duration-fast) var(--motion-easing-standard); }
.booksim__opt:hover { border-color: var(--color-brand-tint-strong); }
.booksim__opt.is-sel { border-color: var(--color-brand-primary); background: var(--color-brand-tint); }
.booksim__opt b { font-size: 13.5px; font-weight: var(--fw-bold); display: block; }
.booksim__opt span { font-size: 12px; color: var(--color-text-muted); }
.booksim__opt:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.booksim__next { margin-top: 18px; }
.booksim__confirm { text-align: center; padding: 16px; }
.booksim__confirm .tick { width: 60px; height: 60px; border-radius: 50%; background: var(--color-state-success-tint); color: var(--color-state-success); display: grid; place-items: center; margin: 0 auto 14px; animation: tickPop .5s var(--motion-easing-enter) both; }
.booksim__confirm .tick svg { width: 28px; height: 28px; }
.booksim__confirm h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 19px; }
.booksim__confirm p { margin: 0; font-size: 14px; color: var(--color-text-secondary); }
.booksim__remind { margin-top: 16px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: var(--radius-md); background: var(--color-bg-page); border: 1px solid var(--color-border-default); font-size: 13px; color: var(--color-text-secondary); }
.booksim__remind svg { width: 18px; height: 18px; color: var(--color-text-brand); }

/* ============================================================
   MODULE 8 · WORKFLOW CONSTRUCTOR PREVIEW  (business-process)
   ============================================================ */
.wfc { padding: 28px; }
.wfc__rail { display: grid; grid-template-columns: 1fr; gap: 14px; }
.wfc__group { } .wfc__group-lbl { font-size: 12px; font-weight: var(--fw-bold); letter-spacing: .07em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 10px; }
.wfc__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.wfc__opt { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--color-border-default); background: var(--color-bg-page); font-size: 13px; font-weight: var(--fw-semibold); color: var(--color-text-secondary); cursor: pointer; transition: all var(--motion-duration-fast) var(--motion-easing-standard); }
.wfc__opt.trig.is-on { background: var(--color-state-info); border-color: var(--color-state-info); color: #fff; }
.wfc__opt.act.is-on { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: var(--color-text-on-brand); }
.wfc__opt:hover { border-color: var(--color-brand-tint-strong); }
.wfc__opt:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.wfc__flow { margin-top: 22px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); overflow: hidden; }
.wfc__node { padding: 20px; background: var(--color-bg-surface); }
.wfc__node--trig { } .wfc__node--act { background: linear-gradient(180deg, var(--color-brand-tint), var(--color-bg-page)); }
.wfc__node .lbl { font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.wfc__node--trig .lbl { color: var(--color-state-info); } .wfc__node--act .lbl { color: var(--color-text-brand); }
.wfc__pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: var(--radius-pill); background: var(--color-bg-page); border: 1px solid var(--color-border-default); font-size: 13px; font-weight: var(--fw-semibold); margin: 0 6px 6px 0; }
.wfc__pill .d { width: 7px; height: 7px; border-radius: 50%; flex: none; } .wfc__node--trig .d { background: var(--color-state-info); } .wfc__node--act .d { background: var(--color-brand-primary); }
.wfc__mid { display: grid; place-items: center; padding: 0 6px; background: var(--color-bg-page); }
.wfc__mid .arr { width: 44px; height: 44px; border-radius: 50%; background: var(--color-ink); color: #fff; display: grid; place-items: center; } .wfc__mid .arr svg { width: 20px; height: 20px; }
.wfc__empty { font-size: 13px; color: var(--color-text-muted); }

/* ============================================================
   MODULE 9 · AUDIT RISK MAP  (crm-audit)
   ============================================================ */
.audit-map { padding: 28px; }
.audit-map__legend { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; font-size: 12.5px; color: var(--color-text-muted); }
.audit-map__legend span { display: inline-flex; align-items: center; gap: 7px; } .audit-map__legend i { width: 11px; height: 11px; border-radius: 3px; }
.audit-map__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.audit-cell { border-radius: var(--radius-md); border: 1px solid var(--color-border-default); background: var(--color-bg-page); padding: 16px; cursor: pointer; transition: all var(--motion-duration-fast) var(--motion-easing-standard); text-align: left; font-family: var(--font-sans); }
.audit-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.audit-cell:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.audit-cell__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.audit-cell__name { font-size: 14px; font-weight: var(--fw-bold); }
.audit-cell__dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.audit-cell__status { font-size: 12px; font-weight: var(--fw-semibold); }
.audit-cell[data-status="ok"] .audit-cell__dot { background: var(--color-state-success); } .audit-cell[data-status="ok"] .audit-cell__status { color: var(--color-state-success); }
.audit-cell[data-status="warn"] .audit-cell__dot { background: var(--color-state-warning); } .audit-cell[data-status="warn"] .audit-cell__status { color: var(--color-state-warning); }
.audit-cell[data-status="loss"] .audit-cell__dot { background: var(--color-state-error); } .audit-cell[data-status="loss"] .audit-cell__status { color: var(--color-state-error); }
.audit-cell[data-status="auto"] .audit-cell__dot { background: var(--color-state-info); } .audit-cell[data-status="auto"] .audit-cell__status { color: var(--color-state-info); }
.audit-cell.is-sel { border-color: var(--color-ink); box-shadow: var(--shadow-md); }
.audit-map__detail { margin-top: 18px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--color-bg-surface); border: 1px solid var(--color-border-default); }
.audit-map__detail h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 16px; }
.audit-map__detail p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--color-text-secondary); }

/* ============================================================
   MODULE 10 · INTEGRATION DATA-FLOW MAP  (integrations)
   ============================================================ */
.intmap { padding: 28px; position: relative; }
.intmap__stage { position: relative; min-height: 380px; display: grid; place-items: center; }
.intmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.intmap__svg path { fill: none; stroke: var(--color-border-strong); stroke-width: 1.5; opacity: .5; transition: stroke var(--motion-duration-standard), opacity var(--motion-duration-standard); }
.intmap__svg path.on { stroke: var(--color-brand-primary); stroke-width: 2; opacity: .95; stroke-dasharray: 5 7; animation: dashFlow 5s linear infinite; }
@media (prefers-reduced-motion: reduce) { .intmap__svg path.on { animation: none; } }
.intmap__core { position: relative; z-index: 3; width: 120px; height: 120px; border-radius: 50%; background: var(--color-ink); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: var(--shadow-lg); }
.intmap__core b { font-family: var(--font-display); font-weight: 700; font-size: 18px; } .intmap__core small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-brand-primary); }
.intmap__node { position: absolute; transform: translate(-50%, -50%); z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--color-bg-page); border: 1.5px solid var(--color-border-default); box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: var(--fw-bold); cursor: pointer; transition: all var(--motion-duration-standard) var(--motion-easing-standard); }
.intmap__node:hover, .intmap__node.is-on { border-color: var(--color-brand-primary); box-shadow: var(--shadow-md); }
.intmap__node.is-on { background: var(--color-brand-tint); }
.intmap__node:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.intmap__detail { margin-top: 16px; text-align: center; font-size: 14px; color: var(--color-text-secondary); min-height: 22px; }
.intmap__detail b { color: var(--color-text-primary); }
/* mobile list fallback */
.intmap__list { display: none; }

/* ============================================================
   MODULE 11 · SYSTEM EVOLUTION ROADMAP  (support)
   ============================================================ */
.roadmap { padding: 28px; }
.roadmap__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.roadmap__lane { position: relative; display: grid; gap: 14px; padding-left: 30px; }
.roadmap__lane::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--color-border-default); }
.roadmap__item { position: relative; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); background: var(--color-bg-page); padding: 16px 18px; transition: opacity var(--motion-duration-standard), border-color var(--motion-duration-standard); }
.roadmap__item::before { content: ""; position: absolute; left: -26px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--color-bg-page); border: 2px solid var(--color-border-strong); }
.roadmap__item[data-state="done"]::before { background: var(--color-state-success); border-color: var(--color-state-success); }
.roadmap__item[data-state="active"]::before { background: var(--color-brand-primary); border-color: var(--color-brand-primary); }
.roadmap__item[data-state="warn"]::before { background: var(--color-state-warning); border-color: var(--color-state-warning); }
.roadmap__item[data-state="plan"]::before { background: var(--color-bg-page); border-color: var(--color-border-strong); }
.roadmap__item.is-hidden { display: none; }
.roadmap__item-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.roadmap__item h4 { font-size: 14.5px; font-weight: var(--fw-bold); margin: 0; }
.roadmap__item .st { margin-left: auto; font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--radius-pill); }
.roadmap__item[data-state="done"] .st { background: var(--color-state-success-tint); color: var(--color-state-success); }
.roadmap__item[data-state="active"] .st { background: var(--color-brand-tint); color: var(--color-text-brand); }
.roadmap__item[data-state="warn"] .st { background: var(--color-state-warning-tint); color: var(--color-state-warning); }
.roadmap__item[data-state="plan"] .st { background: var(--color-bg-surface-2); color: var(--color-text-secondary); }
.roadmap__item p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--color-text-secondary); }
.roadmap__fbtn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--color-bg-surface); border: 1.5px solid var(--color-border-default); font-size: 12.5px; font-weight: var(--fw-semibold); color: var(--color-text-secondary); cursor: pointer; transition: all var(--motion-duration-fast); }
.roadmap__fbtn.is-on { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.roadmap__fbtn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* health dashboard mini (support hero) */
.health { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.health__cell { border-radius: var(--radius-md); background: var(--color-bg-surface); border: 1px solid var(--color-border-default); padding: 14px; }
.health__cell .k { font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-muted); }
.health__cell .v { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-top: 6px; }
.health__cell .v.ok { color: var(--color-state-success); }

/* ============================================================
   RESPONSIVE — CHILD PAGES / MODULES
   ============================================================ */
@media (max-width: 1080px) {
  .chero__inner, .chero__inner--rev { grid-template-columns: 1fr; gap: 38px; }
  .cvisual { max-width: 560px; }
  .symp { grid-template-columns: 1fr 1fr; }
  .incl { grid-template-columns: 1fr; }
  .rel-svc { grid-template-columns: 1fr; }
  .wsb, .chmap { grid-template-columns: 1fr; }
  .wsb__pick, .chmap__channels { border-right: 0; border-bottom: 1px solid var(--color-border-default); }
  .pipe__board { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .symp { grid-template-columns: 1fr; }
  .transf, .wfc__flow { grid-template-columns: 1fr; }
  .transf__mid, .wfc__mid { padding: 12px; } .transf__arrow, .wfc__mid .arr { transform: rotate(90deg); }
  .wsb__canvas { grid-template-columns: repeat(2, 1fr); }
  .pipe__board { grid-template-columns: 1fr; }
  .booksim__grid, .audit-map__grid { grid-template-columns: 1fr; }
  .intmap__stage { display: none; }
  .intmap__list { display: grid; gap: 9px; }
  .intmap__litem { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-radius: var(--radius-md); border: 1px solid var(--color-border-default); background: var(--color-bg-page); }
  .intmap__litem .ci { width: 32px; height: 32px; border-radius: 9px; background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; flex: none; } .intmap__litem .ci svg { width: 17px; height: 17px; }
  .intmap__litem b { font-size: 14px; display: block; } .intmap__litem span { font-size: 12.5px; color: var(--color-text-muted); }
  .health { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   NEW SERVICE HERO VISUALS  (v1.0)
   One spec-aligned visual metaphor per service page. Copy is
   instant-visible; visuals use container-gated step reveal
   (.svz.is-in) + one restrained loop each. Reduced-motion safe.
   ============================================================ */
.svz { position: relative; }
.svz [data-step] { opacity: 1; }
.svz.is-in [data-step] { animation: svzStep .55s var(--motion-easing-enter) both; }
@keyframes svzStep { from { transform: translateY(12px); } to { transform: none; } }
.emap__node { animation: none !important; }
.svz.is-in [data-step="1"] { animation-delay: .08s; }
.svz.is-in [data-step="2"] { animation-delay: .20s; }
.svz.is-in [data-step="3"] { animation-delay: .32s; }
.svz.is-in [data-step="4"] { animation-delay: .44s; }
.svz.is-in [data-step="5"] { animation-delay: .56s; }
.svz.is-in [data-step="6"] { animation-delay: .68s; }
.svz.is-in [data-step="7"] { animation-delay: .80s; }
.svz__glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--color-brand-primary-rgb),.18), transparent 70%); top: -70px; right: -50px; pointer-events: none; z-index: 0; filter: blur(8px); }
.svz__cap { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); margin: 0 0 14px; }
.svz__cap .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--color-text-brand); }
.svz__cap .live .d { width: 7px; height: 7px; border-radius: 50%; background: var(--color-brand-primary); animation: pulseDot 2s var(--motion-easing-soft) infinite; }

/* 1 · CRM IMPLEMENTATION — workspace assembly */
.asm { position: relative; z-index: 1; background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; }
.asm__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.asm__tile { background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-radius: var(--radius-md); padding: 13px; display: flex; flex-direction: column; gap: 8px; }
.asm__tile .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; }
.asm__tile .ic svg { width: 17px; height: 17px; }
.asm__tile b { font-size: 12.5px; font-weight: var(--fw-bold); }
.asm__tile small { font-size: 10.5px; color: var(--color-text-muted); line-height: 1.4; }
.asm__core { grid-column: span 3; display: flex; align-items: center; gap: 13px; background: var(--color-ink); color: #fff; border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 10px; }
.asm__core .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--color-brand-primary); color: var(--color-text-on-brand); display: grid; place-items: center; flex: none; }
.asm__core .ic svg { width: 20px; height: 20px; }
.asm__core b { font-family: var(--font-display); font-size: 15px; }
.asm__core small { display: block; font-size: 11px; color: var(--color-text-on-dark-muted); }

/* 2 · SALES — animated pipeline */
.spipe { position: relative; z-index: 1; background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; }
.spipe__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.spipe__col { background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-radius: var(--radius-md); padding: 9px 8px 12px; min-height: 116px; }
.spipe__col .h { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--color-text-muted); text-align: center; margin-bottom: 9px; }
.spipe__ghost { height: 30px; border-radius: 7px; background: repeating-linear-gradient(135deg, var(--color-bg-surface-2) 0 6px, transparent 6px 12px); border: 1px dashed var(--color-border-strong); }
.spipe__lead { position: absolute; top: 34px; left: 8px; width: calc(25% - 14px); background: var(--color-bg-page); border: 1.5px solid var(--color-brand-primary); border-radius: 7px; padding: 7px 9px; box-shadow: var(--shadow-md); z-index: 3; }
.spipe__lead .n { display: block; font-size: 11px; font-weight: var(--fw-bold); }
.spipe__lead .s { display: block; font-size: 9.5px; color: var(--color-text-brand); font-weight: var(--fw-semibold); }
.svz.is-in .spipe__lead { animation: leadMove 9s var(--motion-easing-soft) infinite; }
@keyframes leadMove { 0%,8% { transform: translateX(0); } 25%,33% { transform: translateX(calc(100% + 8px)); } 50%,58% { transform: translateX(calc(200% + 16px)); } 75%,92% { transform: translateX(calc(300% + 24px)); } 100% { transform: translateX(0); } }
.spipe__row { display: flex; gap: 8px; margin-top: 12px; }
.spipe__chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: var(--fw-semibold); border: 1px solid var(--color-border-default); background: var(--color-bg-page); }
.spipe__chip.ok { background: var(--color-brand-tint); border-color: transparent; color: var(--color-text-brand); }
.spipe__chip.sla { background: var(--color-state-warning-tint); color: var(--color-state-warning); border-color: transparent; }
.spipe__chip svg { width: 14px; height: 14px; }

/* 3 · MESSENGERS — unified inbox convergence */
.uinbox { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.uinbox__src { display: flex; flex-direction: column; gap: 9px; }
.uinbox__pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px 0 9px; border-radius: var(--radius-pill); background: var(--color-bg-page); border: 1px solid var(--color-border-default); box-shadow: var(--shadow-sm); font-size: 12px; font-weight: var(--fw-bold); white-space: nowrap; }
.uinbox__pill .ci { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; flex: none; } .uinbox__pill .ci svg { width: 13px; height: 13px; }
.uinbox__arrows { display: none; }
.uinbox__win { background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.uinbox__win .bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--color-border-default); background: var(--color-bg-surface); font-size: 12px; font-weight: var(--fw-bold); color: var(--color-text-muted); }
.uinbox__win .bar .b { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--color-text-brand); font-size: 11px; }
.uinbox__feed { padding: 11px; display: flex; flex-direction: column; gap: 8px; }
.uinbox__msg { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); }
.uinbox__msg .ci { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; color: #fff; flex: none; } .uinbox__msg .ci svg { width: 13px; height: 13px; }
.uinbox__msg > span:nth-child(2) { flex: 1; min-width: 0; }
.uinbox__msg .n { display: block; font-size: 12px; font-weight: var(--fw-bold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uinbox__msg .t { display: block; font-size: 10.5px; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uinbox__msg .tm { margin-left: auto; font-size: 10px; color: var(--color-text-muted); }

/* 4 · ONLINE BOOKING — booking journey */
.book { position: relative; z-index: 1; background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 12px; }
.book__row { display: flex; align-items: center; gap: 10px; }
.book__svc { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--color-border-default); border-radius: var(--radius-md); background: var(--color-bg-surface); }
.book__svc .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; flex: none; } .book__svc .ic svg { width: 18px; height: 18px; }
.book__svc b { font-size: 13px; } .book__svc small { display: block; font-size: 11px; color: var(--color-text-muted); }
.book__cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.book__slot { height: 34px; border-radius: 8px; border: 1px solid var(--color-border-default); background: var(--color-bg-page); display: grid; place-items: center; font-size: 11.5px; font-weight: var(--fw-semibold); color: var(--color-text-secondary); }
.book__slot.busy { background: var(--color-bg-surface-2); color: var(--color-text-muted); text-decoration: line-through; }
.book__slot.pick { background: var(--color-brand-primary); color: var(--color-text-on-brand); border-color: transparent; }
.svz.is-in .book__slot.pick { animation: slotPick 4.5s var(--motion-easing-soft) infinite; }
@keyframes slotPick { 0%,16% { box-shadow: 0 0 0 0 rgba(var(--color-brand-primary-rgb),.5); } 40% { box-shadow: 0 0 0 6px rgba(var(--color-brand-primary-rgb),0); } 100% { box-shadow: 0 0 0 0 rgba(var(--color-brand-primary-rgb),0); } }
.book__confirm { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: var(--radius-md); background: var(--color-brand-tint); color: var(--color-text-brand); font-size: 12.5px; font-weight: var(--fw-bold); }
.book__confirm svg { width: 18px; height: 18px; flex: none; }

/* 5 · BUSINESS PROCESS — trigger → action flow */
.tflow { position: relative; z-index: 1; background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; }
.tflow__before { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px dashed var(--color-border-strong); }
.tflow__before .m { font-size: 11px; font-weight: var(--fw-semibold); color: var(--color-text-muted); background: var(--color-bg-surface); border: 1px solid var(--color-border-default); border-radius: var(--radius-pill); padding: 5px 11px; }
.tflow__chain { display: flex; flex-direction: column; gap: 0; }
.tflow__node { display: flex; align-items: center; gap: 12px; }
.tflow__node .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.tflow__node .ic svg { width: 18px; height: 18px; }
.tflow__node.trig .ic { background: var(--color-ink); color: var(--color-brand-primary); }
.tflow__node.cond .ic { background: var(--color-state-info-tint); color: var(--color-state-info); }
.tflow__node.act .ic { background: var(--color-brand-primary); color: var(--color-text-on-brand); }
.tflow__node b { font-size: 13px; font-weight: var(--fw-bold); color: var(--color-text-primary); } .tflow__node small { display: block; font-size: 11px; color: var(--color-text-muted); }
.tflow__link { width: 2px; height: 16px; margin-left: 17px; background: var(--color-border-strong); position: relative; overflow: hidden; }
.tflow__link::after { content: ""; position: absolute; inset: 0; background: var(--color-brand-primary); transform: translateY(-100%); }
.svz.is-in .tflow__link::after { animation: flowDown 2.4s var(--motion-easing-soft) infinite; }
@keyframes flowDown { 0% { transform: translateY(-100%); } 50%,100% { transform: translateY(100%); } }

/* 6 · INTEGRATIONS — ecosystem map */
.emap { position: relative; z-index: 1; aspect-ratio: 1 / .9; min-height: 360px; }
.emap__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; pointer-events: none; }
.emap__svg line { stroke: var(--color-border-strong); stroke-width: 1.5; opacity: .55; }
.emap__svg line.flow { stroke: var(--color-brand-primary); stroke-width: 2; stroke-dasharray: 5 8; opacity: .9; }
.svz.is-in .emap__svg line.flow { animation: emapFlow 5s linear infinite; }
@keyframes emapFlow { to { stroke-dashoffset: -130; } }
.emap__hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 110px; height: 110px; border-radius: 50%; background: var(--color-ink); color: #fff; display: grid; place-items: center; text-align: center; z-index: 3; box-shadow: var(--shadow-lg); }
.emap__hub::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(var(--color-brand-primary-rgb),.5); animation: hubPulse 3.4s var(--motion-easing-soft) infinite; }
.emap__hub b { font-family: var(--font-display); font-size: 15px; } .emap__hub small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-brand-primary); }
.emap__node { position: absolute; transform: translate(-50%,-50%); z-index: 2; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 9px; border-radius: var(--radius-pill); background: var(--color-bg-page); border: 1px solid var(--color-border-default); box-shadow: var(--shadow-sm); font-size: 12px; font-weight: var(--fw-bold); white-space: nowrap; }
.emap__node .ci { width: 22px; height: 22px; border-radius: 6px; background: var(--color-brand-tint); color: var(--color-text-brand); display: grid; place-items: center; flex: none; } .emap__node .ci svg { width: 13px; height: 13px; }

/* 7 · CRM AUDIT — diagnostic scan */
.ascan { position: relative; z-index: 1; background: var(--color-ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 18px; overflow: hidden; }
.ascan__line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--color-brand-primary), transparent); box-shadow: 0 0 14px 2px rgba(var(--color-brand-primary-rgb),.6); z-index: 4; }
.svz.is-in .ascan__line { animation: scanMove 4.5s var(--motion-easing-soft) infinite; }
@keyframes scanMove { 0% { top: 6%; } 50% { top: 94%; } 100% { top: 6%; } }
.ascan__row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--color-ink-border); border-radius: var(--radius-md); background: var(--color-ink-surface); margin-bottom: 8px; }
.ascan__row:last-child { margin-bottom: 0; }
.ascan__row .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.06); color: #D7DCD8; } .ascan__row .ic svg { width: 15px; height: 15px; }
.ascan__row b { font-size: 12.5px; font-weight: var(--fw-bold); color: #fff; flex: 1; }
.ascan__st { font-size: 10px; font-weight: var(--fw-bold); padding: 4px 9px; border-radius: var(--radius-pill); white-space: nowrap; }
.ascan__st.ok { background: rgba(var(--color-brand-primary-rgb),.16); color: var(--color-brand-primary); }
.ascan__st.warn { background: var(--color-state-warning-tint); color: var(--color-state-warning); }
.ascan__st.risk { background: var(--color-state-error-tint); color: var(--color-state-error); }
.ascan__st.auto { background: var(--color-state-info-tint); color: var(--color-state-info); }

/* 8 · SUPPORT — evolution roadmap */
.road { position: relative; z-index: 1; background: var(--color-bg-page); border: 1px solid var(--color-border-default); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 20px 20px 16px; }
.road__track { position: relative; padding-left: 26px; }
.road__track::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--color-border-default); }
.road__track::after { content: ""; position: absolute; left: 9px; top: 6px; width: 2px; height: 0; background: var(--color-brand-primary); transition: height 1.6s var(--motion-easing-soft) .3s; }
.svz.is-in .road__track::after { height: calc(100% - 12px); }
.road__step { position: relative; padding: 9px 0 9px 4px; }
.road__step + .road__step { margin-top: 6px; }
.road__dot { position: absolute; left: -22px; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: var(--color-bg-page); border: 2px solid var(--color-border-strong); }
.road__step.done .road__dot, .road__step.dev .road__dot { background: var(--color-brand-primary); border-color: var(--color-brand-primary); }
.road__step b { font-size: 13px; font-weight: var(--fw-bold); } .road__step small { display: block; font-size: 11px; color: var(--color-text-muted); }
.road__badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: var(--fw-bold); padding: 3px 9px; border-radius: var(--radius-pill); margin-top: 5px; }
.road__badge.done { background: var(--color-brand-tint); color: var(--color-text-brand); }
.road__badge.dev { background: var(--color-state-info-tint); color: var(--color-state-info); }
.road__badge.warn { background: var(--color-state-warning-tint); color: var(--color-state-warning); }
.road__badge.plan { background: var(--color-bg-surface-2); color: var(--color-text-muted); }

@media (prefers-reduced-motion: reduce) {
  .svz [data-step] { opacity: 1 !important; }
  .svz.is-in [data-step] { animation: none !important; }
  .svz .live .d, .spipe__lead, .book__slot.pick, .tflow__link::after, .emap__svg line.flow, .ascan__line, .emap__hub::before { animation: none !important; }
  .svz.is-in .road__track::after { transition: none; }
  .spipe__lead { left: calc(75% + 8px); }
}
@media (max-width: 1080px) {
  .emap { min-height: 320px; max-width: 520px; margin: 0 auto; }
  .uinbox { grid-template-columns: 1fr; } .uinbox__src { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .asm__grid { grid-template-columns: 1fr 1fr; } .asm__core { grid-column: span 2; }
  .spipe__track { grid-template-columns: repeat(4, 1fr); } .spipe__lead { width: calc(25% - 12px); }
  .book__cal { grid-template-columns: repeat(5, 1fr); }
}
