:root{color:#1d2324;background:#f4f6f3;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:geometricPrecision}*{box-sizing:border-box}html,body,#root{max-width:100%;overflow-x:hidden}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid rgba(124,215,166,.34);outline-offset:2px}.statusBadge,.skeleton,.errorState{border-radius:8px}.statusBadge{width:fit-content;min-height:28px;padding:0 9px;display:inline-flex;align-items:center;color:#17664f;background:#e9f8ef;font-size:12px;font-weight:900}.skeleton{min-height:42px;background:linear-gradient(90deg,#edf1ee,#fafbf9,#edf1ee);background-size:220% 100%;animation:skeletonShift 1.4s ease-in-out infinite}.errorState{min-height:72px;padding:14px;border:1px solid #f0d2d2;color:#8a2323;background:#fff6f6}@keyframes skeletonShift{0%{background-position:220% 0}to{background-position:-220% 0}}.supportLogin{min-height:100vh;display:grid;place-items:center;padding:18px;background:linear-gradient(135deg,rgba(45,119,94,.14),transparent 34%),#f4f6f3}.loginPanel{width:min(440px,100%);padding:24px;border:1px solid #dfe4df;border-radius:8px;background:#fff}.loginMark,.brand span{display:grid;place-items:center;width:46px;height:46px;border-radius:8px;color:#101817;background:#7cd7a6;font-weight:900}.loginPanel h1{margin:18px 0;font-size:30px}.loginPanel form{display:grid;gap:12px}.loginPanel input,.searchBox input,.composer textarea,.attachmentForm input,.assignForm input,.assignForm select,.noteForm textarea,.blacklistForm input{width:100%;border:1px solid #dbe1dc;border-radius:8px;background:#fff;color:#1d2324}.loginPanel input,.assignForm input,.assignForm select,.blacklistForm input{min-height:42px;padding:0 12px}.loginPanel button,.composer button,.attachmentForm button,.assignForm button,.tagEditor button,.noteForm button,.blacklistForm button,.threadActions button,.statusTabs button,.quickReplyRail button{min-height:40px;border:0;border-radius:8px;color:#101817;background:#7cd7a6;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:900}button:disabled{cursor:not-allowed;opacity:.58}.supportShell{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr)}.supportRail{padding:22px 16px;background:#17211e;color:#eff7f1}.brand{display:flex;align-items:center;gap:10px;margin-bottom:34px}.supportRail nav{display:grid;gap:8px}.supportRail a{min-height:44px;display:flex;align-items:center;gap:10px;padding:0 12px;border-radius:8px;color:#eff7f1b8}.supportRail a.active,.supportRail a:hover{color:#fff;background:#ffffff1a}.supportWorkspace{min-width:0;padding:18px}.supportTopbar{display:grid;grid-template-columns:42px minmax(0,560px) minmax(120px,.25fr) 42px 42px;gap:10px;align-items:center}.supportTopbar button{width:42px;height:42px;border:1px solid #dbe1dc;border-radius:8px;background:#fff;display:grid;place-items:center}.searchBox{min-height:42px;padding:0 12px;display:flex;align-items:center;gap:8px;border:1px solid #dbe1dc;border-radius:8px;background:#fff}.searchBox input{min-height:34px;border:0;outline:0}.notice{margin:14px 0 0;padding:12px;border:1px solid #f0d2a0;border-radius:8px;color:#8a4c18;background:#fff8e8}.heroBand{margin:18px 0;min-height:132px;padding:22px;border-radius:8px;color:#fff;background:#20312e;display:flex;align-items:center;justify-content:space-between;gap:16px}.heroBand p{margin:0 0 8px;color:#ffffffb8}.heroBand h1{margin:0;font-size:clamp(24px,4vw,40px)}.socketPill{min-height:34px;padding:0 10px;border-radius:8px;display:inline-flex;align-items:center;gap:7px;background:#ffffff1a;font-weight:900}.socketPill.online{color:#86efbf}.socketPill.connecting{color:#f0d97a}.socketPill.offline{color:#f0a0a0}.supportMetrics{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;margin-bottom:14px}.supportMetrics div,.conversationList,.conversationThread,.customerPanel,.noPermission{border:1px solid #dfe4df;border-radius:8px;background:#fff}.supportMetrics div{min-height:86px;padding:13px}.supportMetrics span,.conversationRows span,.conversationRows em,.conversationRows small,.threadHeader span,.threadHeader em,.messageStream span,.messageStream em,.customerIdentity span,.customerIdentity em,.customerFacts span,.timelineBlock p,.notesList p,.ratingHint{color:#62706b;font-size:13px;font-style:normal;overflow-wrap:anywhere}.supportMetrics strong{display:block;margin-top:7px;color:#17664f;font-size:28px}.workbenchGrid{display:grid;grid-template-columns:minmax(270px,.72fr) minmax(420px,1.4fr) minmax(300px,.88fr);gap:12px;align-items:start}.conversationList,.conversationThread,.customerPanel{min-width:0;min-height:640px;padding:14px}.sectionTitle{display:flex;align-items:center;gap:8px;margin-bottom:12px}.sectionTitle h2{margin:0;font-size:17px}.statusTabs{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:10px}.statusTabs button{min-height:32px;color:#17664f;background:#e9f8ef;font-size:12px}.statusTabs button.active{color:#fff;background:#17664f}.conversationRows{display:grid;gap:8px;max-height:550px;overflow:auto}.conversationRows button{min-height:116px;padding:12px;border:1px solid #edf1ee;border-radius:8px;color:#1d2324;background:#fafbf9;display:grid;gap:5px;text-align:left}.conversationRows button.selected,.conversationRows button:hover{border-color:#17664f;background:#f1fbf5}.conversationRows strong{overflow-wrap:anywhere}.conversationRows b,.conversationRows i{width:fit-content;padding:4px 7px;border-radius:8px;color:#17664f;background:#e9f8ef;font-size:12px;font-style:normal}.threadHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #edf1ee}.threadHeader strong{display:block;margin:5px 0;font-size:20px;overflow-wrap:anywhere}.threadActions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.threadActions button{min-height:34px;background:#e9f8ef;color:#17664f}.messageStream{height:360px;margin:12px 0;padding-right:6px;display:grid;align-content:start;gap:10px;overflow:auto}.messageStream article{max-width:82%;padding:10px;border-radius:8px;display:grid;gap:6px}.messageStream strong{white-space:pre-wrap;overflow-wrap:anywhere}.fromCustomer{justify-self:start;background:#f2f4f1}.fromSupport{justify-self:end;color:#08221a;background:#dff8eb}.fromSystem{justify-self:center;max-width:96%;background:#fff8e8}.messageStream img{max-width:240px;border:1px solid #dfe4df;border-radius:8px}.messageStream a{color:#17664f;font-weight:800}.messageStream em{display:inline-flex;align-items:center;gap:4px}.typingNotice{margin:0 0 8px;color:#17664f;font-size:13px}.quickReplyRail{display:flex;gap:7px;overflow-x:auto;padding-bottom:8px}.quickReplyRail button{min-width:fit-content;min-height:32px;color:#17664f;background:#e9f8ef;font-size:12px}.composer,.attachmentForm,.assignForm,.noteForm,.blacklistForm{display:grid;gap:8px}.composer textarea,.noteForm textarea{min-height:86px;padding:10px;resize:vertical}.attachmentForm,.assignForm{margin-top:10px}.attachmentForm input{min-height:40px;padding:8px}.assignForm{grid-template-columns:minmax(0,1fr) 120px minmax(160px,.7fr) 100px}.customerIdentity{display:grid;gap:6px;padding:12px;border:1px solid #edf1ee;border-radius:8px;background:#fafbf9}.customerIdentity strong{overflow-wrap:anywhere}.customerFacts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.customerFacts div{min-height:72px;padding:10px;border:1px solid #edf1ee;border-radius:8px;background:#fafbf9}.customerFacts strong{display:block;margin-top:5px;overflow-wrap:anywhere}.timelineBlock{padding:10px;border:1px solid #edf1ee;border-radius:8px}.timelineBlock h3,.tagEditor h3{margin:0 0 8px;font-size:15px}.timelineBlock p,.notesList p{margin:0;padding:7px 0;border-top:1px solid #edf1ee}.tagEditor{margin-top:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tagEditor h3,.tagEditor button{grid-column:1 / -1}.tagEditor label{min-height:32px;display:flex;align-items:center;gap:7px;color:#62706b}.noteForm,.blacklistForm,.notesList,.ratingHint{margin-top:10px}.blacklistForm button{color:#fff;background:#a2382a}.ratingHint{display:flex;align-items:center;gap:6px}.emptyState,.noPermission{min-height:120px;display:grid;place-items:center;color:#62706b}.languageSelect{min-height:40px;padding:0 10px;border:1px solid #d6ded9;border-radius:8px;background:#fff;color:#17201f;font:inherit}@media (max-width: 1120px){.supportShell{grid-template-columns:1fr}.supportRail{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:12px 14px}.brand{margin-bottom:0}.supportRail nav{display:none}.workbenchGrid,.supportMetrics,.assignForm{grid-template-columns:1fr}.conversationList,.conversationThread,.customerPanel{min-height:auto}.messageStream{height:420px}}@media (max-width: 640px){.supportWorkspace{padding:14px}.supportTopbar{grid-template-columns:42px 1fr minmax(100px,.45fr) 42px 42px}.heroBand{align-items:flex-start;flex-direction:column}.statusTabs,.customerFacts,.tagEditor{grid-template-columns:1fr}.messageStream article{max-width:100%}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
