.social-shell{max-width:1180px}
.social-toolbar{display:flex;gap:.55rem;flex-wrap:wrap;margin:1.25rem 0}
.tab{background:#fff;border:1px solid #c9d7e8;color:#17345f;padding:.65rem .9rem;border-radius:.45rem;font-weight:700}
.tab.active{background:#17345f;color:#fff}
.count{display:inline-block;min-width:1.25rem;padding:.05rem .33rem;border-radius:1rem;background:#eaf1fb;color:#17345f;font-size:.78rem}
.tab.active .count{background:#fff;color:#17345f}
.social-panel{display:none}.social-panel.active{display:block}
.composer-card{padding:1.1rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
label{display:grid;gap:.4rem;font-weight:700;color:#17345f;margin:.75rem 0}
input,select,textarea{font:inherit;border:1px solid #b8c7d9;border-radius:.35rem;padding:.6rem;background:#fff;color:#15253d}
textarea{min-height:180px;resize:vertical}
.composer-actions,.dialog-actions{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}
.stack-list{display:grid;gap:.85rem}
.social-item{padding:1rem}.social-item h3{margin:.1rem 0 .45rem}.social-meta{font-size:.82rem;color:#58708e;margin-bottom:.6rem}.post-copy{white-space:pre-wrap;line-height:1.45}
.item-actions{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:.9rem}
.status{font-weight:800;font-size:.78rem;padding:.25rem .5rem;border-radius:1rem;display:inline-block}
.status-DRAFT,.status-CHANGES_REQUESTED{background:#fff1d7;color:#845100}.status-PENDING_APPROVAL,.status-AWAITING_FINAL_CONFIRMATION{background:#e9f1ff;color:#164f94}.status-APPROVED,.status-PENDING_RUNNER,.status-RUNNING{background:#e9f9ee;color:#116331}.status-PUBLISHED{background:#dff7e8;color:#0c6530}.status-REJECTED,.status-FAILED,.status-CANCELLED{background:#fbe8e8;color:#9a2222}
.small-note{font-size:.88rem;color:#556d88}
dialog{border:0;border-radius:.7rem;box-shadow:0 18px 60px rgba(0,0,0,.25);max-width:640px;width:min(92vw,640px)}
dialog::backdrop{background:rgba(11,24,44,.48)}.dialog-card{display:grid;gap:.8rem}.post-preview{border:1px solid #d7e2ef;border-radius:.4rem;padding:.85rem;white-space:pre-wrap;background:#f8fbff}
.platform-card{min-height:180px}.platform-card h3{margin-top:.3rem}
@media(max-width:700px){.form-grid{grid-template-columns:1fr}.social-toolbar{display:grid;grid-template-columns:1fr 1fr}.header-actions{align-items:stretch}.header-actions>*{text-align:center}}
