/* WAize – system screen drawings (inc/screens.php). Look of the real dashboard (WAize-frontend develop):
   white surfaces, #e6e6e6 / #e8eaf0 lines, Open Sans, purple #6565d6 (rail, tags), chat blue #206bc4 (selected row,
   unread, send), own bubbles #eaf1fb, internal notes amber. All sizes in em – the frame sets the font size. */

.wzs { display: flex; height: 44em; background: #fff; font-family: 'Open Sans', sans-serif; font-size: 1em; color: #3f4450; line-height: 1.4; overflow: hidden; text-align: right; }
.wzs svg { width: 1.45em; height: 1.45em; }
.wzs b, .wzs small, .wzs span, .wzs em, .wzs i { font-style: normal; }
.wzs-h { display: block; font-size: .78em; font-weight: 700; color: #8e8e8e; margin: 1.3em 0 .5em; }

/* rail (right) */
.wzs-rail { flex: none; width: 4.6em; border-left: 1px solid #ececf3; display: flex; flex-direction: column; align-items: center; gap: .45em; padding: .9em 0; background: #fff; }
.wzs-rail span { position: relative; width: 2.7em; height: 2.7em; border-radius: .7em; display: flex; align-items: center; justify-content: center; color: #475569; }
.wzs-rail span.on { background: #f1f1fd; color: #6565d6; }
.wzs-rail span.dot::after { content: ''; position: absolute; top: .45em; left: .5em; width: .5em; height: .5em; border-radius: 50%; background: #ff4c52; box-shadow: 0 0 0 2px #fff; }
.wzs-rail svg { width: 1.4em; height: 1.4em; }
.wzs-rail .wzs-me { width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(135deg, #8246bd, #516cba); color: #fff; font-weight: 700; font-size: .95em; margin-bottom: .5em; }
.wzs-rail .wzs-plus { margin-top: auto; background: #6565d6; color: #fff; border-radius: 50%; }

/* avatars */
.wzs-av { flex: none; width: 2.9em; height: 2.9em; border-radius: 50%; background: #e4e4fa; color: #5252bd; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 1em; }
.wzs-av.b { background: #fde7d9; color: #c25516; } .wzs-av.c { background: #dff3ec; color: #1b6b45; }

/* filters column */
.wzs-filters { flex: none; width: 11.5em; border-left: 1px solid #ececf3; padding: .4em .8em; background: #fbfbfd; }
.wzs-filters > span { display: flex; align-items: center; gap: .5em; padding: .42em .6em; border-radius: .5em; font-size: .9em; color: #475569; }
.wzs-filters > span.on { background: #eaf1fb; color: #206bc4; font-weight: 700; }
.wzs-filters em { margin-right: auto; font-size: .85em; color: #8e8e8e; }
.wzs-filters span.on em { color: #206bc4; }
.wzs-dot { width: .6em; height: .6em; border-radius: 50%; }
.wzs-filters .wzs-chs { flex-wrap: wrap; gap: .35em; padding: 0 .3em; }
.wzs-filters .wz-chi { font-size: .78em; }

/* conversation list */
.wzs-list { flex: none; width: 21em; border-left: 1px solid #ececf3; display: flex; flex-direction: column; }
.wzs-search { display: flex; align-items: center; gap: .5em; margin: .9em .9em .5em; padding: .55em .8em; border-radius: .6em; background: #f8fafc; border: 1px solid #e2e8f0; color: #94a3b8; font-size: .85em; }
.wzs-search svg { width: 1.2em; height: 1.2em; }
.wzs-tabs { display: flex; gap: 1.2em; padding: 0 1em; border-bottom: 1px solid #f0f2f5; font-size: .9em; }
.wzs-tabs span { padding: .5em 0; color: #8e8e8e; font-weight: 600; }
.wzs-tabs span.on { color: #206bc4; box-shadow: inset 0 -2px #206bc4; }
.wzs-row { display: flex; align-items: center; gap: .75em; padding: .75em 1em; border-bottom: 1px solid #f0f2f5; border-right: 3px solid transparent; }
.wzs-row.on { background: #eaf1fb; border-right-color: #206bc4; }
.wzs-avw { position: relative; flex: none; }
.wzs-avw .wz-chi { position: absolute; bottom: -.2em; left: -.25em; font-size: .7em; box-shadow: 0 0 0 2px #fff; }
.wzs-rt { flex: 1; min-width: 0; }
.wzs-rt b, .wzs-rt small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wzs-rt b { font-size: 1.02em; font-weight: 600; color: #3f4450; }
.wzs-rt small { font-size: .88em; color: #8e8e8e; }
.wzs-rm { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: .25em; }
.wzs-rm small { font-size: .78em; color: #94a3b8; }
.wzs-unread { min-width: 1.5em; height: 1.5em; padding: 0 .4em; border-radius: 1em; background: #206bc4; color: #fff; font-size: .75em; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.wzs-wait { display: inline-flex; align-items: center; gap: .2em; font-size: .72em; color: #dc2626; font-weight: 700; }
.wzs-wait svg { width: 1.1em; height: 1.1em; }
.wzs-agent { width: 1.7em; height: 1.7em; border-radius: 50%; background: #fde7d9; color: #c25516; font-size: .72em; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* open conversation */
.wzs-chat { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.wzs-chat-top { display: flex; align-items: center; gap: .7em; height: 4.4em; padding: 0 1em; border-bottom: 1px solid #e8eaf0; }
.wzs-chat-top > span:nth-child(2) { flex: 1; min-width: 0; }
.wzs-chat-top b { display: block; font-size: 1.05em; color: #1a1a2e; }
.wzs-src { display: inline-flex; align-items: center; gap: .35em; font-size: .78em; font-weight: 600; padding: .1em .55em .1em .3em; border-radius: 1em; }
.wzs-src .wz-chi { font-size: .62em; }
.wzs-src.wa { background: rgba(37, 211, 102, .14); color: #128c4a; }
.wzs-assign { display: inline-flex; align-items: center; gap: .4em; padding: .3em .7em .3em .4em; border: 1px solid #e8eaf0; border-radius: .6em; font-size: .82em; font-weight: 600; color: #3f4450; white-space: nowrap; }
.wzs-assign .wzs-av { width: 1.9em; height: 1.9em; font-size: .85em; }
.wzs-assign i { color: #94a3b8; }
.wzs-ib { width: 2.3em; height: 2.3em; border: 1px solid #e8eaf0; border-radius: .5em; display: inline-flex; align-items: center; justify-content: center; color: #6b7280; }
.wzs-ib svg { width: 1.15em; height: 1.15em; }
.wzs-ib.ai { color: #6565d6; background: #f1f1fd; border-color: #e4e4fa; }
.wzs-msgs { flex: 1; display: flex; flex-direction: column; gap: .7em; padding: 1.1em 1.3em; overflow: hidden; }
.wzs-day { align-self: center; font-size: .75em; color: #8e8e8e; background: #f5f6f8; padding: .2em .8em; border-radius: 1em; }
.wzs-msgs p { margin: 0; max-width: 76%; padding: .6em .9em .45em; border-radius: 1.05em; font-size: .98em; color: #1a1a2e; line-height: 1.45; }
.wzs-msgs p small { display: block; margin-top: .15em; font-size: .72em; color: #94a3b8; text-align: left; }
.wzs-msgs p small i { color: #3b82f6; }
.wzs-msgs .in { align-self: flex-start; background: #fff; border: 1px solid #e8eaf0; border-top-right-radius: .35em; }
.wzs-msgs .out { align-self: flex-end; background: #eaf1fb; border: 1px solid #d7e5f8; border-top-left-radius: .35em; }
.wzs-note { align-self: stretch; padding: .65em .9em; border-radius: .8em; background: #fef3c7; border: 1px solid rgba(252, 211, 77, .7); font-size: .92em; color: #78350f; }
.wzs-note b { display: flex; align-items: center; gap: .35em; font-size: .82em; color: #92400e; margin-bottom: .2em; }
.wzs-note b svg { width: 1.05em; height: 1.05em; }
.wzs-note small { display: block; font-size: .75em; color: #b45309; margin-top: .25em; }
.wzs-composer { border-top: 1px solid #e8eaf0; padding: .5em 1em .8em; }
.wzs-ctabs { display: flex; gap: 1.1em; font-size: .86em; color: #6b7280; margin-bottom: .5em; }
.wzs-ctabs span { padding: .3em 0; }
.wzs-ctabs .on { color: #206bc4; font-weight: 700; box-shadow: inset 0 -2px #206bc4; }
.wzs-ctabs .note { color: #b45309; }
.wzs-ctabs .ai { margin-right: auto; padding: .15em .6em; border-radius: 1em; background: #dcfce7; color: #15803d; font-weight: 700; }
.wzs-cin { display: flex; align-items: center; gap: .6em; padding: .45em .45em .45em .9em; border: 1px solid #e2e8f0; border-radius: .7em; color: #94a3b8; font-size: .92em; }
.wzs-cin span { flex: 1; }
.wzs-cin i { width: 2.4em; height: 2.4em; border-radius: .5em; background: #206bc4; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.wzs-cin svg { width: 1.15em; height: 1.15em; transform: scaleX(-1); }

/* contact card (left) */
.wzs-card { flex: none; width: 15.5em; border-right: 1px solid #ececf3; padding: 1em 1.1em; background: #fff; }
.wzs-card-top { text-align: center; padding-bottom: .6em; border-bottom: 1px solid #f0f2f5; }
.wzs-card-top .wzs-av { width: 3.8em; height: 3.8em; font-size: 1.2em; margin-bottom: .35em; }
.wzs-card-top b { display: block; font-size: 1.05em; color: #1a1a2e; margin-bottom: .3em; }
.wzs-tags { display: flex; flex-wrap: wrap; gap: .35em; }
.wzs-tags span { height: 1.85em; padding: 0 .6em; border-radius: .4em; color: #fff; font-size: .78em; font-weight: 600; display: inline-flex; align-items: center; }
.wzs-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3em .7em; font-size: .85em; }
.wzs-card dt { color: #8e8e8e; } .wzs-card dd { margin: 0; color: #3f4450; font-weight: 600; }
.wzs-agents { display: flex; align-items: center; gap: .3em; }
.wzs-agents .wzs-av { width: 2.1em; height: 2.1em; font-size: .85em; }
.wzs-agents span { font-size: .8em; color: #6565d6; font-weight: 600; margin-right: .3em; }
.wzs-stage { display: flex; align-items: center; gap: .5em; padding: .5em .7em; border-radius: .6em; border: 1px solid #e8eaf0; font-size: .88em; font-weight: 600; }
.wzs-stage i { width: .7em; height: .7em; border-radius: 50%; }

/* phone logo in the WhatsApp top bar */
.wz-wa-logo { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 5px 4px; object-fit: contain; flex: none; }

/* on a narrow frame the filters column steps aside, so the conversation stays readable */
@container (max-width: 760px) { .wzs-filters { display: none; } .wzs-card { width: 13.5em; } }
@container (max-width: 520px) { .wz-screen { font-size: 1.75cqw; } .wzs-card { display: none; } .wzs-list { width: 18em; } .wzs { height: 42em; } }

/* ---------- more screens (inc/screens-more.php, 18/10 evening) ---------- */
.wzs-main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 0 1.4em 1.2em; overflow: hidden; background: #f8f9fc; }
.wzs-top { flex: none; display: flex; align-items: center; gap: .6em; height: 4.4em; margin: 0 -1.4em 1em; padding: 0 1.4em; border-bottom: 1px solid #e8eaf0; background: #fff; }
.wzs-top > span { flex: 1; min-width: 0; }
.wzs-top b { display: block; font-size: 1.12em; color: #1a1a2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wzs-top small { display: block; font-size: .78em; color: #8e8e8e; }
.wzs-btn { flex: none; display: inline-flex; align-items: center; gap: .4em; padding: .45em .9em; border: 1px solid #e2e8f0; border-radius: .55em; background: #fff; font-size: .84em; font-weight: 600; color: #3f4450; white-space: nowrap; }
.wzs-btn.main { background: #6565d6; border-color: #6565d6; color: #fff; }
.wzs-tg { display: flex; align-items: center; justify-content: space-between; gap: .8em; padding: .55em 0; border-bottom: 1px solid #eef0f4; font-size: .86em; font-weight: 600; color: #3f4450; }
.wzs-tg i, .wzs-rule > i { position: relative; flex: none; width: 2.4em; height: 1.4em; border-radius: 1em; background: #d9d8e6; }
.wzs-tg i::after, .wzs-rule > i::after { content: ''; position: absolute; top: .2em; right: .2em; width: 1em; height: 1em; border-radius: 50%; background: #fff; }
.wzs-tg i.on, .wzs-rule > i.on { background: #6565d6; } .wzs-tg i.on::after, .wzs-rule > i.on::after { right: 1.2em; }
.wzs-box { display: flex; align-items: center; gap: .7em; padding: .62em .8em; margin-bottom: .5em; border: 1px solid #e8eaf0; border-radius: .7em; background: #fff; }
.wzs-box > svg { flex: none; color: #6565d6; }
.wzs-box > span { flex: 1; min-width: 0; }
.wzs-box b { display: block; font-size: .9em; color: #1a1a2e; }
.wzs-box small { display: block; font-size: .76em; color: #8e8e8e; }
.wzs-box .wz-chi { font-size: .8em; }
.wzs-ok, .wzs-soon { flex: none; padding: .15em .6em; border-radius: 1em; font-size: .74em; font-weight: 700; white-space: nowrap; }
.wzs-ok { background: #dcfce7; color: #15803d; } .wzs-soon { background: #fef3c7; color: #b45309; }
.wzs-pills { display: flex; flex-wrap: wrap; gap: .4em; }
.wzs-pills span { display: inline-flex; align-items: center; gap: .4em; padding: .28em .7em .28em .35em; border: 1px solid #e2e8f0; border-radius: 1em; background: #fff; font-size: .8em; font-weight: 600; }
.wzs-pills span.on { border-color: #c7c7f3; background: #f1f1fd; color: #4f4fc0; }
.wzs-pills .wz-chi { font-size: .75em; }
.wzs-cols2 { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4em; }
.wzs-cols3 { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.1fr 1fr .85fr; gap: 1.2em; }
.wzs-add { display: block; margin: .1em 0 .3em; font-size: .8em; font-weight: 600; color: #6565d6; }
.wzs-wa { padding: .8em; border-radius: .9em; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .4) 0 2px, transparent 3px) 0 0 / 1.6em 1.6em, #efe9e1; }
.wzs-wa p { margin: 0; padding: .6em .8em; border-radius: .7em; background: #d9fdd3; font-size: .88em; line-height: 1.5; color: #1f2433; }
.wzs-wa > span { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: .35em; padding: .45em; border-radius: .6em; background: #fff; font-size: .84em; font-weight: 600; color: #027eb5; }
.wzs-wa > span svg { width: 1.05em; height: 1.05em; }
.wzs-img { height: 7em; margin-bottom: -.4em; border-radius: .6em .6em 0 0; background: linear-gradient(135deg, #f47a34, #c4519b 55%, #8246bd); display: flex; align-items: center; justify-content: center; color: #fff; }
.wzs-img svg { width: 2.4em; height: 2.4em; }
.wzs-meter { display: flex; align-items: center; gap: .6em; margin-bottom: .55em; font-size: .84em; }
.wzs-meter > span { flex: none; width: 7.5em; }
.wzs-meter > i { flex: 1; height: .6em; border-radius: 1em; background: #eef0f6; overflow: hidden; }
.wzs-meter em { display: block; height: 100%; border-radius: 1em; background: linear-gradient(90deg, #8246bd, #516cba); }
.wzs-meter .wz-chi { font-size: .7em; }
.wzs-steps { flex: none; display: flex; gap: .5em; margin-bottom: 1em; }
.wzs-steps span { flex: 1; padding: .45em; border: 1px solid #e8eaf0; border-radius: .5em; background: #fff; text-align: center; font-size: .8em; font-weight: 600; color: #8e8e8e; }
.wzs-steps .done { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }
.wzs-steps .on { border-color: #6565d6; background: #6565d6; color: #fff; }

/* bot builder */
.wzs-pal { flex: none; width: 10.5em; padding: .4em .7em; border-left: 1px solid #ececf3; background: #fbfbfd; }
.wzs-pal span { display: flex; align-items: center; gap: .5em; margin-bottom: .32em; padding: .45em .55em; border: 1px solid #e8eaf0; border-radius: .5em; background: #fff; font-size: .84em; font-weight: 600; }
.wzs-pal svg { width: 1.15em; height: 1.15em; color: #6565d6; }
.wzs-canvas { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 0 1.4em; }
.wzs-canvas .wzs-top { margin-bottom: 0; }
.wzs-grid { position: relative; flex: 1; margin: 0 -1.4em; background: radial-gradient(#d6d8e4 1px, transparent 1.3px) 0 0 / 1.4em 1.4em, #f8f9fc; }
.wzs-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.wzs-lines path { fill: none; stroke: #a5a6e8; stroke-width: 2px; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; }
.wzs-node { position: absolute; width: 17em; padding: .6em .8em; border-radius: .8em; background: #fff; box-shadow: 0 .6em 1.6em -.8em rgba(14, 20, 66, .35), 0 0 0 1px #e4e4fa; font-size: .9em; }
.wzs-node small { display: flex; align-items: center; gap: .4em; margin-bottom: .35em; font-size: .78em; font-weight: 700; color: #6565d6; }
.wzs-node small svg { width: 1.1em; height: 1.1em; }
.wzs-node p { margin: 0 0 .35em; font-size: .92em; color: #1a1a2e; }
.wzs-nb { display: block; margin-top: .3em; padding: .32em; border: 1px solid #e4e4fa; border-radius: .45em; text-align: center; font-size: .82em; font-weight: 600; color: #4f4fc0; }
.wzs-node.trig { border-top: .28em solid #25d366; } .wzs-node.trig small { color: #128c4a; }
.wzs-node.act { box-shadow: 0 .6em 1.6em -.8em rgba(14, 20, 66, .35), 0 0 0 1px #ffd2b8; } .wzs-node.act small { color: #c25516; }
.wzs-node.ai { background: linear-gradient(135deg, #f3edff, #fff); }
.wzs-chips span { display: inline-block; margin: 0 0 .2em .25em; padding: .12em .6em; border-radius: 1em; background: #ecfdf3; font-size: .8em; font-weight: 700; color: #128c4a; }
.wzs-field { font-style: normal; font-size: .76em; color: #8e8e8e; }

/* sales board */
.wzs-kanban { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; }
.wzs-col { padding: .6em; border-radius: .8em; background: #eef0f6; }
.wzs-colh { display: flex; align-items: center; gap: .45em; margin-bottom: .6em; font-size: .85em; font-weight: 700; color: #3f4450; }
.wzs-colh i { width: .65em; height: .65em; border-radius: 50%; }
.wzs-colh em { margin-right: auto; padding: 0 .5em; border-radius: 1em; background: #fff; font-style: normal; font-size: .85em; color: #8e8e8e; }
.wzs-deal { display: flex; align-items: center; gap: .55em; margin-bottom: .5em; padding: .55em .6em; border-radius: .6em; background: #fff; box-shadow: 0 1px 2px rgba(14, 20, 66, .06); }
.wzs-deal.on { box-shadow: 0 0 0 2px #6565d6; }
.wzs-deal .wzs-av { width: 2.3em; height: 2.3em; font-size: .85em; }
.wzs-deal .wzs-rt b { font-size: .88em; } .wzs-deal .wzs-rt small { font-size: .74em; }
.wzs-deal > em { flex: none; font-style: normal; font-size: .76em; font-weight: 700; color: #1a1a2e; }
.wzs-drawer { flex: none; width: 19em; padding: 1em; border-right: 1px solid #ececf3; background: #fff; }
.wzs-drawer .wzs-stage { display: inline-flex; }
.wzs-prod div { display: flex; justify-content: space-between; gap: .5em; padding: .4em 0; border-bottom: 1px dashed #e8eaf0; font-size: .84em; }
.wzs-pdf { display: flex; align-items: center; gap: .6em; margin-top: .8em; padding: .6em .7em; border: 1px solid #ffe0cc; border-radius: .7em; background: #fff4ec; }
.wzs-pdf > svg { color: #c25516; } .wzs-pdf > span { flex: 1; } .wzs-pdf b { display: block; font-size: .86em; } .wzs-pdf small { font-size: .74em; color: #8e8e8e; } .wzs-pdf .wz-chi { font-size: .7em; }
.wzs-tl { list-style: none; margin: 0; padding: 0 1em 0 0; border-right: 2px solid #e4e4fa; }
.wzs-tl li { position: relative; padding: .25em 0; font-size: .8em; color: #475569; }
.wzs-tl li::before { content: ''; position: absolute; right: -1.42em; top: .7em; width: .6em; height: .6em; border-radius: 50%; background: #6565d6; }

/* AI agent */
.wzs-test { display: flex; flex-direction: column; padding: .2em .9em .9em; border: 1px solid #e8eaf0; border-radius: .9em; background: #fff; }
.wzs-test .wzs-msgs { padding: .4em 0; }
.wzs-msgs .out.ai { background: #f1f1fd; border-color: #e4e4fa; }
.wzs-msgs .out.ai small { color: #6565d6; text-align: right; }

/* automatic replies */
.wzs-rule { display: flex; align-items: center; gap: .7em; margin-bottom: .42em; padding: .55em .8em; border: 1px solid #e8eaf0; border-radius: .7em; background: #fff; }
.wzs-ric { flex: none; width: 2.3em; height: 2.3em; border-radius: .6em; background: #f1f1fd; color: #6565d6; display: flex; align-items: center; justify-content: center; }
.wzs-ric svg { width: 1.15em; height: 1.15em; }
.wzs-rule .wzs-rt b { font-size: .9em; } .wzs-rule .wzs-rt small { font-size: .76em; }
.wzs-hours div { display: flex; justify-content: space-between; margin-bottom: .35em; padding: .45em .8em; border: 1px solid #e8eaf0; border-radius: .5em; background: #fff; font-size: .86em; }

/* calls */
.wzs-call { flex: none; width: 2.4em; height: 2.4em; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #dcfce7; color: #15803d; }
.wzs-call svg { width: 1.1em; height: 1.1em; }
.wzs-call.miss { background: #fee2e2; color: #dc2626; } .wzs-call.out { background: #e0e7ff; color: #4f46e5; }
.wzs-callp { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 1.4em 2em; background: linear-gradient(180deg, #f6f4ff, #fff); }
.wzs-callc { text-align: center; }
.wzs-callc .wzs-av { display: flex; width: 4.4em; height: 4.4em; margin: 0 auto .5em; font-size: 1.35em; }
.wzs-callc b { display: block; font-size: 1.3em; color: #1a1a2e; } .wzs-callc small { font-size: .85em; color: #8e8e8e; }
.wzs-timer { display: inline-block; margin-top: .4em; font-size: .9em; font-weight: 700; color: #15803d; }
.wzs-cbtns { display: flex; justify-content: center; gap: .7em; margin: 1.2em 0; }
.wzs-cbtns span { width: 5em; padding: .6em 0; border: 1px solid #e8eaf0; border-radius: .8em; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em; font-size: .74em; font-weight: 600; color: #475569; }
.wzs-cbtns .rec { color: #dc2626; } .wzs-cbtns .end { border: 0; background: #ef4444; color: #fff; } .wzs-cbtns .end svg { transform: rotate(135deg); }
.wzs-trans { padding: .6em .9em; border: 1px solid #e8eaf0; border-radius: .8em; background: #fff; }
.wzs-trans p { margin: 0 0 .35em; font-size: .86em; }

/* lead finder */
.wzs-qbar { flex: none; display: flex; gap: .6em; margin-bottom: 1em; }
.wzs-qbar span { flex: 1; display: flex; align-items: center; gap: .5em; padding: .6em .8em; border: 1px solid #e2e8f0; border-radius: .6em; background: #fff; font-size: .9em; }
.wzs-qbar span em { font-style: normal; font-size: .85em; color: #8e8e8e; }
.wzs-qbar span svg { width: 1.15em; height: 1.15em; color: #94a3b8; }
.wzs-qbar > i { display: flex; align-items: center; padding: .6em 1.4em; border-radius: .6em; background: #6565d6; color: #fff; font-style: normal; font-weight: 700; font-size: .9em; }
.wzs-table { border: 1px solid #e8eaf0; border-radius: .8em; background: #fff; overflow: hidden; }
.wzs-table > div { display: grid; grid-template-columns: 2.4em 1.6fr 1.2fr .8fr .7fr 1fr; align-items: center; padding: .6em .8em; border-bottom: 1px solid #f0f2f5; font-size: .86em; }
.wzs-table .th { background: #f8fafc; font-size: .76em; font-weight: 700; color: #8e8e8e; }
.wzs-table .sel { background: #f5f5ff; }
.wzs-cb { width: 1.1em; height: 1.1em; border: 1.5px solid #cbd5e1; border-radius: .25em; }
.wzs-table .sel .wzs-cb { border-color: #6565d6; background: #6565d6; }
.wzs-table em { font-style: normal; } .wzs-table em.y { color: #15803d; font-weight: 700; } .wzs-table em.n { color: #cbd5e1; }
.wzs-table .wz-chi { font-size: .7em; margin-left: .2em; }
.wzs .ltr { direction: ltr; text-align: right; }
.wzs-bulk { flex: none; display: flex; align-items: center; gap: .6em; margin-top: .9em; padding: .6em .9em; border-radius: .7em; background: #1a1a2e; color: #fff; }
.wzs-bulk b { flex: 1; font-size: .9em; }
.wzs-bulk .wzs-btn { border-color: rgba(255, 255, 255, .3); background: transparent; color: #fff; }
.wzs-bulk .wzs-btn.main { border-color: #f47a34; background: #f47a34; }

/* calendar */
.wzs-calw { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 17em; gap: 1.2em; }
.wzs-cal { display: flex; flex-direction: column; border: 1px solid #e8eaf0; border-radius: .8em; background: #fff; overflow: hidden; }
.wzs-calh { display: grid; grid-template-columns: 4.2em repeat(5, 1fr); border-bottom: 1px solid #e8eaf0; }
.wzs-calh span { padding: .55em; text-align: center; font-size: .8em; font-weight: 700; color: #475569; }
.wzs-calb { flex: 1; display: grid; grid-template-columns: 4.2em 1fr; }
.wzs-hrs { display: grid; grid-template-rows: repeat(6, 1fr); }
.wzs-hrs span { padding: .3em .5em; border-bottom: 1px solid #f0f2f5; font-size: .72em; color: #94a3b8; }
.wzs-days { position: relative; background-image: linear-gradient(#f0f2f5 1px, transparent 1px), linear-gradient(90deg, #f0f2f5 1px, transparent 1px); background-size: 20% 16.6667%; }
.wzs-ev { position: absolute; right: calc(var(--d) * 20% + .25em); width: calc(20% - .5em); top: calc(var(--t) * 16.6667% + .2em); height: calc(var(--h) * 16.6667% - .4em); display: flex; align-items: flex-start; gap: .3em; padding: .35em .45em; border-right: .25em solid #8246bd; border-radius: .5em; background: #ede9fe; color: #5b21b6; font-size: .74em; overflow: hidden; }
.wzs-ev.c1 { border-color: #f47a34; background: #ffedd5; color: #9a3412; } .wzs-ev.c2 { border-color: #516cba; background: #dbeafe; color: #1e40af; }
.wzs-ev .wz-chi { font-size: .8em; } .wzs-ev b { line-height: 1.3; }

/* developers */
.wzs-code { display: flex; flex-direction: column; border-radius: .9em; background: #0f1430; overflow: hidden; }
.wzs-codeh { display: flex; gap: 1em; padding: .6em 1em; border-bottom: 1px solid rgba(255, 255, 255, .08); direction: ltr; }
.wzs-codeh span { font-size: .78em; font-weight: 600; color: #8b93b8; } .wzs-codeh .on { color: #fff; }
.wzs-code pre { margin: 0; padding: 1em 1.2em; direction: ltr; text-align: left; font: .86em/1.65 ui-monospace, Consolas, monospace; color: #c9d1ff; white-space: pre-wrap; background: none; border: 0; }
.wzs-key { flex: none; font-style: normal; font-family: ui-monospace, Consolas, monospace; font-size: .8em; color: #64748b; direction: ltr; }

/* the business's website with the chat window */
.wzs-sitewrap { display: block; position: relative; background: #fbfaf8; }
.wzs-site { position: relative; height: 100%; }
.wzs-sitenav { display: flex; align-items: center; gap: 2em; padding: 1.2em 3em; border-bottom: 1px solid #eee; }
.wzs-sitenav b { margin-left: auto; font-size: 1.3em; color: #1a1a2e; } .wzs-sitenav span { font-size: .9em; color: #64748b; }
.wzs-sitehero { display: grid; gap: .9em; max-width: 34em; padding: 3em 3em 2em; }
.wzs-sitehero i { display: block; height: 1.6em; border-radius: .4em; background: #e7e3f3; }
.wzs-sitehero i:nth-child(2) { width: 80%; } .wzs-sitehero i.s { width: 60%; height: .9em; background: #efedf5; }
.wzs-sitehero em { display: block; width: 9em; height: 2.6em; margin-top: .6em; border-radius: .6em; background: #c4519b; opacity: .8; }
.wzs-sitecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; max-width: 40em; padding: 0 3em; }
.wzs-sitecards i { height: 8em; border-radius: .8em; background: #f1eff6; }
.wzs-widget { position: absolute; left: 2.4em; bottom: 2em; width: 22em; display: flex; flex-direction: column; border-radius: 1.1em; background: #fff; box-shadow: 0 1.5em 3em -1em rgba(14, 20, 66, .35), 0 0 0 1px rgba(14, 20, 66, .06); overflow: hidden; }
.wzs-wtop { display: flex; align-items: center; gap: .6em; padding: .8em 1em; background: var(--wc); color: #fff; }
.wzs-wtop i { width: 2.3em; height: 2.3em; border-radius: 50%; background: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; }
.wzs-wtop b { display: block; } .wzs-wtop small { font-size: .75em; opacity: .85; }
.wzs-widget .wzs-msgs { gap: .5em; padding: .8em; }
.wzs-widget .wzs-msgs p { max-width: 86%; font-size: .85em; }
.wzs-wbtns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35em; }
.wzs-wbtns span { padding: .35em .7em; border: 1px solid var(--wc); border-radius: 1em; font-size: .78em; font-weight: 600; color: var(--wc); }
.wzs-widget .wzs-cin { margin: 0 .8em .8em; } .wzs-widget .wzs-cin > svg { color: #94a3b8; } .wzs-widget .wzs-cin i { background: var(--wc); }
.wzs-fab { position: absolute; left: 2.4em; bottom: 2em; display: inline-flex; align-items: center; gap: .3em; padding: .55em; border-radius: 2em; background: var(--fc); color: #fff; box-shadow: 0 1em 2em -.8em rgba(0, 0, 0, .45); }
.wzs-fab .wz-chi { font-size: 1.6em; background: transparent; }
.wzs-fab b { padding-left: .7em; font-size: .95em; }

/* connect a channel */
.wzs-connect { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6em; align-items: start; }
.wzs-cpanel { padding: 1.1em 1.3em; border: 1px solid #e8eaf0; border-radius: .9em; background: #fff; }
.wzs-chead { display: flex; align-items: center; gap: .6em; margin-bottom: .8em; } .wzs-chead .wz-chi { font-size: 1.1em; } .wzs-chead b { font-size: 1.1em; color: #1a1a2e; }
.wzs-cpanel ol { display: grid; gap: .45em; margin: 0 0 .8em; padding: 0 1.2em 0 0; font-size: .9em; color: #3f4450; }
.wzs-cside { display: flex; flex-direction: column; align-items: center; gap: .8em; padding: 1.4em; border: 1px solid #e8eaf0; border-radius: .9em; background: #fff; text-align: center; }
.wzs-cside small { font-size: .78em; color: #8e8e8e; }
.wzs-qr { position: relative; display: grid; grid-template-columns: repeat(21, 1fr); width: 15em; aspect-ratio: 1; padding: .8em; border: 1px solid #e8eaf0; border-radius: .6em; background: #fff; direction: ltr; }
.wzs-qr i { background: #1a1a2e; } .wzs-qr b { background: transparent; }
.wzs-qrlogo { position: absolute; inset: 0; width: 3.2em; height: 3.2em; margin: auto; border-radius: .6em; background: #fff; display: flex; align-items: center; justify-content: center; }
.wzs-qrlogo .wz-chi { font-size: 1.2em; }
.wzs-field2 { width: 100%; padding: .5em .8em; border: 1px solid #e2e8f0; border-radius: .6em; text-align: right; }
.wzs-field2 small { display: block; } .wzs-field2 span { display: block; font-family: ui-monospace, Consolas, monospace; color: #3f4450; }
.wzs-btn.fbb { padding: .6em 1.2em; border-color: #1877f2; background: #1877f2; color: #fff; } .wzs-btn.fbb .wz-chi { font-size: .9em; background: transparent; }
.wzs-cside .wzs-box { width: 100%; text-align: right; }
.wzs-provs { display: grid; gap: .5em; width: 100%; }
.wzs-provs span { display: flex; align-items: center; gap: .6em; padding: .7em .9em; border: 1px solid #e2e8f0; border-radius: .6em; font-size: .9em; font-weight: 600; }
.wzs-provs span:first-child { border-color: #6565d6; background: #f5f5ff; } .wzs-provs svg { color: #6565d6; }

/* workspaces */
.wzs-spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.wzs-space { display: flex; flex-direction: column; align-items: flex-start; gap: .5em; padding: 1.1em; border: 1px solid #e8eaf0; border-radius: .9em; background: #fff; }
.wzs-space.on { box-shadow: 0 0 0 2px #6565d6; }
.wzs-sq { width: 2.8em; height: 2.8em; border-radius: .7em; display: flex; align-items: center; justify-content: center; background: #8246bd; color: #fff; font-style: normal; font-weight: 700; }
.wzs-sq.c1 { background: #f47a34; } .wzs-sq.c2 { background: #516cba; } .wzs-sq.c3 { background: #c4519b; }
.wzs-space b { color: #1a1a2e; }
.wzs-space .wzs-chs { display: flex; gap: .3em; } .wzs-space .wzs-chs .wz-chi { font-size: .75em; }
.wzs-space small { display: flex; align-items: center; gap: .3em; font-size: .8em; color: #8e8e8e; } .wzs-space small svg { width: 1.1em; height: 1.1em; }

/* templates / short links lists */
.wzs-tpls > div { display: flex; align-items: center; gap: .7em; margin-bottom: .45em; padding: .72em .9em; border: 1px solid #e8eaf0; border-radius: .7em; background: #fff; }
.wzs-tpls > div.on { box-shadow: 0 0 0 2px #6565d6; }
.wzs-tpls b { flex: 1; font-size: .9em; color: #1a1a2e; }
.wzs-tpls small { padding: .15em .6em; border-radius: 1em; background: #f1f5f9; font-size: .74em; color: #64748b; }

/* analytics */
.wzs-kpi { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; margin-bottom: 1.2em; }
.wzs-kpi div { padding: .8em 1em; border: 1px solid #e8eaf0; border-radius: .8em; background: #fff; }
.wzs-kpi small { font-size: .76em; color: #8e8e8e; } .wzs-kpi b { display: block; font-size: 1.45em; color: #1a1a2e; } .wzs-kpi .wz-spark { height: 1.8em; }
.wzs-chart { padding: .2em 1em 1em; border: 1px solid #e8eaf0; border-radius: .8em; background: #fff; }
.wzs .wz-bars { height: 12em; gap: .45em; }

/* narrow frames: side panels step aside so the main part stays readable */
@container (max-width: 760px) { .wzs-pal, .wzs-drawer, .wzs-calside, .wzs-res { display: none; } .wzs-calw { grid-template-columns: 1fr; } .wzs-cols3 { grid-template-columns: 1.1fr 1fr; } .wzs-spaces { grid-template-columns: repeat(2, 1fr); } }
@container (max-width: 520px) { .wzs-cols2, .wzs-connect { grid-template-columns: 1fr; } .wzs-cols2 > :nth-child(2):not(.wzs-test):not(.wzs-code):not(.wzs-callp) { display: none; } .wzs-kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wzs-col:nth-child(4) { display: none; } .wzs-kpi { grid-template-columns: repeat(2, 1fr); } .wzs-table > div > :nth-child(6) { display: none; } .wzs-table > div { grid-template-columns: 2em 1.6fr 1.3fr .8fr .7fr; } .wzs-cside { display: none; } .wzs-callp { padding: 1em; } .wzs-widget { left: 1em; bottom: 1em; width: 24em; } }

/* phone: richer messages (picture, PDF, product, payment link, form, list, voice note, system line) */
.wz-wa-card { align-self: flex-start; display: grid; gap: 4px; max-width: 84%; padding: 5px; border-radius: 9px; background: #d9fdd3; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); font-size: 11px; line-height: 1.45; color: #1f2433; }
.wz-wa-card > span { padding: 0 4px 2px; }
.wz-wa-img { display: flex; align-items: center; justify-content: center; height: 70px; border-radius: 6px; background: linear-gradient(135deg, #f47a34, #c4519b 55%, #8246bd); color: #fff; }
.wz-wa-img svg { width: 28px; height: 28px; }
.wz-wa-file { display: flex; align-items: center; gap: 7px; padding: 8px; }
.wz-wa-file > svg { flex: none; width: 26px; height: 26px; color: #c25516; }
.wz-wa-card b { display: block; font-size: 11px; } .wz-wa-card small { display: block; font-size: 9.5px; color: #667085; }
.wz-wa-prod, .wz-wa-pay { grid-template-columns: auto 1fr; align-items: center; }
.wz-wa-prod .wz-wa-img { width: 46px; height: 46px; } .wz-wa-prod .wz-wa-img svg { width: 22px; height: 22px; }
.wz-wa-pay { padding: 8px; } .wz-wa-pay > svg { width: 24px; height: 24px; color: #0b6e5f; }
.wz-wa-prod em, .wz-wa-pay em, .wz-wa-list em { grid-column: 1 / -1; padding-top: 5px; border-top: 1px solid rgba(0, 0, 0, .08); font-style: normal; font-weight: 600; text-align: center; color: #027eb5; }
.wz-wa-list { padding: 7px; }
.wz-wa-form { align-self: stretch; display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 -8px 20px -10px rgba(0, 0, 0, .3); font-size: 11px; }
.wz-wa-form b { font-size: 12px; color: #1f2433; }
.wz-wa-form label { display: grid; gap: 3px; font-size: 10px; color: #54656f; }
.wz-wa-form label i { height: 20px; border: 1px solid #d1d7db; border-radius: 6px; }
.wz-wa-form em { padding: 6px; border-radius: 16px; background: #0b6e5f; font-style: normal; font-weight: 600; text-align: center; color: #fff; }
.wz-wa-body .wz-wa-voice { display: flex; align-items: center; gap: 6px; min-width: 62%; }
.wz-wa-voice i { font-style: normal; color: #54656f; }
.wz-wa-voice s { flex: 1; height: 12px; border-radius: 2px; background: repeating-linear-gradient(90deg, #8696a0 0 2px, transparent 2px 5px); text-decoration: none; }
.wz-wa-voice small { font-size: 9px; color: #667085; }
.wz-wa-sys { background: #fff3c4; color: #7a5b00; }
/* channel dots keep their size inside rows that stretch their spans */
.wzs span.wz-chi { flex: none; }
