:root {
  --faboo-bg: #f4f7fb;
  --faboo-card: #ffffff;
  --faboo-text: #202532;
  --faboo-muted: #6d7482;
  --faboo-border: #e7ebf2;
  --faboo-primary: #088dcd;
  --faboo-primary-dark: #066f9f;
  --faboo-danger: #d94b4b;
  --faboo-soft: #eef8fd;
}

/* Faboo finish release: passkeys, Date Check, vitals and accessibility polish */
.faboo-passkey-login {
  margin-top: 16px;
  display: flex;
}

.faboo-passkey-login .button,
.faboo-passkey-panel .button {
  width: 100%;
  justify-content: center;
}

.faboo-passkey-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  margin: 22px 0;
  border: 1px solid #e3edf7;
  background: #f8fbfe;
  border-radius: 8px;
}

.faboo-passkey-panel h4 {
  margin: 0 0 4px;
  font-size: 17px;
}

.faboo-passkey-panel p {
  margin: 0;
  color: #66758a;
}

.faboo-passkey-list {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.faboo-passkey-row,
.faboo-date-check-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e3edf7;
  background: #fff;
  border-radius: 8px;
}

.faboo-passkey-row span,
.faboo-date-check-list article {
  min-width: 0;
}

.faboo-passkey-row small,
.faboo-date-check-list small {
  display: block;
  color: #6c7a8d;
  line-height: 1.4;
}

.faboo-match-explain {
  margin: 12px 0;
  border: 1px solid #e6eef6;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfdff;
}

.faboo-match-explain summary {
  cursor: pointer;
  font-weight: 700;
  color: #22324a;
}

.faboo-match-explain ul {
  margin: 10px 0 0 18px;
  padding: 0;
  color: #53657c;
}

.faboo-date-check-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.faboo-date-check-list article {
  align-items: flex-start;
  flex-direction: column;
}

.faboo-date-check-list form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-date-check-list .status-needs_help {
  border-color: #fecaca;
  background: #fff7f7;
}

.faboo-date-check-form input,
.faboo-date-check-form textarea {
  width: 100%;
}

.faboo-admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.faboo-admin-kpis article.is-warn {
  border-color: #fed7aa;
  background: #fff8ed;
}

.faboo-admin-kpis article.is-ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(8, 141, 205, .35);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .faboo-passkey-panel,
  .faboo-passkey-row {
    align-items: stretch;
    flex-direction: column;
  }

  .faboo-admin-inline-actions {
    justify-content: stretch;
  }

  .faboo-admin-inline-actions form,
  .faboo-admin-inline-actions button {
    width: 100%;
  }
}

.faboo-admin-feature-grid,
.faboo-admin-export-grid,
.faboo-admin-alert-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.faboo-admin-feature-grid a,
.faboo-admin-export-card,
.faboo-admin-alert-card {
  display: grid;
  gap: 7px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-card);
  color: var(--faboo-text);
  box-shadow: 0 12px 30px rgba(11, 31, 51, .06);
}

.faboo-admin-feature-grid i,
.faboo-admin-export-card i,
.faboo-admin-alert-card i {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(23, 159, 215, .12);
  color: var(--faboo-primary-dark);
  font-size: 20px;
}

.faboo-admin-feature-grid strong,
.faboo-admin-export-card strong,
.faboo-admin-alert-card strong {
  color: var(--faboo-heading);
}

.faboo-admin-feature-grid small,
.faboo-admin-export-card small,
.faboo-admin-alert-card small {
  color: var(--faboo-muted);
}

.faboo-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.faboo-admin-toolbar input,
.faboo-admin-toolbar select {
  min-height: 40px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--faboo-card);
  color: var(--faboo-text);
}

.faboo-admin-directory-row > input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.faboo-admin-profile-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.faboo-admin-profile-card img {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  object-fit: cover;
}

.faboo-admin-list {
  display: grid;
  gap: 10px;
}

.faboo-admin-list p {
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--faboo-border);
}

.faboo-admin-list p:last-child {
  border-bottom: 0;
}

.faboo-admin-alert-card {
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: auto;
  align-items: center;
}

.faboo-admin-table-row.faboo-admin-audit-row em {
  justify-self: start;
  border-radius: 6px;
  padding: 3px 6px;
  background: rgba(23, 159, 215, .10);
  color: var(--faboo-primary-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

body.faboo-theme-dark .faboo-admin-feature-grid a,
body.faboo-theme-dark .faboo-admin-export-card,
body.faboo-theme-dark .faboo-admin-alert-card,
body.faboo-theme-dark .faboo-admin-toolbar input,
body.faboo-theme-dark .faboo-admin-toolbar select {
  background: #121a2b;
  border-color: rgba(255, 255, 255, .12);
}

@media (max-width: 991px) {
  .faboo-admin-feature-grid,
  .faboo-admin-export-grid,
  .faboo-admin-alert-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .faboo-admin-feature-grid,
  .faboo-admin-export-grid,
  .faboo-admin-alert-list,
  .faboo-admin-profile-card {
    grid-template-columns: 1fr;
  }

  .faboo-admin-form-grid,
  .faboo-admin-message-card-head,
  .faboo-admin-required-actions {
    grid-template-columns: 1fr;
  }

  .faboo-admin-required-popup {
    right: 14px;
    bottom: 14px;
  }

  .faboo-help-ai {
    right: 14px;
    bottom: 78px;
  }

  .faboo-help-panel {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 145px);
  }
}

/* State-of-the-art upgrade layer */
.faboo-feed-live-pill,
.faboo-new-posts-banner,
.faboo-ai-result,
.faboo-notification-tabs,
.faboo-forum-followbar,
.faboo-connect-compat,
.faboo-profile-trust {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
}

.faboo-feed-live-pill {
  align-items: center;
  background: var(--faboo-card);
  color: var(--faboo-text);
  display: inline-flex;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  white-space: nowrap;
}

.faboo-feed-live-pill i {
  color: #20a36b;
}

.faboo-feed-live-pill strong {
  color: var(--faboo-primary);
  font-size: 18px;
}

.faboo-new-posts-banner {
  align-items: center;
  background: linear-gradient(135deg, #088dcd, #20a36b);
  color: #fff;
  display: flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  margin: 0 0 14px;
  min-height: 44px;
  padding: 10px 14px;
  text-align: center;
}

.faboo-new-posts-banner:hover {
  color: #fff;
  filter: brightness(.98);
}

.faboo-new-posts-banner.is-loading {
  cursor: progress;
  opacity: .86;
  pointer-events: none;
}

.faboo-ai-result {
  align-items: flex-start;
  background: #f7fcff;
  border-color: rgba(8, 141, 205, .20);
  color: var(--faboo-text);
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
}

.faboo-ai-result[hidden] {
  display: none;
}

.faboo-ai-result i {
  color: var(--faboo-primary);
  font-size: 20px;
  margin-top: 2px;
}

.faboo-ai-result strong {
  display: block;
  margin-bottom: 4px;
}

.faboo-ai-result ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.faboo-ai-result p {
  color: var(--faboo-muted);
  margin: 8px 0 0;
}

.faboo-notification-tabs {
  background: var(--faboo-card);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

.faboo-notification-tabs a {
  align-items: center;
  border-radius: 8px;
  color: var(--faboo-muted);
  display: inline-flex;
  font-weight: 900;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
}

.faboo-notification-tabs a.active,
.faboo-notification-tabs a:hover {
  background: var(--faboo-soft);
  color: var(--faboo-primary);
}

.faboo-forum-followbar {
  align-items: center;
  background: var(--faboo-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin: 14px 0;
  padding: 10px;
}

.faboo-forum-followbar form {
  margin: 0;
}

.faboo-forum-followbar span {
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-connect-compat {
  background: rgba(32, 163, 107, .08);
  border-color: rgba(32, 163, 107, .18);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
  padding: 8px;
}

.faboo-connect-compat span {
  align-items: center;
  background: var(--faboo-card);
  border-radius: 999px;
  color: var(--faboo-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  padding: 5px 8px;
}

.faboo-connect-compat i {
  color: #20a36b;
}

.faboo-profile-trust {
  background: var(--faboo-card);
  padding: 14px;
}

.faboo-trust-ring {
  align-items: center;
  background:
    radial-gradient(circle closest-side, var(--faboo-card) 71%, transparent 72% 100%),
    conic-gradient(#20a36b var(--score), #e7ebf2 0);
  display: grid;
  height: 104px;
  justify-content: center;
  margin: 8px auto 10px;
  width: 104px;
}

.faboo-trust-ring strong {
  color: var(--faboo-text);
  font-size: 22px;
}

.faboo-icon-action {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-primary);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.faboo-icon-action:hover {
  background: var(--faboo-primary);
  color: #fff;
}

body.faboo-theme-dark .faboo-ai-result,
body.faboo-theme-dark .faboo-notification-tabs,
body.faboo-theme-dark .faboo-feed-live-pill,
body.faboo-theme-dark .faboo-profile-trust,
body.faboo-theme-dark .faboo-connect-compat span {
  background: #121a2b;
  border-color: rgba(255, 255, 255, .12);
}

body.faboo-theme-dark .faboo-forum-followbar,
body.faboo-theme-dark .faboo-connect-compat {
  background: rgba(56, 168, 223, .08);
  border-color: rgba(56, 168, 223, .18);
}

body.faboo-theme-dark .faboo-trust-ring {
  background:
    radial-gradient(circle closest-side, #121a2b 71%, transparent 72% 100%),
    conic-gradient(#20a36b var(--score), #2a3850 0);
}

@media (max-width: 640px) {
  .faboo-feed-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .faboo-notification-tabs a {
    flex: 1 1 46%;
    justify-content: center;
  }

  .faboo-forum-followbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

body {
  background: var(--faboo-bg);
  color: var(--faboo-text);
}

body.faboo-theme-dark {
  --faboo-bg: #111827;
  --faboo-card: #182235;
  --faboo-text: #eef3fb;
  --faboo-muted: #aab6c8;
  --faboo-border: #2a3850;
  --faboo-primary: #38a8df;
  --faboo-primary-dark: #68c7f1;
  --faboo-danger: #ff6b6b;
  --faboo-soft: #223149;
}

a {
  color: var(--faboo-primary);
}

a:hover {
  color: var(--faboo-primary-dark);
}

.topbar.stick {
  min-height: 72px;
  border-bottom: 1px solid var(--faboo-border);
  box-shadow: 0 8px 24px rgba(22, 35, 54, .05);
  z-index: 10000;
}

.topbar.is_stuck {
  z-index: 10000;
}

.topbar .logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar .searches input {
  min-height: 42px;
  border: 1px solid var(--faboo-border);
  background: #fff;
}

.topbar .faboo-header-search {
  flex: 0 1 320px;
  max-width: 360px;
  min-width: 240px;
}

.faboo-header-search form {
  align-items: center;
  background: #fff;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(31, 45, 65, .06);
  display: grid;
  gap: 8px;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  min-height: 44px;
  padding: 4px 5px 4px 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.faboo-header-search form:focus-within {
  border-color: rgba(8, 141, 205, .55);
  box-shadow: 0 14px 34px rgba(8, 141, 205, .16);
}

.faboo-header-search-icon {
  color: var(--faboo-muted);
  font-size: 18px;
}

.topbar .faboo-header-search input {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--faboo-text);
  height: 34px;
  min-height: 34px;
  padding: 0;
  width: 100%;
}

.topbar .faboo-header-search input:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.topbar .faboo-header-search input::placeholder {
  color: var(--faboo-muted);
  opacity: .9;
}

.topbar .faboo-header-search button {
  align-items: center;
  background: var(--faboo-primary);
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  height: 34px;
  justify-content: center;
  padding: 0 13px;
  position: static;
  transition: background .18s ease, transform .18s ease;
  width: auto;
}

.topbar .faboo-header-search button:hover {
  background: var(--faboo-primary-dark);
  transform: translateY(-1px);
}

.faboo-top-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
}

.faboo-platform-switch {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  display: inline-flex;
  gap: 3px;
  margin-left: 14px;
  padding: 3px;
}

.faboo-platform-switch a {
  align-items: center;
  border-radius: 999px;
  color: var(--faboo-muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  white-space: nowrap;
}

.faboo-platform-switch a.active,
.faboo-platform-switch a:hover {
  background: #fff;
  color: var(--faboo-primary);
  box-shadow: 0 8px 18px rgba(31, 45, 65, .08);
}

.faboo-top-menu a {
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--faboo-muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.faboo-top-menu a i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--faboo-soft);
  color: var(--faboo-primary);
  font-size: 15px;
}

.faboo-top-menu a:hover,
.faboo-top-menu a.active {
  background: var(--faboo-soft);
  color: var(--faboo-primary);
}

.faboo-menu-badge {
  align-items: center;
  background: #f59e0b;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  height: 18px;
  line-height: 1;
  padding: 0 7px;
}

.web-elements > li > a {
  position: relative;
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--faboo-soft);
}

.faboo-header-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faboo-menu-item {
  position: relative;
}

.faboo-toast-stack {
  position: fixed;
  top: 88px;
  right: 22px;
  z-index: 100000;
  width: min(390px, calc(100vw - 28px));
  pointer-events: none;
}

.faboo-toast {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(8, 141, 205, .18);
  border-radius: 8px;
  background: #fff;
  color: var(--faboo-text);
  box-shadow: 0 18px 42px rgba(22, 35, 54, .18);
  pointer-events: auto;
  animation: faboo-toast-in .22s ease both;
}

.faboo-toast > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf7ed;
  color: #168447;
  font-size: 20px;
}

.faboo-toast strong,
.faboo-toast p {
  margin: 0;
}

.faboo-toast strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.faboo-toast p {
  color: var(--faboo-muted);
  line-height: 1.35;
}

.faboo-toast button {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--faboo-muted);
  cursor: pointer;
}

.faboo-toast button:hover {
  background: var(--faboo-soft);
  color: var(--faboo-text);
}

.faboo-toast-error {
  border-color: rgba(217, 75, 75, .25);
}

.faboo-toast-error > i {
  background: #fdecec;
  color: #c93131;
}

.faboo-toast-warning {
  border-color: rgba(201, 132, 0, .28);
}

.faboo-toast-warning > i {
  background: #fff6df;
  color: #a46800;
}

.faboo-toast.is-leaving {
  animation: faboo-toast-out .2s ease both;
}

.faboo-admin-required-popup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100002;
  width: min(430px, calc(100vw - 28px));
  color: var(--faboo-text);
}

.faboo-admin-required-card {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(8, 141, 205, .22);
  border-left: 5px solid var(--faboo-primary);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(12, 31, 51, .25);
}

.faboo-admin-required-warning .faboo-admin-required-card {
  border-left-color: #c48410;
}

.faboo-admin-required-security .faboo-admin-required-card,
.faboo-admin-required-action_required .faboo-admin-required-card {
  border-left-color: var(--faboo-danger);
}

.faboo-admin-required-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.faboo-admin-required-head > i {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--faboo-soft);
  color: var(--faboo-primary);
  font-size: 21px;
}

.faboo-admin-required-warning .faboo-admin-required-head > i {
  background: #fff6df;
  color: #a46800;
}

.faboo-admin-required-security .faboo-admin-required-head > i,
.faboo-admin-required-action_required .faboo-admin-required-head > i {
  background: #fdecec;
  color: #c93131;
}

.faboo-admin-required-head small,
.faboo-admin-required-actions small {
  display: block;
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-admin-required-head strong {
  display: block;
  margin-top: 2px;
  color: var(--faboo-heading);
  font-size: 17px;
}

.faboo-admin-required-body {
  max-height: 190px;
  margin: 0;
  overflow: auto;
  color: var(--faboo-text);
  line-height: 1.55;
  white-space: pre-line;
}

.faboo-admin-required-check {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--faboo-text);
  font-weight: 800;
}

.faboo-admin-required-check input {
  width: 18px;
  height: 18px;
}

.faboo-admin-required-card textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  padding: 11px 12px;
  background: #f8fbff;
  color: var(--faboo-text);
}

.faboo-admin-required-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.faboo-admin-required-error {
  display: block;
  color: var(--faboo-danger);
  font-weight: 800;
}

.faboo-admin-required-error[hidden] {
  display: none;
}

.faboo-admin-required-popup.is-sending {
  opacity: .82;
}

.faboo-help-ai {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100001;
}

.faboo-help-ai,
.faboo-help-ai * {
  box-sizing: border-box;
}

.faboo-help-toggle {
  min-width: 122px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #0b91d0, #1dbf73);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(8, 141, 205, .28);
  cursor: pointer;
  padding: 7px 12px 7px 8px;
}

.faboo-help-toggle i {
  font-size: 20px;
}

.faboo-help-toggle span {
  display: grid;
  gap: 1px;
  line-height: 1.05;
  text-align: left;
}

.faboo-help-toggle strong,
.faboo-help-toggle small {
  color: #fff;
  display: block;
}

.faboo-help-toggle small {
  font-size: 11px;
  font-weight: 800;
  opacity: .86;
}

.faboo-help-faye-avatar {
  background: rgba(255, 255, 255, .18);
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
  display: block;
  flex: 0 0 auto;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.faboo-help-faye-avatar.large {
  height: 42px;
  width: 42px;
}

.faboo-help-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(390px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 120px));
  display: grid;
  grid-template-rows: auto minmax(112px, 1fr) auto auto auto;
  overflow: hidden;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  color: var(--faboo-text);
  box-shadow: 0 24px 58px rgba(14, 31, 52, .24);
}

.faboo-help-panel[hidden] {
  display: none;
}

.faboo-help-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--faboo-border);
  background: #f8fbff;
}

.faboo-help-head span {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.faboo-help-head span i {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--faboo-primary);
  color: #fff;
  font-size: 19px;
}

.faboo-help-head .faboo-help-faye-avatar {
  grid-row: span 2;
}

.faboo-help-head strong,
.faboo-help-head small {
  display: block;
}

.faboo-help-head small,
.faboo-help-actions small,
.faboo-help-bubble small {
  color: var(--faboo-muted);
}

.faboo-help-head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--faboo-muted);
  cursor: pointer;
}

.faboo-help-messages {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  overflow: auto;
  background: #f5f8fc;
}

.faboo-help-message {
  display: flex;
}

.faboo-help-user {
  justify-content: flex-end;
}

.faboo-help-bubble {
  max-width: 86%;
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--faboo-border);
}

.faboo-help-user .faboo-help-bubble {
  background: var(--faboo-primary);
  border-color: var(--faboo-primary);
  color: #fff;
}

.faboo-help-user .faboo-help-bubble small {
  color: rgba(255,255,255,.78);
}

.faboo-help-bubble p {
  margin: 0;
  line-height: 1.45;
  white-space: pre-line;
}

.faboo-help-suggestions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px;
  border-top: 1px solid var(--faboo-border);
  background: #fff;
}

.faboo-help-suggestions button,
.faboo-help-actions button,
.faboo-help-actions .faboo-help-faye-chat {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  color: var(--faboo-text);
  font-weight: 800;
  cursor: pointer;
}

.faboo-help-suggestions button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}

.faboo-help-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--faboo-border);
  background: #fff;
}

.faboo-help-form textarea {
  min-height: 46px;
  max-height: 130px;
  resize: vertical;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  padding: 10px 11px;
}

.faboo-help-form button {
  min-width: 46px;
  padding: 0;
}

.faboo-help-actions {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0 12px 12px;
  background: #fff;
}

.faboo-help-actions button {
  min-height: 38px;
}

.faboo-help-actions .faboo-help-faye-chat {
  align-items: center;
  background: linear-gradient(135deg, #0b91d0, #1dbf73);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.faboo-help-actions .faboo-help-faye-chat:hover {
  box-shadow: 0 12px 24px rgba(11, 145, 208, .18);
  color: #fff;
  transform: translateY(-1px);
}

.faboo-help-actions small {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  .faboo-help-ai {
    right: 14px;
    bottom: 78px;
  }

  .faboo-help-panel {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    max-height: calc(100vh - 145px);
    max-height: calc(100dvh - 145px);
    grid-template-rows: auto minmax(88px, 1fr) auto auto auto;
  }

  .faboo-help-actions small {
    font-size: 10.5px;
  }
}

@media (max-height: 620px) {
  .faboo-help-panel {
    max-height: calc(100vh - 154px);
    max-height: calc(100dvh - 154px);
    grid-template-rows: auto minmax(56px, 1fr) 0 auto auto;
  }

  .faboo-help-head {
    padding: 8px 10px;
  }

  .faboo-help-suggestions {
    display: none;
  }

  .faboo-help-form {
    padding: 8px 10px;
  }

  .faboo-help-form textarea {
    min-height: 40px;
  }

  .faboo-help-actions {
    gap: 5px;
    padding: 0 10px 8px;
  }

  .faboo-help-actions button,
  .faboo-help-actions .faboo-help-faye-chat {
    min-height: 34px;
    padding: 7px 10px;
  }

  .faboo-help-actions small {
    font-size: 10px;
  }
}

@keyframes faboo-toast-in {
  from {
    opacity: 0;
    transform: translateX(18px) translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes faboo-toast-out {
  to {
    opacity: 0;
    transform: translateX(18px) translateY(-6px);
  }
}

.faboo-icon-btn,
.faboo-user-btn,
.faboo-theme-toggle {
  position: relative;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 22px;
  background: var(--faboo-soft);
  color: var(--faboo-text);
  padding: 0 12px;
}

.faboo-admin-update-icon {
  color: #a46106;
}

.faboo-admin-update-icon i {
  color: inherit;
}

.topbar ul.web-elements.faboo-header-menu > li {
  align-items: center;
  display: inline-flex;
  margin: 0;
}

.topbar ul.web-elements.faboo-header-menu > li > a.faboo-icon-btn,
.topbar ul.web-elements.faboo-header-menu > li > button.faboo-icon-btn {
  flex: 0 0 40px;
  height: 40px;
  line-height: 1;
  min-height: 40px;
  min-width: 40px;
  padding: 0;
  width: 40px;
}

.faboo-header-menu .faboo-icon-btn .faboo-badge {
  align-items: center;
  background: #e84d75;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, .18);
  color: #fff;
  display: inline-flex;
  font-size: 10px;
  font-weight: 950;
  height: 18px;
  justify-content: center;
  line-height: 1;
  min-width: 18px;
  padding: 0 5px;
  position: absolute;
  right: -5px;
  top: -5px;
  transform: none;
  white-space: nowrap;
}

.faboo-header-menu .faboo-admin-update-icon .faboo-badge {
  background: #f59e0b;
}

.faboo-theme-form {
  margin: 0;
}

.faboo-theme-toggle {
  cursor: pointer;
}

.faboo-theme-toggle span {
  font-size: 13px;
  font-weight: 800;
}

.faboo-user-btn img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 9999;
  width: 310px;
  display: none;
  padding: 14px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31, 45, 65, .14);
}

.faboo-dropdown.open {
  display: block;
}

.faboo-dropdown h4 {
  margin: 0 0 10px;
}

.faboo-drop-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--faboo-border);
}

.faboo-drop-row img,
.faboo-drop-row > i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--faboo-soft);
}

.faboo-drop-row strong,
.faboo-drop-row small {
  display: block;
}

.faboo-drop-row small,
.faboo-drop-empty {
  color: var(--faboo-muted);
}

.faboo-drop-more {
  display: block;
  padding-top: 10px;
  font-weight: 700;
}

.faboo-drop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--faboo-border);
}

.faboo-drop-head h4 {
  margin: 0;
}

.faboo-drop-head small,
.faboo-notification-drop-row em {
  color: var(--faboo-muted);
  font-size: 12px;
  font-style: normal;
}

.faboo-drop-head > a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--faboo-primary);
  background: var(--faboo-soft);
}

.faboo-notification-dropdown {
  width: 360px;
  padding: 12px;
}

.faboo-notification-drop-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.faboo-notification-drop-row.is-unread {
  border-color: rgba(8, 141, 205, .18);
  background: #f2f9ff;
}

.faboo-notification-drop-row > i {
  width: 32px;
  height: 32px;
  margin-top: 1px;
  color: var(--faboo-primary);
  font-size: 15px;
}

.faboo-notification-drop-row span {
  display: grid;
  gap: 2px;
  min-width: 0;
  line-height: 1.25;
}

.faboo-notification-drop-row strong {
  overflow: hidden;
  color: var(--faboo-text);
  font-size: 13.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-notification-drop-row small {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.faboo-notification-drop-row em {
  display: block;
  margin-top: 1px;
  line-height: 1.15;
}

.faboo-user-dropdown a,
.faboo-user-dropdown button {
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: center;
  padding: 9px 6px;
  border: 0;
  background: transparent;
  color: var(--faboo-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faboo-user-dropdown a:hover,
.faboo-user-dropdown button:hover,
.faboo-user-dropdown button.is-enabled {
  background: var(--faboo-soft);
  color: var(--faboo-primary);
}

.faboo-page {
  background: var(--faboo-bg);
}

.faboo-page .gap {
  padding-top: 34px;
  padding-bottom: 42px;
}

.faboo-page .gap.no-gap {
  padding: 0;
}

.faboo-card {
  border: 1px solid var(--faboo-border);
  box-shadow: 0 14px 36px rgba(31, 45, 65, .07);
  margin-bottom: 30px;
}

.faboo-site-footer {
  background: var(--faboo-card);
  border-top: 1px solid var(--faboo-border);
  margin-top: 26px;
}

.faboo-site-footer-inner {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 20px 16px;
}

.faboo-footer-brand {
  align-items: center;
  color: var(--faboo-text);
  display: inline-flex;
  gap: 10px;
}

.faboo-footer-brand img {
  height: 38px;
  width: auto;
}

.faboo-footer-brand strong,
.faboo-footer-brand small {
  display: block;
}

.faboo-footer-brand small {
  color: var(--faboo-muted);
}

.faboo-site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.faboo-site-footer nav a {
  border-radius: 999px;
  color: var(--faboo-muted);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
}

.faboo-site-footer nav a:hover {
  background: var(--faboo-soft);
  color: var(--faboo-primary);
}

.main-wraper,
aside .widget,
.faboo-grid .widget {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(31, 45, 65, .07);
  margin-bottom: 30px;
}

.faboo-grid .widget {
  margin-bottom: 30px;
}

.widget-title > h4 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.faboo-card h3,
.faboo-card h4 {
  margin-bottom: 14px;
  color: var(--faboo-text);
}

.faboo-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
}

.faboo-grid > section,
.faboo-grid > aside {
  min-width: 0;
}

.faboo-grid > section > *:last-child,
.faboo-grid > aside > *:last-child {
  margin-bottom: 0;
}

.faboo-nav a {
  border-radius: 8px;
  margin: 2px 8px;
  font-weight: 600;
}

.faboo-nav a:hover {
  background: var(--faboo-soft);
}

.main-btn,
.button,
button.main-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 7px;
  border: 0;
  font-weight: 700;
  line-height: 1.2;
  background: var(--faboo-primary);
  color: #fff;
  transition: .18s ease;
}

.main-btn:hover,
.button:hover,
button.main-btn:hover {
  background: var(--faboo-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.button.danger,
.main-btn.danger {
  background: var(--faboo-danger);
}

.c-form input,
.c-form textarea,
.c-form select {
  border: 1px solid var(--faboo-border);
  border-radius: 7px;
  background: #fff;
}

.c-form textarea {
  min-height: 110px;
  resize: vertical;
}

.uploadimage {
  border: 1px dashed #bdd8e8;
  border-radius: 7px;
  background: #f7fcff;
  padding: 10px 12px;
  margin: 10px 0;
}

.faboo-empty {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  color: var(--faboo-muted);
}

.faboo-search-card {
  margin-bottom: 18px;
  padding: 20px;
}

.faboo-search-card-head {
  margin-bottom: 14px;
}

.faboo-search-card-head h3 {
  font-size: 20px;
  margin: 0 0 4px;
}

.faboo-search-card-head p {
  color: var(--faboo-muted);
  margin: 0;
}

.faboo-search-page-form {
  align-items: center;
  background: #f8fbfe;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(340px, .95fr) auto;
  gap: 10px;
  margin: 0;
  padding: 8px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.faboo-search-page-form:focus-within {
  background: #fff;
  border-color: rgba(8, 141, 205, .55);
  box-shadow: 0 14px 36px rgba(8, 141, 205, .12);
}

.faboo-search-page-field {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 22px minmax(0, 1fr);
  min-height: 46px;
  padding: 0 8px 0 12px;
}

.faboo-search-page-field i {
  color: var(--faboo-primary);
  font-size: 20px;
}

.faboo-search-page-field input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--faboo-text);
  font-size: 15px;
  height: 42px;
  padding: 0;
  width: 100%;
}

.faboo-search-page-field input:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.faboo-search-page-field input::placeholder {
  color: var(--faboo-muted);
}

.faboo-search-page-categories {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  min-width: 0;
}

.faboo-search-page-categories label {
  align-items: center;
  background: var(--faboo-card);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  position: relative;
  white-space: nowrap;
}

.faboo-search-page-categories label:hover,
.faboo-search-page-categories label.active,
.faboo-search-page-categories label:focus-within {
  background: var(--faboo-soft);
  border-color: rgba(8, 141, 205, .28);
  color: var(--faboo-primary-dark);
}

.faboo-search-page-categories input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.faboo-search-page-categories strong {
  background: var(--faboo-primary);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  line-height: 19px;
  min-width: 20px;
  padding: 0 6px;
  text-align: center;
}

.faboo-search-page-form .main-btn {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  height: 42px;
  justify-content: center;
  margin: 0;
  padding: 0 18px;
  white-space: nowrap;
}

.faboo-search-summary {
  align-items: center;
  background: #fff;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px;
}

.faboo-search-summary strong {
  align-items: center;
  background: var(--faboo-primary);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 8px;
}

.faboo-search-section {
  margin: 0 0 22px;
}

.faboo-search-section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.faboo-search-section-head h4 {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
}

.faboo-search-section-head span {
  background: #eef6fb;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 800;
  min-width: 28px;
  padding: 4px 10px;
  text-align: center;
}

.faboo-search-list {
  display: grid;
  gap: 10px;
}

.faboo-search-result {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  margin: 0;
  padding: 14px;
}

.faboo-search-result > img,
.faboo-search-result > i {
  align-items: center;
  background: #eef6fb;
  border-radius: 50%;
  color: var(--faboo-primary);
  display: inline-flex;
  font-size: 20px;
  height: 44px;
  justify-content: center;
  object-fit: cover;
  width: 44px;
}

.faboo-search-result a {
  color: var(--faboo-text);
  display: inline-block;
  font-weight: 800;
  margin-bottom: 4px;
}

.faboo-search-result p {
  color: var(--faboo-muted);
  margin: 0;
}

.faboo-search-empty {
  border: 1px dashed var(--faboo-border);
  border-radius: 8px;
  gap: 10px;
  margin: 0;
  min-height: 88px;
  padding: 16px;
}

.faboo-search-empty i {
  color: var(--faboo-primary);
  font-size: 22px;
}

.faboo-post {
  position: relative;
  padding: 20px;
  overflow: hidden;
  border-radius: 8px !important;
}

.faboo-post.is-updating {
  opacity: .72;
  pointer-events: none;
}

.faboo-post-body {
  padding: 0;
}

.faboo-post-body p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

.faboo-post-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.faboo-post-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--faboo-border);
}

.faboo-post-info ul {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.faboo-like-bump {
  display: inline-block;
  animation: faboo-like-bump .22s ease;
}

.faboo-hashtag,
.faboo-mention {
  font-weight: 800;
}

@keyframes faboo-like-bump {
  50% {
    transform: scale(1.2);
    color: var(--faboo-primary);
  }
}

.faboo-actions {
  width: 100%;
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--faboo-border);
}

.faboo-actions form {
  float: none;
  width: auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.faboo-actions .button {
  float: none;
  width: auto;
  min-width: 0;
  min-height: 34px;
  padding: 7px 12px;
  background: #f7f9fc;
  color: var(--faboo-text);
  border: 1px solid var(--faboo-border);
}

.faboo-actions .button:hover {
  background: var(--faboo-primary);
  color: #fff;
}

.faboo-actions .button.danger {
  background: #fff3f3;
  color: var(--faboo-danger);
}

.faboo-reaction-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.faboo-reaction-picker form {
  display: inline-flex;
}

.faboo-share-picker {
  position: relative;
  display: inline-flex;
}

.faboo-share-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 22;
  display: grid;
  gap: 6px;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(31, 45, 65, .18);
}

.faboo-share-menu[hidden] {
  display: none;
}

.faboo-share-menu form {
  display: block;
  width: 100%;
}

.faboo-share-menu a,
.faboo-share-menu button {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--faboo-text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.faboo-share-menu a:hover,
.faboo-share-menu button:hover {
  background: var(--faboo-soft);
  color: var(--faboo-primary);
}

.faboo-share-menu i {
  width: 18px;
  color: var(--faboo-primary);
  font-size: 16px;
  text-align: center;
}

.faboo-like-button.is-active {
  color: var(--faboo-primary);
  border-color: rgba(8, 141, 205, .25);
  background: #eef8fd;
}

.faboo-like-button.reaction-love {
  color: #e33d68;
}

.faboo-like-button.reaction-care,
.faboo-like-button.reaction-thanks {
  color: #00856f;
}

.faboo-like-button.reaction-haha,
.faboo-like-button.reaction-wow,
.faboo-like-button.reaction-proud,
.faboo-like-button.reaction-sad {
  color: #c98400;
}

.faboo-like-button.reaction-insightful,
.faboo-like-button.reaction-celebrate {
  color: #7a52d1;
}

.faboo-like-button.reaction-fire {
  color: #e96b1c;
}

.faboo-like-button.reaction-angry {
  color: #d94b4b;
}

.faboo-reaction-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  width: max-content;
  max-width: min(420px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--faboo-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(31, 45, 65, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .16s ease;
}

.faboo-reaction-picker:hover .faboo-reaction-menu,
.faboo-reaction-picker:focus-within .faboo-reaction-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.faboo-reaction-option {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f7f9fc;
  color: var(--faboo-primary);
  cursor: pointer;
  transition: .16s ease;
}

.faboo-reaction-option i {
  font-size: 20px;
}

.faboo-reaction-option span {
  position: absolute;
  top: -28px;
  display: none;
  padding: 3px 7px;
  border-radius: 5px;
  background: #1f2d41;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
}

.faboo-reaction-option:hover {
  transform: translateY(-6px) scale(1.12);
}

.faboo-reaction-option:hover span {
  display: block;
}

.faboo-reaction-option.reaction-love {
  color: #e33d68;
}

.faboo-reaction-option.reaction-care,
.faboo-reaction-option.reaction-thanks {
  color: #00856f;
}

.faboo-reaction-option.reaction-haha,
.faboo-reaction-option.reaction-wow,
.faboo-reaction-option.reaction-proud,
.faboo-reaction-option.reaction-sad {
  color: #c98400;
}

.faboo-reaction-option.reaction-insightful,
.faboo-reaction-option.reaction-celebrate {
  color: #7a52d1;
}

.faboo-reaction-option.reaction-fire {
  color: #e96b1c;
}

.faboo-reaction-option.reaction-angry {
  color: #d94b4b;
}

.faboo-composer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.faboo-composer {
  padding-top: 20px;
  padding-bottom: 22px;
}

.faboo-composer-head img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-compose-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #f8fbfe;
}

.faboo-compose-tools label,
.faboo-compose-tools button,
.faboo-compose-tools select,
.faboo-compose-tools input[type="text"] {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--faboo-border);
  border-radius: 7px;
  background: #fff;
  color: var(--faboo-text);
  padding: 7px 10px;
  font-weight: 700;
}

.faboo-compose-tools input[type="text"] {
  width: min(210px, 100%);
}

.faboo-compose-tools input[type="file"] {
  display: none;
}

.faboo-checkin {
  display: contents;
}

.faboo-feeling {
  display: contents;
}

.faboo-checkin-panel[hidden] {
  display: none;
}

.faboo-feeling-panel[hidden],
.faboo-composer-context[hidden] {
  display: none;
}

.faboo-checkin-panel {
  flex: 1 0 100%;
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid rgba(0, 156, 130, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 34, 55, .08);
}

.faboo-feeling-panel {
  flex: 1 0 100%;
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid rgba(0, 156, 130, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 34, 55, .08);
}

.faboo-checkin-head,
.faboo-checkin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faboo-checkin-head {
  justify-content: space-between;
  margin-bottom: 10px;
}

.faboo-checkin-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--faboo-heading);
}

.faboo-checkin-head > button {
  width: 32px;
  min-height: 32px;
  justify-content: center;
  padding: 0;
}

.faboo-checkin-actions {
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.faboo-checkin-actions label {
  flex: 1 1 260px;
  margin: 0;
}

.faboo-checkin-actions input {
  width: 100%;
  min-width: 150px;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
}

.faboo-checkin-panel p {
  margin: 0 0 10px;
  color: var(--faboo-muted);
  font-size: 13px;
}

.faboo-checkin-panel p[data-state="success"] {
  color: #00856f;
}

.faboo-checkin-panel p[data-state="warning"] {
  color: #a66a00;
}

.faboo-checkin-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}

.faboo-feeling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
}

.faboo-checkin-results button {
  min-height: 56px;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  white-space: normal;
}

.faboo-feeling-grid button {
  min-height: 44px;
  justify-content: flex-start;
  gap: 9px;
  text-align: left;
  background: #f8fbfe;
  white-space: normal;
}

.faboo-feeling-grid button i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(0, 156, 130, .1);
  color: #00856f;
  font-size: 16px;
}

.faboo-compose-tools button.active {
  border-color: rgba(0, 156, 130, .35);
  background: rgba(0, 156, 130, .1);
  color: #00856f;
}

.faboo-checkin-results button span,
.faboo-post-checkin span {
  display: grid;
  gap: 2px;
}

.faboo-checkin-results button small,
.faboo-post-checkin small {
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.faboo-post-checkin em,
.faboo-post-checkin b {
  width: fit-content;
  font-size: 12px;
  font-style: normal;
  line-height: 1.25;
}

.faboo-post-checkin em {
  color: #00856f;
  font-weight: 900;
}

.faboo-post-checkin b {
  color: var(--faboo-muted);
  font-weight: 700;
}

.faboo-checkin-selected {
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  background: rgba(0, 156, 130, .08);
  color: #00856f;
  font-weight: 800;
}

.faboo-composer-context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(0, 156, 130, .18);
  border-radius: 8px;
  background: rgba(0, 156, 130, .07);
  color: var(--faboo-heading);
}

.faboo-composer-context > i,
.faboo-post-activity > i {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(0, 156, 130, .12);
  color: #00856f;
}

.faboo-composer-context span {
  flex: 1;
  min-width: 0;
  font-weight: 700;
}

.faboo-composer-context em {
  font-style: normal;
  color: var(--faboo-muted);
}

.faboo-composer-context button {
  width: 30px;
  min-height: 30px;
  justify-content: center;
  padding: 0;
}

.faboo-post-activity {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  padding: 9px 10px;
  border: 1px solid rgba(0, 156, 130, .14);
  border-radius: 8px;
  background: rgba(0, 156, 130, .05);
  color: var(--faboo-text);
  font-weight: 700;
}

.faboo-post-activity span {
  min-width: 0;
}

.faboo-post-checkin {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 156, 130, .18);
  border-radius: 8px;
  background: rgba(0, 156, 130, .06);
  color: var(--faboo-heading);
}

.faboo-post-checkin i {
  color: #00856f;
  font-size: 20px;
}

.faboo-image-preview {
  display: none;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  margin: 10px 0;
}

.faboo-profile-cover {
  position: relative;
  min-height: 300px;
  background-position: center;
  background-size: cover;
}

.faboo-profile-card {
  margin-bottom: 30px;
}

.faboo-profile-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 34, .05), rgba(12, 20, 34, .7));
}

.faboo-profile-main {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 0 24px 24px;
  margin-top: -82px;
}

.faboo-profile-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 12px 30px rgba(20, 30, 45, .18);
}

.faboo-profile-title h2 {
  margin-bottom: 4px;
}

.faboo-profile-title p {
  margin: 3px 0;
  color: var(--faboo-muted);
}

.faboo-profile-title p:nth-of-type(2) {
  display: none;
}

.faboo-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.faboo-stat {
  min-width: 92px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--faboo-border);
}

.faboo-stat strong {
  display: block;
  color: var(--faboo-text);
  font-size: 18px;
}

.faboo-stat span {
  color: var(--faboo-muted);
  font-size: 12px;
}

.faboo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-tabs .main-btn {
  background: #fff;
  color: var(--faboo-text);
  border: 1px solid var(--faboo-border);
}

.faboo-tabs .main-btn.active {
  background: var(--faboo-primary);
  color: #fff;
  border-color: var(--faboo-primary);
}

.is-hidden {
  display: none !important;
}

.faboo-cover-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.faboo-tabs .main-btn:hover {
  color: #fff;
  border-color: var(--faboo-primary);
}

.faboo-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.faboo-panel-head h4,
.faboo-panel-head p {
  margin: 0;
}

.faboo-panel-head p {
  color: var(--faboo-muted);
}

.faboo-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.faboo-photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 7px;
}

.faboo-group-tile {
  display: block;
  margin-bottom: 12px;
}

.faboo-group-tile img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 7px;
}

.faboo-widget-link {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--faboo-border);
}

.faboo-widget-link:last-child {
  border-bottom: 0;
}

.faboo-widget-list {
  margin-bottom: 0;
}

.faboo-widget-list li,
.faboo-widget-list .faboo-mini-user {
  padding: 9px 0;
  border-bottom: 1px dashed #c2c2ce;
}

.faboo-widget-list li:last-child,
.faboo-widget-list .faboo-mini-user:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faboo-widget-actions {
  display: grid;
  gap: 10px;
}

.faboo-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.faboo-section-head h4 {
  margin: 0;
}

.faboo-story-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.faboo-story-mini,
.faboo-story-card {
  position: relative;
  min-height: 185px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 8px;
  background: #dbeef8 center/cover;
  color: #fff;
  padding: 12px;
}

.faboo-story-mini:before,
.faboo-story-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.62));
}

.faboo-story-mini > *,
.faboo-story-card > * {
  position: relative;
  z-index: 1;
}

.faboo-story-mini img,
.faboo-story-card img {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-story-new {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--faboo-soft);
  color: var(--faboo-text);
}

.faboo-story-new:before {
  display: none;
}

.faboo-story-new i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--faboo-primary);
  color: #fff;
  margin-bottom: 8px;
}

.faboo-story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}

.faboo-story-card {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.faboo-story-viewer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  grid-template-columns: 52px minmax(0, 560px) 52px;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 14, 24, .88);
}

.faboo-story-viewer[hidden] {
  display: none;
}

.faboo-story-viewer figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #111827;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.faboo-story-viewer img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

.faboo-story-viewer figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 4px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.72), transparent);
}

.faboo-story-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  height: 4px;
  overflow: hidden;
  background: rgba(255,255,255,.35);
  z-index: 2;
}

.faboo-story-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}

.faboo-story-close,
.faboo-story-nav {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
}

.faboo-story-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.faboo-shared-post {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
}

.faboo-reaction-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 2px;
}

.faboo-reaction-summary span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--faboo-soft);
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 700;
}

.faboo-reaction-summary span i {
  font-size: 14px;
}

.faboo-reaction-summary .reaction-love {
  color: #e33d68;
}

.faboo-reaction-summary .reaction-care,
.faboo-reaction-summary .reaction-thanks {
  color: #00856f;
}

.faboo-reaction-summary .reaction-haha,
.faboo-reaction-summary .reaction-wow,
.faboo-reaction-summary .reaction-proud,
.faboo-reaction-summary .reaction-sad {
  color: #c98400;
}

.faboo-reaction-summary .reaction-insightful,
.faboo-reaction-summary .reaction-celebrate {
  color: #7a52d1;
}

.faboo-reaction-summary .reaction-fire {
  color: #e96b1c;
}

.faboo-reaction-summary .reaction-angry {
  color: #d94b4b;
}

.faboo-comment-preview {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--faboo-border);
}

.faboo-comment-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.faboo-comment-row > img,
.faboo-quick-comment > img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-comment-row > div {
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--faboo-soft);
}

.faboo-comment-row strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

.faboo-comment-row p {
  margin: 0;
  line-height: 1.45;
}

.faboo-link-button {
  border: 0;
  background: transparent;
  color: var(--faboo-danger);
  font-size: 12px;
  padding: 4px 0;
  cursor: pointer;
}

.faboo-more-link {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
}

.faboo-quick-comment {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

.faboo-quick-comment input[type="text"] {
  min-height: 40px;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
}

.faboo-quick-comment .button {
  width: 42px;
  min-width: 42px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faboo-actions input[type="text"],
.faboo-actions select {
  float: none;
  width: auto;
  min-height: 34px;
  max-width: 180px;
  border: 1px solid var(--faboo-border);
  border-radius: 7px;
  padding: 6px 10px;
}

.faboo-event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

.faboo-inline-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.faboo-friends-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.faboo-friends-toolbar h3 {
  margin: 0 0 4px;
}

.faboo-friends-toolbar p {
  margin: 0;
  color: var(--faboo-muted);
}

.faboo-friends-toolbar form {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
}

.faboo-relation-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: var(--faboo-muted);
}

.faboo-relation-note strong {
  color: var(--faboo-text);
}

.faboo-member-tabs,
.faboo-feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.faboo-member-tabs .button,
.faboo-feed-filters .button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.faboo-member-tabs .button.active,
.faboo-feed-filters .button.active {
  background: var(--faboo-primary);
  color: #fff;
  border-color: var(--faboo-primary);
}

.faboo-member-tabs span {
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: 12px;
  font-weight: 900;
}

.faboo-notification-requests {
  display: grid;
  gap: 12px;
}

.faboo-notification-requests h4 {
  margin-bottom: 2px;
}

.faboo-notifications-page {
  display: grid;
  gap: 18px;
}

.faboo-notifications-hero,
.faboo-notification-section,
.faboo-notification-summary article,
.faboo-notification-card,
.faboo-request-card,
.faboo-empty-state {
  background: #fff;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 45, 65, .06);
}

.faboo-notifications-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px;
}

.faboo-notifications-hero small,
.faboo-section-head small {
  color: var(--faboo-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.faboo-notifications-hero h1 {
  margin: 4px 0 8px;
  color: var(--faboo-text);
  font-size: 30px;
}

.faboo-notifications-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--faboo-muted);
  line-height: 1.6;
}

.faboo-notification-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faboo-notification-summary article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 16px;
}

.faboo-notification-summary i,
.faboo-notification-main > i,
.faboo-empty-state > i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--faboo-soft);
  color: var(--faboo-primary);
  font-size: 20px;
}

.faboo-notification-summary span {
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-notification-summary strong {
  color: var(--faboo-text);
  font-size: 26px;
}

.faboo-notification-section {
  padding: 18px;
}

.faboo-section-head h3 {
  margin: 2px 0 0;
  color: var(--faboo-text);
}

.faboo-request-list,
.faboo-notification-list {
  display: grid;
  gap: 10px;
}

.faboo-request-card,
.faboo-notification-card {
  padding: 14px;
}

.faboo-request-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: #f8fbff;
}

.faboo-request-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-request-card strong,
.faboo-request-card small {
  display: block;
}

.faboo-request-card small,
.faboo-notification-main small,
.faboo-notification-main em,
.faboo-empty-state p {
  color: var(--faboo-muted);
}

.faboo-request-card form {
  display: flex;
  gap: 8px;
}

.faboo-notification-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 12px;
  align-items: center;
}

.faboo-notification-card.is-unread {
  border-color: rgba(8, 141, 205, .24);
  background: #f2f9ff;
}

.faboo-notification-main {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  color: var(--faboo-text);
}

.faboo-notification-main span,
.faboo-notification-main strong,
.faboo-notification-main small,
.faboo-notification-main em {
  display: block;
}

.faboo-notification-main strong {
  color: var(--faboo-text);
  font-size: 15px;
}

.faboo-notification-main em {
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
}

.faboo-icon-action {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--faboo-border);
  background: #fff;
  color: var(--faboo-muted);
}

.faboo-icon-action.danger:hover {
  border-color: #ffd4d4;
  color: #d93f3f;
  background: #fff5f5;
}

.faboo-empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 40px 18px;
  text-align: center;
}

.faboo-empty-state h3 {
  margin: 8px 0 0;
  color: var(--faboo-text);
}

.faboo-empty-state p {
  max-width: 420px;
  margin: 0;
  line-height: 1.55;
}

.faboo-request-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-soft);
}

.faboo-request-row img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-request-row small {
  display: block;
  color: var(--faboo-muted);
}

.faboo-request-row form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.faboo-friends-toolbar input[type="text"] {
  min-width: min(330px, 100%);
  min-height: 42px;
  border: 1px solid var(--faboo-border);
  border-radius: 7px;
  padding: 8px 12px;
}

.faboo-friends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.faboo-friend-card,
.faboo-group-card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 30px;
}

.faboo-friends-grid .faboo-friend-card {
  margin-bottom: 0;
}

.faboo-profile-friends-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.faboo-profile-friends-grid .faboo-friend-cover {
  height: 112px;
}

.faboo-profile-friends-grid .faboo-friend-body {
  padding-left: 14px;
  padding-right: 14px;
}

.faboo-profile-friends-grid .faboo-friend-body > img {
  width: 76px;
  height: 76px;
  margin-top: -38px;
}

.faboo-profile-friends-grid .faboo-card-actions {
  padding-left: 14px;
  padding-right: 14px;
}

.faboo-friend-cover,
.faboo-group-card > a img {
  width: 100%;
  height: 128px;
  background-position: center;
  background-size: cover;
  object-fit: cover;
  display: block;
}

.faboo-friend-body {
  padding: 0 18px 18px;
  text-align: center;
}

.faboo-friend-body > img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  margin-top: -43px;
  box-shadow: 0 10px 24px rgba(31, 45, 65, .12);
}

.faboo-friend-body h4 {
  margin: 8px 0 2px;
}

.faboo-friend-body span,
.faboo-group-body span,
.faboo-card-stats {
  color: var(--faboo-muted);
}

.faboo-card-stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
}

.faboo-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0 18px 18px;
}

.faboo-card-actions form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.faboo-card-actions .main-btn,
.faboo-card-actions .button {
  min-height: 36px;
  padding: 8px 12px;
  text-transform: none;
}

.faboo-connect-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.faboo-connect-hero > div:first-child span {
  color: var(--faboo-primary);
  font-weight: 800;
}

.faboo-connect-hero h3 {
  margin: 4px 0 6px;
}

.faboo-connect-stats,
.faboo-connect-tags,
.faboo-connect-actions,
.faboo-connect-more form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faboo-connect-stats a {
  min-width: 112px;
  padding: 12px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-soft);
  text-align: center;
}

.faboo-connect-progress {
  display: grid;
  gap: 10px;
}

.faboo-connect-progress.inline {
  margin-bottom: 16px;
}

.faboo-connect-progress strong,
.faboo-connect-progress span {
  display: block;
}

.faboo-connect-progress > div:last-child,
.faboo-match-score {
  height: 8px;
  border-radius: 999px;
  background: var(--faboo-soft);
  overflow: hidden;
}

.faboo-connect-progress > div:last-child span,
.faboo-match-score span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--faboo-primary);
}

.faboo-connect-filter form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.faboo-connect-filter input,
.faboo-connect-filter select {
  min-height: 38px;
  border: 1px solid var(--faboo-border);
  border-radius: 6px;
  padding: 0 10px;
}

.faboo-connect-filter select[data-native-select] {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--faboo-muted) 50%) calc(100% - 17px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--faboo-muted) 50%, transparent 50%) calc(100% - 12px) 50% / 6px 6px no-repeat,
    var(--faboo-card);
  color: var(--faboo-text);
  min-width: 160px;
  padding-right: 34px;
}

.faboo-connect-live-meta {
  align-items: center;
  color: var(--faboo-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 14px;
  justify-content: space-between;
  margin: 0 0 12px;
  padding: 0 2px;
}

.faboo-connect-live-meta strong {
  color: var(--faboo-text);
}

.faboo-connect-live-meta em {
  font-style: normal;
}

.faboo-connect-live-loading .faboo-connect-grid {
  opacity: .72;
  transition: opacity .18s ease;
}

.faboo-connect-card[hidden],
.faboo-connect-live-empty[hidden],
[data-connect-server-empty][hidden] {
  display: none !important;
}

.faboo-connect-stats strong,
.faboo-connect-stats span {
  display: block;
}

.faboo-connect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faboo-connect-card {
  overflow: hidden;
  padding: 0;
}

.faboo-connect-photo {
  min-height: 310px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.faboo-connect-photo span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 141, 205, .92);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}

.faboo-verified-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 132, 71, .94);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.faboo-connect-body {
  padding: 16px;
}

.faboo-connect-body h3 {
  margin-bottom: 4px;
}

.faboo-connect-body small,
.faboo-connect-more summary {
  color: var(--faboo-muted);
}

.faboo-match-score {
  position: relative;
  margin: 10px 0;
}

.faboo-match-score strong {
  position: absolute;
  inset: -4px 0 auto;
  color: var(--faboo-primary);
  font-size: 12px;
}

.faboo-connect-safety-meter {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 800;
}

.faboo-connect-safety-meter > span {
  height: 7px;
  overflow: hidden;
  background: #e8eef6;
}

.faboo-connect-safety-meter b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #22b573, var(--faboo-primary));
}

.faboo-connect-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--faboo-soft);
  color: var(--faboo-primary);
  font-size: 12px;
  font-weight: 700;
}

.faboo-connect-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 12px 0 4px;
}

.faboo-connect-details span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--faboo-muted);
  font-size: 13px;
  line-height: 1.35;
}

.faboo-connect-details i {
  color: var(--faboo-primary);
  flex: 0 0 auto;
}

.faboo-connect-actions {
  justify-content: center;
  padding: 0 16px 16px;
}

.faboo-connect-actions form,
.faboo-connect-more form {
  margin: 0;
}

.faboo-swipe-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--faboo-border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 10px 24px rgba(22, 35, 54, .08);
}

.faboo-swipe-btn.pass {
  color: var(--faboo-danger);
}

.faboo-swipe-btn.super {
  color: #0aa6df;
}

.faboo-swipe-btn.like {
  color: #e33d68;
}

.faboo-connect-more {
  padding: 0 16px 16px;
}

.faboo-connect-more summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.faboo-connect-photo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.faboo-connect-photo-list > div {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--faboo-soft);
}

.faboo-connect-photo-list img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.faboo-connect-photo-list span,
.faboo-connect-photo-list form {
  display: block;
  padding: 8px;
}

.faboo-connect-tools {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.faboo-connect-tools form,
.faboo-match-note {
  display: grid;
  gap: 8px;
}

.faboo-date-ideas,
.faboo-icebreakers,
.faboo-safety-list {
  display: grid;
  gap: 8px;
}

.faboo-date-ideas span,
.faboo-icebreakers p,
.faboo-safety-list p {
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  background: var(--faboo-soft);
  color: var(--faboo-text);
}

.faboo-match-note textarea {
  min-height: 96px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  padding: 10px;
}

.faboo-date-proposal,
.faboo-admin-row {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-soft);
}

.faboo-date-proposal form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-ai-search {
  align-items: center;
  background: #f7fcff;
  border: 1px solid rgba(8, 141, 205, .18);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  margin-bottom: 12px;
  padding: 10px;
}

.faboo-ai-search > i {
  color: var(--faboo-primary);
  font-size: 20px;
  text-align: center;
}

.faboo-ai-search input {
  border: 0;
  background: transparent;
  min-height: 40px;
  padding: 0;
}

.faboo-ai-search input:focus {
  box-shadow: none;
  outline: none;
}

.faboo-ai-search-summary,
.faboo-ai-inline-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-ai-inline-actions small {
  color: var(--faboo-muted);
  font-size: 12px;
  line-height: 1.4;
}

.faboo-ai-inline-actions .button.is-applied {
  background: #eaf8f0;
  border-color: rgba(22, 132, 71, .25);
  color: #168447;
  cursor: default;
}

.faboo-ai-search-summary {
  margin-bottom: 12px;
}

.faboo-ai-search-summary span {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-primary);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
}

.faboo-ai-connect {
  border: 1px solid rgba(8, 141, 205, .14);
  border-radius: 8px;
  background: #f7fcff;
  padding: 8px 10px;
}

.faboo-ai-connect summary {
  align-items: center;
  color: var(--faboo-primary);
  cursor: pointer;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
}

.faboo-ai-connect ul {
  margin: 8px 0;
  padding-left: 18px;
}

.faboo-ai-connect li,
.faboo-ai-connect p {
  color: var(--faboo-muted);
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 5px;
}

.faboo-ai-connect strong {
  color: var(--faboo-text);
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.faboo-ai-panel {
  border: 1px solid rgba(8, 141, 205, .18);
  border-radius: 8px;
  background: #f7fcff;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
}

.faboo-ai-panel-head {
  align-items: center;
  display: flex;
  gap: 10px;
}

.faboo-ai-panel-head > i {
  align-items: center;
  background: var(--faboo-primary);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.faboo-ai-panel-head strong,
.faboo-ai-panel-head small {
  display: block;
}

.faboo-ai-panel ul {
  margin: 0;
  padding-left: 18px;
}

.faboo-ai-panel details {
  border-top: 1px solid var(--faboo-border);
  padding-top: 8px;
}

.faboo-ai-panel summary {
  cursor: pointer;
  font-weight: 800;
}

.faboo-ai-panel p {
  color: var(--faboo-muted);
  margin: 8px 0 0;
}

.faboo-ai-suggestion-list {
  display: grid;
  gap: 8px;
}

.faboo-ai-suggestion-list button {
  align-items: flex-start;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  cursor: pointer;
  display: flex;
  gap: 8px;
  padding: 10px;
  text-align: left;
}

.faboo-ai-suggestion-list button i {
  color: var(--faboo-primary);
  margin-top: 2px;
}

.faboo-ai-suggestion-list button span,
.faboo-ai-suggestion-list button strong {
  display: block;
}

.faboo-ai-suggestion-list button strong {
  margin-bottom: 2px;
}

.faboo-ai-suggestion-list button:hover {
  border-color: rgba(8, 141, 205, .35);
  color: var(--faboo-primary);
}

.faboo-ai-moderation {
  align-items: center;
  background: #fff8e6;
  border: 1px solid rgba(201, 132, 0, .22);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
}

.faboo-ai-moderation strong {
  color: #8a5a00;
}

.faboo-ai-moderation span {
  color: var(--faboo-muted);
}

.faboo-ai-admin-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faboo-ai-admin-grid article {
  align-items: center;
  background: var(--faboo-card);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  padding: 14px;
}

.faboo-ai-admin-grid article > i {
  align-items: center;
  background: var(--faboo-soft);
  border-radius: 50%;
  color: var(--faboo-primary);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.faboo-ai-admin-grid strong,
.faboo-ai-admin-grid small {
  display: block;
}

.faboo-ai-admin-grid small {
  color: var(--faboo-muted);
  line-height: 1.4;
}

.faboo-ai-admin-grid em {
  background: var(--faboo-primary);
  border-radius: 999px;
  color: #fff;
  font-style: normal;
  font-weight: 900;
  padding: 6px 9px;
}

body.faboo-theme-dark .faboo-ai-connect,
body.faboo-theme-dark .faboo-ai-panel,
body.faboo-theme-dark .faboo-ai-search,
body.faboo-theme-dark .faboo-ai-suggestion-list button {
  background: #101827;
}

body.faboo-theme-dark .faboo-platform-switch a.active,
body.faboo-theme-dark .faboo-platform-switch a:hover {
  background: #182235;
}

body.faboo-theme-dark .faboo-ai-moderation {
  background: #2b2414;
  border-color: rgba(255, 214, 102, .25);
}

.faboo-admin-list {
  display: grid;
  gap: 12px;
}

.faboo-admin-row {
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
}

.faboo-admin-row img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-admin-row form {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-admin-row input {
  min-height: 38px;
  border: 1px solid var(--faboo-border);
  border-radius: 7px;
  padding: 8px 10px;
}

.faboo-admin-pro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  min-height: 820px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  overflow: hidden;
  background: #f6f9ff;
  box-shadow: 0 16px 38px rgba(31, 45, 65, .08);
}

.faboo-admin-pro-wide {
  min-height: 760px;
}

.faboo-admin-pro-sidebar {
  background: #fff;
  border-right: 1px solid var(--faboo-border);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faboo-admin-brand,
.faboo-admin-profile,
.faboo-admin-list-pro a,
.faboo-admin-report {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faboo-admin-brand > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--faboo-primary);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.faboo-admin-brand strong,
.faboo-admin-profile strong {
  display: block;
  color: #24324b;
}

.faboo-admin-brand small,
.faboo-admin-profile small {
  color: var(--faboo-muted);
}

.faboo-admin-pro-sidebar nav {
  display: grid;
  gap: 6px;
}

.faboo-admin-pro-sidebar nav a,
.faboo-admin-back {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  color: #526070;
  font-weight: 800;
}

.faboo-admin-nav-label {
  flex: 1;
  min-width: 0;
}

.faboo-admin-nav-badge {
  align-items: center;
  background: #f59e0b;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  height: 20px;
  line-height: 1;
  padding: 0 7px;
  text-transform: uppercase;
}

.faboo-admin-pro-sidebar nav a.has-admin-badge {
  color: #7a5200;
}

.faboo-admin-pro-sidebar nav a.active,
.faboo-admin-pro-sidebar nav a:hover,
.faboo-admin-back:hover {
  background: #eef5ff;
  color: var(--faboo-primary);
}

.faboo-admin-back {
  margin-top: auto;
}

.faboo-admin-pro-main {
  position: relative;
  z-index: 1;
  padding: 24px;
  min-width: 0;
}

.faboo-admin-pro-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.faboo-admin-pro-top h2 {
  margin: 2px 0 4px;
  font-size: 28px;
  color: #24324b;
}

.faboo-admin-update-alert {
  align-items: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, .14), rgba(8, 141, 205, .10));
  border: 1px solid rgba(245, 158, 11, .28);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 45, 65, .06);
  display: grid;
  gap: 14px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  margin: 0 0 18px;
  padding: 15px;
}

.faboo-admin-update-alert > i {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  color: #a46106;
  display: inline-flex;
  font-size: 23px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.faboo-admin-update-alert small {
  color: #a46106;
  display: block;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.faboo-admin-update-alert strong {
  color: #24324b;
  display: block;
  font-size: 18px;
  font-weight: 950;
}

.faboo-admin-update-alert p {
  color: var(--faboo-muted);
  font-weight: 800;
  line-height: 1.45;
  margin: 2px 0 0;
}

.faboo-admin-profile {
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
}

.faboo-admin-profile img,
.faboo-admin-list-pro img,
.faboo-admin-report img,
.faboo-admin-table-row img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.faboo-admin-kpis article,
.faboo-admin-panel {
  background: #fff;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 45, 65, .06);
}

.faboo-admin-kpis article {
  padding: 18px;
  display: grid;
  gap: 4px;
}

.faboo-admin-kpis i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--faboo-primary);
  font-size: 20px;
}

.faboo-admin-kpis span,
.faboo-admin-kpis small,
.faboo-admin-panel-head small,
.faboo-admin-table-row small,
.faboo-admin-feed small {
  color: var(--faboo-muted);
}

.faboo-admin-kpis strong {
  font-size: 30px;
  color: #24324b;
}

.faboo-admin-pro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
  gap: 18px;
  margin-bottom: 18px;
  align-items: stretch;
  width: 100%;
}

.faboo-admin-pro-grid.lower {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.faboo-admin-panel {
  padding: 18px;
  float: none;
  min-width: 0;
}

.faboo-admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--faboo-border);
}

.faboo-admin-panel-head h3 {
  margin: 0;
}

.faboo-admin-panel-head > span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--faboo-primary);
  font-weight: 800;
}

.faboo-admin-table,
.faboo-admin-feed,
.faboo-admin-list-pro {
  display: grid;
  gap: 10px;
}

.faboo-admin-table-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #f8fbff;
}

.faboo-admin-audit-row {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, .75fr) minmax(0, 1.4fr);
  align-items: start;
  width: 100%;
}

.faboo-admin-audit-row span {
  min-width: 0;
  display: grid;
  gap: 3px;
  overflow-wrap: anywhere;
}

.faboo-admin-audit-row em {
  justify-self: start;
  border-radius: 6px;
  padding: 3px 6px;
  background: rgba(23, 159, 215, .10);
  color: var(--faboo-primary-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.faboo-admin-audit-row small {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faboo-admin-table-row form {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-admin-table-row input {
  min-height: 38px;
  border: 1px solid var(--faboo-border);
  border-radius: 7px;
  padding: 8px 10px;
}

.faboo-ai-demo-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
}

.faboo-ai-demo-danger {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--faboo-border);
}

.faboo-ai-demo-profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.faboo-ai-demo-profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-ai-demo-profile span {
  display: grid;
  min-width: 0;
}

.faboo-ai-demo-profile strong,
.faboo-ai-demo-profile small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-ai-feed-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  margin-left: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(23, 159, 215, .10);
  color: var(--faboo-primary-dark);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.faboo-ai-feed-pill.small {
  font-size: 10px;
  padding: 1px 6px;
}

.faboo-ai-feed-pill i {
  font-size: 12px;
}

.faboo-admin-table-row em,
.faboo-admin-list-pro em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--faboo-primary);
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
}

.faboo-admin-mini-stats {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.faboo-admin-mini-stats span,
.faboo-admin-feed p,
.faboo-admin-list-pro a,
.faboo-admin-report {
  padding: 12px;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--faboo-text);
}

.faboo-admin-mini-stats strong {
  font-size: 22px;
  color: var(--faboo-primary);
}

.faboo-admin-feed p {
  margin: 0;
}

.faboo-admin-feed strong,
.faboo-admin-feed small,
.faboo-admin-list-pro strong,
.faboo-admin-list-pro small {
  display: block;
}

.faboo-admin-report {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
}

.faboo-admin-report form {
  grid-column: 1 / -1;
}

.faboo-admin-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--faboo-primary);
  font-weight: 900;
}

.faboo-admin-support-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f2f9ff 100%);
}

.faboo-admin-support-panel > p {
  color: var(--faboo-muted);
  line-height: 1.55;
}

.faboo-admin-support-panel .faboo-admin-panel-head > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--faboo-soft);
  color: var(--faboo-primary);
  font-size: 20px;
}

.faboo-admin-support-address {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 16px 0;
  padding: 13px;
  border: 1px solid var(--faboo-border);
  background: #fff;
  color: var(--faboo-text);
  font-weight: 900;
}

.faboo-admin-support-address i {
  color: var(--faboo-primary);
}

.faboo-admin-support-btn {
  width: 100%;
  justify-content: center;
}

.faboo-admin-webmail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eef8ff 100%);
}

.faboo-admin-webmail-hero h3 {
  margin: 10px 0 8px;
  color: var(--faboo-text);
  font-size: 28px;
}

.faboo-admin-webmail-hero p,
.faboo-admin-webmail-note {
  color: var(--faboo-muted);
  line-height: 1.65;
}

.faboo-admin-webmail-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--faboo-primary);
  color: #fff;
  font-size: 26px;
}

.faboo-admin-webmail-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--faboo-border);
  background: #fff;
}

.faboo-admin-webmail-card small {
  color: var(--faboo-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-admin-webmail-card strong {
  color: var(--faboo-text);
  font-size: 19px;
}

.faboo-admin-webmail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faboo-admin-webmail-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--faboo-text);
  font-weight: 800;
}

.faboo-admin-webmail-list i {
  color: #168447;
  margin-top: 2px;
}

.faboo-admin-webmail-grid {
  grid-template-columns: repeat(2, minmax(320px, 1fr)) !important;
}

.faboo-admin-webmail-grid > .faboo-admin-panel {
  min-height: 100%;
}

.faboo-admin-refresh {
  white-space: nowrap;
}

.faboo-admin-status-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faboo-admin-status-bars {
  display: grid;
  gap: 18px;
}

.faboo-admin-status-bar {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--faboo-border);
  background: #f8fbff;
}

.faboo-admin-status-bar span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--faboo-text);
}

.faboo-admin-status-bar em,
.faboo-admin-status-bar small,
.faboo-admin-status-note {
  color: var(--faboo-muted);
  font-style: normal;
}

.faboo-admin-status-bar > div {
  height: 10px;
  overflow: hidden;
  background: #e5edf7;
}

.faboo-admin-status-bar > div i {
  display: block;
  height: 100%;
  min-width: 2px;
  background: linear-gradient(90deg, var(--faboo-primary), #22b573);
}

.faboo-admin-check-list {
  display: grid;
  gap: 10px;
}

.faboo-admin-check-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f8fbff;
  color: var(--faboo-text);
  font-weight: 800;
}

.faboo-admin-check-list i {
  color: #168447;
  font-size: 19px;
}

.faboo-admin-check-list .warn i {
  color: #c48410;
}

.faboo-admin-status-note {
  margin: 14px 0 0;
  line-height: 1.55;
}

.faboo-admin-tech-list {
  display: grid;
  grid-template-columns: minmax(115px, auto) minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
}

.faboo-admin-tech-list dt {
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-admin-tech-list dd {
  margin: 0;
  color: var(--faboo-text);
  font-weight: 900;
  word-break: break-word;
}

.faboo-admin-directory {
  gap: 8px;
}

.faboo-admin-directory-row {
  display: grid;
  grid-template-columns: 28px 48px minmax(210px, 1.35fr) minmax(150px, .9fr) auto minmax(190px, auto) minmax(170px, auto);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--faboo-text);
  overflow: visible;
}

.faboo-admin-member-check {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  margin: 0;
}

.faboo-admin-member-check input {
  accent-color: var(--faboo-primary);
  height: 18px;
  margin: 0;
  width: 18px;
}

.faboo-admin-member-main,
.faboo-admin-member-meta {
  min-width: 0;
  overflow-wrap: anywhere;
}

.faboo-admin-member-stats {
  align-items: stretch;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(48px, 1fr));
  min-width: 176px;
}

.faboo-admin-member-stats > span {
  background: #eef5ff;
  border: 1px solid rgba(8, 141, 205, .10);
  border-radius: 8px;
  color: var(--faboo-text);
  display: grid;
  justify-items: center;
  min-height: 44px;
  padding: 6px 8px;
}

.faboo-admin-member-stats .faboo-warning-count {
  align-items: center;
  color: #b7791f;
  display: inline-flex;
  font-weight: 900;
  gap: 4px;
  justify-content: center;
}

.faboo-admin-member-stats .faboo-warning-count.danger {
  background: #fff1f1;
  border-color: #feb2b2;
  color: #c53030;
}

.faboo-admin-member-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  justify-self: stretch;
  min-width: 170px;
}

.faboo-admin-member-actions form {
  margin: 0;
}

.faboo-admin-member-actions .button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 36px;
  padding: 0 11px;
  white-space: nowrap;
  width: 100%;
}

@media (max-width: 1420px) {
  .faboo-admin-directory-row {
    grid-template-columns: 28px 48px minmax(210px, 1fr) minmax(150px, .85fr) minmax(170px, auto);
  }

  .faboo-admin-directory-row > em {
    justify-self: start;
  }

  .faboo-admin-member-stats {
    grid-column: 3 / 5;
    grid-row: 2;
    width: min(100%, 360px);
  }

  .faboo-admin-member-actions {
    grid-column: 5;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (max-width: 980px) {
  .faboo-admin-directory-row {
    grid-template-columns: 28px 48px minmax(0, 1fr);
  }

  .faboo-admin-member-main {
    grid-column: 3;
  }

  .faboo-admin-member-meta,
  .faboo-admin-directory-row > em,
  .faboo-admin-member-stats,
  .faboo-admin-member-actions {
    grid-column: 1 / -1;
  }

  .faboo-admin-member-stats {
    width: 100%;
  }

  .faboo-admin-member-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .faboo-admin-member-stats,
  .faboo-admin-member-actions {
    grid-template-columns: 1fr;
  }
}

.faboo-admin-directory-row img,
.faboo-admin-audit-head img,
.faboo-admin-message-row img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-admin-directory-row strong,
.faboo-admin-directory-row small,
.faboo-admin-message-row strong,
.faboo-admin-message-row small {
  display: block;
}

.faboo-admin-directory-row em {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--faboo-primary);
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
}

.faboo-admin-directory-row em.status-suspended {
  background: #fff1f1;
  color: var(--faboo-danger);
}

.faboo-admin-audit-list {
  gap: 12px;
}

.faboo-admin-audit-card,
.faboo-admin-message-row {
  padding: 14px;
  border-radius: 8px;
  background: #f8fbff;
}

.faboo-admin-audit-card p,
.faboo-admin-message-row p {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.faboo-admin-audit-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.faboo-admin-audit-head span {
  flex: 1;
}

.faboo-admin-audit-head strong,
.faboo-admin-audit-head small {
  display: block;
}

.faboo-admin-audit-head em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--faboo-primary);
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
}

.faboo-admin-post-media {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 8px;
}

.faboo-admin-audit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  color: var(--faboo-muted);
  font-weight: 700;
}

.faboo-admin-audit-meta a {
  margin-left: auto;
  color: var(--faboo-primary);
  font-weight: 900;
}

.faboo-admin-message-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
}

.faboo-admin-message-row p {
  margin: 6px 0;
}

.faboo-admin-alert-list-compact {
  grid-template-columns: 1fr;
}

.faboo-admin-message-log {
  display: grid;
  gap: 12px;
}

.faboo-admin-message-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #f8fbff;
}

.faboo-admin-message-card.is-focused {
  border-color: var(--faboo-primary);
  box-shadow: inset 0 0 0 1px rgba(8, 141, 205, .28);
}

.faboo-admin-message-card-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.faboo-admin-message-card-head img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-admin-message-card-head > i {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--faboo-soft);
  color: var(--faboo-primary);
  font-size: 20px;
}

.faboo-admin-message-card-head strong,
.faboo-admin-message-card-head small,
.faboo-admin-message-card-body strong {
  display: block;
}

.faboo-admin-message-card-head small,
.faboo-admin-message-card-body blockquote small {
  color: var(--faboo-muted);
}

.faboo-admin-message-card-head em,
.faboo-admin-message-card-body em {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--faboo-primary);
  font-style: normal;
  font-weight: 900;
  font-size: 12px;
}

.faboo-admin-message-card-head em.status-answered {
  background: #eaf7ed;
  color: #168447;
}

.faboo-admin-message-card-head em.status-open,
.faboo-admin-message-card-head em.status-read {
  background: #fff6df;
  color: #a46800;
}

.faboo-admin-message-card-body {
  display: grid;
  gap: 8px;
}

.faboo-admin-message-card-body p {
  margin: 0;
  color: var(--faboo-text);
  line-height: 1.55;
}

.faboo-admin-message-card-body blockquote {
  margin: 0;
  padding: 12px;
  border-left: 4px solid #22b573;
  background: #fff;
  color: var(--faboo-text);
}

.faboo-admin-message-card-actions,
.faboo-admin-ticket-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.faboo-admin-message-card-actions form,
.faboo-admin-ticket-status {
  margin: 0;
}

.faboo-admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faboo-admin-ticket-reply {
  display: grid;
  gap: 10px;
}

.faboo-admin-ticket-reply textarea,
.faboo-admin-settings-form textarea,
.faboo-admin-message-form textarea {
  resize: vertical;
}

.faboo-admin-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.faboo-admin-filter-tabs .button.active {
  background: var(--faboo-primary);
  border-color: var(--faboo-primary);
  color: #fff;
}

.faboo-admin-flagged-row {
  border-left: 4px solid var(--faboo-danger);
}

.faboo-admin-flag-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.faboo-admin-flag-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--faboo-danger);
  font-size: 12px;
  font-weight: 900;
}

.faboo-admin-moderation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--faboo-border);
}

.faboo-admin-moderation-actions form {
  margin: 0;
}

.faboo-warning-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--faboo-primary);
  font-size: 12px;
  font-weight: 900;
}

.faboo-warning-count.danger {
  background: #fff1f1;
  color: var(--faboo-danger);
}

.faboo-admin-escalated {
  background: #fff8f8;
  box-shadow: inset 0 0 0 1px rgba(218, 50, 50, .18);
}

.faboo-admin-pagination,
.faboo-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.faboo-admin-pagination a,
.faboo-admin-pagination span,
.faboo-pagination a,
.faboo-pagination span {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  color: var(--faboo-text);
  font-weight: 800;
}

.faboo-admin-pagination a.active,
.faboo-admin-pagination a:hover,
.faboo-pagination a.active,
.faboo-pagination a:hover {
  border-color: var(--faboo-primary);
  background: var(--faboo-primary);
  color: #fff;
}

body.faboo-theme-dark .faboo-pagination a,
body.faboo-theme-dark .faboo-pagination span {
  background: var(--faboo-card);
  border-color: var(--faboo-border);
}

.faboo-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 30px;
}

.faboo-settings-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  gap: 24px;
  align-items: start;
}

.faboo-settings-main,
.faboo-settings-side {
  display: grid;
  gap: 24px;
  align-content: start;
}

.faboo-settings-columns .main-wraper {
  margin-bottom: 0;
}

.faboo-settings-grid > .main-wraper {
  background: var(--faboo-card);
  padding: 22px;
}

.faboo-settings-grid > .main-wraper,
.faboo-settings-columns .main-wraper {
  background: var(--faboo-card);
  padding: 22px;
}

.faboo-settings-grid > .main-wraper > h3,
.faboo-settings-columns .main-wraper > h3 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--faboo-border);
}

.faboo-settings-form {
  display: grid;
  gap: 14px;
}

.faboo-settings-form .faboo-auth-grid {
  gap: 12px;
}

.faboo-settings-form label {
  display: grid;
  gap: 7px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--faboo-text);
  font-weight: 800;
}

.faboo-settings-form input:not([type="checkbox"]):not([type="file"]),
.faboo-settings-form textarea,
.faboo-settings-form select,
.faboo-connect-tools input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--faboo-border);
  border-radius: 7px;
  background: #fff;
  padding: 9px 11px;
  color: var(--faboo-text);
}

.faboo-settings-form textarea {
  min-height: 104px;
  resize: vertical;
}

.faboo-settings-form .faboo-auth-grid,
.faboo-connect-tools,
.faboo-connect-photo-list,
.faboo-connect-progress.inline {
  padding: 14px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-soft);
}

.faboo-settings-form .faboo-auth-grid label,
.faboo-settings-form .faboo-checkbox {
  padding: 0;
}

.faboo-settings-form .faboo-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
}

.faboo-group-body {
  padding: 18px;
}

.faboo-group-card .faboo-card-actions {
  justify-content: flex-start;
}

.faboo-group-hero {
  padding: 20px;
}

.faboo-group-hero .group-avatar > img {
  height: 310px;
  object-fit: cover;
}

.faboo-group-hero .grp-info {
  padding: 18px 4px 4px;
}

.faboo-group-hero .grp-info h2 {
  margin-bottom: 6px;
}

.faboo-group-hero .grp-info > ul li {
  margin-right: 28px;
}

.auth-login .login-form,
.auth-login .signup-form {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(31, 45, 65, .09);
}

.auth-login .logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.faboo-auth-page {
  min-height: 100vh;
  background: #f4f7fb;
}

.faboo-auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 1fr);
}

.faboo-auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 52px;
  overflow: hidden;
  background: #0d1b2f;
  color: #fff;
}

.faboo-auth-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(8, 17, 34, 0.9), rgba(24, 84, 140, 0.76));
}

.faboo-auth-visual-register:before {
  background: linear-gradient(145deg, rgba(8, 17, 34, 0.9), rgba(42, 96, 96, 0.78));
}

.faboo-auth-visual > * {
  position: relative;
  z-index: 1;
}

.faboo-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}

.faboo-auth-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.faboo-auth-kicker {
  margin-bottom: 10px;
  color: #99e6cf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.faboo-auth-visual h1 {
  max-width: 620px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.faboo-auth-visual.faboo-auth-visual-register h1 {
  font-size: clamp(34px, 4.8vw, 58px);
}

.faboo-auth-visual p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.65;
}

.faboo-auth-points {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faboo-auth-points li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.faboo-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 28px;
}

.faboo-auth-card {
  width: min(100%, 560px);
  padding: 34px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31, 45, 65, .09);
}

.faboo-auth-card h2 {
  margin-bottom: 8px;
  color: var(--faboo-text);
  font-size: 30px;
  letter-spacing: 0;
}

.faboo-auth-card > p {
  margin-bottom: 22px;
  color: var(--faboo-muted);
  line-height: 1.65;
}

.faboo-auth-form {
  display: grid;
  gap: 16px;
}

.faboo-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faboo-auth-form label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.faboo-auth-form label > span {
  color: var(--faboo-text);
  font-size: 13px;
  font-weight: 900;
}

.faboo-auth-form input[type="email"],
.faboo-auth-form input[type="password"],
.faboo-auth-form input[type="text"],
.faboo-auth-form input[type="date"],
.faboo-auth-form select,
.faboo-auth-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--faboo-text);
}

.faboo-auth-form textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.faboo-auth-form input:focus,
.faboo-auth-form textarea:focus {
  border-color: var(--faboo-primary);
  box-shadow: 0 0 0 3px rgba(8, 141, 242, .12);
}

.faboo-auth-form .main-btn {
  width: 100%;
  margin-top: 4px;
  justify-content: center;
}

.faboo-auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.faboo-auth-links a,
.faboo-auth-home {
  color: var(--faboo-primary);
  font-weight: 800;
}

.faboo-auth-home {
  display: inline-block;
  margin-top: 14px;
}

.faboo-auth-alert {
  margin-bottom: 18px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #edf8ef;
  color: #12652a;
  font-weight: 800;
}

.faboo-auth-alert-error {
  background: #fff0f0;
  color: #a71919;
}

.faboo-auth-alert-warning {
  background: #fff7e3;
  color: #7a4a00;
}

.faboo-auth-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px !important;
  color: var(--faboo-muted);
  line-height: 1.55;
}

.faboo-auth-check input {
  margin-top: 4px;
}

.faboo-auth-check span {
  color: var(--faboo-muted) !important;
  font-weight: 700 !important;
}

.faboo-auth-check a {
  color: var(--faboo-primary);
}

.faboo-password-hint {
  margin: -4px 0 0;
  color: var(--faboo-muted);
  font-size: 13px;
}

.faboo-code-input {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .26em;
  text-align: center;
}

.faboo-auth-resend {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.faboo-auth-resend label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.faboo-auth-resend label > span {
  color: var(--faboo-text);
  font-size: 13px;
  font-weight: 900;
}

.faboo-auth-resend input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--faboo-text);
}

.faboo-auth-resend .button {
  width: 100%;
  text-align: center;
}

.faboo-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.faboo-public-page {
  margin: 0;
  background: #fff;
  color: var(--faboo-text);
  font-family: Arial, Helvetica, sans-serif;
}

.faboo-public-page *,
.faboo-public-page *:before,
.faboo-public-page *:after {
  box-sizing: border-box;
}

.faboo-public-page img {
  display: block;
  max-width: 100%;
}

.faboo-public-page a {
  text-decoration: none;
}

.faboo-public-page h1,
.faboo-public-page h2,
.faboo-public-page h3,
.faboo-public-page h4,
.faboo-public-page p {
  margin-top: 0;
}

.faboo-public-page .container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.faboo-public-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(231, 235, 242, .9);
  box-shadow: 0 10px 28px rgba(31, 45, 65, .06);
  backdrop-filter: blur(14px);
}

.faboo-public-topbar .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--faboo-text);
  font-size: 22px;
  font-weight: 900;
}

.faboo-public-topbar .logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.faboo-public-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.faboo-public-nav a {
  color: var(--faboo-text);
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 800;
  transition: background .18s ease, color .18s ease;
}

.faboo-public-nav a:hover {
  background: var(--faboo-soft);
  color: var(--faboo-primary-dark);
}

.faboo-public-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: url('../images/faboo/home-hero.jpg') center/cover;
  color: #fff;
}

.faboo-coming-soon-page {
  min-height: 100vh;
  background: #fff;
}

.faboo-coming-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 132px 0 92px;
  background-image: linear-gradient(90deg, rgba(10, 18, 31, .86), rgba(10, 18, 31, .55), rgba(10, 18, 31, .82)), url("../images/faboo/home-hero.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.faboo-coming-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: center;
}

.faboo-coming-copy {
  min-width: 0;
}

.faboo-coming-hero h1 {
  max-width: 860px;
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.03;
  overflow-wrap: break-word;
}

.faboo-coming-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, .92);
  font-size: 19px;
  line-height: 1.65;
}

.faboo-coming-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-coming-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.faboo-coming-meta span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
}

.faboo-coming-meta strong {
  color: #fff;
}

.faboo-coming-notice {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  max-width: 640px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .94);
  font-weight: 800;
  line-height: 1.45;
}

.faboo-coming-notice i {
  color: #fff;
  font-size: 20px;
}

.faboo-coming-note-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faboo-coming-note-list span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--faboo-text);
  font-weight: 800;
}

.faboo-coming-note-list i {
  color: #168447;
}

.faboo-launch-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  color: var(--faboo-text);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .24);
}

.faboo-launch-panel h2 {
  margin: 4px 0 8px;
  color: var(--faboo-text);
  font-size: 28px;
}

.faboo-launch-panel p {
  color: var(--faboo-muted);
  font-size: 15px;
}

.faboo-launch-kicker,
.faboo-section-eyebrow {
  color: var(--faboo-primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-progress {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.faboo-overall-progress {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding: 18px;
  background: var(--faboo-soft);
}

.faboo-overall-progress strong {
  color: var(--faboo-primary);
  font-size: 46px;
  line-height: .9;
}

.faboo-overall-progress small {
  color: var(--faboo-muted);
  font-weight: 800;
  line-height: 1.35;
}

.faboo-progress div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
}

.faboo-progress meter {
  width: 100%;
  height: 10px;
}

.faboo-launch-strip {
  background: #fff;
  border-bottom: 1px solid var(--faboo-border);
}

.faboo-launch-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.faboo-launch-strip div div {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 18px;
  color: var(--faboo-text);
  font-weight: 900;
}

.faboo-launch-strip i {
  color: var(--faboo-primary);
  font-size: 24px;
}

.faboo-coming-status {
  background: #f6f8fb;
}

.faboo-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 38px;
}

.faboo-roadmap-grid article {
  padding: 24px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 45, 65, .07);
}

.faboo-roadmap-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--faboo-soft);
  color: var(--faboo-primary);
  font-weight: 900;
}

.faboo-roadmap-grid h3 {
  margin-bottom: 8px;
  color: var(--faboo-text);
}

.faboo-roadmap-grid p,
.faboo-coming-info p {
  color: var(--faboo-muted);
  line-height: 1.65;
}

.faboo-coming-info {
  margin-top: 6px;
}

.faboo-coming-cta {
  text-align: center;
}

.faboo-public-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 22, 40, .88), rgba(11, 22, 40, .58));
}

.faboo-public-hero .container {
  position: relative;
  z-index: 1;
}

.faboo-public-hero h1 {
  color: #fff;
  font-size: clamp(48px, 9vw, 98px);
  line-height: .95;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.faboo-public-hero p {
  max-width: 760px;
  color: #eef5ff;
  font-size: 21px;
  line-height: 1.55;
}

.faboo-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.faboo-public-actions .button {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .36);
}

.faboo-public-band {
  padding: 0 0 56px;
  background: #fff;
}

.faboo-public-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -44px;
  overflow: hidden;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-border);
  box-shadow: 0 18px 42px rgba(31, 45, 65, .12);
}

.faboo-public-stats div {
  padding: 24px;
  background: #fff;
  text-align: center;
}

.faboo-public-stats strong {
  display: block;
  color: var(--faboo-text);
  font-size: 34px;
}

.faboo-public-stats span {
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-public-section {
  padding: 74px 0;
  background: #fff;
}

.faboo-public-section:nth-of-type(even) {
  background: #f6f8fb;
}

.faboo-section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.faboo-section-title h2,
.faboo-public-two-col h2,
.faboo-public-cta h2 {
  color: var(--faboo-text);
  font-size: 36px;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.faboo-section-title p,
.faboo-public-two-col p,
.faboo-public-cta p {
  color: var(--faboo-muted);
  font-size: 16px;
  line-height: 1.65;
}

.faboo-public-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.faboo-public-feature-grid article {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 45, 65, .06);
}

.faboo-public-feature-grid i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--faboo-soft);
  color: var(--faboo-primary);
  font-size: 22px;
  margin-bottom: 16px;
}

.faboo-public-feature-grid h3,
.faboo-public-showcase-grid h3,
.faboo-public-demo h3 {
  color: var(--faboo-text);
  font-size: 20px;
  margin-bottom: 8px;
}

.faboo-public-feature-grid p,
.faboo-public-showcase-grid p,
.faboo-public-demo p {
  color: var(--faboo-muted);
  line-height: 1.6;
  margin: 0;
}

.faboo-public-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.faboo-public-showcase-grid article {
  overflow: hidden;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 45, 65, .06);
}

.faboo-public-showcase-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.faboo-public-showcase-grid div {
  padding: 22px;
}

.faboo-public-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 360px;
  gap: 34px;
  align-items: start;
}

.faboo-public-checks {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.faboo-public-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--faboo-text);
  font-weight: 700;
}

.faboo-public-checks i {
  color: #168447;
  margin-top: 2px;
}

.faboo-public-demo {
  padding: 24px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 45, 65, .08);
}

.faboo-public-demo dl {
  margin: 18px 0;
}

.faboo-public-demo dt {
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-public-demo dd {
  margin: 0 0 10px;
  color: var(--faboo-text);
  font-weight: 800;
}

.faboo-public-cta {
  padding: 70px 0;
  background: #101c32;
  color: #fff;
  text-align: center;
}

.faboo-public-cta h2 {
  color: #fff;
}

.faboo-public-cta p {
  max-width: 640px;
  margin: 0 auto;
  color: #c8d4e8;
}

.faboo-public-cta .faboo-public-actions {
  justify-content: center;
}

.faboo-public-footer {
  padding: 24px 0;
  background: #0b1425;
  color: #fff;
}

.faboo-public-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faboo-public-footer span {
  font-size: 18px;
  font-weight: 900;
}

.faboo-public-footer nav {
  display: flex;
  gap: 14px;
}

.faboo-public-footer a {
  color: #dbe6f7;
  font-weight: 700;
}

.faboo-cookie-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100050;
  padding: 18px 0;
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid rgba(219, 226, 238, .95);
  box-shadow: 0 -18px 46px rgba(19, 32, 52, .16);
  backdrop-filter: blur(16px);
}

.faboo-cookie-footer[hidden] {
  display: none;
}

.faboo-cookie-footer.is-closing {
  transform: translateY(12px);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}

.faboo-cookie-footer .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 22px;
  align-items: start;
}

.faboo-cookie-info > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--faboo-primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-cookie-info h2 {
  max-width: 720px;
  margin: 0 0 8px;
  color: var(--faboo-text);
  font-size: 24px;
  line-height: 1.18;
}

.faboo-cookie-info p,
.faboo-cookie-settings p {
  color: var(--faboo-muted);
  line-height: 1.55;
}

.faboo-cookie-info p {
  max-width: 820px;
  margin-bottom: 12px;
}

.faboo-cookie-info ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faboo-cookie-info li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--faboo-text);
  font-weight: 800;
}

.faboo-cookie-info li i {
  color: var(--faboo-primary);
  margin-top: 2px;
}

.faboo-cookie-settings {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #f8fbfe;
}

.faboo-cookie-settings label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.faboo-cookie-settings label.is-required {
  cursor: default;
}

.faboo-cookie-settings input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--faboo-primary);
}

.faboo-cookie-settings strong,
.faboo-cookie-settings small {
  display: block;
}

.faboo-cookie-settings strong {
  color: var(--faboo-text);
}

.faboo-cookie-settings small {
  color: var(--faboo-muted);
  line-height: 1.4;
}

.faboo-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.faboo-cookie-actions button {
  min-height: 38px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  color: var(--faboo-text);
  padding: 8px 12px;
  font-weight: 900;
  cursor: pointer;
}

.faboo-cookie-actions .main-btn {
  border-color: var(--faboo-primary);
  background: var(--faboo-primary);
  color: #07111f;
}

.faboo-cookie-settings p {
  margin: 2px 0 0;
  font-size: 12px;
}

.faboo-cookie-settings a {
  color: var(--faboo-primary-dark);
  font-weight: 900;
}

.faboo-legal-page {
  background: #f6f8fb;
}

.faboo-legal-hero {
  position: relative;
  padding: 140px 0 70px;
  background: url("../images/faboo/home-groups.jpg") center/cover;
  color: #fff;
}

.faboo-legal-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 40, 0.78);
}

.faboo-legal-hero .container {
  position: relative;
  z-index: 1;
}

.faboo-legal-hero h1 {
  max-width: 920px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: 0;
  line-height: 1.02;
}

.faboo-legal-hero p {
  max-width: 820px;
  color: #eaf1ff;
  font-size: 18px;
  line-height: 1.6;
}

.faboo-legal-section {
  padding: 64px 0;
}

.faboo-legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.faboo-legal-nav {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 45, 65, 0.06);
}

.faboo-legal-nav a {
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--faboo-text);
  font-weight: 800;
}

.faboo-legal-nav a:hover {
  background: var(--faboo-soft);
  color: var(--faboo-primary);
}

.faboo-legal-card {
  padding: 34px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(31, 45, 65, 0.06);
}

.faboo-legal-card h2 {
  margin: 30px 0 10px;
  color: var(--faboo-text);
  font-size: 24px;
  letter-spacing: 0;
}

.faboo-legal-card h2:first-child {
  margin-top: 0;
}

.faboo-legal-card p,
.faboo-legal-card li {
  color: var(--faboo-muted);
  font-size: 15px;
  line-height: 1.75;
}

.faboo-legal-card ul {
  margin: 10px 0 22px;
  padding-left: 20px;
}

.faboo-legal-card a {
  color: var(--faboo-primary);
  font-weight: 800;
}

.faboo-legal-note {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(201, 132, 0, 0.28);
  border-radius: 8px;
  background: #fff8e8;
  color: #6f4a00;
  line-height: 1.65;
}

body.faboo-theme-dark .faboo-legal-page,
body.faboo-theme-dark .faboo-legal-nav,
body.faboo-theme-dark .faboo-legal-card {
  border-color: var(--faboo-border);
  background: var(--faboo-card);
  color: var(--faboo-text);
}

body.faboo-theme-dark .faboo-legal-note {
  border-color: rgba(255, 197, 90, 0.32);
  background: #2d2412;
  color: #ffd28a;
}

.faboo-settings-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.faboo-settings-nav {
  position: sticky;
  top: 92px;
}

.faboo-settings-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 8px;
  border-radius: 7px;
  color: var(--faboo-text);
  font-weight: 700;
}

.faboo-settings-nav a:hover {
  background: var(--faboo-soft);
  color: var(--faboo-primary);
}

.faboo-settings-card {
  padding: 22px;
}

.faboo-settings-card h3 {
  margin-bottom: 14px;
}

.faboo-profile-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.faboo-profile-field span {
  color: var(--faboo-text);
  font-size: 13px;
  font-weight: 900;
}

.faboo-profile-field small {
  color: var(--faboo-muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.faboo-profile-field input,
.faboo-profile-field textarea {
  width: 100%;
}

.faboo-settings-card + .faboo-settings-card {
  margin-top: 30px;
}

.faboo-settings-media {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 12px 0 16px;
}

.faboo-settings-media > img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 10px 24px rgba(31, 45, 65, .12);
}

.faboo-settings-form {
  display: grid;
  gap: 12px;
}

.faboo-settings-form label {
  display: grid;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 700;
}

.faboo-settings-form label:has(input[type="checkbox"]) {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.faboo-settings-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.faboo-settings-form select {
  min-height: 40px;
  border: 1px solid var(--faboo-border);
  border-radius: 7px;
  padding: 8px 10px;
}

.faboo-relationship-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-soft);
  margin: 10px 0;
}

.faboo-relationship-card img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-relationship-card strong {
  display: block;
  color: var(--faboo-text);
}

.faboo-relationship-card span,
.faboo-settings-form > small {
  color: var(--faboo-muted);
  font-size: 13px;
  line-height: 1.45;
}

.faboo-relationship-card a {
  color: var(--faboo-primary);
}

.faboo-relationship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .faboo-relationship-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .faboo-relationship-card > form,
  .faboo-relationship-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .faboo-relationship-actions form,
  .faboo-relationship-card button {
    width: 100%;
  }
}

.faboo-danger-zone {
  border-color: rgba(217, 75, 75, .35);
  background: #fffafa;
}

.faboo-danger-zone h3 {
  color: var(--faboo-danger);
}

.faboo-security-center {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.faboo-security-center article,
.faboo-login-history {
  padding: 14px;
  border: 1px solid var(--faboo-border);
  background: #f8fbff;
}

.faboo-security-center i {
  color: var(--faboo-primary);
  font-size: 22px;
}

.faboo-security-center strong,
.faboo-security-center span,
.faboo-login-history p span,
.faboo-login-history p strong,
.faboo-login-history p em {
  display: block;
}

.faboo-security-center span,
.faboo-login-history p em {
  color: var(--faboo-muted);
}

.faboo-login-history {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.faboo-login-history h4,
.faboo-login-history p {
  margin: 0;
}

.faboo-login-history p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.faboo-login-history .ok {
  color: #168447;
}

.faboo-login-history .warn {
  color: #c48410;
}

.faboo-chat-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.faboo-chat-sidebar,
.faboo-chat-window {
  padding: 18px;
  min-height: 620px;
}

.faboo-chat-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  margin-bottom: 18px;
}

.faboo-chat-search input {
  min-height: 42px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  padding: 8px 12px;
}

.faboo-chat-list {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.faboo-chat-list.compact {
  max-height: 260px;
  overflow: auto;
}

.faboo-chat-person {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--faboo-text);
}

.faboo-chat-person:hover,
.faboo-chat-person.active {
  background: var(--faboo-soft);
  border-color: var(--faboo-border);
  color: var(--faboo-text);
}

.faboo-chat-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-chat-person strong,
.faboo-chat-person small {
  display: block;
}

.faboo-chat-person small {
  color: var(--faboo-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-chat-person em {
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--faboo-primary);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.faboo-chat-window {
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto;
  gap: 16px;
}

.faboo-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--faboo-border);
}

.faboo-chat-head-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.faboo-chat-head-actions form {
  margin: 0;
}

.faboo-chat-head-actions .button {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
}

.faboo-chat-head .faboo-chat-person {
  padding: 0;
}

.faboo-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 8px 4px;
}

.faboo-chat-bubble {
  position: relative;
  max-width: min(74%, 560px);
  padding: 10px 13px;
  border-radius: 14px;
  background: var(--faboo-soft);
  color: var(--faboo-text);
}

.faboo-chat-bubble.mine {
  align-self: flex-end;
  background: var(--faboo-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.faboo-chat-bubble.theirs {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.faboo-chat-bubble p {
  margin: 0;
  line-height: 1.45;
}

.faboo-chat-image {
  display: block;
  width: min(260px, 100%);
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}

.faboo-chat-delete-message {
  position: absolute;
  top: -9px;
  right: -9px;
  margin: 0;
  opacity: 0;
  transition: .16s ease;
}

.faboo-chat-bubble:hover .faboo-chat-delete-message {
  opacity: 1;
}

.faboo-chat-delete-message button {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--faboo-danger);
  color: #fff;
  cursor: pointer;
}

.faboo-chat-bubble small {
  display: block;
  margin-top: 5px;
  color: inherit;
  opacity: .74;
  font-size: 11px;
}

.faboo-chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid var(--faboo-border);
}

.faboo-chat-tools {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.faboo-chat-tools button,
.faboo-chat-tools label {
  min-width: 36px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  background: var(--faboo-soft);
  color: var(--faboo-text);
  cursor: pointer;
  padding: 6px 10px;
}

.faboo-chat-tools input[type="file"] {
  display: none;
}

.faboo-chat-compose textarea {
  min-height: 54px;
  max-height: 160px;
  border: 1px solid var(--faboo-border);
  border-radius: 10px;
  padding: 10px 12px;
  resize: vertical;
}

.faboo-chat-compose .faboo-image-preview {
  grid-column: 1 / -1;
  max-height: 180px;
}

.faboo-chat-empty {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--faboo-muted);
}

.faboo-chat-empty i {
  font-size: 54px;
  color: var(--faboo-primary);
  margin-bottom: 12px;
}

body.faboo-theme-dark .theme-layout,
body.faboo-theme-dark .faboo-page,
body.faboo-theme-dark .faboo-auth-page,
body.faboo-theme-dark .sidebar,
body.faboo-theme-dark .gap,
body.faboo-theme-dark .main-wraper,
body.faboo-theme-dark .faboo-card,
body.faboo-theme-dark aside .widget,
body.faboo-theme-dark .faboo-grid .widget,
body.faboo-theme-dark .faboo-dropdown,
body.faboo-theme-dark .faboo-shared-post,
body.faboo-theme-dark .faboo-comment-row > div,
body.faboo-theme-dark .faboo-settings-form label,
body.faboo-theme-dark .faboo-toast,
body.faboo-theme-dark .faboo-admin-required-card,
body.faboo-theme-dark .faboo-admin-message-card,
body.faboo-theme-dark .faboo-admin-message-card-body blockquote,
body.faboo-theme-dark .faboo-help-panel,
body.faboo-theme-dark .faboo-help-head,
body.faboo-theme-dark .faboo-help-bubble,
body.faboo-theme-dark .faboo-help-suggestions,
body.faboo-theme-dark .faboo-help-form,
body.faboo-theme-dark .faboo-help-actions,
body.faboo-theme-dark .faboo-auth-card,
body.faboo-theme-dark .auth-login .login-form,
body.faboo-theme-dark .auth-login .signup-form {
  background: var(--faboo-card);
  color: var(--faboo-text);
  border-color: var(--faboo-border);
}

body.faboo-theme-dark .topbar.stick {
  background: #131d2d;
  border-color: var(--faboo-border);
}

body.faboo-theme-dark .faboo-page .gap,
body.faboo-theme-dark .faboo-story-new,
body.faboo-theme-dark .faboo-stat,
body.faboo-theme-dark .faboo-compose-tools,
body.faboo-theme-dark .faboo-actions .button,
body.faboo-theme-dark .faboo-reaction-option,
body.faboo-theme-dark .faboo-share-menu,
body.faboo-theme-dark .uploadimage,
body.faboo-theme-dark .faboo-friend-body,
body.faboo-theme-dark .faboo-group-body,
body.faboo-theme-dark .faboo-top-menu a:hover,
body.faboo-theme-dark .faboo-top-menu a.active,
body.faboo-theme-dark .faboo-top-menu a i {
  background: var(--faboo-soft);
  color: var(--faboo-text);
  border-color: var(--faboo-border);
}

body.faboo-theme-dark .faboo-share-menu a,
body.faboo-theme-dark .faboo-share-menu button {
  color: var(--faboo-text);
}

body.faboo-theme-dark .faboo-share-menu a:hover,
body.faboo-theme-dark .faboo-share-menu button:hover {
  background: #101827;
  color: var(--faboo-primary);
}

body.faboo-theme-dark input,
body.faboo-theme-dark textarea,
body.faboo-theme-dark select,
body.faboo-theme-dark .c-form input,
body.faboo-theme-dark .c-form textarea,
body.faboo-theme-dark .c-form select,
body.faboo-theme-dark .topbar .searches input,
body.faboo-theme-dark .faboo-actions input[type="text"],
body.faboo-theme-dark .faboo-actions select,
body.faboo-theme-dark .faboo-quick-comment input[type="text"],
body.faboo-theme-dark .faboo-settings-form select,
body.faboo-theme-dark .faboo-friends-toolbar input[type="text"],
body.faboo-theme-dark .faboo-chat-search input,
body.faboo-theme-dark .faboo-chat-compose textarea {
  background: #101827;
  color: var(--faboo-text);
  border-color: var(--faboo-border);
}

body.faboo-theme-dark input::placeholder,
body.faboo-theme-dark textarea::placeholder {
  color: #8190a6;
}

body.faboo-theme-dark .faboo-tabs .main-btn,
body.faboo-theme-dark .faboo-compose-tools label,
body.faboo-theme-dark .faboo-compose-tools button,
body.faboo-theme-dark .faboo-compose-tools select,
body.faboo-theme-dark .faboo-compose-tools input[type="text"],
body.faboo-theme-dark .faboo-user-dropdown a,
body.faboo-theme-dark .faboo-user-dropdown button,
body.faboo-theme-dark .faboo-help-suggestions button,
body.faboo-theme-dark .faboo-help-actions button {
  background: var(--faboo-card);
  color: var(--faboo-text);
  border-color: var(--faboo-border);
}

body.faboo-theme-dark .faboo-checkin-panel,
body.faboo-theme-dark .faboo-feeling-panel,
body.faboo-theme-dark .faboo-composer-context,
body.faboo-theme-dark .faboo-post-activity,
body.faboo-theme-dark .faboo-post-checkin {
  background: var(--faboo-card);
  color: var(--faboo-text);
  border-color: var(--faboo-border);
}

body.faboo-theme-dark .faboo-feeling-grid button {
  background: var(--faboo-soft);
  color: var(--faboo-text);
  border-color: var(--faboo-border);
}

body.faboo-theme-dark .faboo-checkin-selected {
  background: rgba(35, 214, 181, .12);
  color: var(--faboo-primary);
}

body.faboo-theme-dark .faboo-tabs .main-btn.active,
body.faboo-theme-dark .main-btn,
body.faboo-theme-dark button.main-btn {
  background: var(--faboo-primary);
  color: #07111f;
}

body.faboo-theme-dark .faboo-danger-zone {
  background: #2b1820;
  border-color: rgba(255, 107, 107, .38);
}

/* Faboo social UI polish */
.topbar.stick {
  padding: 0 22px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.topbar .logo span {
  font-size: 20px;
  font-weight: 900;
  color: var(--faboo-text);
}

.faboo-top-menu {
  flex: 1 1 auto;
  justify-content: center;
  gap: 6px;
}

.faboo-top-menu a {
  min-width: 76px;
  justify-content: center;
  border: 1px solid transparent;
}

.faboo-top-menu a.active {
  border-color: rgba(8, 141, 205, .18);
  box-shadow: inset 0 0 0 1px rgba(8, 141, 205, .06);
}

.topbar .searches {
  flex: 0 1 250px;
}

.topbar .searches form {
  position: relative;
}

.topbar .searches input {
  width: 100%;
  border-radius: 999px;
  padding-left: 16px;
  padding-right: 42px;
}

.topbar .searches button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.faboo-page-hero .gap {
  min-height: 138px;
  display: flex;
  align-items: center;
}

.faboo-page-hero .post-subject {
  padding: 34px 0 30px;
}

.faboo-page-hero .post-subject h1 {
  font-size: 32px;
  line-height: 1.12;
  margin-bottom: 5px;
}

.faboo-page-hero .post-subject p {
  max-width: 760px;
  font-size: 15px;
}

.faboo-page > section:last-child .gap {
  padding-top: 32px;
}

.main-wraper,
aside .widget,
.faboo-card,
.faboo-grid .widget {
  background: var(--faboo-card);
}

.faboo-grid {
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) minmax(250px, 300px);
  gap: 26px;
}

.faboo-feed-shell > aside {
  position: sticky;
  top: auto;
  bottom: 24px;
  height: auto;
  max-height: none;
  overflow: visible;
  align-self: start;
}

.faboo-feed-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #eef8fd 100%);
}

.faboo-feed-welcome span,
.faboo-public-section .faboo-section-title p {
  color: var(--faboo-muted);
}

.faboo-feed-welcome h3 {
  margin: 3px 0 4px;
  font-size: 21px;
}

.faboo-feed-welcome p {
  margin: 0;
}

.faboo-profile-widget {
  padding: 0 16px 20px;
  text-align: center;
  overflow: hidden;
}

.faboo-profile-widget-cover {
  width: calc(100% + 32px);
  height: 92px;
  margin: 0 -16px;
  object-fit: cover;
  display: block;
  position: static !important;
  right: auto !important;
  top: auto !important;
  z-index: auto !important;
}

.faboo-profile-widget-avatar {
  width: 82px;
  height: 82px;
  display: block;
  margin: 14px auto 0;
  border: 4px solid var(--faboo-card);
  border-radius: 50%;
  object-fit: cover;
  position: static !important;
  right: auto !important;
  top: auto !important;
  z-index: auto !important;
  box-shadow: 0 12px 26px rgba(25, 34, 50, .16);
}

.faboo-profile-widget h4 {
  margin: 8px 0 2px;
}

.faboo-profile-widget p {
  margin-bottom: 12px;
  color: var(--faboo-muted);
}

.faboo-profile-widget .main-btn {
  align-items: center;
  clear: both;
  display: inline-flex !important;
  justify-content: center;
  position: static !important;
  width: calc(100% - 8px);
  min-height: 42px;
  margin: 10px auto 0;
  padding-left: 12px;
  padding-right: 12px;
  white-space: normal;
}

.faboo-widget-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faboo-widget-list li i {
  width: 22px;
  min-width: 22px;
  display: inline-flex;
  justify-content: center;
  color: var(--faboo-primary);
  font-size: 16px;
}

.faboo-widget-list li a {
  flex: 1;
  min-width: 0;
}

.faboo-discover-list {
  display: grid;
  gap: 10px;
}

.faboo-discover-person {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #f8fbff;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.faboo-discover-person:hover {
  border-color: rgba(8, 141, 205, .28);
  background: var(--faboo-soft);
  transform: translateY(-1px);
}

.faboo-discover-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-discover-person a:not(.faboo-discover-action),
.faboo-discover-person small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-discover-person a:not(.faboo-discover-action) {
  color: var(--faboo-text);
  font-weight: 900;
}

.faboo-discover-person small {
  color: var(--faboo-muted);
  font-size: 12px;
}

.faboo-discover-action {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--faboo-primary);
  border: 1px solid var(--faboo-border);
}

.faboo-discover-action:hover {
  background: var(--faboo-primary);
  color: #fff;
}

.faboo-discover-more {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  border: 1px dashed rgba(8, 141, 205, .35);
  border-radius: 8px;
  color: var(--faboo-primary);
  font-weight: 900;
}

.faboo-discover-more:hover {
  background: var(--faboo-soft);
  color: var(--faboo-primary-dark);
}

.faboo-feed-filters {
  padding: 12px;
  position: static;
  top: auto;
  z-index: auto;
}

.faboo-composer textarea {
  min-height: 92px;
  font-size: 15px;
}

.faboo-composer .main-btn {
  width: 100%;
}

.faboo-post {
  padding: 0;
}

.faboo-post .friend-info {
  padding: 18px 20px 0;
}

.faboo-post .post-meta {
  padding: 0 20px 18px;
}

.faboo-post-img {
  aspect-ratio: 16 / 9;
  max-height: none;
  margin-top: 12px;
}

.faboo-reaction-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.faboo-reaction-summary span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--faboo-soft);
  color: var(--faboo-primary);
  font-size: 12px;
  font-weight: 800;
}

.faboo-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, max-content));
  align-items: center;
}

.faboo-actions .faboo-share-picker,
.faboo-actions form {
  min-width: 0;
}

.faboo-actions input[type="text"] {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  padding: 7px 12px;
}

.faboo-comment-row {
  align-items: flex-start;
}

.faboo-quick-comment {
  margin-top: 12px;
}

.faboo-profile-card {
  box-shadow: 0 18px 46px rgba(22, 35, 54, .08);
}

.faboo-profile-cover {
  min-height: 340px;
}

.faboo-profile-main {
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, auto);
  align-items: end;
  padding: 0 28px 28px;
}

.faboo-profile-title h2 {
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(10, 16, 28, .72);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .36);
}

.faboo-cover-actions .main-btn,
.faboo-cover-actions .button {
  min-width: 150px;
}

.faboo-profile-status-row,
.faboo-profile-quickbar,
.faboo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.faboo-profile-status-row {
  margin-top: 10px;
}

.faboo-profile-status-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--faboo-border);
  color: var(--faboo-text);
  font-size: 12px;
  font-weight: 800;
}

.faboo-profile-status-row a,
.faboo-info-list a {
  color: var(--faboo-primary);
  font-weight: 900;
}

.faboo-profile-status-row i,
.faboo-info-list i {
  color: var(--faboo-primary);
}

.faboo-profile-quickbar {
  justify-content: center;
  padding: 12px;
}

.faboo-profile-quickbar .main-btn {
  min-width: 160px;
}

.faboo-profile-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
}

.faboo-profile-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-card);
  color: var(--faboo-text);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(11, 31, 51, .05);
}

.faboo-profile-tabs a:hover {
  border-color: rgba(23, 159, 215, .4);
  color: var(--faboo-primary-dark);
}

.faboo-profile-bio {
  margin-bottom: 14px;
  line-height: 1.6;
}

.faboo-info-list {
  display: grid;
  gap: 9px;
}

.faboo-info-list > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--faboo-text);
}

.faboo-info-list i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--faboo-soft);
}

.faboo-chip-row {
  margin-top: 12px;
}

.faboo-profile-completion strong {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.faboo-progress-line {
  height: 9px;
  border-radius: 999px;
  background: var(--faboo-soft);
  overflow: hidden;
  margin-bottom: 10px;
}

.faboo-progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--faboo-primary);
}

.faboo-badge-grid {
  display: grid;
  gap: 8px;
}

.faboo-profile-badge {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #f8fbff;
}

.faboo-profile-badge i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--faboo-primary);
  border: 1px solid var(--faboo-border);
}

.faboo-profile-badge strong,
.faboo-profile-badge small {
  display: block;
}

.faboo-profile-badge small {
  color: var(--faboo-muted);
}

.faboo-activity-widget .faboo-info-list,
.faboo-privacy-widget .faboo-info-list {
  margin-top: 4px;
}

.faboo-connect-preview p {
  margin: 8px 0;
}

.faboo-profile-empty {
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.faboo-profile-empty > i {
  font-size: 30px;
  color: var(--faboo-primary);
}

.faboo-profile-empty .main-btn {
  min-height: 36px;
}

.faboo-tabs {
  position: static;
  top: auto;
  z-index: auto;
  padding: 10px;
}

.faboo-panel {
  padding: 20px;
}

.faboo-photo-grid {
  gap: 8px;
}

.faboo-photo-grid img {
  transition: transform .18s ease;
}

.faboo-photo-grid a:hover img {
  transform: scale(1.025);
}

.faboo-photo-more {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  border: 1px dashed rgba(8, 141, 205, .35);
  border-radius: 8px;
  color: var(--faboo-primary);
  font-weight: 900;
}

.faboo-photo-more:hover {
  background: var(--faboo-soft);
  color: var(--faboo-primary-dark);
}

.faboo-album-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px;
}

.faboo-album-head h3,
.faboo-album-head p {
  margin: 0;
}

.faboo-album-head p {
  color: var(--faboo-muted);
}

.faboo-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  padding: 16px;
}

.faboo-album-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--faboo-soft);
}

.faboo-album-photo[draggable="true"] {
  cursor: grab;
}

.faboo-album-photo.is-dragging {
  opacity: .45;
  cursor: grabbing;
}

.faboo-album-photo.is-moving {
  opacity: .6;
  pointer-events: none;
}

.faboo-album-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform .18s ease;
}

.faboo-album-photo span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(16, 24, 38, .72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.faboo-album-photo:hover img {
  transform: scale(1.035);
}

.faboo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 16, 28, .86);
}

.faboo-lightbox.is-open {
  display: flex;
}

.faboo-lightbox figure {
  position: relative;
  width: min(980px, calc(100vw - 120px));
  max-height: calc(100vh - 76px);
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #101827;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .42);
}

.faboo-lightbox img {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  display: block;
  background: #080d16;
}

.faboo-lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  color: #fff;
  font-weight: 800;
}

.faboo-lightbox figcaption span {
  color: rgba(255, 255, 255, .82);
}

.faboo-lightbox figcaption a {
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}

.faboo-lightbox-close,
.faboo-lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #101827;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  cursor: pointer;
}

.faboo-lightbox-close {
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
}

.faboo-lightbox-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  font-size: 24px;
}

.faboo-lightbox-nav.prev {
  left: 24px;
}

.faboo-lightbox-nav.next {
  right: 24px;
}

.faboo-lightbox-close:hover,
.faboo-lightbox-nav:hover {
  background: var(--faboo-primary);
  color: #fff;
}

.faboo-album-categories {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.faboo-album-category-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

.faboo-category-unified-grid {
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
}

.faboo-category-tile {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--faboo-text);
  overflow: hidden;
}

.faboo-category-view {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 50px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--faboo-text);
}

.faboo-category-view:hover,
.faboo-category-tile:hover,
.faboo-category-tile.active {
  border-color: rgba(8, 141, 205, .34);
  background: var(--faboo-soft);
  color: var(--faboo-text);
}

.faboo-category-tile.active {
  box-shadow: inset 3px 0 0 var(--faboo-primary);
}

.faboo-category-tile.is-drop-target {
  border-color: var(--faboo-primary);
  background: #e8f6fd;
  box-shadow: inset 0 0 0 2px rgba(8, 141, 205, .18);
}

.faboo-category-tile.is-drop-blocked {
  opacity: .55;
}

.faboo-category-view > i,
.faboo-category-create-card > i,
.faboo-category-icon-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #fff;
  color: var(--faboo-primary);
  border: 1px solid var(--faboo-border);
  font-size: 17px;
}

.faboo-category-view strong,
.faboo-category-view small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-category-view strong {
  font-weight: 900;
}

.faboo-category-view small {
  color: var(--faboo-muted);
  font-size: 11px;
}

.faboo-category-manager {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--faboo-border);
}

.faboo-category-manage-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.faboo-category-create-card,
.faboo-category-edit-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  min-height: 50px;
  padding: 8px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #f8fbff;
  margin: 0;
}

.faboo-category-inline-edit {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-height: 50px;
  padding: 8px;
  background: transparent;
  margin: 0;
}

.faboo-category-create-card {
  border-style: dashed;
  background: #fbfdff;
}

.faboo-category-icon-link:hover {
  background: var(--faboo-primary);
  color: #fff;
}

.faboo-category-name-field {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.faboo-category-name-field small {
  color: var(--faboo-muted);
  font-size: 11px;
  line-height: 1;
  padding-left: 6px;
}

.faboo-category-manager input[type="text"],
.faboo-category-unified-grid input[type="text"] {
  min-width: 0;
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  padding: 5px 6px;
  background: transparent;
  color: var(--faboo-text);
  font-size: 13px;
  font-weight: 800;
}

.faboo-category-manager input[type="text"]:focus,
.faboo-category-unified-grid input[type="text"]:focus {
  outline: 2px solid rgba(8, 141, 205, .18);
  background: #fff;
}

.faboo-category-icon-actions {
  display: inline-flex;
  gap: 6px;
}

.faboo-category-create-card button,
.faboo-category-icon-actions button {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--faboo-border);
  border-radius: 50%;
  background: #fff;
  color: var(--faboo-primary);
  cursor: pointer;
}

.faboo-category-create-card button i,
.faboo-category-icon-actions button i {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: inherit;
}

.faboo-category-icon-actions button.danger {
  color: var(--faboo-danger);
}

.faboo-category-create-card button:hover,
.faboo-category-icon-actions button:hover {
  background: var(--faboo-primary);
  color: #fff;
}

.faboo-category-icon-actions button.danger:hover {
  background: var(--faboo-danger);
  color: #fff;
}

.faboo-friends-toolbar {
  background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
}

.faboo-member-tabs {
  padding: 12px;
}

.faboo-relation-note {
  padding: 13px 16px;
}

.faboo-friends-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.faboo-friend-card {
  transition: transform .18s ease, box-shadow .18s ease;
}

.faboo-friend-card:hover,
.faboo-connect-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(31, 45, 65, .11);
}

.faboo-card-stats {
  flex-wrap: wrap;
  margin-top: 12px;
}

.faboo-card-stats span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--faboo-soft);
  font-size: 12px;
}

.faboo-chat-layout {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.faboo-chat-sidebar,
.faboo-chat-window {
  border-radius: 8px;
}

.faboo-chat-sidebar {
  padding: 14px;
}

.faboo-chat-window {
  min-height: 680px;
}

.faboo-chat-person.active {
  border-color: rgba(8, 141, 205, .24);
  box-shadow: inset 3px 0 0 var(--faboo-primary);
}

.faboo-chat-thread {
  padding: 16px;
  border-radius: 8px;
  background: #f6f9fd;
}

.faboo-chat-bubble {
  box-shadow: 0 8px 18px rgba(22, 35, 54, .06);
}

.faboo-chat-tools button,
.faboo-chat-tools label {
  font-size: 12px;
  font-weight: 800;
}

.faboo-connect-hero {
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #eef8fd 100%);
}

.faboo-connect-grid {
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 16px;
}

.faboo-connect-card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
}

.faboo-connect-photo {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.faboo-connect-body {
  display: grid;
  flex: 1;
  gap: 8px;
  padding: 13px 14px 10px;
}

.faboo-connect-body h3 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.faboo-connect-body small {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  line-height: 1.25;
}

.faboo-connect-body p {
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.faboo-match-score {
  height: 7px;
  margin: 16px 0 2px;
  overflow: visible;
}

.faboo-match-score strong {
  font-size: 11px;
  inset: -16px 0 auto;
  text-align: right;
}

.faboo-connect-safety-meter {
  gap: 6px;
  grid-template-columns: 18px minmax(0, 1fr);
  margin: 0;
}

.faboo-connect-safety-meter strong {
  font-size: 11px;
  grid-column: 2;
  line-height: 1.2;
}

.faboo-connect-details {
  gap: 6px 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2px 0 0;
}

.faboo-connect-details span {
  font-size: 12px;
}

.faboo-connect-tags {
  gap: 6px;
}

.faboo-connect-tags span {
  font-size: 11px;
  padding: 4px 7px;
}

.faboo-connect-actions {
  border-top: 1px solid var(--faboo-border);
  gap: 8px;
  padding: 8px 12px 12px;
}

.faboo-swipe-btn {
  box-shadow: 0 8px 16px rgba(22, 35, 54, .07);
  font-size: 17px;
  height: 40px;
  width: 40px;
}

.faboo-connect-more {
  padding: 0 14px 12px;
}

.faboo-public-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 680px;
  padding-bottom: 86px;
  background-image: linear-gradient(180deg, rgba(13, 22, 36, .15), rgba(13, 22, 36, .75)), url("../images/faboo/home-profiles.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}

.faboo-public-hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: .96;
}

.faboo-public-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
}

.faboo-public-feature-grid article,
.faboo-public-showcase-grid article,
.faboo-public-demo {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 45, 65, .07);
}

.faboo-public-feature-grid article {
  padding: 22px;
}

.faboo-public-showcase-grid article {
  overflow: hidden;
}

.faboo-public-showcase-grid article img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.faboo-public-showcase-grid article div {
  padding: 18px;
}

body.faboo-theme-dark .faboo-feed-welcome,
body.faboo-theme-dark .faboo-friends-toolbar,
body.faboo-theme-dark .faboo-connect-hero {
  background: linear-gradient(135deg, #182235 0%, #223149 100%);
}

body.faboo-theme-dark .faboo-chat-thread {
  background: #101827;
}

body.faboo-theme-dark .topbar.stick {
  background: rgba(19, 29, 45, .96);
}

@media (max-width: 1320px) {
  .faboo-top-menu a {
    min-width: 46px;
    padding: 0 8px;
  }

  .faboo-top-menu a span {
    display: none;
  }

  .faboo-top-menu a i {
    margin: 0;
  }
}

@media (max-width: 1199px) {
  .faboo-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  }

  .faboo-grid > aside:first-child {
    display: none;
  }

  .faboo-feed-shell > aside {
    position: sticky;
    top: auto;
    bottom: 24px;
    height: auto;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 991px) {
  .topbar.stick {
    padding: 10px 14px;
  }

  .faboo-top-menu {
    order: 4;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .faboo-top-menu a span {
    display: inline;
  }

  .topbar .searches {
    flex: 1 1 220px;
  }

  .faboo-grid,
  .faboo-chat-layout {
    grid-template-columns: 1fr;
  }

  .faboo-grid > aside:first-child {
    display: block;
  }

  .faboo-grid > aside {
    position: static;
  }

  .faboo-actions {
    grid-template-columns: 1fr 1fr;
  }

  .faboo-profile-main {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .faboo-cover-actions {
    justify-content: center;
  }

  .faboo-stats {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .faboo-page-hero .gap {
    min-height: 112px;
  }

  .faboo-page-hero .post-subject h1 {
    font-size: 25px;
  }

  .faboo-feed-welcome,
  .faboo-connect-hero,
  .faboo-friends-toolbar,
  .faboo-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .faboo-actions {
    grid-template-columns: 1fr;
  }

  .faboo-actions .button,
  .faboo-actions input[type="text"] {
    width: 100%;
  }

  .faboo-share-menu {
    left: 0;
    right: 0;
    min-width: 100%;
    max-width: calc(100vw - 34px);
  }

  .faboo-chat-bubble {
    max-width: 88%;
  }

  .faboo-connect-photo {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .faboo-connect-details {
    grid-template-columns: 1fr;
  }

  .faboo-public-hero {
    min-height: 620px;
    padding-bottom: 60px;
  }

  .faboo-category-create-card,
  .faboo-category-edit-card,
  .faboo-category-inline-edit {
    grid-template-columns: 1fr;
  }

  .faboo-category-create-card > i,
  .faboo-category-edit-card > i,
  .faboo-category-icon-link,
  .faboo-category-icon-actions {
    justify-self: center;
  }
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--faboo-muted) 50%), linear-gradient(135deg, var(--faboo-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  cursor: pointer;
  min-height: 42px;
  padding-right: 36px !important;
}

.chosen-container {
  width: 100% !important;
  font-size: 14px;
}

.chosen-container-single .chosen-single {
  align-items: center;
  background: #fff !important;
  border: 1px solid var(--faboo-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 22px rgba(31, 45, 65, .04) !important;
  color: var(--faboo-text) !important;
  display: flex;
  height: 42px !important;
  line-height: 42px !important;
  padding: 0 42px 0 12px !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.chosen-container-single .chosen-single span {
  color: var(--faboo-text);
  font-weight: 700;
  margin-right: 0;
}

.chosen-container-single .chosen-single div {
  align-items: center;
  display: flex;
  justify-content: center;
  right: 10px !important;
  width: 22px !important;
}

.chosen-container-single .chosen-single div b {
  background: none !important;
  border-color: var(--faboo-muted) transparent transparent transparent;
  border-style: solid;
  border-width: 6px 5px 0 5px;
  display: block;
  height: 0;
  margin-top: 2px;
  width: 0;
}

.chosen-container-active .chosen-single,
.chosen-container-active.chosen-with-drop .chosen-single {
  border-color: rgba(8, 141, 205, .55) !important;
  box-shadow: 0 12px 30px rgba(8, 141, 205, .12) !important;
}

.chosen-container-single .chosen-drop {
  background: #fff;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(31, 45, 65, .16);
  margin-top: 6px;
  overflow: hidden;
}

.chosen-container .chosen-results {
  margin: 0;
  max-height: 240px;
  padding: 6px;
}

.chosen-container .chosen-results li {
  border-radius: 6px;
  color: var(--faboo-text);
  line-height: 1.35;
  margin: 1px 0;
  padding: 9px 10px;
}

.chosen-container .chosen-results li.highlighted {
  background: var(--faboo-primary) !important;
  color: #fff !important;
}

.chosen-container-single .chosen-search {
  display: none !important;
}

body.faboo-theme-dark .chosen-container-single .chosen-single,
body.faboo-theme-dark .chosen-container-single .chosen-drop {
  background: var(--faboo-card) !important;
  border-color: var(--faboo-border) !important;
  color: var(--faboo-text) !important;
}

body.faboo-theme-dark .faboo-notifications-hero,
body.faboo-theme-dark .faboo-notification-section,
body.faboo-theme-dark .faboo-notification-summary article,
body.faboo-theme-dark .faboo-notification-card,
body.faboo-theme-dark .faboo-request-card,
body.faboo-theme-dark .faboo-empty-state,
body.faboo-theme-dark .faboo-notification-drop-row,
body.faboo-theme-dark .faboo-icon-action {
  background: var(--faboo-card);
  border-color: var(--faboo-border);
}

body.faboo-theme-dark .faboo-notification-card.is-unread,
body.faboo-theme-dark .faboo-notification-drop-row.is-unread {
  background: rgba(8, 141, 205, .12);
}

body.faboo-theme-dark .chosen-container .chosen-results li,
body.faboo-theme-dark .chosen-container-single .chosen-single span {
  color: var(--faboo-text);
}

body.faboo-theme-dark .post-subject h1,
body.faboo-theme-dark .post-subject p,
body.faboo-theme-dark .friend-name ins a,
body.faboo-theme-dark .faboo-card h3,
body.faboo-theme-dark .faboo-card h4,
body.faboo-theme-dark .widget-title > h4 {
  color: var(--faboo-text);
}

body.faboo-theme-dark .faboo-profile-cover:after {
  background: linear-gradient(180deg, rgba(17, 24, 39, .08), rgba(17, 24, 39, .78));
}

@media (max-width: 1199px) {
  .faboo-auth-shell {
    grid-template-columns: 1fr;
  }

  .faboo-top-menu {
    order: 4;
    width: 100%;
    margin-left: 0;
    padding-top: 8px;
    overflow-x: auto;
  }

  .faboo-top-menu a {
    flex: 0 0 auto;
  }

  .faboo-auth-visual {
    min-height: 520px;
  }

  .faboo-grid {
    grid-template-columns: 1fr;
  }

  .faboo-settings-grid {
    grid-template-columns: 1fr;
  }

  .faboo-settings-columns {
    grid-template-columns: 1fr;
  }

  .faboo-admin-pro {
    grid-template-columns: 1fr;
  }

  .faboo-admin-pro-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--faboo-border);
  }

  .faboo-admin-pro-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faboo-admin-kpis,
  .faboo-admin-pro-grid,
  .faboo-admin-pro-grid.lower,
  .faboo-admin-directory-row,
  .faboo-notification-summary,
  .faboo-security-center {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faboo-connect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faboo-public-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faboo-public-showcase-grid,
  .faboo-public-two-col {
    grid-template-columns: 1fr;
  }

  .faboo-coming-hero-grid {
    grid-template-columns: 1fr;
  }

  .faboo-launch-panel {
    max-width: 560px;
  }

  .faboo-launch-strip .container,
  .faboo-roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faboo-cookie-footer .container {
    grid-template-columns: 1fr;
  }

  .faboo-cookie-info h2 {
    font-size: 22px;
  }

  .faboo-page {
    padding-left: 0;
  }

  .sidebar {
    position: static;
    width: 100%;
  }

  .faboo-nav {
    display: flex;
    overflow-x: auto;
    padding: 8px;
  }

  .faboo-nav a {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .faboo-auth-visual {
    min-height: auto;
    padding: 34px 22px;
  }

  .faboo-auth-panel {
    padding: 26px 16px;
  }

  .faboo-auth-card {
    padding: 24px;
  }

  .faboo-auth-grid {
    grid-template-columns: 1fr;
  }

  .topbar.stick {
    min-height: auto;
    padding: 10px;
  }

  .topbar .searches {
    width: 100%;
    margin-top: 8px;
  }

  .faboo-top-menu {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 6px;
    overflow-x: auto;
  }

  .faboo-top-menu a {
    height: 38px;
    padding: 0 8px;
  }

  .faboo-header-menu {
    width: 100%;
    justify-content: flex-start;
    margin-top: 8px;
  }

  .faboo-dropdown {
    right: auto;
    left: 0;
    width: min(310px, calc(100vw - 24px));
  }

  .faboo-cookie-footer {
    max-height: 88vh;
    overflow: auto;
    padding: 14px 0;
  }

  .faboo-cookie-footer .container {
    width: min(100% - 24px, 1180px);
    gap: 12px;
  }

  .faboo-cookie-info h2 {
    font-size: 19px;
  }

  .faboo-cookie-info p,
  .faboo-cookie-info li {
    font-size: 13px;
  }

  .faboo-cookie-settings {
    padding: 10px;
  }

  .faboo-cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .faboo-profile-main {
    grid-template-columns: 1fr;
    margin-top: -64px;
  }

  .faboo-admin-pro-main {
    padding: 14px;
  }

  .faboo-admin-pro-top,
  .faboo-admin-pro-sidebar nav {
    grid-template-columns: 1fr;
  }

  .faboo-admin-pro-top {
    flex-direction: column;
    align-items: stretch;
  }

  .faboo-admin-kpis,
  .faboo-admin-pro-grid,
  .faboo-admin-pro-grid.lower,
  .faboo-admin-table-row,
  .faboo-admin-directory-row,
  .faboo-notification-summary,
  .faboo-request-card,
  .faboo-notification-card,
  .faboo-security-center {
    grid-template-columns: 1fr;
  }

  .faboo-notifications-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .faboo-notification-dropdown {
    width: min(360px, calc(100vw - 24px));
  }

  .faboo-request-card form {
    flex-wrap: wrap;
  }

  .faboo-admin-audit-head {
    align-items: flex-start;
  }

  .faboo-admin-audit-meta a {
    margin-left: 0;
    width: 100%;
  }

  .faboo-connect-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .faboo-connect-grid {
    grid-template-columns: 1fr;
  }

  .faboo-profile-avatar {
    width: 112px;
    height: 112px;
  }

  .faboo-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .faboo-post-info {
    align-items: flex-start;
    flex-direction: column;
  }

  .faboo-actions,
  .faboo-actions form,
  .faboo-share-picker {
    width: 100%;
  }

  .faboo-actions .button,
  .faboo-share-picker > .button,
  .faboo-actions input[type="text"],
  .faboo-actions select {
    width: 100%;
    max-width: none;
  }

  .faboo-story-rail {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .faboo-public-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .faboo-public-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 0;
  }

  .faboo-public-stats,
  .faboo-public-feature-grid {
    grid-template-columns: 1fr;
  }

  .faboo-coming-hero {
    min-height: auto;
    padding: 118px 0 58px;
  }

  .faboo-coming-hero-grid,
  .faboo-launch-strip .container,
  .faboo-roadmap-grid {
    grid-template-columns: 1fr;
  }

  .faboo-launch-panel {
    padding: 20px;
  }

  .faboo-launch-strip div div {
    justify-content: flex-start;
    min-height: 64px;
  }

  .faboo-coming-meta {
    flex-direction: column;
  }

  .faboo-legal-layout {
    grid-template-columns: 1fr;
  }

  .faboo-legal-nav {
    position: static;
  }

  .faboo-public-section {
    padding: 52px 0;
  }

  .faboo-public-hero {
    min-height: 720px;
  }

  .faboo-public-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .faboo-friends-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .faboo-friends-toolbar form {
    justify-content: flex-start;
  }

  .faboo-friends-toolbar input[type="text"],
  .faboo-friends-toolbar .main-btn,
  .faboo-friends-toolbar .button {
    width: 100%;
  }

  .faboo-settings-layout {
    grid-template-columns: 1fr;
  }

  .faboo-settings-nav {
    position: static;
  }

  .faboo-settings-media {
    grid-template-columns: 1fr;
  }

  .faboo-chat-layout {
    grid-template-columns: 1fr;
  }

  .faboo-chat-sidebar,
  .faboo-chat-window {
    min-height: auto;
  }

.faboo-chat-compose {
    grid-template-columns: 1fr;
  }

  .faboo-legal-hero {
    padding: 120px 0 54px;
  }

  .faboo-legal-card {
    padding: 22px;
  }
}

.faboo-file-upload {
  display: grid;
  gap: 6px;
}

.faboo-file-upload small {
  color: var(--faboo-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar .searches.faboo-header-search {
  flex: 0 1 320px;
  max-width: 360px;
  min-width: 240px;
}

.topbar .searches.faboo-header-search form {
  align-items: center;
  background: #fff;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(31, 45, 65, .06);
  display: grid;
  gap: 8px;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  min-height: 44px;
  padding: 4px 5px 4px 14px;
  position: relative;
}

.topbar .searches.faboo-header-search form:focus-within {
  border-color: rgba(8, 141, 205, .55);
  box-shadow: 0 14px 34px rgba(8, 141, 205, .16);
}

.topbar .searches.faboo-header-search input {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: 34px;
  min-height: 34px;
  padding: 0;
}

.topbar .searches.faboo-header-search input:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.topbar .searches.faboo-header-search button {
  background: var(--faboo-primary);
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  height: 34px;
  justify-content: center;
  padding: 0 13px;
  position: static;
  transform: none;
  width: auto;
}

.topbar .searches.faboo-header-search button:hover {
  background: var(--faboo-primary-dark);
  transform: translateY(-1px);
}

body.faboo-theme-dark .topbar .searches.faboo-header-search form {
  background: #182235;
  border-color: var(--faboo-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

body.faboo-theme-dark .topbar .searches.faboo-header-search input {
  background: transparent;
  color: var(--faboo-text);
}

body.faboo-theme-dark .faboo-search-page-form {
  background: #111827;
  border-color: var(--faboo-border);
}

body.faboo-theme-dark .faboo-search-page-form:focus-within {
  background: #182235;
}

body.faboo-theme-dark .faboo-search-page-field input {
  background: transparent;
  color: var(--faboo-text);
}

body.faboo-theme-dark .faboo-search-page-categories label {
  background: #182235;
  border-color: var(--faboo-border);
}

.faboo-chat-layout {
  align-items: stretch;
}

.faboo-chat-sidebar,
.faboo-chat-window {
  overflow: hidden;
}

.faboo-chat-window {
  gap: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: clamp(620px, calc(100vh - 150px), 860px);
  min-height: 620px;
  padding: 0;
}

.faboo-chat-window .faboo-chat-head {
  background: var(--faboo-card);
  border-bottom: 1px solid var(--faboo-border);
  padding: 14px 16px;
}

.faboo-chat-window .faboo-chat-thread {
  background:
    linear-gradient(180deg, rgba(8, 141, 205, .06), rgba(255, 255, 255, 0) 180px),
    #f6f9fd;
  border-radius: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  scroll-padding-bottom: 120px;
}

.faboo-chat-bubble {
  border: 1px solid rgba(18, 35, 58, .06);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(22, 35, 54, .07);
}

.faboo-chat-bubble.mine {
  background: #088dcd;
  border-bottom-right-radius: 6px;
}

.faboo-chat-bubble.theirs {
  background: #fff;
  border-bottom-left-radius: 6px;
}

.faboo-chat-meta {
  align-items: center;
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.faboo-message-status {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  font-weight: 800;
}

.faboo-message-status.read {
  color: #dff4ff;
}

.faboo-chat-bubble.theirs .faboo-chat-meta {
  justify-content: flex-start;
}

.faboo-chat-typing {
  align-items: center;
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(22, 35, 54, .07);
  color: var(--faboo-muted);
  display: none;
  gap: 9px;
  padding: 9px 13px;
}

.faboo-chat-typing.is-visible {
  display: inline-flex;
}

.faboo-chat-typing em {
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.faboo-typing-dots {
  display: inline-flex;
  gap: 4px;
}

.faboo-typing-dots i {
  animation: fabooTypingPulse 1.1s infinite ease-in-out;
  background: var(--faboo-primary);
  border-radius: 50%;
  display: block;
  height: 6px;
  opacity: .38;
  width: 6px;
}

.faboo-typing-dots i:nth-child(2) {
  animation-delay: .15s;
}

.faboo-typing-dots i:nth-child(3) {
  animation-delay: .3s;
}

@keyframes fabooTypingPulse {
  0%,
  80%,
  100% {
    opacity: .32;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.faboo-chat-compose {
  background: var(--faboo-card);
  border-top: 1px solid var(--faboo-border);
  padding: 12px 14px 14px;
  position: relative;
  z-index: 6;
}

.faboo-chat-compose textarea {
  background: var(--faboo-soft);
  border-radius: 18px;
  resize: vertical;
}

.faboo-chat-compose-status {
  align-self: center;
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 800;
  padding-left: 4px;
}

body.faboo-theme-dark .faboo-chat-window .faboo-chat-head,
body.faboo-theme-dark .faboo-chat-compose,
body.faboo-theme-dark .faboo-chat-bubble.theirs,
body.faboo-theme-dark .faboo-chat-typing {
  background: #182235;
}

body.faboo-theme-dark .faboo-chat-window .faboo-chat-thread {
  background:
    linear-gradient(180deg, rgba(8, 141, 205, .12), rgba(16, 24, 39, 0) 180px),
    #101827;
}

body.faboo-theme-dark .faboo-chat-compose textarea {
  background: #101827;
}

.faboo-chat-side-tabs {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 16px;
}

.faboo-chat-side-tabs a {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  min-height: 34px;
}

.faboo-chat-side-tabs a.active {
  background: var(--faboo-primary);
  border-color: var(--faboo-primary);
  color: #fff;
}

.faboo-chat-group-avatar {
  align-items: center;
  background: rgba(8, 141, 205, .12);
  border-radius: 50%;
  color: var(--faboo-primary);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.faboo-chat-group-avatar.large {
  height: 50px;
  width: 50px;
}

.faboo-chat-group-create {
  border-top: 1px solid var(--faboo-border);
  padding-top: 14px;
}

.faboo-chat-group-create summary {
  cursor: pointer;
  font-weight: 900;
  margin-bottom: 10px;
}

.faboo-chat-group-create form,
.faboo-chat-member-picks {
  display: grid;
  gap: 8px;
}

.faboo-chat-member-picks {
  max-height: 150px;
  overflow: auto;
}

.faboo-chat-member-picks label {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 8px;
}

.faboo-chat-inline-search {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(120px, 190px) 36px;
  margin: 0;
}

.faboo-chat-inline-search input {
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  min-height: 36px;
  padding: 6px 12px;
}

.faboo-chat-author,
.faboo-chat-pin {
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 4px;
}

.faboo-chat-pin {
  color: inherit;
  opacity: .8;
}

.faboo-chat-reply-ref,
.faboo-chat-reply-box {
  background: rgba(255, 255, 255, .72);
  border: 0;
  border-left: 3px solid var(--faboo-primary);
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 2px;
  margin: 0 0 8px;
  padding: 8px 10px;
  text-align: left;
  width: 100%;
}

.faboo-chat-reply-ref span,
.faboo-chat-reply-box small {
  display: block;
  font-size: 12px;
  opacity: .78;
}

.faboo-chat-reply-box {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
}

.faboo-chat-reply-box button {
  background: transparent;
  border: 0;
  color: var(--faboo-muted);
}

.faboo-chat-media-btn {
  background: transparent;
  border: 0;
  display: block;
  padding: 0;
}

.faboo-chat-file {
  align-items: center;
  background: rgba(255, 255, 255, .68);
  border-radius: 10px;
  color: inherit;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  padding: 9px 11px;
}

.faboo-chat-bubble audio {
  display: block;
  max-width: 250px;
  width: 100%;
}

.faboo-chat-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.faboo-chat-reactions span {
  background: rgba(255, 255, 255, .75);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 3px 7px;
}

.faboo-chat-reactions span.mine {
  box-shadow: inset 0 0 0 1px rgba(8, 141, 205, .45);
}

.faboo-chat-message-actions {
  align-items: center;
  background: var(--faboo-card);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(22, 35, 54, .08);
  display: flex;
  gap: 2px;
  margin-top: 8px;
  opacity: 1;
  padding: 3px;
  position: static;
  transform: none;
  z-index: 3;
  width: max-content;
}

.faboo-chat-bubble.theirs .faboo-chat-message-actions {
  margin-right: auto;
}

.faboo-chat-bubble.mine .faboo-chat-message-actions {
  margin-left: auto;
}

.faboo-chat-message-actions form {
  margin: 0;
}

.faboo-chat-message-actions button,
.faboo-chat-edit-form button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--faboo-text);
  display: inline-flex;
  font-size: 13px;
  height: 26px;
  justify-content: center;
  min-width: 26px;
  padding: 0;
  pointer-events: auto;
}

.faboo-chat-message-actions button:hover,
.faboo-chat-edit-form button:hover {
  background: var(--faboo-soft);
}

.faboo-chat-edit-form {
  display: none;
  gap: 4px;
  grid-template-columns: minmax(0, 1fr) 28px;
  margin-top: 8px;
}

.faboo-chat-bubble:hover .faboo-chat-edit-form,
.faboo-chat-edit-form:focus-within {
  display: grid;
}

.faboo-chat-edit-form input {
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  min-height: 30px;
  padding: 4px 10px;
}

.faboo-chat-bubble.is-highlighted {
  outline: 3px solid rgba(8, 141, 205, .28);
}

.faboo-chat-modal {
  align-items: center;
  background: rgba(7, 13, 24, .82);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 9999;
}

.faboo-chat-modal.is-open {
  display: flex;
}

.faboo-chat-modal img {
  border-radius: 8px;
  max-height: 86vh;
  max-width: 92vw;
  object-fit: contain;
}

.faboo-chat-modal button {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  color: #111827;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 22px;
  top: 22px;
  width: 40px;
}

[data-chat-voice][data-recording="1"] {
  background: #dc3545;
  color: #fff;
}

[data-chat-voice].is-unavailable {
  opacity: .45;
}

body.faboo-theme-dark .faboo-chat-side-tabs a,
body.faboo-theme-dark .faboo-chat-message-actions,
body.faboo-theme-dark .faboo-chat-reply-ref,
body.faboo-theme-dark .faboo-chat-reply-box,
body.faboo-theme-dark .faboo-chat-file,
body.faboo-theme-dark .faboo-chat-reactions span {
  background: #111827;
}

.faboo-live-chat {
  display: grid;
  gap: 22px;
  grid-template-columns: 320px minmax(0, 1fr);
  position: relative;
  z-index: 1;
}

.faboo-live-sidebar,
.faboo-live-panel {
  background: var(--faboo-card);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(22, 35, 54, .06);
}

.faboo-live-sidebar {
  padding: 14px;
}

.faboo-live-sidebar-head {
  border-bottom: 1px solid var(--faboo-border);
  margin: -2px 0 14px;
  padding: 0 2px 14px;
}

.faboo-live-sidebar-head span,
.faboo-live-section-title span {
  color: var(--faboo-primary);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.faboo-live-sidebar-head strong {
  color: var(--faboo-text);
  display: block;
  font-size: 22px;
  line-height: 1.15;
  margin-top: 4px;
}

.faboo-live-sidebar-head small {
  color: var(--faboo-muted);
  display: block;
  line-height: 1.45;
  margin-top: 5px;
}

.faboo-live-search {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 42px;
  margin-bottom: 18px;
}

.faboo-live-search input {
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  min-height: 42px;
  padding: 8px 14px;
}

.faboo-live-search button {
  align-items: center;
  background: var(--faboo-primary);
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  justify-content: center;
}

.faboo-live-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -4px 0 16px;
}

.faboo-live-tabs a {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  min-height: 32px;
  padding: 6px 9px;
}

.faboo-live-tabs a.active,
.faboo-live-tabs a:hover {
  background: var(--faboo-primary);
  border-color: var(--faboo-primary);
  color: #fff;
}

.faboo-live-tabs em {
  align-items: center;
  background: rgba(255, 255, 255, .72);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-size: 10px;
  font-style: normal;
  justify-content: center;
  min-width: 18px;
  padding: 2px 5px;
}

.faboo-live-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.faboo-live-metrics span {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: block;
  min-width: 0;
  padding: 9px 8px;
  text-align: center;
}

.faboo-live-metrics strong {
  color: var(--faboo-text);
  display: block;
  font-size: 18px;
  line-height: 1;
}

.faboo-live-metrics small {
  color: var(--faboo-muted);
  display: block;
  font-size: 10px;
  font-weight: 800;
  margin-top: 5px;
}

.faboo-live-section-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 2px 0 10px;
}

.faboo-live-section-title h4 {
  color: var(--faboo-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
}

.faboo-live-section-title span {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  min-width: 28px;
  padding: 4px 8px;
  text-align: center;
}

.faboo-live-list {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.faboo-live-list-divider {
  align-items: center;
  color: var(--faboo-muted);
  display: grid;
  font-size: 11px;
  font-weight: 900;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  letter-spacing: 0;
  margin: 4px 0;
  text-transform: uppercase;
}

.faboo-live-list-divider::before,
.faboo-live-list-divider::after {
  background: var(--faboo-border);
  content: "";
  height: 1px;
}

.faboo-live-list.compact {
  max-height: 260px;
  overflow: auto;
}

.faboo-live-person {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--faboo-text);
  display: grid;
  gap: 10px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  padding: 9px;
}

.faboo-live-person:hover,
.faboo-live-person.active {
  background: var(--faboo-soft);
  border-color: var(--faboo-border);
  color: var(--faboo-text);
}

.faboo-live-person.is-unread {
  border-color: rgba(8, 141, 205, .28);
  box-shadow: inset 3px 0 0 var(--faboo-primary);
}

.faboo-live-person.is-unread strong {
  font-weight: 950;
}

.faboo-live-person.plain {
  border: 0;
  padding: 0;
}

.faboo-live-person img {
  border-radius: 50%;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.faboo-live-person strong,
.faboo-live-person small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-live-person small {
  color: var(--faboo-muted);
}

.faboo-live-person em {
  align-items: center;
  background: var(--faboo-primary);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  min-width: 22px;
}

.faboo-live-panel {
  display: flex;
  flex-direction: column;
  height: clamp(600px, calc(100vh - 180px), 840px);
  min-height: 640px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.faboo-live-head {
  align-items: center;
  border-bottom: 1px solid var(--faboo-border);
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  padding: 14px 16px;
  position: relative;
  z-index: 2;
}

.faboo-live-head-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.faboo-live-head-actions .button {
  min-height: 38px;
  padding: 8px 12px;
}

.faboo-live-mobile-list {
  display: none;
}

.faboo-live-head-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.faboo-live-head-badges em {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-muted);
  display: inline-flex;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  gap: 5px;
  line-height: 1;
  padding: 6px 8px;
}

.faboo-live-ai-strip {
  background: linear-gradient(90deg, rgba(8, 141, 205, .1), rgba(29, 191, 115, .08));
  border-bottom: 1px solid var(--faboo-border);
  color: var(--faboo-text);
  display: grid;
  gap: 10px;
  padding: 12px 16px;
}

.faboo-live-ai-strip > span {
  align-items: center;
  color: var(--faboo-muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

.faboo-live-ai-strip > span i {
  color: var(--faboo-primary);
  font-size: 17px;
}

.faboo-live-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-live-quick-prompts button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  min-height: 34px;
  padding: 7px 11px;
}

.faboo-live-quick-prompts button:hover {
  background: var(--faboo-primary);
  border-color: var(--faboo-primary);
  color: #fff;
}

.faboo-live-thread {
  background:
    linear-gradient(rgba(239, 234, 226, .92), rgba(239, 234, 226, .92)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.28) 0 2px, transparent 2px 12px);
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 18px 36px;
}

.faboo-live-message {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(15, 23, 42, .12);
  max-width: min(72%, 560px);
  padding: 8px 10px 7px;
  position: relative;
}

.faboo-live-message::after {
  content: "";
  position: absolute;
}

.faboo-live-message::before {
  bottom: 0;
  content: "";
  height: 16px;
  position: absolute;
  width: 16px;
}

.faboo-live-message.mine {
  align-self: flex-end;
  background: #d9fdd3;
  color: #1f2933;
  border-bottom-right-radius: 2px;
  margin-right: 12px;
}

.faboo-live-message.mine::before {
  background: #d9fdd3;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  right: -10px;
}

.faboo-live-message.theirs {
  align-self: flex-start;
  background: #fff;
  border: 0;
  border-bottom-left-radius: 2px;
  color: #1f2933;
  margin-left: 12px;
}

.faboo-live-message.theirs::before {
  background: #fff;
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  left: -10px;
}

.faboo-live-message::after {
  border-color: rgba(17, 24, 39, .45) transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  opacity: 0;
  right: 9px;
  top: 9px;
  transition: opacity .15s ease;
}

.faboo-live-message:hover::after,
.faboo-live-message.is-menu-open::after {
  opacity: .7;
}

.faboo-live-message.mine small,
.faboo-live-message.theirs small {
  color: #667781;
  text-align: right;
}

.faboo-live-message p {
  margin: 0;
}

.faboo-live-message small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
  opacity: .78;
}

.faboo-live-message.is-pending {
  opacity: .74;
}

.faboo-live-message.is-failed {
  background: #fee2e2;
  color: #7f1d1d;
}

.faboo-live-message.is-failed::before {
  background: #fee2e2;
}

.faboo-live-typing {
  min-width: 86px;
}

.faboo-live-typing-dots {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  min-height: 20px;
  padding: 1px 2px;
}

.faboo-live-typing-dots i {
  animation: fabooLiveTypingPulse 1.2s infinite ease-in-out;
  background: #7b8794;
  border-radius: 50%;
  display: block;
  height: 7px;
  width: 7px;
}

.faboo-live-typing-dots i:nth-child(2) {
  animation-delay: .16s;
}

.faboo-live-typing-dots i:nth-child(3) {
  animation-delay: .32s;
}

@keyframes fabooLiveTypingPulse {
  0%, 80%, 100% {
    opacity: .38;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.faboo-live-image {
  background: transparent;
  border: 0;
  display: block;
  padding: 0;
}

.faboo-live-image img {
  border-radius: 10px;
  display: block;
  max-height: 260px;
  max-width: 260px;
  object-fit: cover;
  width: 100%;
}

.faboo-live-file,
.faboo-live-reply-ref {
  background: rgba(255, 255, 255, .74);
  border: 0;
  border-left: 3px solid var(--faboo-primary);
  border-radius: 8px;
  color: inherit;
  display: block;
  margin-bottom: 8px;
  padding: 8px 10px;
  text-align: left;
}

.faboo-live-reactions,
.faboo-live-actions {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: 0;
  box-shadow: 0 10px 26px rgba(17, 24, 39, .16);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  opacity: 0;
  padding: 4px;
  pointer-events: none;
  position: absolute;
  right: 8px;
  top: calc(100% - 4px);
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 40;
}

.faboo-live-message.theirs .faboo-live-actions {
  left: 8px;
  right: auto;
}

.faboo-live-message.is-menu-open {
  z-index: 50;
}

.faboo-live-message.is-menu-open .faboo-live-actions {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.faboo-live-reactions span,
.faboo-live-actions button {
  align-items: center;
  background: #f6f7f8;
  border: 1px solid rgba(18, 35, 58, .08);
  border-radius: 0;
  color: #1d2b3f;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 5px;
  height: 28px;
  justify-content: center;
  min-width: 28px;
  padding: 0 8px;
}

.faboo-live-actions button {
  font-size: 15px;
  padding: 0;
  width: 28px;
}

.faboo-live-actions button:hover {
  background: #e9edef;
  color: #128c7e;
  transform: translateY(-1px);
}

.faboo-live-actions button.reaction-like,
.faboo-live-reactions .reaction-like,
.faboo-story-react button.reaction-like {
  color: var(--faboo-primary);
}

.faboo-live-actions button.reaction-love,
.faboo-live-reactions .reaction-love,
.faboo-story-react button.reaction-love {
  color: #e33d68;
}

.faboo-live-actions button.reaction-care,
.faboo-live-actions button.reaction-thanks,
.faboo-live-reactions .reaction-care,
.faboo-live-reactions .reaction-thanks,
.faboo-story-react button.reaction-care,
.faboo-story-react button.reaction-thanks {
  color: #00856f;
}

.faboo-live-actions button.reaction-haha,
.faboo-live-actions button.reaction-wow,
.faboo-live-actions button.reaction-proud,
.faboo-live-actions button.reaction-sad,
.faboo-live-reactions .reaction-haha,
.faboo-live-reactions .reaction-wow,
.faboo-live-reactions .reaction-proud,
.faboo-live-reactions .reaction-sad,
.faboo-story-react button.reaction-haha,
.faboo-story-react button.reaction-wow,
.faboo-story-react button.reaction-proud,
.faboo-story-react button.reaction-sad {
  color: #c98400;
}

.faboo-live-actions button.reaction-insightful,
.faboo-live-actions button.reaction-celebrate,
.faboo-live-reactions .reaction-insightful,
.faboo-live-reactions .reaction-celebrate,
.faboo-story-react button.reaction-insightful,
.faboo-story-react button.reaction-celebrate {
  color: #7a52d1;
}

.faboo-live-actions button.reaction-fire,
.faboo-live-reactions .reaction-fire,
.faboo-story-react button.reaction-fire {
  color: #e96b1c;
}

.faboo-live-actions button.reaction-angry,
.faboo-live-reactions .reaction-angry,
.faboo-story-react button.reaction-angry {
  color: #d94b4b;
}

.faboo-live-reactions span i {
  font-size: 14px;
}

.faboo-live-reactions span.mine {
  box-shadow: inset 0 0 0 1px rgba(8, 141, 205, .45);
}

.faboo-live-compose {
  align-items: end;
  background: var(--faboo-card);
  border-top: 1px solid var(--faboo-border);
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
}

.faboo-live-attachment-preview {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: flex;
  flex: 1 0 100%;
  justify-content: space-between;
  padding: 8px 10px;
}

.faboo-live-attachment-preview[hidden] {
  display: none;
}

.faboo-live-attachment-preview div {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.faboo-live-attachment-preview img,
.faboo-live-attachment-preview div > i {
  border-radius: 8px;
  flex: 0 0 auto;
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.faboo-live-attachment-preview div > i {
  align-items: center;
  background: #fff;
  color: var(--faboo-primary);
  display: inline-flex;
  font-size: 20px;
  justify-content: center;
}

.faboo-live-attachment-preview span {
  display: block;
  min-width: 0;
}

.faboo-live-attachment-preview strong,
.faboo-live-attachment-preview small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-live-attachment-preview button,
.faboo-live-message.is-failed button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  min-height: 30px;
  padding: 5px 9px;
}

.faboo-live-message.is-failed button {
  margin-left: 6px;
}

.faboo-live-compose textarea {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 18px;
  box-sizing: border-box;
  flex: 1 1 220px;
  float: none;
  max-height: 130px;
  min-height: 46px;
  min-width: 0;
  padding: 11px 14px;
  position: static;
  resize: vertical;
  width: auto;
}

.faboo-live-attach {
  align-items: center;
  background: var(--faboo-soft);
  border-radius: 50%;
  color: var(--faboo-primary);
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.faboo-live-send {
  align-items: center;
  background: var(--faboo-primary);
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  float: none;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  margin: 0;
  min-height: 46px;
  padding: 0 18px;
  position: static;
  transform: none;
  white-space: nowrap;
}

.faboo-live-send:hover {
  background: var(--faboo-primary-dark);
  color: #fff;
}

.faboo-live-attach input {
  display: none;
}

.faboo-live-compose small {
  color: var(--faboo-muted);
  flex: 1 0 100%;
  font-weight: 800;
  padding-left: 54px;
}

.faboo-live-reply {
  align-items: center;
  background: var(--faboo-soft);
  border-left: 3px solid var(--faboo-primary);
  border-radius: 8px;
  display: grid;
  flex: 1 0 100%;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px 10px;
}

.faboo-live-reply[hidden] {
  display: none;
}

.faboo-live-nochat,
.faboo-live-empty {
  color: var(--faboo-muted);
  padding: 26px;
  text-align: center;
}

.faboo-live-empty.compact {
  background: var(--faboo-soft);
  border: 1px dashed var(--faboo-border);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 16px 12px;
}

.faboo-live-empty.compact i {
  color: var(--faboo-primary);
  font-size: 24px;
}

.faboo-live-empty.compact strong {
  color: var(--faboo-text);
  font-size: 13px;
}

.faboo-live-empty.compact small {
  color: var(--faboo-muted);
  font-size: 12px;
  line-height: 1.35;
}

.faboo-live-empty.small {
  padding: 12px;
}

.faboo-live-lightbox {
  align-items: center;
  background: rgba(7, 13, 24, .84);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 9999;
}

.faboo-live-lightbox.open {
  display: flex;
}

.faboo-live-lightbox img {
  border-radius: 8px;
  max-height: 86vh;
  max-width: 92vw;
}

.faboo-live-lightbox button {
  background: #fff;
  border: 0;
  border-radius: 50%;
  height: 40px;
  position: absolute;
  right: 22px;
  top: 22px;
  width: 40px;
}

/* Hard isolation for the new chat composer; prevents old template message CSS from overlapping the input. */
.faboo-live-panel > .faboo-live-thread {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}

.faboo-live-panel > .faboo-live-compose {
  align-items: center !important;
  display: flex !important;
  flex: 0 0 auto !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 30 !important;
}

.faboo-live-panel > .faboo-live-compose textarea[name="body"] {
  box-sizing: border-box !important;
  color: #172033 !important;
  display: block !important;
  flex: 1 1 240px !important;
  float: none !important;
  inset: auto !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  position: static !important;
  width: auto !important;
  z-index: 1 !important;
}

.faboo-live-panel > .faboo-live-compose textarea[name="body"]::placeholder {
  color: #6b7280 !important;
}

.faboo-live-panel > .faboo-live-compose .faboo-live-send {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  float: none !important;
  inset: auto !important;
  margin: 0 !important;
  min-width: 116px !important;
  position: static !important;
  transform: none !important;
  width: auto !important;
  z-index: 2 !important;
}

body.faboo-theme-dark .faboo-live-sidebar,
body.faboo-theme-dark .faboo-live-panel,
body.faboo-theme-dark .faboo-live-head,
body.faboo-theme-dark .faboo-live-compose,
body.faboo-theme-dark .faboo-live-message.theirs {
  background: #202c33;
  color: #e5edf7;
}

body.faboo-theme-dark .faboo-live-metrics span,
body.faboo-theme-dark .faboo-live-section-title span,
body.faboo-theme-dark .faboo-live-head-badges em,
body.faboo-theme-dark .faboo-live-empty.compact,
body.faboo-theme-dark .faboo-live-tabs a,
body.faboo-theme-dark .faboo-live-attachment-preview {
  background: #111827;
  border-color: rgba(148, 163, 184, .22);
}

body.faboo-theme-dark .faboo-live-ai-strip {
  background: linear-gradient(90deg, rgba(8, 141, 205, .16), rgba(29, 191, 115, .12));
  border-color: rgba(148, 163, 184, .22);
}

body.faboo-theme-dark .faboo-live-quick-prompts button {
  background: #111827;
  border-color: rgba(148, 163, 184, .22);
  color: #e5edf7;
}

body.faboo-theme-dark .faboo-live-quick-prompts button:hover {
  background: var(--faboo-primary);
  border-color: var(--faboo-primary);
}

body.faboo-theme-dark .faboo-live-tabs a.active,
body.faboo-theme-dark .faboo-live-tabs a:hover {
  background: var(--faboo-primary);
  border-color: var(--faboo-primary);
}

body.faboo-theme-dark .faboo-live-attachment-preview div > i,
body.faboo-theme-dark .faboo-live-attachment-preview button,
body.faboo-theme-dark .faboo-live-message.is-failed button {
  background: #202c33;
  border-color: rgba(148, 163, 184, .22);
  color: #e5edf7;
}

body.faboo-theme-dark .faboo-live-message.theirs::before {
  background: #202c33;
}

body.faboo-theme-dark .faboo-live-message.mine {
  background: #005c4b;
  color: #e9edef;
}

body.faboo-theme-dark .faboo-live-message.mine::before {
  background: #005c4b;
}

body.faboo-theme-dark .faboo-live-message.mine small {
  color: rgba(233, 237, 239, .72);
}

body.faboo-theme-dark .faboo-live-actions {
  background: #233138;
}

body.faboo-theme-dark .faboo-live-actions button {
  background: #111b21;
  color: #d1d7db;
}

body:has(.faboo-live-chat) .faboo-page .gap {
  padding-top: 92px;
}

body:has(.faboo-live-chat) .topbar.stick,
body:has(.faboo-live-chat) .topbar.is_stuck {
  z-index: 100000 !important;
}

body:has(.faboo-live-chat) .faboo-live-head,
body:has(.faboo-live-chat) .faboo-live-panel {
  z-index: 1 !important;
}

body.faboo-theme-dark .faboo-live-thread {
  background: #101827;
}

body.faboo-theme-dark .faboo-live-compose textarea,
body.faboo-theme-dark .faboo-live-attach,
body.faboo-theme-dark .faboo-live-reply {
  background: #101827;
  color: var(--faboo-text);
}

@media (max-width: 900px) {
  .faboo-live-chat {
    grid-template-columns: 1fr;
  }

  .faboo-live-panel {
    height: 72vh;
  }

  .faboo-live-mobile-list {
    display: inline-flex;
  }

  .faboo-live-chat[data-peer-id]:not([data-peer-id="0"]) .faboo-live-sidebar {
    display: none;
  }

  .faboo-live-chat.show-list .faboo-live-sidebar {
    display: block;
  }

  .faboo-live-chat.show-list .faboo-live-panel {
    display: none;
  }

  .faboo-live-head {
    align-items: flex-start;
    gap: 12px;
  }

  .faboo-live-head-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .faboo-live-compose {
    align-items: stretch;
  }

  .faboo-live-compose textarea {
    flex-basis: calc(100% - 52px);
  }

  .faboo-live-send {
    flex-basis: 100%;
    width: 100%;
  }

  .faboo-live-message {
    max-width: 88%;
  }

  .faboo-live-tabs a,
  .faboo-live-head-actions .button,
  .faboo-live-tools button,
  .faboo-live-tools a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .faboo-live-ai-strip {
    padding: 10px 12px;
  }
}

/* Final chat layout lock: keep messages and composer in separate layers. */
.faboo-chat-window {
  display: flex !important;
  flex-direction: column !important;
  height: clamp(640px, calc(100vh - 145px), 880px) !important;
  min-height: 640px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.faboo-chat-window > .faboo-chat-head {
  flex: 0 0 auto !important;
}

.faboo-chat-window > .faboo-chat-thread {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding-bottom: 34px !important;
}

.faboo-chat-window > .faboo-chat-compose {
  flex: 0 0 auto !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 20 !important;
}

.faboo-chat-bubble {
  flex: 0 0 auto;
  overflow: visible;
}

.faboo-chat-thread::after {
  content: "";
  display: block;
  flex: 0 0 18px;
}

@media (max-width: 640px) {
  .topbar .searches.faboo-header-search {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .topbar .searches.faboo-header-search button span {
    display: none;
  }

  .topbar .searches.faboo-header-search button {
    padding: 0;
    width: 34px;
  }

  .faboo-search-page-form {
    grid-template-columns: 1fr;
  }

  .faboo-search-page-form .main-btn {
    width: 100%;
  }

  .faboo-chat-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .faboo-chat-head-actions,
  .faboo-chat-inline-search {
    width: 100%;
  }

  .faboo-chat-inline-search {
    grid-template-columns: minmax(0, 1fr) 36px;
  }

  .faboo-chat-message-actions {
    opacity: 1;
    position: static;
    transform: none;
    width: max-content;
    margin-top: 8px;
  }
}

/* Admin audit layout lock: long metadata must wrap instead of overlapping. */
.faboo-admin-table-row.faboo-admin-audit-row {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, .75fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 14px;
  width: 100%;
}

.faboo-admin-table-row.faboo-admin-audit-row span,
.faboo-admin-table-row.faboo-admin-audit-row small {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faboo-admin-table-row.faboo-admin-audit-row em {
  justify-self: start;
  border-radius: 6px;
  padding: 3px 6px;
  background: rgba(23, 159, 215, .10);
  color: var(--faboo-primary-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

@media (max-width: 1100px) {
  .faboo-admin-table-row.faboo-admin-audit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .faboo-admin-table-row.faboo-admin-audit-row {
    grid-template-columns: 1fr;
  }
}

/* Admin dashboard layout lock: the original template floats sections by default. */
.faboo-admin-pro-main > .faboo-admin-pro-top,
.faboo-admin-pro-main > .faboo-admin-kpis,
.faboo-admin-pro-main > .faboo-admin-panel,
.faboo-admin-pro-main > .faboo-admin-pro-grid {
  clear: both;
  float: none !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.faboo-admin-pro-main > .faboo-admin-panel {
  margin-bottom: 18px;
}

.faboo-admin-pro-grid > .faboo-admin-panel {
  width: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.faboo-admin-pro-grid > #platform-split {
  grid-column: 1 / -1;
}

.faboo-admin-pro-grid:not(.lower) > .faboo-admin-panel .faboo-admin-view-all,
.faboo-admin-pro-grid:not(.lower) > .faboo-admin-panel .faboo-admin-support-btn {
  margin-top: auto;
}

.faboo-admin-pro-grid.lower > .faboo-admin-panel {
  align-self: start;
}

.faboo-admin-kpis article,
.faboo-admin-feature-grid a,
.faboo-admin-pro-grid > .faboo-admin-panel {
  min-width: 0;
}

@media (max-width: 1180px) {
  .faboo-admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .faboo-admin-kpis {
    grid-template-columns: 1fr;
  }
}

/* Top 3 polish: faster rendering, calmer mobile layout and live dropdowns. */
.faboo-post,
.faboo-grid .widget,
.faboo-notification-card,
.faboo-request-card,
.faboo-admin-panel {
  content-visibility: auto;
  contain-intrinsic-size: 1px 360px;
}

[data-faboo-message-list],
[data-faboo-notification-list] {
  display: grid;
  gap: 6px;
}

.faboo-dropdown .faboo-drop-empty {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 10px;
}

.faboo-drop-row img {
  flex: 0 0 auto;
}

@media (max-width: 991px) {
  .topbar.stick {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .topbar .logo {
    flex: 0 0 auto;
  }

  .faboo-header-menu {
    margin-left: auto;
  }

  .faboo-top-menu {
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .faboo-top-menu a {
    flex: 0 0 auto;
  }

  .faboo-feed-shell > section {
    order: 1;
  }

  .faboo-feed-shell > aside:first-child {
    order: 2;
  }

  .faboo-feed-shell > aside:last-child {
    order: 3;
  }

  .faboo-grid > section,
  .faboo-grid > aside {
    min-width: 0;
  }
}

@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .topbar.stick {
    gap: 8px;
    padding: 9px 10px;
  }

  .topbar .logo img {
    max-height: 34px;
  }

  .topbar .logo span {
    font-size: 17px;
  }

  .faboo-header-menu {
    flex: 0 0 auto;
    gap: 6px;
    margin-top: 0;
    width: auto;
  }

  .faboo-icon-btn,
  .faboo-theme-toggle,
  .faboo-user-btn {
    min-height: 38px;
  }

  .faboo-user-btn span,
  .faboo-theme-toggle span {
    display: none;
  }

  .topbar .searches.faboo-header-search {
    flex: 1 0 100%;
    margin-top: 0;
    order: 3;
  }

  .faboo-top-menu {
    order: 4;
    padding: 0 0 2px;
  }

  .faboo-platform-switch {
    flex: 1 1 auto;
    margin-left: 6px;
    order: 2;
    overflow-x: auto;
  }

  .faboo-top-menu a {
    height: 36px;
    padding: 0 6px;
  }

  .faboo-top-menu a i {
    height: 26px;
    width: 26px;
  }

  .faboo-dropdown,
  .faboo-notification-dropdown {
    left: auto;
    right: 0;
    max-height: min(72vh, 520px);
    overflow-y: auto;
    width: min(360px, calc(100vw - 18px));
  }

  .faboo-feed-welcome,
  .faboo-composer,
  .main-wraper,
  .widget,
  .faboo-card,
  .faboo-notifications-hero,
  .faboo-notification-section {
    margin-left: 0;
    margin-right: 0;
  }

  .faboo-compose-tools,
  .faboo-feed-filters,
  .faboo-widget-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .faboo-request-card form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .faboo-notification-main {
    align-items: flex-start;
  }

  .faboo-notification-main > i {
    flex: 0 0 44px;
  }
}

@media (max-width: 640px) {
  .faboo-ai-search,
  .faboo-ai-admin-grid {
    grid-template-columns: 1fr;
  }

  .faboo-ai-search > i {
    display: none;
  }

  .faboo-ai-search .main-btn,
  .faboo-ai-search button {
    width: 100%;
  }

  .faboo-ai-admin-grid article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .faboo-ai-admin-grid em {
    justify-self: start;
    grid-column: 2;
  }

  .faboo-site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .faboo-site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .faboo-header-menu {
    gap: 4px;
  }

  .faboo-icon-btn,
  .faboo-theme-toggle,
  .faboo-user-btn {
    width: 38px;
  }

  .faboo-drop-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .faboo-request-card form {
    grid-template-columns: 1fr;
  }
}

.topbar a.logo {
  color: var(--faboo-text);
  flex: 0 0 auto;
  text-decoration: none;
}

.topbar a.logo:hover {
  color: var(--faboo-primary);
}

.faboo-top-menu {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.faboo-top-menu::-webkit-scrollbar {
  display: none;
}

.faboo-forum-hero {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 24px;
}

/* Header: one clear navigation row */
.topbar.stick {
  align-items: center;
  display: flex;
  flex-wrap: nowrap !important;
  gap: 8px;
  isolation: isolate;
  min-height: 64px;
  overflow: visible;
  padding: 0 18px;
  position: sticky;
  top: 0;
}

.topbar a.logo {
  flex: 0 0 132px !important;
  min-width: 132px;
  position: relative;
  width: 132px;
  z-index: 40;
}

.topbar a.logo img {
  flex: 0 0 auto;
  height: 44px;
  object-fit: contain;
  width: auto;
}

.topbar a.logo span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-top-menu {
  align-items: center;
  display: flex;
  flex: 1 1 0;
  gap: 5px;
  justify-content: flex-start;
  margin-left: 0;
  max-width: none;
  min-width: 0;
  overflow: visible;
  position: relative;
  white-space: nowrap;
  z-index: 20;
}

.faboo-top-menu a,
.faboo-nav-more {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--faboo-muted);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
  gap: 6px;
  height: 38px;
  justify-content: center;
  min-width: 0;
  padding: 0 9px;
  white-space: nowrap;
}

.faboo-top-menu a i,
.faboo-nav-more i {
  align-items: center;
  background: var(--faboo-soft);
  border-radius: 50%;
  color: var(--faboo-primary);
  display: inline-flex;
  font-size: 15px;
  height: 27px;
  justify-content: center;
  width: 27px;
}

.faboo-top-menu a:hover,
.faboo-top-menu a.active,
.faboo-nav-more:hover,
.faboo-nav-more.active {
  background: var(--faboo-soft);
  border-color: rgba(8, 141, 205, .18);
  color: var(--faboo-primary);
}

.faboo-nav-more-wrap {
  flex: 0 0 auto;
  position: relative;
  z-index: 25;
}

.faboo-nav-more {
  cursor: pointer;
}

.faboo-nav-more-dropdown {
  right: auto;
  left: 0;
  width: 220px;
  z-index: 10020;
}

.faboo-nav-more-dropdown a {
  border-radius: 6px;
  color: var(--faboo-text);
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin: 2px 0;
  padding: 9px 10px;
  width: 100%;
}

.faboo-nav-more-dropdown a:hover,
.faboo-nav-more-dropdown a.active {
  background: var(--faboo-soft);
  color: var(--faboo-primary);
}

.faboo-nav-more-dropdown .faboo-nav-mobile-extra {
  display: none;
}

.topbar .searches.faboo-header-search {
  flex: 0 1 250px;
  margin: 0;
  max-width: 280px;
  min-width: 160px;
  order: initial;
  position: relative;
  z-index: 5;
}

.faboo-header-menu {
  flex: 0 0 auto;
  margin-left: 0;
  min-width: max-content;
}

body.faboo-theme-dark .faboo-nav-more,
body.faboo-theme-dark .faboo-nav-more-dropdown a {
  color: var(--faboo-muted);
}

body.faboo-theme-dark .faboo-nav-more:hover,
body.faboo-theme-dark .faboo-nav-more.active,
body.faboo-theme-dark .faboo-nav-more-dropdown a:hover,
body.faboo-theme-dark .faboo-nav-more-dropdown a.active {
  color: var(--faboo-primary);
}

@media (max-width: 1180px) {
  .topbar a.logo {
    flex-basis: 118px !important;
    min-width: 118px;
    width: 118px;
  }

  .faboo-top-menu a span {
    display: none;
  }

  .faboo-top-menu a {
    padding: 0 5px;
  }

  .faboo-nav-more span {
    display: none;
  }

  .topbar .searches.faboo-header-search {
    flex-basis: 220px;
    min-width: 145px;
  }
}

@media (max-width: 991px) {
  .topbar.stick {
    flex-wrap: nowrap !important;
  }

  .topbar a.logo {
    flex-basis: 106px !important;
    min-width: 106px;
    width: 106px;
  }

  .faboo-top-menu {
    flex: 0 1 auto;
    margin-left: 4px;
  }

  .faboo-top-menu a span {
    display: none;
  }

  .faboo-top-menu a,
  .faboo-nav-more {
    height: 38px;
    padding: 0 5px;
  }

  .topbar .searches.faboo-header-search {
    flex: 0 1 190px;
    min-width: 128px;
  }
}

@media (max-width: 767px) {
  .topbar.stick {
    gap: 6px;
    min-height: 58px;
    padding: 8px 9px;
  }

  .topbar .logo span,
  .faboo-user-btn span,
  .faboo-theme-toggle span,
  .topbar .searches.faboo-header-search button span,
  .faboo-top-menu a span {
    display: none;
  }

  .topbar a.logo {
    flex-basis: 42px !important;
    min-width: 42px;
    width: 42px;
  }

  .topbar .logo img {
    margin: 0;
  }

  .topbar .searches.faboo-header-search {
    flex: 0 1 42px;
    max-width: 180px;
    min-width: 42px;
    order: initial;
  }

  .topbar .searches.faboo-header-search form {
    grid-template-columns: 18px minmax(0, 1fr);
    min-height: 40px;
    padding: 3px 9px 3px 12px;
  }

  .topbar .searches.faboo-header-search input {
    font-size: 13px;
  }

  .topbar .searches.faboo-header-search button {
    display: none;
  }

  .faboo-top-menu {
    order: initial;
    padding: 0;
  }

  .faboo-nav-more span {
    display: none;
  }

  .faboo-header-menu {
    gap: 5px;
    width: auto;
  }

  .faboo-nav-more-dropdown {
    left: auto;
    right: 0;
  }
}

@media (max-width: 520px) {
  .topbar a.logo {
    flex-basis: 38px !important;
    min-width: 38px;
    width: 38px;
  }

  .faboo-top-menu > a:nth-of-type(n+3) {
    display: none;
  }

  .faboo-nav-more-dropdown .faboo-nav-mobile-extra {
    display: flex;
  }

  .topbar .searches.faboo-header-search {
    max-width: 108px;
  }

  .faboo-icon-btn,
  .faboo-theme-toggle,
  .faboo-user-btn {
    height: 36px;
    min-height: 36px;
    width: 36px;
  }
}

.faboo-forum-hero span,
.faboo-forum-meta,
.faboo-forum-author,
.faboo-forum-form-row,
.faboo-forum-status-form,
.faboo-forum-answer-actions,
.faboo-ai-inline-note {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-forum-hero h3 {
  font-size: 26px;
  margin: 6px 0;
}

.faboo-forum-hero p,
.faboo-forum-question p,
.faboo-forum-side-card p,
.faboo-ai-inline-note span {
  color: var(--faboo-muted);
}

.faboo-forum-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.faboo-forum-stats article {
  background: var(--faboo-card);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(31, 45, 65, .06);
  padding: 16px;
}

.faboo-forum-stats strong {
  color: var(--faboo-primary);
  display: block;
  font-size: 28px;
}

.faboo-forum-layout,
.faboo-forum-detail-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(250px, 292px) minmax(0, 1fr);
}

.faboo-forum-detail-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.faboo-forum-category-card,
.faboo-forum-leaders,
.faboo-forum-side-card,
.faboo-forum-list,
.faboo-forum-answers {
  display: grid;
  gap: 10px;
}

.faboo-forum-category-card,
.faboo-forum-leaders,
.faboo-forum-side-card {
  padding-bottom: 12px;
}

.faboo-forum-sidebar {
  display: grid;
  gap: 14px;
  align-self: start;
}

.faboo-forum-sidebar-head {
  border-bottom: 1px solid var(--faboo-border);
  margin: 0 6px 4px;
  padding: 12px 4px 12px;
}

.faboo-forum-sidebar-head span {
  color: var(--faboo-primary);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.faboo-forum-sidebar-head h4 {
  color: var(--faboo-text);
  font-size: 19px;
  line-height: 1.15;
  margin: 3px 0 4px;
}

.faboo-forum-sidebar-head p {
  color: var(--faboo-muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
}

.faboo-forum-leaders h4,
.faboo-forum-side-card h4 {
  border-bottom: 1px solid var(--faboo-border);
  color: var(--faboo-text);
  font-size: 18px;
  line-height: 1.15;
  margin: 0 6px 4px;
  padding: 12px 4px;
}

.faboo-forum-category-card > a,
.faboo-forum-leaders > a,
.faboo-forum-side-card > a {
  align-items: center;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  display: grid;
  gap: 10px;
  grid-template-columns: 32px minmax(0, 1fr) minmax(32px, auto);
  min-height: 48px;
  padding: 8px 9px;
  text-align: left;
}

.faboo-forum-category-card > a {
  box-sizing: border-box;
  justify-self: center;
  width: calc(100% - 12px);
}

.faboo-forum-leaders > a,
.faboo-forum-side-card > a {
  box-sizing: border-box;
  justify-self: center;
  width: calc(100% - 12px);
}

.faboo-forum-leaders > a {
  grid-template-columns: 32px minmax(0, 1fr);
}

.faboo-forum-side-card > a {
  grid-template-columns: minmax(0, 1fr);
}

.faboo-forum-side-card > p,
.faboo-forum-side-card > .faboo-empty,
.faboo-forum-leaders > .faboo-empty {
  margin-left: 10px;
  margin-right: 10px;
}

.faboo-forum-category-card > a.faboo-forum-all-link {
  background: linear-gradient(135deg, rgba(8, 141, 205, .11), rgba(41, 171, 135, .08));
  border-color: rgba(8, 141, 205, .22);
  min-height: 58px;
}

.faboo-forum-category-card > a.active,
.faboo-forum-category-card > a:hover,
.faboo-forum-side-card > a:hover {
  background: var(--faboo-soft);
  border-color: rgba(8, 141, 205, .28);
  color: var(--faboo-primary);
}

.faboo-forum-category-card i,
.faboo-forum-leaders img,
.faboo-forum-author img {
  height: 32px;
  width: 32px;
}

.faboo-forum-category-card i {
  align-items: center;
  background: var(--faboo-soft);
  border-radius: 50%;
  color: var(--faboo-primary);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  justify-content: center;
}

.faboo-forum-category-card > a span {
  min-width: 0;
}

.faboo-forum-category-card strong {
  color: inherit;
  display: block;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.faboo-forum-category-card small,
.faboo-forum-leaders small,
.faboo-forum-side-card small {
  color: var(--faboo-muted);
  display: block;
  font-size: 11px;
  line-height: 1.25;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-forum-category-card em {
  background: var(--faboo-card);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-muted);
  font-style: normal;
  font-weight: 900;
  justify-self: end;
  min-width: 30px;
  padding: 4px 6px;
  text-align: center;
}

.faboo-forum-category-card > a.active em,
.faboo-forum-category-card > a:hover em {
  background: #fff;
  color: var(--faboo-primary);
}

.faboo-forum-search form {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 24px minmax(180px, 1fr) 160px 150px 170px auto;
}

.faboo-forum-search input,
.faboo-forum-search select,
.faboo-forum-form-row input,
.faboo-forum-form-row select {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  min-height: 42px;
  padding: 0 12px;
}

.faboo-forum-question {
  display: grid;
  gap: 16px;
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 18px;
}

.faboo-forum-votes {
  background: var(--faboo-soft);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 12px 8px;
  text-align: center;
}

.faboo-forum-votes strong {
  color: var(--faboo-primary);
  font-size: 22px;
}

.faboo-forum-votes span {
  color: var(--faboo-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.faboo-forum-meta span {
  background: var(--faboo-soft);
  border-radius: 999px;
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
}

.faboo-forum-meta .status-solved,
.faboo-solution-label {
  background: rgba(41, 171, 135, .14);
  color: #14845f;
}

.faboo-forum-meta .status-closed {
  background: rgba(217, 75, 75, .12);
  color: var(--faboo-danger);
}

.faboo-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.faboo-tag-row a {
  background: var(--faboo-soft);
  border-radius: 999px;
  color: var(--faboo-primary);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.faboo-forum-author img,
.faboo-forum-leaders img {
  border-radius: 50%;
  object-fit: cover;
}

.faboo-forum-detail,
.faboo-forum-answer,
.faboo-forum-reply,
.faboo-forum-composer,
.faboo-forum-search {
  padding: 18px;
}

.faboo-forum-detail h3 {
  font-size: 28px;
  margin: 10px 0;
}

.faboo-forum-answer {
  display: grid;
  gap: 14px;
  grid-template-columns: 58px minmax(0, 1fr);
}

.faboo-forum-answer.is-solution {
  border-color: rgba(41, 171, 135, .35);
}

.faboo-answer-vote {
  align-items: center;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.faboo-answer-vote button {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-muted);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.faboo-answer-vote button.active,
.faboo-answer-vote button:hover {
  background: var(--faboo-primary);
  color: #fff;
}

.faboo-solution-label {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px 10px;
}

.faboo-ai-inline-note {
  background: #f7fcff;
  border: 1px solid rgba(8, 141, 205, .18);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
}

.faboo-ai-inline-note i {
  color: var(--faboo-primary);
}

body.faboo-theme-dark .faboo-forum-stats article,
body.faboo-theme-dark .faboo-forum-search input,
body.faboo-theme-dark .faboo-forum-search select,
body.faboo-theme-dark .faboo-forum-form-row input,
body.faboo-theme-dark .faboo-forum-form-row select,
body.faboo-theme-dark .faboo-ai-inline-note {
  background: #121a2b;
  border-color: rgba(255, 255, 255, .12);
}

@media (max-width: 1180px) {
  .faboo-forum-search form {
    grid-template-columns: 24px minmax(0, 1fr) 1fr 1fr;
  }

  .faboo-forum-search .main-btn,
  .faboo-forum-search button {
    grid-column: 2 / -1;
  }
}

@media (max-width: 991px) {
  .faboo-forum-layout,
  .faboo-forum-detail-layout {
    grid-template-columns: 1fr;
  }

  .faboo-forum-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .faboo-forum-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .faboo-forum-search form,
  .faboo-forum-question,
  .faboo-forum-answer,
  .faboo-forum-form-row {
    grid-template-columns: 1fr;
  }

  .faboo-forum-votes,
  .faboo-answer-vote {
    align-items: center;
    display: flex;
    justify-content: flex-start;
  }
}
/* Big upgrade polish: realtime, stories, safety, mission control */
.faboo-post-video,
.faboo-story-viewer video {
  width: 100%;
  max-height: 82vh;
  display: block;
  background: #05070b;
  object-fit: contain;
}

.faboo-story-viewer img[hidden],
.faboo-story-viewer video[hidden] {
  display: none;
}

.faboo-post-video {
  margin: 12px 0;
  border-radius: 8px;
}

.faboo-feed-reason {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--faboo-soft);
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 700;
}

.faboo-story-card.is-video {
  background: linear-gradient(135deg, #111827, #27445f);
}

.faboo-story-video-icon {
  position: absolute;
  top: 52px;
  left: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
}

.faboo-story-card em {
  margin-top: 6px;
  font-style: normal;
  font-size: 11px;
  opacity: .86;
}

.faboo-story-react {
  position: absolute;
  left: 50%;
  bottom: 78px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: min(452px, calc(100vw - 44px));
  transform: translateX(-50%);
  width: max-content;
}

.faboo-story-react button {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(15,23,42,.22);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.faboo-story-react button:hover,
.faboo-story-react button:focus-visible {
  background: #fff;
  transform: translateY(-2px);
}

.faboo-story-react button span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  display: none;
  transform: translateX(-50%);
  border-radius: 5px;
  background: rgba(15,23,42,.92);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 7px;
  white-space: nowrap;
}

.faboo-story-react button:hover span,
.faboo-story-react button:focus-visible span {
  display: inline-flex;
}

.faboo-search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1200;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-card);
  box-shadow: 0 16px 40px rgba(15,23,42,.14);
}

.faboo-header-search form,
.faboo-search-page-form {
  position: relative;
}

.faboo-search-suggest[hidden] {
  display: none;
}

.faboo-search-suggest a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 6px;
  color: var(--faboo-text);
}

.faboo-search-suggest a:hover {
  background: var(--faboo-soft);
}

.faboo-search-suggest i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(8,141,205,.12);
  color: var(--faboo-primary);
}

.faboo-search-suggest small {
  display: block;
  color: var(--faboo-muted);
  font-size: 12px;
}

.faboo-search-suggestion-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  margin: 16px 0;
  width: 100%;
  max-width: 100%;
  clear: both;
}

.faboo-search-suggestion-row section {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-card);
}

.faboo-search-suggestion-row strong,
.faboo-search-suggestion-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.faboo-search-suggestion-row div {
  margin-top: 10px;
  min-width: 0;
}

.faboo-search-suggestion-row a,
.faboo-mission-tags a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--faboo-soft);
  color: var(--faboo-text);
  font-size: 12px;
  font-weight: 700;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.faboo-mission-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faboo-mission-tags span {
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--faboo-primary);
  color: #fff;
}

.faboo-mission-readiness {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: stretch;
}

.faboo-mission-readiness > div:first-child {
  display: grid;
  align-content: center;
  gap: 8px;
}

.faboo-mission-readiness small {
  color: var(--faboo-muted);
  font-weight: 800;
  text-transform: uppercase;
}

.faboo-mission-readiness h3 {
  color: var(--faboo-heading);
  font-size: 42px;
  line-height: 1;
  margin: 0;
}

.faboo-mission-readiness p {
  color: var(--faboo-muted);
  margin: 0;
}

.faboo-mission-scorebar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, .08);
}

.faboo-mission-scorebar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--faboo-primary), #19b37b);
}

.faboo-mission-priority-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.faboo-mission-priority-actions a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-soft);
  color: var(--faboo-text);
}

.faboo-mission-priority-actions a:hover {
  border-color: rgba(8, 141, 205, .35);
  color: var(--faboo-primary);
  text-decoration: none;
}

.faboo-mission-priority-actions i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--faboo-primary);
}

.faboo-mission-priority-actions span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.faboo-mission-priority-actions strong {
  color: var(--faboo-heading);
}

.faboo-mission-priority-actions a.is-warn i {
  color: #b45309;
}

.faboo-mission-priority-actions a.is-danger i {
  color: #b91c1c;
}

.faboo-mission-priority-actions a.is-good i {
  color: #15803d;
}

@media (max-width: 760px) {
  .faboo-mission-readiness,
  .faboo-mission-priority-actions {
    grid-template-columns: 1fr;
  }

  .faboo-mission-readiness h3 {
    font-size: 34px;
  }
}

.faboo-safety-plan-form label {
  display: grid;
  gap: 7px;
  color: var(--faboo-muted);
  font-weight: 700;
}

.faboo-safety-plan-list {
  display: grid;
  gap: 12px;
}

.faboo-safety-plan-list article {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-soft);
}

.faboo-plan-status {
  width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(8,141,205,.12);
  color: var(--faboo-primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-cancelled {
  background: rgba(239,68,68,.12);
  color: #b91c1c;
}

.status-completed {
  background: rgba(34,197,94,.14);
  color: #15803d;
}

.faboo-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.faboo-pending-invite {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
}

.faboo-pending-invite img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.faboo-moderation-queue-list,
.faboo-mission-health-grid {
  display: grid;
  gap: 12px;
}

.faboo-moderation-queue-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-card);
}

.faboo-moderation-queue-list img,
.faboo-admin-table-row img {
  object-fit: cover;
}

.faboo-moderation-queue-list strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.faboo-moderation-queue-list strong span {
  color: #b91c1c;
}

.faboo-moderation-queue-list p {
  margin: 4px 0;
}

.faboo-mission-health-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faboo-mission-health-grid article {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-soft);
}

.faboo-mission-health-grid i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--faboo-primary);
}

.faboo-mission-list p {
  display: block;
}

.faboo-mobile-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  min-height: 62px;
  border-top: 1px solid var(--faboo-border);
  background: rgba(255,255,255,.96);
  box-shadow: 0 -10px 30px rgba(15,23,42,.10);
  backdrop-filter: blur(16px);
}

.faboo-mobile-tabbar a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: var(--faboo-muted);
  font-size: 11px;
  font-weight: 800;
}

.faboo-mobile-tabbar i {
  font-size: 20px;
  color: var(--faboo-primary);
}

body.faboo-theme-dark .faboo-mobile-tabbar {
  background: rgba(17,24,39,.96);
}

@media (max-width: 760px) {
  .faboo-mobile-tabbar {
    display: grid;
  }

  .faboo-site-footer {
    padding-bottom: 76px;
  }

  .faboo-search-suggestion-row,
  .faboo-mission-health-grid {
    grid-template-columns: 1fr;
  }

  .faboo-moderation-queue-list article {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .faboo-moderation-queue-list article > a,
  .faboo-moderation-queue-list article > form {
    grid-column: 1 / -1;
  }
}

/* Faboo Next experience layer */
.faboo-next-shell,
.faboo-dashboard-grid,
.faboo-onboarding-bottom,
.faboo-ai-bottom,
.faboo-trust-layout {
  width: 100%;
}

.faboo-today-hero,
.faboo-onboarding-hero,
.faboo-ai-hero,
.faboo-trust-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 141, 205, .12), rgba(32, 163, 107, .08)), var(--faboo-card);
  box-shadow: 0 16px 36px rgba(31, 45, 65, .08);
}

.faboo-today-hero span,
.faboo-onboarding-hero span,
.faboo-ai-hero span,
.faboo-trust-hero span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--faboo-primary-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-today-hero h1,
.faboo-onboarding-hero h1,
.faboo-ai-hero h1,
.faboo-trust-hero h1 {
  margin: 0 0 10px;
  color: var(--faboo-text);
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}

.faboo-today-hero p,
.faboo-onboarding-hero p,
.faboo-ai-hero p,
.faboo-trust-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--faboo-muted);
  font-size: 16px;
  line-height: 1.65;
}

.faboo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.faboo-today-score,
.faboo-ai-hero aside {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(8, 141, 205, .18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 45, 65, .08);
}

.faboo-today-score strong,
.faboo-ai-hero aside strong {
  color: var(--faboo-primary);
  font-size: 48px;
  line-height: .95;
}

.faboo-today-score > span,
.faboo-ai-hero aside span {
  color: var(--faboo-text);
  font-weight: 900;
}

.faboo-today-score div,
.faboo-mini-progress span {
  height: 9px;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe8f1;
}

.faboo-today-score b,
.faboo-mini-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--faboo-primary), #20a36b);
}

.faboo-today-score small,
.faboo-ai-hero aside small {
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-command-grid,
.faboo-trust-grid,
.faboo-ai-tool-grid,
.faboo-onboarding-grid,
.faboo-profile-insight-row {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.faboo-command-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.faboo-command-card,
.faboo-trust-card,
.faboo-profile-insight,
.faboo-onboarding-step,
.faboo-ai-tool {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-card);
  color: var(--faboo-text);
  box-shadow: 0 12px 30px rgba(31, 45, 65, .06);
}

.faboo-command-card {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 16px;
  align-content: space-between;
}

.faboo-command-card i,
.faboo-trust-card i,
.faboo-profile-insight > i,
.faboo-ai-tool > i {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(8, 141, 205, .1);
  color: var(--faboo-primary-dark);
  font-size: 21px;
}

.faboo-command-card span,
.faboo-trust-card span {
  color: var(--faboo-muted);
  font-size: 13px;
  font-weight: 800;
}

.faboo-command-card strong,
.faboo-trust-card strong {
  color: var(--faboo-text);
  font-size: 28px;
}

.faboo-command-card.urgent i {
  background: rgba(217, 75, 75, .12);
  color: var(--faboo-danger);
}

.faboo-next-card {
  border-radius: 8px;
}

.faboo-checklist {
  display: grid;
  gap: 10px;
}

.faboo-checklist a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  background: #fff;
}

.faboo-checklist a.is-done {
  background: #f3fbf7;
  border-color: rgba(32, 163, 107, .22);
}

.faboo-checklist i {
  color: var(--faboo-primary);
  font-size: 22px;
}

.faboo-checklist a.is-done i {
  color: #168447;
}

.faboo-checklist strong,
.faboo-checklist small {
  display: block;
}

.faboo-checklist small {
  margin-top: 3px;
  color: var(--faboo-muted);
  line-height: 1.45;
}

.faboo-pulse-list {
  display: grid;
  gap: 8px;
}

.faboo-pulse-list p {
  display: grid;
  grid-template-columns: 30px 54px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--faboo-border);
}

.faboo-pulse-list p:last-child {
  border-bottom: 0;
}

.faboo-pulse-list i {
  color: var(--faboo-primary);
}

.faboo-pulse-list strong {
  color: var(--faboo-text);
  font-size: 18px;
}

.faboo-pulse-list span {
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-dashboard-composer {
  border-color: rgba(8, 141, 205, .22);
}

.faboo-onboarding-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faboo-onboarding-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.faboo-onboarding-step h3,
.faboo-ai-tool h3 {
  margin: 0 0 8px;
  color: var(--faboo-text);
  font-size: 19px;
}

.faboo-onboarding-step p,
.faboo-ai-tool p {
  color: var(--faboo-muted);
  line-height: 1.6;
}

.faboo-step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--faboo-soft);
  color: var(--faboo-primary-dark);
  font-weight: 900;
}

.faboo-onboarding-step.is-done .faboo-step-number {
  background: #eaf8f0;
  color: #168447;
}

.faboo-ai-tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faboo-ai-tool {
  padding: 22px;
}

.faboo-ai-tool > i {
  margin-bottom: 14px;
}

.faboo-ai-search {
  display: flex;
  gap: 10px;
  align-items: center;
}

.faboo-ai-search input {
  min-height: 44px;
  flex: 1;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
}

.faboo-feature-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faboo-feature-matrix p {
  display: grid;
  grid-template-columns: 30px minmax(0, 120px) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
}

.faboo-feature-matrix i {
  color: #168447;
}

.faboo-feature-matrix strong {
  color: var(--faboo-text);
}

.faboo-feature-matrix span {
  color: var(--faboo-muted);
}

.faboo-trust-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.faboo-trust-card {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 16px;
}

.faboo-trust-card.is-warn i {
  background: #fff5e7;
  color: #a86400;
}

.faboo-blocked-list {
  display: grid;
  gap: 10px;
}

.faboo-blocked-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
}

.faboo-blocked-list img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
}

.faboo-login-history-large p {
  grid-template-columns: 150px 90px minmax(0, 1fr);
}

.faboo-profile-insight-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faboo-profile-insight {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
}

.faboo-profile-insight strong,
.faboo-profile-insight span {
  display: block;
}

.faboo-profile-insight span {
  color: var(--faboo-muted);
  font-size: 13px;
  font-weight: 800;
}

.faboo-profile-insight a {
  color: var(--faboo-primary-dark);
  font-weight: 900;
}

.faboo-mini-progress {
  display: grid;
  gap: 8px;
}

.faboo-mini-progress strong {
  color: var(--faboo-primary);
  font-size: 26px;
}

.faboo-feed-progress-widget p {
  color: var(--faboo-muted);
  line-height: 1.55;
}

.faboo-notification-date {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 18px 0 8px;
  color: var(--faboo-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-live-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--faboo-border);
  background: rgba(246, 248, 251, .92);
}

.faboo-live-tools label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(100%, 260px);
  flex: 1;
  min-height: 40px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}

.faboo-live-tools input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.faboo-live-tools button,
.faboo-live-tools a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--faboo-text);
  font-weight: 800;
}

.faboo-live-message.is-filtered-out {
  display: none;
}

.faboo-live-message.is-search-match {
  outline: 2px solid rgba(8, 141, 205, .24);
  outline-offset: 2px;
}

body.faboo-offline:before {
  content: "Je bent offline";
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 4000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #1d2637;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

body.faboo-theme-dark .faboo-today-hero,
body.faboo-theme-dark .faboo-onboarding-hero,
body.faboo-theme-dark .faboo-ai-hero,
body.faboo-theme-dark .faboo-trust-hero,
body.faboo-theme-dark .faboo-command-card,
body.faboo-theme-dark .faboo-trust-card,
body.faboo-theme-dark .faboo-profile-insight,
body.faboo-theme-dark .faboo-onboarding-step,
body.faboo-theme-dark .faboo-ai-tool,
body.faboo-theme-dark .faboo-today-score,
body.faboo-theme-dark .faboo-ai-hero aside,
body.faboo-theme-dark .faboo-checklist a,
body.faboo-theme-dark .faboo-feature-matrix p,
body.faboo-theme-dark .faboo-live-tools,
body.faboo-theme-dark .faboo-live-tools label,
body.faboo-theme-dark .faboo-live-tools button,
body.faboo-theme-dark .faboo-live-tools a {
  background: #121a2b;
  border-color: rgba(255, 255, 255, .12);
}

@media (max-width: 1200px) {
  .faboo-command-grid,
  .faboo-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faboo-onboarding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .faboo-today-hero,
  .faboo-onboarding-hero,
  .faboo-ai-hero,
  .faboo-trust-hero,
  .faboo-ai-tool-grid,
  .faboo-profile-insight-row,
  .faboo-feature-matrix {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .faboo-command-grid,
  .faboo-trust-grid,
  .faboo-onboarding-grid {
    grid-template-columns: 1fr;
  }

  .faboo-today-hero,
  .faboo-onboarding-hero,
  .faboo-ai-hero,
  .faboo-trust-hero {
    padding: 20px;
  }

  .faboo-today-hero h1,
  .faboo-onboarding-hero h1,
  .faboo-ai-hero h1,
  .faboo-trust-hero h1 {
    font-size: 28px;
  }

  .faboo-blocked-list article,
  .faboo-profile-insight {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .faboo-blocked-list form,
  .faboo-profile-insight a {
    grid-column: 1 / -1;
  }
}

/* AI Studio layout polish */
.faboo-grid.faboo-ai-bottom,
.faboo-grid.faboo-onboarding-bottom,
.faboo-grid.faboo-trust-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.faboo-feature-matrix {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.faboo-feature-matrix p,
.faboo-feature-matrix article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 5px 12px;
  align-items: start;
  min-height: 112px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
}

.faboo-feature-matrix p i,
.faboo-feature-matrix article > i {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(32, 163, 107, .12);
  color: #168447;
  font-size: 20px;
}

.faboo-feature-matrix article div {
  display: grid;
  gap: 4px;
}

.faboo-feature-matrix strong {
  display: block;
  margin: 1px 0 0;
  color: var(--faboo-text);
  font-size: 16px;
  line-height: 1.25;
}

.faboo-feature-matrix span {
  display: block;
  color: var(--faboo-muted);
  line-height: 1.5;
}

body.faboo-theme-dark .faboo-feature-matrix p,
body.faboo-theme-dark .faboo-feature-matrix article {
  background: #121a2b;
  border-color: rgba(255, 255, 255, .12);
}

@media (max-width: 991px) {
  .faboo-grid.faboo-ai-bottom,
  .faboo-grid.faboo-onboarding-bottom,
  .faboo-grid.faboo-trust-layout {
    grid-template-columns: 1fr;
  }
}

/* Faboo state-of-the-art cockpit */
.faboo-skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100001;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--faboo-primary);
  color: #fff;
  font-weight: 900;
  padding: 10px 14px;
  transition: transform .18s ease;
}

.faboo-skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.faboo-page:focus {
  outline: none;
}

.faboo-ai-next-actions,
.faboo-upgrade-matrix,
.faboo-verification-panel,
.faboo-faye-wingman,
.faboo-trust-badge-board,
.faboo-profile-trust-badges {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-card);
  box-shadow: 0 14px 34px rgba(31, 45, 65, .07);
  margin: 18px 0;
  padding: 18px;
}

.faboo-faye-wingman {
  display: grid;
  gap: 16px;
}

.faboo-faye-wingman-head {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.faboo-faye-wingman-head img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(31, 45, 65, .12);
}

.faboo-faye-wingman-head small,
.faboo-trust-badge-board small,
.faboo-profile-trust-badges small {
  color: var(--faboo-primary-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-faye-wingman-head h3 {
  margin: 2px 0 6px;
  color: var(--faboo-text);
}

.faboo-faye-wingman-head p {
  margin: 0;
  color: var(--faboo-muted);
  line-height: 1.55;
}

.faboo-faye-wingman-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 14px;
}

.faboo-faye-wingman-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.faboo-faye-wingman-compact .faboo-faye-wingman-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faboo-faye-wingman-actions a,
.faboo-faye-icebreakers button,
.faboo-trust-badge-row a {
  display: grid;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  color: var(--faboo-text);
}

.faboo-faye-wingman-actions a {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.faboo-faye-wingman-actions a.priority-high {
  border-color: rgba(217, 75, 75, .28);
  background: #fff7f7;
}

.faboo-faye-wingman-actions i,
.faboo-trust-badge-row i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(8, 141, 205, .11);
  color: var(--faboo-primary-dark);
  font-size: 20px;
}

.faboo-faye-wingman-actions strong,
.faboo-faye-wingman-actions small {
  display: block;
}

.faboo-faye-wingman-actions small {
  margin-top: 3px;
  color: var(--faboo-muted);
  line-height: 1.45;
}

.faboo-faye-icebreakers {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 12px;
  border: 1px solid rgba(8, 141, 205, .14);
  border-radius: 8px;
  background: var(--faboo-soft);
}

.faboo-faye-icebreakers > strong {
  color: var(--faboo-text);
}

.faboo-faye-icebreakers button {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faboo-faye-icebreakers button i {
  color: var(--faboo-primary-dark);
}

.faboo-faye-icebreakers p {
  margin: 2px 0 0;
  color: var(--faboo-muted);
  line-height: 1.5;
}

.faboo-trust-badge-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 9px;
}

.faboo-trust-badge-row a {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 68px;
  padding: 10px;
}

.faboo-trust-badge-row i {
  width: 38px;
  height: 38px;
  font-size: 18px;
  grid-row: 1 / span 2;
}

.faboo-trust-badge-row span,
.faboo-trust-badge-row strong {
  display: block;
  grid-column: 2;
  min-width: 0;
}

.faboo-trust-badge-row span {
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 900;
}

.faboo-trust-badge-row strong {
  color: var(--faboo-text);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.faboo-trust-badge-row a.is-good i {
  background: #eaf8f0;
  color: #168447;
}

.faboo-trust-badge-row a.is-warn i {
  background: #fff1e9;
  color: #b45309;
}

.faboo-trust-badge-row a.is-info i {
  background: rgba(8, 141, 205, .11);
  color: var(--faboo-primary-dark);
}

.faboo-verification-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
  gap: 16px;
  align-items: center;
}

.faboo-verification-panel h3 {
  margin: 2px 0 8px;
}

.faboo-verification-panel p {
  margin: 0;
  color: var(--faboo-muted);
  line-height: 1.55;
}

.faboo-verification-panel form {
  display: grid;
  gap: 8px;
  margin: 0;
}

.faboo-verification-panel input {
  min-height: 42px;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  color: var(--faboo-text);
  padding: 0 12px;
}

.faboo-ai-next-actions {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: center;
}

.faboo-ai-next-actions small,
.faboo-upgrade-matrix small {
  color: var(--faboo-muted);
}

.faboo-ai-next-actions h3,
.faboo-upgrade-matrix h3 {
  margin: 2px 0 6px;
  color: var(--faboo-text);
}

.faboo-ai-next-actions p {
  margin: 0;
  color: var(--faboo-muted);
  line-height: 1.55;
}

.faboo-ai-next-actions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.faboo-ai-next-actions-list a,
.faboo-upgrade-matrix > div:last-child a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: #fff;
  color: var(--faboo-text);
  padding: 12px;
}

.faboo-ai-next-actions-list a.priority-high {
  border-color: rgba(217, 75, 75, .28);
  background: #fff7f7;
}

.faboo-ai-next-actions-list i,
.faboo-upgrade-matrix i,
.faboo-trust-mini > i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(8, 141, 205, .11);
  color: var(--faboo-primary-dark);
  font-size: 20px;
}

.faboo-ai-next-actions-list strong,
.faboo-ai-next-actions-list small,
.faboo-upgrade-matrix strong,
.faboo-upgrade-matrix small {
  display: block;
}

.faboo-ai-next-actions-list small,
.faboo-upgrade-matrix small {
  margin-top: 3px;
  line-height: 1.45;
}

.faboo-upgrade-matrix > div:last-child {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.faboo-reputation-widget {
  display: grid;
  gap: 10px;
}

.faboo-reputation-widget > strong {
  color: var(--faboo-primary);
  font-size: 30px;
  line-height: 1;
}

.faboo-reputation-widget > span {
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.faboo-mini-badges em,
.faboo-verify-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: var(--faboo-soft);
  color: var(--faboo-primary-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  padding: 6px 9px;
}

.faboo-verify-pill {
  vertical-align: middle;
  margin-left: 8px;
}

.faboo-verify-pill.is-verified {
  background: #eaf8f0;
  color: #168447;
}

.faboo-verify-pill.is-pending {
  background: #fff6df;
  color: #9a6500;
}

.faboo-trust-mini {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.faboo-trust-mini strong,
.faboo-trust-mini small {
  display: block;
}

.faboo-trust-mini small {
  color: var(--faboo-muted);
  line-height: 1.45;
}

.faboo-search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.faboo-search-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  background: var(--faboo-card);
  color: var(--faboo-text);
  font-weight: 900;
  padding: 8px 11px;
}

.faboo-search-tabs a.active,
.faboo-search-tabs a:hover {
  border-color: rgba(8, 141, 205, .35);
  background: var(--faboo-soft);
  color: var(--faboo-primary-dark);
}

.faboo-search-tabs strong {
  min-width: 24px;
  border-radius: 999px;
  background: var(--faboo-primary);
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
}

.faboo-search-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}

.faboo-search-insights article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  background: var(--faboo-card);
  padding: 12px;
}

.faboo-search-insights i {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(32, 163, 107, .12);
  color: #168447;
}

.faboo-search-insights strong,
.faboo-search-insights small {
  display: block;
}

.faboo-search-insights small {
  color: var(--faboo-muted);
  line-height: 1.45;
}

body.faboo-theme-dark .faboo-ai-next-actions,
body.faboo-theme-dark .faboo-upgrade-matrix,
body.faboo-theme-dark .faboo-verification-panel,
body.faboo-theme-dark .faboo-faye-wingman,
body.faboo-theme-dark .faboo-trust-badge-board,
body.faboo-theme-dark .faboo-profile-trust-badges,
body.faboo-theme-dark .faboo-ai-next-actions-list a,
body.faboo-theme-dark .faboo-faye-wingman-actions a,
body.faboo-theme-dark .faboo-faye-icebreakers,
body.faboo-theme-dark .faboo-faye-icebreakers button,
body.faboo-theme-dark .faboo-trust-badge-row a,
body.faboo-theme-dark .faboo-upgrade-matrix > div:last-child a,
body.faboo-theme-dark .faboo-search-tabs a,
body.faboo-theme-dark .faboo-search-insights article {
  background: #121a2b;
  border-color: rgba(255, 255, 255, .12);
}

body.faboo-theme-dark .faboo-ai-next-actions-list a.priority-high,
body.faboo-theme-dark .faboo-faye-wingman-actions a.priority-high {
  background: rgba(217, 75, 75, .10);
}

@supports (content-visibility: auto) {
  .faboo-post,
  .faboo-search-section,
  .faboo-upgrade-matrix,
  .faboo-faye-wingman,
  .faboo-trust-badge-board,
  .faboo-profile-trust-badges,
  .faboo-onboarding-step {
    content-visibility: auto;
    contain-intrinsic-size: 1px 360px;
  }
}

@media (max-width: 991px) {
  .faboo-ai-next-actions,
  .faboo-faye-wingman-grid,
  .faboo-search-insights,
  .faboo-verification-panel {
    grid-template-columns: 1fr;
  }

  .faboo-ai-next-actions-list,
  .faboo-faye-wingman-actions,
  .faboo-faye-wingman-compact .faboo-faye-wingman-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .faboo-faye-wingman-head {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .faboo-faye-wingman-head img {
    width: 52px;
    height: 52px;
  }

  .faboo-faye-wingman-head .main-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .faboo-search-page-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .faboo-search-page-categories {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .faboo-search-page-form {
    grid-template-columns: 1fr;
  }

  .faboo-search-page-form .main-btn {
    width: 100%;
  }

  .faboo-search-page-categories label {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Faboo 12-point refinement: faster feed, clearer navigation and app-like mobile polish. */
.faboo-feed-shell > aside {
  --faboo-sidebar-height: 600px;
  --faboo-sidebar-gap: 24px;
  --faboo-sidebar-top: 92px;
  align-self: start !important;
  bottom: auto !important;
  height: max-content !important;
  max-height: none !important;
  overflow: visible !important;
  position: sticky !important;
  top: min(var(--faboo-sidebar-top), calc(100vh - var(--faboo-sidebar-height) - var(--faboo-sidebar-gap))) !important;
}

.faboo-feed-more {
  align-items: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 18px;
  text-align: center;
}

.faboo-feed-more small {
  color: var(--faboo-muted);
}

.faboo-feed-more .main-btn {
  min-width: 210px;
}

.faboo-ai-next-actions.compact {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  padding: 0;
}

.faboo-ai-next-actions.compact a {
  align-items: center;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  display: grid;
  gap: 9px;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 10px;
}

.faboo-ai-next-actions.compact a:hover {
  border-color: rgba(8, 141, 205, .28);
  box-shadow: 0 12px 28px rgba(31, 45, 65, .08);
  transform: translateY(-1px);
}

.faboo-ai-next-actions.compact a.priority {
  background: #fff8f1;
  border-color: rgba(236, 138, 45, .28);
}

.faboo-ai-next-actions.compact i {
  align-items: center;
  background: var(--faboo-soft);
  border-radius: 8px;
  color: var(--faboo-primary);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.faboo-ai-next-actions.compact strong,
.faboo-ai-next-actions.compact small {
  display: block;
  min-width: 0;
}

.faboo-ai-next-actions.compact small {
  color: var(--faboo-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.topbar.stick {
  padding-left: clamp(10px, 1.5vw, 22px);
  padding-right: clamp(10px, 1.5vw, 22px);
}

.faboo-top-menu {
  scroll-snap-type: x proximity;
}

.faboo-top-menu a,
.faboo-nav-more {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.topbar .searches.faboo-header-search {
  flex: 0 0 auto !important;
  max-width: none !important;
  min-width: 0 !important;
  width: auto !important;
}

.faboo-header-search-button {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  height: 38px;
  justify-content: center;
  padding: 0 13px;
  white-space: nowrap;
}

.faboo-header-search-button:hover,
.faboo-header-search-button:focus-visible {
  background: var(--faboo-primary);
  border-color: var(--faboo-primary);
  color: #fff;
}

.faboo-header-search-button i {
  font-size: 17px;
  line-height: 1;
}

body.faboo-theme-dark .faboo-header-search-button {
  background: #182235;
  border-color: rgba(255, 255, 255, .12);
}

/* Connect Explorer: cleaner filters and live results. */
.faboo-connect-v2 {
  display: grid;
  gap: 16px;
}

.faboo-connect-v2-hero {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .12), rgba(32, 163, 107, .10)),
    var(--faboo-card);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  overflow: hidden;
  padding: 24px;
}

.faboo-connect-v2-hero-copy {
  align-content: center;
  display: grid;
  gap: 10px;
}

.faboo-connect-v2-hero-copy > span,
.faboo-connect-filter-head span {
  color: var(--faboo-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.faboo-connect-v2-hero h2 {
  color: var(--faboo-text);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  margin: 0;
  max-width: 760px;
}

.faboo-connect-v2-hero p {
  color: var(--faboo-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 680px;
}

.faboo-connect-v2-actions,
.faboo-connect-v2-tabs,
.faboo-connect-v2-stats,
.faboo-connect-chip-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-connect-v2-stats {
  align-content: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faboo-connect-v2-stats a {
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  display: grid;
  min-height: 92px;
  padding: 14px;
}

.faboo-connect-v2-stats strong {
  color: var(--faboo-primary);
  font-size: 28px;
  line-height: 1;
}

.faboo-connect-v2-stats span {
  color: var(--faboo-muted);
  font-size: 13px;
  font-weight: 900;
}

.faboo-connect-v2-tabs {
  padding: 10px;
}

.faboo-connect-v2-tabs a {
  align-items: center;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-muted);
  display: inline-flex;
  font-weight: 900;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
}

.faboo-connect-v2-tabs a.active,
.faboo-connect-v2-tabs a:hover {
  background: var(--faboo-soft);
  border-color: rgba(8, 141, 205, .25);
  color: var(--faboo-primary);
}

.faboo-connect-v2-search {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.faboo-connect-v2-progress {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(120px, 1fr) auto;
}

.faboo-connect-v2-progress div {
  display: grid;
  gap: 2px;
}

.faboo-connect-v2-progress strong {
  color: var(--faboo-primary);
  font-size: 25px;
  line-height: 1;
}

.faboo-connect-v2-progress span,
.faboo-connect-v2-progress a {
  color: var(--faboo-muted);
  font-size: 13px;
  font-weight: 900;
}

.faboo-connect-v2-progress b {
  background: var(--faboo-soft);
  border-radius: 999px;
  display: block;
  height: 9px;
  overflow: hidden;
}

.faboo-connect-v2-progress b i {
  background: linear-gradient(90deg, var(--faboo-primary), #20a36b);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.faboo-connect-ai-line {
  align-items: center;
  background: #f8fbfe;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  padding: 8px;
}

.faboo-connect-ai-line > i {
  color: var(--faboo-primary);
  font-size: 20px;
  justify-self: center;
}

.faboo-connect-ai-line input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--faboo-text);
  min-height: 42px;
  padding: 0;
}

.faboo-connect-ai-line input:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.faboo-connect-v2-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
}

.faboo-connect-v2-filter {
  padding: 16px;
  position: sticky;
  top: 86px;
}

.faboo-connect-v2-filter form,
.faboo-connect-filter-group {
  display: grid;
  gap: 14px;
}

.faboo-connect-filter-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.faboo-connect-filter-head h3 {
  color: var(--faboo-text);
  font-size: 20px;
  margin: 2px 0 0;
}

.faboo-connect-filter-head a {
  color: var(--faboo-primary);
  font-weight: 900;
}

.faboo-connect-filter-group strong,
.faboo-connect-text-filter span,
.faboo-connect-filter-grid span {
  color: var(--faboo-text);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 7px;
}

.faboo-connect-chip {
  align-items: center;
  appearance: none;
  background: var(--faboo-card);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-muted);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  line-height: 1;
  min-height: 36px;
  padding: 0 11px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.faboo-connect-chip.active,
.faboo-connect-chip:hover,
.faboo-connect-chip:focus-visible {
  background: var(--faboo-soft);
  border-color: rgba(8, 141, 205, .28);
  color: var(--faboo-primary);
}

.faboo-connect-chip:active {
  transform: translateY(1px);
}

.faboo-connect-filter-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faboo-connect-text-filter,
.faboo-connect-filter-grid label {
  display: block;
}

.faboo-connect-text-filter input,
.faboo-connect-filter-grid input {
  background: #f8fbfe;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  min-height: 42px;
  padding: 0 11px;
  width: 100%;
}

.faboo-connect-filter-submit {
  width: 100%;
}

.faboo-connect-v2-results {
  min-width: 0;
}

.faboo-connect-v2-results > [data-connect-results] {
  display: grid;
  gap: 12px;
}

.faboo-connect-v2 .faboo-connect-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.faboo-connect-v2 .faboo-connect-card {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 45, 65, .07);
  overflow: hidden;
}

.faboo-connect-v2 .faboo-connect-photo {
  min-height: 220px;
}

body.faboo-theme-dark .faboo-connect-v2-hero,
body.faboo-theme-dark .faboo-connect-v2-stats a,
body.faboo-theme-dark .faboo-connect-ai-line,
body.faboo-theme-dark .faboo-connect-text-filter input,
body.faboo-theme-dark .faboo-connect-filter-grid input,
body.faboo-theme-dark .faboo-connect-chip {
  background-color: #121a2b;
  border-color: rgba(255, 255, 255, .12);
}

@media (max-width: 1100px) {
  .faboo-connect-v2-hero,
  .faboo-connect-v2-layout {
    grid-template-columns: 1fr;
  }

  .faboo-connect-v2-filter {
    position: static;
  }
}

@media (max-width: 700px) {
  .faboo-connect-v2-hero {
    padding: 18px;
  }

  .faboo-connect-v2-stats {
    grid-template-columns: 1fr 1fr;
  }

  .faboo-connect-ai-line,
  .faboo-connect-v2-progress {
    grid-template-columns: 1fr;
  }

  .faboo-connect-ai-line > i {
    display: none;
  }

  .faboo-connect-ai-line button,
  .faboo-connect-v2-progress a {
    width: 100%;
  }
}

.faboo-post.is-updating {
  opacity: .78;
}

.faboo-post[data-post-id] {
  scroll-margin-top: 96px;
}

.faboo-feed-shell > aside,
.faboo-connect-v2-filter {
  bottom: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: static !important;
  top: auto !important;
}

body.faboo-theme-dark .faboo-ai-next-actions.compact a {
  background: #121a2b;
  border-color: rgba(255, 255, 255, .12);
}

body.faboo-theme-dark .faboo-ai-next-actions.compact a.priority {
  background: rgba(236, 138, 45, .10);
}

@media (max-width: 991px) {
  .faboo-feed-shell > aside {
    position: static;
    top: auto !important;
  }
}

@media (max-width: 760px) {
  .faboo-header-search-button {
    height: 38px;
    padding: 0;
    width: 38px;
  }

  .faboo-header-search-button span {
    display: none;
  }

  .faboo-page .gap {
    padding-top: 18px;
  }

  .faboo-feed-more {
    margin-bottom: 18px;
  }

  .faboo-mobile-tabbar {
    border-top: 1px solid var(--faboo-border);
    box-shadow: 0 -12px 32px rgba(22, 35, 54, .14);
  }

  .faboo-mobile-tabbar a {
    min-height: 58px;
  }
}

/* Faboo foundation layer: one calmer app surface across community, Connect and admin. */
:root {
  --faboo-surface-2: #f8fafc;
  --faboo-surface-3: #eef6fb;
  --faboo-success: #20a36b;
  --faboo-warning: #ec8a2d;
  --faboo-radius: 8px;
  --faboo-radius-sm: 6px;
  --faboo-shadow-sm: 0 8px 20px rgba(25, 34, 50, .06);
  --faboo-shadow-md: 0 18px 46px rgba(25, 34, 50, .10);
  --faboo-focus: 0 0 0 3px rgba(8, 141, 205, .18);
  --faboo-page-max: 1220px;
}

body {
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(244,247,251,.78) 240px),
    var(--faboo-bg);
  color: var(--faboo-text);
  text-rendering: optimizeLegibility;
}

body.faboo-theme-dark {
  --faboo-surface-2: #101827;
  --faboo-surface-3: #172238;
  --faboo-shadow-sm: 0 8px 20px rgba(0, 0, 0, .22);
  --faboo-shadow-md: 0 18px 46px rgba(0, 0, 0, .32);
}

.faboo-page .container {
  max-width: var(--faboo-page-max);
}

.faboo-page .gap {
  padding-top: 26px;
  padding-bottom: 42px;
}

.main-wraper,
aside .widget,
.faboo-card,
.faboo-grid .widget,
.faboo-empty,
.faboo-empty-state,
.faboo-search-summary,
.faboo-forum-side-card,
.faboo-connect-v2-search,
.faboo-connect-v2-filter,
.faboo-connect-card,
.faboo-settings-grid > .main-wraper,
.faboo-settings-columns .main-wraper {
  border: 1px solid var(--faboo-border) !important;
  border-radius: var(--faboo-radius) !important;
  box-shadow: var(--faboo-shadow-sm);
}

.main-wraper + .main-wraper,
.faboo-card + .faboo-card,
aside .widget + .widget,
.faboo-grid .widget + .widget {
  margin-top: 16px;
}

.main-wraper,
.faboo-card,
aside .widget {
  overflow: hidden;
}

.main-wraper h1,
.main-wraper h2,
.main-wraper h3,
.faboo-card h1,
.faboo-card h2,
.faboo-card h3 {
  letter-spacing: 0;
}

a,
button,
input,
textarea,
select {
  accent-color: var(--faboo-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  box-shadow: var(--faboo-focus) !important;
  outline: none !important;
}

.main-btn,
.button,
button.main-btn,
.faboo-actions .button,
.faboo-card-actions .button,
.faboo-card-actions .main-btn {
  border-radius: var(--faboo-radius-sm) !important;
  box-shadow: none;
  min-height: 40px;
}

.main-btn:hover,
.button:hover,
button.main-btn:hover,
.faboo-card:hover,
.faboo-connect-card:hover,
.faboo-search-result:hover {
  transform: translateY(-1px);
}

input,
textarea,
select,
.c-form input,
.c-form textarea,
.c-form select,
.faboo-search-page-field,
.faboo-connect-ai-line,
.faboo-connect-text-filter input,
.faboo-connect-filter-grid input,
.faboo-admin-toolbar input,
.faboo-admin-toolbar select {
  border-radius: var(--faboo-radius-sm) !important;
}

.topbar.stick {
  background: rgba(255, 255, 255, .94) !important;
  border-bottom: 1px solid rgba(231, 235, 242, .9);
  box-shadow: 0 10px 30px rgba(18, 32, 52, .07);
}

body.faboo-theme-dark .topbar.stick {
  background: rgba(15, 23, 38, .94) !important;
  border-bottom-color: rgba(255, 255, 255, .08);
}

.faboo-top-menu a,
.faboo-nav-more,
.faboo-header-search-button,
.faboo-icon-btn,
.faboo-theme-toggle,
.faboo-user-btn {
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.faboo-dropdown {
  border: 1px solid var(--faboo-border);
  border-radius: var(--faboo-radius) !important;
  box-shadow: var(--faboo-shadow-md);
}

.faboo-site-footer {
  border-top: 1px solid var(--faboo-border);
  margin-top: 24px;
}

.faboo-site-footer-inner {
  max-width: var(--faboo-page-max);
}

.faboo-site-footer nav a,
.faboo-mobile-tabbar a {
  border-radius: var(--faboo-radius-sm);
}

.faboo-feed-shell,
.faboo-grid,
.faboo-connect-v2-layout,
.faboo-forum-layout,
.faboo-settings-grid,
.faboo-settings-columns {
  gap: 18px !important;
}

.faboo-feed-shell > aside,
.faboo-connect-v2-filter {
  bottom: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: static !important;
  top: auto !important;
}

.faboo-connect-v2-hero,
.faboo-feed-welcome {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .10), rgba(32, 163, 107, .07)),
    var(--faboo-card) !important;
}

.faboo-connect-card,
.faboo-member-card,
.faboo-profile-friend-card,
.faboo-search-result,
.faboo-forum-question,
.faboo-post {
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}

.faboo-connect-card:hover,
.faboo-member-card:hover,
.faboo-profile-friend-card:hover,
.faboo-search-result:hover,
.faboo-forum-question:hover,
.faboo-post:hover {
  border-color: rgba(8, 141, 205, .22) !important;
  box-shadow: var(--faboo-shadow-md);
}

.faboo-empty,
.faboo-empty-state {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .06), rgba(32, 163, 107, .05)),
    var(--faboo-card) !important;
}

body.faboo-theme-dark .main-wraper,
body.faboo-theme-dark aside .widget,
body.faboo-theme-dark .faboo-card,
body.faboo-theme-dark .faboo-grid .widget,
body.faboo-theme-dark .faboo-empty,
body.faboo-theme-dark .faboo-empty-state,
body.faboo-theme-dark .faboo-search-summary,
body.faboo-theme-dark .faboo-connect-v2-search,
body.faboo-theme-dark .faboo-connect-v2-filter,
body.faboo-theme-dark .faboo-connect-card {
  background-color: var(--faboo-card) !important;
  border-color: var(--faboo-border) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 991px) {
  .faboo-page .gap {
    padding-top: 18px;
    padding-bottom: 74px;
  }

  .main-wraper + .main-wraper,
  .faboo-card + .faboo-card,
  aside .widget + .widget {
    margin-top: 12px;
  }
}

.faboo-connect-more {
  border-top: 1px solid var(--faboo-border);
  margin-top: 0;
  padding: 0 14px 14px !important;
}

.faboo-connect-more summary {
  align-items: center;
  border-radius: var(--faboo-radius-sm);
  color: var(--faboo-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  list-style: none;
  min-height: 38px;
  padding: 0 8px;
}

.faboo-connect-more summary::-webkit-details-marker {
  display: none;
}

.faboo-connect-more summary:hover,
.faboo-connect-more[open] summary {
  background: rgba(217, 75, 75, .08);
  color: var(--faboo-danger);
}

.faboo-connect-report-panel {
  background: var(--faboo-surface-2);
  border: 1px solid var(--faboo-border);
  border-radius: var(--faboo-radius);
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
}

.faboo-connect-report-panel p {
  color: var(--faboo-muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.faboo-connect-more .faboo-connect-report-form,
.faboo-connect-more .faboo-connect-block-form {
  display: grid !important;
  gap: 9px;
  margin: 0;
}

.faboo-connect-report-form label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.faboo-connect-report-form label span {
  color: var(--faboo-text);
  font-size: 12px;
  font-weight: 900;
}

.faboo-connect-report-form input {
  background: var(--faboo-card);
  border: 1px solid var(--faboo-border);
  border-radius: var(--faboo-radius-sm);
  color: var(--faboo-text);
  min-height: 40px;
  padding: 0 11px;
  width: 100%;
}

.faboo-report-btn,
.faboo-block-btn {
  align-items: center;
  display: inline-flex !important;
  gap: 7px;
  justify-content: center;
  margin: 0;
  min-height: 40px;
  width: 100%;
}

.faboo-report-btn {
  background: var(--faboo-primary) !important;
  border-color: var(--faboo-primary) !important;
  color: #fff !important;
}

.faboo-block-btn {
  background: rgba(217, 75, 75, .10) !important;
  border: 1px solid rgba(217, 75, 75, .28) !important;
  color: var(--faboo-danger) !important;
}

body.faboo-theme-dark .faboo-connect-report-panel,
body.faboo-theme-dark .faboo-connect-report-form input {
  background: #101827;
  border-color: rgba(255, 255, 255, .12);
}

.faboo-home-open-page .faboo-public-nav .main-btn {
  color: #fff;
  padding: 10px 16px;
}

.faboo-home-open-page .faboo-public-nav .main-btn:hover {
  color: #fff;
}

.faboo-home-open-page .faboo-home-signup-card .faboo-public-actions {
  margin-top: 20px;
}

.faboo-home-3d-logo {
  display: block;
  height: auto;
  margin: -8px auto 18px;
  max-width: 245px;
  width: min(100%, 245px);
}

.faboo-home-open-page .faboo-home-signup-card .faboo-public-actions .main-btn {
  justify-content: center;
  width: 100%;
}

.faboo-home-open-page .faboo-roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991px) {
  .faboo-home-open-page .faboo-roadmap-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .faboo-home-open-page .faboo-roadmap-grid {
    grid-template-columns: 1fr;
  }
}

/* Connect cards: keep rows aligned and prevent one-card pages from stretching. */
.faboo-connect-v2 .faboo-connect-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  justify-content: start;
}

.faboo-connect-v2 .faboo-connect-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-top: 0 !important;
  min-width: 0;
  transform: none !important;
}

.faboo-connect-v2 .faboo-connect-grid > .faboo-connect-card + .faboo-connect-card {
  margin-top: 0 !important;
}

.faboo-connect-v2 .faboo-connect-card:hover {
  transform: none !important;
}

.faboo-connect-v2 .faboo-connect-card:only-child {
  justify-self: start;
  max-width: 320px;
  width: 100%;
}

.faboo-connect-v2 .faboo-connect-body {
  flex: 1 1 auto;
}

@media (max-width: 700px) {
  .faboo-connect-v2 .faboo-connect-card:only-child {
    max-width: none;
  }
}

.faboo-ai-profile-pill,
.faboo-ai-static-action,
.faboo-ai-chat-person small {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.faboo-ai-profile-pill {
  background: linear-gradient(135deg, rgba(8, 141, 205, .13), rgba(255, 206, 77, .18));
  border: 1px solid rgba(8, 141, 205, .24);
  color: #0d5f8e;
  font-size: 12px;
  font-weight: 800;
  margin-left: 6px;
  padding: 6px 10px;
  vertical-align: middle;
}

.faboo-ai-profile-insight > i,
.faboo-ai-chat-person img {
  box-shadow: 0 10px 24px rgba(8, 141, 205, .16);
}

.faboo-ai-static-action[disabled] {
  cursor: default;
  opacity: 1;
}

body.faboo-theme-dark .faboo-ai-profile-pill {
  background: linear-gradient(135deg, rgba(58, 188, 255, .18), rgba(255, 206, 77, .12));
  border-color: rgba(159, 224, 255, .24);
  color: #9fe0ff;
}

.faboo-admin-media-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  margin-top: 18px;
}

.faboo-admin-media-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.faboo-admin-media-preview {
  align-items: center;
  background: #f2f6fb;
  display: flex;
  height: 150px;
  justify-content: center;
  overflow: hidden;
}

.faboo-admin-media-preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.faboo-admin-media-preview i {
  color: #088dcd;
  font-size: 42px;
}

.faboo-admin-media-card code {
  background: rgba(8, 141, 205, .08);
  display: block;
  font-size: 11px;
  margin-top: 8px;
  overflow-wrap: anywhere;
  padding: 8px;
}

.faboo-privacy-dashboard {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin: 18px 0;
}

.faboo-privacy-dashboard article {
  background: #f7f9fc;
  border: 1px solid #e7edf5;
  padding: 14px;
}

.faboo-privacy-dashboard i {
  color: #088dcd;
  font-size: 22px;
}

.faboo-privacy-dashboard strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin: 8px 0 4px;
}

.faboo-privacy-dashboard span {
  color: #657184;
  font-size: 12px;
}

body.faboo-theme-dark .faboo-admin-media-preview,
body.faboo-theme-dark .faboo-privacy-dashboard article {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .1);
}

.faboo-onboarding-nudge {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(8, 141, 205, .18);
  box-sizing: border-box;
  box-shadow: 0 12px 28px rgba(17, 24, 39, .08);
  display: flex;
  gap: 12px;
  left: auto;
  margin: 12px auto 0;
  max-width: calc(100% - 24px);
  padding: 12px 14px;
  position: relative;
  width: min(1120px, calc(100% - 24px));
  z-index: 12;
}

.faboo-onboarding-nudge > i {
  align-items: center;
  background: rgba(8, 141, 205, .1);
  color: var(--faboo-primary);
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 19px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.faboo-onboarding-nudge span {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
}

.faboo-onboarding-nudge strong {
  color: var(--faboo-text);
  font-size: 14px;
}

.faboo-onboarding-nudge small {
  color: var(--faboo-muted);
  overflow-wrap: anywhere;
}

.faboo-onboarding-nudge .button {
  flex: 0 0 auto;
  margin: 0;
}

.faboo-onboarding-nudge [data-faboo-onboarding-dismiss] {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--faboo-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.faboo-search-page-field {
  position: relative;
}

.faboo-search-live-results {
  background: #fff;
  border: 1px solid var(--faboo-border);
  box-shadow: 0 18px 40px rgba(17, 24, 39, .14);
  left: 0;
  max-height: 420px;
  overflow: auto;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
}

.faboo-search-live-results.is-loading::before {
  color: var(--faboo-muted);
  content: "Zoeken...";
  display: block;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
}

.faboo-search-live-item,
.faboo-search-live-empty {
  align-items: center;
  display: flex;
  gap: 11px;
  padding: 10px;
  text-decoration: none;
}

.faboo-search-live-item:hover {
  background: rgba(8, 141, 205, .08);
}

.faboo-search-live-item img,
.faboo-search-live-item > i,
.faboo-search-live-empty > i {
  align-items: center;
  background: #eef6fb;
  color: var(--faboo-primary);
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  object-fit: cover;
  width: 42px;
}

.faboo-search-live-item span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.faboo-search-live-item strong {
  color: var(--faboo-text);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-search-live-item small,
.faboo-search-live-empty span {
  color: var(--faboo-muted);
  font-size: 12px;
  line-height: 1.35;
}

.faboo-search-live-item em {
  color: var(--faboo-primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-privacy-checks {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 14px 0 22px;
}

.faboo-privacy-checks article {
  align-items: center;
  background: #fff;
  border: 1px solid var(--faboo-border);
  display: grid;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 12px;
}

.faboo-privacy-checks i {
  align-items: center;
  background: rgba(8, 141, 205, .09);
  color: var(--faboo-primary);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.faboo-privacy-checks span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.faboo-privacy-checks strong {
  color: var(--faboo-text);
  font-size: 13px;
}

.faboo-privacy-checks small {
  color: var(--faboo-muted);
  font-size: 12px;
  line-height: 1.35;
}

.faboo-privacy-checks em {
  background: #eef6fb;
  color: #0d5f8e;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  padding: 6px 8px;
  white-space: nowrap;
}

.faboo-privacy-checks .is-ok em {
  background: rgba(40, 167, 69, .12);
  color: #237b3b;
}

.faboo-privacy-checks .is-warn em {
  background: rgba(255, 193, 7, .16);
  color: #916400;
}

.faboo-monitor-list {
  display: grid;
  gap: 10px;
}

.faboo-monitor-list article {
  align-items: flex-start;
  border: 1px solid var(--faboo-border);
  display: grid;
  gap: 11px;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 12px;
}

.faboo-monitor-list article > i {
  align-items: center;
  background: rgba(8, 141, 205, .1);
  color: var(--faboo-primary);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.faboo-monitor-list .level-warning > i {
  background: rgba(255, 193, 7, .18);
  color: #a36f00;
}

.faboo-monitor-list .level-error > i,
.faboo-monitor-list .level-critical > i {
  background: rgba(217, 75, 75, .12);
  color: var(--faboo-danger);
}

.faboo-monitor-list strong,
.faboo-monitor-list p,
.faboo-monitor-list small {
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
}

.faboo-monitor-list p {
  color: var(--faboo-text);
  margin-top: 4px;
}

.faboo-monitor-list small {
  color: var(--faboo-muted);
  margin-top: 5px;
}

.faboo-monitor-log {
  background: #101827;
  color: #d7e4f2;
  font-size: 12px;
  line-height: 1.55;
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.faboo-admin-inline-form {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
}

body.faboo-theme-dark .faboo-onboarding-nudge,
body.faboo-theme-dark .faboo-search-live-results,
body.faboo-theme-dark .faboo-privacy-checks article,
body.faboo-theme-dark .faboo-monitor-list article {
  background: #101827;
  border-color: rgba(255, 255, 255, .11);
}

body.faboo-theme-dark .faboo-search-live-item:hover {
  background: rgba(255, 255, 255, .06);
}

body.faboo-theme-dark .faboo-search-live-item img,
body.faboo-theme-dark .faboo-search-live-item > i,
body.faboo-theme-dark .faboo-search-live-empty > i,
body.faboo-theme-dark .faboo-privacy-checks i,
body.faboo-theme-dark .faboo-onboarding-nudge > i {
  background: rgba(255, 255, 255, .07);
}

.theme-layout header .topbar a.logo {
  align-items: center;
  display: inline-flex !important;
  flex: 0 0 auto;
  height: 44px;
  justify-content: flex-start;
  min-width: 44px;
}

.theme-layout header .topbar a.logo img {
  display: block !important;
  flex: 0 0 42px;
  height: 42px !important;
  max-height: 42px;
  max-width: 42px;
  object-fit: contain;
  width: 42px !important;
}

@media (max-width: 767px) {
  .theme-layout header .topbar a.logo {
    flex-basis: 42px !important;
    height: 42px;
    min-width: 42px !important;
    width: 42px !important;
  }
}

@media (max-width: 1100px) {
  .faboo-onboarding-nudge {
    left: auto;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 760px) {
  .faboo-onboarding-nudge {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 8px;
  }

  .faboo-onboarding-nudge span {
    flex-basis: calc(100% - 50px);
  }

  .faboo-onboarding-nudge .button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .faboo-search-page-form {
    align-items: stretch;
    display: grid;
  }

  .faboo-search-page-categories {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faboo-privacy-checks article {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .faboo-privacy-checks em {
    grid-column: 2;
    justify-self: start;
  }
}

.faboo-hashtag-hero {
  align-items: center;
  box-sizing: border-box;
  clear: both;
  display: grid;
  float: none;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin-bottom: 18px;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.faboo-hashtag-hero,
.faboo-hashtag-trends,
.faboo-hashtag-side,
.faboo-hashtag-stats article,
.faboo-hashtag-empty,
.faboo-hashtag-post-card {
  padding: 20px;
}

.faboo-hashtag-hero > *,
.faboo-hashtag-layout > *,
.faboo-hashtag-layout main,
.faboo-hashtag-layout aside,
.faboo-hashtag-side,
.faboo-hashtag-trends,
.faboo-hashtag-stats article {
  min-width: 0;
}

.faboo-hashtag-hero span {
  align-items: center;
  color: #088dcd;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  text-transform: uppercase;
}

.faboo-hashtag-hero h2 {
  color: #202532;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.faboo-hashtag-hero p,
.faboo-section-head p {
  color: #6d7482;
  margin: 0;
  overflow-wrap: anywhere;
}

.faboo-hashtag-search {
  align-items: center;
  background: #f6f9fd;
  border: 1px solid #e3eaf3;
  display: grid;
  gap: 10px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  max-width: 100%;
  min-width: 0;
  padding: 10px;
}

.faboo-hashtag-search input {
  background: transparent;
  border: 0;
  color: #202532;
  min-width: 0;
  outline: 0;
}

.faboo-hashtag-search i {
  color: #088dcd;
  font-size: 18px;
  text-align: center;
}

.faboo-hashtag-stats {
  box-sizing: border-box;
  clear: both;
  display: grid;
  float: none;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
  min-width: 0;
  width: 100%;
}

.faboo-hashtag-stats article {
  background: #fff;
  border: 1px solid #e7ebf2;
  box-shadow: 0 12px 28px rgba(20, 32, 50, .06);
  padding: 20px;
}

.faboo-hashtag-stats strong {
  color: #202532;
  display: block;
  font-size: 24px;
  font-weight: 900;
}

.faboo-hashtag-stats span {
  color: #6d7482;
  font-size: 13px;
}

.faboo-hashtag-trends {
  box-sizing: border-box;
  clear: both;
  float: none;
  margin-bottom: 18px;
  width: 100%;
}

.faboo-section-head {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  min-width: 0;
}

.faboo-section-head h3 {
  align-items: center;
  color: #202532;
  display: flex;
  font-size: 20px;
  font-weight: 900;
  gap: 8px;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.faboo-hashtag-results-head {
  padding: 0 2px;
}

.faboo-hashtag-results-head > div {
  min-width: 0;
}

.faboo-hashtag-trends > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.faboo-hashtag-trends a {
  align-items: center;
  background: #f6f9fd;
  border: 1px solid #e3eaf3;
  color: #202532;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 9px 12px;
  white-space: normal;
}

.faboo-hashtag-trends a.active,
.faboo-hashtag-trends a:hover {
  background: #088dcd;
  border-color: #088dcd;
  color: #fff;
  text-decoration: none;
}

.faboo-hashtag-trends a span {
  background: rgba(8, 141, 205, .11);
  color: inherit;
  font-size: 12px;
  padding: 2px 7px;
}

.faboo-hashtag-layout {
  align-items: start;
  box-sizing: border-box;
  clear: both;
  display: grid;
  float: none;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 320px;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.faboo-hashtag-layout .faboo-post,
.faboo-hashtag-layout .faboo-card,
.faboo-hashtag-layout .faboo-empty {
  max-width: 100%;
}

.faboo-hashtag-layout .faboo-reaction-menu {
  left: 0;
  max-width: min(420px, calc(100vw - 32px));
  right: auto;
}

.faboo-hashtag-post-list {
  display: grid;
  gap: 12px;
}

.faboo-hashtag-post-card {
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(249, 252, 255, .98));
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(20, 32, 50, .06);
  color: #202532;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.faboo-hashtag-post-card.has-media {
  grid-template-columns: minmax(0, 1fr) 124px;
}

.faboo-hashtag-post-card:hover {
  border-color: rgba(8, 141, 205, .28);
  box-shadow: 0 18px 42px rgba(20, 32, 50, .11);
  color: #202532;
  text-decoration: none;
  transform: translateY(-1px);
}

.faboo-hashtag-post-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.faboo-hashtag-post-author {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  min-width: 0;
}

.faboo-hashtag-post-author img {
  background: #f4f7fb;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.faboo-hashtag-post-author strong,
.faboo-hashtag-post-author small,
.faboo-hashtag-post-summary,
.faboo-hashtag-post-foot {
  min-width: 0;
  overflow-wrap: anywhere;
}

.faboo-hashtag-post-author strong {
  color: #202532;
  display: block;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.faboo-hashtag-post-author small {
  color: #6d7482;
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin-top: 2px;
}

.faboo-hashtag-post-summary {
  color: #354052;
  display: block;
  font-size: 15px;
  line-height: 1.58;
}

.faboo-hashtag-post-foot {
  align-items: center;
  color: #6d7482;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 800;
  gap: 10px 14px;
  justify-content: space-between;
}

.faboo-hashtag-post-foot em {
  align-items: center;
  color: #088dcd;
  display: inline-flex;
  font-style: normal;
  gap: 5px;
  white-space: nowrap;
}

.faboo-hashtag-post-thumb {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: #eef4fa;
  border: 1px solid #e3eaf3;
  border-radius: 8px;
  display: grid;
  justify-items: center;
  min-height: 112px;
  overflow: hidden;
}

.faboo-hashtag-post-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.faboo-hashtag-post-thumb.is-video {
  color: #088dcd;
  gap: 6px;
}

.faboo-hashtag-post-thumb.is-video i {
  font-size: 26px;
}

.faboo-hashtag-post-thumb.is-video small {
  color: #435064;
  font-size: 12px;
  font-weight: 900;
}

.faboo-hashtag-side {
  margin-bottom: 16px;
}

.faboo-hashtag-side h4 {
  align-items: center;
  color: #202532;
  display: flex;
  font-size: 17px;
  font-weight: 900;
  gap: 8px;
  margin: 0 0 12px;
}

.faboo-hashtag-side a {
  border-top: 1px solid #edf1f6;
  border-radius: 8px;
  color: #202532;
  display: block;
  margin: 0 -12px;
  padding: 12px;
}

.faboo-hashtag-side a:first-of-type {
  border-top: 0;
}

.faboo-hashtag-side a:hover {
  background: #f6f9fd;
  color: #088dcd;
  text-decoration: none;
}

.faboo-hashtag-side strong,
.faboo-hashtag-side small {
  display: block;
  overflow-wrap: anywhere;
}

.faboo-hashtag-side small,
.faboo-hashtag-side p {
  color: #6d7482;
  font-size: 13px;
  margin: 4px 0 0;
}

body.faboo-theme-dark .faboo-hashtag-hero h2,
body.faboo-theme-dark .faboo-section-head h3,
body.faboo-theme-dark .faboo-hashtag-stats strong,
body.faboo-theme-dark .faboo-hashtag-side h4,
body.faboo-theme-dark .faboo-hashtag-side a,
body.faboo-theme-dark .faboo-hashtag-search input {
  color: #f7fbff;
}

body.faboo-theme-dark .faboo-hashtag-search,
body.faboo-theme-dark .faboo-hashtag-trends a {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .11);
}

body.faboo-theme-dark .faboo-hashtag-stats article {
  background: #162033;
  border-color: rgba(255, 255, 255, .1);
}

body.faboo-theme-dark .faboo-hashtag-side a {
  border-color: rgba(255, 255, 255, .1);
}

body.faboo-theme-dark .faboo-hashtag-post-card {
  background: #162033;
  border-color: rgba(255, 255, 255, .1);
  color: #f7fbff;
}

body.faboo-theme-dark .faboo-hashtag-post-card:hover,
body.faboo-theme-dark .faboo-hashtag-side a:hover {
  background: rgba(255, 255, 255, .06);
}

body.faboo-theme-dark .faboo-hashtag-post-author strong,
body.faboo-theme-dark .faboo-hashtag-post-summary {
  color: #f7fbff;
}

body.faboo-theme-dark .faboo-hashtag-post-author small,
body.faboo-theme-dark .faboo-hashtag-post-foot,
body.faboo-theme-dark .faboo-hashtag-post-thumb.is-video small {
  color: #aab8ca;
}

body.faboo-theme-dark .faboo-hashtag-post-thumb {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .1);
}

@media (max-width: 980px) {
  .faboo-hashtag-hero,
  .faboo-hashtag-layout {
    grid-template-columns: 1fr;
  }

  .faboo-hashtag-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .faboo-hashtag-hero,
  .faboo-hashtag-trends,
  .faboo-hashtag-side,
  .faboo-hashtag-stats article,
  .faboo-hashtag-empty,
  .faboo-hashtag-post-card {
    padding: 16px;
  }

  .faboo-hashtag-hero h2 {
    font-size: 28px;
  }

  .faboo-section-head {
    display: grid;
    gap: 6px;
  }

  .faboo-section-head h3 {
    font-size: 18px;
  }

  .faboo-hashtag-trends a {
    flex: 1 1 180px;
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .faboo-hashtag-search {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .faboo-hashtag-post-card.has-media {
    grid-template-columns: 1fr;
  }

  .faboo-hashtag-post-thumb {
    min-height: 160px;
  }

  .faboo-hashtag-search .main-btn {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }

  .faboo-hashtag-trends a {
    flex-basis: 100%;
  }
}

.faboo-public-nav a.active {
  background: var(--faboo-soft);
  color: var(--faboo-primary-dark);
}

.faboo-growth-hero {
  min-height: 640px;
  padding-bottom: 82px;
}

.faboo-growth-hero-community {
  background-image: linear-gradient(180deg, rgba(13, 22, 36, .12), rgba(13, 22, 36, .78)), url("../images/faboo/home-profiles.jpg");
}

.faboo-growth-hero-connect {
  background-image: linear-gradient(180deg, rgba(13, 22, 36, .10), rgba(13, 22, 36, .80)), url("../images/faboo/home-groups.jpg");
}

.faboo-growth-hero-forum {
  background-image: linear-gradient(180deg, rgba(13, 22, 36, .10), rgba(13, 22, 36, .80)), url("../images/faboo/home-events.jpg");
}

.faboo-join-hero {
  background-image: linear-gradient(90deg, rgba(10, 18, 31, .88), rgba(10, 18, 31, .50), rgba(10, 18, 31, .84)), url("../images/faboo/home-hero.jpg");
}

.faboo-join-card {
  text-align: left;
}

.faboo-join-avatar {
  border: 4px solid #fff;
  box-shadow: 0 18px 40px rgba(18, 31, 48, .22);
  height: 118px;
  margin: 0 0 18px;
  object-fit: cover;
  width: 118px;
}

.faboo-invite-layout {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin-bottom: 18px;
}

.faboo-invite-panel {
  padding: 22px;
}

.faboo-invite-panel h2,
.faboo-invite-panel h3 {
  color: #202532;
  font-weight: 900;
  margin: 0 0 8px;
}

.faboo-invite-panel p {
  color: #6d7482;
  line-height: 1.6;
  margin: 0;
}

.faboo-invite-hero-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
  border-color: #dceaf5;
}

.faboo-invite-link-box {
  align-items: center;
  background: #fff;
  border: 1px solid #dce6f1;
  display: grid;
  gap: 10px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  margin-top: 18px;
  padding: 10px;
}

.faboo-invite-link-box > i {
  color: #088dcd;
  font-size: 20px;
  text-align: center;
}

.faboo-invite-link-box input {
  background: #f7fafe;
  border: 1px solid #e2eaf4;
  color: #202532;
  font-weight: 800;
  min-width: 0;
  padding: 12px;
  width: 100%;
}

.faboo-invite-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.faboo-invite-share-row a {
  align-items: center;
  background: #f6f9fd;
  border: 1px solid #e0e8f2;
  color: #202532;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  padding: 10px 12px;
}

.faboo-invite-share-row a:hover {
  background: #088dcd;
  border-color: #088dcd;
  color: #fff;
  text-decoration: none;
}

.faboo-invite-stats {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.faboo-invite-stats div {
  background: #f6f9fd;
  border: 1px solid #e3eaf3;
  padding: 14px;
}

.faboo-invite-stats strong,
.faboo-invite-stats span {
  display: block;
}

.faboo-invite-stats strong {
  color: #202532;
  font-size: 26px;
  font-weight: 900;
}

.faboo-invite-stats span {
  color: #6d7482;
  font-size: 13px;
  font-weight: 800;
}

.faboo-invite-ref {
  background: #eef8ff;
  color: #088dcd;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  white-space: nowrap;
}

.faboo-invite-members {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 14px;
}

.faboo-invite-members article {
  align-items: center;
  background: #fff;
  border: 1px solid #e6edf5;
  display: flex;
  gap: 12px;
  padding: 12px;
}

.faboo-invite-members img {
  flex: 0 0 auto;
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.faboo-invite-members strong,
.faboo-invite-members span,
.faboo-invite-members small {
  display: block;
}

.faboo-invite-members strong {
  color: #202532;
  font-weight: 900;
}

.faboo-invite-members span,
.faboo-invite-members small {
  color: #6d7482;
  font-size: 12px;
}

body.faboo-theme-dark .faboo-invite-panel,
body.faboo-theme-dark .faboo-invite-link-box,
body.faboo-theme-dark .faboo-invite-members article {
  background: #162033;
  border-color: rgba(255, 255, 255, .10);
}

body.faboo-theme-dark .faboo-invite-panel h2,
body.faboo-theme-dark .faboo-invite-panel h3,
body.faboo-theme-dark .faboo-invite-link-box input,
body.faboo-theme-dark .faboo-invite-stats strong,
body.faboo-theme-dark .faboo-invite-members strong {
  color: #f7fbff;
}

body.faboo-theme-dark .faboo-invite-link-box input,
body.faboo-theme-dark .faboo-invite-stats div,
body.faboo-theme-dark .faboo-invite-share-row a {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  color: #f7fbff;
}

.faboo-health-ok strong,
.faboo-health-ok small {
  color: #12805c !important;
}

.faboo-health-warning strong,
.faboo-health-warning small {
  color: #b7791f !important;
}

.faboo-health-critical strong,
.faboo-health-critical small {
  color: #c53030 !important;
}

.faboo-health-check-list {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.faboo-health-groups {
  display: grid;
  gap: 16px;
}

.faboo-health-category {
  border-top: 1px solid #edf2f7;
  padding-top: 14px;
}

.faboo-health-category:first-child {
  border-top: 0;
  padding-top: 0;
}

.faboo-health-category h4 {
  color: #172033;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.faboo-health-check-list span {
  align-items: flex-start;
  border: 1px solid #e5edf6;
  display: grid;
  gap: 4px 9px;
  grid-template-columns: 24px minmax(0, 1fr);
  padding: 12px;
}

.faboo-health-check-list span i {
  font-size: 18px;
  line-height: 1.2;
}

.faboo-health-check-list span strong,
.faboo-health-check-list span small {
  display: block;
}

.faboo-health-check-list span small {
  color: #6d7482;
  font-size: 12px;
  grid-column: 2;
  line-height: 1.35;
}

.faboo-health-check-list .ok {
  background: #f0fff8;
  border-color: #b7efd8;
  color: #12805c;
}

.faboo-health-check-list .warn {
  background: #fff8e7;
  border-color: #f6d88a;
  color: #b7791f;
}

.faboo-health-check-list .danger {
  background: #fff1f1;
  border-color: #feb2b2;
  color: #c53030;
}

.faboo-health-trend {
  align-items: end;
  display: flex;
  gap: 10px;
  min-height: 150px;
  padding: 12px 4px 0;
}

.faboo-health-trend span {
  align-items: center;
  display: grid;
  flex: 1;
  gap: 6px;
  height: 140px;
  min-width: 18px;
}

.faboo-health-trend i {
  align-self: end;
  background: linear-gradient(180deg, #31c48d, #088dcd);
  display: block;
  min-height: 8px;
  width: 100%;
}

.faboo-health-trend small {
  color: #6d7482;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

body.faboo-theme-dark .faboo-health-check-list span {
  border-color: rgba(255, 255, 255, .10);
}

body.faboo-theme-dark .faboo-health-category {
  border-color: rgba(255, 255, 255, .10);
}

body.faboo-theme-dark .faboo-health-category h4 {
  color: #f7fbff;
}

body.faboo-theme-dark .faboo-health-check-list .ok {
  background: rgba(18, 128, 92, .18);
}

body.faboo-theme-dark .faboo-health-check-list .warn {
  background: rgba(183, 121, 31, .18);
}

body.faboo-theme-dark .faboo-health-check-list .danger {
  background: rgba(197, 48, 48, .18);
}

/* Admin header lock: keep Meer, Zoeken and account tools on one row. */
body.faboo-host-admin-faboo-nl .topbar.stick {
  align-items: center;
  display: grid !important;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

body.faboo-host-admin-faboo-nl .topbar a.logo {
  grid-column: 1;
}

body.faboo-host-admin-faboo-nl .faboo-top-menu {
  display: flex;
  flex-wrap: nowrap;
  grid-column: 2;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
}

body.faboo-host-admin-faboo-nl .faboo-top-menu a,
body.faboo-host-admin-faboo-nl .faboo-nav-more {
  flex: 0 0 auto;
}

body.faboo-host-admin-faboo-nl .faboo-nav-more-wrap {
  align-self: center;
  flex: 0 0 auto;
}

body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search {
  align-self: center;
  flex: none !important;
  grid-column: 3;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  width: auto !important;
}

body.faboo-host-admin-faboo-nl .faboo-header-search-button {
  flex: 0 0 auto;
  height: 38px;
}

body.faboo-host-admin-faboo-nl .faboo-header-menu {
  align-self: center;
  display: flex;
  flex-wrap: nowrap;
  grid-column: 4;
  margin: 0 !important;
  min-width: max-content;
  width: auto !important;
}

@media (max-width: 1240px) {
  body.faboo-host-admin-faboo-nl .faboo-top-menu a span,
  body.faboo-host-admin-faboo-nl .faboo-nav-more span {
    display: none;
  }

  body.faboo-host-admin-faboo-nl .faboo-top-menu a,
  body.faboo-host-admin-faboo-nl .faboo-nav-more {
    padding: 0 5px;
  }
}

@media (max-width: 760px) {
  body.faboo-host-admin-faboo-nl .topbar.stick {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  body.faboo-host-admin-faboo-nl .faboo-header-search-button {
    padding: 0;
    width: 38px;
  }

  body.faboo-host-admin-faboo-nl .faboo-header-search-button span {
    display: none;
  }
}

@media (max-width: 980px) {
  .faboo-invite-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .faboo-public-topbar {
    padding: 10px 18px;
  }

  .faboo-public-nav {
    width: 100%;
  }

  .faboo-growth-hero {
    min-height: 560px;
  }

  .faboo-invite-link-box {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .faboo-invite-link-box .main-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

/* Static asset rollout polish: keep admin KPI blocks and header controls tidy. */
.faboo-admin-kpis article {
  min-width: 0;
  overflow: hidden;
}

.faboo-admin-kpis article strong,
.faboo-admin-kpis article small {
  overflow-wrap: anywhere;
}

.faboo-admin-pro-top .main-btn,
.faboo-admin-inline-form .main-btn {
  white-space: nowrap;
}

body.faboo-host-admin-faboo-nl .faboo-top-menu {
  scrollbar-width: none;
}

body.faboo-host-admin-faboo-nl .faboo-top-menu::-webkit-scrollbar {
  display: none;
}

/* Header refresh: calmer app navigation, grouped more menu and compact mobile topbar. */
.theme-layout header .topbar a.logo {
  gap: 9px;
}

.faboo-logo-copy {
  display: grid;
  gap: 0;
  line-height: 1.05;
  min-width: 0;
}

.faboo-logo-copy strong {
  color: var(--faboo-text);
  font-size: 18px;
  font-weight: 950;
}

.faboo-logo-copy small {
  color: var(--faboo-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.faboo-nav-more-dropdown {
  max-height: min(72vh, 620px);
  overflow: auto;
  padding: 10px;
  width: 260px;
}

.faboo-nav-more-section + .faboo-nav-more-section {
  border-top: 1px solid var(--faboo-border);
  margin-top: 8px;
  padding-top: 8px;
}

.faboo-nav-more-section > strong {
  color: var(--faboo-muted);
  display: block;
  font-size: 11px;
  font-weight: 950;
  padding: 4px 8px 6px;
  text-transform: uppercase;
}

.topbar .searches.faboo-header-search {
  flex: 0 1 clamp(230px, 28vw, 380px) !important;
  max-width: 380px !important;
  min-width: 220px !important;
  width: auto !important;
  z-index: 30;
}

.topbar .searches.faboo-header-search .faboo-header-search-form {
  align-items: center;
  background: #fff;
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(31, 45, 65, .06);
  display: grid;
  gap: 8px;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  min-height: 42px;
  padding: 4px 5px 4px 14px;
  position: relative;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.topbar .searches.faboo-header-search .faboo-header-search-form:focus-within {
  border-color: rgba(8, 141, 205, .55);
  box-shadow: 0 14px 34px rgba(8, 141, 205, .14);
}

.topbar .searches.faboo-header-search .faboo-header-search-icon {
  color: var(--faboo-muted);
  font-size: 18px;
}

.topbar .searches.faboo-header-search input[type="search"] {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--faboo-text);
  font-size: 13px;
  height: 32px;
  min-height: 32px;
  min-width: 0;
  padding: 0;
  width: 100%;
}

.topbar .searches.faboo-header-search input[type="search"]:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.topbar .searches.faboo-header-search button[type="submit"] {
  align-items: center;
  background: var(--faboo-primary);
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  gap: 6px;
  height: 32px;
  justify-content: center;
  padding: 0 12px;
  position: static;
  transform: none;
  transition: background .18s ease, transform .18s ease;
  width: auto;
}

.topbar .searches.faboo-header-search button[type="submit"]:hover,
.topbar .searches.faboo-header-search button[type="submit"]:focus-visible {
  background: var(--faboo-primary-dark);
  transform: translateY(-1px);
}

.faboo-header-menu {
  gap: 7px;
}

.faboo-user-dropdown .faboo-user-menu-section {
  border-top: 1px solid var(--faboo-border);
  color: var(--faboo-muted);
  display: block;
  font-size: 11px;
  font-weight: 950;
  margin-top: 7px;
  padding: 10px 10px 4px;
  text-transform: uppercase;
}

.faboo-user-menu-form {
  margin: 0;
}

.faboo-user-menu-form button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--faboo-text);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
  justify-content: flex-start;
  line-height: 1.2;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.faboo-user-menu-form button:hover,
.faboo-user-menu-form button:focus-visible {
  background: var(--faboo-soft);
  color: var(--faboo-primary);
}

body.faboo-theme-dark .topbar .searches.faboo-header-search .faboo-header-search-form {
  background: #182235;
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

body.faboo-theme-dark .topbar .searches.faboo-header-search input[type="search"] {
  color: #f8fafc;
}

body.faboo-theme-dark .faboo-user-menu-form button {
  color: #f8fafc;
}

@media (max-width: 1280px) {
  .topbar .searches.faboo-header-search {
    flex-basis: 270px !important;
    min-width: 190px !important;
  }
}

@media (max-width: 1100px) {
  .faboo-logo-copy small {
    display: none;
  }

  .topbar .searches.faboo-header-search {
    flex-basis: 220px !important;
    min-width: 160px !important;
  }
}

@media (max-width: 767px) {
  .topbar.stick {
    gap: 7px;
  }

  .faboo-top-menu {
    display: none !important;
  }

  .faboo-logo-copy {
    display: none;
  }

  .topbar .searches.faboo-header-search {
    flex: 0 0 38px !important;
    max-width: 38px !important;
    min-width: 38px !important;
    order: initial;
  }

  .topbar .searches.faboo-header-search .faboo-header-search-form {
    display: flex;
    height: 38px;
    justify-content: center;
    min-height: 38px;
    padding: 0;
    width: 38px;
  }

  .topbar .searches.faboo-header-search .faboo-header-search-icon,
  .topbar .searches.faboo-header-search input[type="search"],
  .topbar .searches.faboo-header-search button[type="submit"] span {
    display: none;
  }

  .topbar .searches.faboo-header-search button[type="submit"] {
    background: var(--faboo-soft);
    color: var(--faboo-primary);
    display: inline-flex;
    height: 38px;
    padding: 0;
    width: 38px;
  }

  .topbar .searches.faboo-header-search button[type="submit"]:hover,
  .topbar .searches.faboo-header-search button[type="submit"]:focus-visible {
    background: var(--faboo-primary);
    color: #fff;
    transform: none;
  }

  .faboo-header-menu {
    gap: 5px;
  }

  .faboo-user-dropdown,
  .faboo-notification-dropdown,
  #faboo-menu-messages {
    right: 0;
    width: min(320px, calc(100vw - 18px));
  }
}

@media (max-width: 560px) {
  .faboo-admin-pro-top {
    align-items: stretch;
    gap: 14px;
  }

  .faboo-admin-inline-form .main-btn {
    justify-content: center;
    width: 100%;
  }
}

/* Admin command header: prioritize daily work and keep secondary tools tucked away. */
body.faboo-host-admin-faboo-nl .topbar.stick {
  border-bottom: 1px solid rgba(226, 232, 240, .86);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
  grid-template-columns: auto minmax(0, 1fr) minmax(170px, 320px) max-content;
  min-height: 62px;
}

body.faboo-host-admin-faboo-nl .faboo-logo-copy small {
  color: #e84d75;
}

body.faboo-host-admin-faboo-nl .faboo-top-menu {
  align-items: center;
  gap: 6px;
  overflow: visible;
}

body.faboo-host-admin-faboo-nl .faboo-top-menu a,
body.faboo-host-admin-faboo-nl .faboo-nav-more {
  border: 1px solid transparent;
  border-radius: 9px;
  color: #475569;
  height: 38px;
  padding: 0 10px;
}

body.faboo-host-admin-faboo-nl .faboo-top-menu a i,
body.faboo-host-admin-faboo-nl .faboo-nav-more i {
  background: rgba(15, 23, 42, .06);
  border-radius: 9px;
  color: #475569;
  display: inline-flex;
  height: 26px;
  width: 26px;
}

body.faboo-host-admin-faboo-nl .faboo-top-menu a:hover,
body.faboo-host-admin-faboo-nl .faboo-nav-more:hover,
body.faboo-host-admin-faboo-nl .faboo-top-menu a.active,
body.faboo-host-admin-faboo-nl .faboo-nav-more.active {
  background: rgba(232, 77, 117, .09);
  border-color: rgba(232, 77, 117, .22);
  color: #c8325e;
}

body.faboo-host-admin-faboo-nl .faboo-top-menu a:hover i,
body.faboo-host-admin-faboo-nl .faboo-nav-more:hover i,
body.faboo-host-admin-faboo-nl .faboo-top-menu a.active i,
body.faboo-host-admin-faboo-nl .faboo-nav-more.active i {
  background: #e84d75;
  color: #fff;
}

body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search {
  flex-basis: auto !important;
  justify-self: end;
  max-width: 320px !important;
  min-width: 0 !important;
  position: relative;
  width: 100% !important;
  z-index: 20;
}

body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search .faboo-header-search-form {
  box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
  min-height: 38px;
  width: 100%;
}

body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search button[type="submit"] {
  background: #111827;
  height: 30px;
  padding: 0;
  width: 34px;
}

body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search button[type="submit"] span {
  display: none;
}

body.faboo-host-admin-faboo-nl .faboo-header-menu {
  position: relative;
  z-index: 50;
}

body.faboo-host-admin-faboo-nl .faboo-user-btn span {
  max-width: 118px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search button[type="submit"]:hover,
body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search button[type="submit"]:focus-visible {
  background: #e84d75;
}

body.faboo-theme-dark.faboo-host-admin-faboo-nl .topbar.stick {
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .26);
}

body.faboo-theme-dark.faboo-host-admin-faboo-nl .faboo-top-menu a,
body.faboo-theme-dark.faboo-host-admin-faboo-nl .faboo-nav-more {
  color: #cbd5e1;
}

body.faboo-theme-dark.faboo-host-admin-faboo-nl .faboo-top-menu a i,
body.faboo-theme-dark.faboo-host-admin-faboo-nl .faboo-nav-more i {
  background: rgba(255, 255, 255, .08);
  color: #cbd5e1;
}

@media (max-width: 1360px) {
  body.faboo-host-admin-faboo-nl .faboo-top-menu a span,
  body.faboo-host-admin-faboo-nl .faboo-nav-more span {
    display: none;
  }

  body.faboo-host-admin-faboo-nl .faboo-top-menu a,
  body.faboo-host-admin-faboo-nl .faboo-nav-more {
    padding: 0 7px;
  }
}

@media (max-width: 1080px) {
  body.faboo-host-admin-faboo-nl .topbar.stick {
    grid-template-columns: auto minmax(0, 1fr) 38px max-content;
  }

  body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search {
    max-width: 38px !important;
    min-width: 38px !important;
    width: 38px !important;
  }

  body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search .faboo-header-search-form {
    display: flex;
    height: 38px;
    justify-content: center;
    min-height: 38px;
    padding: 0;
    width: 38px;
  }

  body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search .faboo-header-search-icon,
  body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search input[type="search"] {
    display: none;
  }

  body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search button[type="submit"] {
    height: 38px;
    width: 38px;
  }
}

@media (max-width: 767px) {
  body.faboo-host-admin-faboo-nl .topbar.stick {
    min-height: 58px;
  }

  body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search {
    flex-basis: 38px !important;
    max-width: 38px !important;
    min-width: 38px !important;
  }

  body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search .faboo-header-search-form {
    min-height: 38px;
  }

  body.faboo-host-admin-faboo-nl .topbar .searches.faboo-header-search button[type="submit"] {
    background: var(--faboo-soft);
    height: 38px;
  }
}
/* Faboo polish: relationship, empty states and compact mobile controls. */
.faboo-relationship-card {
  min-height: 76px;
}

.faboo-relationship-card.is-pending {
  border-style: dashed;
  background: linear-gradient(135deg, rgba(8, 141, 205, .08), rgba(32, 163, 107, .06)), var(--faboo-soft);
}

.faboo-relationship-card strong a,
.faboo-profile-status-row a,
.faboo-info-list a {
  text-decoration: none;
}

.faboo-relationship-card strong a:hover,
.faboo-profile-status-row a:hover,
.faboo-info-list a:hover {
  text-decoration: underline;
}

.faboo-relationship-request-btn {
  background: linear-gradient(135deg, #e84d75, #088dcd) !important;
  border: 0 !important;
}

.faboo-cover-actions form {
  margin: 0 6px 8px 0;
  vertical-align: top;
}

.faboo-cover-actions .main-btn,
.faboo-cover-actions .button,
.faboo-profile-quickbar .main-btn,
.faboo-card-actions .main-btn,
.faboo-card-actions .button {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-content: center;
  min-height: 38px;
  white-space: normal;
}

.faboo-empty,
.faboo-empty-state {
  border: 1px dashed rgba(8, 141, 205, .22);
  color: var(--faboo-muted);
  line-height: 1.55;
}

.faboo-profile-status-row span {
  max-width: 100%;
}

.faboo-profile-status-row span,
.faboo-profile-status-row a {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .faboo-cover-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .faboo-cover-actions form,
  .faboo-cover-actions .main-btn,
  .faboo-cover-actions .button {
    margin: 0;
    width: 100%;
  }

  .faboo-profile-status-row,
  .faboo-profile-quickbar {
    align-items: stretch;
  }

  .faboo-profile-status-row span,
  .faboo-profile-quickbar .main-btn {
    justify-content: center;
    width: 100%;
  }

  .faboo-relationship-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .faboo-relationship-card > form,
  .faboo-relationship-actions {
    grid-column: 1 / -1;
  }
}

/* Faboo professional finish pass: layout rhythm, empty states, media, mobile and admin polish. */
:root {
  --faboo-line: rgba(17, 24, 39, .08);
  --faboo-shadow-lg: 0 24px 58px rgba(15, 23, 42, .12);
  --faboo-control-height: 42px;
  --faboo-ease: cubic-bezier(.2, .72, .25, 1);
}

body.faboo-theme-dark {
  --faboo-line: rgba(255, 255, 255, .10);
  --faboo-shadow-lg: 0 24px 58px rgba(0, 0, 0, .34);
}

.faboo-page :where(h1, h2, h3, h4, h5, h6, .new-title) {
  letter-spacing: 0;
}

.faboo-page :where(p, li, small) {
  line-height: 1.55;
}

.faboo-page :where(img, video) {
  max-width: 100%;
}

.faboo-page :where(.main-wraper, .faboo-card, aside .widget, .faboo-admin-panel, .faboo-connect-card) {
  background-clip: padding-box;
}

.faboo-page :where(.main-btn, .button, button, input, select, textarea) {
  transition: background-color .16s var(--faboo-ease), border-color .16s var(--faboo-ease), color .16s var(--faboo-ease), box-shadow .16s var(--faboo-ease), transform .16s var(--faboo-ease);
}

.faboo-page :where(.main-btn, .button, button[type="submit"], button[type="button"]) {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-content: center;
  line-height: 1.2;
  min-height: var(--faboo-control-height);
  text-align: center;
}

.faboo-page :where(input, select, textarea) {
  border: 1px solid var(--faboo-border);
  color: var(--faboo-text);
  min-height: var(--faboo-control-height);
}

.faboo-page :where(textarea) {
  line-height: 1.55;
  resize: vertical;
}

.faboo-page :where(.main-wraper, .faboo-card, aside .widget, .faboo-admin-panel, .faboo-connect-card):hover {
  border-color: rgba(8, 141, 205, .18) !important;
}

@supports (content-visibility: auto) {
  [data-faboo-feed-list] .faboo-post:nth-of-type(n+5),
  .faboo-admin-pro-grid.lower {
    content-visibility: auto;
    contain-intrinsic-size: 1px 560px;
  }
}

@media (min-width: 1180px) {
  .faboo-feed-shell {
    align-items: start;
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(220px, 270px) !important;
  }
}

.faboo-feed-shell > section,
.faboo-feed-shell > aside,
.faboo-connect-v2-layout > *,
.faboo-admin-pro-main,
.faboo-admin-panel {
  min-width: 0;
}

.faboo-profile-widget-cover {
  aspect-ratio: 5 / 2;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.faboo-profile-widget-avatar,
.faboo-discover-person img,
.faboo-composer-head img,
.faboo-post .friend-info figure img,
.faboo-comment-row img,
.faboo-quick-comment img {
  background: var(--faboo-surface-2);
  border: 2px solid var(--faboo-card);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.faboo-feed-welcome {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px !important;
}

.faboo-feed-welcome > div:first-child > span {
  color: var(--faboo-primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-feed-welcome h3 {
  color: var(--faboo-heading);
  margin: 4px 0 6px;
}

.faboo-feed-welcome p {
  color: var(--faboo-muted);
  margin: 0;
}

.faboo-feed-live-pill {
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 24px rgba(32, 163, 107, .10);
}

.faboo-feed-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px !important;
  scrollbar-width: thin;
}

.faboo-feed-filters .button {
  background: var(--faboo-surface-2);
  border: 1px solid var(--faboo-border) !important;
  color: var(--faboo-text);
  flex: 0 0 auto;
  min-width: max-content;
}

.faboo-feed-filters .button.active {
  background: #111827 !important;
  border-color: #111827 !important;
  color: #fff !important;
}

.faboo-composer {
  scroll-margin-top: 88px;
}

.faboo-composer-head {
  align-items: center;
  border-bottom: 1px solid var(--faboo-line);
  padding-bottom: 12px;
}

.faboo-composer textarea {
  background: var(--faboo-surface-2);
  border: 1px solid var(--faboo-border);
  min-height: 112px;
  padding: 14px;
  width: 100%;
}

.faboo-compose-tools {
  align-items: stretch;
  background: var(--faboo-surface-2);
  display: flex;
  flex-wrap: wrap;
}

.faboo-compose-tools label,
.faboo-compose-tools button,
.faboo-compose-tools select,
.faboo-compose-tools input[type="text"] {
  flex: 1 1 142px;
  justify-content: center;
  min-width: 0;
  white-space: normal;
}

.faboo-compose-tools input[type="text"] {
  width: auto;
}

.faboo-image-preview {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--faboo-border);
  background: var(--faboo-surface-2);
}

.faboo-feed-empty {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  margin-top: 0;
  padding: 18px;
}

.faboo-feed-empty > i,
.faboo-empty-state > i,
.faboo-profile-empty > i {
  align-items: center;
  background: rgba(8, 141, 205, .10);
  border-radius: var(--faboo-radius);
  color: var(--faboo-primary);
  display: inline-flex;
  font-size: 22px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.faboo-feed-empty span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.faboo-feed-empty strong {
  color: var(--faboo-heading);
}

.faboo-feed-empty small {
  color: var(--faboo-muted);
}

.faboo-post {
  border-color: var(--faboo-line) !important;
}

.faboo-post .friend-info {
  align-items: center;
  gap: 12px;
}

.faboo-post .friend-info figure {
  flex: 0 0 48px;
  height: 48px;
  overflow: hidden;
  width: 48px;
}

.faboo-post .friend-name {
  min-width: 0;
}

.faboo-post .friend-name span,
.faboo-post .friend-name a,
.faboo-user-content {
  overflow-wrap: anywhere;
}

.faboo-feed-reason,
.faboo-post-activity,
.faboo-post-checkin,
.faboo-reaction-summary span {
  border-radius: var(--faboo-radius-sm);
}

.faboo-post-img,
.faboo-post-video {
  aspect-ratio: 16 / 9;
  background: var(--faboo-surface-2);
  border: 1px solid var(--faboo-border);
  display: block;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}

.faboo-post-body .faboo-user-content {
  color: var(--faboo-text);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 12px;
}

.faboo-post-info {
  border-bottom: 1px solid var(--faboo-line);
  border-top: 1px solid var(--faboo-line);
  margin-top: 14px;
  padding: 8px 0;
}

.faboo-post-info ul {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

.faboo-actions {
  border-bottom: 1px solid var(--faboo-line);
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  padding: 12px 0;
}

.faboo-actions > *,
.faboo-actions form,
.faboo-actions .faboo-reaction-picker,
.faboo-actions .faboo-share-picker {
  min-width: 0;
}

.faboo-actions .button,
.faboo-actions .main-btn {
  width: 100%;
}

.faboo-quick-comment {
  align-items: center;
  background: var(--faboo-surface-2);
  border: 1px solid var(--faboo-border);
  display: grid;
  gap: 9px;
  grid-template-columns: 36px minmax(0, 1fr) 42px;
  padding: 9px;
}

.faboo-quick-comment input {
  background: var(--faboo-card);
  width: 100%;
}

.faboo-profile-cover {
  min-height: clamp(220px, 28vw, 330px);
}

.faboo-profile-main,
.faboo-profile-quickbar,
.faboo-profile-tabs,
.faboo-profile-insight-row {
  gap: 12px;
}

.faboo-profile-quickbar,
.faboo-profile-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.faboo-profile-quickbar .main-btn,
.faboo-profile-tabs a,
.faboo-profile-insight {
  min-width: 0;
}

.faboo-profile-tabs a {
  flex: 1 1 132px;
  justify-content: center;
  text-align: center;
}

.faboo-profile-insight {
  align-items: center;
  min-height: 92px;
}

.faboo-profile-empty {
  align-items: center;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.faboo-connect-v2-hero {
  align-items: stretch;
  gap: 18px;
}

.faboo-connect-v2-hero-copy {
  min-width: 0;
}

.faboo-connect-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.faboo-connect-trust-strip span {
  align-items: center;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--faboo-border);
  color: var(--faboo-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
}

.faboo-connect-trust-strip i {
  color: var(--faboo-primary);
}

.faboo-connect-v2-stats {
  align-content: stretch;
  display: grid;
}

.faboo-connect-v2-stats a {
  min-height: 92px;
}

.faboo-connect-v2-tabs {
  overflow-x: auto;
  scrollbar-width: thin;
}

.faboo-connect-v2-tabs a,
.faboo-connect-chip {
  white-space: normal;
}

.faboo-connect-card {
  border-color: var(--faboo-line) !important;
}

.faboo-connect-photo {
  aspect-ratio: 4 / 5;
  height: auto !important;
  min-height: 260px;
}

.faboo-connect-body h3,
.faboo-connect-body p,
.faboo-connect-body small {
  overflow-wrap: anywhere;
}

.faboo-connect-actions {
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.faboo-connect-actions form,
.faboo-connect-actions a,
.faboo-connect-actions button {
  min-width: 0;
  width: 100%;
}

.faboo-admin-top-side {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  min-width: 0;
}

.faboo-admin-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.faboo-admin-quick-actions a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--faboo-border);
  color: var(--faboo-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  min-height: 38px;
  padding: 0 10px;
  text-decoration: none;
}

.faboo-admin-quick-actions a:hover {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.faboo-admin-profile {
  flex: 0 1 auto;
  min-width: min(220px, 100%);
}

.faboo-admin-kpis article {
  min-height: 150px;
}

.faboo-admin-feature-grid a,
.faboo-ai-admin-grid article,
.faboo-admin-table-row,
.faboo-admin-list-pro a,
.faboo-admin-report,
.faboo-admin-mini-stats span {
  border: 1px solid var(--faboo-line);
}

.faboo-admin-table-row form {
  align-items: center;
}

.faboo-admin-table-row input {
  flex: 1 1 180px;
  min-width: 0;
}

.faboo-site-footer {
  background: var(--faboo-card);
}

.faboo-site-footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.faboo-footer-brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: 0;
}

.faboo-footer-brand img {
  flex: 0 0 40px;
  height: 40px;
  width: 40px;
}

.faboo-site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.faboo-site-footer nav a {
  background: var(--faboo-surface-2);
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 800;
  min-height: 34px;
  padding: 8px 10px;
}

.faboo-site-footer nav a:hover {
  background: rgba(8, 141, 205, .10);
  color: var(--faboo-primary);
}

body.faboo-theme-dark .faboo-feed-live-pill,
body.faboo-theme-dark .faboo-connect-trust-strip span,
body.faboo-theme-dark .faboo-admin-quick-actions a,
body.faboo-theme-dark .faboo-quick-comment,
body.faboo-theme-dark .faboo-composer textarea,
body.faboo-theme-dark .faboo-site-footer nav a {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .10);
}

body.faboo-theme-dark .faboo-feed-filters .button.active,
body.faboo-theme-dark .faboo-admin-quick-actions a:hover {
  background: #e84d75 !important;
  border-color: #e84d75 !important;
}

@media (max-width: 1120px) {
  .faboo-admin-pro-top {
    align-items: stretch;
    flex-direction: column;
  }

  .faboo-admin-top-side,
  .faboo-admin-quick-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
  .faboo-feed-shell {
    grid-template-columns: 1fr !important;
  }

  .faboo-feed-shell > section {
    order: -1;
  }

  .faboo-feed-shell > aside {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .faboo-feed-shell > aside .widget + .widget {
    margin-top: 0;
  }

  .faboo-connect-v2-layout {
    grid-template-columns: 1fr !important;
  }

  .faboo-connect-v2-filter {
    order: -1;
  }
}

@media (max-width: 760px) {
  .faboo-feed-welcome,
  .faboo-feed-empty,
  .faboo-profile-empty {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .faboo-feed-live-pill {
    justify-self: start;
  }

  .faboo-feed-empty .main-btn,
  .faboo-profile-empty .main-btn {
    width: 100%;
  }

  .faboo-connect-v2-hero {
    padding: 18px !important;
  }

  .faboo-connect-v2-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .faboo-admin-top-side,
  .faboo-admin-profile,
  .faboo-admin-quick-actions {
    width: 100%;
  }

  .faboo-admin-quick-actions a {
    flex: 1 1 132px;
    justify-content: center;
  }

  .faboo-site-footer-inner,
  .faboo-site-footer nav {
    align-items: stretch;
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .faboo-page .gap {
    padding-left: 0;
    padding-right: 0;
  }

  .faboo-feed-filters {
    margin-left: -2px;
    margin-right: -2px;
  }

  .faboo-compose-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .faboo-actions,
  .faboo-connect-actions {
    grid-template-columns: 1fr;
  }

  .faboo-quick-comment {
    grid-template-columns: 34px minmax(0, 1fr) 40px;
  }

  .faboo-connect-v2-stats {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .faboo-admin-webmail-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Faboo visual polish release 2: public previews, mobile consent, profile/feed/connect refinement. */
.faboo-growth-hero {
  align-items: center;
  display: flex;
  min-height: clamp(560px, 72svh, 760px);
  overflow: hidden;
}

.faboo-growth-hero-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
}

.faboo-growth-hero-copy {
  min-width: 0;
}

.faboo-growth-hero-copy h1,
.faboo-growth-hero h1 {
  max-width: 760px;
  text-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

.faboo-public-preview-card {
  justify-self: end;
  max-width: 470px;
  width: 100%;
}

.faboo-public-preview-connect .faboo-preview-score {
  color: var(--faboo-coral);
}

.faboo-public-preview-forum .faboo-preview-score {
  color: var(--faboo-gold);
}

.faboo-public-preview-safety .faboo-preview-score {
  color: var(--faboo-teal);
}

.faboo-public-preview-card .faboo-preview-members {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .06), rgba(24, 169, 153, .06)),
    #fff;
}

.faboo-cookie-footer {
  overscroll-behavior: contain;
}

.faboo-cookie-settings label {
  transition: border-color .16s var(--faboo-pop-ease), box-shadow .16s var(--faboo-pop-ease), transform .16s var(--faboo-pop-ease);
}

.faboo-cookie-settings label:hover {
  border-color: rgba(8, 141, 205, .24);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.faboo-post,
.faboo-composer,
.faboo-profile-card,
.faboo-connect-card {
  isolation: isolate;
}

.faboo-post {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(250, 253, 255, .98)) !important;
}

.faboo-post .friend-info {
  background: linear-gradient(180deg, rgba(248, 251, 254, .84), rgba(255, 255, 255, .46));
  margin: -18px -18px 0;
  padding: 14px 18px;
}

.faboo-post .post-meta {
  padding-top: 12px;
}

.faboo-feed-reason {
  background: rgba(244, 183, 64, .13) !important;
  border: 1px solid rgba(244, 183, 64, .28);
  color: #7a5200 !important;
  width: fit-content;
}

.faboo-composer-head .new-title {
  color: var(--faboo-heading);
  font-weight: 900;
}

.faboo-compose-tools label,
.faboo-compose-tools button,
.faboo-compose-tools select,
.faboo-compose-tools input[type="text"] {
  border-radius: 8px !important;
}

.faboo-profile-card {
  border: 0 !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .12) !important;
}

.faboo-profile-cover {
  min-height: clamp(260px, 34vw, 390px);
  filter: saturate(1.05) contrast(1.03);
}

.faboo-profile-cover:after {
  background:
    linear-gradient(180deg, rgba(10, 18, 31, .02) 20%, rgba(10, 18, 31, .78)),
    linear-gradient(90deg, rgba(8, 141, 205, .18), rgba(24, 169, 153, .10));
}

.faboo-profile-main {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 8px;
  margin: -94px 18px 18px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.faboo-profile-avatar {
  border-radius: 8px;
  height: 148px;
  width: 148px;
}

.faboo-profile-title h2 {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.15;
}

.faboo-profile-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.faboo-profile-status-row span {
  background: var(--faboo-surface-2);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-muted);
  display: inline-flex;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
}

.faboo-profile-quickbar,
.faboo-profile-tabs {
  background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: blur(12px);
}

.faboo-profile-quickbar .main-btn,
.faboo-profile-tabs a,
.faboo-tabs .main-btn {
  background: var(--faboo-surface-2) !important;
  border: 1px solid var(--faboo-border) !important;
  color: var(--faboo-text) !important;
}

.faboo-profile-quickbar .main-btn:hover,
.faboo-profile-tabs a:hover,
.faboo-tabs .main-btn.active,
.faboo-tabs .main-btn:hover {
  background: linear-gradient(135deg, var(--faboo-primary), var(--faboo-teal)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.faboo-photo-grid a {
  border-radius: 8px;
  overflow: hidden;
}

.faboo-photo-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .2s var(--faboo-pop-ease);
}

.faboo-photo-grid a:hover img {
  transform: scale(1.04);
}

.faboo-connect-card {
  background: #fff !important;
  border: 1px solid rgba(226, 232, 240, .95) !important;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .10);
}

.faboo-connect-photo {
  min-height: 340px;
  overflow: hidden;
}

.faboo-connect-photo:after {
  background:
    linear-gradient(180deg, rgba(10, 18, 31, 0) 35%, rgba(10, 18, 31, .78)),
    linear-gradient(90deg, rgba(8, 141, 205, .18), rgba(239, 98, 98, .10));
  content: "";
  inset: 0;
  position: absolute;
}

.faboo-connect-photo span,
.faboo-verified-badge {
  z-index: 1;
}

.faboo-connect-photo span {
  background: rgba(255, 255, 255, .92);
  color: #152033;
}

.faboo-connect-body h3 {
  font-size: 21px;
  line-height: 1.2;
}

.faboo-connect-body h3 a {
  color: var(--faboo-heading);
}

.faboo-match-score {
  background: #edf5fb;
  border-radius: 999px;
  height: 36px;
  margin: 12px 0;
  overflow: hidden;
}

.faboo-match-score span {
  background: linear-gradient(90deg, var(--faboo-coral), var(--faboo-gold), var(--faboo-teal));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.faboo-match-score strong {
  align-items: center;
  color: #132033;
  display: flex;
  font-size: 12px;
  inset: 0;
  justify-content: center;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

.faboo-connect-compat,
.faboo-connect-details,
.faboo-connect-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.faboo-connect-details span,
.faboo-connect-compat span,
.faboo-connect-tags span {
  background: var(--faboo-surface-2);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  min-height: 32px;
  padding: 6px 9px;
}

.faboo-connect-safety-meter {
  background: rgba(24, 169, 153, .07);
  border: 1px solid rgba(24, 169, 153, .16);
  border-radius: 8px;
  padding: 8px;
}

.faboo-connect-actions {
  background: #f8fbfe;
  border-top: 1px solid var(--faboo-border);
  padding: 12px 14px;
}

.faboo-swipe-btn {
  border-radius: 8px;
  height: 46px;
}

.faboo-swipe-btn:hover {
  transform: translateY(-2px);
}

body.faboo-theme-dark .faboo-post,
body.faboo-theme-dark .faboo-profile-main,
body.faboo-theme-dark .faboo-profile-quickbar,
body.faboo-theme-dark .faboo-profile-tabs,
body.faboo-theme-dark .faboo-connect-card {
  background: var(--faboo-card) !important;
}

body.faboo-theme-dark .faboo-post .friend-info,
body.faboo-theme-dark .faboo-connect-actions {
  background: rgba(255, 255, 255, .04);
}

@media (max-width: 980px) {
  .faboo-growth-hero-grid {
    grid-template-columns: 1fr;
  }

  .faboo-public-preview-card {
    justify-self: start;
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .faboo-growth-hero {
    min-height: auto;
    padding: 72px 0 42px;
  }

  .faboo-public-preview-card {
    display: none;
  }

  .faboo-cookie-footer .container {
    grid-template-columns: 1fr;
  }

  .faboo-cookie-info h2 {
    font-size: 17px;
  }

  .faboo-cookie-settings {
    gap: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faboo-cookie-settings label {
    min-height: 42px;
  }

  .faboo-cookie-settings strong {
    font-size: 11px;
  }

  .faboo-cookie-actions {
    grid-template-columns: 1fr 1fr;
  }

  .faboo-cookie-actions .main-btn {
    grid-column: 1 / -1;
    order: -1;
  }

  .faboo-profile-main {
    grid-template-columns: 1fr;
    margin: -72px 10px 14px;
    text-align: left;
  }

  .faboo-profile-avatar {
    height: 118px;
    width: 118px;
  }

  .faboo-cover-actions {
    display: grid;
    gap: 8px;
    width: 100%;
  }

  .faboo-cover-actions form,
  .faboo-cover-actions button,
  .faboo-cover-actions a {
    width: 100%;
  }

  .faboo-post .friend-info {
    margin: -14px -14px 0;
    padding: 12px 14px;
  }

  .faboo-connect-photo {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .faboo-cookie-actions {
    grid-template-columns: 1fr;
  }
}

/* Faboo visual identity refresh: stronger landing, compact consent, app polish. */
:root {
  --faboo-teal: #18a999;
  --faboo-coral: #ef6262;
  --faboo-gold: #f4b740;
  --faboo-indigo: #3447b7;
  --faboo-hero-ink: #101827;
  --faboo-visual-shadow: 0 24px 60px rgba(13, 30, 48, .16);
  --faboo-pop-ease: cubic-bezier(.2, .75, .22, 1);
}

.faboo-public-page {
  background:
    linear-gradient(180deg, #f7fbff 0, #fff 38%, #f6f9fc 100%);
}

.faboo-public-topbar {
  min-height: 66px;
  padding: 0 24px;
}

.faboo-public-topbar .logo img {
  filter: drop-shadow(0 8px 14px rgba(8, 141, 205, .16));
}

.faboo-public-nav {
  gap: 6px;
}

.faboo-public-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.faboo-coming-hero {
  min-height: calc(100svh - 66px);
  padding: 104px 0 72px;
  background-image:
    linear-gradient(102deg, rgba(7, 15, 29, .94) 0%, rgba(9, 38, 54, .82) 42%, rgba(15, 23, 42, .58) 100%),
    url("../images/faboo/home-hero.jpg");
  overflow: hidden;
}

.faboo-coming-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
  gap: 56px;
}

.faboo-coming-hero h1 {
  max-width: 780px;
  font-size: 56px;
  line-height: 1.02;
}

.faboo-coming-hero p {
  max-width: 690px;
}

.faboo-coming-label {
  border-radius: 8px;
  background: rgba(24, 169, 153, .18);
  border-color: rgba(24, 169, 153, .34);
}

.faboo-coming-meta span {
  border-radius: 8px;
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(12px);
}

.faboo-hero-people {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.faboo-hero-people > span {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 900;
}

.faboo-hero-people > div {
  display: flex;
}

.faboo-hero-people img,
.faboo-preview-members img {
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 999px;
  height: 42px;
  margin-left: -10px;
  object-fit: cover;
  width: 42px;
}

.faboo-hero-people img:first-child,
.faboo-preview-members img:first-child {
  margin-left: 0;
}

.faboo-home-product-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 251, 255, .94));
  border: 1px solid rgba(255, 255, 255, .48);
  box-shadow: var(--faboo-visual-shadow);
  display: grid;
  gap: 14px;
  padding: 18px;
  position: relative;
}

.faboo-preview-top {
  align-items: center;
  color: #526070;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 900;
}

.faboo-preview-top span {
  display: inline-flex;
  gap: 6px;
}

.faboo-preview-top i {
  background: #dbe6ef;
  border-radius: 999px;
  display: block;
  height: 9px;
  width: 9px;
}

.faboo-preview-top i:nth-child(1) {
  background: var(--faboo-coral);
}

.faboo-preview-top i:nth-child(2) {
  background: var(--faboo-gold);
}

.faboo-preview-top i:nth-child(3) {
  background: var(--faboo-teal);
}

.faboo-preview-feed-card,
.faboo-preview-grid article,
.faboo-preview-members {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.faboo-preview-feed-card {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  padding: 12px;
}

.faboo-preview-feed-card img {
  border-radius: 999px;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.faboo-preview-feed-card strong,
.faboo-preview-grid strong {
  color: #172033;
  display: block;
  font-size: 14px;
}

.faboo-preview-feed-card p,
.faboo-preview-grid p,
.faboo-preview-grid small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  margin: 3px 0 0;
}

.faboo-preview-feed-card em {
  background: rgba(239, 98, 98, .10);
  border-radius: 999px;
  color: var(--faboo-coral);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  padding: 6px 9px;
  white-space: nowrap;
}

.faboo-preview-media {
  aspect-ratio: 16 / 7;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.faboo-preview-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.faboo-preview-media span {
  align-items: center;
  background: rgba(16, 24, 39, .72);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  bottom: 10px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  left: 10px;
  padding: 7px 9px;
  position: absolute;
}

.faboo-preview-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: .9fr 1.1fr;
}

.faboo-preview-grid article {
  padding: 14px;
}

.faboo-preview-score {
  color: var(--faboo-teal);
  display: block;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.faboo-preview-chat p {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 8px 9px;
}

.faboo-preview-chat p:last-child {
  background: rgba(8, 141, 205, .10);
  color: #0f5d82;
}

.faboo-preview-members {
  align-items: center;
  display: flex;
  padding: 11px 12px;
}

.faboo-preview-members span {
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  margin-left: 10px;
}

.faboo-home-product-preview .faboo-public-actions {
  margin-top: 0;
}

.faboo-public-actions .main-btn,
.faboo-home-open-page .faboo-public-nav .main-btn {
  background: linear-gradient(135deg, var(--faboo-primary), var(--faboo-teal)) !important;
  border: 0 !important;
  box-shadow: 0 12px 28px rgba(8, 141, 205, .24);
}

.faboo-public-actions .button {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .36);
  color: #122033;
}

.faboo-public-feature-grid article,
.faboo-roadmap-grid article,
.faboo-public-demo,
.faboo-public-showcase-grid article {
  border-color: rgba(214, 225, 237, .88);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
  transition: border-color .18s var(--faboo-pop-ease), box-shadow .18s var(--faboo-pop-ease), transform .18s var(--faboo-pop-ease);
}

.faboo-public-feature-grid article:hover,
.faboo-roadmap-grid article:hover,
.faboo-public-showcase-grid article:hover {
  border-color: rgba(8, 141, 205, .28);
  box-shadow: 0 22px 48px rgba(15, 23, 42, .11);
  transform: translateY(-2px);
}

.faboo-public-feature-grid i {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .14), rgba(24, 169, 153, .12));
}

.faboo-public-feature-grid article:nth-child(3n + 2) i {
  background: rgba(239, 98, 98, .12);
  color: var(--faboo-coral);
}

.faboo-public-feature-grid article:nth-child(3n) i {
  background: rgba(244, 183, 64, .16);
  color: #9a6700;
}

.faboo-public-showcase-grid article {
  overflow: hidden;
}

.faboo-public-showcase-grid img {
  aspect-ratio: 16 / 9;
  filter: saturate(1.06) contrast(1.03);
  transition: transform .26s var(--faboo-pop-ease);
}

.faboo-public-showcase-grid article:hover img {
  transform: scale(1.025);
}

.faboo-cookie-footer {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(214, 225, 237, .95);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
  left: 50%;
  max-height: calc(100svh - 36px);
  overflow: auto;
  padding: 0;
  right: auto;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 36px));
}

.faboo-cookie-footer .container {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr);
  padding: 10px;
  width: auto;
}

.faboo-cookie-info > span {
  margin-bottom: 7px;
}

.faboo-cookie-info h2 {
  font-size: 18px;
  line-height: 1.18;
  margin-bottom: 5px;
}

.faboo-cookie-info p,
.faboo-cookie-settings p {
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.faboo-cookie-info ul {
  display: none;
}

.faboo-cookie-info li {
  background: #f8fbfe;
  border: 1px solid #e5edf5;
  border-radius: 8px;
  flex: 1 1 190px;
  font-size: 12px;
  padding: 8px 9px;
}

.faboo-cookie-settings {
  background: #f8fbfe;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 8px;
}

.faboo-cookie-settings label {
  border-radius: 8px;
  min-height: 40px;
  padding: 8px;
}

.faboo-cookie-settings label span {
  min-width: 0;
}

.faboo-cookie-settings small {
  display: none;
}

.faboo-cookie-actions {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faboo-cookie-actions button {
  min-height: 38px;
  white-space: nowrap;
}

.faboo-cookie-settings > p {
  display: none;
}

.theme-layout {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(244, 247, 251, .92) 260px),
    var(--faboo-bg);
}

.topbar.stick {
  backdrop-filter: blur(16px);
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 251, 254, .96)) !important;
  border-right: 1px solid rgba(226, 232, 240, .85);
}

.sidebar .faboo-nav a,
.faboo-top-menu a,
.faboo-nav-more {
  border-radius: 8px;
}

.sidebar .faboo-nav a:hover,
.sidebar .faboo-nav a.active,
.faboo-top-menu a:hover,
.faboo-top-menu a.active {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .10), rgba(24, 169, 153, .08)) !important;
  color: var(--faboo-primary-dark) !important;
}

.faboo-page :where(.main-wraper, aside .widget, .faboo-card, .faboo-admin-panel, .faboo-connect-card, .faboo-search-result) {
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.faboo-page :where(.main-wraper, aside .widget, .faboo-card, .faboo-admin-panel, .faboo-connect-card, .faboo-search-result):hover {
  box-shadow: 0 20px 48px rgba(15, 23, 42, .10);
}

.faboo-feed-welcome,
.faboo-connect-v2-hero {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .11), rgba(24, 169, 153, .09) 54%, rgba(244, 183, 64, .10)),
    #fff !important;
}

.faboo-feed-live-pill,
.faboo-badge {
  animation: faboo-soft-pulse 2.8s ease-in-out infinite;
}

.faboo-composer {
  border-top: 4px solid transparent !important;
  border-image: linear-gradient(90deg, var(--faboo-primary), var(--faboo-teal), var(--faboo-gold)) 1;
}

.faboo-composer textarea:focus,
.faboo-quick-comment input:focus,
.faboo-header-search input:focus {
  box-shadow: 0 0 0 3px rgba(24, 169, 153, .14);
}

.faboo-story-mini,
.faboo-story-card,
.faboo-discover-person,
.faboo-ai-next-actions a,
.faboo-actions .button,
.faboo-feed-filters .button {
  transition: transform .16s var(--faboo-pop-ease), box-shadow .16s var(--faboo-pop-ease), border-color .16s var(--faboo-pop-ease), background-color .16s var(--faboo-pop-ease);
}

.faboo-story-mini:hover,
.faboo-story-card:hover,
.faboo-discover-person:hover,
.faboo-ai-next-actions a:hover {
  transform: translateY(-2px);
}

.faboo-actions .button:active,
.faboo-actions .main-btn:active,
.main-btn:active,
.button:active,
button:active {
  transform: translateY(1px) scale(.99);
}

.faboo-post-img,
.faboo-post-video,
.faboo-profile-widget-cover,
.faboo-connect-photo {
  filter: saturate(1.04) contrast(1.02);
}

.faboo-empty,
.faboo-empty-state,
.faboo-feed-empty,
.faboo-profile-empty {
  border-style: solid !important;
}

body.faboo-theme-dark .theme-layout,
body.faboo-theme-dark .sidebar {
  background:
    linear-gradient(180deg, rgba(15, 23, 38, .96), rgba(12, 18, 31, .98)) !important;
}

body.faboo-theme-dark .faboo-feed-welcome,
body.faboo-theme-dark .faboo-connect-v2-hero {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .16), rgba(24, 169, 153, .12) 54%, rgba(244, 183, 64, .08)),
    var(--faboo-card) !important;
}

body.faboo-theme-dark .sidebar {
  border-right-color: rgba(255, 255, 255, .08);
}

@keyframes faboo-soft-pulse {
  0%, 100% {
    box-shadow: 0 10px 24px rgba(32, 163, 107, .10);
  }
  50% {
    box-shadow: 0 14px 30px rgba(32, 163, 107, .18);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .faboo-home-product-preview {
    animation: faboo-preview-enter .55s var(--faboo-pop-ease) both;
  }

  .faboo-preview-media {
    animation: faboo-preview-float 5.4s ease-in-out infinite;
  }
}

@keyframes faboo-preview-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faboo-preview-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 1080px) {
  .faboo-coming-hero-grid {
    grid-template-columns: 1fr;
  }

  .faboo-home-product-preview {
    max-width: 560px;
  }

  .faboo-coming-hero h1 {
    font-size: 48px;
  }

  .faboo-cookie-footer .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .faboo-public-topbar {
    display: grid;
    gap: 10px;
    padding: 0 14px;
  }

  .faboo-public-topbar .logo {
    justify-self: center;
  }

  .faboo-public-nav {
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0 10px;
    scrollbar-width: none;
    white-space: nowrap;
    width: 100%;
  }

  .faboo-public-nav::-webkit-scrollbar {
    display: none;
  }

  .faboo-public-nav a {
    flex: 0 0 auto;
  }

  .faboo-coming-hero {
    min-height: auto;
    padding: 86px 0 46px;
  }

  .faboo-coming-hero h1 {
    font-size: 40px;
  }

  .faboo-coming-hero p {
    font-size: 16px;
  }

  .faboo-preview-grid,
  .faboo-preview-feed-card {
    grid-template-columns: 1fr;
  }

  .faboo-preview-feed-card em {
    justify-self: start;
  }

  .faboo-cookie-footer {
    bottom: 10px;
    max-height: calc(100svh - 20px);
    width: calc(100% - 20px);
  }

  .faboo-cookie-footer .container {
    gap: 12px;
    padding: 12px;
  }

  .faboo-cookie-info ul {
    display: none;
  }

  .faboo-cookie-info p {
    display: none;
  }

  .faboo-cookie-settings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faboo-cookie-settings label {
    gap: 6px;
    grid-template-columns: 18px minmax(0, 1fr);
    padding: 7px;
  }

  .faboo-cookie-settings strong {
    font-size: 12px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .faboo-cookie-actions {
    grid-template-columns: 1fr;
  }

  .faboo-cookie-actions button {
    white-space: normal;
  }
}

/* Faboo visual polish release 2 final cascade */
.faboo-growth-hero-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
}

.faboo-public-preview-card {
  justify-self: end;
  max-width: 470px;
  width: 100%;
}

.faboo-profile-main {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 8px;
  margin: -94px 18px 18px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.faboo-profile-avatar {
  border-radius: 8px;
  height: 148px;
  width: 148px;
}

.faboo-connect-photo:after {
  background:
    linear-gradient(180deg, rgba(10, 18, 31, 0) 35%, rgba(10, 18, 31, .78)),
    linear-gradient(90deg, rgba(8, 141, 205, .18), rgba(239, 98, 98, .10));
  content: "";
  inset: 0;
  position: absolute;
}

.faboo-match-score {
  background: #edf5fb;
  border-radius: 999px;
  height: 36px;
  overflow: hidden;
}

.faboo-match-score span {
  background: linear-gradient(90deg, var(--faboo-coral), var(--faboo-gold), var(--faboo-teal));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.faboo-match-score strong {
  align-items: center;
  color: #132033;
  display: flex;
  inset: 0;
  justify-content: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

@media (max-width: 980px) {
  .faboo-growth-hero-grid {
    grid-template-columns: 1fr;
  }

  .faboo-public-preview-card {
    justify-self: start;
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .faboo-public-preview-card {
    display: none;
  }

  .faboo-cookie-settings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faboo-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .faboo-cookie-actions .main-btn {
    grid-column: 1 / -1;
    order: -1;
  }

  .faboo-profile-main {
    grid-template-columns: 1fr;
    margin: -72px 10px 14px;
  }

  .faboo-profile-avatar {
    height: 118px;
    width: 118px;
  }
}

/* Feed avatar frame fix: keep the post header circle neatly inside the card. */
.faboo-post .friend-info {
  align-items: center;
  display: flex;
  gap: 12px;
}

.faboo-post .friend-info > figure {
  border-radius: 50%;
  flex: 0 0 48px;
  height: 48px;
  margin: 0;
  overflow: hidden;
  transform: translate(3px, 3px);
  width: 48px;
}

.faboo-post .friend-info > figure > img {
  border-radius: inherit;
  box-sizing: border-box;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.faboo-post .friend-name {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 0;
  width: auto;
}

.faboo-post .faboo-shared-post .friend-info > figure {
  flex-basis: 40px;
  height: 40px;
  transform: translate(2px, 2px);
  width: 40px;
}

/* Feed profile widget pro card. */
.faboo-profile-widget {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 255, .96)) !important;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
  text-align: left;
  width: 100%;
}

.faboo-profile-widget-cover-wrap {
  min-height: 118px;
  overflow: hidden;
  position: relative;
}

.faboo-profile-widget-cover-wrap:after {
  background:
    linear-gradient(180deg, rgba(7, 18, 31, .02), rgba(7, 18, 31, .56)),
    linear-gradient(90deg, rgba(8, 141, 205, .18), rgba(29, 191, 115, .16));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.faboo-profile-widget-cover {
  display: block;
  height: 118px !important;
  margin: 0 !important;
  object-fit: cover;
  position: static !important;
  width: 100% !important;
}

.faboo-profile-widget-cover-wrap > span {
  align-items: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  bottom: auto !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .16);
  color: #123047;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  height: auto !important;
  line-height: 1;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 8px 10px;
  position: absolute;
  right: 12px;
  top: 12px;
  width: auto !important;
  z-index: 2;
}

.faboo-profile-widget-cover-wrap > span i {
  color: var(--faboo-teal);
  font-size: 15px;
}

.faboo-profile-widget-main {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: -34px;
  padding: 0 16px;
  position: relative;
  z-index: 3;
}

.faboo-profile-widget-main > div {
  padding-top: 34px;
}

.faboo-profile-widget-avatar-link {
  border-radius: 50%;
  display: block;
  height: 78px;
  width: 78px;
}

.faboo-profile-widget-avatar {
  background: var(--faboo-surface-2);
  border: 4px solid #fff !important;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .20);
  display: block;
  height: 78px !important;
  margin: 0 !important;
  object-fit: cover;
  position: static !important;
  width: 78px !important;
}

.faboo-profile-widget h4 {
  color: var(--faboo-heading);
  font-size: 17px;
  line-height: 1.2;
  margin: 0 0 3px;
}

.faboo-profile-widget h4 a {
  color: inherit;
}

.faboo-profile-widget p {
  color: var(--faboo-muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}

.faboo-profile-widget-progress {
  display: grid;
  gap: 7px;
  padding: 14px 16px 0;
}

.faboo-profile-widget-progress > span {
  background: #e7f0f6;
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
}

.faboo-profile-widget-progress b {
  background: linear-gradient(90deg, var(--faboo-primary), var(--faboo-teal));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.faboo-profile-widget-progress small {
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 800;
}

.faboo-profile-widget-stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 16px 0;
  overflow: hidden;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
}

.faboo-profile-widget-stats span {
  background: rgba(255, 255, 255, .78);
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px 6px;
  text-align: center;
}

.faboo-profile-widget-stats strong {
  color: var(--faboo-heading);
  font-size: 17px;
  line-height: 1;
}

.faboo-profile-widget-stats small {
  color: var(--faboo-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.faboo-profile-widget-next {
  align-items: center;
  background: rgba(8, 141, 205, .07);
  border: 1px solid rgba(8, 141, 205, .16);
  border-radius: 8px;
  color: var(--faboo-text);
  display: grid;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr);
  margin: 14px 16px 0;
  padding: 10px;
}

.faboo-profile-widget-next:hover {
  border-color: rgba(8, 141, 205, .34);
  color: var(--faboo-text);
  transform: translateY(-1px);
}

.faboo-profile-widget-next > i {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
  color: var(--faboo-primary);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.faboo-profile-widget-next span,
.faboo-profile-widget-next strong,
.faboo-profile-widget-next small {
  display: block;
  min-width: 0;
}

.faboo-profile-widget-next strong {
  color: var(--faboo-heading);
  font-size: 13px;
}

.faboo-profile-widget-next small {
  color: var(--faboo-muted);
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.faboo-profile-widget-next.is-complete {
  background: rgba(29, 191, 115, .08);
  border-color: rgba(29, 191, 115, .22);
}

.faboo-profile-widget-next.is-complete > i {
  color: var(--faboo-teal);
}

.faboo-profile-widget-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 14px 16px 16px;
}

.faboo-profile-widget-actions .main-btn,
.faboo-profile-widget-actions .button {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex !important;
  font-size: 13px;
  justify-content: center;
  margin: 0 !important;
  min-height: 40px;
  min-width: 0 !important;
  padding: 9px 10px;
  position: static !important;
  white-space: nowrap;
  width: 100% !important;
}

.faboo-profile-widget-actions .button {
  background: #fff;
  border: 1px solid var(--faboo-border) !important;
  color: var(--faboo-text);
}

.faboo-profile-widget-actions .button:hover {
  border-color: rgba(8, 141, 205, .32) !important;
  color: var(--faboo-primary);
}

body.faboo-theme-dark .faboo-profile-widget {
  background: linear-gradient(180deg, rgba(17, 25, 39, .98), rgba(14, 22, 35, .98)) !important;
}

body.faboo-theme-dark .faboo-profile-widget-cover-wrap > span,
body.faboo-theme-dark .faboo-profile-widget-next > i,
body.faboo-theme-dark .faboo-profile-widget-stats span,
body.faboo-theme-dark .faboo-profile-widget-actions .button {
  background: #111827;
}

body.faboo-theme-dark .faboo-profile-widget-cover-wrap > span {
  color: #e5edf7;
  border-color: rgba(148, 163, 184, .20);
}

@media (max-width: 640px) {
  .faboo-profile-widget-actions {
    grid-template-columns: 1fr;
  }
}

/* Faboo unified button system. Keep this near the end so older template rules cannot drift. */
:root {
  --faboo-button-primary: var(--faboo-primary);
  --faboo-button-primary-hover: var(--faboo-primary-dark);
  --faboo-button-primary-shadow: rgba(8, 141, 205, .22);
  --faboo-button-secondary-bg: #fff;
  --faboo-button-secondary-hover-bg: #eef8fd;
  --faboo-button-secondary-border: var(--faboo-border);
  --faboo-button-danger: var(--faboo-danger);
  --faboo-button-danger-hover: #b83b3b;
}

.main-btn,
a.main-btn,
button.main-btn,
input.main-btn,
.faboo-public-actions .main-btn,
.faboo-home-open-page .faboo-public-nav .main-btn,
.faboo-cover-actions .main-btn,
.faboo-profile-quickbar .main-btn,
.faboo-card-actions .main-btn,
.faboo-tabs .main-btn,
.faboo-report-btn,
.faboo-profile-widget-actions .main-btn,
.faboo-cookie-actions .main-btn,
.faboo-auth-form .main-btn,
.faboo-search-page-form .main-btn,
.faboo-admin-pro-top .main-btn,
.faboo-admin-inline-form .main-btn {
  align-items: center;
  background: var(--faboo-button-primary) !important;
  border: 1px solid var(--faboo-button-primary) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 22px var(--faboo-button-primary-shadow);
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 7px;
  justify-content: center;
  line-height: 1.2;
  min-height: 40px;
  padding: 9px 16px;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.main-btn:hover,
a.main-btn:hover,
button.main-btn:hover,
input.main-btn:hover,
.faboo-public-actions .main-btn:hover,
.faboo-home-open-page .faboo-public-nav .main-btn:hover,
.faboo-cover-actions .main-btn:hover,
.faboo-profile-quickbar .main-btn:hover,
.faboo-card-actions .main-btn:hover,
.faboo-tabs .main-btn:hover,
.faboo-tabs .main-btn.active,
.faboo-report-btn:hover,
.faboo-profile-widget-actions .main-btn:hover,
.faboo-cookie-actions .main-btn:hover,
.faboo-auth-form .main-btn:hover,
.faboo-search-page-form .main-btn:hover,
.faboo-admin-pro-top .main-btn:hover,
.faboo-admin-inline-form .main-btn:hover {
  background: var(--faboo-button-primary-hover) !important;
  border-color: var(--faboo-button-primary-hover) !important;
  box-shadow: 0 14px 28px rgba(8, 111, 159, .24);
  color: #fff !important;
  transform: translateY(-1px);
}

.button,
a.button,
button.button,
.faboo-actions .button,
.faboo-card-actions .button,
.faboo-member-tabs .button,
.faboo-feed-filters .button,
.faboo-public-actions .button,
.faboo-cover-actions .button,
.faboo-profile-tabs a,
.faboo-profile-widget-actions .button,
.faboo-chat-head-actions .button,
.faboo-live-head-actions .button,
.faboo-admin-member-actions .button,
.faboo-admin-filter-tabs .button {
  align-items: center;
  background: var(--faboo-button-secondary-bg) !important;
  border: 1px solid var(--faboo-button-secondary-border) !important;
  border-radius: 8px !important;
  box-shadow: none;
  color: var(--faboo-text) !important;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 7px;
  justify-content: center;
  line-height: 1.2;
  min-height: 40px;
  padding: 9px 16px;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.button:hover,
a.button:hover,
button.button:hover,
.faboo-actions .button:hover,
.faboo-card-actions .button:hover,
.faboo-member-tabs .button:hover,
.faboo-feed-filters .button:hover,
.faboo-public-actions .button:hover,
.faboo-cover-actions .button:hover,
.faboo-profile-tabs a:hover,
.faboo-profile-widget-actions .button:hover,
.faboo-chat-head-actions .button:hover,
.faboo-live-head-actions .button:hover,
.faboo-admin-member-actions .button:hover,
.faboo-admin-filter-tabs .button:hover {
  background: var(--faboo-button-secondary-hover-bg) !important;
  border-color: rgba(8, 141, 205, .36) !important;
  box-shadow: 0 10px 20px rgba(15, 23, 42, .08);
  color: var(--faboo-primary) !important;
  transform: translateY(-1px);
}

.faboo-feed-filters .button.active,
.faboo-member-tabs .button.active,
.faboo-admin-filter-tabs .button.active {
  background: var(--faboo-button-primary) !important;
  border-color: var(--faboo-button-primary) !important;
  color: #fff !important;
}

.button.danger,
.main-btn.danger,
button.button.danger,
button.main-btn.danger,
.faboo-actions .button.danger,
.faboo-card-actions .button.danger {
  background: #fff5f5 !important;
  border-color: rgba(217, 75, 75, .34) !important;
  box-shadow: none;
  color: var(--faboo-button-danger) !important;
}

.button.danger:hover,
.main-btn.danger:hover,
button.button.danger:hover,
button.main-btn.danger:hover,
.faboo-actions .button.danger:hover,
.faboo-card-actions .button.danger:hover {
  background: var(--faboo-button-danger) !important;
  border-color: var(--faboo-button-danger) !important;
  box-shadow: 0 12px 24px rgba(217, 75, 75, .20);
  color: #fff !important;
}

.faboo-help-toggle,
.faboo-help-actions .faboo-help-faye-chat,
.faboo-help-actions .faboo-help-faye-chat:hover {
  background: linear-gradient(135deg, #0b91d0, #1dbf73) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.main-btn:disabled,
.button:disabled,
button.main-btn:disabled,
button.button:disabled,
.main-btn.is-disabled,
.button.is-disabled,
.main-btn[aria-disabled="true"],
.button[aria-disabled="true"] {
  background: #dbe3ec !important;
  border-color: #dbe3ec !important;
  box-shadow: none !important;
  color: #7a8797 !important;
  cursor: not-allowed;
  opacity: .78;
  transform: none !important;
}

body.faboo-theme-dark {
  --faboo-button-primary-shadow: rgba(56, 168, 223, .18);
  --faboo-button-secondary-bg: #182235;
  --faboo-button-secondary-hover-bg: #223149;
}

body.faboo-theme-dark .button,
body.faboo-theme-dark a.button,
body.faboo-theme-dark button.button {
  color: var(--faboo-text) !important;
}

.faboo-storage-map-card {
  margin: 0 0 16px;
}

.faboo-storage-map-card p {
  color: var(--faboo-muted);
  line-height: 1.55;
  margin: 0;
}

.faboo-storage-map-card code {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 6px;
  color: var(--faboo-text);
  font-size: 12px;
  padding: 2px 6px;
}

.faboo-user-menu-form .faboo-menu-language {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0 0 8px;
}

.faboo-user-menu-form .faboo-menu-language select {
  background: var(--faboo-card);
  border: 1px solid var(--faboo-border);
  border-radius: 7px;
  color: var(--faboo-text);
  font-size: 13px;
  min-height: 36px;
  min-width: 150px;
  padding: 6px 9px;
}

/* Faye sidekick profile easter egg */
.faboo-sidekick-pill {
  align-items: center;
  background: linear-gradient(135deg, rgba(8, 141, 205, .12), rgba(232, 77, 117, .12));
  border: 1px solid rgba(8, 141, 205, .22);
  border-radius: 999px;
  color: var(--faboo-primary-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  line-height: 1;
  margin-left: 6px;
  padding: 7px 10px;
  vertical-align: middle;
  white-space: nowrap;
}

.faboo-sidekick-status i,
.faboo-sidekick-pill i {
  color: #e84d75;
}

.faboo-sidekick-card {
  align-items: center;
  border: 1px solid rgba(8, 141, 205, .18);
  display: grid;
  gap: 14px;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  margin-top: 14px;
  overflow: hidden;
  position: relative;
}

.faboo-sidekick-card::before {
  background: linear-gradient(180deg, #088dcd, #e84d75);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.faboo-sidekick-card img {
  aspect-ratio: 1;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .16);
  height: 68px;
  margin-left: 4px;
  object-fit: cover;
  width: 68px;
}

.faboo-sidekick-card strong {
  align-items: center;
  color: var(--faboo-heading);
  display: flex;
  gap: 7px;
  line-height: 1.25;
}

.faboo-sidekick-card p {
  color: var(--faboo-text);
  line-height: 1.5;
  margin: 5px 0 3px;
}

.faboo-sidekick-card small {
  color: var(--faboo-muted);
  display: block;
  line-height: 1.4;
}

.faboo-sidekick-card .main-btn {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-content: center;
  white-space: nowrap;
}

.faboo-sidekick-insight {
  background: linear-gradient(135deg, rgba(8, 141, 205, .08), rgba(232, 77, 117, .07)), var(--faboo-card);
  border-color: rgba(232, 77, 117, .20);
}

.faboo-sidekick-insight > i {
  background: rgba(232, 77, 117, .12);
  color: #e84d75;
}

body.faboo-theme-dark .faboo-sidekick-pill {
  background: linear-gradient(135deg, rgba(8, 141, 205, .24), rgba(232, 77, 117, .18));
  border-color: rgba(255, 255, 255, .12);
  color: #f8fbff;
}

body.faboo-theme-dark .faboo-sidekick-card img {
  border-color: rgba(255, 255, 255, .86);
}

@media (max-width: 720px) {
  .faboo-sidekick-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .faboo-sidekick-card img {
    height: 54px;
    width: 54px;
  }

  .faboo-sidekick-card .main-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .faboo-sidekick-pill {
    margin-top: 6px;
    white-space: normal;
  }
}

/* Growth, privacy and share modules */
.faboo-growth-spotlight p,
.faboo-share-card p {
  color: var(--faboo-muted);
  line-height: 1.5;
  margin: 0 0 12px;
}

.faboo-growth-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.faboo-growth-tags span {
  background: rgba(8, 141, 205, .10);
  border: 1px solid rgba(8, 141, 205, .16);
  border-radius: 999px;
  color: var(--faboo-primary-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  padding: 7px 9px;
}

.faboo-growth-list {
  display: grid;
  gap: 8px;
}

.faboo-growth-list a {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  display: grid;
  gap: 9px;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 9px;
  text-decoration: none;
}

.faboo-growth-list a:hover {
  border-color: rgba(8, 141, 205, .28);
  color: var(--faboo-primary);
}

.faboo-growth-list i {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  color: var(--faboo-primary);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.faboo-growth-list strong,
.faboo-growth-list small {
  display: block;
  line-height: 1.25;
  min-width: 0;
}

.faboo-growth-list strong {
  color: var(--faboo-heading);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-growth-list small {
  color: var(--faboo-muted);
  font-size: 12px;
  margin-top: 2px;
}

.faboo-privacy-score {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  margin: 0 0 10px;
  padding: 10px;
}

.faboo-privacy-score strong {
  color: var(--faboo-primary);
  font-size: 24px;
  line-height: 1;
}

.faboo-privacy-score span {
  color: var(--faboo-heading);
  font-weight: 800;
}

.faboo-privacy-row {
  align-items: center;
  border-top: 1px solid var(--faboo-border);
  color: var(--faboo-text);
  display: grid;
  gap: 9px;
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 10px 0;
  text-decoration: none;
}

.faboo-privacy-row i {
  align-items: center;
  background: rgba(29, 191, 115, .12);
  border-radius: 8px;
  color: #168955;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.faboo-privacy-row.is-info i {
  background: rgba(8, 141, 205, .12);
  color: var(--faboo-primary);
}

.faboo-privacy-row strong,
.faboo-privacy-row small {
  display: block;
  line-height: 1.25;
}

.faboo-privacy-row strong {
  color: var(--faboo-heading);
  font-size: 13px;
}

.faboo-privacy-row small {
  color: var(--faboo-muted);
  font-size: 12px;
  margin-top: 2px;
}

.faboo-share-card input {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  font-size: 13px;
  min-height: 40px;
  padding: 9px 10px;
  width: 100%;
}

.faboo-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.faboo-share-actions .button,
.faboo-share-actions a.button,
.faboo-share-actions button.button {
  min-height: 36px;
  padding: 8px 10px;
}

.faboo-share-card small {
  color: var(--faboo-muted);
  display: block;
  line-height: 1.4;
  margin-top: 10px;
}

.faboo-admin-growth-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.faboo-admin-growth-grid article {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  min-height: 116px;
  overflow: hidden;
  padding: 13px;
  position: relative;
}

.faboo-admin-growth-grid i {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  color: var(--faboo-primary);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-bottom: 10px;
  width: 34px;
}

.faboo-admin-growth-grid strong,
.faboo-admin-growth-grid small,
.faboo-admin-growth-grid em {
  display: block;
  line-height: 1.2;
}

.faboo-admin-growth-grid strong {
  color: var(--faboo-heading);
  font-size: 23px;
}

.faboo-admin-growth-grid small {
  color: var(--faboo-muted);
  font-size: 12px;
  margin-top: 3px;
}

.faboo-admin-growth-grid em {
  color: var(--faboo-primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  position: absolute;
  right: 12px;
  top: 14px;
}

.faboo-admin-growth-grid b {
  background: linear-gradient(90deg, #088dcd, #1dbf73);
  bottom: 0;
  display: block;
  height: 4px;
  left: 0;
  position: absolute;
}

.faboo-admin-growth-alerts {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 12px;
}

.faboo-admin-growth-alerts a {
  align-items: center;
  background: #f6fff9;
  border: 1px solid rgba(29, 191, 115, .22);
  border-radius: 8px;
  color: #168955;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  text-decoration: none;
}

.faboo-admin-growth-alerts a.is-warn {
  background: #fff8f2;
  border-color: rgba(231, 138, 45, .28);
  color: #af671a;
}

.faboo-admin-growth-alerts span {
  font-size: 13px;
  font-weight: 800;
}

.faboo-admin-growth-alerts strong {
  font-size: 18px;
}

.faboo-admin-slow-pages {
  border-top: 1px solid var(--faboo-border);
  margin-top: 14px;
  padding-top: 12px;
}

.faboo-admin-slow-pages h4 {
  color: var(--faboo-heading);
  font-size: 15px;
  margin: 0 0 8px;
}

.faboo-admin-slow-pages p {
  align-items: center;
  border-top: 1px solid var(--faboo-border);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin: 0;
  padding: 9px 0;
}

.faboo-admin-slow-pages p:first-of-type {
  border-top: 0;
}

.faboo-admin-slow-pages span {
  color: var(--faboo-text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-admin-slow-pages strong {
  color: var(--faboo-primary);
}

.faboo-admin-slow-pages small {
  color: var(--faboo-muted);
}

body.faboo-theme-dark .faboo-growth-list i,
body.faboo-theme-dark .faboo-admin-growth-grid i {
  background: rgba(255, 255, 255, .08);
}

body.faboo-theme-dark .faboo-admin-growth-alerts a {
  background: rgba(29, 191, 115, .10);
}

body.faboo-theme-dark .faboo-admin-growth-alerts a.is-warn {
  background: rgba(231, 138, 45, .12);
}

@media (max-width: 560px) {
  .faboo-admin-slow-pages p {
    grid-template-columns: 1fr;
  }

  .faboo-share-actions .button,
  .faboo-share-actions a.button,
  .faboo-share-actions button.button {
    flex: 1 1 100%;
  }
}

/* Auth redesign */
.faboo-auth-page {
  background: #eef4f8;
  color: var(--faboo-text);
}

.faboo-auth-shell {
  grid-template-columns: minmax(460px, .92fr) minmax(440px, 1fr);
}

.faboo-auth-visual {
  isolation: isolate;
  min-height: 100vh;
  padding: 48px;
}

.faboo-auth-visual::after {
  background-image: url('../images/faboo/home-hero.jpg');
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  opacity: .36;
  position: absolute;
  z-index: 0;
}

.faboo-auth-register-page .faboo-auth-visual::after {
  background-image: url('../images/faboo/home-profiles.jpg');
  opacity: .42;
}

.faboo-auth-visual::before {
  background:
    linear-gradient(145deg, rgba(5, 19, 35, .94), rgba(4, 83, 121, .78) 52%, rgba(11, 145, 208, .58));
  z-index: 1;
}

.faboo-auth-register-page .faboo-auth-visual::before {
  background:
    linear-gradient(145deg, rgba(4, 19, 35, .93), rgba(16, 111, 103, .76) 54%, rgba(29, 191, 115, .52));
}

.faboo-auth-visual > * {
  z-index: 2;
}

.faboo-auth-brand {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 8px 14px 8px 9px;
  text-decoration: none;
  width: fit-content;
}

.faboo-auth-brand img {
  height: 38px;
  width: 38px;
}

.faboo-auth-brand span {
  line-height: 1;
}

.faboo-auth-hero-copy {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.faboo-auth-kicker {
  align-items: center;
  background: rgba(153, 230, 207, .13);
  border: 1px solid rgba(153, 230, 207, .24);
  border-radius: 999px;
  color: #b7f3df;
  display: inline-flex;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
  padding: 8px 11px;
  text-transform: none;
  width: fit-content;
}

.faboo-auth-visual h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  margin: 0;
  max-width: 660px;
}

.faboo-auth-visual.faboo-auth-visual-register h1 {
  font-size: clamp(38px, 4.8vw, 60px);
}

.faboo-auth-visual p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.faboo-auth-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
  max-width: 560px;
}

.faboo-auth-metrics span {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 12px;
}

.faboo-auth-metrics strong {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.faboo-auth-metrics small {
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.faboo-auth-preview {
  align-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 8px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .18);
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
  max-width: 620px;
  padding: 16px;
}

.faboo-auth-preview strong {
  color: #fff;
  display: block;
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.faboo-auth-preview p {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.45;
}

.faboo-auth-avatar-stack {
  display: flex;
  min-width: 102px;
}

.faboo-auth-avatar-stack img,
.faboo-auth-faye {
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.faboo-auth-avatar-stack img + img {
  margin-left: -16px;
}

.faboo-auth-faye {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .20);
  height: 58px;
  width: 58px;
}

.faboo-auth-points {
  gap: 8px;
}

.faboo-auth-points li {
  border-radius: 8px;
  padding: 11px 13px;
}

.faboo-auth-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(238, 244, 248, .92));
  padding: 46px 30px;
}

.faboo-auth-card {
  border: 1px solid rgba(201, 213, 226, .82);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(31, 45, 65, .13);
  padding: 32px;
}

.faboo-auth-card-head {
  margin-bottom: 22px;
}

.faboo-auth-card-head > span {
  align-items: center;
  background: rgba(8, 141, 205, .09);
  border: 1px solid rgba(8, 141, 205, .16);
  border-radius: 999px;
  color: var(--faboo-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  line-height: 1.1;
  margin-bottom: 12px;
  padding: 8px 11px;
}

.faboo-auth-card h2 {
  color: var(--faboo-heading);
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.faboo-auth-card-head p,
.faboo-auth-card > p {
  color: var(--faboo-muted);
  line-height: 1.55;
  margin: 0;
}

.faboo-auth-steps {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -6px 0 20px;
}

.faboo-auth-steps span {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 900;
  padding: 9px 8px;
  text-align: center;
}

.faboo-auth-steps span.active {
  background: rgba(8, 141, 205, .10);
  border-color: rgba(8, 141, 205, .22);
  color: var(--faboo-primary);
}

.faboo-auth-form {
  gap: 15px;
}

.faboo-auth-form label > span,
.faboo-auth-resend label > span {
  color: var(--faboo-heading);
}

.faboo-auth-form input[type="email"],
.faboo-auth-form input[type="password"],
.faboo-auth-form input[type="text"],
.faboo-auth-form input[type="date"],
.faboo-auth-form select,
.faboo-auth-form textarea,
.faboo-auth-resend input[type="email"] {
  background: #f8fbfe;
  border-color: rgba(201, 213, 226, .96);
  color: var(--faboo-text);
  font-size: 15px;
  min-height: 50px;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.faboo-auth-form input:focus,
.faboo-auth-form select:focus,
.faboo-auth-form textarea:focus,
.faboo-auth-resend input[type="email"]:focus {
  background: #fff;
  border-color: var(--faboo-primary);
  box-shadow: 0 0 0 4px rgba(8, 141, 205, .13);
}

.faboo-auth-form .main-btn {
  font-size: 15px;
  min-height: 48px;
}

.faboo-password-hint {
  align-items: center;
  background: rgba(8, 141, 205, .07);
  border: 1px solid rgba(8, 141, 205, .12);
  border-radius: 8px;
  color: var(--faboo-muted);
  display: flex;
  gap: 8px;
  line-height: 1.4;
  margin: -3px 0 0;
  padding: 9px 11px;
}

.faboo-name-hint i {
  color: #1d9f66;
}

.faboo-auth-links {
  border-top: 1px solid var(--faboo-border);
  margin-top: 20px;
  padding-top: 16px;
}

.faboo-auth-links a,
.faboo-auth-home {
  text-decoration: none;
}

.faboo-auth-links a:hover,
.faboo-auth-home:hover {
  color: var(--faboo-primary-dark);
}

.faboo-passkey-login {
  margin: 12px 0 0;
}

.faboo-passkey-login .button {
  min-height: 42px;
}

.faboo-auth-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}

.faboo-auth-secondary-links .faboo-auth-home {
  background: transparent;
  border: 0;
  color: var(--faboo-muted);
  font-size: 13px;
  margin: 0;
}

.faboo-auth-alert {
  border: 1px solid rgba(18, 101, 42, .16);
  line-height: 1.4;
}

body.faboo-theme-dark .faboo-auth-panel {
  background: linear-gradient(180deg, #101827, #111a2b);
}

body.faboo-theme-dark .faboo-auth-form input[type="email"],
body.faboo-theme-dark .faboo-auth-form input[type="password"],
body.faboo-theme-dark .faboo-auth-form input[type="text"],
body.faboo-theme-dark .faboo-auth-form input[type="date"],
body.faboo-theme-dark .faboo-auth-form select,
body.faboo-theme-dark .faboo-auth-form textarea,
body.faboo-theme-dark .faboo-auth-resend input[type="email"] {
  background: #151f31;
  border-color: rgba(255, 255, 255, .12);
}

body.faboo-theme-dark .faboo-auth-steps span,
body.faboo-theme-dark .faboo-password-hint {
  background: rgba(255, 255, 255, .05);
}

@media (max-width: 1199px) {
  .faboo-auth-shell {
    grid-template-columns: 1fr;
  }

  .faboo-auth-visual {
    min-height: 500px;
  }
}

@media (max-width: 767px) {
  .faboo-auth-visual {
    gap: 24px;
    min-height: auto;
    padding: 28px 20px;
  }

  .faboo-auth-visual h1,
  .faboo-auth-visual.faboo-auth-visual-register h1 {
    font-size: 34px;
  }

  .faboo-auth-visual p {
    font-size: 16px;
  }

  .faboo-auth-metrics {
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faboo-auth-metrics span {
    padding: 9px 7px;
  }

  .faboo-auth-metrics strong {
    font-size: 18px;
  }

  .faboo-auth-metrics small {
    font-size: 10px;
  }

  .faboo-auth-preview {
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 12px;
  }

  .faboo-auth-avatar-stack {
    min-width: 82px;
  }

  .faboo-auth-avatar-stack img {
    height: 40px;
    width: 40px;
  }

  .faboo-auth-faye {
    height: 46px;
    width: 46px;
  }

  .faboo-auth-panel {
    padding: 18px 14px 28px;
  }

  .faboo-auth-card {
    padding: 22px;
  }

  .faboo-auth-card h2 {
    font-size: 27px;
  }

  .faboo-auth-steps {
    grid-template-columns: 1fr;
  }
}

.faboo-compose-pro {
  overflow: visible;
  padding: 16px !important;
}

.faboo-compose-surface {
  background: #fff;
  border: 1px solid rgba(217, 226, 236, .92);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(21, 32, 51, .08);
  padding: 16px;
}

[data-faboo-composer].is-compose-open {
  position: relative;
  z-index: 100000;
}

.faboo-compose-compact {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px minmax(0, 1fr);
}

.faboo-compose-avatar-wrap {
  height: 54px;
  position: relative;
  width: 54px;
}

.faboo-compose-avatar-wrap > img,
.faboo-compose-author-row > img {
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
  height: 54px;
  object-fit: cover;
  width: 54px;
}

.faboo-compose-avatar-wrap > span {
  background: #1f9d6b;
  border: 2px solid #fff;
  border-radius: 999px;
  bottom: 2px;
  box-shadow: 0 0 0 1px rgba(31, 157, 107, .24);
  height: 13px;
  position: absolute;
  right: 2px;
  width: 13px;
}

.faboo-compose-prompt {
  align-items: flex-start;
  background: var(--faboo-surface-2, #f8fbfe);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  cursor: text;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 48px;
  min-width: 0;
  padding: 9px 13px;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
  width: 100%;
}

.faboo-compose-prompt:hover,
.faboo-compose-prompt:focus {
  border-color: rgba(8, 141, 205, .45);
  box-shadow: 0 10px 24px rgba(8, 141, 205, .12);
  transform: translateY(-1px);
}

.faboo-compose-prompt span {
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.faboo-compose-prompt strong {
  color: var(--faboo-heading);
  display: block;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-compose-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.faboo-compose-field label {
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  padding-left: 3px;
  text-transform: uppercase;
}

.faboo-compose-trigger-wrap {
  display: grid;
  min-width: 0;
  position: relative;
}

.faboo-compose-trigger-input {
  background: #f8fbfe !important;
  border: 1px solid rgba(217, 226, 236, .98) !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  color: var(--faboo-heading) !important;
  cursor: text;
  font-size: 16px;
  font-weight: 850;
  height: 54px;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  padding: 0 60px 0 16px !important;
  text-overflow: ellipsis;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
  white-space: nowrap;
  width: 100%;
}

.faboo-compose-trigger-input:hover,
.faboo-compose-trigger-input:focus {
  border-color: rgba(8, 141, 205, .45) !important;
  box-shadow: 0 10px 24px rgba(8, 141, 205, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
  outline: 0;
  transform: translateY(-1px);
}

.faboo-compose-open-btn {
  align-items: center;
  background: var(--faboo-primary);
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 7px;
  top: 7px;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
  width: 40px;
}

.faboo-compose-open-btn:hover,
.faboo-compose-open-btn:focus {
  background: #06679a;
  box-shadow: 0 10px 22px rgba(8, 127, 189, .24);
  transform: translateY(-1px);
}

.faboo-compose-open-btn i {
  font-size: 18px;
}

.faboo-compose-quick {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(217, 226, 236, .78);
}

.faboo-compose-quick button {
  align-items: center;
  background: #f9fbfd;
  border: 1px solid rgba(217, 226, 236, .92);
  border-radius: 8px;
  color: var(--faboo-text);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  line-height: 1.15;
  min-height: 42px;
  min-width: 0;
  padding: 9px 10px;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
  white-space: nowrap;
}

.faboo-compose-quick button:hover,
.faboo-compose-quick button:focus {
  background: #fff;
  border-color: rgba(8, 141, 205, .34);
  box-shadow: 0 8px 18px rgba(21, 32, 51, .08);
  color: var(--faboo-primary);
  transform: translateY(-1px);
}

.faboo-compose-quick button i {
  align-items: center;
  background: rgba(8, 127, 189, .09);
  border-radius: 7px;
  color: var(--faboo-primary);
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 16px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.faboo-compose-quick button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faboo-compose-modal[hidden] {
  display: none;
}

.faboo-compose-modal {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 22px;
  pointer-events: auto;
  position: fixed;
  z-index: 99990;
}

.faboo-compose-backdrop {
  background: rgba(15, 23, 42, .58);
  inset: 0;
  pointer-events: auto;
  position: absolute;
  z-index: 0;
}

.faboo-compose-dialog {
  background: var(--faboo-card, #fff);
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .32);
  max-height: min(820px, calc(100vh - 44px));
  overflow: hidden;
  pointer-events: auto;
  position: relative;
  width: min(720px, 100%);
  z-index: 1;
}

.faboo-compose-form {
  display: flex;
  flex-direction: column;
  margin: 0;
  max-height: min(820px, calc(100vh - 44px));
  min-height: 0;
}

.faboo-compose-dialog-head {
  align-items: center;
  background: #f9fbfd;
  border-bottom: 1px solid rgba(217, 226, 236, .9);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 18px;
}

.faboo-compose-dialog-title {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.faboo-compose-dialog-title > i {
  align-items: center;
  background: rgba(8, 127, 189, .1);
  border: 1px solid rgba(8, 127, 189, .16);
  border-radius: 8px;
  color: var(--faboo-primary);
  display: inline-flex;
  flex: 0 0 40px;
  font-size: 20px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.faboo-compose-dialog-head strong {
  color: var(--faboo-heading);
  display: block;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
}

.faboo-compose-dialog-head small {
  color: var(--faboo-muted);
  display: block;
  font-weight: 700;
  margin-top: 2px;
}

.faboo-compose-dialog-head button,
.faboo-compose-preview > button {
  align-items: center;
  background: var(--faboo-surface-2, #f8fbfe);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-text);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.faboo-compose-author-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 16px 20px 10px;
}

.faboo-compose-author-copy {
  min-width: 0;
}

.faboo-compose-author-row strong {
  color: var(--faboo-heading);
  display: block;
  font-weight: 950;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-compose-privacy {
  align-items: center;
  background: var(--faboo-surface-2, #f8fbfe);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-muted);
  display: inline-flex;
  gap: 7px;
  margin-top: 7px;
  min-height: 34px;
  padding: 5px 8px;
}

.faboo-compose-privacy span {
  font-size: 12px;
  font-weight: 900;
}

.faboo-compose-privacy select {
  background: transparent;
  border: 0;
  color: var(--faboo-heading);
  font-weight: 900;
  min-height: 24px;
  padding: 0;
}

.faboo-compose-dialog textarea {
  background: #fff !important;
  border: 0 !important;
  color: var(--faboo-heading);
  font-size: 19px;
  line-height: 1.45;
  min-height: 178px !important;
  outline: 0;
  overflow-y: auto;
  padding: 18px 20px !important;
  resize: none;
}

.faboo-compose-preview {
  background: var(--faboo-surface-2, #f8fbfe);
  border-top: 1px solid var(--faboo-border);
  padding: 14px 18px;
  position: relative;
}

.faboo-compose-preview [hidden] {
  display: none !important;
}

.faboo-compose-preview > button {
  position: absolute;
  right: 26px;
  top: 22px;
  z-index: 2;
}

.faboo-compose-preview img,
.faboo-compose-preview video {
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: block;
  max-height: 360px;
  object-fit: contain;
  width: 100%;
}

.faboo-compose-preview span {
  color: var(--faboo-muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 8px;
}

.faboo-compose-dialog .faboo-compose-tools {
  background: #f9fbfd;
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  border-top: 1px solid rgba(217, 226, 236, .9);
  margin: 0;
  padding: 12px 18px;
}

.faboo-compose-dialog .faboo-compose-tools label,
.faboo-compose-dialog .faboo-compose-tools button,
.faboo-compose-dialog .faboo-compose-tools select,
.faboo-compose-dialog .faboo-compose-tools input[type="text"] {
  border-radius: 8px;
  min-height: 40px;
}

.faboo-compose-dialog .faboo-ai-result {
  margin: 12px 18px 0;
}

.faboo-ai-draft {
  background: rgba(8, 141, 205, .08);
  border: 1px solid rgba(8, 141, 205, .18);
  border-radius: 8px;
  margin: 10px 0;
  padding: 10px;
}

.faboo-ai-draft strong {
  color: var(--faboo-heading);
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.faboo-ai-draft p {
  color: var(--faboo-text);
  margin: 0 0 8px;
}

.faboo-compose-footer {
  align-items: center;
  background: #fff;
  border-top: 1px solid rgba(217, 226, 236, .9);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px 18px 16px;
}

.faboo-compose-footer-state {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
}

.faboo-compose-footer small,
.faboo-compose-footer span {
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 800;
}

.faboo-compose-footer .main-btn {
  min-height: 40px;
  padding: 10px 18px;
  width: auto !important;
}

.faboo-compose-modal-open {
  overflow: hidden;
}

body.faboo-theme-dark .faboo-compose-quick button,
body.faboo-theme-dark .faboo-compose-surface,
body.faboo-theme-dark .faboo-compose-dialog,
body.faboo-theme-dark .faboo-compose-prompt,
body.faboo-theme-dark .faboo-compose-trigger-input,
body.faboo-theme-dark .faboo-compose-privacy,
body.faboo-theme-dark .faboo-compose-dialog-head,
body.faboo-theme-dark .faboo-compose-dialog .faboo-compose-tools,
body.faboo-theme-dark .faboo-compose-footer,
body.faboo-theme-dark .faboo-compose-dialog-head button,
body.faboo-theme-dark .faboo-compose-preview > button {
  background: #111827;
  border-color: rgba(255, 255, 255, .12);
}

body.faboo-theme-dark .faboo-compose-trigger-input,
body.faboo-theme-dark .faboo-compose-dialog textarea {
  background: #0f172a !important;
}

body.faboo-theme-dark .faboo-compose-trigger-input {
  color: #f8fafc !important;
}

body.faboo-theme-dark .faboo-compose-dialog-title > i,
body.faboo-theme-dark .faboo-compose-quick button i {
  background: rgba(56, 189, 248, .12);
  border-color: rgba(56, 189, 248, .16);
  color: #7dd3fc;
}

body.faboo-theme-dark .faboo-compose-backdrop {
  background: rgba(2, 6, 23, .74);
}

body.faboo-theme-dark .faboo-compose-preview img,
body.faboo-theme-dark .faboo-compose-preview video {
  background: #020617;
}

@media (max-width: 767px) {
  .faboo-compose-pro {
    padding: 0 !important;
  }

  .faboo-compose-surface {
    padding: 14px;
  }

  .faboo-compose-compact {
    gap: 10px;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .faboo-compose-avatar-wrap,
  .faboo-compose-avatar-wrap > img {
    height: 44px;
    width: 44px;
  }

  .faboo-compose-field label {
    font-size: 11px;
  }

  .faboo-compose-trigger-input {
    font-size: 14px;
    height: 50px;
    padding-left: 12px !important;
    padding-right: 54px !important;
  }

  .faboo-compose-open-btn {
    height: 36px;
    right: 7px;
    top: 7px;
    width: 36px;
  }

  .faboo-compose-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faboo-compose-quick button {
    justify-content: flex-start;
    min-height: 42px;
  }

  .faboo-compose-modal {
    align-items: end;
    padding: 0;
  }

  .faboo-compose-dialog {
    border-radius: 8px 8px 0 0;
    max-height: calc(100vh - 18px);
    width: 100%;
  }

  .faboo-compose-form {
    max-height: calc(100vh - 18px);
  }

  .faboo-compose-dialog-head {
    padding: 13px 14px;
  }

  .faboo-compose-dialog-title > i {
    display: none;
  }

  .faboo-compose-author-row {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 14px;
  }

  .faboo-compose-author-row > img {
    height: 44px;
    width: 44px;
  }

  .faboo-compose-dialog textarea {
    font-size: 17px;
    min-height: 146px !important;
    padding: 16px 14px !important;
  }

  .faboo-compose-dialog .faboo-compose-tools {
    padding: 10px 14px;
  }

  .faboo-compose-footer {
    grid-template-columns: 1fr;
    padding: 12px 14px 14px;
  }

  .faboo-compose-footer .main-btn {
    width: 100% !important;
  }
}

/* Faboo homepage v2: full-bleed people-first landing. */
.faboo-home-v2 {
  background: #f6f9fc;
}

.faboo-home-v2 .faboo-public-topbar {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(226, 232, 240, .82);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  backdrop-filter: blur(16px);
}

.faboo-home-v2 .faboo-public-nav a {
  color: #233044;
}

.faboo-home-hero-v2 {
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(4, 13, 24, .92) 0%, rgba(5, 26, 38, .82) 37%, rgba(6, 32, 44, .36) 68%, rgba(6, 20, 29, .18) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, .10) 0%, rgba(2, 6, 23, .52) 100%),
    url("../images/faboo/home-hero-community.webp");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  min-height: 640px;
  height: calc(100svh - 126px);
  max-height: 790px;
  overflow: hidden;
  padding: 72px 0 28px;
  position: relative;
}

.faboo-home-hero-v2:after {
  background: linear-gradient(180deg, rgba(246, 249, 252, 0), #f6f9fc);
  bottom: -1px;
  content: "";
  height: 86px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.faboo-home-hero-v2 .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  position: relative;
  z-index: 1;
}

.faboo-home-hero-copy {
  max-width: 690px;
  padding-top: 18px;
}

.faboo-home-kicker {
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: rgba(255, 255, 255, .92);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  margin-bottom: 18px;
  padding: 9px 12px;
  text-transform: uppercase;
}

.faboo-home-hero-copy h1 {
  color: #fff;
  font-size: 86px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: .92;
  margin: 0 0 18px;
}

.faboo-home-hero-copy p {
  color: rgba(255, 255, 255, .90);
  font-size: 21px;
  line-height: 1.55;
  margin: 0;
  max-width: 670px;
}

.faboo-home-hero-copy .faboo-public-actions {
  margin-top: 28px;
}

.faboo-home-hero-copy .faboo-public-actions .button {
  background: rgba(255, 255, 255, .94) !important;
  border-color: rgba(255, 255, 255, .48) !important;
  color: #152033 !important;
}

.faboo-home-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.faboo-home-proof span {
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: rgba(255, 255, 255, .86);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  padding: 9px 11px;
}

.faboo-home-live-dock {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  max-width: 980px;
}

.faboo-home-live-dock article {
  align-items: center;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(2, 6, 23, .18);
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 84px;
  padding: 14px;
  backdrop-filter: blur(18px);
}

.faboo-home-live-dock img,
.faboo-home-live-dock > article > i {
  border-radius: 999px;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.faboo-home-live-dock > article > i {
  align-items: center;
  background: rgba(239, 98, 98, .92);
  color: #fff;
  display: inline-flex;
  font-size: 23px;
  justify-content: center;
}

.faboo-home-live-dock strong {
  color: #fff;
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.faboo-home-live-dock span {
  color: rgba(255, 255, 255, .76);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 3px;
}

.faboo-home-stat-band {
  background: #fff;
  border-bottom: 1px solid #e6edf5;
  border-top: 1px solid #e6edf5;
}

.faboo-home-stat-band .container {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faboo-home-stat-band div div {
  border-left: 1px solid #e6edf5;
  min-height: 96px;
  padding: 22px 24px;
}

.faboo-home-stat-band div div:last-child {
  border-right: 1px solid #e6edf5;
}

.faboo-home-stat-band strong {
  color: #0f172a;
  display: block;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 7px;
}

.faboo-home-stat-band span {
  color: #617084;
  display: block;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}

.faboo-home-section {
  padding: 84px 0;
}

.faboo-home-title {
  margin: 0 auto 34px;
  max-width: 780px;
}

.faboo-home-title h2,
.faboo-home-flow-copy h2,
.faboo-home-safety-band h2,
.faboo-home-final-cta h2 {
  color: #111827;
  font-size: 42px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.08;
}

.faboo-home-title p,
.faboo-home-flow-copy p,
.faboo-home-safety-band p,
.faboo-home-final-cta p {
  color: #5f6f84;
  font-size: 17px;
  line-height: 1.65;
}

.faboo-home-pillars {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faboo-home-pillars article,
.faboo-home-moments article,
.faboo-home-interface {
  background: #fff;
  border: 1px solid rgba(219, 228, 238, .92);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
}

.faboo-home-pillars article {
  min-height: 238px;
  padding: 24px;
}

.faboo-home-pillars i {
  align-items: center;
  background: rgba(8, 141, 205, .11);
  border-radius: 8px;
  color: var(--faboo-primary);
  display: inline-flex;
  font-size: 25px;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.faboo-home-pillars article:nth-child(2) i {
  background: rgba(24, 169, 153, .12);
  color: var(--faboo-teal);
}

.faboo-home-pillars article:nth-child(3) i {
  background: rgba(239, 98, 98, .12);
  color: var(--faboo-coral);
}

.faboo-home-pillars article:nth-child(4) i {
  background: rgba(244, 183, 64, .18);
  color: #946200;
}

.faboo-home-pillars h3,
.faboo-home-moments h3 {
  color: #172033;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
  margin: 0 0 9px;
}

.faboo-home-pillars p,
.faboo-home-moments p {
  color: #66758a;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.faboo-home-product-flow {
  background: #eef5f9;
  border-bottom: 1px solid #dfeaf3;
  border-top: 1px solid #dfeaf3;
}

.faboo-home-flow-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
}

.faboo-home-flow-copy .faboo-public-checks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.faboo-home-flow-copy .faboo-public-actions {
  margin-top: 24px;
}

.faboo-home-interface {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.faboo-home-interface-top {
  align-items: center;
  color: #526070;
  display: flex;
  font-size: 12px;
  font-weight: 950;
  justify-content: space-between;
}

.faboo-home-interface-top span {
  display: inline-flex;
  gap: 6px;
}

.faboo-home-interface-top i {
  background: var(--faboo-coral);
  border-radius: 999px;
  display: block;
  height: 9px;
  width: 9px;
}

.faboo-home-interface-top i:nth-child(2) {
  background: var(--faboo-gold);
}

.faboo-home-interface-top i:nth-child(3) {
  background: var(--faboo-teal);
}

.faboo-home-feed-row {
  align-items: center;
  border: 1px solid #e5edf5;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  padding: 12px;
}

.faboo-home-feed-row img {
  border-radius: 999px;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.faboo-home-feed-row strong,
.faboo-home-mini-grid strong {
  color: #172033;
  display: block;
  font-size: 14px;
  font-weight: 950;
}

.faboo-home-feed-row span,
.faboo-home-mini-grid span {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  margin-top: 3px;
}

.faboo-home-feed-row em {
  background: rgba(24, 169, 153, .12);
  border-radius: 999px;
  color: #0f806f;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  padding: 6px 9px;
}

.faboo-home-interface-media {
  aspect-ratio: 16 / 8;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.faboo-home-interface-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.faboo-home-interface-media span {
  align-items: center;
  background: rgba(15, 23, 42, .74);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  bottom: 10px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  gap: 7px;
  left: 10px;
  padding: 7px 9px;
  position: absolute;
}

.faboo-home-mini-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faboo-home-mini-grid div {
  background: #f8fbfe;
  border: 1px solid #e5edf5;
  border-radius: 8px;
  min-height: 86px;
  padding: 13px;
}

.faboo-home-safety-band {
  background: #111827;
  color: #fff;
  padding: 74px 0;
}

.faboo-home-safety-copy {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
}

.faboo-home-safety-band .faboo-section-eyebrow {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: #8ee4d8;
}

.faboo-home-safety-band h2,
.faboo-home-final-cta h2 {
  color: #fff;
}

.faboo-home-safety-band p {
  color: rgba(226, 232, 240, .82);
  max-width: 680px;
}

.faboo-home-safety-band .faboo-public-checks {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.faboo-home-safety-band .faboo-public-checks li {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  color: rgba(255, 255, 255, .86);
  font-weight: 850;
  padding: 10px 12px;
}

.faboo-home-safety-band .faboo-public-demo {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}

.faboo-home-safety-band .faboo-public-demo h3,
.faboo-home-safety-band .faboo-public-demo dt {
  color: #fff;
}

.faboo-home-safety-band .faboo-public-demo p,
.faboo-home-safety-band .faboo-public-demo dd {
  color: rgba(226, 232, 240, .78);
}

.faboo-home-hidden-legacy {
  display: none !important;
}

.faboo-home-moments {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faboo-home-moments article {
  overflow: hidden;
}

.faboo-home-moments img {
  aspect-ratio: 16 / 10;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.faboo-home-moments article div {
  padding: 20px;
}

.faboo-home-final-cta {
  background:
    linear-gradient(90deg, rgba(8, 141, 205, .96), rgba(24, 169, 153, .94)),
    url("../images/faboo/home-groups.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 82px 0;
  text-align: center;
}

.faboo-home-final-cta span {
  color: rgba(255, 255, 255, .84);
  display: block;
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.faboo-home-final-cta h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.faboo-home-final-cta p {
  color: rgba(255, 255, 255, .86);
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.faboo-home-final-cta .faboo-public-actions {
  justify-content: center;
  margin-top: 25px;
}

.faboo-home-final-cta .faboo-public-actions .button {
  background: rgba(255, 255, 255, .94) !important;
  border-color: rgba(255, 255, 255, .50) !important;
}

@media (max-width: 1080px) {
  .faboo-home-hero-v2 {
    background-position: 56% center;
  }

  .faboo-home-hero-copy h1 {
    font-size: 72px;
  }

  .faboo-home-pillars,
  .faboo-home-stat-band .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faboo-home-stat-band div div:nth-child(2) {
    border-right: 1px solid #e6edf5;
  }

  .faboo-home-flow-grid,
  .faboo-home-safety-copy {
    grid-template-columns: 1fr;
  }

  .faboo-home-interface {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .faboo-home-hero-v2 {
    background-position: 63% center;
    height: auto;
    max-height: none;
    min-height: 0;
    padding: 44px 0 18px;
  }

  .faboo-home-hero-v2:after {
    height: 44px;
  }

  .faboo-home-hero-copy {
    padding-top: 0;
  }

  .faboo-home-hero-copy h1 {
    font-size: 48px;
    line-height: .96;
  }

  .faboo-home-hero-copy p {
    font-size: 16px;
  }

  .faboo-home-pillars,
  .faboo-home-moments,
  .faboo-home-mini-grid {
    grid-template-columns: 1fr;
  }

  .faboo-home-live-dock {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .faboo-home-live-dock::-webkit-scrollbar {
    display: none;
  }

  .faboo-home-live-dock article {
    flex: 0 0 265px;
    min-height: 78px;
  }

  .faboo-home-stat-band .container {
    grid-template-columns: 1fr;
  }

  .faboo-home-stat-band div div,
  .faboo-home-stat-band div div:last-child,
  .faboo-home-stat-band div div:nth-child(2) {
    border-left: 1px solid #e6edf5;
    border-right: 1px solid #e6edf5;
    min-height: 82px;
    padding: 18px;
  }

  .faboo-home-section,
  .faboo-home-safety-band,
  .faboo-home-final-cta {
    padding: 54px 0;
  }

  .faboo-home-title h2,
  .faboo-home-flow-copy h2,
  .faboo-home-safety-band h2,
  .faboo-home-final-cta h2 {
    font-size: 32px;
  }

  .faboo-home-pillars article {
    min-height: 0;
    padding: 20px;
  }

  .faboo-home-feed-row {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .faboo-home-feed-row em {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 460px) {
  .faboo-home-hero-copy h1 {
    font-size: 44px;
  }

  .faboo-home-kicker {
    max-width: 100%;
  }

  .faboo-home-live-dock article {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 78px;
    padding: 12px;
  }

  .faboo-home-live-dock img,
  .faboo-home-live-dock > article > i {
    height: 44px;
    width: 44px;
  }

  .faboo-home-v2 .faboo-cookie-settings label {
    gap: 5px;
    grid-template-columns: 16px minmax(0, 1fr);
    padding: 7px 6px;
  }

  .faboo-home-v2 .faboo-cookie-settings strong {
    font-size: 11px;
    white-space: nowrap;
  }

  .faboo-home-v2 .faboo-cookie-settings input {
    height: 16px;
    width: 16px;
  }
}

/* Public safety page. */
.faboo-safety-public-page {
  background: #f6f9fc;
}

.faboo-safety-hero {
  background:
    linear-gradient(100deg, rgba(8, 15, 29, .94) 0%, rgba(7, 35, 50, .86) 48%, rgba(17, 24, 39, .70) 100%),
    url("../images/faboo/home-groups.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 104px 0 78px;
}

.faboo-safety-hero-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
}

.faboo-safety-hero-copy h1 {
  color: #fff;
  font-size: 58px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 14px 0 16px;
  max-width: 820px;
}

.faboo-safety-hero-copy p {
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}

.faboo-safety-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.faboo-safety-hero-points span {
  align-items: center;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: rgba(255, 255, 255, .9);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
}

.faboo-safety-hero-points i {
  color: #8ee4d8;
}

.faboo-safety-trust-strip {
  background: #fff;
  border-bottom: 1px solid #e3edf6;
}

.faboo-safety-trust-strip .container {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faboo-safety-trust-strip article {
  border-left: 1px solid #e3edf6;
  min-height: 132px;
  padding: 24px;
}

.faboo-safety-trust-strip article:last-child {
  border-right: 1px solid #e3edf6;
}

.faboo-safety-trust-strip strong {
  color: var(--faboo-primary);
  display: block;
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 8px;
}

.faboo-safety-trust-strip span {
  color: #172033;
  display: block;
  font-size: 14px;
  font-weight: 950;
  margin-bottom: 6px;
}

.faboo-safety-trust-strip p {
  color: #66758a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.faboo-safety-section {
  background: #f6f9fc;
}

.faboo-safety-feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faboo-safety-feature-grid article {
  background: #fff;
  border: 1px solid rgba(219, 228, 238, .94);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
  min-height: 220px;
  padding: 24px;
}

.faboo-safety-feature-grid i,
.faboo-safety-admin-grid i {
  align-items: center;
  background: rgba(8, 141, 205, .11);
  border-radius: 8px;
  color: var(--faboo-primary);
  display: inline-flex;
  font-size: 25px;
  height: 46px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.faboo-safety-feature-grid article:nth-child(2n) i {
  background: rgba(24, 169, 153, .12);
  color: var(--faboo-teal);
}

.faboo-safety-feature-grid article:nth-child(3n) i {
  background: rgba(239, 98, 98, .12);
  color: var(--faboo-coral);
}

.faboo-safety-feature-grid h3,
.faboo-safety-steps h3,
.faboo-safety-panel h3,
.faboo-safety-admin-grid h3 {
  color: #172033;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
  margin: 0 0 9px;
}

.faboo-safety-feature-grid p,
.faboo-safety-steps p,
.faboo-safety-panel small,
.faboo-safety-admin-grid p {
  color: #66758a;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.faboo-safety-deep-dive {
  background: #fff;
  padding: 82px 0;
}

.faboo-safety-deep-grid {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
}

.faboo-safety-deep-grid h2,
.faboo-safety-admin-band h2 {
  color: #111827;
  font-size: 40px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 10px 0 12px;
  max-width: 760px;
}

.faboo-safety-deep-grid > div > p,
.faboo-safety-admin-band > .container > div > p {
  color: #5f6f84;
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 720px;
}

.faboo-safety-steps {
  display: grid;
  gap: 12px;
}

.faboo-safety-steps article {
  align-items: start;
  background: #f8fbfe;
  border: 1px solid #e4edf5;
  border-radius: 8px;
  display: grid;
  gap: 15px;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 16px;
}

.faboo-safety-steps em {
  align-items: center;
  background: #111827;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-style: normal;
  font-weight: 950;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.faboo-safety-panel {
  background: #101827;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .18);
  color: #fff;
  display: grid;
  gap: 12px;
  padding: 22px;
  position: sticky;
  top: 92px;
}

.faboo-safety-panel > span {
  color: #8ee4d8;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.faboo-safety-panel h3 {
  color: #fff;
  font-size: 24px;
}

.faboo-safety-panel a {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 12px;
}

.faboo-safety-panel a:hover {
  background: rgba(255, 255, 255, .13);
}

.faboo-safety-panel a i {
  align-items: center;
  background: rgba(24, 169, 153, .18);
  border-radius: 8px;
  color: #8ee4d8;
  display: inline-flex;
  grid-row: 1 / span 2;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.faboo-safety-panel a strong,
.faboo-safety-panel a small {
  display: block;
  grid-column: 2;
}

.faboo-safety-panel a small {
  color: rgba(226, 232, 240, .76);
  font-weight: 800;
  margin-top: 2px;
}

.faboo-safety-admin-band {
  background: #eef5f9;
  border-bottom: 1px solid #dfeaf3;
  border-top: 1px solid #dfeaf3;
  padding: 74px 0;
}

.faboo-safety-admin-band > .container {
  align-items: start;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr);
}

.faboo-safety-admin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faboo-safety-admin-grid article {
  background: #fff;
  border: 1px solid #dfeaf3;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .07);
  min-height: 210px;
  padding: 22px;
}

.faboo-safety-cta {
  background:
    linear-gradient(90deg, rgba(8, 141, 205, .96), rgba(24, 169, 153, .94)),
    url("../images/faboo/home-hero-community.webp");
  background-position: center;
  background-size: cover;
}

@media (max-width: 1080px) {
  .faboo-safety-hero-grid,
  .faboo-safety-admin-band > .container {
    grid-template-columns: 1fr;
  }

  .faboo-safety-hero .faboo-public-preview-card {
    max-width: 520px;
  }

  .faboo-safety-feature-grid,
  .faboo-safety-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faboo-safety-trust-strip .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .faboo-safety-hero {
    padding: 76px 0 54px;
  }

  .faboo-safety-hero-copy h1,
  .faboo-safety-deep-grid h2,
  .faboo-safety-admin-band h2 {
    font-size: 36px;
  }

  .faboo-safety-deep-grid {
    grid-template-columns: 1fr;
  }

  .faboo-safety-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .faboo-safety-feature-grid,
  .faboo-safety-admin-grid,
  .faboo-safety-trust-strip .container {
    grid-template-columns: 1fr;
  }

  .faboo-safety-trust-strip article,
  .faboo-safety-trust-strip article:last-child {
    border-left: 1px solid #e3edf6;
    border-right: 1px solid #e3edf6;
  }

  .faboo-safety-steps article {
    grid-template-columns: 1fr;
  }

  .faboo-safety-deep-dive,
  .faboo-safety-admin-band {
    padding: 54px 0;
  }
}

/* Dedicated support page. */
.faboo-support-public {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef6fb 48%, #f8fafc 100%);
  min-height: 70vh;
}

.faboo-support-public-shell {
  padding: 72px 0 84px;
}

.faboo-support-public-grid,
.faboo-support-workspace {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
}

.faboo-support-workspace {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .12), rgba(24, 169, 153, .10)),
    #fff;
  border: 1px solid rgba(219, 228, 238, .94);
  border-radius: 8px;
  padding: 30px;
}

.faboo-support-intro {
  display: grid;
  gap: 18px;
}

.faboo-support-intro h1 {
  color: var(--faboo-heading, #172033);
  font-size: 54px;
  font-weight: 950;
  line-height: 1.04;
  margin: 0;
  max-width: 780px;
}

.faboo-support-intro p {
  color: var(--faboo-muted, #66758a);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  max-width: 680px;
}

.faboo-support-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faboo-support-highlights span {
  align-items: center;
  background: #fff;
  border: 1px solid #dce8f1;
  border-radius: 999px;
  color: #304155;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
}

.faboo-support-highlights i {
  color: var(--faboo-primary);
}

.faboo-support-note {
  background: rgba(255, 255, 255, .74);
  border: 1px solid #dce8f1;
  border-radius: 8px;
  max-width: 560px;
  padding: 16px;
}

.faboo-support-note strong,
.faboo-support-card-head span,
.faboo-support-form label,
.faboo-support-identity strong {
  color: var(--faboo-heading, #172033);
  font-weight: 900;
}

.faboo-support-note p {
  font-size: 14px;
  margin-top: 4px;
}

.faboo-support-card {
  background: #fff;
  border: 1px solid rgba(219, 228, 238, .96);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .12);
  padding: 24px;
}

.faboo-support-main-card {
  position: sticky;
  top: 94px;
}

.faboo-support-card-head {
  border-bottom: 1px solid #e6eef6;
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.faboo-support-card-head span {
  align-items: center;
  color: var(--faboo-primary);
  display: inline-flex;
  font-size: 13px;
  gap: 7px;
  text-transform: uppercase;
}

.faboo-support-card-head h2 {
  color: var(--faboo-heading, #172033);
  font-size: 28px;
  margin: 0;
}

.faboo-support-card-head p {
  color: var(--faboo-muted, #66758a);
  margin: 0;
}

.faboo-support-form {
  display: grid;
  gap: 12px;
}

.faboo-support-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faboo-support-form label {
  display: grid;
  gap: 6px;
}

.faboo-support-form input,
.faboo-support-form textarea {
  background: #fff;
  border: 1px solid #dbe6f0;
  border-radius: 8px;
  color: #172033;
  font-size: 15px;
  min-height: 44px;
  padding: 11px 12px;
  width: 100%;
}

.faboo-support-form textarea {
  min-height: 148px;
  resize: vertical;
}

.faboo-support-form .main-btn {
  width: 100%;
}

.faboo-support-hp {
  height: 1px !important;
  left: -10000px !important;
  overflow: hidden !important;
  position: absolute !important;
  top: auto !important;
  width: 1px !important;
}

.faboo-support-identity {
  align-items: center;
  background: #f8fbfe;
  border: 1px solid #e5edf5;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 12px;
}

.faboo-support-identity i {
  align-items: center;
  background: rgba(8, 141, 205, .12);
  border-radius: 999px;
  color: var(--faboo-primary);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.faboo-support-identity small {
  color: var(--faboo-muted, #66758a);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.faboo-support-page {
  display: grid;
  gap: 22px;
}

@media (max-width: 980px) {
  .faboo-support-public-grid,
  .faboo-support-workspace {
    grid-template-columns: 1fr;
  }

  .faboo-support-main-card {
    position: static;
  }

  .faboo-support-intro h1 {
    font-size: 42px;
  }
}

@media (max-width: 640px) {
  .faboo-support-public-shell {
    padding: 48px 0 58px;
  }

  .faboo-support-grid {
    grid-template-columns: 1fr;
  }

  .faboo-support-card,
  .faboo-support-workspace {
    padding: 18px;
  }

  .faboo-support-intro h1 {
    font-size: 34px;
  }
}

/* Product license page. */
.faboo-license-shell {
  display: grid;
  gap: 22px;
}

.faboo-license-hero {
  align-items: center;
  background: linear-gradient(135deg, rgba(8, 141, 205, .12), rgba(32, 163, 107, .08)), var(--faboo-card);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(31, 45, 65, .08);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  padding: 28px;
}

.faboo-license-hero > div > span,
.faboo-license-panel-head small {
  align-items: center;
  color: var(--faboo-primary-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  text-transform: uppercase;
}

.faboo-license-hero h1 {
  color: var(--faboo-text);
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 8px 0 10px;
}

.faboo-license-hero p {
  color: var(--faboo-muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}

.faboo-license-status-card {
  background: #fff;
  border: 1px solid rgba(8, 141, 205, .18);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(31, 45, 65, .08);
  display: grid;
  gap: 8px;
  padding: 22px;
}

.faboo-license-status-card > i {
  align-items: center;
  background: rgba(8, 141, 205, .12);
  border-radius: 8px;
  color: var(--faboo-primary-dark);
  display: inline-flex;
  font-size: 24px;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.faboo-license-status-card small,
.faboo-license-status-card span {
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-license-status-card strong {
  color: var(--faboo-text);
  font-size: 30px;
  line-height: 1.05;
}

.faboo-license-status-card.is-ok > i,
.faboo-license-pill.is-ok {
  background: rgba(32, 163, 107, .12);
  color: #167a52;
}

.faboo-license-status-card.is-warn > i,
.faboo-license-pill.is-warn {
  background: rgba(245, 158, 11, .14);
  color: #a46106;
}

.faboo-license-status-card.is-danger > i,
.faboo-license-pill.is-danger {
  background: rgba(217, 75, 75, .13);
  color: #b42333;
}

.faboo-license-grid {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.faboo-license-side {
  display: grid;
  gap: 22px;
}

.faboo-license-panel {
  padding: 22px;
}

.faboo-license-panel-head {
  align-items: start;
  border-bottom: 1px solid var(--faboo-border);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.faboo-license-panel-head h3 {
  color: var(--faboo-text);
  font-size: 22px;
  margin: 4px 0 0;
}

.faboo-license-pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
}

.faboo-license-details {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.faboo-license-details div {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 14px;
}

.faboo-license-details dt {
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-license-details dd {
  color: var(--faboo-text);
  font-size: 15px;
  font-weight: 900;
  margin: 0;
  overflow-wrap: anywhere;
}

.faboo-license-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.faboo-license-modules span {
  align-items: center;
  background: rgba(8, 141, 205, .10);
  border: 1px solid rgba(8, 141, 205, .16);
  border-radius: 999px;
  color: var(--faboo-primary-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
}

.faboo-license-notes {
  display: grid;
  gap: 12px;
}

.faboo-license-notes p {
  align-items: start;
  color: var(--faboo-muted);
  display: grid;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  line-height: 1.55;
  margin: 0;
}

.faboo-license-notes i {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  color: var(--faboo-primary-dark);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

body.faboo-theme-dark .faboo-license-status-card {
  background: var(--faboo-card);
}

@media (max-width: 980px) {
  .faboo-license-hero,
  .faboo-license-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .faboo-license-hero,
  .faboo-license-panel {
    padding: 18px;
  }

  .faboo-license-hero h1 {
    font-size: 30px;
  }

  .faboo-license-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .faboo-license-details {
    grid-template-columns: 1fr;
  }
}

/* Admin license and updates. */
.faboo-admin-head-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.faboo-admin-license-table {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faboo-admin-license-table p {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  margin: 0;
  min-width: 0;
  padding: 13px 14px;
}

.faboo-admin-license-table strong {
  color: var(--faboo-text);
  font-size: 13px;
  font-weight: 900;
}

.faboo-admin-license-table small {
  color: var(--faboo-muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.faboo-admin-license-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.faboo-admin-license-modules span {
  align-items: center;
  background: rgba(8, 141, 205, .10);
  border: 1px solid rgba(8, 141, 205, .16);
  border-radius: 999px;
  color: var(--faboo-primary-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
}

.faboo-admin-release-card {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faboo-admin-release-card div {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 15px;
}

.faboo-admin-release-card span,
.faboo-admin-release-list article span {
  color: var(--faboo-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.faboo-admin-release-card strong {
  color: var(--faboo-text);
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.faboo-admin-release-card small,
.faboo-admin-release-notes {
  color: var(--faboo-muted);
  font-weight: 800;
}

.faboo-admin-release-notes {
  background: rgba(8, 141, 205, .08);
  border: 1px solid rgba(8, 141, 205, .14);
  border-radius: 8px;
  line-height: 1.6;
  margin: 14px 0 0;
  padding: 14px;
}

.faboo-admin-update-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 16px;
}

.faboo-admin-update-actions form {
  margin: 0;
}

.faboo-admin-update-actions > span {
  align-items: center;
  background: rgba(245, 158, 11, .12);
  border: 1px solid rgba(245, 158, 11, .18);
  border-radius: 999px;
  color: #a46106;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
}

.faboo-admin-release-list {
  display: grid;
  gap: 10px;
}

.faboo-admin-release-list article {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  padding: 13px;
}

.faboo-admin-release-list article > i {
  align-items: center;
  background: rgba(8, 141, 205, .12);
  border-radius: 8px;
  color: var(--faboo-primary-dark);
  display: inline-flex;
  font-size: 20px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.faboo-admin-release-list strong {
  color: var(--faboo-text);
  display: block;
  font-weight: 950;
}

.faboo-admin-release-list strong small {
  color: var(--faboo-primary-dark);
  font-size: 11px;
  margin-left: 6px;
  text-transform: uppercase;
}

.faboo-admin-release-list form {
  margin: 0;
}

.faboo-admin-release-list .button {
  min-height: 36px;
}

.faboo-admin-release-installed {
  align-items: center;
  background: rgba(32, 163, 107, .12);
  border-radius: 999px;
  color: #167a52;
  display: inline-flex;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  min-height: 32px;
  padding: 7px 10px;
}

.faboo-update-confirm {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 100000;
}

.faboo-update-confirm[hidden] {
  display: none;
}

.faboo-update-confirm-backdrop {
  background: rgba(15, 23, 42, .58);
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity .18s ease;
}

.faboo-update-confirm-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
  display: grid;
  gap: 15px;
  max-height: calc(100vh - 44px);
  max-width: 560px;
  opacity: 0;
  overflow: auto;
  padding: 24px;
  position: relative;
  transform: translateY(12px) scale(.985);
  transition: opacity .18s ease, transform .18s ease;
  width: min(560px, 100%);
  z-index: 1;
}

.faboo-update-confirm.is-open .faboo-update-confirm-backdrop,
.faboo-update-confirm.is-open .faboo-update-confirm-card {
  opacity: 1;
}

.faboo-update-confirm.is-open .faboo-update-confirm-card {
  transform: translateY(0) scale(1);
}

.faboo-update-confirm-close {
  align-items: center;
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 999px;
  color: var(--faboo-muted);
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
}

.faboo-update-confirm-close:hover,
.faboo-update-confirm-close:focus-visible {
  background: #e84d75;
  color: #fff;
}

.faboo-update-confirm-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(232, 77, 117, .12), rgba(8, 141, 205, .14));
  border: 1px solid rgba(8, 141, 205, .16);
  border-radius: 8px;
  color: #c8325e;
  display: inline-flex;
  font-size: 28px;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.faboo-update-confirm-copy {
  padding-right: 34px;
}

.faboo-update-confirm-copy small {
  color: #e84d75;
  display: block;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.faboo-update-confirm-copy h3 {
  color: var(--faboo-heading);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.15;
  margin: 0;
}

.faboo-update-confirm-copy p {
  color: var(--faboo-muted);
  font-weight: 750;
  line-height: 1.55;
  margin: 8px 0 0;
}

.faboo-update-confirm-meta {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faboo-update-confirm-meta span {
  background: var(--faboo-soft);
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
}

.faboo-update-confirm-meta i {
  color: var(--faboo-primary-dark);
  font-size: 18px;
}

.faboo-update-confirm-meta strong {
  color: var(--faboo-text);
  font-size: 13px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.faboo-update-confirm-meta small {
  color: var(--faboo-muted);
  font-size: 11px;
  font-weight: 900;
}

.faboo-update-confirm-steps {
  background: rgba(32, 163, 107, .09);
  border: 1px solid rgba(32, 163, 107, .16);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 13px;
}

.faboo-update-confirm-steps p {
  align-items: flex-start;
  color: #176b4a;
  display: flex;
  font-size: 13px;
  font-weight: 850;
  gap: 8px;
  line-height: 1.45;
  margin: 0;
}

.faboo-update-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.faboo-update-confirm-open {
  overflow: hidden;
}

body.faboo-theme-dark .faboo-update-confirm-card {
  background: var(--faboo-card);
  border-color: rgba(255, 255, 255, .12);
}

body.faboo-theme-dark .faboo-update-confirm-steps p {
  color: #7ee3b8;
}

@media (max-width: 820px) {
  .faboo-admin-update-alert {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .faboo-admin-update-alert .main-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .faboo-admin-license-table,
  .faboo-admin-release-card {
    grid-template-columns: 1fr;
  }

  .faboo-update-confirm-card {
    padding: 20px;
  }

  .faboo-update-confirm-meta {
    grid-template-columns: 1fr;
  }

  .faboo-update-confirm-actions .button,
  .faboo-update-confirm-actions .main-btn {
    justify-content: center;
    width: 100%;
  }

  .faboo-admin-release-list article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .faboo-admin-release-list article form,
  .faboo-admin-release-installed {
    grid-column: 1 / -1;
  }

  .faboo-admin-head-actions,
  .faboo-admin-update-actions {
    justify-content: flex-start;
  }
}

/* Admin form controls stay light for readability, also when the user theme is dark. */
.faboo-admin-pro-main :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea),
.faboo-admin-panel :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea) {
  background: #fff !important;
  border-color: #d8e1ec !important;
  color: #1f2d41 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.faboo-admin-pro-main :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea)::placeholder,
.faboo-admin-panel :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea)::placeholder {
  color: #8794a6 !important;
}

.faboo-admin-pro-main :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea):focus,
.faboo-admin-panel :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea):focus {
  background: #fff !important;
  border-color: rgba(8, 141, 205, .58) !important;
  box-shadow: 0 0 0 3px rgba(8, 141, 205, .13) !important;
}

.faboo-admin-pro-main :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea):disabled,
.faboo-admin-panel :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]), select, textarea):disabled {
  background: #eef3f8 !important;
  color: #7b8794 !important;
}

.faboo-admin-form-grid.single {
  grid-template-columns: 1fr;
}

/* Faboo 2.0 polish: engagement, cleaner cards and stronger app feel. */
.faboo-daily-focus-pill {
  align-items: center;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  color: #1f2d41;
  display: inline-flex;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  text-decoration: none;
}

.faboo-daily-focus-pill i {
  background: rgba(8, 141, 205, .12);
  border-radius: 50%;
  color: var(--faboo-primary);
  display: inline-grid;
  height: 34px;
  place-items: center;
  width: 34px;
}

.faboo-daily-focus-pill span {
  display: grid;
  gap: 2px;
}

.faboo-daily-focus-pill strong {
  color: var(--faboo-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.faboo-challenge-board,
.faboo-challenge-widget {
  background: linear-gradient(135deg, #ffffff 0%, #f4fbff 100%);
  border: 1px solid rgba(8, 141, 205, .12);
  box-shadow: 0 18px 42px rgba(31, 45, 65, .08);
}

.faboo-challenge-board {
  margin-bottom: 18px;
}

.faboo-challenge-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faboo-challenge-list.compact {
  grid-template-columns: 1fr;
}

.faboo-challenge-row {
  align-items: center;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(216, 225, 236, .95);
  border-radius: 8px;
  color: #1f2d41;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 12px;
  text-decoration: none;
}

.faboo-challenge-row:hover {
  border-color: rgba(8, 141, 205, .32);
  box-shadow: 0 12px 26px rgba(8, 141, 205, .10);
  transform: translateY(-1px);
}

.faboo-challenge-row > i {
  align-items: center;
  background: #eef8fd;
  border-radius: 50%;
  color: var(--faboo-primary);
  display: inline-flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.faboo-challenge-row span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.faboo-challenge-row strong,
.faboo-challenge-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faboo-challenge-row small {
  color: var(--faboo-muted);
}

.faboo-challenge-row b {
  background: #e9f0f7;
  border-radius: 999px;
  display: block;
  height: 7px;
  overflow: hidden;
}

.faboo-challenge-row b em {
  background: linear-gradient(90deg, var(--faboo-primary), #22b573);
  display: block;
  height: 100%;
}

.faboo-challenge-row mark {
  background: #f0fff8;
  border: 1px solid rgba(34, 181, 115, .18);
  border-radius: 999px;
  color: #176b4a;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.faboo-challenge-row.is-done > i {
  background: #eaf7ed;
  color: #168447;
}

.faboo-challenge-row.is-done mark {
  background: #eaf7ed;
}

.faboo-feed-welcome,
.faboo-today-hero,
.faboo-connect-v2-hero,
.faboo-profile-card {
  position: relative;
}

.faboo-feed-welcome::after,
.faboo-today-hero::after,
.faboo-connect-v2-hero::after {
  background: linear-gradient(135deg, rgba(232, 77, 117, .12), rgba(34, 181, 115, .12));
  border-radius: 999px;
  content: "";
  height: 120px;
  pointer-events: none;
  position: absolute;
  right: 24px;
  top: -54px;
  width: 120px;
}

.faboo-post,
.faboo-live-chat,
.faboo-connect-v2 .faboo-connect-card,
.faboo-story-card,
.faboo-profile-trust-badges,
.faboo-sidekick-card {
  border: 1px solid rgba(216, 225, 236, .82) !important;
  box-shadow: 0 16px 38px rgba(31, 45, 65, .07);
}

.faboo-post:hover,
.faboo-connect-v2 .faboo-connect-card:hover,
.faboo-story-card:hover {
  border-color: rgba(8, 141, 205, .22) !important;
  box-shadow: 0 20px 48px rgba(31, 45, 65, .11);
}

.faboo-live-head,
.faboo-live-tools,
.faboo-live-compose {
  backdrop-filter: blur(10px);
}

.faboo-connect-v2-tabs,
.faboo-feed-filters {
  scrollbar-width: thin;
}

.faboo-connect-v2-tabs a,
.faboo-feed-filters .button {
  white-space: nowrap;
}

.faboo-story-grid {
  align-items: stretch;
}

.faboo-story-card {
  min-height: 310px;
}

body.faboo-theme-dark .faboo-daily-focus-pill,
body.faboo-theme-dark .faboo-challenge-board,
body.faboo-theme-dark .faboo-challenge-widget,
body.faboo-theme-dark .faboo-challenge-row {
  background: #111827;
  border-color: rgba(255, 255, 255, .10);
  color: #e5edf7;
}

body.faboo-theme-dark .faboo-challenge-row small,
body.faboo-theme-dark .faboo-daily-focus-pill strong {
  color: #9ba8ba;
}

body.faboo-theme-dark .faboo-challenge-row b {
  background: #223149;
}

@media (max-width: 820px) {
  .faboo-challenge-list {
    grid-template-columns: 1fr;
  }

  .faboo-challenge-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .faboo-challenge-row mark {
    grid-column: 2;
    justify-self: start;
  }

  .faboo-feed-welcome::after,
  .faboo-today-hero::after,
  .faboo-connect-v2-hero::after {
    display: none;
  }
}

/* Faboo layout system pass: calmer rhythm, stronger grids and predictable mobile behavior. */
:root {
  --faboo-page-max: 1440px;
  --faboo-admin-page-max: 1720px;
  --faboo-chat-page-max: 1540px;
  --faboo-layout-gap: clamp(14px, 1.7vw, 24px);
  --faboo-card-pad: clamp(14px, 1.45vw, 22px);
  --faboo-sidebar-top: 92px;
}

.faboo-page .container {
  max-width: var(--faboo-page-max) !important;
  padding-left: clamp(12px, 2vw, 22px);
  padding-right: clamp(12px, 2vw, 22px);
  width: min(100%, var(--faboo-page-max)) !important;
}

.faboo-host-admin-faboo-nl .faboo-page .container {
  --faboo-page-max: var(--faboo-admin-page-max);
}

body:has(.faboo-live-chat) .faboo-page .container,
.faboo-host-connect-faboo-nl .faboo-page .container {
  --faboo-page-max: var(--faboo-chat-page-max);
}

.faboo-page .gap {
  padding-top: clamp(76px, 8vw, 104px);
}

.faboo-page :where(.main-wraper, .faboo-card, aside .widget, .faboo-admin-panel, .faboo-connect-card, .faboo-live-sidebar, .faboo-live-panel) {
  border-radius: 8px !important;
}

.faboo-page :where(.main-wraper, aside .widget, .faboo-card, .faboo-admin-panel) {
  margin-bottom: var(--faboo-layout-gap) !important;
}

.faboo-page :where(.main-wraper, aside .widget, .faboo-card) {
  box-shadow: 0 12px 30px rgba(15, 23, 42, .065);
}

.faboo-page :where(.faboo-feed-welcome, .faboo-today-hero, .faboo-connect-v2-hero)::after {
  display: none !important;
}

.faboo-section-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-width: 0;
}

.faboo-section-head > div {
  min-width: 0;
}

.faboo-section-head :where(h3, h4, p, small) {
  overflow-wrap: anywhere;
}

.faboo-empty,
.faboo-empty-state {
  background: linear-gradient(180deg, rgba(248, 251, 254, .94), rgba(255, 255, 255, .94));
  border-style: dashed !important;
  display: grid;
  gap: 10px;
}

.faboo-empty-state {
  place-items: center;
  text-align: center;
}

.faboo-empty-state .main-btn,
.faboo-empty .main-btn {
  width: fit-content;
}

/* Feed */
@media (min-width: 1180px) {
  .faboo-feed-shell {
    gap: var(--faboo-layout-gap) !important;
    grid-template-columns: minmax(220px, 255px) minmax(0, 1fr) minmax(235px, 285px) !important;
  }

  .faboo-feed-shell > aside {
    align-self: start;
    max-height: calc(100vh - 110px);
    overflow: auto;
    position: sticky;
    scrollbar-width: thin;
    top: var(--faboo-sidebar-top);
  }
}

.faboo-feed-shell > aside .widget {
  padding: 14px;
}

.faboo-feed-shell > aside .widget :where(p, li, small) {
  line-height: 1.45;
}

.faboo-profile-widget {
  overflow: hidden;
  padding: 0 !important;
}

.faboo-profile-widget-main,
.faboo-profile-widget-progress,
.faboo-profile-widget-stats,
.faboo-profile-widget-next,
.faboo-profile-widget-actions {
  margin-left: 14px;
  margin-right: 14px;
}

.faboo-profile-widget-actions {
  margin-bottom: 14px;
}

.faboo-profile-widget-main {
  align-items: end;
  margin-top: -30px;
}

.faboo-profile-widget-avatar {
  height: 74px !important;
  width: 74px !important;
}

.faboo-profile-widget-stats {
  gap: 8px;
}

.faboo-widget-list li,
.faboo-discover-person,
.faboo-ai-next-actions.compact a,
.faboo-widget-actions {
  min-width: 0;
}

.faboo-widget-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.faboo-feed-welcome {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .10), rgba(34, 181, 115, .08)),
    #fff;
}

.faboo-feed-live-pill {
  border: 1px solid rgba(34, 181, 115, .18);
}

.faboo-story-rail {
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.faboo-story-mini {
  flex: 0 0 118px;
}

.faboo-post {
  overflow: hidden;
}

.faboo-post .friend-info {
  min-width: 0;
}

.faboo-post .friend-info figure {
  margin: 0;
}

.faboo-post-info ul {
  flex-wrap: wrap;
}

.faboo-actions {
  align-items: stretch;
}

/* Dashboard */
.faboo-next-shell {
  display: grid;
  gap: var(--faboo-layout-gap);
}

.faboo-today-hero {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .12), rgba(232, 77, 117, .07)),
    #fff;
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  overflow: hidden;
}

.faboo-hero-actions,
.faboo-command-grid,
.faboo-faye-wingman-grid,
.faboo-ai-next-actions,
.faboo-upgrade-matrix > div:last-child {
  gap: 12px;
}

.faboo-command-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.faboo-command-card {
  min-height: 118px;
}

.faboo-dashboard-grid {
  gap: var(--faboo-layout-gap) !important;
}

@media (min-width: 1220px) {
  .faboo-dashboard-grid {
    grid-template-columns: minmax(230px, 270px) minmax(0, 1fr) minmax(250px, 300px) !important;
  }
}

.faboo-dashboard-grid > aside {
  min-width: 0;
}

.faboo-upgrade-matrix > div:last-child {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.faboo-upgrade-matrix a,
.faboo-faye-wingman-actions a,
.faboo-growth-list a {
  min-width: 0;
}

/* Profile */
.faboo-profile-card {
  overflow: hidden;
}

.faboo-profile-cover {
  min-height: clamp(230px, 30vw, 350px) !important;
}

.faboo-profile-main {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.faboo-profile-avatar {
  border-radius: 8px !important;
  flex: 0 0 auto;
}

.faboo-profile-title {
  min-width: 0;
}

.faboo-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-stat {
  min-width: 86px;
}

.faboo-profile-quickbar,
.faboo-profile-tabs,
.faboo-tabs {
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.faboo-profile-tabs {
  position: sticky;
  top: 78px;
  z-index: 18;
}

.faboo-profile-tabs a,
.faboo-tabs .main-btn {
  flex: 1 0 max-content;
  min-height: 40px;
}

.faboo-profile-insight-row {
  display: grid;
  gap: var(--faboo-layout-gap);
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.faboo-profile-insight {
  display: grid;
  gap: 12px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.faboo-profile-insight > div {
  min-width: 0;
}

.faboo-panel {
  padding: var(--faboo-card-pad);
}

.faboo-panel-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.faboo-photo-grid,
.faboo-profile-friends-grid {
  gap: 10px;
}

.faboo-group-tile {
  border: 1px solid var(--faboo-border);
  border-radius: 8px;
  overflow: hidden;
}

/* Messages */
.faboo-live-chat {
  gap: var(--faboo-layout-gap);
  grid-template-columns: minmax(290px, 340px) minmax(0, 1fr);
}

@media (min-width: 901px) {
  .faboo-live-sidebar {
    align-self: start;
    max-height: calc(100vh - 112px);
    overflow: auto;
    position: sticky;
    scrollbar-width: thin;
    top: var(--faboo-sidebar-top);
  }
}

.faboo-live-head {
  align-items: flex-start;
  gap: 14px;
}

.faboo-live-head-actions {
  display: flex;
  flex-wrap: wrap;
  max-width: 650px;
}

.faboo-live-head-actions .button {
  flex: 1 1 auto;
}

.faboo-live-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faboo-live-tools label {
  flex: 1 1 260px;
  min-width: 0;
}

.faboo-live-thread {
  background:
    linear-gradient(180deg, rgba(246, 249, 252, .96), rgba(239, 245, 250, .96)),
    linear-gradient(90deg, rgba(8, 141, 205, .05), rgba(34, 181, 115, .04));
}

.faboo-live-message {
  overflow-wrap: anywhere;
}

/* Connect */
.faboo-connect-v2 {
  display: grid;
  gap: var(--faboo-layout-gap);
}

.faboo-connect-v2-hero {
  background:
    linear-gradient(135deg, rgba(8, 141, 205, .11), rgba(232, 77, 117, .07)),
    #fff;
  overflow: hidden;
}

.faboo-connect-v2-layout {
  gap: var(--faboo-layout-gap);
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
}

@media (min-width: 1020px) {
  .faboo-connect-v2-filter {
    align-self: start;
    max-height: calc(100vh - 110px);
    overflow: auto;
    position: sticky;
    scrollbar-width: thin;
    top: var(--faboo-sidebar-top);
  }
}

.faboo-connect-v2-search {
  display: grid;
  gap: 12px;
}

.faboo-connect-v2 .faboo-connect-grid {
  gap: var(--faboo-layout-gap);
}

.faboo-connect-v2 .faboo-connect-card {
  display: flex;
  flex-direction: column;
}

.faboo-connect-v2 .faboo-connect-body {
  flex: 1 1 auto;
}

.faboo-connect-actions {
  margin-top: auto;
}

/* Admin */
.faboo-admin-pro {
  background: #f4f7fb;
  border-color: rgba(216, 225, 236, .94);
  grid-template-columns: minmax(250px, 286px) minmax(0, 1fr);
}

.faboo-admin-pro-sidebar {
  gap: 16px;
}

@media (min-width: 992px) {
  .faboo-admin-pro-sidebar {
    align-self: start;
    max-height: calc(100vh - 96px);
    overflow: auto;
    position: sticky;
    scrollbar-width: thin;
    top: 76px;
  }
}

.faboo-admin-pro-sidebar nav {
  gap: 14px;
}

.faboo-admin-nav-section {
  display: grid;
  gap: 5px;
}

.faboo-admin-nav-section > strong {
  color: #8794a6;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  padding: 0 10px;
  text-transform: uppercase;
}

.faboo-admin-pro-sidebar nav a,
.faboo-admin-back {
  min-height: 40px;
}

.faboo-admin-pro-main {
  padding: clamp(16px, 2vw, 28px);
}

.faboo-admin-pro-top {
  align-items: flex-start;
}

.faboo-admin-kpis {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.faboo-admin-kpis article {
  min-height: 132px;
  padding: 16px;
}

.faboo-admin-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.faboo-admin-pro-grid,
.faboo-admin-pro-grid.lower {
  gap: var(--faboo-layout-gap);
}

.faboo-admin-pro-grid.lower {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.faboo-admin-table-row {
  align-items: center;
  grid-template-columns: 48px minmax(180px, 1fr) auto minmax(220px, 1.2fr);
}

.faboo-admin-table-row form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.faboo-admin-webmail-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

.faboo-admin-support-panel {
  min-width: 0;
}

/* Theme and responsive locks */
body.faboo-theme-dark .faboo-empty,
body.faboo-theme-dark .faboo-empty-state,
body.faboo-theme-dark .faboo-feed-welcome,
body.faboo-theme-dark .faboo-today-hero,
body.faboo-theme-dark .faboo-connect-v2-hero {
  background: #111827;
}

body.faboo-theme-dark .faboo-admin-pro {
  background: #0f172a;
}

body.faboo-theme-dark .faboo-admin-nav-section > strong {
  color: #94a3b8;
}

@media (max-width: 1180px) {
  .faboo-profile-main {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .faboo-cover-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .faboo-today-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .faboo-page .gap {
    padding-top: 82px;
  }

  .faboo-feed-shell,
  .faboo-dashboard-grid,
  .faboo-connect-v2-layout,
  .faboo-admin-pro {
    grid-template-columns: 1fr !important;
  }

  .faboo-admin-pro-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--faboo-border);
  }

  .faboo-admin-pro-sidebar nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .faboo-admin-nav-section {
    flex: 0 0 min(270px, 82vw);
  }

  .faboo-admin-back {
    margin-top: 0;
  }

  .faboo-live-chat {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .faboo-page .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .faboo-section-head,
  .faboo-panel-head,
  .faboo-admin-pro-top,
  .faboo-live-head {
    align-items: stretch;
    flex-direction: column;
  }

  .faboo-profile-main {
    grid-template-columns: 1fr;
    margin-left: 12px;
    margin-right: 12px;
    text-align: left;
  }

  .faboo-profile-avatar {
    height: 118px !important;
    width: 118px !important;
  }

  .faboo-profile-tabs {
    top: 66px;
  }

  .faboo-profile-insight,
  .faboo-feed-empty {
    grid-template-columns: 1fr;
  }

  .faboo-live-panel {
    min-height: 72vh;
  }

  .faboo-live-head-actions,
  .faboo-live-tools,
  .faboo-connect-v2-actions,
  .faboo-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: none;
    width: 100%;
  }

  .faboo-live-head-actions .button,
  .faboo-live-tools > *,
  .faboo-connect-v2-actions > *,
  .faboo-hero-actions > * {
    width: 100%;
  }

  .faboo-admin-table-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .faboo-admin-table-row > em,
  .faboo-admin-table-row form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .faboo-command-grid,
  .faboo-upgrade-matrix > div:last-child,
  .faboo-admin-kpis,
  .faboo-admin-feature-grid,
  .faboo-admin-pro-grid.lower,
  .faboo-profile-insight-row {
    grid-template-columns: 1fr;
  }

  .faboo-profile-widget-actions,
  .faboo-share-actions,
  .faboo-cover-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Visual QA corrections: profile header, readable search fields and cleaner mobile controls. */
.faboo-profile-title h2 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--faboo-heading) !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.16;
  margin: 0 0 8px !important;
  max-width: 100%;
  padding: 0 !important;
  text-shadow: none !important;
}

.faboo-profile-title h2 a {
  color: inherit;
}

.faboo-profile-title .faboo-verify-pill,
.faboo-profile-title .faboo-ai-profile-pill,
.faboo-profile-title .faboo-sidekick-pill {
  line-height: 1;
  text-shadow: none;
  white-space: nowrap;
}

.faboo-profile-widget-actions {
  grid-template-columns: 1fr;
}

.faboo-profile-widget-actions .main-btn,
.faboo-profile-widget-actions .button {
  gap: 7px;
  min-width: 0 !important;
  padding-left: 12px;
  padding-right: 12px;
  white-space: normal;
}

.faboo-live-search input,
.faboo-help-form textarea {
  background: #fff !important;
  color: #172033 !important;
}

.faboo-live-search input {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .84);
}

.faboo-live-search input::placeholder,
.faboo-help-form textarea::placeholder {
  color: #7b8794 !important;
}

.faboo-post-body,
.faboo-post-body * {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.faboo-reaction-picker,
.faboo-reaction-menu {
  max-width: min(100%, calc(100vw - 28px));
}

body.faboo-theme-dark .faboo-profile-title h2 {
  color: #e5edf7 !important;
}

body.faboo-theme-dark .faboo-live-search input,
body.faboo-theme-dark .faboo-help-form textarea {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, .24) !important;
  color: #e5edf7 !important;
}

body.faboo-theme-dark .faboo-live-search input::placeholder,
body.faboo-theme-dark .faboo-help-form textarea::placeholder {
  color: #9aa7b8 !important;
}

@media (max-width: 1440px) and (min-width: 1081px) {
  body.faboo-host-admin-faboo-nl .topbar.stick {
    grid-template-columns: auto minmax(0, 1fr) minmax(156px, 280px) max-content;
  }

  body.faboo-host-admin-faboo-nl .faboo-top-menu a span,
  body.faboo-host-admin-faboo-nl .faboo-nav-more span {
    display: none;
  }

  body.faboo-host-admin-faboo-nl .faboo-top-menu a,
  body.faboo-host-admin-faboo-nl .faboo-nav-more {
    padding-left: 7px;
    padding-right: 7px;
  }
}

@media (min-width: 992px) {
  .faboo-admin-pro-sidebar {
    scrollbar-color: rgba(148, 163, 184, .62) transparent;
  }

  .faboo-admin-pro-sidebar::-webkit-scrollbar {
    width: 8px;
  }

  .faboo-admin-pro-sidebar::-webkit-scrollbar-track {
    background: transparent;
  }

  .faboo-admin-pro-sidebar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, .46);
    border-radius: 999px;
  }
}

@media (max-width: 760px) {
  .faboo-help-ai {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    right: 12px;
  }

  .faboo-help-toggle {
    min-height: 44px;
    min-width: 104px;
    padding: 6px 10px 6px 7px;
  }

  .faboo-help-faye-avatar {
    height: 30px;
    width: 30px;
  }

  .faboo-profile-title h2 {
    font-size: clamp(24px, 7vw, 30px);
  }
}
