.social-panel { --social-border: #ceddd8; --social-muted: #4d6660; color: #172f29; display: grid; gap: 20px; max-width: 1120px; margin: 0 auto; padding: clamp(14px, 3vw, 28px); box-sizing: border-box; }
.social-panel *, .social-panel *::before, .social-panel *::after { box-sizing: border-box; }
.social-panel h2, .social-panel h3, .social-panel p { margin: 0; }
.social-panel h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.2; }
.social-panel h3 { font-size: 1.15rem; }
.social-panel p { line-height: 1.6; }
.social-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.social-heading > div { display: grid; gap: 8px; }
.social-panel .social-eyebrow { color: #16664d; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.social-card { display: grid; align-content: start; gap: 14px; background: #fff; border: 1px solid var(--social-border); border-radius: 18px; padding: clamp(16px, 2.5vw, 24px); min-width: 0; box-shadow: 0 5px 18px #234a3d08; }
.social-card > p, .social-card small, .social-muted { color: var(--social-muted); }
.social-card small { font-size: .82rem; line-height: 1.5; display: block; }
.social-form { display: grid; gap: 8px; }
.social-form label, .social-filters label { font-weight: 650; font-size: .9rem; }
.social-input-row { display: flex; gap: 8px; flex-wrap: wrap; }
.social-panel input, .social-panel select { min-width: 0; min-height: 44px; border: 1px solid #9cb6ac; border-radius: 10px; padding: 10px 12px; color: #172f29; background: #fff; font: inherit; box-shadow: none; max-width: 100%; }
.social-input-row input { flex: 1 1 160px; width: 100%; }
.social-panel button.social-button { min-height: 44px; border: 1px solid #a4bbb1; border-radius: 10px; padding: 10px 14px; background: #f8fbf9; color: #234a3d; font: inherit; font-size: .87rem; font-weight: 650; box-shadow: none; cursor: pointer; white-space: normal; }
.social-panel button.social-primary { color: #fff; background: #167756; border-color: #167756; }
.social-panel button.social-danger { color: #a32a32; }
.social-panel button:hover:not(:disabled) { background: #eaf4ee; }
.social-panel button.social-primary:hover:not(:disabled) { background: #105a41; }
.social-panel button:disabled, .social-panel select:disabled, .social-panel input:disabled { opacity: .6; cursor: wait; }
.social-panel :is(button,input,select,summary,a):focus-visible { outline: 3px solid #349bca; outline-offset: 3px; }
.social-withdraw { justify-self: start; }
.social-panel .social-notice, .social-empty { background: #edf5f1; border-radius: 10px; padding: 14px; }
.social-panel .social-status { padding: 0; min-height: 0; }
.social-panel .social-status:not(:empty) { padding: 12px 16px; border-radius: 10px; background: #e4f4ec; }
.social-panel .social-error { color: #9b2430; }
.social-panel .social-status.social-error { background: #fff0ef; }
.social-sharing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.social-share-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e4ece8; }
.social-share-row label { font-size: .92rem; flex: 1; overflow-wrap: anywhere; }
.social-share-row select { flex: 0 0 112px; }
.social-people { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.social-person { display: grid; gap: 8px; border-bottom: 1px solid #e4ece8; padding-bottom: 14px; }
.social-person > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.social-person strong { overflow-wrap: anywhere; }
.social-person .social-muted { font-size: .8rem; }
.social-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.social-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; }
.social-filters label { display: grid; gap: 7px; min-width: 0; }
.social-table-wrap { max-width: 100%; overflow-x: auto; }
.social-table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.social-table :is(th,td) { padding: 14px 12px; text-align: right; border-bottom: 1px solid #dce8e1; }
.social-table tr > :first-child { text-align: left; overflow-wrap: anywhere; }
.social-table thead { color: #466457; font-size: .8rem; }
.social-table tbody th { font-weight: 600; }
.social-table .social-me { background: #edf7f1; }
.social-table span { font-size: .8rem; font-weight: 400; }
.social-panel details { display: block; }
.social-panel details[open] > ul { margin-top: 16px; }
.social-panel summary { cursor: pointer; font-weight: 650; padding: 4px; }
.social-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.social-group-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.social-group-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 14px; background: #f2f7f4; border: 1px solid #d9e7df; border-radius: 12px; }
.social-group-card > div { display: grid; gap: 5px; flex: 1 1 180px; min-width: 0; }
.social-group-card strong, .social-group-detail h4 { overflow-wrap: anywhere; }
.social-group-card span { font-size: .85rem; }
.social-group-detail { display: grid; gap: 16px; min-width: 0; border-top: 2px solid #c8ded2; padding-top: 22px; }
.social-group-detail h4 { margin: 0; font-size: 1rem; }
.social-group-detail .social-heading h4 { font-size: 1.25rem; }
.social-group-visibility { display: grid; gap: 8px; font-weight: 650; font-size: .9rem; }
.social-group-consent { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.social-group-consent input { width: 22px; height: 22px; min-height: 22px; flex: 0 0 22px; accent-color: #167756; }
.social-discover[open] { display: grid; gap: 16px; }
.social-panel details.social-discover[open] > ul { margin-top: 0; }
@media (max-width: 720px) {
  .social-grid, .social-sharing { grid-template-columns: 1fr; }
  .social-heading { flex-wrap: wrap; }
  .social-filters { grid-template-columns: 1fr; }
  .social-table :is(th,td) { padding: 12px 7px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .social-panel * { scroll-behavior: auto; } }
