#social-hub { max-width: 1400px; margin: 0 auto; color: var(--offwhite, #18202a); }
#social-hub h1 { font-size: 26px; margin: 4px 0 6px; }
#social-hub h2 { font-size: 18px; margin: 20px 0 12px; }
#social-hub h3 { font-size: 16px; margin: 4px 0; overflow-wrap: anywhere; }
#social-hub p { line-height: 1.5; margin: 8px 0; overflow-wrap: anywhere; }
#social-hub small, .social-help, .social-foot { color: #64748b; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.social-heading, .social-card > header, .social-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.social-heading { margin-bottom: 16px; }
.social-heading p { color: #64748b; }
.social-notice { background: #edf5ff; color: #0a3767; border: 1px solid #d2e5fa; padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.5; }
.social-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 16px 0; }
.social-stats > div { padding: 14px; background: var(--surface, #fff); border: 1px solid #e1e7ef; border-radius: 10px; display: grid; gap: 3px; }
.social-stats strong { font-size: 25px; color: #006fd6; }
.social-stats span { font-size: 12px; }
.social-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #edf1f6; border-radius: 10px; margin-bottom: 18px; }
.social-tabs button { border: 0; background: transparent; color: #334155; padding: 11px 14px; font: inherit; font-size: 13px; border-radius: 8px; cursor: pointer; }
.social-tabs button.active { background: #fff; color: #006fd6; box-shadow: 0 1px 4px #18202a15; font-weight: 600; }
.social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.social-list { display: grid; gap: 12px; }
.social-card { min-width: 0; padding: 16px; border: 1px solid #e1e7ef; border-radius: 12px; background: var(--surface, #fff); margin-bottom: 10px; }
.social-card code { overflow-wrap: anywhere; font-size: 11px; }
.social-badge { display: inline-flex; padding: 5px 8px; border-radius: 6px; background: #eef2f6; color: #475569; font-size: 11px; font-weight: 600; white-space: nowrap; }
.social-awaiting_approval, .social-scheduled { color: #865500; background: #fff4d8; }
.social-running { color: #005bad; background: #e1f0ff; }
.social-approved, .social-completed { color: #126c3b; background: #e6f5ed; }
.social-error { color: #a12626; background: #fff0f0; padding: 10px; border-radius: 6px; }
.social-caption { white-space: pre-wrap; max-height: 180px; overflow: auto; font-size: 14px; }
.social-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.social-toolbar { margin-bottom: 12px; justify-content: flex-start; }
.social-toolbar h2 { margin: 0; margin-right: auto; }
#social-hub label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; min-width: 0; }
#social-hub input, #social-hub select, #social-hub textarea { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #cbd5e1; border-radius: 7px; padding: 10px; font: inherit; background: var(--surface, white); color: inherit; }
.social-form { display: grid; gap: 14px; }
.social-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.social-schedule { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 14px; }
.social-schedule label { flex: 1; min-width: 180px !important; }
.social-empty { padding: 35px 18px; text-align: center; border: 1px dashed #cbd5e1; border-radius: 10px; color: #64748b; }
.social-worker { border-left: 3px solid #006fd6; padding: 8px 14px; margin: 15px 0; font-size: 13px; }
.social-events article { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid #e1e7ef; font-size: 12px; }
.social-events time { min-width: 120px; color: #64748b; }
.social-events p { margin: 4px 0 !important; }
.social-foot { margin: 20px 0; }
#social-hub details { padding: 10px 0; font-size: 12px; }
#social-hub summary { cursor: pointer; color: #006fd6; }
.social-requirements { list-style: none; padding: 0; margin: 14px 0; font-size: 12px; color: #475569; }
.social-requirements li { margin: 9px 0; line-height: 1.5; }
.social-requirements span { color: #006fd6; font-weight: 700; }
.social-connections { margin-top: 14px; }
.social-connections .social-badge { white-space: normal; }
#social-hub button:disabled { cursor: not-allowed; opacity: .6; }
#social-hub button:focus-visible, #social-hub summary:focus-visible { outline: 3px solid #83b8ed; outline-offset: 2px; }
@media (max-width: 900px) { .social-grid { grid-template-columns: 1fr; } .social-form-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .app-shell:has(#social-hub) .topbar.lotus-topbar { gap: 6px; }
  .app-shell:has(#social-hub) .header-brand { display: none; }
  #social-hub h1 { font-size: 22px; } .social-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .social-stats > div { padding: 9px; } .social-stats strong { font-size: 21px; } .social-stats span { font-size: 11px; }
  .social-tabs button { flex: 1 1 40%; padding: 10px 7px; }
  .social-form-grid { grid-template-columns: 1fr; } .social-events article { flex-direction: column; gap: 3px; }
  .social-card { padding: 13px; } .social-toolbar label { flex: 1; } .social-toolbar h2 { flex-basis: 100%; }
  .social-schedule { flex-direction: column; align-items: stretch; } .social-schedule label { min-width: 0 !important; }
}
