/* Duo Add-on v1.1 — CSS variables for easy theming */
:root{--anduo-primary:#22c55e;--anduo-bg:#ffffff;--anduo-hd:#fafafa;--anduo-text:#111827;--anduo-radius:16px;--anduo-shadow:0 10px 30px rgba(0,0,0,0.06)}
.anduo-super{position:relative;max-width:780px;margin:24px auto;border:1px solid #e5e7eb;border-radius:var(--anduo-radius);overflow:hidden;background:var(--anduo-bg);box-shadow:var(--anduo-shadow);font-family:var(--anduo-font,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif);color:var(--anduo-text)}
.anduo-header{padding:14px 16px;border-bottom:1px solid #f0f2f5;background:var(--anduo-hd)}
.anduo-title{font-size:18px;font-weight:600}
.anduo-sub{font-size:12px;opacity:.8}
.anduo-body{padding:14px;height:420px;overflow:auto}
.anduo-suggest{position:sticky;top:0;background:var(--anduo-hd);padding:8px 14px;border-bottom:1px solid #f0f2f5;display:flex;gap:8px;flex-wrap:wrap;z-index:2}
.anduo-chip{border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:8px 12px;font-size:12px;cursor:pointer;position:relative;overflow:hidden}
.anduo-chip.square{border-radius:8px}
.anduo-chip.rounded{border-radius:16px}
.anduo-chip:after{content:'';position:absolute;left:50%;top:50%;width:0;height:0;border-radius:999px;background:rgba(0,0,0,.06);transform:translate(-50%,-50%);transition:width .2s ease,height .2s ease}
.anduo-chip:active:after{width:180%;height:180%}
.anduo-input{display:flex;gap:8px;padding:10px 14px;border-top:1px solid #f0f2f5;background:#fff}
#anduo-input{flex:1;resize:none;height:48px;border:1px solid #e5e7eb;border-radius:12px;padding:10px;font-size:14px}
#anduo-send{border:1px solid var(--anduo-primary);background:var(--anduo-primary);color:#fff;border-radius:12px;padding:10px 16px;font-size:14px;cursor:pointer}
@media (prefers-color-scheme: dark){
  :root{--anduo-bg:#0b0b0b;--anduo-hd:#111213;--anduo-text:#e5e7eb}
  .anduo-super{border-color:#262626}
  .anduo-header{border-color:#262626}
  .anduo-chip{background:#0f0f0f;border-color:#262626}
}
/* Enhance native plugin suggestion rows too */
.agrinovel-chat .suggestions, .ana-suggest, .ancb-suggest{position:sticky;top:0;z-index:3}
.anduo-debug{font-size:11px;color:#9CA3AF;margin:4px 0}
