:root{font-family:Segoe UI,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,Noto Sans CJK SC,Noto Sans SC,system-ui,sans-serif;color:#1d2624;background:#f3f5f1;font-synthesis:none;--ink: #1d2624;--muted: #78807d;--line: #e2e6e0;--paper: #ffffff;--wash: #f4f6f2;--green: #154c42;--green-2: #236a5d;--coral: #e56f50;--coral-soft: #fff0ea;--sage: #89a99d;--shadow: 0 20px 65px rgba(31, 48, 43, .09);--toast-bg: rgba(31,46,42,.94);--toast-text: #fff;--toast-border: rgba(255,255,255,.13);--toast-shadow: 0 5px 18px rgba(18,35,29,.2)}*{box-sizing:border-box}html{overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}html,body,#root{width:100%;min-width:0;max-width:100%;height:100%;margin:0}body,#root{overflow:hidden}html.visitor-no-pull-refresh,html.visitor-no-pull-refresh body,body.visitor-no-pull-refresh,body.visitor-no-pull-refresh #root{overscroll-behavior:none}html.visitor-no-pull-refresh body,body.visitor-no-pull-refresh #root{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:hidden}button,input,textarea{font:inherit;letter-spacing:0}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid rgba(229,111,80,.55);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mobile-only,.mobile-brand{display:none}.avatar{position:relative;box-sizing:border-box;width:var(--avatar-size);min-width:var(--avatar-size);max-width:var(--avatar-size);height:var(--avatar-size);min-height:var(--avatar-size);max-height:var(--avatar-size);aspect-ratio:1 / 1;display:inline-flex;flex:0 0 var(--avatar-size);align-self:center;align-items:center;justify-content:center;border-radius:50%;line-height:1;font-weight:700;color:#fff;background:linear-gradient(145deg,#eb8568,#c6543a);box-shadow:inset 0 0 0 1px #ffffff4d}.avatar-sm{--avatar-size: 34px;font-size:13px}.avatar-md{--avatar-size: 44px;font-size:16px}.avatar-lg{--avatar-size: 50px;font-size:18px}.avatar-sage{background:linear-gradient(145deg,#8eb1a5,#527c70)}.profile-avatar-image{box-sizing:border-box;display:block;flex:0 0 var(--profile-avatar-size);width:var(--profile-avatar-size);min-width:var(--profile-avatar-size);height:var(--profile-avatar-size);border-radius:50%;object-fit:cover;object-position:center}.profile-avatar-sm{--profile-avatar-size: 34px}.profile-avatar-md{--profile-avatar-size: 44px}.online-dot{position:absolute;right:0;bottom:1px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#38a478}.eyebrow{margin:0 0 7px;color:var(--coral);font-size:11px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase}.icon-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:6px;background:transparent;cursor:pointer;color:#65706c;transition:.18s ease}.icon-button:hover{color:var(--ink);background:#edf0ec}.primary-button,.secondary-button{min-height:38px;padding:0 16px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;font-weight:600;font-size:13px;cursor:pointer}.primary-button{color:#fff;background:var(--green);box-shadow:0 6px 16px #154c4226}.primary-button:hover{background:#0f4037}.secondary-button{color:#44504c;border-color:#dce1dc;background:#fff}.secondary-button:hover{background:#f5f7f4}.danger-button{color:#aa4f3e;border-color:#ead4ce}.danger-button:hover{color:#963e2f;border-color:#dfbcb3;background:#fff3ef}.primary-button:disabled,.secondary-button:disabled{opacity:.55;cursor:not-allowed}.spinner{display:inline-block;width:20px;height:20px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.spinner-dark{border-color:#ccd3cf;border-top-color:var(--green)}@keyframes spin{to{transform:rotate(360deg)}}.center-state{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--muted);text-align:center;background:var(--wash)}.center-state h2,.center-state p{margin:0}.center-state button{padding:9px 16px;border:0;border-radius:6px;color:#fff;background:var(--green);cursor:pointer}.toast{position:fixed;z-index:1500;top:50%;left:50%;width:max-content;min-width:0;max-width:min(380px,calc(100vw - 32px));transform:translate(-50%,-50%);padding:8px 12px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--toast-border);border-radius:10px;color:var(--toast-text);background:var(--toast-bg);box-shadow:var(--toast-shadow);font-size:11px;line-height:1.35;text-align:center;pointer-events:none;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);animation:toast-in .14s ease-out}.toast span{min-width:0;overflow-wrap:anywhere}.toast svg{flex:0 0 auto}.toast-success svg{color:#91dfc1}.toast-info svg{color:#b9d6ff}.toast-error svg{color:#ffb2a8}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,calc(-50% + 4px)) scale(.98)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@media(prefers-reduced-motion:reduce){.toast{animation:none}}.logout-confirm-backdrop{position:fixed;z-index:1300;top:0;right:0;bottom:0;left:0;padding:16px;display:flex;align-items:center;justify-content:center;background:#141f1b38;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.logout-confirm-dialog{width:min(320px,calc(100vw - 32px));padding:19px;display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:center;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--paper);box-shadow:0 18px 48px #14221d38}.logout-confirm-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#a34d41;background:#f8e9e5}.logout-confirm-dialog>div{min-width:0;display:flex;flex-direction:column;gap:5px}.logout-confirm-dialog strong{font-size:14px;font-weight:600}.logout-confirm-dialog small{color:var(--muted);font-size:11px}.logout-confirm-dialog footer{grid-column:1 / -1;margin-top:7px;display:flex;justify-content:flex-end;gap:8px}.logout-confirm-dialog footer button{min-width:68px;min-height:34px;padding:0 14px;border-radius:6px;cursor:pointer;font-size:11px}.logout-confirm-button{border:1px solid #a95347;color:#fff;background:#a95347}.logout-confirm-button:hover{border-color:#934237;background:#934237}.dashboard-shell.theme-dark .logout-confirm-icon{color:#efb4aa;background:#49312d}@media(prefers-color-scheme:dark){.dashboard-shell.theme-system .logout-confirm-icon{color:#efb4aa;background:#49312d}}.visitor-shell{position:fixed;z-index:0;top:0;right:0;bottom:auto;left:0;width:auto;min-width:0;max-width:100%;max-inline-size:100%;height:100vh;height:var(--visitor-visual-height, 100dvh);margin:0;overflow:hidden;overscroll-behavior:none;display:flex;flex-direction:column;color:#333;background:#f5f5f5;box-shadow:none;contain:layout paint;isolation:isolate}.visitor-shell.theme-dark{color:#eef3f1;background:#17201d}.visitor-shell.theme-dark .visitor-messages{background:#17201d}.visitor-shell.theme-dark .visitor-footer{border-color:#34413d;background:#202a27}.visitor-shell.theme-dark .composer{border-color:#3b4844;background:#27322f}.visitor-shell.theme-dark .composer textarea{color:#eef3f1}.visitor-shell.theme-dark .bubble:not(.bubble-mine){--chat-bubble-bg: #2c2c2e;--chat-bubble-border: rgba(255,255,255,.07);color:#f4f4f4}.visitor-shell.theme-dark .bubble-mine{--chat-bubble-bg: #3f7d34;--chat-bubble-border: rgba(255,255,255,.06);color:#f4f4f4}.visitor-shell.theme-dark .message-quote{color:#c4cbc7;border-left-color:#c4cbc785;background:#ffffff12}.visitor-shell.theme-dark .bubble-mine .message-quote{color:#e5eee2;border-left-color:#eef7eb9e;background:#ffffff1a}.visitor-shell.theme-dark .composer-reply{border-color:#76ad96;background:#293a34}.visitor-shell.theme-dark .composer-reply strong{color:#e4ece8}.visitor-shell.theme-dark .composer-reply small{color:#a4b0aa}@media(prefers-color-scheme:dark){.visitor-shell.theme-system{color:#eef3f1;background:#17201d}.visitor-shell.theme-system .visitor-messages{background:#17201d}.visitor-shell.theme-system .visitor-footer{border-color:#34413d;background:#202a27}.visitor-shell.theme-system .composer{border-color:#3b4844;background:#27322f}.visitor-shell.theme-system .composer textarea{color:#eef3f1}.visitor-shell.theme-system .bubble:not(.bubble-mine){--chat-bubble-bg: #2c2c2e;--chat-bubble-border: rgba(255,255,255,.07);color:#f4f4f4}.visitor-shell.theme-system .bubble-mine{--chat-bubble-bg: #3f7d34;--chat-bubble-border: rgba(255,255,255,.06);color:#f4f4f4}.visitor-shell.theme-system .message-quote{color:#c4cbc7;border-left-color:#c4cbc785;background:#ffffff12}.visitor-shell.theme-system .bubble-mine .message-quote{color:#e5eee2;border-left-color:#eef7eb9e;background:#ffffff1a}.visitor-shell.theme-system .composer-reply{border-color:#76ad96;background:#293a34}.visitor-shell.theme-system .composer-reply strong{color:#e4ece8}.visitor-shell.theme-system .composer-reply small{color:#a4b0aa}}.visitor-header{position:relative;z-index:2;min-height:calc(68px + env(safe-area-inset-top));flex:0 0 auto;padding:env(safe-area-inset-top) clamp(12px,1.25vw,16px) 0;display:grid;grid-template-columns:clamp(78px,7.2vw,92px) 1fr clamp(78px,7.2vw,92px);align-items:center;color:#222;border-bottom:1px solid #e9ecea;background:#fff;box-shadow:0 1px 4px #18221f06}.visitor-title{display:flex;flex-direction:column;align-items:center;gap:2px;justify-self:center}.visitor-title strong{font-size:21px;line-height:1.1;font-weight:600;letter-spacing:.1px}.visitor-title span{display:flex;align-items:center;gap:5px;color:#35a866;font-size:12px;line-height:1.2}.status-live,.status-offline{display:inline-block;width:7px;height:7px;border-radius:50%;background:#20b86b}.status-offline{background:#f0a27f}.complaint-button{width:fit-content;height:30px;margin-left:18px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #efc7c7;border-radius:6px;color:#c94a4a;background:#fff7f7;font-size:12px;font-weight:500;cursor:pointer;box-shadow:none}.complaint-button:hover{color:#b83e3e;border-color:#e6aaaa;background:#fff1f1}.complaint-button:active{color:#a93636;border-color:#de9999;background:#fde9e9}.visitor-complaint-page{position:absolute;z-index:40;top:0;right:0;bottom:0;left:0;width:auto;height:auto;min-width:0;min-height:0;max-width:none;max-height:none;overflow:hidden;display:flex;flex-direction:column;color:#191919;background:#ededed;contain:strict}.visitor-complaint-page,.visitor-complaint-page>*,.complaint-form>*,.complaint-message-picker>*{min-width:0;max-width:100%}.complaint-mobile-header{position:relative;z-index:3;width:100%;min-width:0;min-height:calc(50px + env(safe-area-inset-top));flex:0 0 auto;padding:env(safe-area-inset-top) 8px 0;display:grid;grid-template-columns:48px minmax(0,1fr) 52px;align-items:center;border-bottom:1px solid #e1e1e1;background:#f7f7f7}.complaint-mobile-header>button{position:relative;z-index:4;width:42px;height:42px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;color:#191919;background:transparent;cursor:pointer;touch-action:manipulation}.complaint-mobile-header>.complaint-header-back{justify-self:start}.complaint-mobile-header>strong{min-width:0;overflow:hidden;justify-self:stretch;font-size:17px;font-weight:600;text-align:center;text-overflow:ellipsis;white-space:nowrap}.complaint-mobile-header>.complaint-header-done{width:52px;justify-self:end;color:#576b95;font-size:14px}.complaint-form{width:100%;min-width:0;min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;overscroll-behavior:none;padding:12px 0 max(26px,env(safe-area-inset-bottom))}.complaint-target{min-height:65px;margin-bottom:12px;padding:11px 17px;display:flex;flex-direction:column;justify-content:center;gap:5px;background:#fff}.complaint-target small{color:#8c8c8c;font-size:12px}.complaint-target strong{font-size:16px;font-weight:500}.complaint-form-row{width:100%;min-height:53px;padding:0 17px;display:flex;justify-content:space-between;align-items:center;border:0;border-bottom:1px solid #ededed;color:#191919;background:#fff;cursor:pointer;font-size:15px;text-align:left}.complaint-form-row>span:last-child{min-width:0;display:flex;align-items:center;gap:5px;color:#8c8c8c;font-size:13px}.complaint-form-row svg{transform:rotate(-90deg);color:#b2b2b2}.complaint-description{margin-top:12px;padding:15px 17px 9px;display:block;background:#fff}.complaint-description>span,.complaint-images>span{display:block;margin-bottom:11px;font-size:15px}.complaint-description textarea{width:100%;min-width:0;max-width:100%;min-height:108px;padding:0;resize:none;border:0;outline:none;color:#222;background:transparent;font:inherit;font-size:16px;line-height:1.55}.complaint-description>small{display:block;color:#b2b2b2;font-size:11px;text-align:right}.complaint-images{margin-bottom:12px;padding:15px 17px 17px;background:#fff}.complaint-images>span small{color:#999;font-size:11px;font-weight:400}.complaint-images>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.complaint-images figure,.complaint-add-image{position:relative;aspect-ratio:1;margin:0;overflow:hidden;border:0;border-radius:2px;background:#f3f3f3}.complaint-images figure img{width:100%;height:100%;display:block;object-fit:cover}.complaint-images figure button{position:absolute;top:2px;right:2px;width:21px;height:21px;padding:0;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;color:#fff;background:#00000094;cursor:pointer}.complaint-add-image{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#929292;border:1px dashed #c8c8c8;cursor:pointer}.complaint-add-image small{font-size:10px}.complaint-form-error{margin:11px 17px 0;color:#d34b4b;font-size:12px;text-align:center}.complaint-submit{width:calc(100% - 34px);height:46px;margin:22px 17px 0;border:0;border-radius:4px;color:#fff;background:#07c160;font-size:16px;cursor:pointer}.complaint-submit:disabled{color:#fffc;background:#9bd8b6;cursor:default}.complaint-reason-list{min-height:0;flex:1 1 auto;margin-top:12px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:none;-webkit-overflow-scrolling:touch;background:#fff}.complaint-reason-list button{width:100%;min-height:54px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #ededed;color:#191919;background:#fff;font-size:15px;cursor:pointer;text-align:left}.complaint-reason-list svg{color:#07c160}.complaint-evidence-page{min-width:0;min-height:0;overflow:hidden}.complaint-selection-tip{width:100%;min-width:0;flex:0 0 auto;margin:0;padding:8px 15px;color:#888;background:#ededed;font-size:11px}.complaint-message-picker{width:100%;min-width:0;min-height:0;flex:1 1 0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:none;-webkit-overflow-scrolling:touch;padding-bottom:env(safe-area-inset-bottom);background:#fff}.complaint-message-picker>button{width:100%;max-width:100%;min-width:0;min-height:68px;padding:9px 14px;overflow:hidden;display:grid;grid-template-columns:23px minmax(0,1fr) 44px;gap:10px;align-items:center;border:0;border-bottom:1px solid #ededed;color:#222;background:#fff;cursor:pointer;text-align:left;touch-action:manipulation}.complaint-message-picker>button>i{width:21px;height:21px;display:flex;align-items:center;justify-content:center;border:1px solid #c7c7c7;border-radius:50%;color:#fff;font-style:normal}.complaint-message-picker>button.selected>i{border-color:#07c160;background:#07c160}.complaint-message-picker>button>span{width:100%;min-width:0;max-width:100%;overflow:hidden;display:flex;flex-direction:column;gap:5px}.complaint-message-picker strong{overflow:hidden;max-width:100%;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.complaint-message-picker small{overflow:hidden;color:#777;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.complaint-message-picker time{width:44px;max-width:44px;overflow:hidden;align-self:start;color:#aaa;font-size:10px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.complaint-empty{padding:80px 20px;color:#999;font-size:13px;text-align:center}.complaint-success-page>div{flex:1;padding:100px 24px 30px;display:flex;flex-direction:column;align-items:center}.complaint-success-icon{width:64px;height:64px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:#07c160}.complaint-success-page h2{margin:22px 0 8px;font-size:20px;font-weight:500}.complaint-success-page p{margin:0;color:#888;font-size:13px}.complaint-success-page>div>button{width:min(250px,80%);height:44px;margin-top:40px;border:0;border-radius:4px;color:#fff;background:#07c160;font-size:15px;cursor:pointer}.visitor-messages,.staff-messages{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 15px 28px;scroll-behavior:auto}.visitor-messages{overscroll-behavior:none;-webkit-overflow-scrolling:touch}.visitor-message-stage{position:relative;min-height:0;flex:1 1 auto;display:flex}.visitor-messages{min-width:0;flex:1 1 auto}.visitor-new-message-button{position:absolute;z-index:3;right:16px;bottom:12px;width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e2e7e4;border-radius:50%;color:#66716c;background:#fff;box-shadow:0 4px 14px #18221f29;cursor:pointer}.visitor-new-message-button i{position:absolute;top:1px;right:1px;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#e83939}.visitor-shell.theme-dark .visitor-new-message-button{color:#dfe7e3;border-color:#43504c;background:#29332f}.visitor-shell.theme-dark .visitor-new-message-button i{border-color:#29332f}@media(prefers-color-scheme:dark){.visitor-shell.theme-system .visitor-new-message-button{color:#dfe7e3;border-color:#43504c;background:#29332f}.visitor-shell.theme-system .visitor-new-message-button i{border-color:#29332f}}.queue-notice{width:fit-content;margin:20px auto 18px;display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:5px;color:#8b624e;background:#fce9df;font-size:11px}.message-time-divider{width:100%;margin:3px auto 15px;display:block;color:#9a9f9c;font-size:11px;font-style:normal;line-height:1.4;text-align:center}.message-row{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px}.message-row.message-mine{justify-content:flex-end}.message-wrap{max-width:min(79%,480px);display:flex;flex-direction:column;align-items:flex-start}.message-mine .message-wrap{align-items:flex-end}.visitor-message-avatar{box-sizing:border-box;width:61px;min-width:61px;max-width:61px;height:61px;min-height:61px;max-height:61px;aspect-ratio:1 / 1;display:block;flex:0 0 61px;align-self:flex-start;border-radius:50%;object-fit:cover;object-position:center}.visitor-sender-label{margin:1px 0 5px;color:#8b8b8b;font-size:17px;line-height:1.2}.bubble{--chat-bubble-bg: #fff;--chat-bubble-border: rgba(0,0,0,.055);position:relative;max-width:100%;padding:10px 12px;border:1px solid var(--chat-bubble-border);border-radius:5px;color:#111;background:var(--chat-bubble-bg);box-shadow:0 1px 1px #00000006;font-size:15px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.bubble-mine{--chat-bubble-bg: #95ec69;--chat-bubble-border: rgba(72,164,35,.13);color:#111}.message-row .bubble:before,.message-row .bubble:after{position:absolute;top:11px;width:0;height:0;pointer-events:none;content:""}.message-row:not(.message-mine) .bubble:before{left:-8px;border-top:6px solid transparent;border-right:8px solid var(--chat-bubble-border);border-bottom:6px solid transparent}.message-row:not(.message-mine) .bubble:after{left:-6px;border-top:6px solid transparent;border-right:8px solid var(--chat-bubble-bg);border-bottom:6px solid transparent}.message-row.message-mine .bubble:before{right:-8px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:8px solid var(--chat-bubble-border)}.message-row.message-mine .bubble:after{right:-6px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:8px solid var(--chat-bubble-bg)}.bubble-media{padding:3px}.bubble-media.bubble-with-quote{padding:8px}.recall-notice{margin:0 auto 18px;display:flex;justify-content:center}.recall-notice span{min-height:22px;padding:3px 8px;display:inline-flex;align-items:center;border-radius:3px;color:#919895;background:#4c58541a;font-size:11px;line-height:1.45}.message-quote{min-width:0;margin:-3px 0 8px;padding:5px 8px;display:flex;flex-direction:column;gap:2px;border-left:2px solid rgba(61,112,94,.72);color:#66716c;background:#3d705e14;font-size:10px;line-height:1.35}.message-quote strong,.message-quote span{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.bubble-mine .message-quote{color:#35602b;border-left-color:#2c691c9e;background:#ffffff3d}.composer-reply{min-width:0;margin:0 0 7px;padding:6px 8px;display:flex;align-items:center;gap:8px;border-left:2px solid var(--green-2);background:#f4f7f4}.composer-reply>span{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.composer-reply strong,.composer-reply small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-reply strong{color:#4b5953;font-size:10px}.composer-reply small{color:#858e8a;font-size:10px}.composer-reply button{width:26px;height:26px;flex:0 0 26px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:4px;color:#8a9590;background:transparent;cursor:pointer}.composer-reply button:hover{color:#a54d3b;background:#fff0ec}.recallable-message{-webkit-touch-callout:none;-webkit-user-select:text;user-select:text;-webkit-user-drag:none}.recallable-message:focus-visible{outline:2px solid rgba(62,120,100,.45);outline-offset:3px}.message-action-selected{position:relative;z-index:1;box-shadow:0 0 0 2px #2f6d586b,0 4px 14px #2239301f}.bubble-mine.message-action-selected{box-shadow:0 0 0 2px #357c2173,0 4px 14px #2239302e}.message-action-selected::selection,.message-action-selected *::selection{color:inherit;background:#508c7447}.message-action-menu{position:fixed;z-index:420;width:154px;padding:5px;border:1px solid rgba(31,46,42,.1);border-radius:6px;background:#fff;box-shadow:0 10px 28px #18221f2e}.message-action-menu button{width:100%;height:36px;padding:0 10px;display:flex;align-items:center;gap:8px;border:0;border-radius:4px;color:#49534f;background:transparent;cursor:pointer;font-size:12px;text-align:left}.message-action-menu button:hover,.message-action-menu button:focus-visible{outline:0;background:#f1f5f2}.message-action-menu button.danger{color:#a53f3f}.message-action-menu button small{margin-left:auto;color:#a0a8a4;font-size:10px}.message-action-menu.touch{min-width:132px;padding:4px;display:flex;overflow:visible;border:0;border-radius:8px;color:#fff;background:#1f2321f5;box-shadow:0 8px 24px #0000003d}.message-action-menu.touch button{width:62px;min-width:62px;height:36px;flex:0 0 62px;justify-content:center;padding:0 5px;color:#fff;font-size:12px;white-space:nowrap}.message-action-menu.touch button svg{display:none}.message-action-menu.touch button.danger{color:#ffb1a8}.message-action-menu.touch:after{position:absolute;left:50%;width:0;height:0;content:"";transform:translate(-50%);border-right:6px solid transparent;border-left:6px solid transparent}.message-action-menu.touch.placement-above:after{bottom:-6px;border-top:6px solid rgba(31,35,33,.96)}.message-action-menu.touch.placement-below:after{top:-6px;border-bottom:6px solid rgba(31,35,33,.96)}.message-action-menu.mac{border-radius:8px;background:#fafafaf5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.message-action-menu.windows{border-radius:3px}.message-action-menu.theme-dark{border-color:#3b4743;background:#29322f}.message-action-menu.theme-dark button{color:#e0e8e4}.message-action-menu.theme-dark button:hover,.message-action-menu.theme-dark button:focus-visible{background:#34413b}.message-action-menu.theme-dark button.danger{color:#eeaaa5}.message-action-menu.theme-dark.touch{border-color:transparent;background:#181c1af7}.message-action-menu.theme-dark.touch.placement-above:after{border-top-color:#181c1af7}.message-action-menu.theme-dark.touch.placement-below:after{border-bottom-color:#181c1af7}.message-meta{display:flex;gap:4px;align-items:center;margin-top:6px;color:#999;font-size:10px}.staff-read-receipt{color:#a2a9a5}.staff-read-receipt.is-read{color:#3b8f72}.sender-label{margin-bottom:5px;color:#848b88;font-size:10px}.media-message{position:relative;display:block;overflow:hidden;width:min(270px,55vw);min-height:min(160px,38vw);max-height:340px;border-radius:5px;background:#e8ebe7}.media-message img{display:block;width:100%;height:auto;object-fit:cover}.media-video-frame video{width:100%;min-height:inherit;max-height:340px;display:block;object-fit:contain;background:#151816}.media-video-trigger{padding:0;border:0;cursor:pointer}.media-video-trigger:disabled{cursor:default}.media-video-play{position:absolute;top:50%;left:50%;width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.42);border-radius:50%;color:#fff;background:#10161394;transform:translate(-50%,-50%);box-shadow:0 2px 10px #00000038;pointer-events:none}.media-loading-outline{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(110deg,#e1e6e2 8%,#edf0ed 18%,#e1e6e2 33%);background-size:200% 100%;animation:media-outline-refresh 1.25s linear infinite}.media-uploading-state{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:#fff;background:#141c1847;pointer-events:none}.media-uploading-state .spinner{width:23px;height:23px;border-color:#ffffff6b;border-top-color:#fff}@keyframes media-outline-refresh{to{background-position-x:-200%}}.media-image-trigger{padding:0;border:0;cursor:zoom-in}.image-preview-overlay{position:fixed;z-index:300;top:0;right:0;bottom:0;left:0;overflow:hidden;overscroll-behavior:none;touch-action:none;background:#080b0af0;contain:strict}.image-preview-toolbar{position:absolute;z-index:2;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));left:max(10px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:flex-end;gap:6px;pointer-events:none}.image-preview-toolbar button{min-width:44px;height:42px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:6px;color:#fff;background:#ffffff21;cursor:pointer;font-size:14px}.image-preview-toolbar button{pointer-events:auto}.image-preview-toolbar button:hover{background:#ffffff38}.image-preview-toolbar button:disabled{opacity:.35;cursor:default}.image-preview-toolbar .spinner{width:17px;height:17px}.image-preview-toolbar .image-preview-scale{min-width:58px;padding:0 8px;font-variant-numeric:tabular-nums}.image-preview-stage{position:absolute;inset:max(62px,calc(env(safe-area-inset-top) + 52px)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));overflow:hidden;display:flex;align-items:center;justify-content:center;overscroll-behavior:none;touch-action:none;cursor:zoom-in}.image-preview-stage.zoomed{cursor:grab}.image-preview-stage.dragging{cursor:grabbing}.image-preview-full{display:block;width:auto;max-width:100%;height:auto;max-height:100%;flex:0 0 auto;object-fit:contain;transform-origin:center;will-change:transform;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none;touch-action:none}.video-preview-stage{cursor:default;touch-action:manipulation}.video-preview-player{width:auto;max-width:100%;height:auto;max-height:100%;display:block;background:#000;object-fit:contain;-webkit-user-select:none;-webkit-touch-callout:none}.video-preview-main-play{position:absolute;top:50%;left:50%;width:68px;height:68px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.5);border-radius:50%;color:#fff;background:#0a0d0c94;box-shadow:0 4px 16px #0000004d;transform:translate(-50%,-50%);cursor:pointer}.video-preview-controls{position:absolute;right:0;bottom:0;left:0;min-height:46px;padding:8px 10px;display:flex;align-items:center;gap:8px;color:#fff;background:linear-gradient(transparent,#000000bd);touch-action:manipulation}.video-preview-controls button{width:31px;height:31px;flex:0 0 31px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:4px;color:inherit;background:transparent;cursor:pointer}.video-preview-controls button:hover{background:#ffffff24}.video-preview-controls button:disabled{opacity:.42;cursor:default}.video-preview-controls time{min-width:32px;font-variant-numeric:tabular-nums;font-size:11px;text-align:center}.video-preview-controls input[type=range]{min-width:0;flex:1;accent-color:#fff;cursor:pointer}.video-preview-error{position:absolute;top:50%;left:50%;padding:7px 10px;border-radius:5px;color:#fff;background:#0c100eb8;font-size:12px;transform:translate(-50%,-50%)}@media(max-width:520px){.image-preview-toolbar{justify-content:center}.image-preview-toolbar button{min-width:38px;height:38px;padding:0 9px}.image-preview-toolbar .image-preview-scale{min-width:52px}.image-preview-stage{top:max(58px,calc(env(safe-area-inset-top) + 48px))}.media-video-play{width:46px;height:46px}.video-preview-main-play{width:60px;height:60px}.video-preview-controls{min-height:42px;padding:6px 7px;gap:4px}.video-preview-controls time{min-width:29px;font-size:10px}.video-preview-controls button{width:29px;height:29px;flex-basis:29px}}.visitor-footer{position:relative;z-index:2;max-height:min(42%,310px);flex:0 0 auto;overflow-y:auto;padding:clamp(9px,1.7dvh,12px) clamp(13px,1.56vw,20px) calc(clamp(10px,2.08dvh,15px) + env(safe-area-inset-bottom));border-top:1px solid #eee;background:#fff}.visitor-footer>p{margin:8px 0 0;color:#b0b5b2;font-size:9px;text-align:center}.visitor-send-error{margin:0 0 8px;padding:6px 9px;border-radius:5px;color:#9d4d3b;background:#fff0ea;font-size:10px;text-align:center}.visitor-footer{position:relative}.composer{min-height:86px;display:grid;grid-template-columns:auto 1fr auto;gap:6px;align-items:flex-end;padding:10px 12px;border:1px solid #dde2dd;border-radius:6px;background:#fff}.composer{position:relative}.drop-media-overlay{position:absolute;z-index:4;top:7px;right:7px;bottom:7px;left:7px;display:flex;align-items:center;justify-content:center;gap:9px;border:2px dashed #79a696;border-radius:5px;color:var(--green);background:#f0f8f4f5;font-size:12px;font-weight:600;pointer-events:none}.pending-media{min-width:0;min-height:58px;margin:0 0 8px;padding:5px 6px;display:flex;align-items:center;gap:9px;border:1px solid #d9e3dd;border-radius:5px;background:#f5f8f5}.pending-media img,.pending-media video{width:46px;height:46px;flex:0 0 46px;border-radius:4px;object-fit:cover;background:#dfe5e1}.pending-media>span{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.pending-media strong,.pending-media small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pending-media strong{color:#45524d;font-size:11px;font-weight:600}.pending-media small{color:#89938e;font-size:9px}.pending-media button{width:30px;height:30px;flex:0 0 30px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:4px;color:#79837f;background:transparent;cursor:pointer}.pending-media button:hover{color:#9e4e3d;background:#f9ebe6}.staff-image-message{position:relative;display:block}.copy-media-button{position:absolute;right:7px;bottom:7px;width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:5px;color:#fff;background:#182420b3;box-shadow:0 2px 8px #00000024;cursor:pointer;opacity:0;transition:.18s ease}.staff-image-message:hover .copy-media-button,.copy-media-button:focus-visible{opacity:1}.composer-compact{min-height:61px;display:flex;flex-direction:column;gap:0;padding:0;border:0;border-radius:0;background:transparent}.composer-compact .icon-button,.composer-compact textarea,.composer-compact .pending-media,.composer-compact .media-choice-menu{transition:none;animation:none}.composer-row{width:100%;min-height:61px;display:grid;grid-template-columns:1fr auto auto;gap:11px;align-items:center}.composer-tools{display:flex}.media-choice-menu{--media-panel-height: calc(142px + env(safe-area-inset-bottom)) ;width:100%;height:var(--media-panel-height);min-height:0;overflow:hidden;padding:18px 22px calc(18px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,64px);align-items:start;gap:20px;border-top:1px solid #e6e6e6;background:#f7f7f7}.media-choice-menu button{width:64px;min-height:90px;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;border:0;border-radius:9px;color:#555;background:transparent;cursor:pointer;font-size:12px}.media-choice-menu button:hover{background:#ededed}.media-choice-menu small{font-size:12px}.media-choice-icon{width:54px;height:54px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e1e1e1;border-radius:12px;color:#555;background:#fff;box-shadow:0 1px 2px #00000008}.media-choice-image,.media-choice-video{color:#555;background:#fff}.composer textarea{align-self:stretch;resize:none;min-height:42px;max-height:100px;padding:7px 8px;border:0;outline:0;color:var(--ink);background:transparent;line-height:1.5}.composer-compact textarea{--visitor-input-height: 54px;grid-column:1;grid-row:1;align-self:center;height:var(--visitor-input-height);min-height:var(--visitor-input-height);max-height:106px;overflow-y:hidden;padding:calc((var(--visitor-input-height) - 26px) / 2) 16px;border-radius:27px;background:#f7f7f7;font-size:17px;line-height:26px}.composer textarea::placeholder{color:#a5aba8}.send-button{width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:6px;color:#fff;background:var(--coral);cursor:pointer}.composer-compact .composer-tools{grid-column:2;grid-row:1}.composer-compact .composer-tools{position:relative}.visitor-add-button{width:32px;height:32px;color:#111;border:2px solid #111;border-radius:50%}.visitor-add-button:hover{color:#111;background:#fff}.visitor-send-button{grid-column:3;grid-row:1;width:92px;height:50px;border-radius:25px;color:#999;background:#f2f2f2;font-size:17px;font-weight:500}.visitor-send-button:not(:disabled){color:#fff;background:#1eaa69}.send-button:disabled{color:#a9afac;background:#ebeeeb;cursor:not-allowed}.emoji-menu{position:absolute;z-index:8;right:8px;bottom:calc(100% + 9px);width:236px;padding:9px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;border:1px solid #dfe4df;border-radius:7px;background:#fff;box-shadow:0 12px 30px #1b2e2824}.emoji-menu button{height:38px;padding:0;border:0;border-radius:5px;background:transparent;cursor:pointer;font-size:19px}.emoji-menu button:hover{background:#f1f5f1}.login-page{width:100%;height:100%;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);background:#fff}.login-intro{position:relative;min-height:0;overflow:hidden;padding:clamp(30px,6.5dvh,48px) clamp(34px,7vw,110px);display:flex;flex-direction:column;color:#fff;background:#2468cf}.login-intro:before{content:"";position:absolute;inset:auto -14% -26% auto;width:480px;height:480px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 70px #ffffff04,0 0 0 140px #ffffff03}.brand-mark{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.22);border-radius:9px;color:#fff;background:#2468cf;box-shadow:0 5px 14px #1d58b121}.brand-mark svg{display:block;width:26px;height:26px;stroke-width:1.65}.login-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px}.login-brand .brand-mark{flex:0 0 auto;border-color:#ffffff42;background:#1659bc;box-shadow:0 6px 16px #0a306929}.login-brand>span:last-child{display:flex;flex-direction:column}.login-brand strong{font-size:15px;font-weight:600}.login-brand small{margin-top:3px;color:#ffffff94;font-size:9px}.login-intro-main{position:relative;z-index:1;margin:auto 0}.login-intro-main h1{max-width:600px;margin:0;font-size:clamp(30px,min(4.15vw,7.4dvh),62px);line-height:1.22;letter-spacing:0}.login-intro-foot{position:relative;z-index:1;align-self:flex-start;color:#ffffff75;font-size:9px}.login-form-panel{min-width:0;min-height:0;overflow-y:auto;padding:clamp(20px,6.25dvh,45px) clamp(22px,3.52vw,45px);display:flex;align-items:center;justify-content:center}.login-form{width:min(390px,100%);display:flex;flex-direction:column;gap:clamp(13px,2.78dvh,20px)}.login-form h2{margin:0;color:#172033;font-size:31px}.login-form div>p:last-child{margin:8px 0;color:var(--muted);font-size:13px}.login-form .eyebrow{color:#2468cf}.login-form label,.modal label,.editor-fields label{display:flex;flex-direction:column;gap:8px;color:#46504d;font-size:12px;font-weight:600}.login-form input,.modal input:not(.sr-only),.editor-fields input:not(.sr-only),.editor-fields textarea{width:100%;border:1px solid #dbe0dc;border-radius:5px;padding:12px 13px;color:var(--ink);background:#fbfcfa;outline:none;font-size:14px;font-weight:400;transition:.16s}.login-form input:focus{border-color:#2468cf;background:#fff;box-shadow:0 0 0 3px #2468cf17}.login-button{height:47px;margin-top:4px;background:#2468cf;box-shadow:none}.login-button:hover{background:#1d58b1}.form-error{padding:10px 12px;color:#a44935;background:#fff0ea;border-radius:5px;font-size:12px}.demo-hint{margin:-5px 0 0;color:#b0b6bd;font-size:10px;text-align:center}.inbox-layout{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;display:grid;grid-template-columns:clamp(238px,25vw,320px) minmax(0,1fr)}.conversation-list{position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr);border-right:1px solid var(--line);background:#fff}.conversation-controls{min-height:clamp(36px,5.55vmin,40px);padding:0 clamp(9px,1.8vmin,13px);display:flex;align-items:stretch;border-bottom:1px solid var(--line);background:#fff}.filter-tabs{min-width:0;flex:1;display:flex;gap:2px}.filter-tabs button{position:relative;min-width:0;flex:1;padding:0 3px;border:0;color:#8a918e;background:transparent;cursor:pointer;font-size:clamp(9px,1.4vmin,10px)}.filter-tabs button.active{color:var(--green);font-weight:700}.filter-tabs button.active:after{content:"";position:absolute;right:5px;bottom:-1px;left:5px;height:2px;background:var(--coral)}.compact-search-button,.compact-search button{width:clamp(29px,4.45vmin,32px);min-width:clamp(29px,4.45vmin,32px);padding:0;display:inline-flex;align-items:center;justify-content:center;border:0;color:#8d9692;background:transparent;cursor:pointer}.compact-search-button:hover,.compact-search button:hover{color:var(--green);background:#f4f7f4}.conversation-controls.searching{padding-top:clamp(4px,.7vmin,5px);padding-bottom:clamp(4px,.7vmin,5px)}.compact-search{width:100%;min-width:0;display:flex;align-items:center;gap:7px;padding-left:10px;border:1px solid #dfe4df;border-radius:5px;color:#8d9692;background:#f8faf8}.compact-search input{width:100%;min-width:0;border:0;outline:0;color:var(--ink);background:transparent;font-size:clamp(10px,1.67vmin,12px)}.conversation-scroll{min-height:0;overflow-y:auto}.conversation-item{position:relative;width:100%;min-height:clamp(48px,7.5vmin,56px);padding:clamp(7px,1.25vmin,9px) clamp(11px,2.15vmin,15px);display:grid;grid-template-columns:clamp(28px,4.35vmin,32px) minmax(0,1fr);gap:clamp(7px,1.25vmin,9px);align-items:center;border:0;border-bottom:1px solid #eff1ee;text-align:left;background:#fff;cursor:pointer}.conversation-item .avatar-sm{--avatar-size: clamp(28px, 4.35vmin, 32px);font-size:clamp(10px,1.67vmin,12px)}.conversation-item:hover{background:#fafbf9}.conversation-item.pinned{background:#f3f5f3}.conversation-item.pinned:hover{background:#eef2ef}.conversation-item.selected{background:#fff}.conversation-item.pinned.selected{background:#f3f5f3}.conversation-item.selected:before{content:"";position:absolute;z-index:2;left:0;top:clamp(8px,1.4vmin,10px);bottom:clamp(8px,1.4vmin,10px);width:clamp(2px,.42vmin,3px);background:#e5b544}.conversation-item.opening:after{content:"";position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;pointer-events:none;background:#e5b5441f;animation:conversation-open-flash .22s ease-out both}@keyframes conversation-open-flash{0%{opacity:1}to{opacity:0}}.conversation-item.has-status-indicator .preview-message{padding-right:clamp(20px,3.6vmin,26px)}.conversation-item.has-unread .preview-top strong{color:var(--ink);font-weight:700}.conversation-unread-badge{position:absolute;right:clamp(11px,2.15vmin,15px);bottom:clamp(8px,1.55vmin,11px);min-width:clamp(16px,2.5vmin,18px);height:clamp(16px,2.5vmin,18px);padding:0 4px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:#fff;background:#e5484d;box-shadow:0 0 0 2px var(--paper);font-size:clamp(8px,1.25vmin,9px);font-style:normal;font-variant-numeric:tabular-nums;font-weight:700;line-height:1}.conversation-mute-badge{position:absolute;right:clamp(12px,2.15vmin,15px);bottom:clamp(9px,1.55vmin,11px);width:clamp(16px,2.5vmin,18px);height:clamp(16px,2.5vmin,18px);display:inline-flex;align-items:center;justify-content:center;color:#9ca5a1}.conversation-preview{min-width:0;display:flex;flex-direction:column}.preview-top{display:flex;align-items:center;justify-content:space-between;gap:clamp(6px,1.25vmin,9px)}.preview-top strong{overflow:hidden;color:#35413d;font-size:clamp(10px,1.67vmin,12px);text-overflow:ellipsis;white-space:nowrap}.preview-top time{flex:0 0 auto;color:#a0a7a3;font-size:clamp(8px,1.25vmin,9px)}.preview-message{margin-top:clamp(2px,.55vmin,4px);overflow:hidden;color:#808784;font-size:clamp(9px,1.4vmin,10px);text-overflow:ellipsis;white-space:nowrap}.status-tag{padding:3px 6px;border-radius:3px;font-size:8px;font-style:normal}.status-tag.active{color:#23705e;background:#e5f3ed}.status-tag.waiting{color:#a65a3c;background:#fceddf}.status-tag.closed{color:#7d8481;background:#eceeeb}.miniapp-qr-thumbnail{width:50px;height:50px;padding:3px;display:block;overflow:hidden;border:1px solid #dfe4e0;border-radius:5px;background:#fff;cursor:zoom-in}.miniapp-qr-thumbnail:hover{border-color:#94aaa2;box-shadow:0 2px 8px #154c4214}.miniapp-qr-thumbnail img{width:100%;height:100%;display:block;object-fit:contain}.miniapp-qr-missing{min-height:30px;padding:5px 8px;display:inline-flex;align-items:center;gap:5px;border-radius:4px;color:#8b9390;background:#f0f2f0;font-size:9px;white-space:nowrap}.miniapp-qr-missing.waiting{color:#8c6649;background:#f8eee5}.miniapp-qr-missing .spinner{width:13px;height:13px}.empty-list{padding:65px 20px;display:flex;flex-direction:column;align-items:center;color:#a0a7a3;font-size:12px}.conversation-panel{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;display:grid;grid-template-rows:clamp(56px,9.6dvh,69px) minmax(0,1fr) auto;background:#f5f6f3}.conversation-header{min-height:0;padding:0 clamp(12px,1.72vw,22px);display:flex;gap:clamp(8px,.86vw,11px);align-items:center;border-bottom:1px solid var(--line);background:#fffffff0}.conversation-title{min-width:0;display:flex;flex-direction:column}.conversation-title strong{font-size:13px}.conversation-title span{margin-top:3px;color:#909793;font-size:9px}.conversation-actions{margin-left:auto;display:flex;gap:8px;align-items:center}.staff-messages{padding:clamp(16px,3.5dvh,25px) clamp(16px,6vw,80px)}.staff-messages .message-wrap{max-width:min(68%,560px)}.staff-composer{position:relative;max-height:min(34dvh,250px);overflow:visible;padding:clamp(7px,1.55dvh,11px) clamp(10px,1.56vw,20px) clamp(6px,1.25dvh,9px);border-top:1px solid var(--line);background:#fff}.new-message-indicator{position:absolute;z-index:6;right:clamp(18px,2.1vw,28px);bottom:calc(100% + 8px);min-width:24px;height:24px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;border:2px solid #fff;border-radius:999px;color:#fff;background:var(--coral);box-shadow:0 3px 10px #26342f33;cursor:pointer;font-size:10px;font-weight:700;line-height:1}.new-message-indicator:hover{background:#d85e40}.new-message-indicator:focus-visible{outline:2px solid var(--coral);outline-offset:2px}.staff-composer .composer{min-height:54px;padding:7px 9px;display:block;border-color:#dce1dc}.staff-composer .composer-row{min-height:40px;grid-template-columns:auto minmax(0,1fr) auto;gap:7px}.staff-composer .composer-tools{grid-column:1;grid-row:1;align-items:center}.staff-composer .composer textarea{grid-column:2;grid-row:1;width:100%;min-height:40px;max-height:92px;align-self:center;padding:9px 10px}.staff-composer .send-button{grid-column:3;grid-row:1;align-self:center}.staff-composer .emoji-menu{right:9px}.staff-composer .drop-media-overlay{position:fixed;z-index:20;top:clamp(56px,9.6dvh,69px);right:0;bottom:96px;left:clamp(238px,25vw,320px);width:auto}.composer-caption{margin:5px 4px 0;display:flex;justify-content:space-between;color:#adb2af;font-size:8px}.empty-conversation{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#919995;background:#f5f6f3}.empty-conversation>span{width:63px;height:63px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#6e8d83;background:#e3eae6}.empty-conversation h3{margin:16px 0 5px;color:#4c5854;font-size:15px}.empty-conversation p{margin:0;font-size:11px}.page-content{min-width:0;min-height:0;overflow:auto;padding:clamp(20px,4.72dvh,34px) clamp(18px,4vw,58px) clamp(30px,6.94dvh,50px)}.page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:clamp(17px,3.75dvh,27px)}.page-header h1{margin:0;font-size:27px}.page-header>div>p:last-child{margin:8px 0 0;color:var(--muted);font-size:12px}.metric-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,.94vw,12px);margin-bottom:clamp(12px,2.5dvh,18px)}.metric-row.metric-row-two{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-row div{min-height:clamp(76px,13.06dvh,94px);padding:clamp(12px,2.5dvh,18px) clamp(13px,1.56vw,20px);display:flex;flex-direction:column;border:1px solid var(--line);border-radius:6px;background:#fff}.metric-row span{color:var(--muted);font-size:10px}.metric-row strong{margin-top:8px;color:var(--green);font-size:25px}.data-section{border:1px solid var(--line);border-radius:7px;background:#fff}.section-title{min-height:clamp(54px,9dvh,65px);padding:clamp(11px,2.22dvh,16px) 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.section-title h2{margin:0;font-size:14px}.section-title p{margin:5px 0 0;color:var(--muted);font-size:10px}.section-title>span{color:var(--muted);font-size:10px}.section-title>div:first-child{min-width:0}.admin-metadata-hint{margin-top:5px;display:flex;align-items:center;gap:4px;color:#9aa29e;font-size:9px;font-weight:400}.admin-list-filter{position:relative;flex:0 0 auto;display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px}.searchable-select{position:relative;width:100%;min-width:0;min-height:42px;padding:0 34px 0 11px;display:flex;align-items:center;gap:7px;border:1px solid #dbe0dc;border-radius:6px;color:#87918d;background:#fbfcfa;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.searchable-select.compact{min-height:32px;padding:0 28px 0 8px;gap:5px;border-radius:5px}.searchable-select.open,.searchable-select:focus-within{border-color:#6c9389;background:#fff;box-shadow:0 0 0 3px #154c420f}.searchable-select>svg{flex:0 0 auto;color:#87918d}.searchable-select>input{min-width:0;width:100%;height:40px;padding:0!important;border:0!important;outline:none;color:var(--ink);background:transparent!important;box-shadow:none!important;font-size:12px;font-weight:400;text-overflow:ellipsis}.searchable-select.compact>input{height:30px;font-size:10px}.searchable-select>input:disabled{color:#929a96;cursor:not-allowed}.searchable-select-toggle{position:absolute;top:50%;right:5px;width:27px;height:27px;padding:0;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;border:0;border-radius:4px;color:#87918d;background:transparent;cursor:pointer}.searchable-select.compact .searchable-select-toggle{right:3px;width:24px;height:24px}.searchable-select-toggle:hover{color:var(--green-2);background:#eef3ef}.searchable-select.open .searchable-select-toggle svg{transform:rotate(180deg)}.searchable-select-panel{position:fixed;z-index:500;max-height:230px;padding:5px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:1px solid #dbe3de;border-radius:7px;color:#52605a;background:#fff;box-shadow:0 14px 34px #1b2c262e}.searchable-select-panel button{width:100%;min-height:34px;padding:0 8px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;overflow:hidden;border:0;border-radius:5px;color:inherit;background:transparent;cursor:pointer;font-size:10px;text-align:left}.searchable-select-panel button>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchable-select-panel button>small{color:#99a29e;font-size:9px}.searchable-select-panel button>svg{color:var(--green-2)}.searchable-select-panel button:hover,.searchable-select-panel button:focus-visible,.searchable-select-panel button.active,.searchable-select-panel button.selected{color:var(--green-2);background:#eef5f1;outline:none}.searchable-select-panel button:disabled,.searchable-select-panel button.disabled{color:#9ca4a0;background:transparent;cursor:not-allowed;opacity:.72}.searchable-select-panel button:disabled:hover,.searchable-select-panel button.disabled:hover{color:#9ca4a0;background:transparent}.select-option-status{display:inline-flex;align-items:center;gap:7px}.select-option-status i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#aeb4b1}.select-option-status.available i{background:#48a581;box-shadow:0 0 0 2px #48a5811f}.select-option-status.unavailable i{background:#aeb4b1}.searchable-select-empty{min-height:48px;padding:0 10px;display:flex;align-items:center;justify-content:center;color:#969f9b;font-size:10px;text-align:center}.searchable-select-panel.theme-dark{color:#c1cac6;border-color:#3c4844;background:#222b28;box-shadow:0 14px 34px #0000004d}.searchable-select-panel.theme-dark button:hover,.searchable-select-panel.theme-dark button:focus-visible,.searchable-select-panel.theme-dark button.active,.searchable-select-panel.theme-dark button.selected{color:#9ed9c5;background:#303c37}@media(prefers-color-scheme:dark){.searchable-select-panel.theme-system{color:#c1cac6;border-color:#3c4844;background:#222b28;box-shadow:0 14px 34px #0000004d}.searchable-select-panel.theme-system button:hover,.searchable-select-panel.theme-system button:focus-visible,.searchable-select-panel.theme-system button.active,.searchable-select-panel.theme-system button.selected{color:#9ed9c5;background:#303c37}}.admin-group-select{width:clamp(110px,12vw,154px)}.miniapp-binding-select{width:clamp(128px,14vw,164px)}.admin-metadata-summary{max-width:180px;min-width:0;display:flex;align-items:center;gap:5px;overflow:hidden;color:#909995;font-size:9px;font-weight:400;line-height:1.25}.admin-metadata-summary b{max-width:68px;padding:2px 5px;overflow:hidden;flex:0 1 auto;border-radius:3px;color:#39745f;background:#edf5f1;font-size:8px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.admin-metadata-summary i{width:2px;height:2px;flex:0 0 2px;border-radius:50%;background:#aab1ae}.admin-metadata-summary>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-metadata-context-menu{position:fixed;z-index:380;width:184px;padding:5px;border:1px solid #dce3df;border-radius:6px;color:#53605b;background:#fff;box-shadow:0 14px 36px #15252033}.admin-metadata-context-menu>small{min-height:27px;padding:0 9px;display:flex;align-items:center;overflow:hidden;color:#949d98;border-bottom:1px solid #edf0ed;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.admin-metadata-context-menu button{width:100%;min-height:38px;padding:0 9px;display:flex;align-items:center;gap:9px;border:0;border-radius:4px;color:inherit;background:transparent;cursor:pointer;font-size:11px;text-align:left}.admin-metadata-context-menu button:hover{color:var(--green-2);background:#eef5f1}.admin-metadata-editor{width:min(420px,100%)}.admin-metadata-editor header>div{min-width:0}.admin-metadata-editor header small{display:block;max-width:310px;margin-top:5px;overflow:hidden;color:#929b96;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.admin-metadata-editor label{position:relative}.field-counter{color:#9aa29e;font-size:9px;font-weight:400}.field-counter{align-self:flex-end;margin-top:-3px}.quick-group-backdrop{position:fixed;z-index:1350;top:0;right:0;bottom:0;left:0;padding:16px;display:flex;align-items:center;justify-content:center;background:#141f1b33;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.quick-group-dialog{width:min(310px,calc(100vw - 32px));padding:16px;display:flex;flex-direction:column;gap:13px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--paper);box-shadow:0 16px 42px #15252033}.quick-group-dialog header{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px}.quick-group-dialog header>div{min-width:0;display:flex;flex-direction:column;gap:3px}.quick-group-dialog header strong{font-size:13px}.quick-group-dialog header small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.quick-group-dialog footer{display:flex;justify-content:flex-end;gap:7px}.quick-group-dialog footer button{min-height:34px;padding:0 13px;font-size:11px}.agent-group-row{max-width:160px;display:flex;align-items:center;gap:5px}.agent-group-chip{min-width:0;max-width:90px;height:20px;padding:0 6px;display:inline-flex;align-items:center;gap:4px;overflow:hidden;border:1px dashed #d3dbd6;border-radius:4px;color:#8a9490;background:transparent;cursor:pointer;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.agent-group-chip.assigned{color:#39745f;border-style:solid;border-color:#cfdfd8;background:#edf5f1}.agent-group-chip:hover{color:var(--green-2);border-color:#aac5ba;background:#f1f7f4}.agent-group-row>small{min-width:0;overflow:hidden;color:#969e9a;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.table-wrap{overflow-x:auto}.h5-link-cell{width:min(230px,20vw);min-width:150px;display:inline-flex;align-items:center;gap:5px}.h5-link{min-width:0;flex:1;overflow:hidden;color:var(--green-2);text-overflow:ellipsis;white-space:nowrap;font-size:10px;vertical-align:middle}.h5-link:hover{color:var(--coral);text-decoration:underline}.h5-copy-button{flex:0 0 auto}.h5-domain-link-status{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#aeb4b1}.muted-text{color:#9da5a1;font-size:10px}table{width:100%;border-collapse:collapse;min-width:690px}th{padding:11px 20px;color:#8c9490;background:#fafbf9;font-size:9px;font-weight:600;text-align:left}td{padding:15px 20px;border-top:1px solid #edf0ec;color:#68716e;font-size:11px;vertical-align:middle}.table-user{display:flex;align-items:center;gap:9px;color:var(--ink)}.table-user>span:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}.table-user>span:last-child>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-user small.agent-status{display:inline-flex;align-items:center;gap:5px;color:#929a96;font-size:9px}.agent-status i{width:6px;height:6px;border-radius:50%;background:#aeb4b1}.table-user small.agent-status.online{color:#34775f}.agent-status.online i{background:#48a581}.toggle{width:36px;height:20px;padding:2px;border:0;border-radius:10px;background:#d6dbd7;cursor:pointer;transition:.2s}.toggle i{display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000002e;transition:.2s}.toggle.on{background:var(--green-2)}.toggle.on i{transform:translate(16px)}.modal-backdrop{position:fixed;z-index:30;top:0;right:0;bottom:0;left:0;overflow-y:auto;display:flex;align-items:center;justify-content:center;padding:clamp(12px,2.78dvh,20px);background:#101f1b73;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.profile-modal-backdrop{z-index:400;isolation:isolate}.modal{width:min(430px,100%);max-height:calc(100dvh - 24px);overflow-y:auto;padding:clamp(17px,3.33dvh,24px);display:flex;flex-direction:column;gap:clamp(12px,2.36dvh,17px);border-radius:7px;background:#fff;box-shadow:var(--shadow)}.modal header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:4px}.modal h2{margin:0;font-size:21px}.modal footer{margin-top:5px;display:flex;justify-content:flex-end;gap:8px}.form-field{min-width:0;display:flex;flex-direction:column;gap:8px;color:#46504d;font-size:12px;font-weight:600}.form-field-label{display:block}.availability-control{width:100%;min-height:42px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;border:1px solid #dce1dc;border-radius:6px;color:#76807b;background:#f8faf8;cursor:pointer}.availability-control>i{position:relative;width:36px;height:20px;border-radius:10px;background:#d6dbd7;transition:.2s}.availability-control>i:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000002e;transition:.2s}.availability-control.on{color:#286d58;border-color:#c9ddd4;background:#f2f8f5}.availability-control.on>i{background:var(--green-2)}.availability-control.on>i:after{transform:translate(16px)}.customer-access-stack{display:inline-flex;flex-direction:column;gap:4px;line-height:1.1;white-space:nowrap}.customer-access-stack>span{display:flex;align-items:baseline;gap:5px}.customer-access-stack strong{min-width:20px;color:var(--ink);font-size:11px;font-weight:600;text-align:right}.customer-access-stack small{color:#929a96;font-size:9px}.admin-agent-editor{width:min(400px,100%);max-height:min(720px,calc(100dvh - 32px));overflow:hidden;padding:0;gap:0}.admin-agent-editor>header{margin:0;padding:16px 18px 13px;border-bottom:1px solid var(--line)}.admin-agent-editor-body{min-height:0;padding:16px 18px;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:14px}.admin-agent-editor-body>label,.admin-agent-status-field{display:flex;flex-direction:column;gap:8px;color:#65706b;font-size:11px}.admin-agent-editor-body input:not(.sr-only){width:100%;min-height:42px;padding:0 12px;border:1px solid #dbe0dc;border-radius:6px;color:var(--ink);background:#fbfcfa;outline:none}.admin-agent-editor-body input:not(.sr-only):focus{border-color:#6c9389;background:#fff;box-shadow:0 0 0 3px #154c420f}.admin-agent-editor>footer{margin:0;padding:11px 18px;border-top:1px solid var(--line)}.admin-agent-domain-field{display:flex;flex-direction:column;gap:8px;color:#65706b;font-size:11px}.admin-agent-domain-field>small{color:#929a96;font-size:9px;line-height:1.45}.admin-agent-security{padding-top:15px;display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);color:#65706b;font-size:11px}.admin-agent-security>div{min-width:0;display:flex;align-items:center;gap:8px}.admin-agent-security code{min-width:0;min-height:36px;flex:1;padding:0 10px;overflow:hidden;display:flex;align-items:center;border:1px solid #e0e4e1;border-radius:6px;color:var(--ink);background:#f7f9f7;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.admin-agent-security button{min-height:36px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.admin-agent-security small{color:#929a96;font-size:9px;line-height:1.5}.admin-agent-delete-button{min-height:38px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #ead4ce;border-radius:6px;color:#a64a3e;background:#fff8f6;cursor:pointer;font-size:11px}.admin-agent-delete-button:hover{border-color:#dfbcb3;background:#fff1ed}.admin-agent-confirm-backdrop{position:fixed;z-index:1400;top:0;right:0;bottom:0;left:0;padding:16px;display:flex;align-items:center;justify-content:center;background:#141f1b42;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.admin-agent-confirm{width:min(340px,calc(100vw - 32px));padding:19px;display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:center;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--paper);box-shadow:0 18px 48px #14221d3d}.admin-agent-confirm-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--green-2);background:#eaf4ef}.admin-agent-confirm-icon.danger{color:#a34d41;background:#f8e9e5}.admin-agent-confirm>div{min-width:0;display:flex;flex-direction:column;gap:5px}.admin-agent-confirm strong{font-size:14px}.admin-agent-confirm small{color:var(--muted);font-size:10px;line-height:1.55}.admin-agent-confirm footer{grid-column:1 / -1;margin-top:7px;display:flex;justify-content:flex-end;gap:8px}.admin-agent-confirm footer button{min-height:34px;padding:0 13px;border-radius:6px;cursor:pointer;font-size:11px}.danger-confirm-button{border:1px solid #a95347;color:#fff;background:#a95347}.danger-confirm-button:hover{border-color:#934237;background:#934237}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:14px}.editor-actions{display:flex;align-items:center;gap:8px}.editor-fields{margin:18px 0 0 42px}.editor-fields.two-column{display:grid;grid-template-columns:1fr 1fr;gap:15px}.editor-fields .span-two{grid-column:1 / -1}.editor-fields textarea{resize:vertical;line-height:1.55}.secret-input{height:43px;padding:0 11px;display:flex;align-items:center;gap:7px;border:1px solid #dbe0dc;border-radius:5px;color:#8b9390;background:#fbfcfa}.secret-input:focus-within{border-color:#6c9389;background:#fff;box-shadow:0 0 0 3px #154c420f}.secret-input input{min-width:0;padding:0;border:0;background:transparent;box-shadow:none!important}.qr-content{margin:18px 0 0 42px;display:grid;grid-template-columns:158px 1fr;gap:20px;align-items:center}.qr-preview{width:158px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:1px solid #e0e4e0;border-radius:6px;background:#fff}.qr-preview img{width:146px;height:146px;object-fit:contain}.qr-open-button{width:100%;height:100%;padding:5px;border:0;border-radius:inherit;background:#fff;cursor:zoom-in}.qr-open-button img{width:100%;height:100%;object-fit:contain}.qr-download-button{position:absolute;right:2px;bottom:2px;width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;color:#fff;background:#154c42e0}.qr-lightbox{position:fixed;z-index:120;top:0;right:0;bottom:0;left:0;padding:20px;display:flex;align-items:center;justify-content:center;background:#0f19169e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.qr-lightbox-card{width:min(380px,calc(100vw - 32px));padding:17px;display:flex;flex-direction:column;gap:13px;border-radius:7px;background:#fff;box-shadow:0 24px 80px #0000003d}.qr-lightbox-card header{display:flex;align-items:center;justify-content:space-between}.qr-lightbox-card header strong{font-size:14px}.qr-lightbox-card>img{width:100%;aspect-ratio:1;object-fit:contain}.qr-lightbox-card>a{text-decoration:none}.qr-error{display:flex;flex-direction:column;align-items:center;gap:7px;color:#9ba29f;font-size:9px}.qr-details{min-width:0;display:flex;flex-direction:column;gap:10px}.qr-details>span{color:var(--muted);font-size:9px}.qr-details>div:last-child{display:flex;flex-wrap:wrap;gap:7px}.qr-details a{text-decoration:none}.modal-wide{width:min(680px,100%)}.modal textarea{width:100%;min-height:90px;padding:12px 13px;border:1px solid #dbe0dc;border-radius:5px;color:var(--ink);background:#fbfcfa;outline:none;font:inherit;font-size:14px;line-height:1.55;resize:vertical}.modal textarea:focus{border-color:#6c9389;background:#fff;box-shadow:0 0 0 3px #154c420f}.miniapp-modal .qr-content{margin-left:0}@media(max-width:900px){.dashboard-shell{grid-template-columns:190px minmax(0,1fr)}.conversation-actions .secondary-button{width:36px;padding:0;font-size:0}.login-page{grid-template-columns:minmax(320px,.8fr) minmax(380px,1.2fr)}.login-intro{padding:34px}}@media(max-width:680px){body{overflow:hidden}.mobile-only,.mobile-brand{display:flex}.hide-mobile{display:none}.inbox-layout{display:block;min-height:0}.conversation-list{height:100%;border-right:0}.conversation-panel{display:none;height:100%}.mobile-chat-open .conversation-list{display:none}.mobile-chat-open .conversation-panel{display:grid}.conversation-header{padding:0 11px}.conversation-actions{gap:4px}.staff-messages{padding:20px 13px}.staff-messages .message-wrap{max-width:78%}.staff-composer{padding:9px 9px calc(7px + env(safe-area-inset-bottom))}.composer-caption{display:none}.page-content{padding:23px 15px 40px}.page-header{align-items:flex-start;gap:15px}.page-header h1{font-size:23px}.page-header .primary-button{padding:0 11px;white-space:nowrap}.metric-row{gap:7px}.metric-row div{min-height:76px;padding:13px}.metric-row strong{font-size:21px}.two-column{grid-template-columns:1fr}.editor-actions{flex-direction:column-reverse;align-items:stretch}.editor-actions button{white-space:nowrap}.editor-fields,.qr-content{margin-left:0}.editor-fields.two-column{grid-template-columns:1fr}.editor-fields .span-two{grid-column:auto}.qr-content{grid-template-columns:120px 1fr;gap:13px}.qr-preview{width:120px}.qr-preview img{width:110px;height:110px}.login-page{display:block;min-height:100dvh;overflow-y:auto;background:#fff}.login-intro{display:none}.login-form-panel{min-height:100dvh;padding:calc(28px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));align-items:center}.login-form{width:min(400px,100%);padding:0;border:0;background:#fff;box-shadow:none}.mobile-brand{align-items:center;gap:10px;margin-bottom:clamp(30px,9dvh,64px)}.mobile-brand>span:last-child{display:flex;flex-direction:column}.mobile-brand b{color:#172033;font-size:14px}.mobile-brand small{margin-top:2px;color:#929b97;font-size:9px}.mobile-brand .brand-mark{width:38px;height:38px;background:#2468cf}.login-form h2{font-size:25px}}@media(max-height:520px)and (max-width:680px){.login-form-panel{align-items:flex-start}.mobile-brand{margin-bottom:24px}}@media(max-width:480px){.page-content{padding-right:12px;padding-left:12px}.page-header{align-items:stretch;flex-direction:column;gap:12px}.page-header>.primary-button{align-self:flex-start}}@media(max-width:680px){.visitor-header{min-height:calc(clamp(64px,17.436vw,68px) + env(safe-area-inset-top));padding:env(safe-area-inset-top) clamp(14px,3.846vw,16px) 0;grid-template-columns:clamp(72px,19.487vw,76px) 1fr clamp(72px,19.487vw,76px)}.visitor-title strong{font-size:clamp(19px,5.128vw,20px)}.visitor-title span{gap:clamp(4px,1.282vw,5px);font-size:clamp(11px,3.077vw,12px)}.complaint-button{height:clamp(28px,7.692vw,30px);padding:0 clamp(9px,2.564vw,10px);border-radius:6px;font-size:12px}.visitor-messages{padding:clamp(18px,5.128vw,20px) clamp(14px,3.846vw,15px) clamp(24px,7.179vw,28px)}.message-time-divider{margin:clamp(2px,.769vw,3px) auto clamp(13px,4.103vw,16px);font-size:clamp(10px,2.821vw,11px)}.message-row{gap:clamp(11px,3.333vw,13px);margin-bottom:clamp(18px,5.128vw,20px)}.visitor-message-avatar{width:clamp(48px,15.385vw,60px);min-width:clamp(48px,15.385vw,60px);max-width:clamp(48px,15.385vw,60px);height:clamp(48px,15.385vw,60px);min-height:clamp(48px,15.385vw,60px);max-height:clamp(48px,15.385vw,60px);flex-basis:clamp(48px,15.385vw,60px)}.visitor-sender-label{font-size:clamp(14px,4.359vw,17px)}.bubble{padding:clamp(9px,2.564vw,10px) clamp(11px,3.077vw,12px);border-radius:clamp(4px,1.282vw,5px);font-size:clamp(14px,3.846vw,15px)}.bubble-media{padding:3px}.bubble-media.bubble-with-quote{padding:clamp(7px,2.051vw,8px)}.recall-notice{margin-bottom:clamp(16px,5.128vw,18px)}.recall-notice span{min-height:clamp(20px,5.641vw,22px);padding:clamp(3px,.769vw,4px) clamp(7px,2.051vw,8px);font-size:clamp(10px,2.821vw,11px)}.visitor-footer{padding:clamp(10px,3.077vw,12px) clamp(14px,4.359vw,17px) calc(clamp(12px,3.846vw,15px) + env(safe-area-inset-bottom))}.composer-compact,.composer-row{min-height:clamp(54px,15.641vw,61px)}.composer-row{gap:clamp(8px,2.821vw,11px)}.composer-compact textarea{--visitor-input-height: clamp(49px, 13.846vw, 54px);max-height:clamp(101px,27.179vw,106px);padding:calc((var(--visitor-input-height) - 26px) / 2) clamp(13px,4.103vw,16px);border-radius:clamp(24px,6.923vw,27px);font-size:clamp(16px,4.359vw,17px);line-height:26px}.visitor-add-button{width:clamp(30px,8.205vw,32px);height:clamp(30px,8.205vw,32px)}.visitor-send-button{width:clamp(84px,23.59vw,92px);height:clamp(45px,12.821vw,50px);border-radius:clamp(23px,6.41vw,25px);font-size:clamp(15px,4.359vw,17px)}.media-choice-menu{--media-panel-height: calc(clamp(124px, 36.41vw, 142px) + env(safe-area-inset-bottom)) ;padding:clamp(16px,4.615vw,18px) clamp(18px,5.641vw,22px) calc(clamp(16px,4.615vw,18px) + env(safe-area-inset-bottom));gap:clamp(16px,5.128vw,20px)}.media-choice-menu button{width:clamp(56px,16.41vw,64px);min-height:clamp(80px,23.077vw,90px);gap:clamp(6px,2.051vw,8px);font-size:clamp(11px,3.077vw,12px)}.media-choice-icon{width:clamp(48px,13.846vw,54px);height:clamp(48px,13.846vw,54px)}}.dashboard-shell{width:100%;height:100vh;height:var(--dashboard-visual-height, 100dvh);min-height:0;overflow:hidden;display:grid;grid-template-columns:clamp(176px,17.5vw,224px) minmax(0,1fr);color:var(--ink);background:var(--wash)}.workspace-sidebar{min-height:0;overflow-y:auto;padding:clamp(14px,3.06dvh,22px) 13px clamp(10px,2.08dvh,15px);display:flex;flex-direction:column;border-right:1px solid var(--line);background:#fff}.workspace-brand{min-height:clamp(38px,6.11dvh,44px);padding:0 7px clamp(13px,2.92dvh,21px);display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.workspace-brand .brand-mark{width:35px;height:35px}.workspace-brand>span:last-child,.workspace-user>span{min-width:0;display:flex;flex:1;flex-direction:column}.workspace-brand strong{color:var(--ink);font-size:14px}.workspace-brand small,.workspace-user small{margin-top:3px;color:#9aa29e;font-size:9px}.workspace-nav{margin:clamp(14px,3.47dvh,25px) 0;display:flex;flex-direction:column;gap:clamp(3px,.7dvh,5px)}.workspace-nav button{position:relative;min-height:clamp(37px,5.97dvh,43px);padding:0 12px;display:flex;gap:11px;align-items:center;border:0;border-radius:6px;color:#7d8883;background:transparent;cursor:pointer;font-size:clamp(11px,1.02vw,13px);text-align:left}.workspace-nav button:hover{color:var(--ink);background:#f5f8f5}.workspace-nav button.active{color:var(--green);background:#eaf3ef;font-weight:600}.workspace-nav button.active:before{content:"";position:absolute;left:-13px;width:3px;height:23px;border-radius:0 2px 2px 0;background:var(--coral)}.workspace-nav button i{margin-left:auto;min-width:19px;height:19px;padding:0 5px;display:inline-flex;justify-content:center;align-items:center;border-radius:10px;color:#fff;background:var(--coral);font-size:9px;font-style:normal}.workspace-status{margin-top:auto;padding:13px 11px;border:1px solid #e5ebe6;border-radius:6px;background:#f8faf8}.workspace-status span{display:flex;align-items:center;gap:7px;color:#53625c;font-size:10px}.workspace-status span i{width:7px;height:7px;border-radius:50%;background:#48a581;box-shadow:0 0 0 3px #48a5811a}.workspace-status small{display:block;margin:6px 0 0 14px;color:#98a39e;font-size:9px}.workspace-user{margin-top:14px;padding:14px 5px 0;display:flex;align-items:center;gap:9px;border-top:1px solid var(--line)}.workspace-user strong{overflow:hidden;color:var(--ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.workspace-user .icon-button{color:#87938d}.workspace-avatar-button{position:relative;width:34px;height:34px;flex:0 0 34px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}.workspace-avatar-button>svg{position:absolute;right:-3px;bottom:-2px;width:15px;height:15px;padding:3px;border:1px solid #fff;border-radius:50%;color:#fff;background:var(--green-2)}.dashboard-content{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column}.dashboard-content>.page-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.dashboard-content>.inbox-layout{flex:1}body.app-admin-scroll{overflow:hidden}.admin-dashboard{height:100dvh;min-height:0;overflow:hidden;align-items:stretch}.admin-dashboard .workspace-sidebar{position:sticky;top:0;height:100dvh;max-height:100dvh}.admin-dashboard .dashboard-content{min-height:0;overflow:hidden}.admin-dashboard .dashboard-content>.page-content{min-height:0;height:100%;overflow:hidden;display:flex;flex-direction:column}.admin-dashboard .page-content>.data-section{min-width:0;min-height:0;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.admin-dashboard .page-content>.data-section .table-wrap{max-height:none;min-height:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.admin-dashboard .page-content>.data-section .table-wrap thead th{position:sticky;z-index:1;top:0;background:#fafbf9}.dashboard-shell.staff-dashboard{grid-template-columns:minmax(0,1fr)}.staff-inbox-profile{padding:clamp(10px,2.22dvh,16px) 17px clamp(8px,1.8dvh,13px);border-bottom:1px solid var(--line);background:#fff}.staff-profile-head{display:flex;align-items:center;gap:10px}.staff-profile-head>span{min-width:0;flex:1;display:flex;flex-direction:column}.staff-profile-head strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.staff-profile-head small{margin-top:3px;color:#909995;font-size:9px}.staff-avatar-button{position:relative;width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}.staff-avatar-button>img{width:44px;height:44px;display:block;border-radius:50%;object-fit:cover}.staff-avatar-button>svg{position:absolute;right:-2px;bottom:-1px;width:18px;height:18px;padding:3px;border:2px solid #fff;border-radius:50%;color:#fff;background:var(--green-2)}.staff-name-row{min-width:0;display:flex;align-items:center;gap:6px}.staff-name-row strong{min-width:0}.staff-status-pill{min-height:23px;padding:0 8px;display:inline-flex;align-items:center;gap:5px;border:0;border-radius:12px;color:#8a938f;background:#f0f2f0;cursor:pointer;font-size:9px}.staff-status-pill i{width:6px;height:6px;border-radius:50%;background:#aeb5b1}.staff-status-pill.online{color:#2d735d;background:#eaf4ef}.staff-status-pill.online i{background:#42a37b;box-shadow:0 0 0 2px #42a37b1f}.staff-miniapp-row{position:relative;min-width:0;margin-top:clamp(7px,1.8dvh,13px);padding:clamp(6px,1.4dvh,10px);display:grid;grid-template-columns:clamp(52px,9.72dvh,70px) minmax(0,1fr);gap:10px;align-items:center;border:1px solid #e5e9e5;border-radius:6px;background:#f8faf8}.staff-complaint-entry{position:relative;min-height:23px;padding:0 7px;display:inline-flex;align-items:center;gap:4px;border:0;border-radius:12px;color:#6f7b76;background:#f0f2f0;cursor:pointer;font-size:9px;white-space:nowrap}.staff-complaint-entry:hover{color:#286d58;background:#eaf4ef}.staff-complaint-entry i{position:absolute;top:-6px;right:-5px;min-width:15px;height:15px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;border:2px solid #fff;border-radius:9px;color:#fff;background:#e5484d;font-size:8px;font-style:normal;font-weight:700}.complaints-page{overflow:hidden;display:flex;flex-direction:column}.complaint-data-section{min-height:0}.complaint-table{min-width:890px}.complaint-table-reason{max-width:280px;display:flex;flex-direction:column;gap:4px}.complaint-table-reason strong,.complaint-table-reason small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.complaint-table-reason strong{color:var(--ink);font-size:11px}.complaint-table-reason small{color:#929a96;font-size:9px;font-weight:400}.complaint-customer{min-width:150px}.complaint-customer .avatar{--avatar-size: 32px}.complaint-dialog-title{min-width:0;display:flex;align-items:center;gap:10px}.complaint-dialog-title>span{min-width:0;display:flex;flex-direction:column;gap:4px}.complaint-dialog-title strong,.complaint-dialog-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.complaint-status{width:fit-content;padding:4px 7px;display:inline-flex;border-radius:4px;font-size:9px;font-style:normal;white-space:nowrap}.complaint-status.pending{color:#a45b3d;background:#fbeddf}.complaint-status.processed{color:#39725f;background:#e6f2ed}.complaint-handle-button{min-width:58px;min-height:32px;padding:0 12px}.complaint-detail-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:18px}.complaint-detail-info{margin:0;padding:4px 15px;border:1px solid var(--line);border-radius:6px;background:#fff}.complaint-detail-info>div{min-height:42px;display:grid;grid-template-columns:85px minmax(0,1fr);gap:10px;align-items:center;border-bottom:1px solid #eef1ee}.complaint-detail-info>div:last-child{border-bottom:0}.complaint-detail-info dt{color:#8b9490;font-size:10px}.complaint-detail-info dd{margin:0;color:#3f4b46;font-size:11px;line-height:1.6}.complaint-detail-section{margin-top:16px;padding:15px;border:1px solid var(--line);border-radius:6px;background:#fff}.complaint-detail-section h3{margin:0 0 12px;font-size:12px;font-weight:600}.complaint-detail-section h3 small{color:#969e9a;font-size:9px;font-weight:400}.complaint-image-grid{display:grid;grid-template-columns:repeat(4,minmax(70px,1fr));gap:8px}.complaint-evidence-image{aspect-ratio:1;padding:0;overflow:hidden;display:flex;align-items:center;justify-content:center;border:0;border-radius:4px;background:#eef1ee;cursor:zoom-in}.complaint-evidence-image img{width:100%;height:100%;display:block;object-fit:cover}.complaint-evidence-list{display:flex;flex-direction:column;gap:9px}.complaint-evidence-list>div{padding:10px 11px;border-radius:5px;background:#f5f7f5}.complaint-evidence-list header{display:flex;justify-content:space-between;gap:10px}.complaint-evidence-list header strong{font-size:10px}.complaint-evidence-list header time{color:#9aa19e;font-size:9px}.complaint-evidence-list p{margin:7px 0 0;color:#444f4a;font-size:11px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.complaint-evidence-video{width:min(280px,100%);max-height:260px;margin-top:8px;display:block;background:#222}.complaint-evidence-list .complaint-evidence-image{width:min(180px,50%);margin-top:8px}.complaint-media-loading{width:70px;height:70px;display:flex;align-items:center;justify-content:center;background:#eef1ee}.complaint-detail-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#a2aaa6}.complaint-detail-empty p{margin:0;font-size:11px}.staff-complaints-backdrop{position:fixed;z-index:79;top:0;right:0;bottom:0;left:0;padding:clamp(12px,3vmin,32px);overflow:hidden;display:flex;align-items:center;justify-content:center;overscroll-behavior:none;touch-action:none;background:#101f1b2e}.staff-complaints-panel{position:relative;width:clamp(420px,50vw,780px);height:clamp(430px,74dvh,700px);min-width:0;min-height:0;max-width:calc(100vw - clamp(24px,6vmin,64px));max-height:calc(100dvh - clamp(24px,6vmin,64px));overflow:hidden;display:flex;flex-direction:column;overscroll-behavior:none;touch-action:pan-y;border:1px solid var(--line);border-radius:clamp(7px,1vmin,11px);color:var(--ink);background:#fff;box-shadow:0 20px 60px #1626203d}.staff-complaints-panel>header{min-height:58px;flex:0 0 auto;padding:0 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line)}.staff-complaints-panel>header>div{min-width:0;flex:1;display:flex;flex-direction:column}.staff-complaints-panel>header strong,.staff-complaints-panel>header small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-complaints-panel>header strong{font-size:13px}.staff-complaints-panel>header small{margin-top:4px;color:#929a96;font-size:9px}.staff-complaint-list{width:100%;min-width:0;min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;overscroll-behavior-x:none;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.staff-complaint-list>div{min-height:78px;padding:10px 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #edf0ec}.staff-complaint-summary{min-width:0;flex:1;padding:0;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;border:0;color:var(--ink);background:transparent;cursor:pointer;text-align:left}.staff-complaint-summary .avatar-sm{--avatar-size: 32px;font-size:11px}.staff-complaint-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.staff-complaint-copy strong,.staff-complaint-copy>span,.staff-complaint-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-complaint-copy strong{color:var(--ink);font-size:11px}.staff-complaint-copy>span{color:#68746f;font-size:10px}.staff-complaint-copy small{color:#9aa29e;font-size:8px;font-weight:400}.staff-complaint-process{min-height:30px;padding:0 10px;border:1px solid #d9dfda;border-radius:5px;color:#51615a;background:#fff;cursor:pointer;font-size:10px}.staff-complaint-process:hover{color:var(--green);border-color:#bfcfc7;background:#f5f8f6}.staff-complaint-process:disabled{opacity:.55;cursor:not-allowed}.staff-complaint-delete{color:#aa4f3e;border-color:#ead4ce}.staff-complaint-delete:hover{color:#963e2f;border-color:#dfbcb3;background:#fff3ef}.staff-complaints-panel .complaint-detail-scroll{width:100%;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-x:none;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;padding:12px}.staff-complaints-panel .complaint-detail-info,.staff-complaints-panel .complaint-detail-section,.staff-complaints-panel .complaint-evidence-list,.staff-complaints-panel .complaint-evidence-list>div{min-width:0;max-width:100%}.staff-complaints-panel .complaint-detail-info dd,.staff-complaints-panel .complaint-evidence-list p{overflow-wrap:anywhere}.staff-complaints-panel .complaint-detail-info{padding:2px 10px}.staff-complaints-panel .complaint-detail-info>div{min-height:39px;grid-template-columns:65px minmax(0,1fr)}.staff-complaints-panel .complaint-detail-section{margin-top:10px;padding:11px}.staff-complaints-panel .complaint-image-grid{grid-template-columns:repeat(3,minmax(56px,1fr))}.staff-complaints-panel>footer{min-height:54px;flex:0 0 auto;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);background:#fff}.staff-complaints-panel>footer .primary-button{min-height:34px;padding:0 15px}@media(max-width:680px){.staff-complaints-backdrop{padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))}.staff-complaints-panel{width:100%;height:clamp(350px,74dvh,640px);min-height:0;max-width:100%;max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));border-radius:8px;box-shadow:0 14px 44px #1626203d}}.staff-miniapp-row .qr-content{margin:0;display:block}.staff-miniapp-row .qr-preview{position:relative;width:clamp(52px,9.72dvh,70px)}.staff-miniapp-row .qr-error{font-size:0}.staff-miniapp-row .qr-error svg{width:22px}.staff-miniapp-empty{width:clamp(52px,9.72dvh,70px);aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:1px dashed #d4dbd6;border-radius:5px;color:#9ba49f;background:#fff}.staff-miniapp-info{min-width:0;align-self:start;display:flex;flex-direction:column}.staff-miniapp-info small{color:#929a96;font-size:8px}.staff-miniapp-info strong{overflow:hidden;margin-top:4px;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.staff-miniapp-info em{margin-top:5px;color:#a1a8a4;font-size:8px;font-style:normal}.profile-editor{width:min(440px,100%);max-height:min(760px,calc(100dvh - 32px));overflow-x:hidden;overflow-y:auto}.profile-avatar-field{gap:9px}.profile-avatar-picker{width:fit-content;display:flex;align-items:center;gap:12px;color:var(--green-2);cursor:pointer;font-size:12px}.profile-avatar-picker>img{width:64px;height:64px;display:block;border-radius:50%;object-fit:cover;border:1px solid #e0e5e1}.theme-mode-picker{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.theme-mode-picker button{min-width:0;min-height:48px;padding:7px 5px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dbe0dc;border-radius:5px;color:#707a76;background:#fbfcfa;cursor:pointer;font-size:11px;font-weight:500}.theme-mode-picker button:hover{color:var(--green);border-color:#b8cac2;background:#f5f8f6}.theme-mode-picker button.active{color:var(--green);border-color:#6e9a8d;background:#edf5f1;box-shadow:0 0 0 2px #154c420f}.admin-security-section{padding:11px;display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:6px;background:#fafbf9}.admin-security-section>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.admin-security-section>header>span{min-width:0;display:flex;flex-direction:column;gap:2px}.admin-security-section>header strong{font-size:11px}.admin-security-section>header small{color:var(--muted);font-size:8px}.admin-security-section>header .icon-button{width:28px;height:28px}.admin-security-list{display:flex;flex-direction:column;gap:5px}.admin-security-list>div{min-height:44px;padding:6px 7px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e6eae7;border-radius:5px;background:#fff}.admin-security-list>div>span{min-width:0;display:flex;flex-direction:column;gap:3px}.admin-security-list code{overflow:hidden;color:var(--ink);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.admin-security-list small{color:var(--muted);font-size:8px}.admin-security-list .secondary-button{min-height:28px;padding:0 9px;flex:0 0 auto;font-size:9px}.admin-security-empty{min-height:36px;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:9px}.profile-editor textarea{width:100%;min-height:106px;padding:12px 13px;border:1px solid #dbe0dc;border-radius:5px;color:var(--ink);background:#fbfcfa;outline:none;font:inherit;font-size:14px;line-height:1.55;resize:vertical}.profile-modal-backdrop.theme-dark{--ink: #e8edeb;--muted: #9ca9a4;--line: #35413d;--paper: #222b28}.profile-modal-backdrop.theme-dark .profile-editor{color:var(--ink);background:var(--paper)}.profile-modal-backdrop.theme-dark .profile-editor h2{color:var(--ink)}.profile-modal-backdrop.theme-dark .profile-editor label{color:#b8c1bd}.profile-modal-backdrop.theme-dark .profile-editor input,.profile-modal-backdrop.theme-dark .theme-mode-picker button{color:var(--ink);border-color:#3c4844;background:#29322f}.profile-modal-backdrop.theme-dark .theme-mode-picker button.active{color:#a9e0cd;border-color:#699486;background:#29443b}.profile-modal-backdrop.theme-dark .admin-security-section,.profile-modal-backdrop.theme-dark .admin-security-list>div{border-color:#3c4844;background:#29322f}.profile-modal-backdrop.theme-dark .secondary-button{color:var(--ink);border-color:#46514d;background:#2a332f}.profile-modal-backdrop.theme-dark .icon-button:hover{color:var(--ink);background:#29332f}@media(prefers-color-scheme:dark){.profile-modal-backdrop.theme-system{--ink: #e8edeb;--muted: #9ca9a4;--line: #35413d;--paper: #222b28}.profile-modal-backdrop.theme-system .profile-editor{color:var(--ink);background:var(--paper)}.profile-modal-backdrop.theme-system .profile-editor h2{color:var(--ink)}.profile-modal-backdrop.theme-system .profile-editor label{color:#b8c1bd}.profile-modal-backdrop.theme-system .profile-editor input,.profile-modal-backdrop.theme-system .theme-mode-picker button{color:var(--ink);border-color:#3c4844;background:#29322f}.profile-modal-backdrop.theme-system .theme-mode-picker button.active{color:#a9e0cd;border-color:#699486;background:#29443b}.profile-modal-backdrop.theme-system .admin-security-section,.profile-modal-backdrop.theme-system .admin-security-list>div{border-color:#3c4844;background:#29322f}.profile-modal-backdrop.theme-system .secondary-button{color:var(--ink);border-color:#46514d;background:#2a332f}.profile-modal-backdrop.theme-system .icon-button:hover{color:var(--ink);background:#29332f}}.dashboard-shell.theme-dark{--ink: #e8edeb;--muted: #9ca9a4;--line: #35413d;--paper: #222b28;--wash: #171d1b;color:var(--ink);background:var(--wash)}.dashboard-shell.theme-dark{--toast-bg: rgba(55,66,62,.96);--toast-text: #f5f8f6;--toast-border: rgba(255,255,255,.16);--toast-shadow: 0 6px 20px rgba(0,0,0,.32)}.dashboard-shell.theme-dark .workspace-sidebar,.dashboard-shell.theme-dark .staff-inbox-profile,.dashboard-shell.theme-dark .conversation-list,.dashboard-shell.theme-dark .conversation-panel,.dashboard-shell.theme-dark .staff-composer,.dashboard-shell.theme-dark .data-section,.dashboard-shell.theme-dark .modal{color:var(--ink);border-color:var(--line);background:var(--paper)}.dashboard-shell.theme-dark .workspace-brand strong,.dashboard-shell.theme-dark .workspace-user strong,.dashboard-shell.theme-dark .staff-profile-head strong,.dashboard-shell.theme-dark .page-header h1,.dashboard-shell.theme-dark .section-title h2{color:var(--ink)}.dashboard-shell.theme-dark .workspace-nav button:hover,.dashboard-shell.theme-dark .icon-button:hover,.dashboard-shell.theme-dark .conversation-item:hover{color:var(--ink);background:#29332f}.dashboard-shell.theme-dark .workspace-nav button.active{color:#9ed9c5;background:#263c35}.dashboard-shell.theme-dark .conversation-item.selected{color:inherit;background:var(--paper)}.dashboard-shell.theme-dark .workspace-status,.dashboard-shell.theme-dark .staff-miniapp-row,.dashboard-shell.theme-dark .metric-row>div,.dashboard-shell.theme-dark .table-wrap{border-color:var(--line);background:#202825}.dashboard-shell.theme-dark table th{color:#aab5b1;background:#28312e}.dashboard-shell.theme-dark table td{border-color:var(--line)}.dashboard-shell.theme-dark .staff-messages,.dashboard-shell.theme-dark .empty-conversation{color:var(--ink);background:var(--wash)}.dashboard-shell.theme-dark .new-message-indicator{border-color:var(--paper)}.dashboard-shell.theme-dark .bubble:not(.bubble-mine){--chat-bubble-bg: #2c2c2e;--chat-bubble-border: rgba(255,255,255,.07);color:var(--ink)}.dashboard-shell.theme-dark .bubble-mine{--chat-bubble-bg: #3f7d34;--chat-bubble-border: rgba(255,255,255,.06);color:#f4f4f4}.dashboard-shell.theme-dark .message-quote{color:#b2beb8;background:#76ad961f}.dashboard-shell.theme-dark .bubble-mine .message-quote{color:#e5eee2;border-left-color:#eef7eb9e;background:#ffffff1a}.dashboard-shell.theme-dark .composer-reply{border-color:#76ad96;background:#293a34}.dashboard-shell.theme-dark .composer-reply strong{color:#e4ece8}.dashboard-shell.theme-dark .composer-reply small{color:#a4b0aa}.dashboard-shell.theme-dark input,.dashboard-shell.theme-dark textarea,.dashboard-shell.theme-dark .composer,.dashboard-shell.theme-dark .theme-mode-picker button{color:var(--ink);border-color:#3c4844;background:#29322f}.dashboard-shell.theme-dark .searchable-select{color:#98a49f;border-color:#3c4844;background:#29322f}.dashboard-shell.theme-dark .searchable-select.open,.dashboard-shell.theme-dark .searchable-select:focus-within{border-color:#699486;background:#2b3632;box-shadow:0 0 0 3px #6994861f}.dashboard-shell.theme-dark .searchable-select>svg,.dashboard-shell.theme-dark .searchable-select-toggle{color:#98a49f}.dashboard-shell.theme-dark .searchable-select-toggle:hover{color:#b4e2d2;background:#303c37}.dashboard-shell.theme-dark .theme-mode-picker button.active{color:#a9e0cd;border-color:#699486;background:#29443b}.dashboard-shell.theme-dark .secondary-button{color:var(--ink);border-color:#46514d;background:#2a332f}.dashboard-shell.theme-dark .conversation-controls,.dashboard-shell.theme-dark .conversation-item,.dashboard-shell.theme-dark .conversation-header,.dashboard-shell.theme-dark .customer-context-menu{color:var(--ink);border-color:var(--line);background:var(--paper)}.dashboard-shell.theme-dark .conversation-item{border-bottom-color:#303a36}.dashboard-shell.theme-dark .conversation-item.pinned{background:#29312e}.dashboard-shell.theme-dark .conversation-item.pinned:hover{background:#303a36}.dashboard-shell.theme-dark .conversation-item.pinned.selected{background:#29312e}.dashboard-shell.theme-dark .compact-search,.dashboard-shell.theme-dark .secret-input,.dashboard-shell.theme-dark .availability-control,.dashboard-shell.theme-dark .pending-media,.dashboard-shell.theme-dark .emoji-menu{color:var(--ink);border-color:#3b4743;background:#29322f}.dashboard-shell.theme-dark .compact-search-button:hover,.dashboard-shell.theme-dark .compact-search button:hover,.dashboard-shell.theme-dark .customer-context-menu button:hover,.dashboard-shell.theme-dark .emoji-menu button:hover{color:#a9e0cd;background:#303c37}.dashboard-shell.theme-dark .preview-top strong,.dashboard-shell.theme-dark .conversation-title strong,.dashboard-shell.theme-dark .empty-conversation h3,.dashboard-shell.theme-dark .table-user,.dashboard-shell.theme-dark .modal h2{color:var(--ink)}.dashboard-shell.theme-dark .filter-tabs button,.dashboard-shell.theme-dark .preview-message,.dashboard-shell.theme-dark .preview-top time,.dashboard-shell.theme-dark .conversation-title span,.dashboard-shell.theme-dark .composer-caption,.dashboard-shell.theme-dark .staff-miniapp-info small,.dashboard-shell.theme-dark .staff-miniapp-info em,.dashboard-shell.theme-dark td{color:#a3ada9}.dashboard-shell.theme-dark .filter-tabs button.active,.dashboard-shell.theme-dark .metric-row strong{color:#9ed9c5}.dashboard-shell.theme-dark .customer-context-menu button{color:#c1cac6;border-color:#35413d}.dashboard-shell.theme-dark .staff-status-pill{color:#aab2af;background:#303936}.dashboard-shell.theme-dark .staff-status-pill.online{color:#9ed9c5;background:#263c35}.dashboard-shell.theme-dark .staff-miniapp-empty{color:#8f9995;border-color:#46514d;background:#29322f}.dashboard-shell.theme-dark .status-tag.active{color:#8ed3ba;background:#244137}.dashboard-shell.theme-dark .status-tag.waiting{color:#e4ae87;background:#49372c}.dashboard-shell.theme-dark .status-tag.closed{color:#aeb6b2;background:#343c39}.dashboard-shell.theme-dark .qr-preview,.dashboard-shell.theme-dark .qr-open-button,.dashboard-shell.theme-dark .qr-preview img,.dashboard-shell.theme-dark .qr-open-button img,.dashboard-shell.theme-dark .qr-lightbox-card>img{background:#fff}.dashboard-shell.theme-dark .qr-lightbox-card{color:var(--ink);background:var(--paper)}.dashboard-shell.theme-dark .modal label{color:#b8c1bd}.dashboard-shell.theme-dark .workspace-avatar-button>svg,.dashboard-shell.theme-dark .staff-avatar-button>svg{border-color:var(--paper)}.admin-dashboard.theme-dark .page-content>.data-section .table-wrap thead th{color:#aab5b1;background:#28312e}.dashboard-shell.theme-dark .staff-complaints-panel,.dashboard-shell.theme-dark .staff-complaints-panel>footer,.dashboard-shell.theme-dark .complaint-detail-info,.dashboard-shell.theme-dark .complaint-detail-section{color:var(--ink);border-color:var(--line);background:var(--paper)}.dashboard-shell.theme-dark .staff-complaint-list>div{border-color:#303a36}.dashboard-shell.theme-dark .staff-complaint-summary{color:var(--ink)}.dashboard-shell.theme-dark .staff-complaint-process{color:#c1cac6;border-color:#46514d;background:#2a332f}.dashboard-shell.theme-dark .staff-complaint-entry{color:#aab2af;background:#303936}.dashboard-shell.theme-dark .staff-complaint-entry i{border-color:var(--paper)}.admin-metadata-context-menu.theme-dark{color:#c1cac6;border-color:#46514d;background:#29322f}.admin-metadata-context-menu.theme-dark button:hover{color:#9ed9c5;background:#303c37}.admin-metadata-context-menu.theme-dark>small{border-color:#3a4541}.dashboard-shell.theme-dark .admin-metadata-summary b{color:#9ed9c5;background:#263c35}.dashboard-shell.theme-dark .agent-group-chip{color:#aab2af;border-color:#46514d;background:transparent}.dashboard-shell.theme-dark .agent-group-chip.assigned{color:#9ed9c5;border-color:#3e5b51;background:#263c35}.dashboard-shell.theme-dark .agent-group-chip:hover{color:#b4e2d2;border-color:#5c8174;background:#303c37}.dashboard-shell.theme-dark .admin-agent-security code{color:var(--ink);border-color:#3c4844;background:#29322f}.dashboard-shell.theme-dark .admin-agent-delete-button{color:#efb4aa;border-color:#63443e;background:#382a27}.dashboard-shell.theme-dark .admin-agent-delete-button:hover{border-color:#80534b;background:#46302c}.dashboard-shell.theme-dark .complaint-detail-info>div{border-color:#303a36}.dashboard-shell.theme-dark .complaint-detail-info dd,.dashboard-shell.theme-dark .complaint-evidence-list p{color:#d2dad6}.dashboard-shell.theme-dark .complaint-evidence-list>div,.dashboard-shell.theme-dark .complaint-evidence-image,.dashboard-shell.theme-dark .complaint-media-loading{background:#29322f}@media(prefers-color-scheme:dark){.dashboard-shell.theme-system .agent-group-chip{color:#aab2af;border-color:#46514d;background:transparent}.dashboard-shell.theme-system .agent-group-chip.assigned{color:#9ed9c5;border-color:#3e5b51;background:#263c35}.dashboard-shell.theme-system .agent-group-chip:hover{color:#b4e2d2;border-color:#5c8174;background:#303c37}.dashboard-shell.theme-system .admin-agent-security code{color:var(--ink);border-color:#3c4844;background:#29322f}.dashboard-shell.theme-system .admin-agent-delete-button{color:#efb4aa;border-color:#63443e;background:#382a27}.dashboard-shell.theme-system .admin-agent-delete-button:hover{border-color:#80534b;background:#46302c}}@media(prefers-color-scheme:dark){.dashboard-shell.theme-system{--toast-bg: rgba(55,66,62,.96);--toast-text: #f5f8f6;--toast-border: rgba(255,255,255,.16);--toast-shadow: 0 6px 20px rgba(0,0,0,.32)}.dashboard-shell.theme-system{--ink: #e8edeb;--muted: #9ca9a4;--line: #35413d;--paper: #222b28;--wash: #171d1b;color:var(--ink);background:var(--wash)}.dashboard-shell.theme-system .workspace-sidebar,.dashboard-shell.theme-system .staff-inbox-profile,.dashboard-shell.theme-system .conversation-list,.dashboard-shell.theme-system .conversation-panel,.dashboard-shell.theme-system .staff-composer,.dashboard-shell.theme-system .data-section,.dashboard-shell.theme-system .modal{color:var(--ink);border-color:var(--line);background:var(--paper)}.dashboard-shell.theme-system .workspace-brand strong,.dashboard-shell.theme-system .workspace-user strong,.dashboard-shell.theme-system .staff-profile-head strong,.dashboard-shell.theme-system .page-header h1,.dashboard-shell.theme-system .section-title h2{color:var(--ink)}.dashboard-shell.theme-system .workspace-nav button:hover,.dashboard-shell.theme-system .icon-button:hover,.dashboard-shell.theme-system .conversation-item:hover{color:var(--ink);background:#29332f}.dashboard-shell.theme-system .workspace-nav button.active{color:#9ed9c5;background:#263c35}.dashboard-shell.theme-system .conversation-item.selected{color:inherit;background:var(--paper)}.dashboard-shell.theme-system .workspace-status,.dashboard-shell.theme-system .staff-miniapp-row,.dashboard-shell.theme-system .metric-row>div,.dashboard-shell.theme-system .table-wrap{border-color:var(--line);background:#202825}.dashboard-shell.theme-system table th{color:#aab5b1;background:#28312e}.dashboard-shell.theme-system table td{border-color:var(--line)}.dashboard-shell.theme-system .staff-messages,.dashboard-shell.theme-system .empty-conversation{color:var(--ink);background:var(--wash)}.dashboard-shell.theme-system .new-message-indicator{border-color:var(--paper)}.dashboard-shell.theme-system .bubble:not(.bubble-mine){--chat-bubble-bg: #2c2c2e;--chat-bubble-border: rgba(255,255,255,.07);color:var(--ink)}.dashboard-shell.theme-system .bubble-mine{--chat-bubble-bg: #3f7d34;--chat-bubble-border: rgba(255,255,255,.06);color:#f4f4f4}.dashboard-shell.theme-system .message-quote{color:#b2beb8;background:#76ad961f}.dashboard-shell.theme-system .bubble-mine .message-quote{color:#e5eee2;border-left-color:#eef7eb9e;background:#ffffff1a}.dashboard-shell.theme-system .composer-reply{border-color:#76ad96;background:#293a34}.dashboard-shell.theme-system .composer-reply strong{color:#e4ece8}.dashboard-shell.theme-system .composer-reply small{color:#a4b0aa}.dashboard-shell.theme-system input,.dashboard-shell.theme-system textarea,.dashboard-shell.theme-system .composer,.dashboard-shell.theme-system .theme-mode-picker button{color:var(--ink);border-color:#3c4844;background:#29322f}.dashboard-shell.theme-system .searchable-select{color:#98a49f;border-color:#3c4844;background:#29322f}.dashboard-shell.theme-system .searchable-select.open,.dashboard-shell.theme-system .searchable-select:focus-within{border-color:#699486;background:#2b3632;box-shadow:0 0 0 3px #6994861f}.dashboard-shell.theme-system .searchable-select>svg,.dashboard-shell.theme-system .searchable-select-toggle{color:#98a49f}.dashboard-shell.theme-system .searchable-select-toggle:hover{color:#b4e2d2;background:#303c37}.dashboard-shell.theme-system .theme-mode-picker button.active{color:#a9e0cd;border-color:#699486;background:#29443b}.dashboard-shell.theme-system .secondary-button{color:var(--ink);border-color:#46514d;background:#2a332f}.dashboard-shell.theme-system .conversation-controls,.dashboard-shell.theme-system .conversation-item,.dashboard-shell.theme-system .conversation-header,.dashboard-shell.theme-system .customer-context-menu{color:var(--ink);border-color:var(--line);background:var(--paper)}.dashboard-shell.theme-system .conversation-item{border-bottom-color:#303a36}.dashboard-shell.theme-system .conversation-item.pinned{background:#29312e}.dashboard-shell.theme-system .conversation-item.pinned:hover{background:#303a36}.dashboard-shell.theme-system .conversation-item.pinned.selected{background:#29312e}.dashboard-shell.theme-system .compact-search,.dashboard-shell.theme-system .secret-input,.dashboard-shell.theme-system .availability-control,.dashboard-shell.theme-system .pending-media,.dashboard-shell.theme-system .emoji-menu{color:var(--ink);border-color:#3b4743;background:#29322f}.dashboard-shell.theme-system .compact-search-button:hover,.dashboard-shell.theme-system .compact-search button:hover,.dashboard-shell.theme-system .customer-context-menu button:hover,.dashboard-shell.theme-system .emoji-menu button:hover{color:#a9e0cd;background:#303c37}.dashboard-shell.theme-system .preview-top strong,.dashboard-shell.theme-system .conversation-title strong,.dashboard-shell.theme-system .empty-conversation h3,.dashboard-shell.theme-system .table-user,.dashboard-shell.theme-system .modal h2{color:var(--ink)}.dashboard-shell.theme-system .filter-tabs button,.dashboard-shell.theme-system .preview-message,.dashboard-shell.theme-system .preview-top time,.dashboard-shell.theme-system .conversation-title span,.dashboard-shell.theme-system .composer-caption,.dashboard-shell.theme-system .staff-miniapp-info small,.dashboard-shell.theme-system .staff-miniapp-info em,.dashboard-shell.theme-system td{color:#a3ada9}.dashboard-shell.theme-system .filter-tabs button.active,.dashboard-shell.theme-system .metric-row strong{color:#9ed9c5}.dashboard-shell.theme-system .customer-context-menu button{color:#c1cac6;border-color:#35413d}.dashboard-shell.theme-system .staff-status-pill{color:#aab2af;background:#303936}.dashboard-shell.theme-system .staff-status-pill.online{color:#9ed9c5;background:#263c35}.dashboard-shell.theme-system .staff-miniapp-empty{color:#8f9995;border-color:#46514d;background:#29322f}.dashboard-shell.theme-system .status-tag.active{color:#8ed3ba;background:#244137}.dashboard-shell.theme-system .status-tag.waiting{color:#e4ae87;background:#49372c}.dashboard-shell.theme-system .status-tag.closed{color:#aeb6b2;background:#343c39}.dashboard-shell.theme-system .qr-preview,.dashboard-shell.theme-system .qr-open-button,.dashboard-shell.theme-system .qr-preview img,.dashboard-shell.theme-system .qr-open-button img,.dashboard-shell.theme-system .qr-lightbox-card>img{background:#fff}.dashboard-shell.theme-system .qr-lightbox-card{color:var(--ink);background:var(--paper)}.dashboard-shell.theme-system .modal label{color:#b8c1bd}.dashboard-shell.theme-system .workspace-avatar-button>svg,.dashboard-shell.theme-system .staff-avatar-button>svg{border-color:var(--paper)}.admin-dashboard.theme-system .page-content>.data-section .table-wrap thead th{color:#aab5b1;background:#28312e}.dashboard-shell.theme-system .staff-complaints-panel,.dashboard-shell.theme-system .staff-complaints-panel>footer,.dashboard-shell.theme-system .complaint-detail-info,.dashboard-shell.theme-system .complaint-detail-section{color:var(--ink);border-color:var(--line);background:var(--paper)}.dashboard-shell.theme-system .staff-complaint-list>div{border-color:#303a36}.dashboard-shell.theme-system .staff-complaint-summary{color:var(--ink)}.dashboard-shell.theme-system .staff-complaint-process{color:#c1cac6;border-color:#46514d;background:#2a332f}.dashboard-shell.theme-system .staff-complaint-entry{color:#aab2af;background:#303936}.dashboard-shell.theme-system .staff-complaint-entry i{border-color:var(--paper)}.admin-metadata-context-menu.theme-system{color:#c1cac6;border-color:#46514d;background:#29322f}.admin-metadata-context-menu.theme-system button:hover{color:#9ed9c5;background:#303c37}.admin-metadata-context-menu.theme-system>small{border-color:#3a4541}.dashboard-shell.theme-system .complaint-detail-info>div{border-color:#303a36}.dashboard-shell.theme-system .complaint-detail-info dd,.dashboard-shell.theme-system .complaint-evidence-list p{color:#d2dad6}.dashboard-shell.theme-system .complaint-evidence-list>div,.dashboard-shell.theme-system .complaint-evidence-image,.dashboard-shell.theme-system .complaint-media-loading{background:#29322f}}.customer-context-menu{position:fixed;z-index:70;width:176px;padding:5px;display:flex;flex-direction:column;border:1px solid #e0e5e1;border-radius:6px;background:#fff;box-shadow:0 12px 34px #1b2c262b}.customer-context-menu button{min-height:40px;padding:0 10px;display:flex;align-items:center;gap:9px;border:0;border-radius:4px;color:#52605a;background:transparent;cursor:pointer;text-align:left;font-size:12px}.customer-context-menu button:hover{color:var(--green);background:#f1f6f3}.customer-context-menu button.danger{color:#a54d3b}.customer-context-menu button.danger:hover{background:#fff1ec}.customer-dialog{width:min(400px,100%)}.delete-warning{margin:0;color:#727c78;font-size:13px;line-height:1.7}@media(max-width:680px){.dashboard-shell{grid-template-columns:64px minmax(0,1fr)}.workspace-sidebar{padding:14px 8px 10px;overflow:hidden}.workspace-brand{padding:0 5px 14px;justify-content:center;border-bottom:0}.workspace-brand .brand-mark{width:31px;height:31px}.workspace-brand>span:last-child,.workspace-nav button>span,.workspace-status span,.workspace-status small,.workspace-user>span{display:none}.workspace-nav{margin:12px 0;gap:7px}.workspace-nav button{min-height:42px;padding:0;justify-content:center;gap:0}.workspace-nav button.active:before{left:-9px}.workspace-nav button i{position:absolute;top:4px;right:3px;min-width:15px;height:15px;padding:0 3px;font-size:7px}.workspace-status{width:10px;height:10px;margin:auto auto 0;padding:0;border:0;border-radius:50%;background:#48a581;box-shadow:0 0 0 3px #48a5811f}.workspace-user{margin-top:13px;padding:12px 0 0;flex-direction:column;gap:6px}.workspace-user .icon-button{width:32px;height:32px}.dashboard-content,.inbox-layout{min-height:0}.page-content{flex:1}.admin-dashboard .workspace-sidebar{position:sticky;top:0}.admin-dashboard .dashboard-content>.page-content{min-height:0;height:100%;overflow:hidden}.admin-dashboard .page-content>.data-section .table-wrap{max-height:none;overflow-x:auto;overflow-y:auto}.staff-inbox-profile{padding:13px 14px 11px}.staff-miniapp-row{grid-template-columns:62px minmax(0,1fr);padding:8px}.staff-miniapp-row .qr-preview,.staff-miniapp-empty{width:62px}.staff-composer .drop-media-overlay{left:0;bottom:82px}.copy-media-button{opacity:1}.complaints-page{padding:18px 12px max(18px,env(safe-area-inset-bottom))}.complaint-detail-scroll{padding:12px}.complaint-detail-info{padding:3px 11px}.complaint-detail-info>div{grid-template-columns:72px minmax(0,1fr)}.complaint-detail-section{margin-top:12px;padding:12px}.complaint-image-grid{grid-template-columns:repeat(3,minmax(64px,1fr))}}
