.one-desk-live-draft{margin:0 14px 10px;padding:10px 12px;border:1px dashed var(--line,#cbd5e1);border-radius:10px;background:var(--paper,#fff);font-size:13px;flex:none}.one-desk-live-draft>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.one-desk-live-draft>div>span{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.one-desk-live-draft small{color:var(--muted,#64748b)}.one-desk-live-draft p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:120px;overflow:auto;margin:7px 0 0;color:var(--text,#172033)}.widget-draft-sharing{padding:9px 0;border-top:1px solid var(--line,#e2e8f0)}.widget-draft-sharing label{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5}.widget-draft-sharing small{display:block;color:var(--muted,#64748b);font-size:11px;margin:4px 0 0 22px}.widget-live-draft-note{font-size:11px;line-height:1.4;color:var(--muted,#64748b);padding:4px 12px 0;margin:0}.widget-live-draft-note button{font-size:inherit}.tp-choice{position:relative;min-width:0;width:100%;text-align:start}.tp-choice-trigger{display:flex;align-items:center;gap:8px;width:100%;min-width:0;min-height:34px;padding:6px 10px;border:1px solid var(--widget-line,var(--tp-line-e5e7eb,#e5e7eb));border-radius:8px;background:var(--widget-surface,var(--tp-surface,#fff));color:var(--widget-text,var(--tp-primary,#172337));font:inherit;font-size:13px;text-align:start;cursor:pointer}.tp-choice-trigger>span:not(.tp-choice-avatar){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tp-choice-trigger>svg{flex-shrink:0;transform:rotate(90deg);color:var(--widget-muted,var(--tp-secondary,#667085))}.tp-choice-trigger:disabled{opacity:.55;cursor:default}.tp-choice-trigger .is-placeholder{color:var(--widget-muted,var(--tp-secondary,#667085))}.tp-choice-trigger:focus-visible,.tp-choice-options button:focus-visible,.tp-choice-search:focus-visible{outline:2px solid var(--widget-link,var(--tp-brand,#e8491d));outline-offset:2px}.tp-choice-popover{position:fixed;z-index:1500;display:flex;flex-direction:column;gap:4px;padding:5px;border:1px solid var(--widget-line,var(--tp-line-e5e7eb,#e5e7eb));border-radius:10px;background:var(--widget-surface,var(--tp-surface,#fff));color:var(--widget-text,var(--tp-primary,#172337));box-shadow:0 10px 30px #10182820;box-sizing:border-box;overflow:hidden;text-align:start}.tp-choice-options{overflow:auto;overscroll-behavior:contain;min-height:0}.tp-choice-options button{display:flex;align-items:center;gap:8px;border:0;border-radius:6px;background:transparent;color:inherit;width:100%;min-height:34px;padding:7px 9px;font:inherit;font-size:13px;text-align:start;cursor:pointer}.tp-choice-options button:hover,.tp-choice-options button:focus-visible,.tp-choice-options button[aria-selected=true]{background:var(--widget-surface-soft,var(--tp-bg-fafbfc,#f5f6f8))}.tp-choice-options button>span:not(.tp-choice-avatar){flex:1;min-width:0}.tp-choice-options strong{font-weight:500;overflow-wrap:anywhere}.tp-choice-options small{display:block;margin-top:1px;color:var(--widget-muted,var(--tp-secondary,#667085));font-size:11px}.tp-choice-options button>svg{flex-shrink:0;color:var(--widget-link,var(--tp-brand,#e8491d))}.tp-choice-avatar{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:7px;background:var(--tp-brand-soft,#fff0e9);color:var(--tp-brand,#e8491d);font-size:10px;font-weight:650;line-height:1}.tp-choice-search{box-sizing:border-box;width:100%;min-width:0;min-height:34px;padding:7px 9px;border:1px solid var(--widget-line,var(--tp-line-e5e7eb,#e5e7eb));border-radius:6px;background:var(--widget-surface,var(--tp-surface,#fff));color:inherit;font:inherit;font-size:13px}.tp-choice-empty{padding:12px;font-size:12px;color:var(--widget-muted,var(--tp-secondary,#667085))}@media(pointer:coarse){.tp-choice-trigger,.tp-choice-options button{min-height:44px}.tp-choice-search{min-height:40px;font-size:16px}}.brand-palette-controls{margin:25px 0;border-top:1px solid var(--tp-line-e5e7eb,#e5e7eb);padding-top:22px}.brand-palette-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.brand-palette-heading h3{font-size:16px;line-height:1.5}.brand-palette-heading p{font-size:13px;line-height:1.7;color:var(--tp-text-667085,#667085);margin-top:5px}.brand-palette-heading>.badge{flex-shrink:0;white-space:normal}.brand-palette-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.brand-palette-card{min-width:0;padding:14px;border:1px solid var(--tp-line-e5e7eb,#e5e7eb);border-radius:10px;display:flex;flex-direction:column;gap:12px;background:var(--tp-bg-fff,#fff)}.brand-palette-card.is-current{border-color:var(--tp-text-596579,#596579);box-shadow:0 0 0 1px var(--tp-text-596579,#596579)}.brand-palette-card-heading{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:14px;line-height:1.4}.brand-palette-card-heading>span{font-size:10px;color:var(--tp-text-667085,#667085)}.brand-palette-card-heading .brand-palette-current{margin-left:auto;font-weight:600}.brand-palette-card>p{font-size:13px;line-height:1.7;color:var(--tp-text-667085,#667085);margin:0}.brand-palette-card>.button{margin-top:auto;white-space:normal;text-align:center;justify-content:center;font-size:13px;min-height:40px}.brand-palette-miniature{border:1px solid var(--tp-line-e5e7eb,#e5e7eb);border-radius:6px;overflow:hidden;background:var(--tp-bg-f8fafc,#f8fafc)}.brand-palette-miniature>div{padding:10px;font-size:11px;font-weight:600;line-height:1.5}.brand-palette-miniature>div>span{display:block;font-size:10px;font-weight:400}.brand-palette-miniature>section{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:10px;font-size:10px;line-height:1.5}.brand-palette-miniature>section>span{padding:5px 7px;border-radius:4px;background:var(--tp-bg-fff,#fff);max-width:100%;overflow-wrap:anywhere}.brand-palette-miniature>section>span:nth-child(2){align-self:flex-end}.brand-palette-miniature>section>.brand-palette-mini-action{align-self:flex-end;font-weight:600;padding:4px 10px}.brand-palette-swatches{display:flex;gap:6px}.brand-palette-swatches>span{height:17px;width:17px;border:1px solid #ffffff66;border-radius:50%}.brand-palette-default{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--tp-text-667085,#667085);line-height:1.7;margin:18px 0}.brand-palette-default .text-button{font-size:12px;min-height:32px}.brand-palette-custom{border:1px solid var(--tp-line-e5e7eb,#e5e7eb);border-radius:8px;padding:14px}.brand-palette-custom>summary{font-size:14px;cursor:pointer;font-weight:600}.brand-palette-custom>.subtle{font-size:12px;margin:12px 0 18px}.brand-palette-custom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.brand-palette-custom-grid>.field{min-width:0;margin:0}.brand-palette-colour-input{display:flex;gap:9px;align-items:center;min-width:0}.brand-palette-colour-input>input[type=color]{width:42px;height:42px;flex-shrink:0;padding:3px;border-radius:6px}.brand-palette-colour-input>input[type=text]{width:100%;min-width:0;text-transform:uppercase;font-variant-numeric:tabular-nums}.branding-edit-controls{border:0;padding:0;margin:0;min-width:0}.branding-preview-customer{margin:16px 0 0 28px;border-radius:9px;padding:10px;font-size:12px;line-height:1.6}.branding-preview-customer p{margin:0}.branding-preview-customer a{color:inherit;text-decoration:underline}.branding-preview-composer>.branding-preview-send{display:grid;place-items:center;width:31px;height:31px;border-radius:7px}.branding-preview-greeting>a{display:inline-block;margin-top:6px;font-size:12px;text-decoration:underline}.branding-preview-widget[data-preview-mode=dark]{background:#131e2d;color:#edf2f7}.branding-preview-widget[data-preview-mode=dark] .branding-preview-greeting{background:#243348;color:#e1e8f1}.branding-preview-widget[data-preview-mode=dark] .branding-preview-composer,.branding-preview-widget[data-preview-mode=dark] footer{color:#aebbd0;border-color:#334155}.branding-preview-theme-controls{display:flex;gap:6px;margin-bottom:14px}.branding-preview-theme-controls button{flex:1;min-height:32px;font-size:12px;padding:5px 9px}.widget-shell[data-brand-palette]{--widget-link:var(--widget-link-light)}html[data-appearance=dark] .widget-shell[data-brand-palette]{--widget-link:var(--widget-link-dark)}.widget-shell[data-brand-palette] .widget-header{background:var(--widget-header);color:var(--widget-header-ink)}.widget-shell[data-brand-palette] .widget-header p,.widget-shell[data-brand-palette] .widget-team-icon{color:var(--widget-header-ink)}.widget-shell[data-brand-palette] .widget-outgoing>div{background:var(--widget-customer-bubble);color:var(--widget-customer-ink);border-color:var(--widget-customer-bubble)}.widget-shell[data-brand-palette] .widget-panel a{color:var(--widget-link);text-decoration:underline;text-underline-offset:2px}.widget-shell[data-brand-palette] .widget-outgoing>div a{color:var(--widget-customer-ink)}.widget-shell[data-brand-palette] .widget-messages>.history-load{color:var(--widget-link)}@media(max-width:1050px){.brand-palette-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.brand-palette-grid{grid-template-columns:minmax(0,1fr)}.brand-palette-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.brand-palette-card-heading,.brand-palette-card>p,.brand-palette-swatches,.brand-palette-card>.button{grid-column:1}.brand-palette-miniature{grid-column:2;grid-row:1 / span 4;align-self:stretch}.brand-palette-heading{flex-wrap:wrap}.brand-palette-custom-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:360px){.brand-palette-card{display:flex}.brand-palette-miniature>section{flex-direction:row;flex-wrap:wrap}.brand-palette-miniature>section>span{align-self:auto}.brand-palette-card>.button{width:100%}}.branding-preview-widget[data-preview-mode=light]{color-scheme:light;background:#fff;color:#111827;border-color:#dce1e8}.branding-preview-widget[data-preview-mode=light] .branding-preview-conversation{background:#fff;color:#111827}.branding-preview-widget[data-preview-mode=light] .branding-preview-greeting{background:#f1f5f9;color:#111827;white-space:pre-wrap}.branding-preview-widget[data-preview-mode=light] .branding-preview-composer,.branding-preview-widget[data-preview-mode=light] footer{background:#fff;color:#526171;border-color:#dce1e8}.branding-preview-widget[data-preview-mode=light] .branding-preview-information,.branding-preview-widget[data-preview-mode=light] .branding-preview-information .plaintext{color:#111827}.branding-preview-widget[data-preview-mode=dark]{color-scheme:dark}.branding-preview-widget[data-preview-mode=dark] .branding-preview-conversation{background:#131e2d;color:#edf2f7}.branding-preview-widget[data-preview-mode=dark] .branding-preview-information,.branding-preview-widget[data-preview-mode=dark] .branding-preview-information .plaintext{color:#e1e8f1}.branding-preview-widget[data-preview-mode=dark] .branding-preview-greeting{white-space:pre-wrap}.widget-shell[data-brand-palette] .widget-panel a.button-primary{color:var(--widget-accent-ink);background:var(--widget-accent)}.widget-shell[data-brand-palette] .button-primary,.widget-shell[data-brand-palette] .button-primary:hover:not(:disabled),.widget-shell[data-brand-palette] .button-primary:focus-visible{background:var(--widget-accent);border-color:var(--widget-accent);color:var(--widget-accent-ink)}.widget-shell[data-brand-palette] .button-primary:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--widget-accent-ink)}.widget-shell[data-brand-palette] .button-primary:focus-visible{outline:2px solid var(--widget-link);outline-offset:3px}.widget-shell[data-brand-palette] .chat-composer:focus-within{border-color:var(--widget-link);box-shadow:0 0 0 2px var(--widget-link)}.widget-shell[data-brand-palette] .widget-panel .text-button{color:var(--widget-link)}.widget-shell[data-brand-palette] .widget-knowledge-toggle,.widget-shell[data-brand-palette] .widget-knowledge-toggle>svg{color:var(--widget-link)}.widget-shell[data-brand-palette] .widget-panel .field input:focus:not([aria-invalid=true]),.widget-shell[data-brand-palette] .widget-panel .field textarea:focus:not([aria-invalid=true]){border-color:var(--widget-link);box-shadow:0 0 0 2px var(--widget-link)}
