body{margin:0; background:#f0f2f5; font-family:'Segoe UI',system-ui,sans-serif; color:#111; display:flex; gap:28px; justify-content:center; align-items:flex-start; padding:24px}
.phone{width:400px; max-width:100%; background:#fff; border-radius:22px; overflow:hidden; box-shadow:0 8px 30px rgba(0,0,0,.10); display:flex; flex-direction:column; height:calc(100vh - 48px)}
.phone-head{background:#0077ff; color:#fff; padding:12px 16px; display:flex; align-items:center; gap:10px}
.avatar{background:rgba(255,255,255,.22); border-radius:50%; width:38px; height:38px; display:flex; align-items:center; justify-content:center; font-size:20px}
.bot-name{font-weight:700}
.bot-online{font-size:12px; opacity:.85}
.ctx{margin-left:auto}
.chat{flex:1; overflow-y:auto; padding:14px; background:
  radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px); background-size:20px 20px; background-color:#eef4fd}
.msg{max-width:78%; padding:8px 11px; border-radius:14px; margin:6px 0; font-size:14px; line-height:1.4; white-space:pre-wrap}
.msg.bot{background:#fff; border-top-left-radius:4px; box-shadow:0 1px 1px rgba(0,0,0,.06); align-self:flex-start}
.msg.me{background:#0077ff; color:#fff; border-top-right-radius:4px; margin-left:auto}
.msg .t{display:block; font-size:10.5px; color:#9aa7b4; margin-top:3px; text-align:right}
.msg.tag{background:#fff; border:1px solid #0077ff; color:#0077ff; text-align:center; font-weight:600; cursor:pointer; align-self:flex-start}
.file-chip{display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid #dfe5ec; border-radius:10px; padding:6px 10px; margin:4px 0}
.rowline{display:flex; gap:6px; flex-wrap:wrap}
.quick{display:flex; gap:8px; padding:10px 12px; background:#fff; border-top:1px solid #e6ebf1; flex-wrap:wrap}
.quick button{font:inherit; font-size:13px; border:1px solid #cfd9e2; border-radius:99px; padding:6px 12px; background:#fff; cursor:pointer; color:#15395e}
.quick button:hover{border-color:#0077ff; color:#0077ff}
.input-row{display:flex; align-items:center; gap:8px; padding:10px 12px; background:#fff; border-top:1px solid #e6ebf1}
.attach{font-size:18px; cursor:pointer}
.input-row input[type=text]{flex:1; border:1px solid #dfe5ec; border-radius:99px; padding:9px 14px; font:inherit}
.send{background:#0077ff; color:#fff; border:none; border-radius:50%; width:36px; height:36px; font-size:16px; cursor:pointer}
.side{width:360px; max-width:100%; padding-top:8px}
.side .muted{color:#5c6670; font-size:14px}
.progress{margin-top:18px}
.prow{display:flex; gap:10px; align-items:center; padding:10px 0; border-bottom:1px dashed #dfe5ec; color:#8a97a3}
.prow span{width:24px; height:24px; border-radius:50%; background:#dfe5ec; color:#5c6670; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700}
.prow.done{color:#111}
.prow.done span{background:#20a55d; color:#fff}
.side-note{margin-top:16px}
@media(max-width:860px){body{flex-direction:column; align-items:center} .phone{height:70vh}}