/* Support conversation uses the same surfaces, typography and burgundy accent. */
.s37-mark{display:grid;place-items:center;width:46px;height:46px;border:1px solid #ece3e7;border-radius:15px;background:linear-gradient(140deg,#fff,#f5edf1);flex:none}.s37-mark img{width:29px;height:29px;object-fit:contain}.s37-pinned{display:flex;gap:12px;align-items:center;padding:17px 14px;border:1px solid #e9dce2;border-radius:16px;background:linear-gradient(115deg,#fff,#f9f1f4);margin:0 0 20px;box-shadow:0 5px 18px #51213004}.s37-pinned:hover{border-color:#c996a1;background:#fff7f9}.s37-pinned.selected{box-shadow:inset 3px 0 0 var(--red);border-color:#d9b8c3}.s37-pin-copy{display:grid;gap:5px;min-width:0;flex:1}.s37-pin-copy strong{font-size:16px;line-height:1.2}.s37-pin-copy>span:last-child{font-size:12px;color:var(--muted);line-height:1.35}.s37-pin-label{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;letter-spacing:1px;color:var(--red)}.s37-pin-label svg{height:12px;width:12px}.s37-pinned>.icon{width:16px;height:16px;color:#8d7a82}.s37-pinned.wide{padding:22px 25px;margin-bottom:26px;gap:17px}.s37-pinned.wide .s37-mark{width:53px;height:53px}.s37-pinned.wide .s37-pin-copy strong{font-size:20px}.s37-pinned.wide .s37-pin-copy>span:last-child{font-size:14px}.s37-pin-end{display:grid;justify-items:end;gap:10px}.s37-pin-end b{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--red)}.s37-pin-end svg{width:16px;height:16px}.s37-status{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);line-height:1.3}.s37-status:before{content:'';width:6px;height:6px;border-radius:50%;background:#7083a0;flex:none}.s37-status.waiting{color:#8c6222}.s37-status.waiting:before{background:#bb8227}.s37-status.operator,.s37-status.resolved{color:var(--green)}.s37-status.operator:before,.s37-status.resolved:before{background:var(--green)}
.s37-workspace{display:grid;grid-template-columns:270px minmax(0,1fr);overflow:hidden;height:min(800px,calc(100dvh - 225px));min-height:540px;padding:0}.s37-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f8f9fddd;border-right:1px solid var(--line);padding:22px 14px}.s37-sidebar-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 10px 18px}.s37-sidebar-heading h2{font-size:19px}.s37-sidebar-heading span{font-size:11px;letter-spacing:1px;color:#8a94a5}.s37-sidebar>.s37-pinned{flex:none}.s37-sidebar-divider{border-top:1px solid var(--line);padding:21px 8px 11px;font-size:12px;color:var(--muted);font-weight:700}.s37-all-procedures{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--red);padding:10px 8px;margin-bottom:8px;font-weight:700}.s37-all-procedures svg{width:17px;height:17px}.s37-all-procedures svg:last-child{margin-left:auto}.s37-procedure-threads{overflow:auto;min-height:0;overscroll-behavior:contain}.s37-procedure-threads .request-thread-copy strong{font-size:14px}.s37-procedure-threads .request-thread-copy>span{font-size:13px;line-height:1.4}.s37-procedure-threads .request-thread-copy small{font-size:12px}.request-thread-list>.s37-pinned{margin-bottom:22px}.s37-conversation{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff}
.s37-chat-header{display:flex;gap:12px;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line);flex:none}.s37-chat-header>div:first-of-type{flex:1;min-width:0}.s37-chat-header h2{font-size:21px;margin:0 0 6px;line-height:1.2}.s37-header-actions .btn{font-size:13px;min-height:42px;padding:9px 13px}.s37-header-actions svg{width:17px;height:17px}.s37-service-line{display:flex;align-items:center;gap:7px;padding:10px 24px;background:#f8fafc;color:#6b778b;font-size:12px;border-bottom:1px solid #edf0f5;flex:none}.s37-service-line>span{margin-left:auto;color:#697a94}.s37-service-line>svg{width:14px;height:14px}.s37-log{flex:1;min-height:180px;overflow:auto;overscroll-behavior:contain;padding:22px 24px 26px;display:flex;flex-direction:column;gap:18px;scroll-behavior:smooth;background:linear-gradient(180deg,#fff,#fcfcff)}.s37-history-label{align-self:center;font-size:12px;color:#8390a1;margin:0 0 4px}.s37-message{display:flex;align-items:flex-end;gap:10px;max-width:92%;align-self:flex-start;flex:none}.s37-message.own{align-self:flex-end;max-width:85%}.s37-speaker{height:30px;width:30px;flex:none;display:grid;place-items:center;border-radius:10px;background:#edf2f9;color:#637897;font-size:11px;font-weight:700;margin-bottom:3px}.s37-speaker svg{width:18px;height:18px}.s37-speaker.human{background:#e9f4ed;color:var(--green)}.s37-bubble{border:1px solid #e2e7ef;border-radius:17px 17px 17px 4px;padding:16px 18px;background:#f8faff;min-width:0}.s37-message.human .s37-bubble{background:#f6fbf8;border-color:#e0ece4}.s37-message.own .s37-bubble{border-radius:17px 17px 4px 17px;background:#f7eef2;border-color:#eddde4}.s37-message-label{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:9px}.s37-message-label b{font-size:13px}.s37-message-label span{font-size:11px;color:#7b8799}.s37-message.human .s37-message-label b{color:var(--green)}.s37-bubble p{font-size:16px;line-height:1.55;overflow-wrap:anywhere}.s37-bubble time{display:block;text-align:right;font-size:11px;color:#8390a1;margin-top:8px}.s37-answer-link{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--red);min-height:40px;margin-top:7px}.s37-answer-link svg{width:15px;height:15px}.s37-answer-feedback{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:13px;margin-top:14px}.s37-answer-feedback>span{font-size:12px;color:var(--muted);width:100%}.s37-answer-feedback button{display:inline-flex;align-items:center;gap:5px;font-size:13px;min-height:36px;border:1px solid #dce3ed;background:white;border-radius:9px;padding:7px 10px}.s37-answer-feedback button:hover{border-color:var(--red);color:var(--red)}.s37-answer-feedback button svg{width:15px;height:15px}
.s37-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 0 40px;flex:none}.s37-topics button{display:flex;align-items:center;gap:9px;min-height:58px;text-align:left;padding:13px 12px;border:1px solid #e0e5ed;border-radius:12px;background:#fff;font-size:14px;line-height:1.3}.s37-topics button:hover{background:#fdf7f9;border-color:#dbb8c2}.s37-topics button>svg:first-child{width:18px;height:18px;color:#8c4556}.s37-topics button>svg:last-child{width:13px;height:13px;color:#8a95a7;margin-left:auto}.s37-topics span{flex:1}.s37-system{display:flex;align-items:flex-start;gap:8px;align-self:center;max-width:90%;font-size:13px;line-height:1.5;color:#6a798e;padding:8px 0;flex:none}.s37-system>svg{height:16px;width:16px;margin-top:2px;color:#8593a8}.s37-system.connected,.s37-system.resolved{color:var(--green)}.s37-system.handoff{color:#906224}.s37-handoff{display:flex;align-items:flex-start;gap:11px;padding:13px 24px;background:#fff7e9;border-bottom:1px solid #f0e3cc;color:#8b632b}.s37-handoff strong{font-size:14px}.s37-handoff p{font-size:13px;line-height:1.4;margin-top:4px}.s37-handoff.connected{background:#edf7f0;color:var(--green);border-color:#e2eee5}.s37-handoff>.icon{width:18px;height:18px;margin-top:3px}.s37-loader{flex:none;width:17px;height:17px;border-radius:50%;border:2px solid #ead5b4;border-top-color:#946422;margin-top:3px;animation:s37-spin 1s linear infinite}@keyframes s37-spin{to{transform:rotate(360deg)}}
.s37-compose{flex:none;padding:17px 24px 18px;border-top:1px solid var(--line);background:#fff}.s37-compose textarea{display:block;width:100%;min-height:66px;max-height:180px;resize:vertical;border:1px solid #d6deea;border-radius:13px;padding:12px 14px;font:inherit;font-size:16px;background:#fcfdff;color:var(--ink);line-height:1.45}.s37-compose textarea:focus{outline:2px solid #bb8291;outline-offset:2px}.s37-compose textarea::placeholder{color:#8590a0}.s37-compose-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:12px}.s37-compose-bottom small{color:#8190a1;font-size:11px;line-height:1.4}.s37-compose-bottom .btn{min-height:44px;padding:10px 16px}.s37-error{font-size:13px;color:var(--red);margin-top:8px}.s37-error:empty{display:none}.s37-guest-page{max-width:1200px;padding-top:24px;padding-bottom:35px}.s37-guest-title{margin:8px 0 26px}.s37-guest-title h1{font-size:35px;letter-spacing:-.9px}.s37-guest-title p{font-size:16px;color:var(--muted);margin-top:10px}.s37-guest-page .s37-workspace{height:min(810px,calc(100dvh - 235px));min-height:570px}.s37-guest-note{padding:4px 10px;display:flex;gap:10px;color:var(--muted)}.s37-guest-note>svg{margin-top:2px;flex:none;width:18px;height:18px}.s37-guest-note h3{font-size:16px;color:var(--ink)}.s37-guest-note p{font-size:14px;line-height:1.5;margin:11px 0}.s37-guest-note .link{font-size:13px}
@media(max-width:1150px){.s37-workspace{grid-template-columns:225px minmax(0,1fr)}.s37-sidebar{padding:18px 11px}.s37-pinned{padding:15px 11px;gap:9px}.s37-pinned:not(.wide) .s37-mark{height:37px;width:37px;border-radius:12px}.s37-pinned:not(.wide) .s37-mark img{width:25px;height:25px}.s37-pin-copy strong{font-size:15px}.s37-chat-header,.s37-log,.s37-compose{padding-left:18px;padding-right:18px}.s37-chat-header .s37-mark{display:none}.s37-chat-header h2{font-size:19px}.s37-header-actions .btn{white-space:normal;font-size:12px}.s37-header-actions .btn svg{display:none}.s37-topics{grid-template-columns:1fr}.s37-message{max-width:100%}.s37-service-line{padding:10px 18px;flex-wrap:wrap}.s37-service-line>span{margin-left:0}.s37-handoff{padding:13px 18px}}
@media(max-width:760px){.s37-workspace{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible}.s37-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:15px;border-radius:23px 23px 0 0}.s37-sidebar-heading{display:none}.s37-sidebar>.s37-pinned{margin-bottom:0;max-width:none}.s37-sidebar-divider{border:0;padding:16px 4px 8px}.s37-all-procedures{padding:8px 4px;margin:0;font-size:13px}.s37-procedure-threads{display:flex;gap:7px;overflow:auto;padding:3px 0 1px}.s37-procedure-threads .request-thread{flex:0 0 195px;margin:0;background:white;border-color:#e4e8f0}.s37-procedure-threads .request-thread-copy>span{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}.s37-procedure-threads .request-thread-copy small{display:none}.s37-procedure-threads .request-avatar{width:29px;height:29px}.s37-conversation{min-height:570px;height:calc(100dvh - 80px);max-height:850px;border-radius:0 0 23px 23px;overflow:hidden}.s37-chat-header{flex-wrap:wrap;padding:17px}.s37-chat-header h2{font-size:19px}.s37-chat-header .s37-status{font-size:12px}.s37-header-actions .btn{font-size:12px;min-height:40px;padding:8px 10px}.s37-log{padding:18px 15px 23px}.s37-message{gap:7px}.s37-speaker{width:25px;height:25px;border-radius:8px}.s37-speaker svg{width:16px;height:16px}.s37-bubble{padding:13px 14px}.s37-message-label{gap:5px}.s37-message-label b{font-size:12px}.s37-message-label span{font-size:10px}.s37-topics{margin-left:32px;gap:8px}.s37-topics button{min-height:52px;font-size:14px}.s37-message.own{max-width:91%}.s37-compose{padding:15px}.s37-compose-bottom{gap:9px}.s37-compose-bottom small{font-size:10px;max-width:185px}.s37-compose-bottom .btn{font-size:14px;padding:10px 13px}.s37-compose-bottom .btn svg{width:16px}.s37-system{max-width:95%;font-size:12px}.s37-pinned.wide{padding:18px;gap:12px;flex-wrap:wrap}.s37-pinned.wide .s37-mark{height:44px;width:44px}.s37-pinned.wide .s37-pin-copy strong{font-size:18px}.s37-pinned.wide .s37-pin-copy>span:last-child{font-size:13px}.s37-pin-end{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-left:56px;justify-content:space-between;flex:1}.s37-pin-end b{font-size:13px}.s37-guest-page{padding-top:18px}.s37-guest-title h1{font-size:29px}.s37-guest-title p{font-size:15px}.s37-guest-page .s37-workspace{height:auto;min-height:0}.s37-guest-note{display:none}.request-thread-list>.s37-pinned{width:100%;margin-bottom:10px}.s37-guest-page .s37-conversation{max-height:none}}
@media(prefers-reduced-motion:reduce){.s37-loader{animation:none}.s37-log{scroll-behavior:auto}}
