/* Use case deck flow (ucd2): native website version of the General Deck flow */
.ucd{--b:#1352bf;--b2:#2f6fe4;--ink:#0b1b3a;--mut:#5b6b86;--line:#e4eaf5;--ease:cubic-bezier(.16,1,.3,1);
  background:radial-gradient(900px 360px at 85% 0%,rgba(47,111,228,.07),transparent 70%),radial-gradient(700px 320px at 0% 100%,rgba(47,111,228,.05),transparent 70%),linear-gradient(180deg,#fff 0%,#f6f9ff 100%);border-top:1px solid var(--color-border,#e5e7eb)}
.ucd *{box-sizing:border-box}
.ucd__wrap{max-width:80rem;margin:0 auto;padding:80px 32px 72px;border-inline:1px solid var(--color-border,#e5e7eb)}
.ucd__panel{position:relative}
.ucd__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:48px}
.ucd__intro{max-width:680px}
.ucd__eyebrow{margin:0 0 10px;font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--b)}
.ucd__h2{margin:0;font-size:clamp(30px,3.2vw,40px);line-height:1.12;font-weight:600;letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
.ucd__sub{margin:14px 0 0;font-size:18px;line-height:1.5;color:var(--mut);text-wrap:balance}
.ucd__ctrl{display:none;align-items:center;gap:8px}
.ucd__count{font-size:13px;color:var(--mut);margin-right:4px;font-variant-numeric:tabular-nums}.ucd__count b{color:var(--ink)}
.ucd__btn{width:38px;height:38px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);display:grid;place-items:center;cursor:pointer}
.ucd__btn:disabled{opacity:.35;cursor:default}
.ucd__btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ucd__steps{display:none}
.ucd__dots{display:none}

/* track: desktop = 4 columns with a stepper rail on top */
.ucd__track{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1.05fr 1.95fr 1.3fr 1.3fr;gap:20px;align-items:stretch}
.ucd__stage{position:relative;display:flex;flex-direction:column;gap:18px;min-width:0}
.ucd__node{display:flex;align-items:center;gap:10px;height:32px}
.ucd__num{flex:0 0 auto;display:grid;place-items:center;width:32px;height:32px;border-radius:999px;font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--b);background:#fff;border:1.5px solid rgba(19,82,191,.28);box-shadow:0 0 0 4px rgba(19,82,191,.06);transition:background .3s,color .3s,border-color .3s}
.ucd__name{flex:0 0 auto;font-size:16px;font-weight:600;color:var(--ink);letter-spacing:-.005em}
.ucd__line{position:relative;flex:1;height:1.5px;margin-right:-6px;background:linear-gradient(90deg,rgba(19,82,191,.35),rgba(19,82,191,.12));border-radius:2px}
.ucd__line::after{content:"";position:absolute;right:0;top:50%;width:7px;height:7px;border-top:1.5px solid rgba(19,82,191,.45);border-right:1.5px solid rgba(19,82,191,.45);transform:translateY(-50%) rotate(45deg)}
.ucd__stage:hover .ucd__num,.ucd__stage.is-on .ucd__num{background:var(--b);color:#fff;border-color:var(--b)}
.ucd__card{flex:1;display:flex;flex-direction:column;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:8px;box-shadow:0 1px 2px rgba(16,40,90,.04),0 16px 36px -26px rgba(16,40,90,.28);transition:transform .45s var(--ease),box-shadow .45s var(--ease),border-color .3s}
.ucd__stage:hover .ucd__card{transform:translateY(-4px);border-color:rgba(19,82,191,.22);box-shadow:0 1px 2px rgba(16,40,90,.04),0 26px 48px -28px rgba(19,82,191,.4)}
.ucd__vis{position:relative;height:236px;border-radius:14px;overflow:hidden;background:radial-gradient(260px 160px at 80% 0%,#e3ecff,transparent 70%),linear-gradient(180deg,#f1f5ff,#f8faff);border:1px solid #e9eff9}
.ucd__txt{padding:18px 12px 12px}
.ucd__k{display:none;margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--b)}
.ucd__txt h3{margin:0;font-size:17px;line-height:1.3;font-weight:600;color:var(--ink);text-wrap:balance}
.ucd__txt p{margin:6px 0 0;font-size:14px;line-height:1.55;color:var(--mut);text-wrap:pretty}
.ucd__pov{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}
.ucd__pov p{margin:0}.ucd__pov b{display:block;color:var(--b);font-size:13px;font-weight:600;margin-bottom:2px}

/* feature links under the flow */
.ucd__feat{list-style:none;margin:36px 0 0;padding:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 10px;font-size:14px}
.ucd__feat li:first-child{color:var(--mut);font-weight:500;margin-right:4px}
.ucd__feat a{display:inline-flex;padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font-weight:500;text-decoration:none;transition:border-color .2s,color .2s,background .2s}
.ucd__feat a:hover{border-color:rgba(19,82,191,.35);color:var(--b);background:#f4f8ff}

/* ---------- mini UI: shared ---------- */
.ucd__vis img{display:block}
.ua-av{flex:0 0 auto;width:22px;height:22px;border-radius:999px;display:grid;place-items:center;font-size:11px;font-weight:700;color:#fff;background:linear-gradient(135deg,#f472b6,#a855f7)}

/* Attract */
.ua-chips{position:absolute;z-index:2;top:12px;left:50%;transform:translateX(-50%);display:flex;gap:6px;padding:5px 8px;border-radius:999px;background:#fff;box-shadow:0 6px 16px -8px rgba(16,40,90,.35)}
.ua-chips img{width:16px;height:16px}
.ua-phone{position:absolute;left:50%;top:48px;bottom:10px;transform:translateX(-50%) rotate(-3deg);width:128px;padding:5px;border-radius:24px;background:#0f1f3d;box-shadow:0 20px 34px -16px rgba(16,40,90,.6);transition:transform .5s var(--ease)}
.ucd__stage:hover .ua-phone{transform:translateX(-50%) rotate(0deg)}
.ua-phone__scr{position:relative;width:100%;height:100%;border-radius:19px;overflow:hidden;background:#dfe7f5}
.ua-phone__scr>img{width:100%;height:100%;object-fit:cover}
.ua-phone__top{white-space:nowrap;position:absolute;left:0;right:0;top:0;display:flex;align-items:center;gap:6px;padding:9px 8px 14px;background:linear-gradient(180deg,rgba(0,0,0,.45),transparent);color:#fff;font-size:9px;line-height:1.15}
.ua-phone__top b{display:block;font-size:9.5px}.ua-phone__top small{opacity:.85;font-size:8px}
.ua-phone__top .ua-av{width:18px;height:18px;font-size:9px}
.ua-phone__cta{position:absolute;left:7px;right:7px;bottom:8px;display:flex;align-items:center;justify-content:flex-start;padding-left:9px;gap:5px;height:26px;white-space:nowrap;border-radius:9px;background:#25d366;color:#fff;font-size:10px;font-weight:700}
.ua-phone__cta img{width:12px;height:12px;filter:brightness(0) invert(1)}
.ua-tap{display:none;position:absolute;right:12px;bottom:12px;width:18px;height:18px;border-radius:999px;background:rgba(255,255,255,.55);border:2px solid #fff;box-shadow:0 0 0 0 rgba(255,255,255,.7);animation:uaTap 1.8s var(--ease) infinite}
@keyframes uaTap{0%{box-shadow:0 0 0 0 rgba(255,255,255,.8)}70%,100%{box-shadow:0 0 0 12px rgba(255,255,255,0)}}

/* Engage */
.ucd__vis--engage{display:grid;grid-template-columns:.92fr 1.08fr;gap:10px;padding:12px}
.ue-chat,.ue-inbox{background:#fff;border-radius:12px;border:1px solid #e3ebfa;box-shadow:0 10px 24px -16px rgba(16,40,90,.4);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.ue-chat__hd{display:flex;align-items:center;gap:6px;padding:7px 8px;border-bottom:1px solid #eef2f9;font-size:10px;line-height:1.15}
.ue-chat__hd b{display:block;font-size:10.5px}.ue-chat__hd small{color:#16a34a;font-size:8.5px}
.ue-chat__hd>img{width:14px;height:14px;margin-left:auto}
.ue-chat__body{flex:1;display:flex;flex-direction:column;gap:6px;padding:8px;background:#f3f6fb;font-size:10px;line-height:1.35}
.ue-chat__body p{margin:0;max-width:88%;padding:6px 8px;border-radius:10px}
.ue-in{background:#fff;border:1px solid #e6ecf6;align-self:flex-start;border-top-left-radius:3px!important}
.ue-out{background:#1352bf;color:#fff;align-self:flex-end;border-top-right-radius:3px!important}
.ue-ai{align-self:flex-end;font-size:8.5px;color:#1352bf;font-weight:600;background:#e7efff;padding:2px 7px;border-radius:999px}
.ue-inbox__bar{display:flex;align-items:center;gap:4px;padding:7px 8px;border-bottom:1px solid #eef2f9;font-size:10px;font-weight:600}
.ue-inbox__bar i{width:6px;height:6px;border-radius:99px;background:#dbe3f0}.ue-inbox__bar span{margin-left:4px}
.ue-assign{margin:7px 7px 2px;padding:6px 8px;border-radius:8px;background:linear-gradient(90deg,#1352bf,#3b7bf0);color:#fff;font-size:9px;line-height:1.3}
.ue-inbox ul{list-style:none;margin:0;padding:4px 6px 6px;display:flex;flex-direction:column;gap:2px}
.ue-inbox li{display:flex;align-items:center;gap:6px;padding:5px 5px;border-radius:7px;font-size:9.5px;line-height:1.2;min-width:0}
.ue-inbox li.is-on{background:#eef4ff}
.ue-inbox li img{width:14px;height:14px;flex:0 0 auto}
.ue-inbox li span{min-width:0;flex:1}.ue-inbox li b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:var(--ink)}
.ue-inbox li small{display:block;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}
.ue-inbox li em{font-style:normal;flex:0 0 auto;min-width:15px;height:15px;border-radius:99px;background:#1352bf;color:#fff;font-size:8.5px;font-weight:700;display:grid;place-items:center}

/* Qualify */
.ucd__vis--qualify{padding:12px;display:flex;flex-direction:column;gap:10px}
.uq-board{flex:1;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;min-height:0}
.uq-col{background:#fff;border:1px solid #e3ebfa;border-radius:10px;padding:5px;display:flex;flex-direction:column;gap:5px;min-width:0}
.uq-col>p{white-space:nowrap!important;letter-spacing:-.01em;margin:0;padding:4px 5px;border-radius:6px;font-size:9px;font-weight:700;line-height:1.2;display:flex;justify-content:space-between;gap:2px;white-space:nowrap}
.uq-col>p em{display:none}
.uq-col--new>p{background:#e0ecff;color:#1352bf}
.uq-col--int>p{background:#fdecec;color:#c2410c}
.uq-col--hot>p{background:#dcfce7;color:#15803d}
.uq-c{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:6px 5px;border-radius:7px;border:1px solid #edf1f8;background:#fbfcff;font-size:9.5px;min-height:28px}
.uq-c img{width:12px;height:12px}.uq-c b{font-weight:600}.uq-c small{white-space:nowrap;flex-basis:100%;font-size:8.5px;color:#15803d;font-weight:600}
.uq-c--ghost{border-style:dashed;background:transparent}
.uq-c--move{border-color:#86efac;background:#f0fdf4;box-shadow:0 8px 16px -10px rgba(21,128,61,.6);transform:rotate(-3deg);animation:uqMove 3.2s var(--ease) infinite}
@keyframes uqMove{0%,15%{transform:translateX(-40px) rotate(-6deg);opacity:.0}35%,85%{transform:none;opacity:1}100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.uq-c--move,.ua-tap{animation:none}}
.uq-capi{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #e3ebfa;box-shadow:0 8px 20px -14px rgba(16,40,90,.45);font-size:10px;line-height:1.2}
.uq-capi>img{width:20px;height:20px}.uq-capi b{display:block;font-size:10.5px}.uq-capi small{color:var(--mut);font-size:9px}
.uq-capi i{margin-left:auto;font-style:normal;width:18px;height:18px;border-radius:99px;background:#16a34a;color:#fff;font-size:10px;display:grid;place-items:center;font-weight:700}

/* Convert */
.ucd__vis--convert{padding:12px;display:flex;flex-direction:column;gap:8px}
.uc-chart{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e3ebfa;border-radius:12px;padding:9px 10px 9px;box-shadow:0 10px 22px -16px rgba(16,40,90,.45)}
.uc-chart__hd{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;line-height:1.15}
.uc-chart__hd small{display:block;font-size:8.5px;color:var(--mut);white-space:nowrap}
.uc-chart__hd b{display:block;font-size:11px;font-weight:700;color:var(--ink);white-space:nowrap}
.uc-chart__hd em{flex:0 0 auto;font-style:normal;font-size:9.5px;font-weight:700;color:#15803d;background:#dcfce7;border:1px solid #bbf7d0;padding:3px 7px;border-radius:999px;white-space:nowrap}
.uc-chart__svg{display:block;width:100%;flex:1;min-height:34px;margin:6px 0 6px}
.uc-chart__dot{position:absolute;right:9px;top:39px;width:9px;height:9px;border-radius:99px;background:#1352bf;border:2px solid #fff;box-shadow:0 0 0 3px rgba(19,82,191,.18)}
.uc-kpis{display:flex;align-items:center;gap:6px}
.uc-kpis span{flex:1;display:flex;align-items:baseline;justify-content:space-between;gap:4px;padding:4px 8px;border-radius:999px;background:#f2f6fe;line-height:1.2;white-space:nowrap}
.uc-kpis small{font-size:8.5px;color:var(--mut)}.uc-kpis b{font-size:11px;font-variant-numeric:tabular-nums;color:var(--ink)}
.uc-kpis span.is-win{background:#effcf3}.uc-kpis span.is-win b{color:#15803d}
.uc-kpis i{font-style:normal;font-size:11px;color:#9fb3d6}
.uc-top{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 6px;background:#fff;border:1px solid #e3ebfa;border-radius:12px;box-shadow:0 8px 18px -14px rgba(16,40,90,.45);min-width:0}
.uc-top__th{flex:0 0 auto;width:24px;height:32px;border-radius:6px;overflow:hidden;background:#dfe7f5}
.uc-top__th img{width:100%;height:100%;object-fit:cover}
.uc-top__tx{flex:1;min-width:0;line-height:1.2}
.uc-top__tx small{display:flex;align-items:center;gap:3px;font-size:8.5px;color:var(--mut);white-space:nowrap}
.uc-top__tx small img{width:10px;height:10px}
.uc-top__tx b{display:block;font-size:10px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uc-top em{flex:0 0 auto;font-style:normal;font-size:9.5px;font-weight:700;color:#fff;background:linear-gradient(135deg,#22c55e,#16a34a);padding:3px 8px;border-radius:999px;white-space:nowrap}
.uc-funnel{list-style:none;margin:0;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;gap:0;background:#fff;border:1px solid #e3ebfa;border-radius:999px;font-size:9.5px;font-weight:600;color:var(--ink)}
.uc-funnel li{position:relative;display:flex;align-items:center;gap:4px;white-space:nowrap}
.uc-funnel li::before{content:"";width:6px;height:6px;border-radius:99px;background:#4d8bff}
.uc-funnel li+li{flex:1}
.uc-funnel li+li::after{content:"";order:-1;flex:1;min-width:6px;height:0;border-top:1.5px dashed #c3d3ef;margin:0 5px}
.uc-funnel li.is-win{color:#15803d}.uc-funnel li.is-win::before{background:#16a34a}

/* ---------- tablet: 2x2 ---------- */
@media (max-width:1100px){
  .ucd__track{grid-template-columns:1fr 1.6fr;row-gap:36px}
  .ucd__stage:nth-child(2) .ucd__line{visibility:hidden}
}
/* ---------- mobile: swipeable cards with a stage tab bar ---------- */
@media (max-width:767px){
  .ucd__wrap{padding:48px 0 44px;border-inline:0}
  .ucd__head{padding:0 20px;margin-bottom:22px;display:block}
  .ucd__h2{font-size:28px}
  .ucd__sub{font-size:16px}
  .ucd__steps{list-style:none;position:relative;display:flex;justify-content:space-between;margin:0 12px 18px;padding:0;counter-reset:s}
  .ucd__steps::before{content:"";position:absolute;left:12.5%;right:12.5%;top:14px;height:1.5px;background:linear-gradient(90deg,rgba(19,82,191,.3),rgba(19,82,191,.12))}
  .ucd__steps li{position:relative;counter-increment:s;display:flex;flex-direction:column;align-items:center;gap:6px;width:25%;font-size:12.5px;font-weight:600;color:var(--mut);cursor:pointer;transition:color .25s}
  .ucd__steps li::before{content:"0" counter(s);display:grid;place-items:center;width:28px;height:28px;border-radius:999px;font-size:11px;font-weight:700;color:var(--b);background:#fff;border:1.5px solid rgba(19,82,191,.28);transition:background .25s,color .25s,border-color .25s,box-shadow .25s}
  .ucd__steps li.is-on{color:var(--ink)}
  .ucd__steps li.is-on::before{background:var(--b);color:#fff;border-color:var(--b);box-shadow:0 0 0 4px rgba(19,82,191,.12)}
  .ucd__track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:4px 20px 14px;scroll-padding-inline:20px;overscroll-behavior-x:contain}
  .ucd__track::-webkit-scrollbar{display:none}
  .ucd__track{align-items:flex-start}
  .ucd__stage{flex:0 0 85%;scroll-snap-align:start;gap:0}
  .ucd__node{display:none}
  .ucd__stage:hover .ucd__card{transform:none}
  .ucd__k{display:block}
  .ucd__vis{height:250px}
  .ucd__pov{grid-template-columns:1fr;gap:8px}
  .ucd__vis--engage{grid-template-columns:1.12fr .88fr;gap:8px;padding:10px}
  .ue-chat__body p{max-width:94%}
  .ue-chat__hd b{white-space:nowrap}
  .ucd__dots{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:6px}
  .ucd__dots i{width:7px;height:7px;border-radius:99px;background:rgba(19,82,191,.2);transition:width .3s var(--ease),background .3s}
  .ucd__dots i.is-on{width:22px;background:var(--b)}
  .ucd__feat{padding:0 20px;margin-top:26px;justify-content:flex-start}
  .ucd__feat li:first-child{flex-basis:100%}
}
/* hero fills the first mobile screen so the next section never peeks in */
@media (max-width:767px){.ucd-hero{min-height:calc(100svh - 110px)}}

/* ===== ucd3: layout variants for the other deck flows ===== */
.ucd--eq4 .ucd__track{grid-template-columns:repeat(4,minmax(0,1fr))}
.ucd--n3 .ucd__track{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:1100px) and (min-width:768px){
  .ucd--eq4 .ucd__track{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ucd--n3 .ucd__track{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ucd--n3 .ucd__stage:nth-child(2) .ucd__line{visibility:visible}
}
@media (max-width:767px){
  .ucd--n3 .ucd__steps li{width:33.333%}
  .ucd--n3 .ucd__steps::before{left:16.666%;right:16.666%}
}

/* ===== ucd3: shared mini UI kit ===== */
.ux-mv{padding:12px;display:flex;flex-direction:column;gap:8px}
.ux-mw{background:#fff;border:1px solid #e3ebfa;border-radius:12px;box-shadow:0 10px 22px -16px rgba(16,40,90,.45);min-width:0}
.ux-mw--grow{flex:1;min-height:0;overflow:hidden}
.ux-mw__hd{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 10px 6px;font-size:10.5px;font-weight:700;color:var(--ink);line-height:1.2;white-space:nowrap}
.ux-mw__hd small{font-weight:500;color:var(--mut);font-size:8.5px}
.ux-ml{list-style:none;margin:0;padding:0 6px 6px;display:flex;flex-direction:column;gap:3px}
.ux-ml li{display:flex;align-items:center;gap:7px;padding:5px 5px;border-radius:8px;font-size:9.5px;line-height:1.2;min-width:0}
.ux-ml li.is-on{background:#eef4ff}
.ux-ml li>img{width:14px;height:14px;flex:0 0 auto}
.ux-ml__t{flex:1;min-width:0}
.ux-ml__t b{display:block;font-size:10px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ux-ml__t small{display:block;font-size:8.5px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ux-fi{flex:0 0 auto;display:grid;place-items:center;width:24px;height:24px;border-radius:6px;font-size:7.5px;font-weight:800;letter-spacing:.02em;color:#fff}
.ux-fi--pdf{background:linear-gradient(135deg,#f87171,#dc2626)}.ux-fi--web{background:linear-gradient(135deg,#60a5fa,#1352bf)}.ux-fi--txt{background:linear-gradient(135deg,#94a3b8,#475569)}
.ux-pl{flex:0 0 auto;display:inline-flex;align-items:center;gap:3px;font-style:normal;font-size:8.5px;font-weight:700;padding:2px 7px;border-radius:999px;white-space:nowrap;line-height:1.5}
.ux-pl--g{background:#dcfce7;color:#15803d}.ux-pl--b{background:#e0ecff;color:#1352bf}.ux-pl--a{background:#fef3c7;color:#b45309}.ux-pl--r{background:#fee2e2;color:#b91c1c}.ux-pl--n{background:#eef2f7;color:#475569}.ux-pl--solid{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff}
.ux-av{flex:0 0 auto;width:22px;height:22px;border-radius:999px;display:grid;place-items:center;font-size:10px;font-weight:700;color:#fff;background:linear-gradient(135deg,#60a5fa,#1352bf)}
.ux-av--p{background:linear-gradient(135deg,#f472b6,#a855f7)}.ux-av--g{background:linear-gradient(135deg,#4ade80,#16a34a)}.ux-av--a{background:linear-gradient(135deg,#fbbf24,#ea580c)}
.ux-tog{flex:0 0 auto;width:24px;height:14px;border-radius:99px;background:#cbd5e1;position:relative}
.ux-tog::after{content:"";position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:99px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.ux-tog.is-on{background:#1352bf}.ux-tog.is-on::after{left:12px}
.ux-mchip{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #e3ebfa;box-shadow:0 8px 20px -14px rgba(16,40,90,.45);font-size:9px;line-height:1.25;min-width:0}
.ux-mchip>img{width:18px;height:18px;flex:0 0 auto}
.ux-mchip__t{flex:1;min-width:0}.ux-mchip__t b{display:block;font-size:10px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ux-mchip__t small{display:block;color:var(--mut);font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ux-mchip__ic{flex:0 0 auto;display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#eef4ff;color:#1352bf;font-size:11px}
.ux-mchip__ok{margin-left:auto;flex:0 0 auto;width:18px;height:18px;border-radius:99px;background:#16a34a;color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center;font-style:normal}

/* bubble (WhatsApp style) */
.ux-mb{display:flex;flex-direction:column;gap:6px;padding:9px;background:#f3f6fb;font-size:10px;line-height:1.4}
.ux-mb p{margin:0;max-width:92%;padding:6px 9px;border-radius:10px}
.ux-mb .in{background:#fff;border:1px solid #e6ecf6;align-self:flex-start;border-top-left-radius:3px}
.ux-mb .out{background:#1352bf;color:#fff;align-self:flex-end;border-top-right-radius:3px}
.ux-mb .wa{background:#fff;border:1px solid #e6ecf6;align-self:flex-start;border-top-left-radius:3px;max-width:100%}
.ux-mb__meta{align-self:flex-end;font-size:8.5px;color:var(--mut);font-weight:600}
.ux-mb__meta.is-ok{color:#16a34a}

/* mini kanban */
.ux-mk{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-height:0}
.ux-mk__col{background:#fff;border:1px solid #e3ebfa;border-radius:10px;padding:5px;display:flex;flex-direction:column;gap:5px;min-width:0;overflow:hidden}
.ux-mk__col>p{margin:0;padding:4px 5px;border-radius:6px;font-size:8.5px;font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ux-mk__col--b>p{background:#e0ecff;color:#1352bf}.ux-mk__col--a>p{background:#fef3c7;color:#b45309}.ux-mk__col--g>p{background:#dcfce7;color:#15803d}
.ux-mk__c{display:flex;flex-direction:column;gap:2px;padding:5px 6px;border-radius:7px;border:1px solid #edf1f8;background:#fbfcff;font-size:8.5px;line-height:1.25;min-width:0}
.ux-mk__c b{font-size:9px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ux-mk__c small{color:var(--mut);font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ux-mk__c--lift{border-color:#93c5fd;background:#f5f9ff;box-shadow:0 8px 16px -10px rgba(19,82,191,.55);transform:rotate(-2deg)}

/* donut */
.ux-md{display:flex;align-items:center;gap:12px;padding:10px}
.ux-md__ring{flex:0 0 auto;position:relative;width:96px;height:96px;border-radius:999px;background:conic-gradient(#1352bf 0 90%,#93c5fd 90% 100%)}
.ux-md__ring::after{content:"";position:absolute;inset:14px;border-radius:999px;background:#fff}
.ux-md__ring span{position:absolute;inset:0;z-index:1;display:grid;place-content:center;text-align:center;line-height:1.1}
.ux-md__ring b{font-size:18px;font-weight:700;color:var(--ink)}.ux-md__ring small{font-size:8px;color:var(--mut)}
.ux-md__leg{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;font-size:9.5px}
.ux-md__leg p{margin:0;display:flex;align-items:center;gap:6px;white-space:nowrap}
.ux-md__leg i{width:8px;height:8px;border-radius:3px;background:#1352bf;flex:0 0 auto}.ux-md__leg i.h{background:#93c5fd}
.ux-md__leg b{margin-left:auto;font-variant-numeric:tabular-nums}
.ux-mstats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.ux-mstats span{background:#fff;border:1px solid #e3ebfa;border-radius:10px;padding:6px 8px;line-height:1.2;min-width:0}
.ux-mstats small{display:block;font-size:8px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ux-mstats b{font-size:12px;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.ux-mstats b.up{color:#16a34a}

/* form */
.ux-mf{padding:2px 10px 10px;display:flex;flex-direction:column;gap:5px}
.ux-mf label{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 8px;border:1px solid #e6ecf6;border-radius:7px;font-size:9px;color:var(--mut);white-space:nowrap}
.ux-mf label b{color:var(--ink);font-weight:600;overflow:hidden;text-overflow:ellipsis}
.ux-mf__btn{margin-top:2px;display:flex;align-items:center;justify-content:center;height:24px;border-radius:7px;background:#1352bf;color:#fff;font-size:9.5px;font-weight:700}

/* automation flow nodes */
.ux-mn{flex:1;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:4px 6px}
.ux-mn__n{display:flex;align-items:center;gap:7px;padding:7px 9px;background:#fff;border:1px solid #e3ebfa;border-radius:10px;box-shadow:0 6px 14px -12px rgba(16,40,90,.5);font-size:9.5px;line-height:1.2;min-width:0}
.ux-mn__n>img{width:14px;height:14px;flex:0 0 auto}
.ux-mn__n .ux-mchip__ic{width:20px;height:20px;font-size:10px}
.ux-mn__n span{flex:1;min-width:0}.ux-mn__n b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ux-mn__n small{display:block;font-size:8.5px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ux-mn__n--t{border-color:#bfdbfe;background:#f5f9ff}
.ux-mn__j{align-self:center;width:1.5px;height:12px;background:linear-gradient(#93c5fd,#c7d7f2)}

/* timeline */
.ux-mt{list-style:none;margin:0;padding:2px 10px 8px;display:flex;flex-direction:column;gap:0}
.ux-mt li{position:relative;display:flex;align-items:center;gap:8px;padding:5px 0;font-size:9.5px;line-height:1.2;min-width:0}
.ux-mt li::before{content:"";position:absolute;left:8px;top:0;bottom:0;width:1.5px;background:#e3ebfa;z-index:0}
.ux-mt li:first-child::before{top:50%}.ux-mt li:last-child::before{bottom:50%}
.ux-mt li>img,.ux-mt li>.ux-mt__dot{position:relative;z-index:1;flex:0 0 auto;width:17px;height:17px;padding:2px;border-radius:99px;background:#fff;border:1px solid #e3ebfa}
.ux-mt__dot{display:grid;place-items:center;font-size:8px;color:#1352bf}
.ux-mt li span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink);font-weight:500}
.ux-mt li time{flex:0 0 auto;font-size:8.5px;color:var(--mut);font-variant-numeric:tabular-nums}

/* bars */
.ux-mbar{list-style:none;margin:0;padding:0 10px 8px;display:flex;flex-direction:column;gap:6px}
.ux-mbar li{display:grid;grid-template-columns:14px minmax(0,1fr) 54px 30px;align-items:center;gap:6px;font-size:9.5px}
.ux-mbar img{width:13px;height:13px}.ux-mbar span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink);font-weight:500}
.ux-mbar i{height:6px;border-radius:99px;background:#e8eef9;position:relative;overflow:hidden}
.ux-mbar i::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--w);border-radius:inherit;background:linear-gradient(90deg,#4d8bff,#1352bf)}
.ux-mbar b{text-align:right;font-variant-numeric:tabular-nums;color:var(--ink)}
.ux-mprog{height:6px;border-radius:99px;background:#e8eef9;overflow:hidden;margin-top:5px}
.ux-mprog i{display:block;height:100%;width:var(--w);border-radius:inherit;background:linear-gradient(90deg,#4d8bff,#1352bf)}

/* phone screen (OTP) */
.ux-mp{position:absolute;left:50%;top:14px;bottom:-24px;transform:translateX(-50%);width:150px;padding:6px;border-radius:26px;background:#0f1f3d;box-shadow:0 20px 34px -16px rgba(16,40,90,.6)}
.ux-mp__s{height:100%;border-radius:20px;background:#fff;padding:20px 12px 10px;display:flex;flex-direction:column;gap:7px;text-align:left}
.ux-mp__brand{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:var(--ink)}
.ux-mp__s h4{margin:4px 0 0;font-size:13px;font-weight:700;color:var(--ink);line-height:1.2}
.ux-mp__s p{margin:0;font-size:8.5px;color:var(--mut);line-height:1.35}
.ux-mp__in{display:flex;align-items:center;gap:5px;padding:7px 8px;border:1.5px solid #93c5fd;border-radius:8px;font-size:9.5px;font-weight:600;color:var(--ink);white-space:nowrap;box-shadow:0 0 0 3px rgba(19,82,191,.1)}
.ux-mp__btn{display:flex;align-items:center;justify-content:center;height:26px;border-radius:8px;background:#1352bf;color:#fff;font-size:10px;font-weight:700;white-space:nowrap}
.ux-mp__tags{display:flex;flex-wrap:wrap;gap:4px}
/* code */
.ux-mcode{flex:1;min-height:0;background:#0b1b3a;border-radius:12px;padding:10px 11px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:9.5px;line-height:1.6;color:#c7d7f2;overflow:hidden;box-shadow:0 14px 26px -16px rgba(4,22,70,.7)}
.ux-mcode__hd{display:flex;align-items:center;gap:6px;margin-bottom:6px;font-family:inherit}
.ux-mcode__hd i{width:7px;height:7px;border-radius:99px;background:#334155}
.ux-mcode__hd span{margin-left:4px;color:#8ba3cc;font-size:8.5px}
.ux-mcode pre{margin:0;font:inherit;white-space:pre}
.ux-mcode .k{color:#7dd3fc}.ux-mcode .s{color:#86efac}.ux-mcode .m{color:#fbbf24;font-weight:700}.ux-mcode .c{color:#64748b}
/* otp boxes */
.ux-mo{display:flex;gap:5px;justify-content:center}
.ux-mo span{display:grid;place-items:center;width:24px;height:30px;border-radius:7px;background:#fff;border:1.5px solid #bfdbfe;font-size:13px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.ux-mo span.is-ok{border-color:#86efac;background:#f0fdf4}
/* ucd3 fixes */
.ux-mw__hd img{width:14px;height:14px;flex:0 0 auto}
.ux-mn__n>span:not(.ux-mchip__ic){flex:1;min-width:0}
.ux-mn__n>.ux-mchip__ic{flex:0 0 auto}
.ux-mk__c b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ux-ml li .ux-mchip__ic{width:20px;height:20px;font-size:10px}
.ux-ml--tight li{padding:3px 5px}.ux-ml--tight .ux-mchip__ic{width:18px;height:18px}
.ux-mb--tight{padding:7px 9px;gap:4px}
.ux-mp__in img{width:13px!important;height:13px!important;flex:0 0 auto}
.ux-mchip>.ux-mo{flex:1;min-width:0;justify-content:flex-start;gap:4px}
.ux-mchip>.ux-mo span{flex:1 1 0;min-width:0;max-width:24px;width:auto}
.ux-mchip>.ux-mo~.ux-pl{flex:none;white-space:nowrap}
.ucd__ph{display:inline-block;max-width:100%}
:lang(ja) main h1,:lang(ja) .ucd__h2,:lang(ja) .ucd__h3{word-break:auto-phrase}
.ux-mp{width:172px;top:12px}
.ux-mp__s{padding:16px 12px 10px;gap:6px}
.ux-mp__in{white-space:nowrap;flex-wrap:nowrap;font-size:9px;padding:6px 7px}
.ux-mp__tags .ux-pl{font-size:8px;padding:2px 6px}
