.dchat-backdrop{z-index:1100;background:#0b14268c;place-items:center;padding:14px;display:grid;position:fixed;inset:0}.dchat-box{background:#f4f6fa;border-radius:18px;flex-direction:column;width:min(420px,100%);height:min(640px,92vh);display:flex;overflow:hidden;box-shadow:0 24px 60px #0000004d}.dchat-box>header{color:#fff;background:#0b2545;align-items:center;gap:10px;padding:12px 14px;display:flex}.dchat-box>header img{object-fit:cover;background:#fff;border-radius:50%;width:36px;height:36px}.dchat-box>header div{flex:1;min-width:0;display:grid}.dchat-box>header b{font-size:15px}.dchat-box>header small{color:#c9d6e6;font-size:11.5px}.dchat-box>header button{color:#fff;cursor:pointer;background:0 0;border:0;width:32px;height:32px;font-size:18px}.dchat-body{flex-direction:column;flex:1;gap:10px;padding:14px 12px;display:flex;overflow-y:auto}.dchat-system{color:#5c4400;background:#fffaf0;border:1px dashed #e0b84c;border-radius:10px;margin:0;padding:9px 12px;font-size:12px;line-height:1.55}.dchat-row{align-items:flex-end;gap:7px;display:flex}.dchat-row.me{justify-content:flex-end}.dchat-row img{object-fit:cover;background:#fff;border-radius:50%;width:28px;height:28px}.dchat-bubble{color:#1f2937;word-break:keep-all;overflow-wrap:anywhere;white-space:pre-line;background:#fff;border-radius:14px;gap:6px;max-width:76%;padding:9px 12px;font-size:14px;line-height:1.5;display:grid;box-shadow:0 1px 2px #0000000f}.dchat-row.me .dchat-bubble{color:#fff;background:#1769e0}.dchat-card{color:#0b2545;background:#f1f5fb;border-radius:10px;gap:2px;padding:9px 10px;text-decoration:none;display:grid}.dchat-card small{color:#5b6573}.dchat-row.me .dchat-card{background:#fff}.dchat-typing{gap:4px;padding:12px;display:flex}.dchat-typing i{background:#9aa6b6;border-radius:50%;width:6px;height:6px;animation:1s infinite dchat}.dchat-typing i:nth-child(2){animation-delay:.15s}.dchat-typing i:nth-child(3){animation-delay:.3s}@keyframes dchat{0%,to{opacity:.3}50%{opacity:1}}.dchat-quick{background:#fff;gap:6px;padding:8px 10px 0;display:flex;overflow-x:auto}.dchat-quick button{color:#0b2545;font:inherit;cursor:pointer;background:#fff;border:1px solid #c9d6e4;border-radius:999px;flex:none;padding:7px 11px;font-size:12.5px;font-weight:800}.dchat-input{padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;gap:6px;display:flex}.dchat-input input{min-width:0;font:inherit;border:1.5px solid #c9d6e4;border-radius:10px;flex:1;padding:10px 12px;font-size:14px}.dchat-input button{color:#fff;font:inherit;cursor:pointer;background:#1769e0;border:0;border-radius:10px;padding:0 14px;font-weight:800}.dchat-input button:disabled{opacity:.5}@media (width<=560px){.dchat-backdrop{padding:0}.dchat-box{border-radius:0;width:100%;height:100%}}
