[hidden]{display:none!important}
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');:root{--ink:#15252a;--muted:#7d8d90;--line:#e8eeee;--bg:#f6f8f7;--teal:#0c7775;--orange:#e58542;--red:#d4564f;--lime:#a4c738}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px Manrope,Arial,"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}.shell{display:flex;min-height:100vh}aside{position:sticky;top:0;flex:none;height:100vh;width:236px;background:#fff;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;overflow:auto}.side-toggle{position:absolute;top:16px;right:12px;width:28px;height:28px;padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:#8b989a;display:grid;place-items:center;z-index:2}.side-toggle svg{width:16px;height:16px}.side-toggle:hover,.side-refresh:hover{background:#eef3f2;color:var(--ink)}.brand{display:flex;align-items:center;gap:11px;padding:20px 34px 28px 10px}.mark{width:33px;height:33px;border-radius:10px;background:var(--teal);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:800}.brand b{display:block;font-size:15px}.brand small{color:var(--muted);font-size:10px;letter-spacing:1px}.nav{width:100%;text-align:left;background:none;padding:14px 13px;border-radius:9px;color:#829093;margin:3px 0;font-weight:600}.nav span{margin-left:10px}.nav.active{background:#eaf5f3;color:var(--teal)}.side-foot{margin-top:auto;display:flex;flex-direction:column;gap:10px}.side-note{display:flex;align-items:center;gap:8px;background:#f4f8f7;border-radius:10px;padding:12px 10px 12px 14px;color:#617377;font-size:11px}.side-sync{flex:1;min-width:0}.side-refresh{flex:none;width:32px;height:32px;padding:0;border:1px solid #d5e2e0;border-radius:8px;background:#fff;color:#5c7270;font-size:16px;line-height:1}body.side-collapsed aside{width:72px;padding:16px 10px}body.side-collapsed .brand div,body.side-collapsed .nav span,body.side-collapsed .pulse,body.side-collapsed .side-sync{display:none}body.side-collapsed .side-note{justify-content:center;padding:8px}body.side-collapsed .brand{justify-content:center;padding:42px 0 24px}body.side-collapsed .nav{text-align:center;padding-left:0;padding-right:0}body.side-collapsed .side-toggle{left:50%;right:auto;transform:translateX(-50%)}body.side-collapsed .side-toggle svg{transform:scaleX(-1)}.side-note small{display:block;padding:4px 0 0;color:#a3b0b1}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--lime);flex:none}main{padding:42px 5%;width:100%;max-width:1540px;margin:auto}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.eyebrow{font:10px 'DM Mono';letter-spacing:1.7px;color:#99a7a8;margin:0 0 10px}h1{font-size:29px;letter-spacing:-1px;margin:0}h2{font-size:19px;margin:0;letter-spacing:-.4px}.header-actions{display:flex;align-items:center;gap:15px}.sync{color:#a1acad;font:11px 'DM Mono'}.icon-btn{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 11px;font-size:18px;color:var(--teal)}.toolbar{display:flex;align-items:end;gap:13px;background:#fff;border:1px solid var(--line);padding:16px 18px;border-radius:10px;margin-bottom:25px}.toolbar label,.field-label{display:block;color:#94a0a2;font-size:11px;margin-bottom:6px}.date-field{display:flex;align-items:center;gap:8px}.date-field label{align-self:flex-start;margin-top:6px}.date-field input,select{border:1px solid var(--line);padding:9px;border-radius:6px;color:var(--ink);background:#fff}.select-wrap{margin-left:auto}.primary{background:var(--teal);color:#fff;border-radius:7px;padding:10px 18px;font-weight:600}.hero-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.hero-card{background:#fff;min-height:155px;padding:22px;border-radius:11px;border:1px solid var(--line);display:flex;justify-content:space-between}.hero-card span{color:#839193;font-size:12px}.hero-card strong{font-size:38px;letter-spacing:-2px;display:block;margin:19px 0 7px}.hero-card small{color:#a4afb0;font-size:11px}.hero-card.ink{background:var(--ink);color:#fff;border-color:var(--ink)}.hero-card.ink span,.ink small{color:#b6c9c8}.mini-bars{align-self:end;display:flex;align-items:end;gap:4px;height:38px}.mini-bars i{width:5px;background:#a6d3ca;border-radius:3px}.mini-bars i:nth-child(1){height:15px}.mini-bars i:nth-child(2){height:24px}.mini-bars i:nth-child(3){height:18px}.mini-bars i:nth-child(4){height:31px}.mini-bars i:nth-child(5){height:27px}.ring{width:43px;height:43px;border:4px solid #dbeeea;border-top-color:var(--teal);border-radius:50%}.ring.bad{border-color:#f6e2da;border-top-color:var(--red)}.warn-card strong{color:var(--red)}.section-head{display:flex;justify-content:space-between;align-items:end;margin:43px 0 17px}.section-head.compact{margin-top:39px}.legend{display:flex;gap:17px;color:#8b989a;font-size:11px}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}.blue{background:var(--teal)}.orange{background:var(--orange)}.table-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:auto}table{width:100%;border-collapse:collapse;min-width:700px}th{text-align:left;color:#9aa7a9;font-size:10px;font-weight:500;letter-spacing:.4px;padding:15px 19px;border-bottom:1px solid var(--line)}td{padding:16px 19px;border-bottom:1px solid #f0f3f3;font-size:12px}tr:last-child td{border-bottom:0}.person{display:flex;align-items:center;gap:9px}.person i,.avatar{font-style:normal;width:27px;height:27px;border-radius:8px;background:#dcefea;color:var(--teal);display:grid;place-items:center;font-weight:700}.sub{display:block;color:#9ba7a8;margin-top:4px}.status{font-size:10px;padding:5px 8px;border-radius:4px}.green{color:#618d4b;background:#edf6e6}.red{color:#b34542;background:#fbebea}.yellow{color:#aa7a32;background:#fff5e3}.danger{color:var(--red);font-weight:700}.text-btn,.link{background:none;color:var(--teal);font-size:12px;font-weight:600}.error{padding:13px;background:#fff0ee;color:#b34542;border:1px solid #f2d4cf;margin-bottom:15px;border-radius:7px}.chat-toolbar{align-items:center}.search{border:1px solid var(--line);padding:9px 12px;border-radius:6px;display:flex;gap:7px;flex:1;max-width:450px;color:#91a0a1}.search input{border:0;outline:0;width:100%}.check{color:#718082;font-size:12px}.chat-layout{display:grid;grid-template-columns:96px 340px minmax(0,1fr);min-height:590px;gap:12px;align-items:stretch}.account-rail,.conversation-list,.chat-panel,.setting-card{background:#fff;border:1px solid var(--line);border-radius:10px}.account-rail{height:100%;min-height:0;overflow:auto;padding:10px 8px;display:flex;flex-direction:column;gap:4px}.account{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;padding:8px 2px;border-radius:8px;background:transparent;color:#607072;font-size:11px;font-weight:600;line-height:1.2}.account.active{background:#eaf5f3;color:var(--teal)}.account .avatar{width:32px;height:32px;border-radius:10px;font-size:13px}.account span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-list{height:100%;min-height:0;overflow:auto}.chat-panel{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column}main.chat-mode{padding:16px 20px;max-width:none}main.chat-mode header{display:none}main.chat-mode .chat-layout{height:calc(100vh - 32px);min-height:560px}.list-search{margin:12px 12px 4px;max-width:none;flex:none}.chat-mode .messages{max-height:none}.chat-panel #chatOpen{height:100%;min-height:0;display:flex;flex-direction:column}.chat-panel #chatOpen[hidden]{display:none}.chat-panel .messages{flex:1;min-height:0}.list-head{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid var(--line)}.list-title{padding:16px 16px 8px;font-weight:700}.list-jumps{display:flex;flex-direction:row;align-items:center;gap:2px;padding:0 10px 8px}.list-jumps select{margin-left:auto;height:28px;max-width:118px;padding:0 4px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:12px}.list-jump{position:relative;display:inline-flex}.list-jumps button{width:28px;height:28px;display:grid;place-items:center;padding:0;border-radius:6px;background:transparent;color:#8b989a}.list-jumps button:hover{background:#eef3f2;color:var(--ink)}.list-jumps button:disabled{opacity:.35}.list-jumps svg{width:16px;height:16px;display:block}.list-jump::after{content:attr(data-tip);position:absolute;left:0;top:calc(100% + 6px);z-index:4;padding:5px 8px;border-radius:6px;background:#15252a;color:#fff;font-size:11px;font-weight:500;line-height:1.3;white-space:nowrap;opacity:0;pointer-events:none}.list-jump:last-child::after{left:auto;right:0}.list-jump:hover::after,.list-jump:focus-within::after{opacity:1}.tag{display:inline-block;margin:6px 4px 0 0;font-style:normal;font-size:10px;padding:2px 6px;border-radius:4px}.tag.late{color:#aa7a32;background:#fff5e3}.tag.overdue{color:#b34542;background:#fbebea}.list-title span{color:#9ca8a9;font-weight:400;margin-left:5px}.conv{display:flex;position:relative;width:100%;text-align:left;padding:15px 17px;background:#fff;gap:10px;border-bottom:1px solid #f1f4f4}.conv.selected{background:#c5e4dc;box-shadow:inset 3px 0 0 var(--teal)}.conv-copy{min-width:0}.conv-copy b{display:block}.conv-copy small{color:#9aa6a7;font-size:10px}.conv-copy p{margin:6px 0 0;color:#7d8b8d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.unread{width:7px;height:7px;border-radius:50%;background:var(--orange);margin-left:auto}.chat-panel{position:relative}.empty-chat{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9aa7a8;gap:8px}.empty-mark{font-size:43px;color:#c3d8d3}.empty-chat b{color:#657577}.chat-head{padding:15px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:11px}.chat-head small{display:block;color:#9aa6a8;font-size:11px;margin-top:4px}.vip-pill{margin-left:auto;color:#ad7629;background:#fff1dc;border-radius:4px;padding:5px 8px;font-size:10px}.messages{padding:24px;display:flex;flex-direction:column;gap:14px;min-height:430px;max-height:540px;overflow:auto}.bubble-row{display:flex;align-items:flex-start;gap:8px}.bubble-row.staff{justify-content:flex-end}.bubble-main{display:flex;flex-direction:column;align-items:flex-start;max-width:min(78%,calc(100% - 42px));min-width:0}.bubble-row.staff .bubble-main{align-items:flex-end}.bubble-line{display:flex;align-items:center;gap:8px;max-width:100%}.revoked-tag{flex:none;color:#a3adad;font-size:12px}.bubble-row.revoked .bubble,.bubble-row.revoked .msg-link b{color:#a3adad}.who{display:flex;align-items:baseline;gap:8px;max-width:100%;margin:0 0 4px;color:#607072;font-size:11px;font-weight:600;line-height:1.35}.who span{min-width:0;word-break:break-all}.msg-time{flex:none;color:#9aabaa;font-size:10px;font-weight:500}.bubble-row.staff .who{justify-content:flex-end}.msg-avatar{width:32px;height:32px;border-radius:8px;flex:none;font-size:13px}.bubble-row.staff .msg-avatar{background:#f3e6d4;color:#9a6230}.bubble-row.flash .bubble{box-shadow:0 0 0 2px var(--orange)}.bubble{max-width:100%;padding:11px 13px;background:#f0f5f3;border-radius:4px 12px 12px 12px;color:#4d5f61;line-height:1.6}.staff .bubble{background:#e7f3ef;border-radius:12px 4px 12px 12px}.bubble small{display:block;color:#9aabaa;font-size:10px;margin-top:5px}.bubble:has(.msg-image),.bubble:has(.msg-video){width:fit-content;max-width:min(252px,100%);padding:6px}.bubble:has(.msg-image) small,.bubble:has(.msg-video) small{white-space:nowrap}.msg-image{display:block;width:auto;height:auto;max-width:min(240px,100%);max-height:280px;border-radius:8px;cursor:pointer;object-fit:contain;background:#fff}.msg-video-btn{position:relative;display:block;padding:0;background:none;border-radius:8px}.msg-video{display:block;width:min(260px,100%);max-height:280px;border-radius:8px;background:#111;pointer-events:none}.msg-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;background:rgba(0,0,0,.32);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);display:grid;place-items:center;pointer-events:none}.msg-play svg{width:36px;height:36px;margin-left:4px;display:block}.bubble:has(.msg-voice){display:flex;flex-direction:column;align-items:stretch;width:fit-content;max-width:min(340px,100%);min-width:108px}.msg-voice{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-width:88px;padding:1px 0;background:none;color:inherit;font-weight:650;cursor:pointer;text-align:left}.msg-voice.is-static{cursor:default}.msg-voice-icon{width:18px;height:18px;flex:none}.msg-voice-time{font-variant-numeric:tabular-nums}.msg-voice-text{display:block;margin-top:8px;padding-top:8px;border-top:1px solid rgba(21,37,42,.08);font-weight:450;line-height:1.55;word-break:break-word}.msg-voice-text.is-pending{color:#9aabaa;font-weight:500}.bubble-row.staff .msg-voice{flex-direction:row-reverse}.bubble-row.staff .msg-voice-icon{transform:scaleX(-1)}.viewer{position:fixed;inset:0;z-index:80;background:rgba(16,24,27,.78);display:flex;align-items:center;justify-content:center;padding:28px}.viewer[hidden]{display:none}.viewer-close{position:absolute;top:16px;right:16px;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:26px;line-height:1}.viewer-stage{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:min(1000px,94vw)}.viewer-stage img,.viewer-stage video{max-width:min(1000px,94vw);max-height:84vh;border-radius:10px;background:#111}.viewer-stage audio{width:min(520px,88vw)}.viewer-note{margin:0;max-width:520px;color:#e7eeed;line-height:1.6;text-align:center}.msg-file,.msg-link{display:flex;flex-direction:column;gap:3px;max-width:260px;color:inherit;text-decoration:none}.msg-file b,.msg-link b{font-weight:650;word-break:break-all}.msg-link b{color:var(--teal)}.msg-file small,.msg-link span{color:#6d7c7e;font-size:12px}.settings-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.setting-card{padding:25px}.card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.staff-edit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f3f3}.staff-edit input:not([type=checkbox]){border:1px solid var(--line);padding:8px;border-radius:5px;width:100%}.staff-edit label{display:inline-flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;color:#758486}.staff-edit input[type=checkbox]{width:16px;height:16px;margin:0;padding:0;border:0;flex:none}.remove{background:none;color:#b8c2c3;font-size:20px;width:28px;height:28px;padding:0;line-height:1}.setting-card textarea{width:100%;height:70px;border:1px solid var(--line);border-radius:6px;padding:10px;resize:vertical;margin-bottom:18px}.field-label small{float:right;color:#b1bbbc}.rule-box{padding:15px;background:#f4f8f7;border-radius:7px;color:#6b7b7d;line-height:1.8;font-size:11px}.rule-box b{color:var(--ink);font-size:12px}.rule-box p{margin:5px 0}.save{margin-top:18px;width:100%}@media(max-width:900px){aside{width:70px;padding:16px 10px}.brand{justify-content:center;padding:42px 0 24px}.brand div,.nav span,.pulse,.side-sync{display:none}.side-note{justify-content:center;padding:8px}.nav{text-align:center;padding-left:0;padding-right:0}.side-toggle{left:50%;right:auto;transform:translateX(-50%)}.side-toggle svg{transform:scaleX(-1)}.hero-grid{grid-template-columns:repeat(2,1fr)}.chat-layout,.settings-grid{grid-template-columns:1fr}.account-rail{flex-direction:row;height:auto;overflow-x:auto}.account{width:auto;min-width:64px}main.chat-mode .chat-layout{height:auto}.conversation-list,.chat-panel{height:68vh}main{padding:28px 3%}}@media(max-width:560px){header{margin-bottom:22px}.hero-grid{grid-template-columns:1fr 1fr;gap:8px}.hero-card{min-height:125px;padding:14px}.hero-card strong{font-size:29px;margin:13px 0 5px}.toolbar{flex-wrap:wrap}.select-wrap{margin-left:0}.date-field label{display:none}.chat-toolbar{align-items:stretch}.search{max-width:none}.staff-edit{grid-template-columns:1fr 1fr}.staff-edit label,.remove{grid-column:auto}.section-head{margin-top:28px}}
.wx-emoji{width:22px;height:22px;vertical-align:-0.35em;margin:0 1px;object-fit:contain}.conv-copy .wx-emoji{width:16px;height:16px;vertical-align:-0.25em}

.customer-note{color:var(--muted);line-height:1.7}.customer-person{display:flex;align-items:center;gap:12px}.customer-person .avatar{width:40px;height:40px;flex:none}.customer-person .sub{overflow-wrap:anywhere}.customer-follow+.customer-follow{margin-top:10px}.customer-pager{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-top:18px}.customer-pager span{margin-right:auto;color:var(--muted)}.customer-pager button:disabled{opacity:.4;cursor:default}#customers td{vertical-align:top;overflow-wrap:anywhere}#customerFilters .search{max-width:none}#customerFilters select,#momentFilters select{max-width:220px}
.moment-list{display:flex;flex-direction:column;gap:14px}.moment-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px}.moment-top{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.moment-top .avatar{width:40px;height:40px;border-radius:10px;flex:none}.moment-who{min-width:0}.moment-who b{display:block}.moment-who small{color:var(--muted)}.moment-badges{margin-left:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.moment-text{margin:14px 0 0;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.moment-images{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.moment-images img{width:112px;height:112px;object-fit:cover;border-radius:8px;background:#eef3f2;cursor:pointer}.moment-images video{width:min(280px,100%);max-height:220px;border-radius:8px;background:#111}.moment-link{display:inline-block;margin-top:10px;color:var(--teal);font-weight:650;overflow-wrap:anywhere}.moment-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:14px;color:#607072;font-size:12px}.moment-detail{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.moment-member{padding:10px 0;border-bottom:1px solid #f3f6f6}.moment-member:last-child{border-bottom:0}.moment-member b{margin-right:8px}.moment-people{margin:6px 0 0;color:#607072;font-size:12px;line-height:1.7}
.calendar-box{max-height:320px;overflow:auto}.calendar-box p{white-space:pre-wrap}.calendar-box a{color:var(--teal);font-weight:650}

.side-user{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px 8px;color:#607072;font-size:12px;font-weight:600}.side-user .text-btn{font-size:11px}body.side-collapsed .side-user{display:none}.user-edit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr) auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f3f3}.user-edit input,.user-edit select{border:1px solid var(--line);padding:8px;border-radius:5px;width:100%;background:#fff}.settings-readonly .setting-card input:not([type=checkbox]),.settings-readonly .setting-card textarea,.settings-readonly .setting-card select{background:#f7f9f9;color:#6b7b7d}

.side-user{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px 8px;color:#607072;font-size:12px;font-weight:600}.side-user .text-btn{font-size:11px}body.side-collapsed .side-user{display:none}.user-edit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 110px minmax(0,1.1fr) auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f3f3}.user-edit input,.user-edit select{border:1px solid var(--line);padding:8px;border-radius:5px;width:100%;background:#fff}.settings-readonly .setting-card input:not([type=checkbox]),.settings-readonly .setting-card textarea,.settings-readonly .setting-card select{background:#f7f9f9;color:#6b7b7d}.hint-field::placeholder{color:#b1bbbc;opacity:1;font-weight:400;font-size:12px}
.hint-field::-webkit-input-placeholder{color:#b1bbbc;font-size:12px}
.hint-field::-moz-placeholder{color:#b1bbbc;opacity:1;font-size:12px}
.setting-card textarea.hint-field{color:var(--ink)}
