/* The social studio. The tab strip is the same segmented switch the word tools use. */

.social__tabs { align-self: flex-start; max-width: 100%; margin: 0 0 1rem; }
.social__tabs .social__tab { display: inline-flex; align-items: center; gap: 0.35rem; }
.social__tab svg { width: 0.9rem; height: 0.9rem; flex: none; opacity: 0.75; }
.ui-seg .social__tab.active { background: var(--rl-surface); color: var(--rl-text); font-weight: 600; box-shadow: var(--rl-shadow-sm); }
.ui-seg .social__tab.active svg { color: var(--rl-accent); opacity: 1; }

.social__colors { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.social__color { display: flex; align-items: center; gap: 0.45rem; }
.social__color input[type="color"] {
    width: 2.1rem; height: 2.1rem; padding: 0; border: 1px solid var(--rl-border); border-radius: 0.35rem;
    background: none; cursor: pointer;
}
.social__color input[type="text"] { width: 7rem; }

.social__checks { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
.social__checks .check { margin: 0; }

.social__meter { margin: 0.35rem 0 0; color: var(--rl-text-muted); font-size: 0.82rem; }
.social__meter.is-over { color: var(--rl-danger); }

.social__pick {
    width: 100%; text-align: left; background: none; border: 0; color: inherit; font: inherit; cursor: pointer;
}
.social__pick.is-on { background: color-mix(in srgb, var(--rl-accent) 12%, transparent); }

.social__post { padding: 0.85rem 0; border-bottom: 1px solid var(--rl-border); }
.social__post:last-child { border-bottom: 0; }
.social__post h3 { margin: 0 0 0.2rem; font-size: 1rem; }
.social__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-top: 0.65rem; }
.social__actions .field { margin: 0; min-width: 10rem; }
.social__note { flex: 1 1 14rem; }

.social .field__label { font-weight: 600; font-size: 0.9rem; }
