.chat-bubble{--chat-bottom:20px;right:20px;bottom:var(--chat-bottom);z-index:80;pointer-events:none;flex-direction:column;align-items:flex-end;gap:12px;display:flex;position:fixed}.chat-bubble>*{pointer-events:auto}.chat-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.chat-launcher{border:1px solid var(--line);background:var(--ink);min-height:48px;color:var(--surface);font-size:var(--font-ui);box-shadow:0 10px 30px color-mix(in srgb, var(--ink) 22%, transparent);border-radius:999px;align-items:center;gap:8px;padding:0 18px 0 15px;font-weight:650;transition:transform .15s;display:inline-flex;position:relative}.chat-launcher:hover{transform:translateY(-1px)}.chat-launcher:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.chat-launcher.is-open{background:var(--surface);color:var(--ink)}.chat-badge{background:var(--danger-solid);min-width:22px;height:22px;color:var(--paper);font-size:var(--font-caption);font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;padding:0 6px;font-weight:700;display:inline-grid}.chat-launcher .chat-badge{box-shadow:0 0 0 2px var(--surface);position:absolute;top:-6px;right:-4px}.chat-dot{background:var(--danger-solid);width:12px;height:12px;box-shadow:0 0 0 2px var(--surface);border-radius:50%;position:absolute;top:2px;right:2px}.chat-panel{width:min(380px,100vw - 32px);height:min(600px, calc(100dvh - var(--chat-bottom) - 84px));border:1px solid var(--line);background:var(--surface);color:var(--ink);box-shadow:0 18px 50px color-mix(in srgb, var(--ink) 24%, transparent);border-radius:14px;margin:0;padding:0;position:static;overflow:hidden}.chat-panel[open]{flex-direction:column;animation:.18s ease-out chat-rise;display:flex}@keyframes chat-rise{0%{opacity:0;transform:translateY(8px)}}.chat-panel-head{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:12px 12px 12px 18px;display:flex}.chat-panel-head h2:focus{outline:none}.chat-panel-head h2:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.chat-panel-head h2{font-family:var(--body-font);font-size:var(--font-section);letter-spacing:normal;text-transform:none;margin:0 auto 0 0;font-weight:700}.chat-tabs{border-bottom:1px solid var(--line);gap:4px;padding:0 12px;display:flex}.chat-tabs button{font-size:var(--font-ui);color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:6px;margin-bottom:-1px;padding:9px 10px;font-weight:650;display:inline-flex}.chat-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--accent)}.chat-alerts{border:1px dashed var(--line);background:var(--surface-2);font-size:var(--font-caption);text-align:left;border-radius:8px;align-items:center;gap:8px;margin:10px 14px 0;padding:8px 10px;font-weight:600;display:flex}.chat-away-note{background:var(--warning-soft);color:var(--warning-ink);font-size:var(--font-caption);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;margin:10px 14px 0;padding:8px 10px;display:flex}.chat-away-note p{color:inherit;margin:0}.chat-panel-body{flex-direction:column;flex:auto;min-height:0;display:flex}.chat-pane{overscroll-behavior:contain;flex-direction:column;flex:auto;min-height:0;display:flex;overflow-y:auto}.chat-pane[hidden]{display:none}.chat-away,.chat-toggle,.chat-note-switch{font-size:var(--font-caption);color:var(--muted);cursor:pointer;align-items:center;gap:8px;font-weight:650;display:inline-flex}.chat-away input,.chat-toggle input,.chat-note-switch input{accent-color:var(--accent);width:16px;height:16px;margin:0}.chat-toggle{font-size:var(--font-ui);color:var(--ink)}.chat-start,.chat-done{flex-direction:column;gap:12px;padding:16px 18px 18px;display:flex}.chat-done p{margin:0}.chat-start .btn,.chat-done .btn{align-self:flex-start}.chat-online{align-items:center;gap:8px;margin:0;font-weight:650;display:inline-flex}.chat-online-dot{background:var(--success);border-radius:50%;width:9px;height:9px}.chat-greeting{background:var(--surface-2);overflow-wrap:anywhere;border-radius:8px;margin:0;padding:10px 12px}.chat-note{font-size:var(--font-caption);color:var(--muted);margin:0}.chat-note.is-error{color:var(--danger)}.chat-sub{font-size:var(--font-caption);color:var(--muted);overflow-wrap:anywhere;display:block}.chat-conversation{flex-direction:column;flex:auto;gap:10px;min-height:0;padding:12px 14px 14px;display:flex}.chat-conversation>*{flex:none}.chat-conversation>.chat-log-box{flex:auto;min-height:0}.chat-conversation-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.chat-conversation-head>div{min-width:0}.chat-conversation-head>a{white-space:nowrap;flex:none}.chat-agent{overflow-wrap:anywhere;display:block}.chat-waiting{background:var(--accent-soft);border-radius:8px;align-items:center;gap:10px;padding:10px 12px;display:flex}.chat-waiting p{margin:0}.chat-pulse{background:var(--accent);border-radius:50%;flex:none;width:10px;height:10px;animation:1.4s ease-in-out infinite chat-pulse}@keyframes chat-pulse{50%{opacity:.35;transform:scale(.8)}}.chat-log-box{overscroll-behavior:contain;min-height:140px;padding:4px 2px;overflow-y:auto}.chat-log{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.chat-message{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;max-width:88%;padding:8px 11px}.chat-message.is-theirs{align-self:flex-start}.chat-message.is-ours{background:color-mix(in srgb, var(--accent) 10%, var(--surface));align-self:flex-end}.chat-message.is-internal{border:1px dashed var(--warning);background:var(--warning-soft);align-self:stretch;max-width:none}.chat-message-head{font-size:var(--font-caption);flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:0 0 2px;display:flex}.chat-message-head time{color:var(--muted)}.chat-internal{color:var(--warning-ink);align-items:center;gap:4px;font-weight:700;display:inline-flex}.chat-message-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.chat-message-files{font-size:var(--font-caption);color:var(--muted);align-items:center;gap:5px;margin:4px 0 0;display:flex}.chat-event{font-size:var(--font-caption);color:var(--muted);text-align:center;overflow-wrap:anywhere;justify-content:center;align-items:center;gap:6px;padding:2px 8px;display:flex}.chat-event.is-internal{color:var(--warning-ink)}.chat-typing{font-size:var(--font-caption);color:var(--muted);align-items:center;gap:8px;margin:8px 0 0;display:flex}.chat-typing-dots{gap:3px;display:inline-flex}.chat-typing-dots i{background:currentColor;border-radius:50%;width:5px;height:5px;animation:1.2s ease-in-out infinite chat-pulse}.chat-typing-dots i:nth-child(2){animation-delay:.2s}.chat-typing-dots i:nth-child(3){animation-delay:.4s}.chat-composer{flex-direction:column;gap:8px;display:flex}.chat-composer textarea{width:100%;min-height:64px;max-height:160px;font-size:var(--font-input);padding:9px 11px;line-height:1.5}.chat-composer.is-note textarea{border-style:dashed;border-color:var(--warning);background:var(--warning-soft)}.chat-composer-row{align-items:center;gap:10px;display:flex}.chat-composer-row .btn{min-height:36px;margin-left:auto;padding:7px 12px}.chat-left{font-size:var(--font-caption);color:var(--muted)}.chat-actions{flex-wrap:wrap;gap:8px;display:flex}.chat-confirm{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.chat-confirm p{font-size:var(--font-ui);margin:0}.chat-staff{flex-direction:column;gap:16px;padding:14px;display:flex}.chat-section-title{font-family:var(--body-font);letter-spacing:normal;text-transform:none;font-size:var(--font-ui);align-items:center;gap:8px;margin:0 0 8px;font-weight:700;display:flex}.chat-count{background:var(--surface-2);min-width:22px;font-size:var(--font-caption);font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;padding:0 6px;display:inline-grid}.chat-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.chat-list-item{border:1px solid var(--line);background:var(--surface);text-align:left;width:100%;color:inherit;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;display:flex}.chat-list-item.is-button:hover,.chat-list-item.is-button:focus-visible{background:var(--surface-2)}.chat-list-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.chat-list-main strong{overflow-wrap:anywhere}.chat-accept{flex:none;min-height:36px;padding:7px 12px}.chat-badge.is-inline{flex:none}.chat-back{font-size:var(--font-caption);color:var(--muted);background:0 0;border:0;align-self:flex-start;align-items:center;gap:6px;padding:0;font-weight:650;display:inline-flex}.chat-links{font-size:var(--font-caption);flex-wrap:wrap;align-items:center;gap:4px 12px;margin:0;display:flex}.chat-recent{font-size:var(--font-caption)}.chat-recent summary{cursor:pointer;color:var(--muted);font-weight:650}.chat-recent ul{margin:6px 0 0;padding-left:16px}.chat-recent li{overflow-wrap:anywhere}.chat-desk{flex-direction:column;gap:20px;min-width:0;display:flex}.chat-desk-status{border:1px solid var(--line);background:var(--surface);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 20px;padding:12px 16px;display:flex}.chat-desk-status p{font-size:var(--font-ui);margin:0}.chat-desk-section{flex-direction:column;gap:10px;min-width:0;display:flex}.chat-desk-title{letter-spacing:normal;text-transform:none;font-family:var(--body-font);font-size:var(--font-section);align-items:center;gap:8px;margin:0;font-weight:700;display:flex}.chat-desk-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;padding:12px 16px;display:grid}.chat-desk-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 12px;display:flex}.chat-desk-actions .btn{min-height:36px;padding:7px 12px}.chat-settings p{color:var(--muted)}.support-chat-label{color:var(--accent);font-weight:650}.chat-home{flex-direction:column;gap:12px;padding:12px 14px 14px;display:flex}.chat-segments{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;padding:3px;display:grid}.chat-segments button{min-height:34px;font-size:var(--font-ui);color:var(--muted);background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:6px;font-weight:650;display:inline-flex}.chat-segments button[aria-selected=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px color-mix(in srgb, var(--ink) 14%, transparent)}.chat-staff{padding:12px 14px 14px}.chat-list-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.chat-list-item.is-live{border-color:color-mix(in srgb, var(--success) 55%, var(--line))}.chat-thread-head{align-items:center;gap:8px;min-width:0;display:flex}.chat-thread-back{flex:none}.chat-thread-who{flex-direction:column;flex:auto;min-width:0;display:flex}.chat-thread-who .chat-sub{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-thread-title{text-overflow:ellipsis;white-space:nowrap;font-family:var(--body-font);font-size:var(--font-ui);letter-spacing:normal;text-transform:none;margin:0;font-weight:700;overflow:hidden}.chat-thread-title:focus{outline:none}.chat-thread-title:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.chat-thread-subject{overflow-wrap:anywhere;margin:0}.chat-menu{flex:none;position:relative}.chat-menu-list{z-index:2;border:1px solid var(--line);background:var(--surface);min-width:200px;box-shadow:0 12px 30px color-mix(in srgb, var(--ink) 20%, transparent);border-radius:10px;margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 4px);right:0}.chat-menu-item{width:100%;min-height:36px;color:var(--ink);font-size:var(--font-ui);text-align:left;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;text-decoration:none;display:flex}.chat-menu-item:hover,.chat-menu-item:focus-visible{background:var(--surface-2)}.chat-menu-item:disabled{color:var(--muted)}.chat-live-link{align-self:flex-start}.chat-message.is-pending.is-sending{opacity:.72}.chat-message.is-pending.is-failed{border-color:var(--danger-solid)}.chat-pending-state,.chat-seen{font-size:var(--font-caption);color:var(--muted);text-align:right;margin:4px 0 0}.chat-pending-state.is-error{color:var(--danger)}.chat-pending-state .text-link{align-items:center;gap:4px;display:inline-flex}.chat-new{white-space:nowrap;align-items:center;gap:5px;min-height:32px;padding:4px 10px;display:inline-flex}.chat-empty{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.chat-start-inline{overflow-y:auto}.chat-start-inline .outreach-targets,.chat-start-inline .outreach-choices{max-height:none}.chat-outreach-list{flex-direction:column;gap:8px;margin-bottom:14px;display:flex}.chat-outreach-list .chat-section-title svg{color:var(--accent)}.chat-conversation.is-outreach .chat-conversation-head .chat-sub:first-child{color:var(--accent);font-weight:650}.support-chat-label.is-outreach{overflow-wrap:anywhere}.support-outreach-mark,.chat-outreach-mark{color:var(--muted);overflow-wrap:anywhere}.composer-voice{background:var(--accent-soft);color:var(--ink);font-size:var(--font-caption);border-radius:8px;margin:0;padding:6px 10px;line-height:1.4}.composer-voice strong{color:var(--accent)}.composer-voice.is-note{background:var(--warning-soft);color:var(--warning-ink)}.chat-composer .composer-voice{margin-bottom:6px}.outreach-dialog{flex-direction:column;gap:16px;display:flex}.outreach-steps{font-size:var(--font-caption);color:var(--muted);flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;list-style:none;display:flex}.outreach-steps li{align-items:center;gap:6px;display:inline-flex}.outreach-steps li span{border:1px solid var(--line);border-radius:50%;place-items:center;width:20px;height:20px;font-weight:700;display:inline-grid}.outreach-steps li.is-current{color:var(--ink);font-weight:650}.outreach-steps li.is-current span{border-color:var(--accent);background:var(--accent);color:var(--surface)}.outreach-step-title{font-family:var(--body-font);font-size:var(--font-section);letter-spacing:normal;text-transform:none;margin:0;font-weight:700}.outreach-step-title:focus{outline:none}.outreach-step-title:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.outreach-step{flex-direction:column;gap:12px;min-width:0;display:flex}.outreach-targets,.outreach-choices{flex-direction:column;gap:8px;max-height:min(52vh,440px);margin:0;padding:0 2px 2px 0;list-style:none;display:flex;overflow-y:auto}.outreach-targets .choice,.outreach-choices .choice{width:100%}.outreach-person{flex-wrap:wrap;flex:1;justify-content:space-between;align-items:center;gap:4px 12px;min-width:0;display:flex}.outreach-person>span:not(.outreach-online){flex-direction:column;min-width:0;display:flex}.outreach-person>svg{flex-shrink:0}.outreach-person:has(>svg){flex-wrap:nowrap;justify-content:flex-start}.outreach-person strong{color:var(--ink);overflow-wrap:anywhere}.outreach-person small{color:var(--muted);font-size:var(--font-caption)}.outreach-online{color:var(--muted);font-size:var(--font-caption);white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.outreach-chosen{flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0;display:flex}.outreach-chosen span{color:var(--muted)}.outreach-as{background:var(--accent-soft);font-size:var(--font-ui);border-radius:8px;margin:0;padding:10px 12px}.outreach-override span{align-items:center;gap:6px;display:inline-flex}.outreach-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.outreach-sent p{margin:0}body:has(.agent-launcher) .chat-bubble{--chat-bottom:88px}body:has(.builder-footer,.email-builder-footer,.guide-editor-actions) .chat-bubble{--chat-bottom:96px}body:has(.agent-launcher):has(.builder-footer,.email-builder-footer,.guide-editor-actions) .chat-bubble{--chat-bottom:164px}@media (max-width:640px){.chat-bubble{--chat-bottom:16px;right:16px}body:has(.agent-launcher) .chat-bubble{--chat-bottom:80px}body:has(.builder-footer,.email-builder-footer,.guide-editor-actions) .chat-bubble{--chat-bottom:86px}body:has(.agent-launcher):has(.builder-footer,.email-builder-footer,.guide-editor-actions) .chat-bubble{--chat-bottom:150px}.chat-launcher{justify-content:center;width:48px;padding:0}.chat-launcher-text{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.chat-panel{height:min(600px, calc(100dvh - var(--chat-bottom) - 80px))}.chat-desk-row{grid-template-columns:minmax(0,1fr)}.chat-desk-actions{justify-content:flex-start}}@media (max-width:479px){.chat-panel[open]{border:0;border-radius:0;width:100vw;height:100dvh;max-height:none;position:fixed;inset:0}.chat-launcher.is-open{display:none}.chat-tabs{gap:0;padding:0 6px}.chat-tabs button{flex:auto;justify-content:center;gap:4px;min-width:0;padding:9px 4px}.chat-new-text{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.chat-panel-head{gap:8px}.chat-gear[aria-pressed=true]{background:var(--surface-2);color:var(--ink)}.chat-inbox-part{flex-direction:column;display:flex}.chat-history-search{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:10px;align-items:center;gap:8px;padding:0 10px;display:flex}.chat-history-search:focus-within{outline:3px solid color-mix(in srgb, var(--accent) 45%, transparent);outline-offset:1px}.chat-history-search input{min-width:0;height:38px;min-height:38px;box-shadow:none;color:var(--ink);font-size:var(--font-ui);background:0 0;border:0;outline:none;flex:1;padding:0}.chat-filters{flex-wrap:wrap;gap:6px;display:flex}.chat-filter{border:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:var(--font-caption);border-radius:999px;padding:5px 10px;font-weight:650}.chat-filter[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, var(--surface));color:var(--ink)}.chat-where{font-size:var(--font-caption);color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 8px;font-weight:650;display:flex}.chat-where select{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:34px;color:var(--ink);font-size:var(--font-ui);border-radius:8px;flex:160px;padding:4px 8px}.chat-more{align-self:center}.chat-settings-view{overscroll-behavior:contain;overflow-y:auto}.chat-settings-body{flex-direction:column;gap:20px;display:flex}.chat-level-settings{border-top:1px solid var(--line);flex-direction:column;gap:16px;padding-top:16px;display:flex}.chat-level-name{margin:0;font-weight:700}.chat-settings.is-in-panel{box-shadow:none;background:0 0;border:0;flex-direction:column;gap:8px;padding:0;display:flex}.chat-settings.is-in-panel h3{font-family:var(--body-font);font-size:var(--font-ui);letter-spacing:normal;text-transform:none;margin:0;font-weight:700}.chat-settings.is-in-panel p{font-size:var(--font-caption);margin:0}.chat-settings.is-in-panel .chat-note:empty{clip-path:inset(50%);width:1px;height:1px;margin:0;position:absolute;overflow:hidden}.chat-settings.is-in-panel input:not([type=checkbox]){width:100%;min-width:0}.chat-details[open]{max-height:45%;overflow-y:auto}.chat-details dl{gap:6px;margin:8px 0;display:grid}.chat-details dl>div{grid-template-columns:7.5em minmax(0,1fr);gap:8px;display:grid}.chat-details dt{color:var(--muted)}.chat-details dd{overflow-wrap:anywhere;margin:0}.chat-details .chat-where{margin-bottom:6px}
