/* ==========================================================================
   Panacea commerce experience (PWB-WO-004)
   Loaded after site.css on commercial pages only.
   Three founder-selectable visual directions share one component system:
     body.cx-a  Editorial / enterprise      (ivory, serif display, bronze-gold)
     body.cx-b  Modern technology / AI      (deep navy, glass, luminous gold)
     body.cx-c  Warm premium / human        (warm cream, soft radius, gold+navy)
   ========================================================================== */

body.cx{--cx-bg:#FBF9F4;--cx-surface:#FFFFFF;--cx-ink:#12162B;--cx-dim:#5D6274;--cx-line:#E7E2D4;
  --cx-accent:#B0821F;--cx-accent-strong:#8F6716;--cx-accent-ink:#12162B;--cx-navy:#0B1640;
  --cx-radius:4px;--cx-shadow:0 30px 70px -40px rgba(18,22,43,.35);
  --cx-head:Georgia,'Times New Roman',serif;--cx-head-weight:400;--cx-head-spacing:-.01em;
  background:var(--cx-bg);color:var(--cx-ink)}
body.cx-b{--cx-bg:#080C1A;--cx-surface:#0E1428;--cx-ink:#ECEFFA;--cx-dim:#98A0BC;--cx-line:#1E2743;
  --cx-accent:#FDD017;--cx-accent-strong:#FFDD4A;--cx-accent-ink:#0B1024;
  --cx-radius:14px;--cx-shadow:0 40px 90px -45px rgba(253,208,23,.28);
  --cx-head:'Segoe UI',system-ui,sans-serif;--cx-head-weight:700;--cx-head-spacing:-.03em}
body.cx-c{--cx-bg:#FCF8EF;--cx-surface:#FFFFFF;--cx-ink:#232015;--cx-dim:#6E6754;--cx-line:#EDE5D2;
  --cx-accent:#DFAF1E;--cx-accent-strong:#C2950C;--cx-accent-ink:#232015;
  --cx-radius:18px;--cx-shadow:0 26px 60px -30px rgba(178,142,31,.35);
  --cx-head:'Segoe UI',system-ui,sans-serif;--cx-head-weight:700;--cx-head-spacing:-.02em}

body.cx .site-header{background:var(--cx-bg);border-bottom:1px solid var(--cx-line)}
body.cx-b .site-header{background:rgba(8,12,26,.85);backdrop-filter:blur(10px)}
body.cx-b .site-nav a{color:#C6CCE4}body.cx-b .site-nav a.active,body.cx-b .site-nav a:hover{color:var(--cx-accent)}
body.cx-b .site-nav a.btn{color:var(--cx-accent-ink)}body.cx-b .site-nav a.btn:hover{color:var(--cx-accent-ink)}
body.cx-b .nav-burger span{background:#ECEFFA}
body.cx-b .brand img{filter:brightness(0) invert(1)}

.cx h1,.cx h2,.cx h3{font-family:var(--cx-head);font-weight:var(--cx-head-weight);letter-spacing:var(--cx-head-spacing);color:var(--cx-ink)}
.cx .kicker{color:var(--cx-accent-strong)}
body.cx-b .kicker{color:var(--cx-accent)}
.cx .muted,.cx .lead{color:var(--cx-dim)}

/* ---- Hero ---- */
.cx-hero{padding:9vh 0 7vh;position:relative;overflow:hidden}
body.cx-b .cx-hero::before{content:"";position:absolute;inset:-30% -10% auto;height:120%;pointer-events:none;
  background:radial-gradient(40% 50% at 25% 30%,rgba(33,56,171,.5),transparent 70%),
             radial-gradient(34% 44% at 75% 20%,rgba(253,208,23,.14),transparent 70%)}
body.cx-b .cx-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background-image:
  linear-gradient(rgba(152,160,188,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(152,160,188,.06) 1px,transparent 1px);
  background-size:44px 44px;mask-image:radial-gradient(72% 60% at 50% 20%,#000,transparent)}
.cx-hero .container{position:relative;z-index:2}
.cx-hero h1{font-size:clamp(2.2rem,4.6vw,3.6rem);line-height:1.06;max-width:15em}
.cx-hero h1 em{font-style:italic;color:var(--cx-accent-strong)}
body.cx-b .cx-hero h1 em,body.cx-c .cx-hero h1 em{font-style:normal;color:var(--cx-accent)}
.cx-hero .lead{font-size:1.15rem;max-width:36em;margin-top:18px}
.cx-hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.cx-btn{display:inline-block;text-decoration:none;font-weight:700;font-size:1rem;padding:16px 30px;border-radius:var(--cx-radius);transition:.15s}
.cx-btn-primary{background:var(--cx-accent);color:var(--cx-accent-ink)}
.cx-btn-primary:hover{background:var(--cx-accent-strong);color:var(--cx-accent-ink)}
body.cx-a .cx-btn-primary{background:var(--cx-navy);color:#FFF}
body.cx-a .cx-btn-primary:hover{background:#1A2860}
.cx-btn-ghost{border:1px solid var(--cx-line);color:var(--cx-ink)}
.cx-btn-ghost:hover{border-color:var(--cx-accent)}
.cx-price-note{margin-top:16px;font-size:.95rem;color:var(--cx-dim)}
.cx-price-note b{color:var(--cx-accent-strong)}
body.cx-b .cx-price-note b{color:var(--cx-accent)}

/* ---- Trust strip ---- */
.cx-trust{display:flex;gap:10px 34px;flex-wrap:wrap;margin-top:34px;padding-top:22px;border-top:1px solid var(--cx-line);
  font-size:.86rem;color:var(--cx-dim)}
.cx-trust span::before{content:"✓";color:var(--cx-accent-strong);font-weight:700;margin-right:8px}
body.cx-b .cx-trust span::before{color:var(--cx-accent)}

/* ---- Browser-framed showcase ---- */
.cx-gallery{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:44px}
.cx-shot{background:var(--cx-surface);border:1px solid var(--cx-line);border-radius:calc(var(--cx-radius) + 6px);
  overflow:hidden;box-shadow:var(--cx-shadow)}
.cx-shot-bar{display:flex;align-items:center;gap:6px;padding:11px 14px;border-bottom:1px solid var(--cx-line);background:var(--cx-surface)}
.cx-shot-bar i{width:9px;height:9px;border-radius:50%;background:var(--cx-line)}
.cx-shot-bar span{margin-left:10px;font-size:.72rem;color:var(--cx-dim);letter-spacing:.04em}
.cx-shot img{display:block;width:100%;height:auto}
.cx-shot figcaption{padding:16px 18px;display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.cx-shot figcaption b{font-size:.98rem}
.cx-shot figcaption span{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--cx-accent-strong);white-space:nowrap}
body.cx-b .cx-shot figcaption span{color:var(--cx-accent)}
.cx-gallery-note{margin-top:18px;font-size:.88rem;color:var(--cx-dim);text-align:center}

/* ---- Steps ---- */
.cx-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:40px}
.cx-step{background:var(--cx-surface);border:1px solid var(--cx-line);border-radius:var(--cx-radius);padding:26px}
.cx-step i{font-style:normal;display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;
  background:var(--cx-accent);color:var(--cx-accent-ink);font-weight:800;margin-bottom:14px}
body.cx-a .cx-step i{background:var(--cx-navy);color:#fff}
.cx-step b{display:block;font-size:1.04rem;margin-bottom:8px}
.cx-step p{font-size:.92rem;color:var(--cx-dim);line-height:1.65;margin:0}

/* ---- Pricing ---- */
.cx-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:44px;align-items:stretch}
.cx-tier{background:var(--cx-surface);border:1px solid var(--cx-line);border-radius:calc(var(--cx-radius) + 4px);
  padding:30px 28px;display:flex;flex-direction:column;position:relative}
.cx-tier.hot{border-color:var(--cx-accent);box-shadow:var(--cx-shadow)}
.cx-tier .flag{position:absolute;top:-13px;left:26px;background:var(--cx-accent);color:var(--cx-accent-ink);
  font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:5px 12px;border-radius:99px}
.cx-tier .who{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--cx-accent-strong);font-weight:700}
body.cx-b .cx-tier .who{color:var(--cx-accent)}
.cx-tier h3{font-size:1.35rem;margin:8px 0 2px}
.cx-tier .for{font-size:.92rem;color:var(--cx-dim);min-height:2.8em;margin:6px 0 14px;line-height:1.5}
.cx-tier .amount{font-family:var(--cx-head);font-size:2.6rem;line-height:1}
.cx-tier .amount small{font-size:1rem;color:var(--cx-dim);font-family:'Segoe UI',system-ui,sans-serif}
.cx-tier ul{list-style:none;padding:0;margin:20px 0 26px;flex:1}
.cx-tier li{padding:9px 0 9px 26px;position:relative;font-size:.93rem;line-height:1.5;border-top:1px solid var(--cx-line)}
.cx-tier li::before{content:"✓";position:absolute;left:2px;color:var(--cx-accent-strong);font-weight:700}
body.cx-b .cx-tier li::before{color:var(--cx-accent)}
.cx-tier .cx-btn{text-align:center}
.cx-why-monthly{max-width:52em;margin:34px auto 0;text-align:center;font-size:.95rem;color:var(--cx-dim);line-height:1.7}

/* ---- Before / after ---- */
.cx-ba{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:40px;align-items:start}
.cx-ba figure{margin:0}
.cx-ba .tag{display:inline-block;font-size:.74rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  padding:6px 14px;border-radius:99px;margin-bottom:12px}
.cx-ba .tag-before{background:var(--cx-line);color:var(--cx-dim)}
.cx-ba .tag-after{background:var(--cx-accent);color:var(--cx-accent-ink)}
.cx-ba img{width:100%;height:auto;border-radius:var(--cx-radius);border:1px solid var(--cx-line);display:block}
.cx-ba figcaption{font-size:.86rem;color:var(--cx-dim);margin-top:10px}

/* ---- Carousel strip ---- */
.cx-slides{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:30px}
.cx-slides img{width:100%;height:auto;border-radius:var(--cx-radius);border:1px solid var(--cx-line);display:block;box-shadow:var(--cx-shadow)}

/* ---- One-payment card (LinkedIn) ---- */
.cx-offer{max-width:520px;margin:44px auto 0;background:var(--cx-surface);border:1px solid var(--cx-accent);
  border-radius:calc(var(--cx-radius) + 6px);padding:34px;box-shadow:var(--cx-shadow);text-align:center;position:relative}
.cx-offer .flag{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:var(--cx-accent);color:var(--cx-accent-ink);
  font-size:.74rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;padding:6px 16px;border-radius:99px;white-space:nowrap}
.cx-offer .amount{font-family:var(--cx-head);font-size:3.4rem;line-height:1;margin-top:10px}
.cx-offer .was{color:var(--cx-dim);margin:6px 0 2px}
.cx-offer .was s{opacity:.75}
.cx-offer .once{font-size:.95rem;color:var(--cx-dim);margin-bottom:22px}
.cx-offer ul{list-style:none;margin:0 0 24px;padding:0;text-align:left}
.cx-offer li{padding:8px 0 8px 26px;position:relative;font-size:.93rem;border-top:1px solid var(--cx-line)}
.cx-offer li::before{content:"✓";position:absolute;left:2px;color:var(--cx-accent-strong);font-weight:700}
body.cx-b .cx-offer li::before{color:var(--cx-accent)}

/* ---- Section rhythm ---- */
.cx-sec{padding:9vh 0}
.cx-sec-alt{background:var(--cx-surface);border-top:1px solid var(--cx-line);border-bottom:1px solid var(--cx-line)}
body.cx-b .cx-sec-alt{background:#0B1122}
.cx-center{text-align:center}
.cx-center .lead{margin-left:auto;margin-right:auto}

/* ---- Thanks / celebration ---- */
.cx-thanks{max-width:620px;margin:0 auto;text-align:center;background:var(--cx-surface);border:1px solid var(--cx-line);
  border-radius:calc(var(--cx-radius) + 8px);padding:56px 40px;box-shadow:var(--cx-shadow)}
.cx-thanks .mark{width:84px;height:84px;border-radius:50%;margin:0 auto 26px;display:grid;place-items:center;
  background:var(--cx-accent);color:var(--cx-accent-ink);font-size:2.4rem;font-weight:800}
.cx-thanks h1{font-size:2rem}
.cx-thanks .lead{margin-top:12px}
.cx-thanks .cx-btn{margin-top:28px}
.cx-thanks .small{margin-top:22px}

/* ---- Sticky buy bar (LB preview — checkout always in reach) ---- */
.cx-buybar{position:sticky;top:0;z-index:50;background:var(--cx-surface);border-bottom:1px solid var(--cx-line);
  box-shadow:0 10px 30px -18px rgba(18,22,43,.25)}
.cx-buybar .container{display:flex;align-items:center;gap:16px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
.cx-buybar .bb-name{font-weight:700}
.cx-buybar .bb-price{font-family:var(--cx-head);font-size:1.35rem}
.cx-buybar .bb-was{color:var(--cx-dim);font-size:.86rem}
.cx-buybar .bb-was s{opacity:.8}
.cx-buybar .cx-btn{margin-left:auto;padding:12px 26px}
.cx-buybar .bb-alt{font-size:.82rem;color:var(--cx-dim)}
@media(max-width:640px){.cx-buybar .bb-name{display:none}.cx-buybar .cx-btn{margin-left:0;flex:1;text-align:center}}

/* ---- Big product presentation on preview ---- */
.cx-product-hero{max-width:1100px;margin:0 auto}
.cx-product-hero img{width:100%;height:auto;border-radius:var(--cx-radius);border:1px solid var(--cx-line);box-shadow:var(--cx-shadow);display:block}
.cx-slides-lg{display:grid;grid-auto-flow:column;grid-auto-columns:290px;gap:16px;overflow-x:auto;padding:6px 2px 14px;scroll-snap-type:x mandatory}
.cx-slides-lg img{width:100%;border-radius:var(--cx-radius);border:1px solid var(--cx-line);box-shadow:var(--cx-shadow);scroll-snap-align:start}
@media(max-width:640px){.cx-slides-lg{grid-auto-columns:78vw}}

/* ---- LinkedIn-context preview (WO-004 Addendum A) ----
   A generic professional-profile frame in Panacea's own styling — does NOT
   copy LinkedIn's UI or use its logo (per LinkedIn brand policy). ---- */
.cx-li-chip{display:inline-flex;align-items:center;gap:8px;font-size:.74rem;font-weight:800;letter-spacing:.16em;
  text-transform:uppercase;color:var(--cx-dim);border:1px solid var(--cx-line);border-radius:99px;padding:7px 16px}
.cx-li-chip i{width:8px;height:8px;border-radius:2px;background:var(--cx-accent);font-style:normal}
.cx-li-card{max-width:900px;margin:26px auto 0;background:#fff;border:1px solid var(--cx-line);
  border-radius:calc(var(--cx-radius) + 8px);overflow:hidden;box-shadow:var(--cx-shadow)}
.cx-li-banner img{display:block;width:100%;height:auto}
.cx-li-body{padding:0 34px 30px;position:relative}
.cx-avatar{width:128px;height:128px;border-radius:50%;border:4px solid #fff;margin-top:-64px;overflow:hidden;
  display:grid;place-items:center;font-size:2.6rem;font-weight:800;color:#fff;box-shadow:0 10px 26px -12px rgba(18,22,43,.4)}
.cx-avatar img{width:100%;height:100%;object-fit:cover}
.cx-li-name{font-family:var(--cx-head);font-size:1.7rem;margin-top:14px;color:#12162B}
.cx-li-headline{font-size:1.02rem;color:#3A3F52;margin-top:6px;line-height:1.5;max-width:44em}
.cx-li-meta{font-size:.86rem;color:#7A8095;margin-top:8px}
.cx-li-about{margin-top:18px;padding-top:18px;border-top:1px solid var(--cx-line)}
.cx-li-about h4{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:#7A8095;margin:0 0 8px}
.cx-li-about p{font-size:.95rem;line-height:1.7;color:#3A3F52;margin:0;max-width:60em}
.cx-li-caption{text-align:center;font-size:.82rem;color:var(--cx-dim);margin-top:12px}

/* Document-post carousel viewer */
.cx-li-doc{max-width:660px;margin:26px auto 0;background:#fff;border:1px solid var(--cx-line);
  border-radius:calc(var(--cx-radius) + 8px);box-shadow:var(--cx-shadow);overflow:hidden}
.cx-li-doc-head{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--cx-line)}
.cx-li-doc-head .cx-avatar-sm{width:44px;height:44px;border-radius:50%;overflow:hidden;display:grid;place-items:center;
  color:#fff;font-weight:800;font-size:1.1rem;flex:none}
.cx-li-doc-head .cx-avatar-sm img{width:100%;height:100%;object-fit:cover}
.cx-li-doc-head b{display:block;font-size:.95rem}
.cx-li-doc-head span{font-size:.78rem;color:#7A8095}
.cx-doc-stage{position:relative;background:#F2F3F7}
.cx-doc-stage img{display:block;width:100%;height:auto}
.cx-doc-nav{position:absolute;inset:0;display:flex;justify-content:space-between;align-items:center;padding:0 10px;pointer-events:none}
.cx-doc-nav button{pointer-events:auto;width:44px;height:44px;border-radius:50%;border:none;cursor:pointer;
  background:rgba(18,22,43,.65);color:#fff;font-size:1.2rem;line-height:1;transition:.15s}
.cx-doc-nav button:hover{background:rgba(18,22,43,.9)}
.cx-doc-count{position:absolute;top:12px;right:12px;background:rgba(18,22,43,.7);color:#fff;
  font-size:.78rem;font-weight:600;padding:5px 12px;border-radius:99px}
.cx-doc-thumbs{display:flex;gap:8px;padding:14px 16px;overflow-x:auto;background:#fff}
.cx-doc-thumbs img{width:56px;height:70px;object-fit:cover;border-radius:6px;border:2px solid transparent;cursor:pointer;flex:none}
.cx-doc-thumbs img.on{border-color:var(--cx-accent)}

/* Package summary + single CTA */
.cx-pack{max-width:560px;margin:0 auto;text-align:center}
.cx-pack ul{list-style:none;margin:22px 0 26px;padding:0;text-align:left;display:inline-block}
.cx-pack li{padding:8px 0 8px 30px;position:relative;font-size:1rem}
.cx-pack li::before{content:"✓";position:absolute;left:0;color:var(--cx-accent-strong);font-weight:800;font-size:1.05rem}
.cx-pack .amount{font-family:var(--cx-head);font-size:3.6rem;line-height:1}
.cx-pack .flag{display:inline-block;background:var(--cx-accent);color:var(--cx-accent-ink);font-size:.76rem;font-weight:800;
  letter-spacing:.14em;text-transform:uppercase;padding:6px 16px;border-radius:99px;margin-bottom:14px}

/* Before/after reweight (Addendum A §8 — the AFTER dominates) */
.cx-ba{grid-template-columns:.55fr 1.45fr;align-items:end}
.cx-ba .tag-before{opacity:.85}
.cx-ba figure:first-child img{filter:saturate(.7)}
@media(max-width:900px){.cx-ba{grid-template-columns:1fr}.cx-ba figure:first-child{max-width:340px}
  .cx-li-body{padding:0 20px 24px}.cx-avatar{width:96px;height:96px;margin-top:-48px}}

/* ---- Style selector (WO-005 — choose your professional style) ---- */
.cx-style-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:40px}
.cx-style-card{background:var(--cx-surface);border:1px solid var(--cx-line);border-radius:calc(var(--cx-radius) + 8px);
  overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--cx-shadow);transition:transform .2s ease,border-color .2s}
.cx-style-card:hover{transform:translateY(-3px)}
.cx-style-card.on{border-color:var(--cx-accent)}
.cx-style-shot img{display:block;width:100%;height:auto}
.cx-style-meta{padding:20px 22px 6px;flex:1}
.cx-style-meta b{font-family:var(--cx-head);font-size:1.25rem}
.cx-style-meta p{margin:6px 0 10px;color:var(--cx-dim);font-size:.94rem}
.cx-style-for{font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--cx-accent-strong)}
body.cx-b .cx-style-for{color:var(--cx-accent)}
.cx-style-card .cx-btn{margin:16px 22px 22px;text-align:center}
@media(max-width:900px){.cx-style-grid{grid-template-columns:1fr}}

/* ---- Footer on dark theme ---- */
body.cx-b .site-footer{border-top:1px solid var(--cx-line)}

@media(max-width:900px){.cx-gallery{grid-template-columns:1fr}.cx-tiers{grid-template-columns:1fr}.cx-steps{grid-template-columns:1fr}
  .cx-slides{grid-template-columns:1fr 1fr}.cx-ba{grid-template-columns:1fr}}
@media(prefers-reduced-motion:no-preference){
  .cx-shot{transition:transform .25s ease}.cx-shot:hover{transform:translateY(-4px)}}

/* WO-007: style cards with banner + carousel-cover duo, concept badges */
.cx-style-card{position:relative}
.cx-style-badge{position:absolute;top:10px;left:10px;background:var(--cx-accent,#B08D3C);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 12px;border-radius:99px;z-index:2}
.cx-style-duo{display:grid;grid-template-columns:2.4fr 1fr;gap:8px;align-items:stretch}
.cx-style-duo .cx-style-shot img{width:100%;height:100%;object-fit:cover;display:block}
.cx-style-cover img{width:100%;height:100%;object-fit:cover;display:block;border-radius:6px}
@media (max-width:640px){.cx-style-duo{grid-template-columns:2fr 1fr}}

/* WO-007: brand pack groups + copy blocks */
.cx-pack-groups{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
@media (max-width:820px){.cx-pack-groups{grid-template-columns:1fr}}
.cx-pack-group{border:1px solid var(--line,#E4DFD4);border-radius:12px;padding:18px 20px;background:#fff}
.cx-pack-group h3{margin:0 0 10px;font-size:1.02rem}
.cx-pack-group ul{margin:0;padding:0;list-style:none}
.cx-pack-group li{padding:7px 0;border-top:1px solid var(--line,#EEE9DF);display:flex;justify-content:space-between;align-items:center;gap:10px}
.cx-pack-group li:first-child{border-top:0}
.cx-copybtn{font-size:.8rem;padding:4px 12px;border:1px solid var(--line,#D8D2C4);border-radius:8px;background:#FAF8F2;cursor:pointer;white-space:nowrap}
.cx-copybtn.done{background:#153B2E;color:#fff;border-color:#153B2E}
.cx-copytext{display:none}

/* WO-008 §18–25 — unified promo field (near CTA, unobtrusive) */
.cx-promo { margin-top:14px; }
.cx-promo-toggle { background:none; border:none; padding:0; cursor:pointer;
  font:inherit; font-size:.92rem; color:var(--cx-dim, #6b7080); text-decoration:underline; }
.cx-promo-toggle:hover { color:var(--cx-ink, #1c1f26); }
.cx-promo-body { margin-top:12px; }
#cxPromoForm { display:flex; gap:10px; max-width:420px; }
#cxPromoCode { flex:1; min-width:0; text-transform:uppercase; letter-spacing:.06em;
  padding:11px 14px; border:1px solid var(--cx-line, #d8dae0); border-radius:8px; font-size:.95rem; }
.cx-promo-apply { white-space:nowrap; }
.cx-promo-msg { margin-top:10px; font-size:.92rem; color:#9a4632; }
.cx-promo-win { margin-top:14px; padding:16px 18px; border:1px solid #BDE3C8;
  background:#F0FAF2; border-radius:10px; max-width:460px; }
.cx-promo-head { margin:0; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  font-size:.82rem; color:#176A38; }
.cx-promo-detail { margin:6px 0 12px; font-size:.98rem; }
.cx-promo-win .cx-btn-primary { display:inline-block; }

/* ── WO-008 CUSTOMER-UI — Professional Portrait Set ─────────────────────── */
.cx-btn-outline { background:transparent; border:1.5px solid var(--cx-line,#D8D2C6);
  color:inherit; }
.cx-btn-outline:hover { border-color:var(--cx-accent,#B99458); }

/* §18 pair explainer */
.cx-po-pair { display:flex; align-items:center; justify-content:center; gap:26px;
  flex-wrap:wrap; margin:44px auto 0; max-width:720px; text-align:center; }
.cx-po-pair-item { display:flex; flex-direction:column; align-items:center; gap:6px; }
.cx-po-pair-item b { font-size:.95rem; }
.cx-po-pair-item small { color:var(--cx-dim,#6E6759); }
.cx-po-pair-avatar { width:74px; height:74px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #C9BED8, #4A3E63); border:3px solid #fff;
  box-shadow:0 4px 14px rgba(20,16,40,.18); }
.cx-po-pair-banner { width:170px; height:44px; border-radius:8px; position:relative;
  background:linear-gradient(105deg,#241C3D 0%,#3A2E5C 70%,#584A82 100%);
  box-shadow:0 4px 14px rgba(20,16,40,.18); overflow:hidden; }
.cx-po-pair-banner i { position:absolute; background:rgba(255,255,255,.75); border-radius:3px; }
.cx-po-pair-banner i:first-child { left:14px; top:13px; width:64px; height:7px; }
.cx-po-pair-banner i:last-child { left:14px; top:26px; width:96px; height:5px; opacity:.55; }
.cx-po-pair-plus { font-size:1.6rem; color:var(--cx-dim,#6E6759); }
.cx-po-pair-note { flex-basis:100%; margin:8px 0 0; font-size:.9rem; color:var(--cx-dim,#6E6759); }

/* Locked / empty states */
.cx-po-lock { max-width:560px; margin:48px auto 0; padding:34px 30px; text-align:center;
  background:#fff; border:1px solid var(--cx-line,#E7E2D8); border-radius:16px;
  box-shadow:0 10px 34px rgba(30,24,10,.07); }
.cx-po-lock h2 { margin-top:0; }
.cx-po-lock-roles { list-style:none; display:flex; flex-wrap:wrap; gap:8px;
  justify-content:center; padding:0; margin:18px 0 24px; }
.cx-po-lock-roles li { padding:6px 13px; border:1px solid var(--cx-line,#E7E2D8);
  border-radius:999px; font-size:.85rem; background:#FAF8F3; }

/* Generator card */
.cx-po-card { max-width:860px; margin:48px auto 0; padding:34px 34px 30px; background:#fff;
  border:1px solid var(--cx-line,#E7E2D8); border-radius:18px;
  box-shadow:0 12px 40px rgba(30,24,10,.08); }
.cx-po-step { margin-bottom:30px; }
.cx-po-step h3 { display:flex; align-items:center; gap:12px; margin:0 0 14px;
  font-size:1.02rem; }
.cx-po-step h3 span { display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%; background:var(--cx-accent,#B99458);
  color:#fff; font-size:.85rem; flex:0 0 26px; }

/* Photo strip */
.cx-po-photos { display:flex; gap:12px; overflow-x:auto; padding:4px 2px 8px; }
.cx-po-photo { position:relative; flex:0 0 auto; cursor:pointer; }
.cx-po-photo input { position:absolute; opacity:0; pointer-events:none; }
.cx-po-photo img { width:96px; height:96px; object-fit:cover; border-radius:12px;
  border:3px solid transparent; display:block; transition:border-color .15s; }
.cx-po-photo .tick { position:absolute; right:6px; bottom:6px; width:22px; height:22px;
  border-radius:50%; background:var(--cx-accent,#B99458); color:#fff; font-size:.75rem;
  display:none; align-items:center; justify-content:center; }
.cx-po-photo input:checked ~ img,
.cx-po-photo input:checked + img { border-color:var(--cx-accent,#B99458); }
.cx-po-photo input:checked ~ .tick { display:flex; }

/* Role + background choice cards */
.cx-po-roles, .cx-po-bg { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.cx-po-bg { grid-template-columns:repeat(2,1fr); }
.cx-po-role, .cx-po-bgopt { position:relative; display:block; padding:14px 15px 13px;
  border:1.5px solid var(--cx-line,#E7E2D8); border-radius:12px; cursor:pointer;
  transition:border-color .15s, box-shadow .15s; background:#FDFCF9; }
.cx-po-role b, .cx-po-bgopt b { display:block; font-size:.93rem; margin-bottom:4px; }
.cx-po-role small, .cx-po-bgopt small { color:var(--cx-dim,#6E6759); font-size:.82rem;
  line-height:1.45; display:block; }
.cx-po-role input, .cx-po-bgopt input { position:absolute; opacity:0; pointer-events:none; }
.cx-po-role:has(input:checked), .cx-po-bgopt:has(input:checked) {
  border-color:var(--cx-accent,#B99458); box-shadow:0 0 0 3px rgba(185,148,88,.16);
  background:#fff; }

/* DESCRIBE input */
.cx-po-desc { margin-top:12px; }
.cx-po-desc textarea { width:100%; box-sizing:border-box; padding:12px 14px;
  border:1.5px solid var(--cx-line,#E7E2D8); border-radius:10px; font:inherit;
  resize:vertical; }
.cx-po-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.cx-po-chips button { border:1px solid var(--cx-line,#E7E2D8); background:#FAF8F3;
  border-radius:999px; padding:6px 12px; font-size:.82rem; cursor:pointer; }
.cx-po-chips button:hover { border-color:var(--cx-accent,#B99458); }

/* Generate + status + result */
.cx-po-go { text-align:center; margin-top:6px; }
.cx-po-go .cx-btn { min-width:240px; font-size:1.02rem; }
.cx-po-go .cx-btn:disabled { opacity:.55; cursor:not-allowed; }
.cx-po-status[hidden], .cx-po-result[hidden], .cx-po-desc[hidden],
#po-error[hidden], #po-note[hidden] { display:none; }
.cx-po-status { display:flex; flex-direction:column; align-items:center; gap:8px;
  margin-top:26px; padding:26px 18px; border-radius:12px; background:#FAF8F3;
  text-align:center; }
.cx-po-status small { color:var(--cx-dim,#6E6759); }
.cx-po-spin { width:34px; height:34px; border-radius:50%;
  border:3px solid rgba(185,148,88,.25); border-top-color:var(--cx-accent,#B99458);
  animation:cx-po-rot 1s linear infinite; }
@keyframes cx-po-rot { to { transform:rotate(360deg); } }
.cx-po-result { margin-top:28px; text-align:center; }
.cx-po-result img { max-width:min(360px,100%); border-radius:14px;
  box-shadow:0 12px 36px rgba(30,24,10,.18); }
.cx-po-result-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap;
  margin-top:16px; }

/* Gallery */
.cx-po-gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:18px; max-width:860px; margin:26px auto 0; }
.cx-po-tile { margin:0; background:#fff; border:1px solid var(--cx-line,#E7E2D8);
  border-radius:14px; overflow:hidden; box-shadow:0 6px 20px rgba(30,24,10,.06); }
.cx-po-tile img { width:100%; aspect-ratio:4/5; object-fit:cover; display:block; }
.cx-po-tile figcaption { display:flex; align-items:center; justify-content:space-between;
  gap:8px; padding:10px 12px; font-size:.85rem; }

/* Mobile-first adjustments (§16) */
@media (max-width:820px) {
  .cx-po-roles { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px) {
  .cx-po-card { padding:22px 16px 20px; border-radius:14px; }
  .cx-po-roles, .cx-po-bg { grid-template-columns:1fr; }
  .cx-po-photo img { width:82px; height:82px; }
  .cx-po-go .cx-btn { width:100%; min-width:0; }
  .cx-po-pair { gap:14px; }
  .cx-po-pair-banner { width:132px; height:36px; }
}
