/* XSIZE CRM v1.2 — unified site chat / API settings */
.settings-site-chat .integration-subhead{margin-top:22px}
.site-chat-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0 18px}
.sc-status-card{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--border,#e8e3ef);border-radius:12px;padding:11px 12px;background:var(--panel,#fff)}
.sc-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700;white-space:nowrap}
.sc-pill.ok{background:#e8f7ee;color:#19733c}.sc-pill.bad{background:#fdecec;color:#a52a2a}
.site-chat-inline{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.site-chat-icon-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.site-chat-icon-row img{width:76px;height:76px;object-fit:contain;border-radius:50%;border:1px solid var(--border,#e8e3ef);background:#fff}
.site-chat-icon-row input[type=file]{min-width:0;max-width:360px;flex:1 1 240px}.site-chat-icon-row .btn{flex:0 0 auto}
@media(max-width:780px){.site-chat-status-grid{grid-template-columns:1fr 1fr}.site-chat-inline{align-items:flex-start}.site-chat-icon-row img{width:64px;height:64px}}
.yc-token-note{margin:6px 0 10px;padding:9px 11px;border:1px solid #dbeafe;border-radius:10px;background:#eff6ff;color:#33527a;font-size:11px;line-height:1.45}.yc-token-note b{color:#1d4ed8}

.yc-marketplace-warning{display:inline-block;padding:10px 12px;border:1px solid #f0b429;background:#fff8e6;color:#7a4b00;border-radius:10px;line-height:1.35;max-width:820px}.yc-marketplace-warning b{color:#9a3412}
.amo-channels-panel{margin:14px 0 24px;padding:16px;border:1px solid var(--line,#e7e0db);border-radius:14px;background:rgba(255,255,255,.45)}
.amo-channel-intro p{margin:5px 0 12px}.amo-account-id{display:block;max-width:520px;margin:8px 0 12px}
.amo-channel-card{border:1px solid var(--line,#e7e0db);border-radius:12px;padding:12px;margin:10px 0;background:var(--panel,#fff)}
.amo-channel-head,.amo-channel-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.amo-channel-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.amo-channel-fields label{min-width:0}.amo-channel-fields input{width:100%}
@media(max-width:780px){.amo-channel-fields{grid-template-columns:1fr}.amo-channel-head,.amo-channel-actions{align-items:flex-start}}
