/* Desktop shell around the website bot's own stylesheet (vendor/support-chat.css). */
html, body { margin: 0; height: 100%; background: #f5f3ee; }
body { overflow: hidden; }
#dd-support .ddc-wrap { max-width: 760px; height: 100%; padding: 0; }
#dd-support { height: 100%; }
#dd-support .ddc-shell { height: 100vh; max-height: none; min-height: 0; border-radius: 0; border: 0; box-shadow: none; }
#dd-support .ddc-head .ddc-reset[hidden] { display: none; }
#dd-support .ddc-head .ddc-reset + .ddc-reset { margin-left: 6px; }

/* composer */
#dd-support .ddc-compose { flex: none; display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--panel); }
#dd-support .ddc-compose[hidden] { display: none; }
#dd-support .ddc-compose textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; line-height: 1.4; outline: none; background: #fff; color: var(--ink); }
#dd-support .ddc-compose textarea:focus { border-color: var(--b); }
#dd-support .ddc-compose button { flex: none; width: 44px; height: 42px; border: 0; border-radius: 12px; background: var(--b); color: #fff; font-size: 18px; cursor: pointer; }
#dd-support .ddc-compose button:disabled { opacity: .5; cursor: progress; }
#dd-support .ddc-compose-off { flex: none; padding: 10px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); background: var(--panel); text-align: center; }
#dd-support .ddc-compose-off[hidden] { display: none; }

/* typing indicator */
#dd-support .dd-typing { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
#dd-support .dd-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .35; animation: ddblink 1.2s infinite ease-in-out; }
#dd-support .dd-typing span:nth-child(2) { animation-delay: .2s; }
#dd-support .dd-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes ddblink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: .9; transform: translateY(-3px); } }

#dd-support .fgate[hidden] { display: none; }

/* setup screen */
.dd-setup { position: fixed; inset: 0; background: rgba(23,25,28,.55); display: flex; align-items: center; justify-content: center; padding: 16px; font-family: "Work Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.dd-setup[hidden] { display: none; }
.dd-setup-card { background: #fff; border-radius: 14px; padding: 20px 22px; max-width: 520px; font-size: 14px; color: #17191c; }
.dd-setup-card h2 { margin: 0 0 8px; font-size: 18px; }
.dd-setup-card code { background: #f2f2ef; padding: 1px 5px; border-radius: 5px; font-size: 12px; word-break: break-all; }
