/* Extracted from pages/azs_chat.php — v170 */
#azsChatRoot .hidden{display:none!important}

  #azsChatRoot{
    --azs-neutral-border: rgba(226,232,240,1);
    --azs-neutral-border-dark: rgba(38,38,38,1);
    --azs-neutral-card: rgba(255,255,255,.92);
    --azs-neutral-card-dark: rgba(23,23,23,.82);
    --azs-send-progress: 0deg;
  }
  #azsChatRoot .azs-chat-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}
  #azsChatRoot .azs-chat-aside,
  #azsChatRoot .azs-chat-shell{border:1px solid var(--azs-neutral-border);background:var(--azs-neutral-card);box-shadow:0 16px 42px rgba(15,23,42,.06)}
  html.dark #azsChatRoot .azs-chat-aside,
  html.dark #azsChatRoot .azs-chat-shell{border-color:var(--azs-neutral-border-dark);background:var(--azs-neutral-card-dark);box-shadow:0 18px 46px rgba(0,0,0,.25)}
  #azsChatRoot .azs-chat-aside{position:sticky;top:76px;border-radius:24px;padding:14px}
  #azsChatRoot .azs-chat-aside-scroll{max-height:72vh;overflow:auto;padding-right:4px}
  #azsChatRoot .azs-loc-group{margin:0 0 14px}
  #azsChatRoot .azs-loc-group-title{margin:0 0 8px;padding:0 6px;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#94a3b8}
  #azsChatRoot .azs-location-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--azs-neutral-border);border-radius:16px;background:#fff;color:#334155;padding:10px 12px;text-align:left;font-size:13px;font-weight:700;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
  #azsChatRoot .azs-location-btn:hover{background:#f8fafc;transform:translateY(-1px);box-shadow:0 10px 20px rgba(15,23,42,.05)}
  #azsChatRoot .azs-location-btn.is-active{background:#f8fafc;color:#0f172a;border-color:#cbd5e1;box-shadow:inset 3px 0 0 #94a3b8,0 10px 22px rgba(15,23,42,.06)}
  html.dark #azsChatRoot .azs-location-btn{border-color:var(--azs-neutral-border-dark);background:rgba(10,10,10,.72);color:#e5e7eb}
  html.dark #azsChatRoot .azs-location-btn:hover{background:rgba(38,38,38,.82);box-shadow:0 10px 22px rgba(0,0,0,.20)}
  html.dark #azsChatRoot .azs-location-btn.is-active{background:rgba(38,38,38,.92);color:#fff;border-color:#525252;box-shadow:inset 3px 0 0 #a3a3a3,0 10px 24px rgba(0,0,0,.22)}
  #azsChatRoot .azs-location-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #azsChatRoot .azs-location-count{min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:rgba(148,163,184,.14);color:#475569;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}
  html.dark #azsChatRoot .azs-location-count{background:rgba(148,163,184,.14);color:#cbd5e1}
  #azsChatRoot .azs-mobile-select{display:none}
  #azsChatRoot .azs-mobile-select select{width:100%;border-radius:16px;border:1px solid var(--azs-neutral-border);background:#fff;color:#0f172a;padding:12px 14px;font-size:14px;font-weight:700;outline:none}
  html.dark #azsChatRoot .azs-mobile-select select{border-color:var(--azs-neutral-border-dark);background:rgba(10,10,10,.72);color:#fff}

  #azsChatRoot .azs-chat-shell{border-radius:24px;overflow:hidden}
  #azsChatRoot .azs-chat-dialog{height:min(78vh,920px);min-height:680px;display:flex;flex-direction:column;position:relative;overflow:hidden;background:#f8fafc;--chat-wallpaper-opacity:.26;--chat-wallpaper-opacity-dark:.16}
  html.dark #azsChatRoot .azs-chat-dialog{background:#0a0a0a}
  #azsChatRoot .azs-chat-dialog.chat-dialog::before{opacity:var(--chat-wallpaper-opacity,.26)!important}
  html.dark #azsChatRoot .azs-chat-dialog.chat-dialog::before{opacity:var(--chat-wallpaper-opacity-dark,.16)!important}
  #azsChatRoot .azs-chat-top{position:relative;z-index:3;padding:12px 12px 0}
  #azsChatRoot .azs-chat-topbar{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:22px;border:1px solid rgba(226,232,240,.78);background:rgba(255,255,255,.72);box-shadow:0 12px 30px rgba(15,23,42,.08);backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);padding:10px 12px}
  html.dark #azsChatRoot .azs-chat-topbar{border-color:rgba(255,255,255,.08);background:rgba(23,23,23,.72);box-shadow:0 14px 34px rgba(0,0,0,.28)}
  #azsChatRoot .azs-chat-title{min-width:0}
  #azsChatRoot .azs-chat-title h2{margin:0;font-size:16px;line-height:1.25;font-weight:800;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html.dark #azsChatRoot .azs-chat-title h2{color:#fff}
  #azsChatRoot .azs-chat-title div{margin-top:2px;font-size:12px;line-height:1.3;color:#64748b}
  html.dark #azsChatRoot .azs-chat-title div{color:#a3a3a3}
  #azsChatRoot .azs-refresh-btn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:16px;border:1px solid var(--azs-neutral-border);background:#fff;color:#475569;transition:background .16s ease,transform .16s ease}
  #azsChatRoot .azs-refresh-btn:hover{background:#f8fafc;transform:translateY(-1px)}
  html.dark #azsChatRoot .azs-refresh-btn{border-color:var(--azs-neutral-border-dark);background:rgba(10,10,10,.74);color:#e5e7eb}
  html.dark #azsChatRoot .azs-refresh-btn:hover{background:rgba(38,38,38,.86)}

  #azsChatRoot .azs-chat-scroll{position:relative;z-index:1;flex:1 1 auto;min-height:0;overflow-y:auto;padding:12px 12px 14px;scroll-behavior:auto;overflow-anchor:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
  #azsChatRoot .azs-chat-list{display:flex;flex-direction:column;gap:9px;min-height:100%;justify-content:flex-start;overflow-anchor:none}
  #azsChatRoot .azs-chat-list::before{content:"";margin-top:auto}
  #azsChatRoot .azs-chat-loading{margin:28px auto;max-width:360px;border-radius:22px;border:1px solid rgba(255,255,255,.72);background:rgba(255,255,255,.74);box-shadow:0 14px 30px rgba(15,23,42,.08);padding:26px;display:flex;align-items:center;justify-content:center}
  html.dark #azsChatRoot .azs-chat-loading{border-color:rgba(255,255,255,.06);background:rgba(23,23,23,.62);box-shadow:0 16px 34px rgba(0,0,0,.25)}
  #azsChatRoot .azs-chat-empty{margin:40px auto;max-width:420px;border-radius:24px;border:1px solid rgba(255,255,255,.72);background:rgba(255,255,255,.78);box-shadow:0 14px 30px rgba(15,23,42,.07);padding:28px;text-align:center}
  html.dark #azsChatRoot .azs-chat-empty{border-color:rgba(255,255,255,.06);background:rgba(23,23,23,.62);box-shadow:0 16px 34px rgba(0,0,0,.25)}
  #azsChatRoot .azs-more-wrap{padding:0 0 10px;text-align:center}
  #azsChatRoot .azs-more-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid var(--azs-neutral-border);background:rgba(255,255,255,.74);color:#475569;padding:8px 14px;font-size:12px;font-weight:800;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  html.dark #azsChatRoot .azs-more-btn{border-color:var(--azs-neutral-border-dark);background:rgba(23,23,23,.70);color:#d4d4d4}

  #azsChatRoot .azs-msg{display:flex;gap:8px;align-items:flex-end;position:relative;animation:azsMsgIn .18s ease-out both;overflow-anchor:none}
  @keyframes azsMsgIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
  #azsChatRoot .azs-msg.is-removing{animation:azsMsgRemove .18s ease-in both}
  @keyframes azsMsgRemove{from{opacity:1;transform:translateY(0);max-height:240px}to{opacity:0;transform:translateY(-6px);max-height:0;margin-top:-9px;overflow:hidden}}
  #azsChatRoot .azs-msg.is-mine{justify-content:flex-end}
  #azsChatRoot .azs-msg-avatar{width:34px;height:34px;border-radius:14px;overflow:hidden;background:#e2e8f0;box-shadow:0 8px 18px rgba(15,23,42,.08);flex:0 0 auto}
  #azsChatRoot .azs-msg-avatar img{width:100%;height:100%;display:block;object-fit:cover}
  html.dark #azsChatRoot .azs-msg-avatar{background:#262626;box-shadow:0 8px 18px rgba(0,0,0,.20)}
  #azsChatRoot .azs-msg-body{max-width:min(84%,720px);min-width:0;position:relative}
  #azsChatRoot .azs-msg.is-mine .azs-msg-body{display:flex;flex-direction:column;align-items:flex-end}
  #azsChatRoot .azs-msg-author{margin:0 0 6px;display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.25;color:#64748b}
  html.dark #azsChatRoot .azs-msg-author{color:#a3a3a3}
  #azsChatRoot .azs-msg-author a{font-weight:800;color:#0f172a;text-decoration:none}
  #azsChatRoot .azs-msg-author a:hover{text-decoration:underline}
  html.dark #azsChatRoot .azs-msg-author a{color:#fff}
  #azsChatRoot .chat-bubble-peer .azs-msg-author{color:#64748b}
  html.dark #azsChatRoot .chat-bubble-peer .azs-msg-author{color:#a3a3a3}
  #azsChatRoot .chat-bubble-me .azs-msg-author{color:rgba(240,249,255,.88)}
  #azsChatRoot .chat-bubble-me .azs-msg-author a{color:#fff}
  #azsChatRoot .azs-verified{width:15px;height:15px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#0ea5e9;color:#fff;font-size:9px;font-weight:800}
  #azsChatRoot .azs-bubble{cursor:pointer;max-width:100%;border-radius:20px;transition:transform .12s ease,box-shadow .12s ease}
  #azsChatRoot .azs-bubble:active{transform:scale(.992)}
  #azsChatRoot .azs-msg.is-actions-open .azs-bubble{box-shadow:0 0 0 2px rgba(14,165,233,.24),0 12px 26px rgba(15,23,42,.10)}
  html.dark #azsChatRoot .azs-msg.is-actions-open .azs-bubble{box-shadow:0 0 0 2px rgba(56,189,248,.22),0 12px 26px rgba(0,0,0,.24)}
  #azsChatRoot .azs-msg.is-jump-highlight .azs-bubble{animation:azsJumpHighlight 1.65s ease-in-out 1;box-shadow:0 0 0 2px rgba(14,165,233,.55),0 16px 38px rgba(14,165,233,.20)}
  html.dark #azsChatRoot .azs-msg.is-jump-highlight .azs-bubble{box-shadow:0 0 0 2px rgba(56,189,248,.48),0 16px 38px rgba(56,189,248,.14)}
  @keyframes azsJumpHighlight{0%{transform:scale(1);filter:none}16%{transform:scale(1.025);filter:brightness(1.07)}42%{transform:scale(1);filter:brightness(1.03)}72%{transform:scale(1.012);filter:brightness(1.04)}100%{transform:scale(1);filter:none}}
  #azsChatRoot .azs-bubble .chat-msg-text-flow{font-size:14px;line-height:1.42}
  #azsChatRoot .azs-msg-meta{margin-top:6px;display:flex;justify-content:flex-end;gap:4px;font-size:11px;line-height:1;color:currentColor;opacity:.74}
  #azsChatRoot .azs-reply-preview{display:block;width:100%;margin-bottom:7px;padding:8px 10px;border-radius:14px;background:rgba(2,132,199,.12);border:0;border-left:3px solid rgba(3,105,161,.95);box-shadow:inset 0 0 0 1px rgba(2,132,199,.14);text-align:left;font:inherit;cursor:pointer;transition:background .14s ease,transform .12s ease,opacity .14s ease,box-shadow .14s ease}
  #azsChatRoot .azs-reply-preview:hover{background:rgba(2,132,199,.17);box-shadow:inset 0 0 0 1px rgba(2,132,199,.24)}
  #azsChatRoot .azs-reply-preview:active{transform:scale(.992)}
  #azsChatRoot .azs-reply-preview.is-loading{opacity:.62;pointer-events:none}
  #azsChatRoot .azs-reply-preview-author{font-size:12px;font-weight:800;color:#075985}
  #azsChatRoot .azs-reply-preview-text{margin-top:2px;font-size:12px;line-height:1.35;color:#334155;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  html.dark #azsChatRoot .azs-reply-preview{background:rgba(14,116,144,.22);border-left-color:rgba(56,189,248,.86);box-shadow:inset 0 0 0 1px rgba(56,189,248,.16)}
  html.dark #azsChatRoot .azs-reply-preview:hover{background:rgba(14,116,144,.28);box-shadow:inset 0 0 0 1px rgba(56,189,248,.24)}
  html.dark #azsChatRoot .azs-reply-preview-author{color:#7dd3fc}
  html.dark #azsChatRoot .azs-reply-preview-text{color:#dbeafe}
  #azsChatRoot .chat-bubble-me .azs-reply-preview{background:rgba(7,89,133,.34);border-left-color:rgba(125,211,252,.95);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
  #azsChatRoot .chat-bubble-me .azs-reply-preview:hover{background:rgba(7,89,133,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
  #azsChatRoot .chat-bubble-me .azs-reply-preview-author{color:#e0f2fe}
  #azsChatRoot .chat-bubble-me .azs-reply-preview-text{color:rgba(240,249,255,.94)}
  #azsChatRoot .azs-actions-menu{position:absolute;z-index:6;left:6px;bottom:calc(100% + 6px);display:none;align-items:center;gap:4px;padding:5px;border-radius:16px;border:1px solid rgba(226,232,240,.9);background:rgba(255,255,255,.92);box-shadow:0 14px 32px rgba(15,23,42,.14);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);white-space:nowrap}
  #azsChatRoot .azs-msg.is-mine .azs-actions-menu{left:auto;right:6px}
  #azsChatRoot .azs-msg.is-actions-open .azs-actions-menu{display:flex;animation:azsMenuIn .12s ease-out both}
  @keyframes azsMenuIn{from{opacity:0;transform:translateY(4px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
  html.dark #azsChatRoot .azs-actions-menu{border-color:rgba(64,64,64,.9);background:rgba(23,23,23,.92);box-shadow:0 14px 32px rgba(0,0,0,.34)}
  #azsChatRoot .azs-action-btn{height:30px;display:inline-flex;align-items:center;gap:6px;border-radius:12px;padding:0 9px;border:0;background:transparent;color:#334155;font-size:12px;font-weight:800;transition:background .12s ease}
  #azsChatRoot .azs-action-btn:hover{background:#f1f5f9}
  #azsChatRoot .azs-action-btn.is-danger{color:#dc2626}
  #azsChatRoot .azs-action-btn.is-danger:hover{background:#fef2f2}
  html.dark #azsChatRoot .azs-action-btn{color:#e5e5e5}
  html.dark #azsChatRoot .azs-action-btn:hover{background:#262626}
  html.dark #azsChatRoot .azs-action-btn.is-danger{color:#f87171}
  html.dark #azsChatRoot .azs-action-btn.is-danger:hover{background:rgba(127,29,29,.26)}

  #azsChatRoot .azs-composer{position:relative;z-index:2;border-top:0;background:transparent;padding:0 0 2px;flex:0 0 auto}
  #azsChatRoot .azs-notice{margin:0 12px 8px;border-radius:16px;border:1px solid transparent;padding:10px 12px;font-size:13px;line-height:1.35}
  #azsChatRoot .azs-reply-box{margin:0 12px 8px;border-radius:18px;border:1px solid rgba(186,230,253,.80);background:rgba(240,249,255,.88);padding:10px 12px;box-shadow:0 8px 22px rgba(15,23,42,.06);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
  html.dark #azsChatRoot .azs-reply-box{border-color:rgba(8,47,73,.75);background:rgba(8,47,73,.28);box-shadow:0 10px 24px rgba(0,0,0,.22)}
  #azsChatRoot .azs-compose-row{display:flex;align-items:flex-end;gap:8px;padding:10px 12px 12px}
  #azsChatRoot .azs-composer-shell{position:relative;flex:1 1 auto;min-height:52px;overflow:hidden;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(32,32,32,.36);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 30px rgba(0,0,0,.18);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);padding:0 54px 0 2px;display:flex;align-items:center}
  html.dark #azsChatRoot .azs-composer-shell{border-color:rgba(255,255,255,.10);background:rgba(18,18,18,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 28px rgba(0,0,0,.32)}
  #azsChatRoot .chat-dialog[data-wallpaper="none"] .azs-composer-shell,#azsChatRoot .chat-dialog:not([data-wallpaper]) .azs-composer-shell,#azsChatRoot .chat-dialog[data-wallpaper=""] .azs-composer-shell{background:rgba(248,250,252,.88);border-color:rgba(226,232,240,.92);box-shadow:0 8px 22px rgba(15,23,42,.08),inset 0 1px 0 rgba(255,255,255,.75)}
  html.dark #azsChatRoot .chat-dialog[data-wallpaper="none"] .azs-composer-shell,html.dark #azsChatRoot .chat-dialog:not([data-wallpaper]) .azs-composer-shell,html.dark #azsChatRoot .chat-dialog[data-wallpaper=""] .azs-composer-shell{background:rgba(23,23,23,.84);border-color:rgba(38,38,38,.9);box-shadow:0 8px 22px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.04)}
  #azsChatRoot .azs-chat-input{display:block;width:100%;min-height:46px;max-height:140px;overflow-y:auto;white-space:pre-wrap;word-break:break-word;background:transparent;border:0;outline:0;color:#0f172a;font-size:15px;line-height:24px;padding:12px 0 12px 22px;-webkit-user-select:text;user-select:text;-webkit-tap-highlight-color:transparent}
  html.dark #azsChatRoot .azs-chat-input{color:#fff}
  #azsChatRoot .azs-chat-input:empty:before,#azsChatRoot .azs-chat-input.is-empty:before{content:attr(data-placeholder);color:rgba(255,255,255,.72);pointer-events:none}
  html.dark #azsChatRoot .azs-chat-input:empty:before,html.dark #azsChatRoot .azs-chat-input.is-empty:before{color:rgba(255,255,255,.38)}
  #azsChatRoot .chat-dialog[data-wallpaper="none"] .azs-chat-input:empty:before,#azsChatRoot .chat-dialog:not([data-wallpaper]) .azs-chat-input:empty:before,#azsChatRoot .chat-dialog[data-wallpaper=""] .azs-chat-input:empty:before,#azsChatRoot .chat-dialog[data-wallpaper="none"] .azs-chat-input.is-empty:before,#azsChatRoot .chat-dialog:not([data-wallpaper]) .azs-chat-input.is-empty:before,#azsChatRoot .chat-dialog[data-wallpaper=""] .azs-chat-input.is-empty:before{color:#94a3b8}
  html.dark #azsChatRoot .chat-dialog[data-wallpaper="none"] .azs-chat-input:empty:before,html.dark #azsChatRoot .chat-dialog:not([data-wallpaper]) .azs-chat-input:empty:before,html.dark #azsChatRoot .chat-dialog[data-wallpaper=""] .azs-chat-input:empty:before,html.dark #azsChatRoot .chat-dialog[data-wallpaper="none"] .azs-chat-input.is-empty:before,html.dark #azsChatRoot .chat-dialog:not([data-wallpaper]) .azs-chat-input.is-empty:before,html.dark #azsChatRoot .chat-dialog[data-wallpaper=""] .azs-chat-input.is-empty:before{color:#737373}
  #azsChatRoot .azs-composer-inside-actions{position:absolute;z-index:3;right:12px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:6px;color:rgba(255,255,255,.86);transition:opacity .18s ease,transform .18s ease}
  #azsChatRoot .chat-dialog[data-wallpaper="none"] .azs-composer-inside-actions,#azsChatRoot .chat-dialog:not([data-wallpaper]) .azs-composer-inside-actions,#azsChatRoot .chat-dialog[data-wallpaper=""] .azs-composer-inside-actions{color:#475569}
  html.dark #azsChatRoot .chat-dialog[data-wallpaper="none"] .azs-composer-inside-actions,html.dark #azsChatRoot .chat-dialog:not([data-wallpaper]) .azs-composer-inside-actions,html.dark #azsChatRoot .chat-dialog[data-wallpaper=""] .azs-composer-inside-actions{color:#a3a3a3}
  #azsChatRoot .azs-composer-icon-btn{width:34px;height:34px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;transition:opacity .18s ease,transform .18s ease,background-color .18s ease}
  #azsChatRoot .azs-composer-icon-btn:hover{background:rgba(255,255,255,.04)}
  #azsChatRoot .azs-emoji-panel{position:absolute;right:60px;bottom:64px;z-index:40;display:grid;grid-template-columns:repeat(8,36px);gap:5px;max-width:344px;max-height:min(276px,46vh);overflow:auto;overscroll-behavior:contain;padding:10px;border-radius:22px;border:1px solid rgba(226,232,240,.92);background:rgba(255,255,255,.96);box-shadow:0 18px 44px rgba(15,23,42,.20);backdrop-filter:blur(22px) saturate(160%);-webkit-backdrop-filter:blur(22px) saturate(160%)}
  #azsChatRoot .azs-emoji-panel.hidden{display:none}
  html.dark #azsChatRoot .azs-emoji-panel{border-color:rgba(64,64,64,.9);background:rgba(23,23,23,.96);box-shadow:0 18px 44px rgba(0,0,0,.40)}
  #azsChatRoot .azs-emoji-panel button{width:36px;height:36px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:1;background:transparent;transition:background .14s ease,transform .12s ease}
  #azsChatRoot .azs-emoji-panel button:hover{background:#f1f5f9}
  #azsChatRoot .azs-emoji-panel button:active{transform:scale(.92)}
  html.dark #azsChatRoot .azs-emoji-panel button:hover{background:#262626}
  #azsChatRoot .chat-dialog[data-wallpaper="none"] .azs-composer-icon-btn:hover,#azsChatRoot .chat-dialog:not([data-wallpaper]) .azs-composer-icon-btn:hover,#azsChatRoot .chat-dialog[data-wallpaper=""] .azs-composer-icon-btn:hover{background:rgba(15,23,42,.06)}
  #azsChatRoot .azs-compose-row.is-has-text .azs-empty-only{opacity:0;transform:scale(.82);pointer-events:none}
  #azsChatRoot .azs-action-swap{position:relative;overflow:hidden;z-index:3;flex:0 0 auto;width:52px;height:52px}
  #azsChatRoot .azs-send-btn{position:absolute;z-index:3;inset:0;width:100%;height:100%;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#e5e7eb;box-shadow:none;color:#64748b;opacity:1;transform:scale(1);pointer-events:auto;transition:background-color 160ms ease,color 160ms ease,box-shadow 160ms ease,opacity 160ms ease,transform 180ms cubic-bezier(.2,.9,.2,1),filter .16s ease;background-clip:padding-box;overflow:hidden;will-change:opacity,transform}
  html.dark #azsChatRoot .azs-send-btn{background:#262626;color:#a3a3a3}
  #azsChatRoot .azs-compose-row.is-has-text .azs-send-btn{background:var(--chat-action-bg,linear-gradient(135deg,rgba(14,165,233,1),rgba(59,130,246,1)));box-shadow:var(--chat-action-shadow,0 12px 26px rgba(59,130,246,.28));color:#fff}
  #azsChatRoot .azs-compose-row.is-has-text .azs-send-btn:hover{filter:brightness(1.04)}
  #azsChatRoot .azs-send-btn:disabled{opacity:.72;filter:saturate(.85);cursor:default}
  #azsChatRoot .azs-send-btn.is-cooldown{background:#e5e7eb;color:#475569;box-shadow:none;opacity:1;transform:scale(1);pointer-events:none}
  html.dark #azsChatRoot .azs-send-btn.is-cooldown{background:#262626;color:#d4d4d4}
  #azsChatRoot .azs-send-icon{display:flex;align-items:center;justify-content:center}
  #azsChatRoot .azs-send-timer{display:none;position:absolute;inset:0;align-items:center;justify-content:center;font-size:12px;font-weight:900;color:#475569}
  html.dark #azsChatRoot .azs-send-timer{color:#e5e5e5}
  #azsChatRoot .azs-send-timer::before{content:"";position:absolute;inset:5px;border-radius:999px;background:conic-gradient(#94a3b8 var(--azs-send-progress),rgba(148,163,184,.20) 0)}
  #azsChatRoot .azs-send-timer::after{content:"";position:absolute;inset:9px;border-radius:999px;background:#e5e7eb}
  html.dark #azsChatRoot .azs-send-timer::after{background:#262626}
  #azsChatRoot .azs-send-timer span{position:relative;z-index:1}
  #azsChatRoot .azs-send-btn.is-cooldown .azs-send-icon{display:none}
  #azsChatRoot .azs-send-btn.is-cooldown .azs-send-timer{display:flex}
  #azsChatRoot .azs-login-box{border-radius:18px;border:1px solid rgba(186,230,253,.76);background:rgba(240,249,255,.86);padding:14px}
  html.dark #azsChatRoot .azs-login-box{border-color:rgba(8,47,73,.7);background:rgba(8,47,73,.18)}

  @media (max-width:1023px){
    #azsChatRoot{--azs-chat-mobile-height:calc(var(--azs-chat-vh,100svh) - 150px)}
    #azsChatRoot .azs-chat-grid{grid-template-columns:minmax(0,1fr)}
    #azsChatRoot .azs-chat-aside{position:relative;top:auto}
    #azsChatRoot .azs-chat-aside-scroll{display:none}
    #azsChatRoot .azs-mobile-select{display:block}
    #azsChatRoot .azs-chat-shell{min-height:0}
    #azsChatRoot .azs-chat-dialog{height:var(--azs-chat-mobile-height);min-height:460px;max-height:var(--azs-chat-mobile-height)}
    #azsChatRoot.is-mobile-keyboard .azs-chat-dialog{min-height:0!important}
    #azsChatRoot.is-mobile-keyboard .azs-chat-scroll{overscroll-behavior:contain}
    #azsChatRoot.is-mobile-keyboard .azs-compose-row{padding-bottom:8px}
  }
  @media (max-width:767px){
    #azsChatRoot{margin-left:-8px;margin-right:-8px;--azs-chat-mobile-height:calc(var(--azs-chat-vh,100svh) - 132px)}
    #azsChatRoot .azs-chat-aside,#azsChatRoot .azs-chat-shell{border-radius:20px}
    #azsChatRoot .azs-chat-grid{gap:10px}
    #azsChatRoot .azs-chat-aside{padding:10px}
    #azsChatRoot .azs-chat-top{padding:9px 9px 0}
    #azsChatRoot .azs-chat-topbar{min-height:54px;border-radius:19px;padding:9px 10px}
    #azsChatRoot .azs-chat-title h2{font-size:15px}
    #azsChatRoot .azs-chat-title div{font-size:11px}
    #azsChatRoot .azs-refresh-btn{width:39px;height:39px;border-radius:14px}
    #azsChatRoot .azs-chat-scroll{padding:10px 8px 12px}
    #azsChatRoot .azs-msg-body{max-width:91%}
    #azsChatRoot .azs-msg-avatar{width:31px;height:31px;border-radius:12px}
    #azsChatRoot .azs-msg-author{font-size:11px;margin-bottom:2px}
    #azsChatRoot .azs-compose-row{gap:7px;padding:9px 9px 11px}
    #azsChatRoot .azs-composer-shell{min-height:49px;padding-right:48px}
    #azsChatRoot .azs-chat-input{min-height:43px;padding:10px 0 10px 19px;font-size:16px}
    #azsChatRoot .azs-composer-inside-actions{right:9px}
    #azsChatRoot .azs-action-swap{width:49px;height:49px}
    #azsChatRoot .azs-emoji-panel{left:10px;right:10px;bottom:60px;grid-template-columns:repeat(8,minmax(0,1fr));max-width:none;max-height:min(260px,44vh);padding:9px}
    #azsChatRoot .azs-emoji-panel button{width:auto;height:36px}
    #azsChatRoot .azs-actions-menu{max-width:calc(100vw - 34px);overflow:auto}
    #azsChatRoot.is-mobile-keyboard-open{position:fixed!important;left:0!important;right:0!important;top:var(--azs-visual-top,0px)!important;bottom:auto!important;width:100vw!important;height:var(--azs-visual-height,100dvh)!important;max-height:var(--azs-visual-height,100dvh)!important;margin:0!important;padding:calc(env(safe-area-inset-top,0px) + 6px) 7px 6px!important;z-index:2147483000!important;overflow:hidden!important;background:#050505!important;box-sizing:border-box!important}
    html.azs-chat-keyboard-lock,body.azs-chat-keyboard-lock{overflow:hidden!important;height:100%!important;overscroll-behavior:none!important}
    #azsChatRoot.is-mobile-keyboard-open .azs-chat-grid{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:0!important}
    #azsChatRoot.is-mobile-keyboard-open .azs-chat-aside{display:none!important}
    #azsChatRoot.is-mobile-keyboard-open .azs-chat-shell{flex:1 1 auto!important;min-height:0!important;height:100%!important;max-height:100%!important;border-radius:20px!important;overflow:hidden!important}
    #azsChatRoot.is-mobile-keyboard-open .azs-chat-dialog{height:100%!important;min-height:0!important;max-height:100%!important;border-radius:20px!important;display:flex!important;flex-direction:column!important}
    #azsChatRoot.is-mobile-keyboard-open .azs-chat-top{flex:0 0 auto!important}
    #azsChatRoot.is-mobile-keyboard-open .azs-chat-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}
    #azsChatRoot.is-mobile-keyboard-open .azs-composer{flex:0 0 auto!important;padding-bottom:0!important}
    #azsChatRoot.is-mobile-keyboard-open .azs-compose-row{padding:8px 8px max(8px,env(safe-area-inset-bottom,0px))!important}
  }
  @supports (height:100dvh){
    @media (max-width:1023px){#azsChatRoot{--azs-chat-vh:100dvh}}
  }
