.sdb{position:fixed;inset:0;z-index:2147483000;display:none;font-family:inherit;color:#121826}
.sdb.on{display:block}
.sdb-scrim{position:absolute;inset:0;width:100%;border:0;padding:0;background:rgba(10,20,40,.42);animation:sdb-fade .25s both;cursor:pointer}
.sdb-sheet{position:absolute;left:0;right:0;bottom:0;height:min(86vh,720px);background:#fff;border-radius:24px 24px 0 0;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom,0px);animation:sdb-up .45s cubic-bezier(.2,.9,.25,1) both}
@media (min-width:750px){.sdb-sheet{left:auto;right:24px;bottom:24px;width:400px;height:min(80vh,680px);border-radius:24px;box-shadow:0 20px 60px rgba(0,0,0,.25)}}
.sdb-grab{width:40px;height:5px;border-radius:3px;background:#DCE1E8;margin:10px auto 0;flex-shrink:0}
.sdb-head{display:flex;align-items:center;gap:12px;padding:10px 16px 12px;border-bottom:1px solid #EEF1F5}
.sdb-av{width:44px;height:44px;border-radius:50%;background:#0088FF;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sdb-head b{display:block;font-size:17px;line-height:1.2}
.sdb-head small{font-size:12.5px;color:#5B6472}
.sdb-x{margin-left:auto;width:40px;height:40px;border:0;border-radius:50%;background:#F1F4F8;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.sdb-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.sdb-msg{max-width:86%;padding:11px 14px;font-size:15px;line-height:1.4;animation:sdb-in .35s both}
.sdb-bot{background:#F1F6FD;border-radius:4px 18px 18px 18px;align-self:flex-start}
.sdb-me{background:#0088FF;color:#fff;border-radius:18px 4px 18px 18px;align-self:flex-end}
.sdb-dots{display:flex;gap:4px;padding:15px 16px}
.sdb-dots i{width:7px;height:7px;border-radius:50%;background:#0088FF;animation:sdb-typing 1.1s infinite}
.sdb-dots i:nth-child(2){animation-delay:.15s}
.sdb-dots i:nth-child(3){animation-delay:.3s}
.sdb-chips{display:flex;flex-wrap:wrap;gap:8px;animation:sdb-in .35s both}
.sdb-chip{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid #BFD8F7;background:#fff;color:#0F6BDC;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.sdb-chip.alt{border-color:#DCE1E8;color:#121826}
.sdb-chip.wa{border-color:#BFE6CD;background:#E8F7EE;color:#145C33}
.sdb-cards{display:flex;gap:10px;overflow-x:auto;margin:0 -16px;padding:2px 16px 6px;scrollbar-width:none;animation:sdb-in .35s both;flex-shrink:0}
.sdb-cards::-webkit-scrollbar{display:none}
.sdb-card{flex-shrink:0;width:160px;border:1px solid #E7EBF0;border-radius:16px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.sdb-card a{color:inherit;text-decoration:none;display:flex;flex-direction:column;flex:1}
.sdb-card img{width:100%;height:130px;object-fit:cover;display:block;background:#F5F7FA}
.sdb-card .in{padding:10px;display:flex;flex-direction:column;gap:3px;flex:1}
.sdb-card .v{font-size:11px;font-weight:600;color:#5B6472;text-transform:uppercase;letter-spacing:.3px}
.sdb-card .t{font-size:13.5px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sdb-card .n{font-size:12px;color:#5B6472;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.sdb-card .p{font-size:15px;font-weight:700;color:#0F6BDC;margin-top:auto}
.sdb-add{margin:0 10px 10px;height:38px;border-radius:12px;border:0;background:#0088FF;color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.sdb-add.ok{background:#1E8E4E}
.sdb-add[disabled]{opacity:.6}
.sdb-link{font-size:14px;font-weight:600;color:#0F6BDC;align-self:flex-start;text-decoration:none;animation:sdb-in .35s both}
.sdb-ask{display:flex;gap:8px;padding:10px 12px 0;border-top:1px solid #EEF1F5}
.sdb-ask input{flex:1;min-width:0;height:46px;border-radius:14px;border:1.5px solid #BFD8F7;background:#F7FAFE;padding:0 14px;font:inherit;font-size:16px;color:#121826;outline:none}
.sdb-ask input:focus{border-color:#0088FF;background:#fff}
.sdb-ask button{width:46px;height:46px;border-radius:14px;border:0;background:#0088FF;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}
.sdb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sdb-foot{display:flex;gap:8px;padding:10px 12px}
.sdb-foot button{flex:1;height:46px;border-radius:14px;border:0;font:inherit;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}
.sdb-ai{background:#0088FF;color:#fff}
.sdb-wa{background:#E8F7EE;color:#145C33}
html.sdb-lock{overflow:hidden}
@keyframes sdb-up{from{transform:translateY(100%)}to{transform:none}}
@keyframes sdb-fade{from{opacity:0}to{opacity:1}}
@keyframes sdb-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes sdb-typing{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-4px);opacity:1}}
@media (prefers-reduced-motion:reduce){.sdb *{animation:none!important}}
