.support-desk .desk-header h1{color:#fff}
.desk-widget-settings{margin-bottom:18px;border:1px solid #dce6f4;border-radius:17px;background:#fff;overflow:hidden}
.desk-widget-settings>summary{display:flex;align-items:center;gap:12px;padding:17px 20px;cursor:pointer;list-style:none}
.desk-widget-settings>summary::-webkit-details-marker{display:none}
.desk-widget-settings__icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eff6ff;color:#2563eb;font-size:20px}
.desk-widget-settings summary strong,.desk-widget-settings summary small{display:block}
.desk-widget-settings summary strong{font-size:14px;color:#173355}
.desk-widget-settings summary small{font-size:11px;color:#7c8ea5;margin-top:4px}
.desk-widget-state{margin-inline-start:auto;padding:6px 12px;border-radius:20px;background:#eef6ff;color:#2563eb;font-size:12px}
.desk-widget-settings form{padding:0 20px 20px}
.desk-widget-master{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px;border:1px solid #dce7f7;border-radius:12px;background:#f8fbff;color:#334155}
.desk-widget-master b{font-size:13px}.desk-widget-master small{display:block;margin-top:6px;color:#728197;font-size:11px;line-height:1.9}
.desk-widget-master input{width:20px;height:20px;accent-color:#2563eb;flex-shrink:0}
.desk-widget-roles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.desk-widget-roles label{display:flex;align-items:center;gap:9px;padding:13px;border:1px solid #e2e8f0;border-radius:11px;font-size:13px;color:#475569}
.desk-widget-roles label:has(input:checked){border-color:#a5c8fb;background:#f1f7ff;color:#2154a5}
.desk-widget-roles input{width:17px;height:17px;accent-color:#2563eb}
.desk-widget-save{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-top:16px}
.desk-widget-save p{font-size:11px;color:#728197;line-height:1.9;max-width:690px;margin:0}
.desk-widget-save button,.desk-invite-dialog button[type=submit]{border:0;border-radius:11px;background:#2563eb;color:#fff;padding:12px 18px;font-size:12px;font-weight:700;white-space:nowrap}
.desk-settings-feedback{margin:12px 0 0;color:#2563eb;font-size:12px}
.desk-view-tabs{display:flex;gap:8px;padding:6px;border:1px solid #e0e8f4;border-radius:14px;background:#eef3fa;margin-bottom:18px;width:max-content;max-width:100%}
.desk-view-tabs button{display:inline-flex;align-items:center;gap:9px;border:0;border-radius:10px;background:transparent;padding:11px 18px;font-size:13px;font-weight:700;color:#64748b}
.desk-view-tabs button[aria-selected=true]{background:#fff;color:#2054a8;box-shadow:0 3px 9px #20365a0d}
.desk-view-tabs i,.desk-live-connection::before{width:7px;height:7px;display:inline-block;border-radius:50%;background:#10b981}
.desk-view-tabs b{font-size:11px;padding:2px 7px;border-radius:8px;background:#e7f0ff;color:#2563eb}
.desk-live{padding:25px;border:1px solid #dfe8f6;border-radius:22px;background:#fff;box-shadow:0 8px 24px #13376e05}
.desk-live__head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}
.desk-live-kicker{color:#2563eb;font-size:11px;font-weight:750}
.desk-live__head h2{font-size:23px!important;color:#142c50;margin:7px 0 9px!important}
.desk-live__head p{font-size:12px;line-height:1.9;color:#728197;margin:0;max-width:670px}
.desk-live-connection{display:flex;align-items:center;gap:7px;flex-shrink:0;padding:9px 12px;border:1px solid #bbefdc;border-radius:20px;background:#f0fdf7;color:#047857;font-size:11px}
.desk-live-connection.is-offline{background:#fff8ed;color:#b46a08;border-color:#f5d5a5}.desk-live-connection.is-offline::before{background:#f59e0b}
.desk-live-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:20px}
.desk-live-stats article{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e3ebf7;border-radius:14px;padding:18px;background:linear-gradient(120deg,#fff,#f5f9ff)}
.desk-live-stats span{font-size:12px;color:#70839e}.desk-live-stats strong{font-size:26px;color:#1f4e93}
.desk-live-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:15px}
.desk-live-toolbar>label{flex:1;min-width:0}.desk-live-toolbar input,.desk-live-toolbar select{width:100%;min-width:0;border:1px solid #d9e4f3;padding:12px;border-radius:11px;background:#fff;font-size:12px;color:#334155}
.desk-live-toolbar select{width:170px;flex-shrink:0}
.desk-live-toolbar>button{border:1px solid #d9e4f3;background:#f7faff;color:#2563eb;border-radius:11px;padding:12px;font-size:12px}
.desk-live-table-wrap{overflow:auto;border:1px solid #e2eaf5;border-radius:14px}
.desk-live-table{width:100%;min-width:960px;border-collapse:collapse;font-size:12px}
.desk-live-table th{padding:14px;background:#f5f8fd;color:#73849d;font-size:11px;font-weight:700;text-align:right;white-space:nowrap}
.desk-live-table td{padding:17px 14px;border-top:1px solid #edf1f7;vertical-align:middle;max-width:250px;color:#334155}
.desk-live-table td strong{display:block;font-size:12px;color:#243c60;line-height:1.8}
.desk-live-table td small{display:block;font-size:10px;color:#8190a5;line-height:1.8;margin-top:5px}
.desk-live-table bdi{display:block;direction:ltr;text-align:right;overflow-wrap:anywhere;font-size:11px;line-height:1.8}
.live-person{display:flex;align-items:center;gap:10px}.live-person>div{min-width:0}
.live-avatar{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border-radius:11px;background:#eaf2ff;color:#2563eb;font-size:15px;font-weight:800}
.live-role{display:inline-block;margin-top:4px;padding:3px 7px;background:#f1f5f9;color:#64748b;border-radius:6px;font-size:10px}
.live-activity{display:inline-flex;line-height:1.9;padding:5px 8px;background:#edfdf6;border-radius:8px;color:#047857;font-size:11px}
.live-activity.is-idle{background:#f1f5f9;color:#8290a4}
.live-invite-button{border:1px solid #bfdbfe;background:#eff6ff;color:#2563eb;border-radius:9px;padding:9px 11px;font-size:11px;white-space:nowrap}
.live-invite-button:hover{background:#dbeafe}.live-invite-button:disabled{background:#f1f5f9;border-color:#e2e8f0;color:#94a3b8;cursor:default}
.desk-live-empty{text-align:center;padding:38px 20px;max-width:600px;margin:auto}
.desk-live-empty>span{display:inline-grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#eff6ff;color:#60a5fa;font-size:30px}
.desk-live-empty h3{color:#334155;font-size:15px;margin:16px 0 9px}.desk-live-empty p{font-size:12px;line-height:2;color:#8190a5}
.desk-live-pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:16px}
.desk-live-pagination small{color:#8190a5;font-size:11px}.desk-live-pagination button{border:1px solid #dbe6f5;border-radius:9px;background:#f8fbff;color:#2563eb;padding:8px 12px;font-size:11px}
.desk-live-privacy{border-top:1px solid #edf1f7;margin-top:20px;padding-top:16px;color:#8190a5;font-size:11px;line-height:2}
.desk-live-error{padding:12px 15px;border:1px solid #fde2b5;border-radius:11px;background:#fff8ed;color:#946311;font-size:12px;margin-bottom:12px;line-height:1.9}
.desk-invite-dialog{width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 40px);padding:28px;border:1px solid #dce6f4;border-radius:22px;box-shadow:0 20px 90px #14315730;color:#243752;font-family:inherit}
.desk-invite-dialog::backdrop{background:#11233e88;backdrop-filter:blur(4px)}
.desk-invite-dialog h2{font-size:22px;margin:8px 0!important;color:#142c50}
.desk-invite-dialog>p{color:#728197;font-size:12px;line-height:2;overflow-wrap:anywhere}
.desk-invite-close-form{position:absolute;left:14px;top:14px}
.desk-invite-close-form button{border:0;border-radius:8px;background:#f1f5f9;color:#64748b;width:30px;height:30px;font-size:22px}
.desk-invite-dialog label{display:block;font-size:13px;margin:20px 0 12px}
.desk-invite-dialog textarea{width:100%;margin-top:9px;padding:13px;border:1px solid #cbd9ed;border-radius:12px;font:inherit;font-size:13px;line-height:2;resize:vertical;min-height:120px}
.desk-invite-dialog small{font-size:11px;line-height:1.9;color:#8190a5}
.desk-invite-dialog [data-invite-error]{font-size:12px;color:#c53047}
.desk-invite-dialog button[type=submit]{width:100%}
.pchat-proactive{position:absolute;left:0;bottom:90px;width:320px;max-width:calc(100vw - 36px);padding:22px;border:1px solid #d6e4f9;border-radius:19px;background:#fff;box-shadow:0 14px 50px #173e772b;line-height:1.9;animation:chat-enter .2s ease}
.pchat-proactive::after{content:"";position:absolute;bottom:-7px;left:30px;width:13px;height:13px;background:#fff;border-right:1px solid #d6e4f9;border-bottom:1px solid #d6e4f9;transform:rotate(45deg)}
.pchat-proactive__tag{display:block;font-size:10px;color:#2563eb;margin-bottom:7px}
.pchat-proactive strong{display:block;font-size:15px;color:#173355;padding-left:10px}
.pchat-proactive p{color:#6d809b;font-size:12px;margin:9px 0 15px;overflow-wrap:anywhere}
.pchat-proactive>div{display:flex;gap:8px}
.pchat-proactive>div button{border:0;border-radius:10px;background:#2563eb;color:#fff;padding:9px 13px;font-size:12px}
.pchat-proactive [data-context-decline]{background:#f1f5f9;color:#64748b}
.pchat-proactive__close{position:absolute;left:9px;top:7px;border:0;background:transparent;color:#7f90a6;padding:3px 6px;font-size:23px}
.pchat-proactive small{color:#bc4356;font-size:11px}
.desk-account-role{color:#2563eb!important}
.pchat-window>.pchat-context-toggle{flex-shrink:0;width:100%;margin:0;border:0;border-bottom:1px solid #e4ebf5;background:#f5f9ff;color:#476384;text-align:center;padding:9px 12px;font-size:11px;line-height:1.8}
.pchat-window>.pchat-context-toggle[aria-pressed=false]{color:#8a651b;background:#fff8eb}
.pchat-window>.pchat-context-toggle:disabled{opacity:1;cursor:default}
.live-history-button{display:inline-flex;align-items:center;margin-top:9px;border:0;border-radius:7px;background:#f0f5ff;color:#2563eb;padding:6px 9px;font-size:11px}
.live-history-button:hover{background:#dfeaff}
.desk-history-dialog{width:min(800px,calc(100% - 28px));max-height:calc(100dvh - 40px);padding:30px;border:1px solid #dce6f4;border-radius:24px;box-shadow:0 24px 100px #14315738;color:#243752;font-family:inherit;overflow:auto;overscroll-behavior:contain}
.desk-history-dialog::backdrop{background:#11233e88;backdrop-filter:blur(4px)}
.desk-history-dialog header{padding-inline-end:25px}.desk-history-dialog h2{font-size:23px;color:#142c50;margin:7px 0!important}
.desk-history-dialog header p{font-size:12px;line-height:1.9;color:#728197;margin:5px 0 22px}
.desk-history-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.desk-history-stats article{padding:17px 14px;border:1px solid #dfE8f6;border-radius:14px;background:#f7faff}
.desk-history-stats span{display:block;font-size:11px;color:#728197}.desk-history-stats strong{display:block;font-size:21px;color:#1e4d91;margin:10px 0;line-height:1.6}
.desk-history-stats small{font-size:10px;color:#8190a5;line-height:1.8;display:block}
.desk-history-current{margin-top:18px;padding:18px 20px;border:1px solid #bcd6fc;border-radius:15px;background:linear-gradient(110deg,#f3f8ff,#fff)}
.desk-history-current>strong{display:block;font-size:15px;margin:7px 0;color:#183d70}
.desk-history-current bdi{display:block;direction:ltr;text-align:right;overflow-wrap:anywhere;font-size:12px;color:#5e789c}
.desk-history-current>small{display:block;margin-top:7px;font-size:11px;color:#728197;overflow-wrap:anywhere}
.desk-history-list-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:23px 0 12px}
.desk-history-list-head h3{margin:0;font-size:15px;color:#243c60}.desk-history-list-head span{font-size:10px;color:#8190a5}
.desk-history-pages{list-style:none;margin:0;padding:0;border:1px solid #e4ebf5;border-radius:14px;overflow:hidden}
.desk-history-pages:empty{display:none}
.desk-history-pages li{display:flex;align-items:center;gap:13px;padding:14px 16px;background:#fff;border-bottom:1px solid #edf1f7}.desk-history-pages li:last-child{border:0}
.desk-history-pages li:nth-child(even){background:#fafcff}
.history-page-order{display:grid;place-items:center;flex:0 0 28px;height:28px;background:#edf3fe;border-radius:9px;color:#4974b6;font-size:11px}
.history-page-info{min-width:0;flex:1}.history-page-info strong{font-size:12px;line-height:1.9;color:#334e70;display:block;overflow-wrap:anywhere}
.history-page-info bdi{display:block;text-align:right;direction:ltr;overflow-wrap:anywhere;color:#7b8da5;font-size:11px;line-height:1.8}.history-page-info small{display:block;margin-top:5px;font-size:10px;color:#8190a5}
.history-page-count{flex-shrink:0;font-size:11px;color:#2466b4;background:#edf5ff;border-radius:7px;padding:5px 9px}
.desk-history-note,.desk-history-empty{font-size:11px;line-height:2;color:#8190a5;margin:16px 0 0}.desk-history-empty{padding:18px;background:#f8fbff;border-radius:12px;text-align:center}
.desk-history-feedback{font-size:12px;color:#946311;background:#fff8ed;border:1px solid #fde2b5;border-radius:10px;line-height:1.9;padding:12px;margin-bottom:12px}
@media(max-width:600px){.desk-history-dialog{padding:25px 17px;border-radius:18px}.desk-history-stats{grid-template-columns:1fr;gap:8px}.desk-history-stats article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;padding:12px}.desk-history-stats strong{margin:0;grid-column:2;grid-row:1/3;font-size:19px}.desk-history-stats small{grid-column:1}.desk-history-list-head{align-items:flex-start;flex-direction:column;gap:6px}.desk-history-pages li{gap:9px;padding:13px 10px}.history-page-count{font-size:10px;padding:4px 6px}.desk-history-current{padding:16px}.pchat-privacy p{font-size:11px}}
.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}
@media(max-width:1000px){.desk-live__head{align-items:flex-start;flex-direction:column}.desk-widget-roles{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-widget-save{align-items:stretch;flex-direction:column}.desk-live{padding:20px}}
@media(max-width:700px){.desk-live-table{min-width:0}.desk-live-table thead{display:none}.desk-live-table,.desk-live-table tbody,.desk-live-table tr,.desk-live-table td{display:block;width:100%;max-width:none}.desk-live-table tr{padding:12px;border-bottom:8px solid #f1f5f9}.desk-live-table tr:last-child{border-bottom:0}.desk-live-table td{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;padding:12px 3px;border-top:1px dashed #e2e8f0}.desk-live-table td:first-child{border:0}.desk-live-table td::before{content:attr(data-label);font-size:11px;color:#8190a5}.desk-live-table td>*{grid-column:2}.desk-live-table td strong{font-size:12px}.desk-live-stats{grid-template-columns:1fr;gap:9px}.desk-live-stats article{padding:13px 16px}.desk-live-stats strong{font-size:23px}.desk-live-toolbar{flex-wrap:wrap}.desk-live-toolbar>label{flex-basis:100%}.desk-live-toolbar select{width:auto;flex:1}.desk-live{padding:16px}.desk-view-tabs{width:100%}.desk-view-tabs button{padding:10px;font-size:12px}.desk-widget-settings>summary{padding:15px}.desk-widget-settings summary small{font-size:10px;line-height:1.9}.desk-widget-settings form{padding:0 14px 15px}.desk-widget-roles label{font-size:12px;padding:10px}.desk-widget-master{padding:12px}.desk-live-pagination{flex-wrap:wrap}.pchat-proactive{bottom:76px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 180px);overflow:auto;padding:18px}.desk-invite-dialog{padding:24px 20px}.desk-live__head h2{font-size:20px!important}}
@media(prefers-reduced-motion:reduce){.pchat-proactive{animation:none}}
@media print{.pchat{display:none!important}}
