/* debby.health 05 — c-steps.css: the photo-message steps component ([data-ai-st], from direction B). Used by the home
   P.06; /report-review/ may use a short version. Split from a.css unchanged. JS: /wp-content/plugins/debby-core/assets/js/c-steps.js */

/* =====================================================================================================
   P.06 STEPS — ported from direction B (b.css 06 steps + photo message): horizontal photo-message cards.
   Scoped under [data-ai-st]; A's head (P.06, h2 + highlighter) is kept. Full desktop: .is-hs (a.js).
   ===================================================================================================== */
.ai-steps { background: var(--ai-teal-50); --ai-st-white: #fff; --ai-st-ink-soft: #4A6367; --ai-st-on-teal-soft: #D6E6E7; --ai-st-shadow-1: 0 1px 2px rgba(24, 52, 55, .06), 0 10px 28px -14px rgba(24, 52, 55, .22); --ai-st-shadow-2: 0 2px 4px rgba(24, 52, 55, .04), 0 30px 70px -32px rgba(23, 98, 102, .42); --ai-st-round: "Huninn", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif; }
.ai-st__track { width: min(100% - 2 * var(--ai-gutter), var(--ai-max)); margin-inline: auto; }
.ai-st__head { max-width: 40em; }
.ai-st__fine { margin-top: 18px; }
.ai-st__bar { display: none; }
.ai-st__list { position: relative; display: flex; gap: 16px; margin: 32px calc(-1 * var(--ai-gutter)) 0; padding: 6px var(--ai-gutter) 18px; overflow-x: auto; overflow-y: clip; scroll-snap-type: x mandatory; scroll-padding: 0 var(--ai-gutter); scrollbar-width: thin; }
.ai-st__step { position: relative; flex: 0 0 min(80vw, 360px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 12px 22px 26px; border-radius: 40px 40px 40px 10px; background: var(--ai-st-white); box-shadow: var(--ai-st-shadow-1); overflow: hidden; }
.ai-st__step--2 { background: var(--ai-pink-100); }
.ai-st__step--3 { background: #DDF3E8; color: var(--ai-ink); box-shadow: inset 0 0 0 1px rgba(23, 98, 102, .12), var(--ai-st-shadow-1); }   /* mint as P.04 card 02: ink 11.39, teal-700 6.07, text #4A6367 5.52 */
.ai-st__step--4 { background: var(--ai-st-white); box-shadow: inset 0 0 0 2px var(--ai-pink), var(--ai-st-shadow-1); }
/* photo message: white frame, bubble corner, read tick */
.ai-st__photo { position: relative; margin: 0 -10px 8px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 30px 30px 30px 8px; border: 6px solid var(--ai-st-white); background: var(--ai-st-white); box-shadow: var(--ai-st-shadow-1); }
.ai-st__photo img { width: 100%; height: 100%; object-fit: cover; }
.ai-st__step--1 .ai-st__photo img { object-position: 50% 28%; }
.ai-st__photo::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 44px; height: 26px; border-radius: 13px 13px 4px 13px; background: rgba(255, 255, 255, .94) no-repeat center / 22px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14'%3E%3Cpath d='M1.5 7.5l4.2 4.2L14 3.2M10.4 11.7L19 3.2' fill='none' stroke='%23FC6494' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); box-shadow: var(--ai-st-shadow-1); }
.ai-st__cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 76px); padding: 4px 10px; border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, .94); color: var(--ai-ink); font-size: .6875rem; line-height: 1.45; letter-spacing: .02em; }
.ai-st__cap span { font-family: var(--ai-font-display); font-weight: 900; color: var(--ai-teal-700); margin-right: 6px; }
.ai-st__no { position: absolute; z-index: 2; left: 24px; top: 24px; padding: 4px 14px 2px; font-family: var(--ai-st-round); font-size: 1.5rem; line-height: 1.2; border-radius: 18px 18px 18px 5px; background: var(--ai-st-white); color: var(--ai-teal-700); box-shadow: var(--ai-st-shadow-1); font-variant-numeric: tabular-nums; }
.ai-st__check { position: absolute; z-index: 2; right: 22px; top: 24px; width: 44px; height: 44px; border-radius: 22px 22px 22px 6px; display: grid; place-items: center; background: var(--ai-pink-50); }
.ai-st__step--2 .ai-st__check { background: var(--ai-st-white); }
.ai-st__check svg { width: 24px; height: 13px; overflow: visible; }
.ai-st__check path { fill: none; stroke: var(--ai-pink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ai-st__title { font-family: var(--ai-st-round); font-weight: 400; font-size: clamp(1.125rem, 1.02rem + .45vw, 1.375rem); line-height: 1.4; margin-top: 4px; }
.ai-st__text { font-size: .9375rem; color: var(--ai-st-ink-soft); line-height: 1.8; }
.ai-st__step--3 .ai-st__text { color: var(--ai-st-ink-soft); }
.ai-st__step--3 .ai-st__title { color: var(--ai-ink); }
.ai-st__step--3 .ai-st__check { background: #fff; }
.is-hs .ai-st__step--3 { box-shadow: inset 0 0 0 1px rgba(23, 98, 102, .12), var(--ai-st-shadow-2); }
@media (min-width: 768px) { .ai-st__step { flex-basis: min(56vw, 400px); } }
/* horizontal scene (≥1025 + fine pointer + motion): vertical scroll moves the track sideways */
.ai-steps.is-hs { padding: 0; height: calc(100vh - var(--ai-header-h) + var(--ai-hs-dist, 0px)); }
.is-hs .ai-st__stage { position: sticky; z-index: 3; top: var(--ai-header-h); height: calc(100vh - var(--ai-header-h)); overflow: clip; display: flex; flex-direction: column; justify-content: center; background: var(--ai-teal-50); }
.is-hs .ai-st__track { display: flex; align-items: stretch; gap: 24px; width: max-content; margin: 0; padding-inline: var(--ai-gutter); will-change: transform; }
.is-hs .ai-st__head { flex: 0 0 400px; display: flex; flex-direction: column; justify-content: center; margin: 0; }
.is-hs .ai-st__head .ai-h2 { font-size: clamp(2.25rem, 1rem + 2vw, 3.25rem); }
.is-hs .ai-st__list { display: flex; gap: 24px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
.is-hs .ai-st__step { flex: 0 0 380px; height: min(520px, calc(100vh - var(--ai-header-h) - 150px)); justify-content: flex-end; padding: 0 30px 34px; border-radius: 56px 56px 56px 12px; box-shadow: var(--ai-st-shadow-2); }
.is-hs .ai-st__step--4 { box-shadow: inset 0 0 0 2px var(--ai-pink), var(--ai-st-shadow-2); }
.is-hs .ai-st__photo { position: absolute; left: 12px; right: 12px; top: 12px; height: 54%; margin: 0; aspect-ratio: auto; border-radius: 46px 46px 46px 10px; }
.is-hs .ai-st__no { left: 32px; top: 30px; font-size: 2rem; padding: 6px 18px 4px; }
.is-hs .ai-st__check { right: 30px; top: 30px; width: 56px; height: 56px; border-radius: 28px 28px 28px 8px; }
.is-hs .ai-st__check svg { width: 30px; height: 16px; }
.is-hs .ai-st__title { font-size: 1.625rem; }
.is-hs .ai-st__text { font-size: 1.0625rem; }
.is-hs .ai-st__bar { display: block; position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); width: min(560px, 40vw); height: 4px; margin-left: min(-280px, -20vw); border-radius: 4px; background: rgba(23, 98, 102, .14); overflow: hidden; }
.is-hs .ai-st__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ai-teal-400), var(--ai-pink)); transform-origin: 0 50%; transform: scaleX(0); }
