/* The product as the website draws it (site-ui.js): the app's own look, sharp. Scoped by scripts/scope-css.js. */
.site {
  --u-ink: #1C1C1E; --u-ink-2: #48484D; --u-ink-3: #5B5B60; --u-line: rgba(60,60,67,.12); --u-line-2: rgba(60,60,67,.07);
  --u-bg: #F5F5F7; --u-card: #FFFFFF; --u-red: #E0263A; --u-red-hi: #FF6B57; --u-red-soft: #FDECEE; --u-ok: #17703D; --u-ok-soft: #E6F4EC;
  --u-blue: #3D6BC9; --u-amber: #8F5208; --u-amber-soft: #FDF1DF;
  --u-font: "Inter", "Inter Tight", system-ui, sans-serif;
}
:where(.site) .u { font-family: var(--u-font); color: var(--u-ink); -webkit-font-smoothing: antialiased; }
:where(.site) .u .lr, :where(.site) .u .tl-ax, :where(.site) .u .fu .d, :where(.site) .u .status { font-variant-numeric: tabular-nums; }
:where(.site) .u * { box-sizing: border-box; margin: 0; }
:where(.site) .u svg { display: block; flex: none; }

/* a browser window */
:where(.site) .win { background: var(--u-bg); border-radius: 14px; overflow: hidden; position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04), 0 24px 48px -12px rgba(28,28,30,.18), 0 60px 120px -40px rgba(28,28,30,.25); }
:where(.site) .win-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--u-line-2); }
:where(.site) .win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; } :where(.site) .win-bar i:nth-child(2) { background: #FEBC2E; } :where(.site) .win-bar i:nth-child(3) { background: #28C840; }
:where(.site) .win-bar .url { margin: 0 auto; width: 300px; height: 24px; border-radius: 7px; background: rgba(0,0,0,.045); font-size: 12px; color: var(--u-ink-3); display: flex; align-items: center; justify-content: center; gap: 6px; }
:where(.site) .app { display: grid; grid-template-columns: 56px 1fr; }
:where(.site) .side { border-right: 1px solid var(--u-line-2); background: rgba(255,255,255,.55); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; }
:where(.site) .side .mk { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--u-red-hi), var(--u-red)); margin-bottom: 8px; display: grid; place-items: center; }
:where(.site) .side span { width: 36px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--u-ink-3); }
:where(.site) .side span.on { background: var(--u-red-soft); color: var(--u-red); }
:where(.site) .top { height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 18px; }
:where(.site) .search { flex: 1; max-width: 420px; height: 32px; border-radius: 9px; background: rgba(0,0,0,.045); display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 13px; color: var(--u-ink-3); }
:where(.site) .pill-store { margin-left: auto; height: 32px; padding: 0 12px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--u-line); display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
:where(.site) .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #fff; flex: none; }
:where(.site) .av.s { width: 22px; height: 22px; font-size: 9.5px; }

/* the customer page */
:where(.site) .main { padding: 4px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
:where(.site) .cust { display: flex; align-items: center; gap: 14px; }
:where(.site) .cust .av { width: 52px; height: 52px; font-size: 17px; background: #E9E5F7; color: #5B4BB0; }
:where(.site) .cust h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
:where(.site) .cust .meta { margin-top: 4px; font-size: 13px; color: var(--u-ink-3); display: flex; gap: 12px; align-items: center; }
:where(.site) .cust .acts { margin-left: auto; display: flex; gap: 8px; }
:where(.site) .ub { height: 34px; padding: 0 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; background: #fff; box-shadow: 0 0 0 1px var(--u-line), 0 1px 2px rgba(0,0,0,.04); color: var(--u-ink); }
:where(.site) .ub.red { color: #fff; background: linear-gradient(180deg, var(--u-red-hi), var(--u-red)); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 14px -6px rgba(224,38,58,.6); }
:where(.site) .card { background: var(--u-card); border-radius: 14px; box-shadow: 0 0 0 1px var(--u-line-2), 0 1px 3px rgba(0,0,0,.04); }
:where(.site) .alert { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
:where(.site) .alert .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--u-red-soft); color: var(--u-red); display: grid; place-items: center; }
:where(.site) .alert b { display: block; font-size: 14px; font-weight: 600; }
:where(.site) .alert small { font-size: 12.5px; color: var(--u-ink-3); }
:where(.site) .alert .ub { margin-left: auto; }
:where(.site) .tl { padding: 14px 16px 12px; }
:where(.site) .tl-h { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; }
:where(.site) .legend { display: flex; gap: 14px; font-size: 11.5px; font-weight: 500; color: var(--u-ink-3); }
:where(.site) .legend i { display: inline-block; width: 14px; height: 6px; border-radius: 2px; background: var(--u-blue); margin-right: 5px; vertical-align: 1px; }
:where(.site) .legend i.w { background: repeating-linear-gradient(-45deg, var(--u-red) 0 1.5px, transparent 1.5px 4px); }
:where(.site) .tl-ax { display: grid; grid-template-columns: 132px 1fr; margin-top: 10px; font-size: 11px; color: var(--u-ink-3); }
:where(.site) .tl-ax .m { display: flex; justify-content: space-between; border-bottom: 1px solid var(--u-line-2); padding-bottom: 6px; }
:where(.site) .tl-row { display: grid; grid-template-columns: 132px 1fr; align-items: center; height: 30px; font-size: 12.5px; font-weight: 600; }
:where(.site) .tl-row .tr { position: relative; height: 100%; }
:where(.site) .tl-row .b { position: absolute; top: 50%; height: 7px; margin-top: -3.5px; border-radius: 4px; background: var(--u-blue); }
:where(.site) .tl-row .w { position: absolute; top: 50%; height: 7px; margin-top: -3.5px; border-radius: 0 4px 4px 0; background: repeating-linear-gradient(-45deg, var(--u-red) 0 1.5px, #FBD5DA 1.5px 4px); }
:where(.site) .tl-row .b.dim { background: #B9C8EA; }
:where(.site) .tl-row .w.dim { background: repeating-linear-gradient(-45deg, #9DB3E3 0 1.5px, #E6EDFA 1.5px 4px); }
:where(.site) .tl-row .lab { position: absolute; top: 50%; transform: translate(8px, -50%); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
:where(.site) .tl-row .lab.r { color: #B81B2C; }
:where(.site) .today { position: absolute; top: 0; bottom: 0; width: 1.5px; background: var(--u-ink); }
:where(.site) .today em { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10.5px; font-weight: 600; color: #fff; background: var(--u-ink); border-radius: 6px; padding: 3px 7px; white-space: nowrap; }
:where(.site) .lines { padding: 6px 4px 4px; }
:where(.site) .lines-h { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 10px; font-size: 14px; font-weight: 600; }
:where(.site) .lines-h small { font-size: 12.5px; color: var(--u-ink-3); font-weight: 500; }
:where(.site) .lr { display: grid; grid-template-columns: 1.1fr 1.3fr 1.2fr 1fr .6fr; align-items: center; padding: 9px 12px; border-top: 1px solid var(--u-line-2); font-size: 12.5px; }
:where(.site) .lr b { font-weight: 600; display: block; }
:where(.site) .lr small { display: block; color: var(--u-ink-3); font-size: 11.5px; }
:where(.site) .lr .left { font-weight: 600; }
:where(.site) .lr .left.r { color: #B81B2C; }
:where(.site) .lr .mo { text-align: right; font-weight: 600; }
:where(.site) .chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(0,0,0,.05); color: var(--u-ink-2); }
:where(.site) .chip.red { background: var(--u-red-soft); color: #B81B2C; }
:where(.site) .chip.ok { background: var(--u-ok-soft); color: var(--u-ok); }
:where(.site) .chip.amb { background: var(--u-amber-soft); color: var(--u-amber); }

/* a phone */
:where(.site) .phone { width: 300px; border-radius: 46px; padding: 10px; background: #1B1B1D; position: relative;
  box-shadow: inset 0 0 0 1.5px #3A3A3D, 0 0 0 1px rgba(0,0,0,.2), 0 30px 60px -20px rgba(28,28,30,.4), 0 70px 120px -50px rgba(28,28,30,.4); }
:where(.site) .screen { border-radius: 37px; overflow: hidden; background: var(--u-bg); position: relative; height: 610px; }
:where(.site) .island { position: absolute; top: 10px; left: 50%; margin-left: -46px; width: 92px; height: 26px; border-radius: 14px; background: #000; z-index: 3; }
:where(.site) .status { height: 46px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 26px 6px; font-size: 13px; font-weight: 600; }
:where(.site) .ph-h { padding: 8px 18px 6px; }
:where(.site) .ph-h h4 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
:where(.site) .ph-h small { font-size: 12.5px; color: var(--u-ink-3); }
:where(.site) .seg { margin: 8px 14px 4px; display: flex; background: rgba(0,0,0,.05); border-radius: 10px; padding: 3px; font-size: 12.5px; font-weight: 600; color: var(--u-ink-3); }
:where(.site) .seg span { flex: 1; text-align: center; padding: 6px 0; border-radius: 8px; }
:where(.site) .seg span.on { background: #fff; color: var(--u-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
:where(.site) .grp { margin: 10px 12px 0; }
:where(.site) .grp-h { display: flex; justify-content: space-between; padding: 4px 6px 6px; font-size: 13px; font-weight: 700; }
:where(.site) .grp-h small { font-weight: 500; color: var(--u-ink-3); font-size: 12px; }
:where(.site) .fu { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 12px; margin-bottom: 6px; box-shadow: 0 0 0 1px var(--u-line-2); }
:where(.site) .fu .ck { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #C7C7CC; flex: none; }
:where(.site) .fu .t { flex: 1; min-width: 0; }
:where(.site) .fu .t b { display: block; font-size: 13.5px; font-weight: 600; }
:where(.site) .fu .t small { display: block; font-size: 11.5px; color: var(--u-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:where(.site) .fu .d { font-size: 11.5px; font-weight: 600; text-align: right; white-space: nowrap; }
:where(.site) .fu .d.r { color: #B81B2C; }
:where(.site) .tabs { position: absolute; left: 10px; right: 10px; bottom: 12px; height: 60px; border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 0 0 1px var(--u-line-2), 0 8px 20px -10px rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: space-around; font-size: 10px; font-weight: 600; color: var(--u-ink-3); }
:where(.site) .tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
:where(.site) .tabs span.on { color: var(--u-red); }
:where(.site) .tabs .plus { width: 44px; height: 36px; border-radius: 12px; background: linear-gradient(180deg, var(--u-red-hi), var(--u-red)); color: #fff; display: grid; place-items: center; }

/* floating pieces */
:where(.site) .toast { width: 330px; padding: 13px 14px; border-radius: 16px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 18px 40px -14px rgba(28,28,30,.3); display: flex; gap: 11px; }
:where(.site) .toast .ic { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--u-red-hi), var(--u-red)); display: grid; place-items: center; flex: none; }
:where(.site) .toast .t { font-size: 13px; color: var(--u-ink-3); }
:where(.site) .toast .t b { display: block; font-size: 13.5px; color: var(--u-ink); font-weight: 600; margin: 1px 0 1px; }
:where(.site) .mini { padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 18px 40px -16px rgba(28,28,30,.25); }
:where(.site) .mini-h { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--u-ink-3); }
:where(.site) .big-n { white-space: nowrap; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--u-ink); }
:where(.site) .who { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; }
:where(.site) .who b { font-weight: 600; }
:where(.site) .who .st { margin-left: auto; }
:where(.site) .bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 10px; }
:where(.site) .bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: #E4E4EA; }
:where(.site) .bars i.on { background: linear-gradient(180deg, var(--u-red-hi), var(--u-red)); }

/* ---- feature pages: the follow-ups list, the import's dry run, detail cards ---- */
:where(.site) .pg-h { display: flex; align-items: center; gap: 8px; }
:where(.site) .pg-h h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
:where(.site) .pg-h small { font-size: 12.5px; color: var(--u-ink-3); }
:where(.site) .pg-h > div { margin-right: auto; }
:where(.site) .seg2u { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(0,0,0,.05); width: max-content; font-size: 12.5px; font-weight: 600; color: var(--u-ink-3); }
:where(.site) .seg2u span { padding: 6px 12px; border-radius: 8px; }
:where(.site) .seg2u span.on { background: #fff; color: var(--u-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
:where(.site) .flt { display: flex; align-items: center; gap: 6px; }
:where(.site) .flt .chip { background: #fff; box-shadow: 0 0 0 1px var(--u-line); }
:where(.site) .flt-n { margin-left: auto; font-size: 12.5px; color: var(--u-ink-3); }
:where(.site) .cl { padding: 2px 4px 4px; }
:where(.site) .cl-r { display: grid; grid-template-columns: 1.5fr 1.25fr .8fr .7fr .9fr 1fr; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid var(--u-line-2); font-size: 12.5px; }
:where(.site) .cl-r.cl-h { border-top: 0; font-size: 11.5px; font-weight: 600; color: var(--u-ink-3); padding-top: 10px; padding-bottom: 6px; }
:where(.site) .cl-r b { display: block; font-weight: 600; }
:where(.site) .cl-r small { display: block; font-size: 11.5px; color: var(--u-ink-3); }
:where(.site) .cl-r small.r { color: #B81B2C; font-weight: 600; }
:where(.site) .cl-r .mut { color: var(--u-ink-3); }
:where(.site) .cl-n { display: flex; align-items: center; gap: 9px; }
:where(.site) .cl-n .av { width: 28px; height: 28px; font-size: 10.5px; }
:where(.site) .cl-r.done { background: linear-gradient(90deg, rgba(23,112,61,.05), transparent 70%); }
:where(.site) .cl-o { display: flex; align-items: center; min-height: 22px; }
:where(.site) .oc { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 600; box-shadow: inset 0 0 0 1.5px #D1D1D6; color: var(--u-ink-3); }
:where(.site) .oc:empty::before { content: attr(data-empty); }
:where(.site) .oc.ok { box-shadow: none; background: var(--u-ok-soft); color: var(--u-ok); }
:where(.site) .oc.amb { box-shadow: none; background: var(--u-amber-soft); color: var(--u-amber); }
:where(.site) .oc.gr { box-shadow: none; background: rgba(0,0,0,.06); color: var(--u-ink-2); }
:where(.site) .imp-n { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 6px; font-size: 13px; color: var(--u-ink-3); }
:where(.site) .imp-r { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--u-line-2); font-size: 13px; }
:where(.site) .imp-r .chip { min-width: 58px; justify-content: center; }
:where(.site) .kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--u-line-2); font-size: 13px; }
:where(.site) .kv:first-of-type { margin-top: 8px; }
:where(.site) .kv span { color: var(--u-ink-3); }
:where(.site) .kv b { font-weight: 600; text-align: right; }
:where(.site) .mg { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--u-line-2); font-size: 13px; }
:where(.site) .mg:first-of-type { margin-top: 8px; }
:where(.site) .mg b { display: block; font-weight: 600; }
:where(.site) .mg small { color: var(--u-ink-3); font-size: 12px; }
:where(.site) .mg .chip { margin-left: auto; }
:where(.site) .wp { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin-top: 4px; border-radius: 10px; font-size: 13px; }
:where(.site) .wp:first-of-type { margin-top: 10px; }
:where(.site) .wp b { font-weight: 600; }
:where(.site) .wp span:last-child { margin-left: auto; color: var(--u-ink-3); }
:where(.site) .wp .rb { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #C7C7CC; flex: none; }
:where(.site) .wp.on { background: var(--u-bg); }
:where(.site) .wp.on .rb { box-shadow: inset 0 0 0 5px var(--u-ink); }
:where(.site) .wr { display: grid; grid-template-columns: 170px 1fr 70px; align-items: center; gap: 12px; height: 44px; font-size: 13px; }
:where(.site) .wr:first-of-type { margin-top: 10px; }
:where(.site) .wr-b i { display: block; height: 14px; border-radius: 4px; background: #E4E4EA; overflow: hidden; }
:where(.site) .wr-b s { display: block; height: 100%; background: var(--u-ok); }
:where(.site) .wr b { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
:where(.site) .wr b small { font-weight: 500; color: var(--u-ink-3); }
:where(.site) .lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: #E4E4EA; margin-right: 6px; vertical-align: -1px; }
:where(.site) .lg.ok { background: var(--u-ok); }
:where(.site) .kv.src b { color: var(--u-blue); }
