.chagency-settings-column{box-sizing:border-box;margin:0 auto;max-width:720px;padding:24px 24px 48px;width:100%}.chagency-provider-row{border-bottom:1px solid var(--wpds-color-stroke-surface-neutral-weak,#e0e0e0);padding:12px 0}.chagency-providers .chagency-provider-row:last-child{border-bottom:0}.chagency-provider-row__name{display:flex;flex:1 1 auto;flex-direction:column;min-width:0}.chagency-badge{border-radius:12px;display:inline-block;font-size:11px;font-weight:600;line-height:1.6;padding:2px 10px;white-space:nowrap}.chagency-badge--ok{background:#e6f6ec;color:#1c6b3a}.chagency-badge--warn{background:#fef3d4;color:#6b5113}.chagency-placeholders{font-size:13px}.chagency-placeholders summary{color:var(--wpds-color-fg-content-neutral-weak,#6d6d6d);cursor:pointer}.chagency-placeholders ul{color:var(--wpds-color-fg-content-neutral,#1e1e1e);margin:8px 0 0;padding-left:20px}.chagency-placeholders li{margin:4px 0}.chagency-placeholders code{background:var(--wpds-color-bg-surface-neutral,#f4f4f4);border-radius:3px;font-size:12px;padding:1px 5px}.chagency{--chagency-accent:var(--wp-admin-theme-color,#1f1f1f);--chagency-accent-hover:color-mix(in srgb,var(--chagency-accent) 85%,#000);--chagency-bg:#fff;--chagency-bg-soft:#f6f7f9;--chagency-text:#1f1f1f;--chagency-text-soft:#6d6d6d;--chagency-border:#e6e8eb;--chagency-shadow:0 12px 40px rgba(15,23,42,.18);--chagency-radius:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;z-index:99999}.chagency--frontend{--chagency-accent:#1f2937;--chagency-accent-hover:#0f172a}.chagency-launcher{align-items:center;background:var(--chagency-accent);border:0;border-radius:50%;bottom:24px;box-shadow:0 6px 18px rgba(15,23,42,.22);color:#fff;cursor:pointer;display:inline-flex;height:56px;justify-content:center;position:fixed;right:24px;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;width:56px;z-index:99999}.chagency-launcher:hover{background:var(--chagency-accent-hover);box-shadow:0 10px 24px rgba(15,23,42,.28);transform:translateY(-1px)}.chagency-launcher:focus-visible{outline:2px solid var(--chagency-accent);outline-offset:3px}.chagency-launcher__badge{align-items:center;background:#e84a4a;border-radius:10px;box-shadow:0 0 0 2px #fff;color:#fff;display:inline-flex;font-size:11px;font-weight:700;height:20px;justify-content:center;line-height:1;min-width:20px;padding:0 5px;position:absolute;right:-4px;top:-4px}.chagency-panel{animation:chagencyPop .18s ease-out;background:var(--chagency-bg);border:1px solid var(--chagency-border);border-radius:var(--chagency-radius);bottom:24px;box-shadow:var(--chagency-shadow);display:flex;flex-direction:column;height:min(580px,calc(100vh - 96px));max-width:calc(100vw - 32px);overflow:hidden;position:fixed;right:24px;transform-origin:bottom right;width:380px;z-index:99999}@keyframes chagencyPop{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media (prefers-reduced-motion:reduce){.chagency-panel{animation:none}}.chagency-panel__header{align-items:center;background:var(--chagency-accent);color:#fff;display:flex;flex:0 0 auto;justify-content:space-between;padding:12px 14px}.chagency-panel__title{align-items:center;display:inline-flex;font-size:14px;font-weight:600;gap:8px;letter-spacing:.01em}.chagency-panel__dot{animation:chagencyPulse 2.4s ease-out infinite;background:#7dd892;border-radius:50%;box-shadow:0 0 0 0 rgba(125,216,146,.55);height:8px;width:8px}@keyframes chagencyPulse{0%{box-shadow:0 0 0 0 rgba(125,216,146,.55)}70%{box-shadow:0 0 0 8px rgba(125,216,146,0)}to{box-shadow:0 0 0 0 rgba(125,216,146,0)}}@media (prefers-reduced-motion:reduce){.chagency-panel__dot{animation:none}}.chagency-panel__actions{align-items:center;display:flex;gap:4px}.chagency-panel__action{align-items:center;background:transparent;border:0;border-radius:6px;color:hsla(0,0%,100%,.85);cursor:pointer;display:inline-flex;height:28px;justify-content:center;min-width:28px;padding:0 4px;transition:background .15s ease,color .15s ease}.chagency-panel__action:disabled{cursor:not-allowed;opacity:.5}.chagency-panel__action:hover:not(:disabled){background:hsla(0,0%,100%,.12);color:#fff}.chagency-panel__action--text{font-size:12px;font-weight:500;padding:0 8px}.chagency-panel__body{background:var(--chagency-bg-soft);display:flex;flex:1 1 auto;flex-direction:column;gap:10px;overflow-y:auto;padding:16px}.chagency-bubble{border-radius:14px;color:var(--chagency-text);font-size:13.5px;line-height:1.5;max-width:85%;overflow-wrap:anywhere;padding:10px 12px;white-space:pre-wrap;word-break:break-word}.chagency-bubble--assistant{align-self:flex-start;background:#fff;border:1px solid var(--chagency-border);border-bottom-left-radius:4px}.chagency-bubble--user{align-self:flex-end;background:var(--chagency-accent);border-bottom-right-radius:4px;color:#fff}.chagency-bubble--error{background:#fcf0f1;border-color:#f0b7b8;color:#b32d2e;font-style:italic}.chagency-bubble--pending{align-items:center;background:#fff;border:1px solid var(--chagency-border);color:var(--chagency-text-soft);display:inline-flex;gap:8px;padding:12px 14px}.chagency-typing{align-items:center;display:inline-flex;gap:4px;height:10px}.chagency-typing__dot{animation:chagencyTypingBounce 1.2s ease-in-out infinite;background:var(--chagency-text-soft);border-radius:50%;height:6px;width:6px}.chagency-typing__dot:nth-child(2){animation-delay:.15s}.chagency-typing__dot:nth-child(3){animation-delay:.3s}@keyframes chagencyTypingBounce{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.chagency-typing__dot{animation:none;opacity:.6}}.chagency-bubble--assistant blockquote,.chagency-bubble--assistant ol,.chagency-bubble--assistant p,.chagency-bubble--assistant pre,.chagency-bubble--assistant ul{margin:0 0 8px}.chagency-bubble--assistant>:last-child{margin-bottom:0}.chagency-bubble--assistant ol,.chagency-bubble--assistant ul{padding-inline-start:20px}.chagency-bubble--assistant li{margin:2px 0}.chagency-bubble--assistant code{background:var(--chagency-bg-soft);border-radius:3px;font-family:Menlo,Consolas,monaco,monospace;font-size:12px;padding:1px 5px}.chagency-bubble--assistant pre{background:var(--chagency-bg-soft);border-radius:6px;font-size:12px;overflow-x:auto;padding:8px 10px}.chagency-bubble--assistant pre code{background:transparent;font-size:12px;padding:0}.chagency-bubble--assistant a{color:var(--chagency-accent);text-decoration:underline}.chagency-bubble--assistant h1,.chagency-bubble--assistant h2,.chagency-bubble--assistant h3,.chagency-bubble--assistant h4{font-size:14px;font-weight:600;line-height:1.3;margin:8px 0 4px}.chagency-bubble--assistant strong{font-weight:600}.chagency-bubble--assistant em{font-style:italic}.chagency-panel__composer{align-items:flex-end;background:#fff;border-top:1px solid var(--chagency-border);display:flex;flex:0 0 auto;gap:8px;padding:10px 12px}.chagency-input{background:var(--chagency-bg-soft);border:1px solid var(--chagency-border);border-radius:12px;box-sizing:border-box;color:var(--chagency-text);flex:1 1 auto;font-family:inherit;font-size:13.5px;line-height:1.4;max-height:120px;min-height:40px;min-width:0;outline:none;padding:10px 12px;resize:none;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.chagency-input::-moz-placeholder{color:var(--chagency-text-soft)}.chagency-input::placeholder{color:var(--chagency-text-soft)}.chagency-input:focus{background:#fff;border-color:var(--chagency-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--chagency-accent) 18%,transparent)}.chagency-input:disabled{cursor:not-allowed;opacity:.7}.chagency-send{align-items:center;background:var(--chagency-accent);border:0;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;flex:0 0 auto;height:40px;justify-content:center;transition:background .15s ease,transform .15s ease,opacity .15s ease;width:40px}.chagency-send:disabled{cursor:not-allowed;opacity:.4}.chagency-send:hover:not(:disabled){background:var(--chagency-accent-hover)}.chagency-send:active:not(:disabled){transform:scale(.96)}.chagency--frontend .chagency-launcher,.chagency--frontend .chagency-panel{z-index:999999}@media (max-width:480px){.chagency-panel{bottom:8px;height:min(640px,calc(100vh - 16px));left:8px;max-width:none;right:8px;width:auto}.chagency-launcher{bottom:16px;right:16px}}.chagency-snackbars{align-items:center;bottom:24px;display:flex;flex-direction:column;gap:8px;left:0;pointer-events:none;position:fixed;right:0;z-index:100000}.chagency-snackbars .components-snackbar{margin:0;max-width:520px;pointer-events:auto}
