/* FTC Platform — Social Distribution shared renderer V1.1. Core-owned, selector-scoped. */
.ftc-social{display:grid;gap:18px;color:var(--ftc-text)}
.ftc-social-head{display:flex;gap:18px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}
.ftc-social-head h1,.ftc-social-head h2{margin:.15rem 0;color:var(--ftc-text)}
.ftc-social-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.ftc-social-card{border:1px solid var(--ftc-border);border-radius:16px;padding:16px;background:var(--ftc-surface);color:var(--ftc-text);display:grid;gap:10px}
.ftc-social-card-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.ftc-social-card h3{margin:0;font-size:1rem;color:var(--ftc-text)}
.ftc-social-account{font-size:.9rem;color:var(--ftc-text-muted)}
.ftc-social-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:.78rem;font-weight:650;background:var(--ftc-surface-soft);color:var(--ftc-text-muted);white-space:nowrap;border:1px solid var(--ftc-border)}
.ftc-social-badge.ok{background:var(--ftc-success-soft);color:var(--ftc-success);border-color:color-mix(in srgb,var(--ftc-success) 28%,var(--ftc-border))}
.ftc-social-badge.warn{background:var(--ftc-warning-soft);color:var(--ftc-warning);border-color:color-mix(in srgb,var(--ftc-warning) 30%,var(--ftc-border))}
.ftc-social-badge.danger{background:var(--ftc-danger-soft);color:var(--ftc-danger);border-color:color-mix(in srgb,var(--ftc-danger) 30%,var(--ftc-border))}
.ftc-social-badge.muted{background:var(--ftc-surface-soft);color:var(--ftc-text-faint);border-color:var(--ftc-border)}
.ftc-social-actions{display:flex;gap:8px;flex-wrap:wrap}
.ftc-social-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.ftc-social-kpi{padding:14px;border:1px solid var(--ftc-border);border-radius:14px;background:var(--ftc-surface);color:var(--ftc-text)}
.ftc-social-kpi strong{display:block;font-size:1.35rem;color:var(--ftc-text)}
.ftc-social-kpi span{color:var(--ftc-text-muted)}
.ftc-social-note{padding:12px 14px;border-radius:12px;background:var(--ftc-surface-soft);color:var(--ftc-text-muted);font-size:.9rem;border:1px solid var(--ftc-border)}
.ftc-social-error{font-size:.82rem;color:var(--ftc-danger)}
.ftc-social-divider{height:1px;background:var(--ftc-border);margin:4px 0}
.ftc-social-small{font-size:.82rem;color:var(--ftc-text-muted)}
.ftc-social-steps{display:grid;gap:0}
.ftc-social-step{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 8px;border-bottom:1px solid var(--ftc-border);color:var(--ftc-text)}
.ftc-social-step:last-child{border-bottom:0}
.ftc-social-quiet{color:var(--ftc-text-faint);font-size:.83rem}
.ftc-social-radio{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--ftc-border);border-radius:12px;background:var(--ftc-surface-soft);color:var(--ftc-text)}
.ftc-social-radio input{margin-top:4px;width:auto;min-height:0;padding:0}
.ftc-social-card-gap{margin-top:18px}.ftc-social-panel-gap{margin-top:22px}

/* DMD-063-C — picker canônico de contas descobertas em Cliente > Canais. */
.ftc-social-account-picker{margin-top:16px;padding-top:16px;border-top:1px solid var(--ftc-border);display:grid;gap:14px}
.ftc-social-account-group{display:grid;gap:8px}
.ftc-social-account-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--ftc-text)}
.ftc-social-account-group-head span{font-size:.82rem;color:var(--ftc-text-muted)}
.ftc-social-account-list{display:grid;gap:8px}
.ftc-social-account-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid var(--ftc-border);border-radius:12px;background:var(--ftc-surface-soft);color:var(--ftc-text)}
.ftc-social-account-row>div:first-child{display:grid;gap:2px;min-width:0}
.ftc-social-account-row strong{color:var(--ftc-text);overflow-wrap:anywhere}
.ftc-social-account-row span{color:var(--ftc-text-muted);font-size:.82rem;overflow-wrap:anywhere}
.ftc-social-account-row-action{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto}
.ftc-social-account-row-action form{margin:0}
@media(max-width:760px){.ftc-social-account-row,.ftc-social-account-group-head{align-items:flex-start;flex-direction:column}.ftc-social-account-row-action{width:100%;justify-content:flex-start}}
