 /* ✅ FULLY SCOPED (won't break WoWonder) */
  #exx2-secretary-widget{
    --exx2-bg1:#050712; --exx2-bg2:#0A1124;
    --exx2-border: rgba(148,163,184,.18);
    --exx2-text:#E5E7EB;
    --exx2-cyan:#00f2ff; --exx2-purple:#A78BFA;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  }

  /* Floating button */
  #exx2-secretary-widget #exx-open-btn{
    position:fixed; right:20px; bottom:46px;
    width:62px;height:62px;border-radius:18px;
    border:1px solid rgba(148,163,184,.22);
    background: linear-gradient(135deg, rgba(0,242,255,.18), rgba(167,139,250,.16));
    box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 25px rgba(0,242,255,.20), 0 0 60px rgba(167,139,250,.18);
    display:flex;align-items:center;justify-content:center;
    cursor:pointer; z-index:999999999;
    transition: transform .18s ease;
  }
  #exx2-secretary-widget #exx-open-btn:hover{ transform: translateY(-2px) scale(1.05); }

  /* Backdrop */
  #exx2-secretary-widget #exx-backdrop{ position:fixed; inset:0; background: rgba(0,0,0,.45); z-index:999999997; display:none; }
  #exx2-secretary-widget #exx-backdrop.show{ display:block; }

  /* Panel */
  #exx2-secretary-widget #exx-panel{
    position:fixed; top:0; right:0; height:100vh; width:730px; max-width:100%;
    transform: translateX(110%);
    transition: transform .32s cubic-bezier(.2,.9,.2,1);
    z-index:999999998;
    background:
      radial-gradient(1100px 700px at 15% 15%, rgba(0,242,255,.16), transparent 60%),
      radial-gradient(900px 600px at 90% 10%, rgba(167,139,250,.14), transparent 55%),
      linear-gradient(180deg, var(--exx2-bg1), var(--exx2-bg2));
    border-left:1px solid rgba(148,163,184,.16);
    box-shadow: -18px 0 70px rgba(0,0,0,.55);
    overflow:hidden;
    display:flex;flex-direction:column;
  }
  #exx2-secretary-widget #exx-panel.open{ transform: translateX(0); }

  #exx2-secretary-widget .exx2-head{
    display:flex;align-items:center;justify-content:space-between;
    padding:14px;
    border-bottom:1px solid rgba(148,163,184,.16);
    background: linear-gradient(90deg, rgba(0,242,255,.10), rgba(167,139,250,.08));
    backdrop-filter: blur(10px);
  }
  #exx2-secretary-widget .exx2-head h3{ margin:0; font-size:14px; font-weight:900; letter-spacing:.6px; text-transform:uppercase; color:var(--exx2-text); }
  #exx2-secretary-widget .exx2-sub{ margin:3px 0 0; font-size:12px; color:rgba(229,231,235,.70); }

  #exx2-secretary-widget .exx2-close{
    width:38px;height:38px;border-radius:12px;
    border:1px solid rgba(148,163,184,.16);
    background: rgba(255,255,255,.06);
    color: var(--exx2-text);
    cursor:pointer;font-size:22px;
    display:flex;align-items:center;justify-content:center;
  }
  #exx2-secretary-widget .exx2-close:hover{ background: rgba(255,255,255,.10); }

  #exx2-secretary-widget .exx2-body{ flex:1; overflow:auto; padding:16px; }

  /* ✅ STAGE A */
  #exx2-secretary-widget .exx2-stage-two{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:16px;
    padding:10px 2px 6px;
  }
  @media (max-width:480px){ #exx2-secretary-widget .exx2-stage-two{ grid-template-columns:1fr; } }

  #exx2-secretary-widget .exx2-card{
    position:relative;
    border-radius:18px;
    border:1px solid rgba(148,163,184,.16);
    background: rgba(2,6,23,.35);
    padding:18px 14px 14px;
    text-align:center;
    overflow:hidden;
  }
  #exx2-secretary-widget .exx2-card:before{
    content:"";
    position:absolute; inset:-2px;
    background: radial-gradient(500px 250px at 50% 0%, rgba(0,242,255,.18), transparent 55%),
                radial-gradient(420px 240px at 50% 100%, rgba(167,139,250,.14), transparent 60%);
    pointer-events:none;
  }

  #exx2-secretary-widget .exx2-ring{
    width:170px;height:170px;margin:0 auto 10px;
    border-radius:50%;
    position:relative;
    display:flex;align-items:center;justify-content:center;
  }
  #exx2-secretary-widget .exx2-ring:before{
    content:"";
    position:absolute; inset:-4px;
    border-radius:50%;
    background: conic-gradient(from 220deg, rgba(0,242,255,.95), rgba(167,139,250,.95), rgba(96,165,250,.90), rgba(0,242,255,.95));
    filter: drop-shadow(0 0 18px rgba(0,242,255,.22));
  }
  #exx2-secretary-widget .exx2-ring:after{
    content:"";
    position:absolute; inset:10px;
    border-radius:50%;
    background: rgba(2,6,23,.78);
    border:1px solid rgba(148,163,184,.18);
  }
  #exx2-secretary-widget .exx2-ring img{
    position:relative; z-index:2;
    width:138px;height:138px;border-radius:50%;
    object-fit:cover;
    box-shadow: 0 0 0 3px rgba(255,255,255,.06), 0 0 22px rgba(0,242,255,.16);
  }

  #exx2-secretary-widget .exx2-name{
    position:relative;
    margin-top:2px;
    font-size:20px;
    font-weight:1000;
    letter-spacing:.3px;
    color: rgba(229,231,235,.95);
  }

  #exx2-secretary-widget .exx2-mini{
    position:relative;
    margin-top:12px;
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:center;
  }
  #exx2-secretary-widget .exx2-mini input{
    width: 58%;
    padding:10px 10px;
    border-radius:12px;
    border:1px solid rgba(148,163,184,.16);
    background: rgba(2,6,23,.55);
    color: var(--exx2-text);
    outline:none;
    font-size:12px;
  }
  #exx2-secretary-widget .exx2-mini input::placeholder{ color:rgba(229,231,235,.45); }
  #exx2-secretary-widget .exx2-mini button{
    width: 38%;
    border:0;
    padding:10px 10px;
    border-radius:12px;
    cursor:pointer;
    font-weight:1000;
    font-size:12px;
    color:#041018;
    background: linear-gradient(135deg, rgba(0,242,255,.95), rgba(167,139,250,.85));
    pointer-events:auto; /* ✅ clickable */
    position:relative;
    z-index:5;
  }

  #exx2-secretary-widget .exx2-live{
    position:relative;
    margin-top:10px;
    font-size:11px;
    color: rgba(229,231,235,.65);
  }

  /* Stage B (picker) */
  #exx2-secretary-widget .exx2-stage-picker{ display:none; }
  #exx2-secretary-widget .exx2-topbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; gap:10px; }
  #exx2-secretary-widget .exx2-back-btn{
    border:1px solid rgba(148,163,184,.16);
    background: rgba(255,255,255,.06);
    color: rgba(229,231,235,.85);
    padding:8px 10px;
    border-radius:12px;
    cursor:pointer;
    font-weight:900;
    font-size:12px;
  }
  #exx2-secretary-widget .exx2-mode-pill{
    font-size:12px;
    color:#041018;
    font-weight:900;
    padding:6px 10px;
    border-radius:999px;
    background: linear-gradient(135deg, rgba(0,242,255,.95), rgba(167,139,250,.85));
  }
  #exx2-secretary-widget .exx2-singlebox{
    border:1px solid rgba(148,163,184,.16);
    background: rgba(2,6,23,.30);
    border-radius:16px;
    padding:12px;
  }
  #exx2-secretary-widget .exx2-box-title{
    margin:0 0 10px 0;
    font-size:12px;
    font-weight:900;
    letter-spacing:.6px;
    text-transform:uppercase;
    color: rgba(229,231,235,.85);
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  #exx2-secretary-widget .exx2-badge{
    font-size:11px;
    padding:4px 8px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,.18);
    background: rgba(255,255,255,.06);
    color: rgba(229,231,235,.70);
  }
  #exx2-secretary-widget .exx2-grid5{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:10px;
  }
  #exx2-secretary-widget .exx2-grid5 .exx2-item:last-child{ grid-column: 1 / -1; }

  #exx2-secretary-widget .exx2-item{
    cursor:pointer;
    border:1px solid rgba(148,163,184,.14);
    background: rgba(2,6,23,.35);
    border-radius:14px;
    padding:10px 8px;
    text-align:center;
    transition:.15s ease;
  }
  #exx2-secretary-widget .exx2-item:hover{ transform: translateY(-2px); border-color: rgba(0,242,255,.35); }
  #exx2-secretary-widget .exx2-item.exx2-selected{
    border-color: rgba(0,242,255,.60);
    box-shadow: 0 0 0 2px rgba(0,242,255,.12), 0 0 22px rgba(0,242,255,.16);
  }
  #exx2-secretary-widget .exx2-ring-sm{
    width:78px;height:78px;margin:2px auto 8px auto;border-radius:50%;
    position:relative;display:flex;align-items:center;justify-content:center;
  }
  #exx2-secretary-widget .exx2-ring-sm:before{
    content:""; position:absolute; inset:-3px; border-radius:50%;
    background: conic-gradient(from 210deg, rgba(0,242,255,.95), rgba(167,139,250,.95), rgba(96,165,250,.95), rgba(0,242,255,.95));
  }
  #exx2-secretary-widget .exx2-ring-sm:after{
    content:""; position:absolute; inset:6px; border-radius:50%;
    background: rgba(2,6,23,.70);
    border:1px solid rgba(148,163,184,.16);
  }
  #exx2-secretary-widget .exx2-ring-sm img{
    position:relative; z-index:2;
    width:64px;height:64px;border-radius:50%;
    object-fit:cover;
    box-shadow: 0 0 0 3px rgba(255,255,255,.06), 0 0 18px rgba(0,242,255,.18);
  }
  #exx2-secretary-widget .exx2-lbl{ color:rgba(229,231,235,.85); font-weight:900; font-size:12px; }

  /* Footer */
  #exx2-secretary-widget .exx2-foot{
    padding:14px;
    border-top:1px solid rgba(148,163,184,.16);
    background: linear-gradient(90deg, rgba(0,242,255,.08), rgba(167,139,250,.06));
  }
  #exx2-secretary-widget .exx2-row{ display:flex; gap:10px; }
  #exx2-secretary-widget .exx2-row input{
    flex:1; padding:12px 12px; border-radius:14px;
    border:1px solid rgba(148,163,184,.16);
    background: rgba(2,6,23,.55);
    color: var(--exx2-text);
    outline:none; font-size:13px;
  }
  #exx2-secretary-widget .exx2-row input::placeholder{ color:rgba(229,231,235,.45); }
  #exx2-secretary-widget .exx2-row input:focus{ border-color: rgba(0,242,255,.45); box-shadow: 0 0 0 3px rgba(0,242,255,.12); }
  #exx2-secretary-widget .exx2-row button{
    border:0; padding:12px 14px; border-radius:14px;
    cursor:pointer; font-weight:900; color:#041018;
    background: linear-gradient(135deg, rgba(0,242,255,.95), rgba(167,139,250,.85));
  }
  #exx2-secretary-widget .exx2-error{ margin-top:10px; color:#FB7185; font-size:12px; display:none; }

  /* Parked assistant */
  #exx2-secretary-widget #exx-assistant{
    position:fixed; bottom:120px; right:20px;
    width:120px; z-index:999999996;
    display:none; text-align:center;
  }
  #exx2-secretary-widget #avatar-glow{
    border:3px solid var(--exx2-cyan);
    border-radius:50%;
    overflow:hidden;
    box-shadow: 0 0 15px rgba(0,242,255,.60), 0 0 60px rgba(167,139,250,.22);
    background: rgba(0,0,0,.25);
  }
  #exx2-secretary-widget #avatar-glow img{ width:100%; display:block; }
  #exx2-secretary-widget #active-secretary-name{
    /* background: rgba(0,0,0,.80);
    color: var(--exx2-cyan);
    margin-top:6px;
    font-weight:900;
    border-radius:10px;
    padding:6px 8px;
    font-size:13px; */
     width:100%; margin-top:6px;
    background: var(--exx2-cyan);
    border:none; font-weight:900;
    cursor:pointer; padding:8px 10px;
    border-radius:12px;
    color: #212121;
  }
  #exx2-secretary-widget #talk-trigger{
    /* width:100%; margin-top:6px;
    background: var(--exx2-cyan);
    border:none; font-weight:900;
    cursor:pointer; padding:8px 10px;
    border-radius:12px;
    color: #212121; */

     background: rgba(0,0,0,.80);
    color: var(--exx2-cyan);
    margin-top:6px;
    font-weight:900;
    border-radius:10px;
    padding:6px 8px;
    font-size:13px;
    width: 100%;



  }
  #exx2-secretary-widget #change-trigger{
    display:block;
    margin-top:8px;
    font-size:12px;
     color: var(--exx2-purple);
    /* text-decoration: underline; */
     cursor:pointer;
     background: rgba(0,0,0,.80);
    color: var(--exx2-cyan);
    margin-top:6px;
    font-weight:900;
    border-radius:10px;
    padding:6px 8px;
    font-size:13px;
    width: 100%;
  }