/* Operator workspace, composer and dock refinements. */
body[data-page=operator] .operator-header{max-width:1600px;width:96%;flex-wrap:nowrap;padding:14px 16px}
.operator-header{width:96%;max-width:1600px;margin:0 auto;display:flex;align-items:center;flex-wrap:nowrap;padding:14px 16px;gap:16px;border-radius:0 0 14px 14px;box-sizing:border-box}.operator-header .company-brand{flex-shrink:0}.operator-header .company-brand span{font-size:12px}.operator-header .wf-header-summary{min-width:180px;flex:1;gap:5px}.operator-header .header-note{font-size:11px;text-align:left;display:block;max-width:none}.operator-header .operator-tools{margin-left:auto;display:flex;flex-wrap:nowrap;gap:3px;grid-column:auto;justify-content:flex-end}.operator-tools button{display:inline-flex;align-items:center;gap:5px;padding:8px 6px;font-size:11px;border-radius:8px}.operator-tools button:hover{background:#edf6ff}.operator-tools svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.operator-tools .availability{font-size:11px;margin-right:6px}.operator-header .wf-day{font-size:9px;gap:4px}.operator-header .wf-day span{padding:3px 4px}
.wf-feedback:not(:empty),#workflow-admin-feedback:not(:empty){padding:11px 14px 11px 36px;border:1px solid #c4e1f4;background:#edf7ff;color:#1b5982;border-radius:10px;font-size:12px;line-height:1.5;position:relative}.wf-feedback:not(:empty):before,#workflow-admin-feedback:not(:empty):before{content:'✓';position:absolute;left:12px;font-weight:bold;color:#0089e9}.wf-feedback.is-warning:not(:empty){background:#fff7e7;border-color:#f4d499;color:#80521c}.wf-feedback.is-warning:not(:empty):before{content:'!';color:#b16a13}.operator-header+.wf-feedback{width:96%;max-width:1600px;margin:8px auto;box-sizing:border-box}#workflow-admin-feedback{position:sticky;top:8px;z-index:2;margin:12px 0}
.wf-finish-button{border:1px solid #0089e9;background:#0089e9;color:#fff;font-weight:600;box-shadow:0 3px 8px #0089e922}.wf-finish-button:hover{background:#006fc2}.wf-select-row{display:flex;align-items:center;border-bottom:1px solid #e0ebf4;background:#fff;padding-left:10px;gap:2px}.wf-select-row .conversation-item{min-width:0;flex:1;border-bottom:0;padding-left:10px}.wf-chat-checkbox,.wf-bulk-bar input{accent-color:#0089e9;width:16px;height:16px;cursor:pointer;flex-shrink:0}.wf-bulk-bar{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:9px 12px;background:#edf6fc;font-size:10px;border-bottom:1px solid #dceafa}.wf-bulk-bar label{display:flex;align-items:center;gap:4px;white-space:nowrap}.wf-bulk-delete{margin-left:auto;border:1px solid #efc5c5;background:#fff5f5;color:#ae3333;border-radius:7px;font-size:10px;padding:6px 9px}.wf-transfer-notices{width:96%;max-width:1600px;margin:0 auto}.wf-transfer-notices article{display:flex;align-items:center;gap:12px;padding:10px 14px;margin:6px 0;background:#e8f8ef;border:1px solid #b8dfc9;border-radius:10px;color:#1b6140;font-size:12px}.wf-transfer-notices .text-button{color:#117342;font-weight:600}.wf-notice-close{margin-left:auto;background:transparent;border:0;color:#44745a;font-size:20px}
.composer{position:relative}.wf-suggestions{grid-column:1/-1;grid-row:auto;max-height:56px;padding:3px 0 6px;gap:5px;min-width:0}.wf-chip{padding:4px 8px;font-size:10px}.wf-compose-tools{position:relative;grid-column:1/-1;gap:8px;flex-wrap:wrap}.wf-compose-tools>button{border:1px solid #b4d9f0;background:#edf7ff;color:#12659d;border-radius:8px;font-size:12px;padding:7px 10px;height:auto;line-height:1.3}.wf-compose-tools>button:hover{background:#dcefff}.wf-compose-tools>small{font-size:10px}.wf-emoji-picker{position:absolute;bottom:100%;left:0;z-index:20;display:grid;grid-template-columns:repeat(8,32px);gap:3px;padding:10px;background:#fff;border:1px solid #cae1f2;border-radius:12px;box-shadow:0 8px 28px #06254322}.wf-emoji-picker .wf-emoji{background:transparent;border:0;font-size:22px;padding:3px;width:32px;height:32px;color:#123}.wf-autocomplete{position:absolute;left:16px;right:16px;z-index:25;max-height:190px;overflow:auto;background:#fff;border:1px solid #b8daef;box-shadow:0 -6px 24px #0b46751f;border-radius:12px;padding:5px;display:grid;gap:3px}.wf-autocomplete .wf-product-suggestion{min-width:0;max-width:none;width:100%;border:0;border-radius:7px;padding:7px;background:#fff;color:#173a59;height:auto;font-size:12px}.wf-autocomplete .wf-product-suggestion:hover{background:#edf7ff}.wf-autocomplete strong{font-size:12px}.wf-autocomplete small{font-size:11px;color:#0089e9}.wf-autocomplete img{width:36px;height:36px}
.modern-visitor .composer{grid-template-columns:minmax(0,1fr) 148px;gap:5px 12px;overflow:visible}.modern-visitor .composer-label{grid-row:auto}.modern-visitor .composer textarea{grid-column:1;grid-row:auto;resize:none}.modern-visitor .composer-footer{display:flex;flex-direction:column-reverse;justify-content:center;align-items:stretch;gap:8px;margin:0;grid-column:2;grid-row:auto}.modern-visitor .composer-footer>span{font-size:9px;text-align:center;grid-row:auto;grid-column:auto}.modern-visitor .composer-footer .send-button{display:block;position:relative;width:100%;height:48px;min-width:0;padding:12px 28px;color:white;font-size:14px;text-align:center;line-height:24px;grid-column:auto;grid-row:auto}.modern-visitor .labeled-send span{position:absolute;right:11px;top:50%;transform:translateY(-50%);color:#fff;line-height:1;font-size:21px}.modern-visitor .wf-suggestions{grid-column:1/-1}.modern-visitor .wf-compose-tools{grid-column:1/-1}
.wf-analytics-filters{gap:8px 12px;align-items:flex-end;margin:12px 0;padding:12px;background:#f5faff;border:1px solid #dceafa;border-radius:12px}.wf-filter-field{display:grid;gap:5px;flex:0 1 170px;min-width:130px}.wf-filter-field label{margin:0;font-size:11px}.wf-analytics-filters input,.wf-analytics-filters select{padding:7px 9px;font-size:12px;height:34px;width:100%;min-width:0}.wf-analytics-filters input[type=checkbox]{width:15px;height:15px}.wf-analytics-filters>label{display:flex;align-items:center;gap:6px;height:34px;font-size:11px}.wf-analytics-filters .primary-button{height:34px;padding:8px 15px;align-items:center;font-size:12px}
.modern-visitor .composer .composer-footer .send-button{width:148px;min-width:148px;height:48px;padding:12px 28px;display:block;text-align:center;font-size:14px;line-height:24px;color:#fff}.wf-suggestions{scrollbar-width:none}.wf-suggestions::-webkit-scrollbar{display:none}body[data-widget=yes] .wf-transcript{border:0;background:transparent;color:#46718e;line-height:1.4}
body[data-widget=yes] .composer{position:relative;overflow:visible;gap:5px;padding:7px 10px}body[data-widget=yes] .wf-suggestions{min-height:0;max-height:29px;padding:0 0 3px;gap:4px}body[data-widget=yes] .wf-chip{height:auto!important;line-height:1.3;font-size:10px;padding:4px 7px;border:1px solid #cee3f0;background:#f2f8fc;color:#21638e}body[data-widget=yes] .wf-compose-tools{padding:0;gap:5px}body[data-widget=yes] .wf-compose-tools>button{height:auto;font-size:10px;padding:5px 7px;align-self:auto}body[data-widget=yes] .wf-compose-tools small{font-size:9px}body[data-widget=yes] .wf-autocomplete{left:9px;right:9px;max-height:155px}body[data-widget=yes] .wf-autocomplete strong{font-size:11px}body[data-widget=yes] .wf-autocomplete img{width:30px;height:30px}body[data-widget=yes] .wf-emoji-picker{grid-template-columns:repeat(8,28px);padding:7px;gap:2px}body[data-widget=yes] .wf-emoji-picker .wf-emoji{width:28px;height:28px;font-size:20px}body[data-widget=yes] .wf-transcript{font-size:9px;padding:3px;margin-bottom:2px}
/* Desktop launcher is always a company strip. The circle is mobile only. */
body[data-widget=yes]:not(.widget-mobile):not(.widget-inline) .widget-root{padding:0;gap:6px}body[data-widget=yes]:not(.widget-mobile) .widget-launcher,body[data-widget=yes]:not(.widget-mobile) .widget-launcher.is-open{width:280px;max-width:100%;height:56px;border:0;border-radius:var(--widget-radius) var(--widget-radius) 0 0;display:flex;padding:8px 14px;gap:10px;justify-content:flex-start;margin:0;flex-shrink:0;align-self:flex-end}body[data-widget=yes]:not(.widget-mobile) .widget-launcher .widget-company-avatar{display:block;width:36px;height:36px}body[data-widget=yes]:not(.widget-mobile) .widget-launcher .widget-company-name{display:block;font-size:12px}body[data-widget=yes]:not(.widget-mobile) .widget-launcher svg{display:none}body[data-widget=yes]:not(.widget-mobile) .widget-panel{height:calc(100% - 62px);flex:1;min-height:0}.widget-side:not(.widget-open):not(.widget-mobile) .widget-launcher{position:absolute;width:280px!important;max-width:none!important;left:0;top:0;transform-origin:0 0;transform:rotate(90deg) translateY(-100%);border-radius:var(--widget-radius) var(--widget-radius) 0 0!important}.widget-side.widget-dock-right:not(.widget-open):not(.widget-mobile) .widget-launcher{left:0;top:100%;transform:rotate(-90deg)}.widget-mobile .widget-launcher{margin-top:auto}.widget-inline .widget-panel{height:100%!important}
@media(max-width:1200px){.operator-header{gap:9px;padding:12px 10px}.operator-header .company-brand span{display:none}.operator-header .wf-header-summary{min-width:155px}.operator-tools button{font-size:10px;padding:7px 4px;gap:3px}.operator-tools svg{width:13px;height:13px}.operator-tools .availability{font-size:10px}}
@media(max-width:950px){.operator-header{flex-wrap:wrap}.operator-header .operator-tools{flex:1 0 100%;justify-content:flex-start;overflow-x:auto;padding-bottom:3px}.operator-tools button{font-size:11px}.operator-header .company-brand span{display:block}}
@media(max-width:950px){body[data-page=operator] .operator-header{flex-wrap:wrap}}
@media(max-width:800px){.modern-visitor .composer .composer-footer .send-button{width:140px;min-width:140px;height:44px;padding:10px 28px}}
@media(max-width:800px){.modern-visitor .composer{grid-template-columns:minmax(0,1fr)}.modern-visitor .composer textarea{grid-column:1/-1}.modern-visitor .composer-footer{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}.modern-visitor .composer-footer .send-button{width:135px;min-width:135px;height:44px;padding-top:10px;padding-bottom:10px}.modern-visitor .composer-footer>span{max-width:190px;text-align:left}.wf-transfer-notices article{flex-wrap:wrap}.wf-analytics-filters{align-items:flex-end}.wf-filter-field{flex:1 1 130px}}
body[data-widget=yes]:not(.widget-mobile) .widget-root.left .widget-launcher{align-self:flex-start}.widget-side.widget-open:not(.widget-mobile):not(.widget-inline) .widget-panel{height:100%;width:calc(100% - 62px);flex:none;align-self:flex-end}.widget-side.widget-open.widget-dock-right:not(.widget-mobile) .widget-panel{align-self:flex-start}.widget-side.widget-open:not(.widget-mobile) .widget-launcher{position:absolute;width:280px!important;max-width:none!important;left:0;top:calc(50% - 140px);transform-origin:0 0;transform:rotate(90deg) translateY(-100%);border-radius:var(--widget-radius) var(--widget-radius) 0 0!important}.widget-side.widget-open.widget-dock-right:not(.widget-mobile) .widget-launcher{left:calc(100% - 56px);top:calc(50% + 140px);transform:rotate(-90deg)}
