.catlo-social-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.catlo-social-panel {
  border-top: 1px solid #e2e8f0;
  margin-top: 16px;
  padding-top: 16px;
}

.catlo-social-links,
.catlo-social-actions,
.catlo-social-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catlo-social-links {
  margin-bottom: 12px;
}

.catlo-social-links a,
.catlo-social-tabs a {
  border-radius: 999px;
  color: #334155;
  padding: 7px 11px;
  text-decoration: none;
}

.catlo-social-tabs a[aria-current="page"] {
  background: #e0f2fe;
  color: #075985;
  font-weight: 700;
}

.catlo-social-links a:hover,
.catlo-social-tabs a:hover {
  background: #f0f7f6;
  color: #0f766e;
  text-decoration: none;
}

.catlo-social-form {
  margin: 0;
}

.catlo-social-button {
  background: #0f766e;
  border: 1px solid #0f766e;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;

  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
}

.catlo-social-form--secondary .catlo-social-button {
  background: #fff;
  color: #0f766e;
}

.catlo-social-form--danger .catlo-social-button {
  background: #fff;
  border-color: #b91c1c;
  color: #b91c1c;
}

.catlo-social-button:focus-visible,
.catlo-social-links a:focus-visible,
.catlo-social-tabs a:focus-visible,
.catlo-social-report summary:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

.catlo-social-button:disabled {
  cursor: wait;
  opacity: .6;
}

.catlo-social-report {
  margin-top: 14px;
}

.catlo-social-report form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.catlo-social-report textarea,
.catlo-social-report select {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

.catlo-social-status {
  min-height: 1.4em;
}

.catlo-social-status[data-state="error"] {
  color: #b91c1c;
}

.catlo-social-privacy {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  margin: 0 0 18px;
  padding: 20px;
}

.catlo-social-privacy legend {
  padding:0 8px;
  color:#172033;
  font-size:17px;
  font-weight:700;
}

body.user-profile .catlo-social-privacy .control-group {
  grid-template-columns:minmax(220px,280px) minmax(240px,360px);
  gap:18px;
  align-items:center;
}

body.user-profile .catlo-social-privacy .control-label {
  padding:0;
  white-space:nowrap;
}

body.user-profile .catlo-social-privacy .controls select {
  width:100%;
  max-width:360px;
  min-height:44px;
}

@media(max-width:760px) {
  body.user-profile .catlo-social-privacy .control-group {
    display:block;
  }
  body.user-profile .catlo-social-privacy .control-label {
    display:block;
    padding:0 0 7px;
    white-space:normal;
  }
  body.user-profile .catlo-social-privacy .controls select {
    max-width:none;
  }
}

.catlo-social-list {
  margin: 0 auto;
  max-width: 1080px;
  padding: 24px 16px 48px;
}

.catlo-social-list__header h1 {
  margin: 10px 0 18px;
}

.catlo-social-user-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  list-style: none;
  margin: 22px 0;
  padding: 0;
}

.catlo-social-user-grid a {
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: inherit;
  display: flex;
  gap: 12px;
  min-height: 76px;
  padding: 10px;
  text-decoration: none;
}

.catlo-social-user-grid a:hover {
  background: #f8fafc;
  border-color: #b8d8d1;
  color: #0f766e;
  text-decoration: none;
}

.catlo-social-user-grid img {
  border-radius: 50%;
  object-fit: cover;
}

.catlo-social-user-grid span,
.catlo-social-user-grid small {
  display: block;
}

.catlo-social-user-grid small {
  color: #64748b;
  margin-top: 3px;
}

.catlo-social-pagination {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 520px) {
  .catlo-social-actions > form,
  .catlo-social-actions .catlo-social-button {
    width: 100%;
  }

  .catlo-social-user-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catlo-social-panel * {
    scroll-behavior: auto !important;
  }
}
