/* Chat templates v4.19.0. Scoped to widget and template controls. */
.doiteasy-chat {font-size:14px;line-height:1.5;color:var(--chat-text);text-align:left}
.doiteasy-chat *, .de-template-gallery * {box-sizing:border-box}
.doiteasy-chat button,.doiteasy-chat input,.doiteasy-chat textarea {font:inherit}
.doiteasy-chat button {cursor:pointer}
.doiteasy-chat button:disabled {cursor:not-allowed;opacity:.45}
.doiteasy-chat button:focus-visible,.doiteasy-chat a:focus-visible,.doiteasy-chat input:focus-visible,.doiteasy-chat textarea:focus-visible {outline:2px solid var(--chat-accent);outline-offset:3px}
.doiteasy-chat svg {height:18px;width:18px;flex-shrink:0}
.doiteasy-chat .chat-launcher {display:flex;align-items:center;justify-content:center;gap:10px;min-width:56px;height:56px;padding:14px;border-radius:999px;background:var(--chat-primary);color:var(--chat-header-text);border:2px solid var(--chat-accent);box-shadow:0 8px 24px #0002;transition:transform .15s,box-shadow .15s;max-width:calc(100vw - 3rem);font:inherit;cursor:pointer}
.doiteasy-chat .chat-launcher:hover {transform:translateY(-2px);box-shadow:0 8px 28px color-mix(in srgb,var(--chat-accent) 45%,transparent)}
.doiteasy-chat .chat-launcher svg {width:24px;height:24px}
.doiteasy-chat .chat-launcher span {max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}
.doiteasy-chat .chat-launcher[data-style="square"] {border-radius:12px}
.doiteasy-chat .chat-launcher[data-style="pill"] {padding-inline:20px}
.doiteasy-chat .chat-launcher[data-style="outline"] {background:var(--chat-panel);color:var(--chat-primary);border-color:var(--chat-primary)}
.doiteasy-chat .chat-launcher[data-style="soft"] {background:var(--chat-panel);color:var(--chat-primary);box-shadow:0 0 0 6px color-mix(in srgb,var(--chat-accent) 20%,transparent),0 8px 24px #0002}
.doiteasy-chat .chat-launcher[data-style="badge"] {border-radius:16px 16px 4px 16px}
.doiteasy-chat .de-launcher-position {position:fixed;bottom:96px;right:24px;z-index:70}
.doiteasy-chat[data-position="bottom-left"] .de-launcher-position {right:auto;left:24px}
.doiteasy-chat .de-panel-position {position:fixed;bottom:168px;right:24px;width:380px;max-width:calc(100vw - 32px);height:580px;max-height:calc(100dvh - 184px);z-index:80}
.doiteasy-chat[data-position="bottom-left"] .de-panel-position {right:auto;left:24px}
.doiteasy-chat .de-chat-surface {width:100%;height:100%;display:flex;flex-direction:column;background:var(--chat-panel);color:var(--chat-text);border:1px solid var(--chat-line);border-radius:var(--chat-radius);box-shadow:0 18px 70px #15372c2b;overflow:hidden;isolation:isolate}
.doiteasy-chat .de-header {position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:21px 19px;flex-shrink:0;background:var(--chat-header);color:var(--chat-header-text)}
.doiteasy-chat .de-identity {display:flex;align-items:center;gap:12px;min-width:0}
.doiteasy-chat .de-identity-copy {min-width:0;display:flex;flex-direction:column}
.doiteasy-chat .de-identity-copy strong {font-size:16px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.doiteasy-chat .de-eyebrow {font-size:11px;opacity:.84;margin-bottom:3px}
.doiteasy-chat .de-avatar {display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;flex-shrink:0;background:color-mix(in srgb,var(--chat-accent) 22%,var(--chat-panel));border:1px solid color-mix(in srgb,var(--chat-accent) 25%,var(--chat-line));color:var(--chat-primary);overflow:hidden;font-size:13px;font-weight:700}
.doiteasy-chat .de-avatar img {width:100%;height:100%;object-fit:contain}
.doiteasy-chat .de-status {display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.4;margin-top:6px}
.doiteasy-chat .de-status i,.doiteasy-chat .de-agent-strip>i {width:7px;height:7px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 3px #ffffff18;flex-shrink:0}
.doiteasy-chat i[data-available="true"] {background:#5deaab}
.doiteasy-chat .de-header-actions {display:flex;align-self:flex-start;gap:2px;flex-shrink:0}
.doiteasy-chat .de-icon-button {display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;min-width:34px;height:34px;background:transparent;color:inherit;padding:7px}
.doiteasy-chat .de-icon-button:hover {background:color-mix(in srgb,currentColor 9%,transparent)}
.doiteasy-chat .de-options {position:absolute;right:16px;top:58px;min-width:186px;background:var(--chat-panel);color:var(--chat-text);border:1px solid var(--chat-line);box-shadow:0 12px 24px #0002;z-index:5;border-radius:12px;padding:5px}
.doiteasy-chat .de-options button {display:flex;gap:9px;align-items:center;width:100%;padding:11px;border:0;border-radius:8px;background:transparent;font-size:12px;text-align:left}
.doiteasy-chat .de-options button:hover {background:var(--chat-soft)}
.doiteasy-chat .de-workspace {display:flex;flex:1;min-height:0}
.doiteasy-chat .de-main {display:flex;flex:1;min-height:0;min-width:0;flex-direction:column}
.doiteasy-chat .de-messages {flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--chat-line) transparent;background:var(--chat-body);padding:20px 18px}
.doiteasy-chat .de-welcome-bubble {border:1px solid var(--chat-line);border-radius:16px 16px 16px 4px;padding:16px;background:var(--chat-panel);font-size:14px;line-height:1.65;box-shadow:0 4px 14px #12312305;overflow-wrap:anywhere}
.doiteasy-chat .de-section-label {font-size:10px;letter-spacing:1.2px;color:var(--chat-muted);font-weight:600;margin:22px 0 10px;display:block}
.doiteasy-chat .de-topics {display:flex;flex-wrap:wrap;gap:8px}
.doiteasy-chat .de-topics button {display:flex;gap:6px;align-items:center;justify-content:center;border:1px solid var(--chat-line);border-radius:999px;padding:8px 12px;background:var(--chat-panel);color:var(--chat-text);font-size:12px}
.doiteasy-chat .de-topics button:hover {border-color:var(--chat-primary);color:var(--chat-primary)}
.doiteasy-chat .de-topics svg {height:14px;width:14px;color:var(--chat-primary)}
.doiteasy-chat .de-topic-arrow {display:none}
.doiteasy-chat .de-details-toggle {display:flex;align-items:center;gap:7px;color:var(--chat-muted);background:none;border:0;padding:0;margin-top:24px;font-size:11px;width:100%;text-align:left}
.doiteasy-chat .de-details-toggle svg {width:14px;height:14px}
.doiteasy-chat .de-details-toggle small {margin-left:auto;font-size:10px;opacity:.8}
.doiteasy-chat .de-contact-fields {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid var(--chat-line)}
.doiteasy-chat .de-contact-fields label {display:flex;flex-direction:column;gap:4px;font-size:11px;min-width:0}
.doiteasy-chat .de-contact-fields input {width:100%;padding:9px;border:1px solid var(--chat-line);border-radius:7px;background:var(--chat-panel);color:var(--chat-text);font-size:12px}
.doiteasy-chat .de-subject-field,.doiteasy-chat .de-contact-fields p {grid-column:1/-1}
.doiteasy-chat .de-contact-fields p {font-size:11px;color:#b91c1c}
.doiteasy-chat .de-session-label {font-size:10px;color:var(--chat-muted);text-align:center;margin:0 0 18px}
.doiteasy-chat .de-message {display:flex;gap:8px;margin:0 0 16px;min-width:0;align-items:flex-start}
.doiteasy-chat .de-message>.de-avatar {width:26px;height:26px;font-size:9px;margin-top:20px}
.doiteasy-chat .de-message-content {max-width:85%;min-width:0}
.doiteasy-chat .de-sender {display:flex;gap:6px;align-items:center;font-size:10px;color:var(--chat-muted);margin:0 0 5px}
.doiteasy-chat .de-sender small {font-size:8px;border:1px solid var(--chat-line);border-radius:4px;padding:0 3px}
.doiteasy-chat .de-bubble {border:1px solid var(--chat-line);border-radius:14px 14px 14px 4px;background:var(--chat-panel);padding:11px 13px;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.doiteasy-chat .de-bubble p {margin:0;white-space:pre-wrap}
.doiteasy-chat .de-from-visitor {justify-content:flex-end}
.doiteasy-chat .de-from-visitor .de-bubble {border-radius:14px 14px 4px 14px;background:var(--chat-bubble);color:var(--chat-bubble-text);border-color:color-mix(in srgb,var(--chat-primary) 22%,var(--chat-line))}
.doiteasy-chat .de-from-visitor .de-sender {justify-content:flex-end}
.doiteasy-chat .de-message time {display:block;color:var(--chat-muted);font-size:9px;margin-top:4px}
.doiteasy-chat .de-from-visitor time {text-align:right}
.doiteasy-chat .de-system-message {text-align:center;font-size:11px;padding:9px 12px;border-radius:6px;margin:10px 0;background:var(--chat-soft);color:var(--chat-muted);overflow-wrap:anywhere}
.doiteasy-chat .de-typing {display:flex;align-items:center;gap:4px;font-size:11px;color:var(--chat-muted)}
.doiteasy-chat .de-typing span {width:4px;height:4px;border-radius:50%;background:var(--chat-primary);animation:de-typing 1s infinite alternate}
.doiteasy-chat .de-typing span:nth-child(2) {animation-delay:.2s}
.doiteasy-chat .de-typing span:nth-child(3) {animation-delay:.4s}
.doiteasy-chat .de-typing small {margin-left:4px;font-size:11px}
.doiteasy-chat .de-human-row {padding:6px 16px 0;flex-shrink:0}
.doiteasy-chat .de-human-row button {display:flex;align-items:center;gap:7px;width:100%;background:var(--chat-soft);color:var(--chat-text);border:1px solid var(--chat-line);padding:7px 10px;border-radius:7px;font-size:11px}
.doiteasy-chat .de-human-row button svg {height:13px;width:13px}
.doiteasy-chat .de-human-row button svg:last-child {margin-left:auto}
.doiteasy-chat .de-composer {padding:12px 16px 0;position:relative;flex-shrink:0;margin:0;background:var(--chat-panel)}
.doiteasy-chat .de-compose-box {border:1px solid var(--chat-line);border-radius:14px;background:var(--chat-panel);overflow:hidden}
.doiteasy-chat .de-compose-box:focus-within {border-color:var(--chat-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--chat-accent) 12%,transparent)}
.doiteasy-chat .de-compose-box textarea {display:block;resize:none;width:100%;border:0;background:transparent;color:var(--chat-text);padding:12px 13px 3px;font-size:13px;line-height:1.5;outline:0;min-height:54px;max-height:100px;box-shadow:none}
.doiteasy-chat .de-compose-box textarea::placeholder {color:var(--chat-muted);opacity:.9}
.doiteasy-chat .de-compose-tools {display:flex;align-items:center;justify-content:space-between;padding:3px 7px 7px;gap:4px}
.doiteasy-chat .de-tools-left {display:flex;align-items:center;min-width:0;color:var(--chat-muted)}
.doiteasy-chat .de-enter-hint {font-size:9px;margin-left:4px;white-space:nowrap}
.doiteasy-chat .de-send {display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--chat-primary);color:var(--chat-header-text);border:0;flex-shrink:0}
.doiteasy-chat .de-send:hover {filter:brightness(1.1)}
.doiteasy-chat .de-footer {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 9px;padding:9px 13px 12px;font-size:9px;line-height:1.5;color:var(--chat-muted);flex-shrink:0;text-align:center}
.doiteasy-chat .de-footer span {overflow-wrap:anywhere}
.doiteasy-chat .de-footer a {color:inherit;text-decoration:underline}
.doiteasy-chat .de-emoji {position:absolute;bottom:100%;left:16px;background:var(--chat-panel);border:1px solid var(--chat-line);border-radius:12px;box-shadow:0 8px 22px #0002;padding:7px;display:grid;grid-template-columns:repeat(4,1fr);z-index:3}
.doiteasy-chat .de-emoji button {background:transparent;border:0;padding:7px;font-size:20px;border-radius:7px}
.doiteasy-chat .de-emoji button:hover {background:var(--chat-soft)}
.doiteasy-chat .de-error {padding:8px;border-radius:7px;color:#b91c1c;background:#fff1f2;font-size:11px;margin-bottom:7px;overflow-wrap:anywhere}
.doiteasy-chat .de-ended {padding:15px;text-align:center;border-top:1px solid var(--chat-line);font-size:12px}
.doiteasy-chat .de-ended p {margin:0 0 8px}
.doiteasy-chat .de-ended button {display:inline-flex;gap:8px;align-items:center;background:var(--chat-primary);color:var(--chat-header-text);border:0;padding:9px 12px;border-radius:8px}
.doiteasy-chat .de-attachment-link {display:flex;align-items:center;gap:7px;color:inherit;text-decoration:underline;margin-top:7px;overflow-wrap:anywhere}
.doiteasy-chat .de-attachments-pending {display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px}
.doiteasy-chat .de-attachments-pending>span {max-width:100%;display:flex;gap:4px;align-items:center;padding:4px;border:1px solid var(--chat-line);border-radius:6px;font-size:11px;overflow-wrap:anywhere}
.doiteasy-chat .de-attachments-pending button {display:flex;background:none;border:0;color:inherit;padding:2px}
.doiteasy-chat .de-attachments-pending svg {width:14px;height:14px}
.doiteasy-chat .de-uploading {font-size:11px;display:flex;align-items:center;gap:7px;margin-bottom:6px}
/* 01. Wave: a taller curved header and pill suggestions. */
.doiteasy-chat .de-template-wave .de-header {padding-bottom:32px;border-radius:0 0 50% 8% / 0 0 14px 8px;background:linear-gradient(120deg,var(--chat-header),color-mix(in srgb,var(--chat-header) 78%,var(--chat-accent)))}
.doiteasy-chat .de-template-wave .de-messages {padding-top:23px}
/* 02. Compact: two-level status, flat tight transcript, small composer. */
.doiteasy-chat .de-template-compact {border-radius:10px}
.doiteasy-chat .de-template-compact .de-header {padding:7px 12px;min-height:42px}
.doiteasy-chat .de-template-compact .de-header .de-identity {display:none}
.doiteasy-chat .de-compact-title {display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600}
.doiteasy-chat .de-agent-strip {display:flex;align-items:center;gap:9px;padding:9px 13px;border-bottom:1px solid var(--chat-line)}
.doiteasy-chat .de-agent-strip .de-avatar {width:30px;height:30px}
.doiteasy-chat .de-agent-strip>span {min-width:0;display:flex;flex-direction:column;font-size:12px;overflow-wrap:anywhere}
.doiteasy-chat .de-agent-strip small {font-size:10px;color:var(--chat-muted)}
.doiteasy-chat .de-agent-strip>i {margin-left:auto}
.doiteasy-chat .de-template-compact .de-messages {padding:13px}
.doiteasy-chat .de-template-compact .de-bubble {padding:8px 10px;font-size:12px;border-radius:5px}
.doiteasy-chat .de-template-compact .de-message {margin-bottom:10px}
.doiteasy-chat .de-template-compact .de-compose-box {border-radius:6px}
.doiteasy-chat .de-template-compact .de-compose-box textarea {height:38px;min-height:38px}
/* 03. Concierge: large welcome cover and full-width service cards. */
.doiteasy-chat .de-template-concierge .de-header {padding:24px 19px 25px}
.doiteasy-chat .de-template-concierge .de-identity {align-items:flex-start}
.doiteasy-chat .de-template-concierge .de-eyebrow {max-width:140px;font-size:10px;line-height:1.5;margin-bottom:7px}
.doiteasy-chat .de-welcome h3 {font-size:24px;line-height:1.22;letter-spacing:-.7px;font-weight:650;margin:7px 0 9px}
.doiteasy-chat .de-welcome>p:not(.de-section-label) {font-size:12px;line-height:1.7;color:var(--chat-muted);margin:0 0 18px}
.doiteasy-chat .de-welcome>.de-section-label:first-child {margin-top:0}
.doiteasy-chat .de-topic-cards {display:grid;grid-template-columns:1fr;gap:8px}
.doiteasy-chat .de-topic-cards button {justify-content:flex-start;padding:12px;border-radius:10px;gap:11px;text-align:left}
.doiteasy-chat .de-topic-cards button>svg:first-child {width:20px;height:20px}
.doiteasy-chat .de-topic-cards small {display:block;color:var(--chat-muted);font-size:10px;margin-top:2px}
.doiteasy-chat .de-topic-cards .de-topic-arrow {display:block;margin-left:auto}
/* 04. Minimal: open conversation, identity and composer reduced to lines. */
.doiteasy-chat .de-template-minimal {border-radius:12px}
.doiteasy-chat .de-template-minimal .de-header {background:var(--chat-panel);color:var(--chat-text);border-bottom:1px solid var(--chat-line);padding:16px}
.doiteasy-chat .de-template-minimal .de-eyebrow,.doiteasy-chat .de-template-minimal .de-message>.de-avatar {display:none}
.doiteasy-chat .de-template-minimal .de-avatar {width:32px;height:32px;border-radius:9px}
.doiteasy-chat .de-template-minimal .de-identity-copy strong {font-size:14px}
.doiteasy-chat .de-template-minimal .de-messages {background:var(--chat-panel)}
.doiteasy-chat .de-template-minimal .de-welcome-bubble,.doiteasy-chat .de-template-minimal .de-from-support .de-bubble {border:0;box-shadow:none;padding:0;background:transparent}
.doiteasy-chat .de-template-minimal .de-topics {display:grid;gap:0}
.doiteasy-chat .de-template-minimal .de-topics button {border:0;border-radius:0;border-bottom:1px solid var(--chat-line);padding:12px 0;justify-content:flex-start}
.doiteasy-chat .de-template-minimal .de-topic-arrow {display:block;margin-left:auto}
.doiteasy-chat .de-template-minimal .de-compose-box {border:0;border-top:1px solid var(--chat-line);border-radius:0}
.doiteasy-chat .de-template-minimal .de-send {border-radius:7px}
/* 05. Helpdesk: reference bar, rectangular messages, utility-style input. */
.doiteasy-chat .de-template-helpdesk {border-radius:8px}
.doiteasy-chat .de-template-helpdesk .de-header {padding:14px}
.doiteasy-chat .de-template-helpdesk .de-eyebrow {display:none}
.doiteasy-chat .de-template-helpdesk .de-avatar {border-radius:8px;width:35px;height:35px}
.doiteasy-chat .de-case-bar {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 13px;font-size:10px;border-bottom:1px solid var(--chat-line);background:var(--chat-soft)}
.doiteasy-chat .de-case-bar>span {display:flex;align-items:center;gap:5px}
.doiteasy-chat .de-case-bar svg {width:13px;height:13px}
.doiteasy-chat .de-template-helpdesk .de-bubble,.doiteasy-chat .de-template-helpdesk .de-compose-box,.doiteasy-chat .de-template-helpdesk .de-topics button {border-radius:5px}
.doiteasy-chat .de-template-helpdesk .de-from-support .de-bubble {border-left:3px solid var(--chat-primary)}
.doiteasy-chat .de-template-helpdesk .de-message>.de-avatar {display:none}
.doiteasy-chat .de-template-helpdesk .de-send {border-radius:6px}
/* 06. AI: centered identity, generous intro and 2-column prompt tiles. */
.doiteasy-chat .de-template-assistant .de-header {background:var(--chat-panel);color:var(--chat-text);padding:18px 16px 12px;border-bottom:1px solid var(--chat-line)}
.doiteasy-chat .de-template-assistant .de-header>.de-identity {justify-content:center;width:100%;text-align:center}
.doiteasy-chat .de-template-assistant .de-header .de-avatar {display:none}
.doiteasy-chat .de-template-assistant .de-header-actions {position:absolute;right:8px;top:8px}
.doiteasy-chat .de-template-assistant .de-eyebrow {font-size:8px;letter-spacing:1.1px;margin-top:20px}
.doiteasy-chat .de-template-assistant .de-status {justify-content:center}
.doiteasy-chat .de-template-assistant .de-welcome {text-align:center}
.doiteasy-chat .de-assistant-mark {display:flex;align-items:center;justify-content:center;height:46px;width:46px;border-radius:16px;background:var(--chat-soft);color:var(--chat-primary);border:1px solid var(--chat-line);margin:0 auto 14px;transform:rotate(-7deg)}
.doiteasy-chat .de-assistant-mark svg {width:25px;height:25px}
.doiteasy-chat .de-template-assistant .de-section-label {font-size:8px;margin-top:0}
.doiteasy-chat .de-template-assistant h3 {font-size:22px}
.doiteasy-chat .de-template-assistant .de-topic-cards {grid-template-columns:1fr 1fr}
.doiteasy-chat .de-template-assistant .de-topic-cards button {display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:11px}
.doiteasy-chat .de-template-assistant .de-topic-arrow {display:none}
.doiteasy-chat .de-template-assistant .de-compose-box {background:var(--chat-soft);border-radius:18px}
/* 07. Transcript: title line, sender-led records and understated bubbles. */
.doiteasy-chat .de-template-transcript {border-radius:4px}
.doiteasy-chat .de-template-transcript .de-header {display:block;background:var(--chat-panel);color:var(--chat-text);padding:13px 16px;border-top:4px solid var(--chat-primary);border-bottom:1px solid var(--chat-line)}
.doiteasy-chat .de-transcript-title {font-size:11px;font-weight:600;margin-bottom:15px;color:var(--chat-muted)}
.doiteasy-chat .de-template-transcript .de-header-actions {position:absolute;top:5px;right:10px}
.doiteasy-chat .de-template-transcript .de-eyebrow {display:none}
.doiteasy-chat .de-template-transcript .de-identity-copy strong {font-size:13px}
.doiteasy-chat .de-template-transcript .de-header .de-avatar {width:30px;height:30px}
.doiteasy-chat .de-template-transcript .de-messages {background:var(--chat-panel)}
.doiteasy-chat .de-template-transcript .de-from-support .de-bubble {border:0;background:transparent;padding:0}
.doiteasy-chat .de-template-transcript .de-from-support {border-bottom:1px solid var(--chat-line);padding-bottom:14px}
.doiteasy-chat .de-template-transcript .de-message>.de-avatar {margin-top:0}
.doiteasy-chat .de-template-transcript .de-from-visitor .de-bubble {border-radius:2px}
.doiteasy-chat .de-template-transcript .de-welcome-bubble {border:0;border-left:2px solid var(--chat-line);box-shadow:none;border-radius:0}
.doiteasy-chat .de-template-transcript .de-compose-box {border-radius:2px}
.doiteasy-chat .de-template-transcript .de-send {border-radius:3px}
/* 08. Studio: a useful topic rail beside the conversation. */
.doiteasy-chat .de-template-studio .de-header {padding:13px 15px}
.doiteasy-chat .de-template-studio .de-eyebrow {display:none}
.doiteasy-chat .de-template-studio .de-avatar {border-radius:10px;width:34px;height:34px}
.doiteasy-chat .de-topic-rail {width:58px;flex-shrink:0;background:var(--chat-soft);border-right:1px solid var(--chat-line);display:flex;flex-direction:column;align-items:center;padding:14px 3px;gap:11px;overflow-y:auto}
.doiteasy-chat .de-rail-mark {display:flex;align-items:center;justify-content:center;background:var(--chat-primary);color:var(--chat-header-text);height:31px;width:31px;border-radius:9px;margin-bottom:8px}
.doiteasy-chat .de-topic-rail button {width:100%;display:flex;flex-direction:column;align-items:center;gap:4px;background:none;color:var(--chat-muted);border:0;padding:5px 0;border-radius:7px}
.doiteasy-chat .de-topic-rail button:hover {background:var(--chat-panel);color:var(--chat-primary)}
.doiteasy-chat .de-topic-rail small {font-size:8px}
.doiteasy-chat .de-template-studio .de-messages {padding:16px 12px}
.doiteasy-chat .de-template-studio .de-message>.de-avatar {display:none}
.doiteasy-chat .de-template-studio .de-message-content {max-width:95%}
.doiteasy-chat .de-template-studio .de-composer {padding:9px 10px 0}
.doiteasy-chat .de-template-studio .de-enter-hint {display:none}
/* Admin previews and template gallery. */
.de-template-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.de-template-card {text-align:left;padding:12px;border:1px solid hsl(var(--border,140 16% 88%));border-radius:12px;background:hsl(var(--card,0 0% 100%));color:hsl(var(--foreground,150 40% 12%));cursor:pointer;min-width:0}
.de-template-card[aria-pressed="true"] {border-color:#047857;box-shadow:0 0 0 2px #047857}
.de-template-card>strong {display:block;margin:10px 0 3px;font-size:13px}
.de-template-card>small {display:block;font-size:11px;line-height:1.5;color:hsl(var(--muted-foreground,150 10% 42%))}
.de-template-mini {height:96px;position:relative;background:#f2f6f4;border:1px solid #dce7e1;border-radius:8px;overflow:hidden;padding-top:35px}
.de-mini-header {position:absolute;top:0;left:0;right:0;height:29px;background:#08765b}
.de-mini-avatar {display:block;position:absolute;left:8px;top:6px;width:16px;height:16px;border-radius:50%;background:#ffffffb8}
.de-mini-line {height:5px;width:35%;background:#9aacaa;margin:6px 10px;border-radius:3px}
.de-mini-bubble {height:13px;width:50%;background:#fff;border:1px solid #d2e0da;border-radius:5px;margin:7px 9px}
.de-mini-reply {height:13px;width:43%;margin:6px 9px 6px auto;background:#c9e7dc;border-radius:5px}
.de-mini-wave .de-mini-header {height:34px;border-radius:0 0 55% 6%}
.de-mini-compact .de-mini-header {height:12px;border-radius:0}
.de-mini-compact .de-mini-avatar {top:16px;background:#b6d4c8;width:12px;height:12px}
.de-mini-compact {padding-top:31px}
.de-mini-compact .de-mini-bubble,.de-mini-compact .de-mini-reply {height:9px;border-radius:1px}
.de-mini-concierge .de-mini-header {height:35px}
.de-mini-concierge .de-mini-line {width:55%;height:7px}
.de-mini-concierge .de-mini-bubble,.de-mini-concierge .de-mini-reply {height:12px;width:85%;background:#fff;margin:5px 9px}
.de-mini-minimal .de-mini-header {background:#fff;border-bottom:1px solid #dce7e1}
.de-mini-minimal .de-mini-avatar {background:#08765b;border-radius:5px}
.de-mini-minimal .de-mini-bubble {border:0;background:#b7c7bf;height:5px}
.de-mini-helpdesk {border-radius:3px}
.de-mini-helpdesk .de-mini-header {height:26px;border-bottom:7px solid #c4d9ce}
.de-mini-helpdesk .de-mini-avatar {width:12px;height:12px;border-radius:2px;top:3px}
.de-mini-helpdesk .de-mini-bubble {border-radius:1px;border-left:3px solid #08765b}
.de-mini-assistant {padding-top:43px}
.de-mini-assistant .de-mini-header {height:38px;background:#fff;border-bottom:1px solid #dce7e1}
.de-mini-assistant .de-mini-avatar {left:calc(50% - 10px);width:20px;height:20px;border-radius:6px;background:#08765b}
.de-mini-assistant .de-mini-line {margin:3px auto;width:50%}
.de-mini-assistant .de-mini-bubble,.de-mini-assistant .de-mini-reply {display:inline-block;vertical-align:top;height:25px;width:37%;margin:6px 0 0 8%;border-radius:5px;background:white}
.de-mini-transcript .de-mini-header {background:#fff;border-top:3px solid #08765b;border-bottom:1px solid #dce7e1}
.de-mini-transcript .de-mini-avatar {background:#b6d4c8;width:12px;height:12px}
.de-mini-transcript .de-mini-bubble {border:0;border-left:10px solid #9ab4a8;background:#dce7e1;height:13px;border-radius:0}
.de-mini-transcript .de-mini-reply {border-radius:0}
.de-mini-studio:after {content:"";position:absolute;top:29px;bottom:0;left:0;width:24px;background:repeating-linear-gradient(#c4d9ce 0 7px,#e7eee9 7px 17px);border-right:1px solid #bdcfc4}
.de-mini-studio .de-mini-bubble,.de-mini-studio .de-mini-line {margin-left:33px}
.de-preview-controls {display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}
.de-preview-controls button {padding:6px 10px;border:1px solid #dce7e1;border-radius:7px;font-size:12px;background:#fff;color:#294c3c;cursor:pointer}
.de-preview-controls button[aria-pressed="true"] {background:#e7f3ed;border-color:#08765b}
.de-preview-canvas {padding:14px;background:repeating-linear-gradient(45deg,#f0f4f1 0 12px,#edf1ee 12px 24px);border:1px solid #e1e8e3;border-radius:14px}
.de-preview-canvas .de-preview-window {height:580px;width:100%;margin:auto;max-width:380px}
.de-preview-canvas[data-device="mobile"] .de-preview-window {max-width:320px;height:600px}
@media(min-width:1500px) {.de-template-gallery {grid-template-columns:repeat(3,minmax(0,1fr))}}
.de-template-settings {padding:16px;border:1px solid hsl(var(--border,140 16% 88%));border-radius:12px;background:hsl(var(--card,0 0% 100%));color:hsl(var(--foreground,150 40% 12%));box-shadow:0 1px 3px #0001}
.de-template-settings>h3 {font-size:14px;font-weight:650;margin:0 0 7px}
.de-template-settings>p {font-size:12px;line-height:1.5;color:hsl(var(--muted-foreground,150 10% 42%));margin:0 0 15px}
.de-template-settings .de-template-card:focus-visible {outline:2px solid #10b981;outline-offset:3px}
.de-template-settings .de-preview-controls button {background:hsl(var(--card,0 0% 100%));color:hsl(var(--foreground,150 40% 12%));border-color:hsl(var(--border,140 16% 88%))}
.de-template-settings .de-preview-controls button[aria-pressed="true"] {background:#e7f3ed;color:#064e3b;border-color:#08765b}
@media(max-width:420px) {
 .doiteasy-chat .de-panel-position {right:12px;max-width:calc(100vw - 24px)}
 .doiteasy-chat[data-position="bottom-left"] .de-panel-position {left:12px}
 .doiteasy-chat .de-header {padding-left:14px;padding-right:12px}
 .doiteasy-chat .de-identity {gap:9px}
 .doiteasy-chat .de-identity-copy strong {font-size:14px}
 .doiteasy-chat .de-header .de-avatar {width:36px;height:36px}
 .doiteasy-chat .de-compose-box textarea,.doiteasy-chat .de-contact-fields input {font-size:16px}
 .doiteasy-chat .de-enter-hint {display:none}
 .doiteasy-chat .de-template-studio .de-contact-fields {grid-template-columns:1fr}
}
@media(max-height:650px) {.doiteasy-chat .de-panel-position {bottom:12px;top:12px;height:auto;max-height:none}}
@media(prefers-reduced-motion:reduce) {.doiteasy-chat * {animation:none!important;transition:none!important}}
@keyframes de-typing {to{opacity:.3;transform:translateY(-2px)}}
