.chat-schedule-day{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 0;border-bottom:1px solid var(--line,#dedde5)}.chat-schedule-day>.check{grid-column:1/-1}.chat-schedule-day>.field{margin:0}.chat-schedule-day>label:first-child{grid-column:1/-1}.chat-schedule-day .field span{font-size:11px}
dialog.chat-account{width:min(1080px,calc(100% - 32px));max-width:1080px}.chat-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.chat-toolbar h3{margin:0}.chat-toolbar .fine{margin-left:auto}.chat-inbox-grid{display:grid;grid-template-columns:280px minmax(0,1fr);border:1px solid #dfdde7;border-radius:16px;overflow:hidden;min-height:480px}.chat-sidebar{border-right:1px solid #dfdde7;background:#f8f7fb;min-width:0}.chat-filters{display:grid;grid-template-columns:1fr auto;gap:8px;padding:14px}.chat-filters input{grid-column:1/-1}.chat-filters input,.chat-filters select,.chat-owner-composer textarea{font:inherit;font-size:14px;padding:10px;border:1px solid #dcd9e6;border-radius:9px;min-width:0;background:white;color:#222}.chat-thread-list{max-height:430px;overflow:auto}.chat-thread-row{display:block;width:100%;text-align:left;padding:16px;border:0;border-top:1px solid #e8e6ee;background:transparent;color:#24212d;cursor:pointer;font:inherit}.chat-thread-row:hover,.chat-thread-row.selected{background:#eeebff}.chat-thread-row strong{display:flex;justify-content:space-between;font-size:14px;gap:8px;overflow-wrap:anywhere}.chat-thread-row span,.chat-thread-row small{display:block;font-size:12px;margin-top:6px;opacity:.65}.chat-last{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-unread-dot{width:8px;height:8px;border-radius:50%;background:#6956ed;flex-shrink:0;margin-top:5px}.chat-paging{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;font-size:11px}.chat-thread{padding:20px;min-width:0;display:flex;flex-direction:column;gap:12px}.chat-thread>.notice{margin:auto}.chat-thread-info h3{margin:0}.chat-thread-info p{margin:4px 0}.chat-thread-actions{display:flex;gap:8px;flex-wrap:wrap}.chat-thread-actions>button:first-child{display:none}.chat-consent-details{margin-top:8px;font-size:12px}.chat-owner-log{display:flex;flex-direction:column;gap:12px;min-height:220px;height:32vh;max-height:380px;overflow:auto;padding:12px;background:#f8f7fb;border-radius:12px;overscroll-behavior:contain}.chat-owner-message{max-width:88%;align-self:flex-start;padding:12px 14px;background:white;border:1px solid #e3dfeb;border-radius:12px 12px 12px 3px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px}.chat-owner-message.agent{align-self:flex-end;background:#eeeaff;border-color:#d7cffb;border-radius:12px 12px 3px 12px}.chat-owner-message small{display:block;font-size:10px;color:#777184;margin-top:6px}.chat-owner-composer{display:grid;gap:10px}.chat-owner-composer textarea{resize:vertical;width:100%;box-sizing:border-box;max-height:180px}.chat-owner-composer button{justify-self:end}.chat-inbox-error{font-size:13px;line-height:1.6;color:#8c303f;overflow-wrap:anywhere}.chat-inbox-error:empty{display:none}.chat-inbox .fine{font-size:12px}.chat-inbox button:disabled{opacity:.5;cursor:default}@media(max-width:700px){dialog.chat-account{width:calc(100% - 16px)}.chat-inbox-grid{grid-template-columns:minmax(0,1fr)}.chat-thread{display:none;padding:12px}.thread-open .chat-thread{display:flex}.thread-open .chat-sidebar{display:none}.chat-thread-actions>button:first-child{display:inline-flex}.chat-sidebar{border-right:0}.chat-toolbar .fine{margin-left:0}.chat-owner-log{height:35vh}}
.chat-inbox [hidden]{display:none!important}.chat-inbox .chat-control{display:grid;gap:6px;font-size:12px;font-weight:500;min-width:0}.chat-inbox .chat-control input,.chat-inbox .chat-control textarea,.chat-inbox select,.chat-inbox .chat-insert-row input,.chat-inbox .chat-note-form textarea{width:100%;box-sizing:border-box;min-width:0;padding:9px 11px;font:inherit;font-size:14px;color:#24212d;background:#fff;border:1px solid #dcd9e6;border-radius:9px}.chat-inbox .chat-toolbar .chat-control{max-width:210px}.chat-inbox .chat-toolbar select{padding:7px 10px}.chat-inbox .chat-filters>select{width:100%}.chat-inbox .chat-workspace{padding:20px;background:#f5f3fc;border:1px solid #ded9f0;border-radius:14px;margin-bottom:18px}.chat-inbox .chat-workspace form{display:grid;gap:14px}.chat-inbox .chat-workspace h3,.chat-inbox .chat-workspace p{margin:0}.chat-inbox .chat-workspace button{justify-self:start}.chat-inbox .chat-template-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.chat-inbox .chat-template-card{padding:14px;border:1px solid #e3dfeb;background:white;border-radius:12px;display:grid;gap:10px}.chat-inbox .chat-template-card textarea{resize:vertical}.chat-inbox .chat-meta{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:12px;background:#f8f7fb;border-radius:12px}.chat-inbox .chat-meta>.chat-control{flex:1 1 180px}.chat-inbox .chat-meta>.chat-labels{flex:1 1 100%}.chat-inbox .chat-labels{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.chat-inbox .chat-label{display:inline-flex;margin:0;padding:3px 7px;border-radius:5px;color:#5845b8;background:#eeeaff;font-size:10px;opacity:1}.chat-inbox .chat-tag-choice{display:flex;align-items:center;gap:5px;font-weight:400;background:#efecf8;padding:5px 8px;border-radius:7px}.chat-inbox .chat-tag-choice input{width:14px;height:14px;accent-color:#6956ed;margin:0}.chat-inbox .chat-insert-row{display:flex;gap:8px}.chat-inbox .chat-insert-row select,.chat-inbox .chat-insert-row input{flex:1}.chat-inbox .chat-insert-row button{flex:0 0 auto}.chat-inbox .chat-owner-composer>.chat-thread-actions>button:first-child{display:inline-flex}.chat-inbox .chat-claim-notice{margin:0;font-size:12px;line-height:1.6;background:#f0edff;color:#514195;padding:10px 12px;border-radius:9px;border-left:3px solid #7962f5}.chat-inbox .chat-private-notes{border:1px solid #e9dcba;border-radius:12px;background:#fffdf6;padding:12px}.chat-inbox .chat-private-notes summary{cursor:pointer;font-size:12px;font-weight:600;color:#75643a}.chat-inbox .chat-note{padding:10px 0;border-bottom:1px solid #ece4cd;overflow-wrap:anywhere}.chat-inbox .chat-note p{margin:0 0 6px;white-space:pre-wrap;font-size:13px;line-height:1.6}.chat-inbox .chat-note small{font-size:10px;color:#83765a}.chat-inbox .chat-note-form{display:grid;gap:8px;margin-top:12px}.chat-inbox .chat-note-form button{justify-self:end}.chat-inbox .chat-owner-message a{color:#5f4cce;text-decoration:underline}.chat-inbox button:focus-visible,.chat-inbox summary:focus-visible{outline:2px solid #7962f5;outline-offset:3px}@media(max-width:700px){.chat-inbox .chat-template-list{grid-template-columns:1fr}.chat-inbox .chat-insert-row{flex-wrap:wrap}.chat-inbox .chat-insert-row button{margin-left:auto}.chat-inbox .chat-workspace{padding:14px}.chat-inbox .chat-toolbar .chat-control{max-width:none;flex:1 1 150px}}
