/* ==========================================================================
   Parallex · v3 "Pulse" · pages-kit.css  (Smart Broker Kit page)
   ========================================================================== */

/* ---------- hero: live price editor -> phones ripple ---------- */
.page-hero .ripple { display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 16px 22px; align-items: center; place-items: stretch; min-height: 560px; padding: 54px 26px 18px; }
/* the price list: three rows, the edited one lights up, one publish button */
.rp-admin { position: relative; z-index: 3; align-self: center; display: grid; gap: 14px; padding: 18px; border-radius: 22px; background: #fff; color: var(--navy); box-shadow: var(--sh-panel); }
.rp-ah { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.rp-t small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.rp-t b { font-family: var(--f-head); font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.rp-you { padding: 3px 10px; border-radius: 99px; background: var(--tint); color: var(--b1); font-size: 12px; font-weight: 500; }
.rp-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.rp-rows li { display: grid; grid-template-columns: 40px 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 9px 10px; border-radius: 12px; font-size: 13px; transition: background .3s, box-shadow .3s; }
.rp-u { grid-row: 1 / 3; font-family: var(--f-head); font-weight: 500; font-size: 15px; }
.rp-b { grid-row: 1 / 3; color: var(--muted); font-size: 12px; }
.rp-pp { grid-column: 3; grid-row: 1; display: inline-flex; align-items: baseline; gap: 6px; justify-self: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rp-pp b { font-weight: 500; }
.rp-pp s { color: var(--faint); font-size: 11.5px; text-decoration-color: var(--red); }
.rp-rst { grid-column: 3; grid-row: 2; justify-self: end; font-style: normal; font-size: 11px; font-weight: 500; padding: 1px 8px; border-radius: 99px; }
.rp-rst.sold { background: #EEF0F3; color: var(--muted); }
.rp-row { background: var(--mist); }
.rp-row.is-edit { background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--b3); }
.rp-price.is-dirty { color: var(--b1); }
.rp-pub { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; transition: transform .2s, box-shadow .3s; }
.rp-pub.is-press { transform: scale(.96); }
.rp-pub.is-dirty { box-shadow: 0 0 0 4px rgba(103,142,229,.35); }
.rp-wall { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; align-self: center; justify-items: center; }
.rp-ph { width: min(100%, 100px); container-type: inline-size; }
.rp-ph .phone { aspect-ratio: 9 / 16.6; }
.rp-ph .phone { --pw: 100cqw; width: 100%; box-shadow: 0 18px 30px -18px rgba(16,22,36,.7); transition: transform .5s var(--ease-snap); }
.rp-ph .phone-screen { font-size: 9.6cqw; }
.rp-scr { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .35em; padding: 1.3em .7em .8em; background: #F7F9FD; }
.rp-who { display: flex; align-items: center; gap: .35em; font-size: .7em; color: var(--muted); font-weight: 500; }
.rp-who::before { content: attr(data-i); width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; background: var(--b2); color: #fff; font-size: .9em; }
.rp-img { position: relative; height: 30%; flex: none; border-radius: .6em; background: url(../img/aquora.jpg) 50% 40% / cover; }
.rp-l { font-size: .72em; color: var(--muted); margin-top: .2em; }
.rp-p { font-family: var(--f-head); font-weight: 500; font-size: 1.12em; letter-spacing: -.03em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rp-st { align-self: flex-start; font-style: normal; font-size: .62em; font-weight: 500; padding: .2em .6em; border-radius: 99px; }
.rp-st.sold { background: #EEF0F3; color: var(--muted); }
.rp-list { display: grid; gap: .28em; margin-top: .25em; padding-top: .4em; border-top: 1px solid #E6EAF2; }
.rp-list > span { display: flex; align-items: center; justify-content: space-between; gap: .4em; font-size: .56em; color: var(--muted); }
.rp-list b { font-weight: 500; }
.rp-list i { height: .5em; width: 45%; border-radius: 99px; background: #E3E8F2; }
.rp-list > span:nth-child(2) i { width: 34%; } .rp-list > span:nth-child(3) i { width: 52%; background: #D9F4E3; }
.rp-share { margin-top: auto; align-self: stretch; text-align: center; padding: .35em 0; border-radius: 99px; background: var(--navy); color: #fff; font-size: .6em; font-weight: 500; }
.rp-upd { position: absolute; left: 50%; top: 33%; bottom: auto; translate: -50% 0; box-shadow: 0 4px 10px -4px rgba(138,90,0,.4); display: inline-flex; align-items: center; gap: .3em; padding: .3em .6em; border-radius: 99px; background: #FFF4DE; color: #8A5A00; font-size: .62em; font-weight: 500; white-space: nowrap; opacity: 0; transform: translateY(.6em); transition: opacity .25s, transform .35s var(--ease-snap); }
.rp-upd i { width: .6em; height: .6em; border-radius: 50%; background: var(--amber); }
.rp-ph.is-upd .phone { transform: translateY(-6px) scale(1.04); box-shadow: 0 0 0 3px var(--amber), 0 18px 30px -18px rgba(16,22,36,.7); }
.rp-ph.is-upd .rp-upd { opacity: 1; transform: none; }
.rp-ph.is-upd .rp-p { color: #8A5A00; }
/* foot: count + 312 dots */
.rp-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.rp-count { flex: none; }
.rp-count b { font-variant-numeric: tabular-nums; display: inline-block; min-width: 3ch; text-align: end; }
.rp-dots { flex: 1; height: 44px; min-width: 0; }
.ripple .sample { top: 18px; bottom: auto; right: 18px; }
.ripple .rp-ctrl { left: auto; right: 18px; bottom: 18px; display: none; }
.js .ripple .rp-ctrl { display: flex; }
.reduced-motion .ripple .rp-ctrl { display: none; }
.ripple .rp-foot { padding-inline-end: 54px; }
/* polish: in the narrow two-column hero (1024-1180) the admin card sits on top of one row of four readable phones */
@media (max-width: 1180px) and (min-width: 1024px) {
  .page-hero .ripple { grid-template-columns: 1fr; padding: 54px 20px 18px; min-height: 0; }
  .rp-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rp-wall .rp-ph:nth-child(n+5) { display: none; }
}
@media (max-width: 599px) {
  .page-hero .ripple { grid-template-columns: 1fr; min-height: 0; padding: 60px 14px 16px; gap: 16px; }
  .rp-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
  .rp-wall .rp-ph:nth-child(n+9) { display: none; }
  .rp-ph { width: 100%; }
  .rp-foot { flex-wrap: wrap; padding-inline-end: 50px; }
  .rp-dots { flex-basis: 100%; order: 2; height: 36px; }
  .ripple .sample { top: 16px; left: 14px; right: auto; }
}

/* ---------- problem: WhatsApp group chaos ---------- */
.kit-chaos { position: relative; min-height: 460px; }
.kit-chaos > * { position: absolute; }
.kc-phone { left: 6%; top: 0; --pw: 240px; }
.kc-phone .phone-screen { filter: grayscale(1); }
.kc-f1 { right: 4%; top: 6%; rotate: 5deg; }
.kc-f2 { right: 0; top: 34%; rotate: -4deg; }
.kc-stale { right: 3%; bottom: 6%; rotate: 3deg; width: 230px; display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--sh-float); font-size: 13px; }
.kc-stale small { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.kc-stale span { display: flex; gap: 10px; align-items: center; }
.kc-stale s { color: var(--muted); text-decoration-color: var(--red); }
.kc-stale em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--red-bg); color: var(--red-text); font-weight: 500; }
@media (max-width: 899px) { .kit-chaos { min-height: 520px; } }
@media (max-width: 599px) { .kit-chaos { min-height: 470px; } .kc-phone { --pw: 200px; left: 0; } .kc-f1 { top: 2%; right: 0; } .kc-f2 { top: 44%; right: -4px; } .kc-stale { width: 190px; bottom: 0; right: 0; } }

/* ---------- parts: before scenes ---------- */
.mail-thread { width: min(92%, 420px); background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--sh-float); display: grid; gap: 6px; font-size: 13.5px; }
.mt-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--border); }
.mt-row:first-child { grid-template-columns: 1fr auto; }
.mt-row b { font-weight: 500; } .mt-row small { color: var(--faint); font-size: 12px; }
.mt-row .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #D9DCE2; font-size: 12px; font-weight: 500; }
.mt-cal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 6px; font-size: 11.5px; text-align: center; }
.mt-cal span { padding: 8px 2px; border-radius: 8px; background: var(--mist); color: var(--muted); }
.mt-cal .x { text-decoration: line-through; text-decoration-color: var(--red); color: var(--before-text); background: #E9EAEE; }
.finder { width: min(92%, 440px); background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--sh-float); font-size: 13.5px; }
.fd-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ECEDF0; }
.fd-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C9CCD3; }
.fd-bar b { margin-inline-start: 10px; font-weight: 500; }
.finder ul { list-style: none; padding: 6px; }
.finder li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; }
.finder li:nth-child(odd) { background: #F6F6F7; }
.finder .fc-ic { width: 24px; height: 28px; font-size: 7.5px; }
.finder small { color: var(--faint); font-size: 12px; }
.old-list { width: min(92%, 420px); background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--sh-float); font-size: 14px; display: grid; gap: 4px; }
.ol-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ol-h b { font-weight: 500; } .ol-h small { color: var(--muted); font-size: 12px; }
.ol-row { display: grid; grid-template-columns: 60px 1fr 1fr 60px; align-items: center; padding: 8px; border-radius: 8px; }
.ol-row:nth-child(even) { background: #F6F6F7; }
.ol-row em { font-style: normal; font-size: 11.5px; font-weight: 500; }
.ol-row.is-sold span:nth-child(3) { text-decoration: line-through; text-decoration-color: var(--red); }
.ol-row.is-sold em { color: var(--red-text); }
.ol-q { margin-top: 8px; padding: 10px 12px; border-radius: 12px 12px 12px 4px; background: #F1F2F4; font-size: 13.5px; }

/* ---------- parts: with scenes ---------- */
.onboard { width: min(92%, 420px); background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--sh-panel); display: grid; gap: 10px; }
.ob-h { display: flex; align-items: center; gap: 10px; }
.ob-h small { display: block; color: var(--muted); font-size: 12px; } .ob-h b { font-family: var(--f-head); font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.ob-h .badge { margin-inline-start: auto; }
.ob-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.ob-list li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 14px; background: var(--mist); overflow: hidden; font-size: 14px; }
.ob-list b { display: block; font-weight: 500; } .ob-list small { color: var(--muted); font-size: 12.5px; }
.ob-c { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--live); color: #fff; }
.ob-c .ic { stroke-width: 2.6; }
.ob-list i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--b3), var(--b1)); transform-origin: left; transform: scaleX(var(--p)); }
.js .onboard.is-play .ob-list li { animation: obIn .5s var(--ease-snap) both; }
.js .onboard.is-play .ob-list li:nth-child(2) { animation-delay: .24s; } .js .onboard.is-play .ob-list li:nth-child(3) { animation-delay: .48s; } .js .onboard.is-play .ob-list li:nth-child(4) { animation-delay: .72s; }
.js .onboard.is-play .ob-list i { animation: obBar .7s var(--ease-out) both; }
.js .onboard.is-play .ob-list li:nth-child(2) i { animation-delay: .24s; } .js .onboard.is-play .ob-list li:nth-child(3) i { animation-delay: .48s; } .js .onboard.is-play .ob-list li:nth-child(4) i { animation-delay: .72s; }
@keyframes obIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes obBar { from { transform: scaleX(0); } }
.kit-lib { display: flex; gap: 22px; align-items: center; justify-content: center; }
.kit-lib .phone { --pw: 250px; }
.lib-side { display: grid; gap: 10px; }
.lib-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: var(--sh-float); font-size: 14px; font-weight: 500; white-space: nowrap; }
.lib-chip .ic { color: var(--b1); }
.cur-scene { display: grid; gap: 16px; justify-items: center; width: min(94%, 460px); }
.cur-fan { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cur-ic { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); color: #fff; font-weight: 500; font-size: 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cur-dex { width: 100%; border-radius: 18px; } /* same radius on every corner */
@media (max-width: 1023px) { .part .media-panel { min-height: 420px; aspect-ratio: auto; } }
@media (max-width: 599px) {
  .kit-lib { gap: 10px; }
  .kit-lib .phone { --pw: 190px !important; }
  .lib-side { position: absolute; right: 10px; bottom: 50px; gap: 6px; }
  .lib-chip { height: 32px; font-size: 12px; padding: 0 10px; }
  .lib-side .lib-chip:nth-child(n+3) { display: none; }
  .console { font-size: 12px; padding-left: 12px; }
  .cur-scene { gap: 10px; }
  .mail-thread, .finder, .old-list { font-size: 12.5px; }
  .ol-row { grid-template-columns: 44px 1fr 1fr 40px; }
}

/* ---------- features ---------- */
.kit-bento .feat { min-height: 380px; }
.kf-share { display: flex !important; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.ks-sheet { width: 250px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: var(--sh-float); display: grid; gap: 10px; font-size: 13px; }
.ks-unit { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; }
.ks-unit img { width: 64px; height: 52px; border-radius: 10px; object-fit: cover; }
.ks-unit b { display: block; font-weight: 500; } .ks-unit small { color: var(--muted); font-size: 12px; }
.ks-to { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--mist); }
.ks-to span:first-child { color: var(--muted); font-size: 12px; }
.ks-btn { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 500; font-size: 12.5px; transition: transform .2s, background .3s; }
.ks-btn.is-press { transform: scale(.9); background: var(--b1); }
.ks-arrow { width: 60px; color: var(--b1); }
.ks-room { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: var(--sh-float); font-size: 13px; transition: transform .5s var(--ease-snap), opacity .4s; }
.ks-room small { display: block; color: var(--muted); font-size: 11.5px; } .ks-room b { font-weight: 500; font-family: var(--f-head); font-size: 16px; }
.js .kf-share:not(.is-done) .ks-room { opacity: .25; transform: scale(.92); }
.kf-qr { display: flex !important; align-items: center; justify-content: center; gap: 14px; }
.qr-card { display: grid; justify-items: center; gap: 8px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: var(--sh-float); font-size: 12px; text-align: center; color: var(--muted); }
.qr-card b { color: var(--navy); font-weight: 500; }
.qr { width: 104px; height: 104px; color: var(--navy); shape-rendering: crispEdges; }
.qr-q { display: grid; gap: 8px; }
.qq { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 8px 8px 8px 10px; border-radius: 14px; background: #fff; box-shadow: var(--sh-float); font-size: 12.5px; }
.qq b { display: block; font-weight: 500; } .qq small { color: var(--muted); font-size: 11.5px; }
.qq-ok { box-sizing: border-box; width: 88px; flex: none; text-align: center; white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 500; transition: background .3s; }
.qq.is-ok .qq-ok { background: var(--live-text); }
.kf-credit { display: grid !important; gap: 18px; justify-items: center; align-content: center; }
.chain { list-style: none; padding: 0; display: flex; align-items: center; gap: 0; }
.chain li { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); font-size: 13px; font-weight: 500; }
.chain li { position: relative; }
.chain li + li { margin-inline-start: 16px; }
.chain li + li::before { content: ""; position: absolute; inset-inline-end: 100%; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: rgba(255,255,255,.55); } /* connector sits exactly in the gap */
.credit-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 14px; box-shadow: var(--sh-float); }

.kf-dex { display: grid !important; place-items: center; }
.ann { width: min(100%, 300px); display: grid; gap: 8px; padding: 12px; border-radius: 18px; background: var(--wa-bg); }
.ann-msg { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: 13.5px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.ann-read { display: flex; gap: 12px; font-size: 12.5px; color: #1F2430; padding-inline: 4px; }
.ann-read span { display: inline-flex; align-items: center; gap: 4px; }
.ann-read .ic { color: #0B0F19; } /* black receipts: readable on the warm chat background */
.ann-read b { color: var(--navy); font-weight: 500; font-variant-numeric: tabular-nums; }
.kf-phones { display: flex !important; align-items: flex-end; justify-content: center; gap: 14px; }
.kf-phones .phone:nth-child(2) { translate: 0 -10px; }
/* polish: the three phones shrink with the tile instead of spilling past its padding at 1024 */
.kf-phones .phone { flex: 0 1 auto; min-width: 0; max-width: calc((100% - 28px) / 3); }
@media (max-width: 599px) { .kf-qr { flex-direction: column; } .chain li { padding: 0 9px; font-size: 12px; } }
