#social-app{display:grid;gap:24px;min-width:0}.social-connection{padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--surface);display:flex;gap:20px;flex-wrap:wrap;justify-content:space-between;align-items:center}.social-setup{width:100%;border-top:1px solid var(--border);padding-top:16px}.social-setup summary{font-weight:700;min-height:44px}.social-setup form{max-width:640px;margin-top:16px}.social-setup code{overflow-wrap:anywhere}.social-workspace{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:24px;align-items:start}.social-plan,.social-editor{min-width:0;display:grid;gap:20px}.social-plan{padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:20px}.social-editor{padding:28px;background:var(--surface);border:1px solid var(--border);border-radius:20px}.social-filters{display:flex;flex-wrap:wrap;gap:10px}.social-filters select{flex:1;min-width:150px}.social-post-list{display:grid;gap:12px;max-height:640px;overflow:auto}.social-post{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--fg);border-radius:14px;padding:18px;text-align:left;min-width:0;cursor:pointer}.social-post:hover,.social-post.selected{background:var(--accent-soft)}.social-post strong{overflow-wrap:anywhere;line-height:1.5}.social-post small{color:var(--muted);font-size:12px}.social-status{font-size:12px;font-weight:700;line-height:1.5}.social-status-failed,.social-status-uncertain{color:var(--danger)}.social-assets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px}.social-assets:empty{display:none}.social-asset{display:grid;gap:10px;min-width:0}.social-asset img,.social-asset video{width:100%;max-height:320px;object-fit:contain;border-radius:14px;background:var(--bg)}.social-asset .hint{overflow-wrap:anywhere}.social-drop{padding:28px 20px;border:1px dashed var(--border);border-radius:16px;background:var(--bg);display:grid;gap:14px;justify-items:start}.social-drop.is-dragover{background:var(--accent-soft);border-color:var(--accent)}.social-drop progress{width:100%;height:12px;accent-color:var(--accent)}.social-publish-actions{display:grid;gap:16px;padding-top:20px;border-top:1px solid var(--border)}.social-preview{display:grid;gap:14px;background:var(--bg);color:var(--fg);padding:22px;border:1px solid var(--border);border-radius:16px;overflow-wrap:anywhere}.social-preview p{white-space:pre-wrap;font-size:14px}.social-preview img{max-width:100%;max-height:480px;object-fit:contain;border-radius:12px}.social-calendar{min-width:0;overflow:auto;font-size:12px;--fc-border-color:var(--border);--fc-page-bg-color:var(--surface);--fc-today-bg-color:var(--accent-soft)}.social-calendar .fc-toolbar-title{font-size:16px!important}.social-calendar a{color:var(--fg)}.social-calendar .fc-button{min-height:40px;background:var(--surface);color:var(--fg);border-color:var(--border)}@media(max-width:1000px){.social-workspace{grid-template-columns:1fr}.social-post-list{max-height:400px}.social-editor{padding:24px}}@media(max-width:760px){.social-connection,.social-plan,.social-editor{padding:20px}.social-connection>.viz-row{width:100%}.social-connection>.viz-row .btn{flex:1}.social-filters>*{width:100%}.social-drop{padding:24px 16px}.social-calendar .fc-toolbar{flex-direction:column;gap:12px}.social-publish-actions .viz-row .btn{width:100%}}
@media(min-width:1001px){.social-plan{position:sticky;top:0;align-self:start}.social-post-list{max-height:55vh}}.social-calendar .fc-button{min-height:44px}
.social-workspace.social-calendar-mode{grid-template-columns:1fr}.social-calendar-mode .social-plan{position:static}
