:root {
  /* Commack Community Alliance — gold / black / white */
  --brand: #ffc107;
  --brand-ink: #000000;
  --brand-2: #1c2430;
  --accent: #ffc107;
  --accent-hover: #e6ac00;
  --accent-soft: rgba(255, 193, 7, 0.09);
  --accent-glow: rgba(255, 193, 7, 0.18);

  --ink: #0a0a0a;
  --ink-2: #111111;
  --muted: #3a3a3a;
  --bg: #eef1f6;
  --surface: #FFFFFF;
  --surface-2: #f7f8fb;
  --border: rgba(28, 36, 48, 0.08);
  --border-strong: rgba(28, 36, 48, 0.14);

  --nav: #141414;
  --nav-text: rgba(255, 255, 255, 0.82);
  --nav-text-strong: #ffffff;
  --nav-hover: rgba(255, 255, 255, 0.06);
  --nav-active: #ffc107;

  --ok: #16A34A;
  --ok-soft: #DCFCE7;
  --warn: #D97706;
  --warn-soft: #FEF3C7;
  --danger: #DC2626;
  --danger-soft: #FEE2E2;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(28, 36, 48, 0.04);
  --shadow: 0 10px 28px rgba(28, 36, 48, 0.06);
  --shadow-md: 0 18px 44px rgba(28, 36, 48, 0.08);
  --shadow-lg: 0 28px 64px rgba(28, 36, 48, 0.12);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-w: 268px;
  --t: 200ms;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.5;
  color: var(--ink-2);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(255, 193, 7, 0.07), transparent 55%),
    radial-gradient(700px 380px at 92% 8%, rgba(28, 36, 48, 0.05), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.is-auth { background: #FFFFFF; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -0.035em; line-height: 1.15; }
h1 { font-size: 1.75rem; font-weight: 700; }
h2 { font-size: 1.1rem; font-weight: 650; }
h3 { font-size: 0.98rem; font-weight: 650; }
p { margin: 0; }
button, input, textarea, select { font: inherit; }

@keyframes cca-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes cca-dd-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes cca-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes cca-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ========== AUTH â€” full-page split (B/W) ========== */
.cca-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
}
.cca-auth::before,
.cca-auth::after { display: none; }

.cca-auth__visual {
  position: relative;
  min-height: 100vh;
  color: #FAFAFA;
  display: flex;
  padding: clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
}
.cca-auth__visual-bg {
  position: absolute; inset: 0;
  background-color: #1c2430;
  background-image:
    linear-gradient(155deg, rgba(28, 36, 48, 0.88) 0%, rgba(28, 36, 48, 0.55) 55%, rgba(28, 36, 48, 0.45) 100%),
    url("../img/auth-city.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: none;
}
.cca-auth__visual-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 70%);
}
.cca-auth__visual-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  width: 100%; max-width: 36rem;
  animation: cca-in 0.55s var(--ease) both;
}
.cca-auth__brand-lockup {
  display: inline-flex; align-items: center;
  margin-bottom: 0; max-width: 100%;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.cca-auth__brand-lockup img,
.cca-auth__logo {
  height: auto;
  width: auto;
  max-width: min(100%, 300px);
  max-height: 4.75rem;
  object-fit: contain; flex-shrink: 0;
  background: transparent; border-radius: 0; padding: 0;
  box-shadow: none;
  filter: none;
}
.cca-auth__mark {
  width: 2.5rem; height: 2.5rem; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
  background: #FFFFFF; color: var(--brand);
  font-weight: 800; font-size: 0.7rem; letter-spacing: 0.04em;
}
.cca-auth__visual-copy { margin-top: auto; max-width: 28rem; padding-top: 3rem; }
.cca-auth__eyebrow {
  margin: 0 0 0.85rem; font-size: 0.72rem; font-weight: 650;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250,250,250,0.55);
}
.cca-auth__visual-copy h1 {
  color: #FFFFFF; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.08; margin: 0 0 1rem;
}
.cca-auth__visual-copy p {
  color: rgba(250,250,250,0.78); font-size: 1.02rem; line-height: 1.65; font-weight: 450;
  max-width: 26rem;
}

/* Photo collage on auth left */
.cca-auth__photos,
.cca-auth__photo { display: none !important; }

.cca-auth__points {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 0.55rem;
}
.cca-auth__points li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem; font-weight: 500; color: rgba(250,250,250,0.88);
  backdrop-filter: blur(8px);
}
.cca-auth__points li::before {
  content: "";
  width: 0.45rem; height: 0.45rem; margin-top: 0.4rem; flex-shrink: 0;
  border-radius: 50%; background: #FFFFFF;
}

.cca-auth__form-pane {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #FFFFFF;
  min-height: 100vh;
}
.cca-auth__form-wrap {
  width: 100%; max-width: 420px;
  animation: cca-in 0.5s var(--ease) both;
}
.cca-auth__form-wrap--wide { max-width: 480px; }
.cca-auth__form-head { margin-bottom: 1.5rem; }
.cca-auth__form-head h2 {
  font-size: 1.85rem; font-weight: 700; letter-spacing: -0.04em; margin: 0.2rem 0 0.4rem;
}
.cca-auth__form-head .cca-muted { margin: 0; }
.cca-auth .cca-form { gap: 1.1rem; }
.cca-auth .cca-field > span { font-size: 0.8rem; font-weight: 600; }
.cca-auth .cca-form input:not([type="checkbox"]):not([type="radio"]),
.cca-auth .cca-field input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 3.1rem; padding: 0.85rem 1.05rem;
  border-radius: 12px; background: #F4F4F5; border: 1.5px solid transparent;
}
.cca-auth .cca-form input:not([type="checkbox"]):not([type="radio"]):hover,
.cca-auth .cca-field input:not([type="checkbox"]):not([type="radio"]):hover {
  background: #FAFAFA; border-color: rgba(12,12,13,0.12);
}
.cca-auth .cca-form input:not([type="checkbox"]):not([type="radio"]):focus,
.cca-auth .cca-field input:not([type="checkbox"]):not([type="radio"]):focus {
  background: #FFFFFF; border-color: #52525B;
  box-shadow: 0 0 0 4px rgba(12, 12, 13, 0.08);
}
.cca-auth-grid { align-items: start; }
@media (max-width: 640px) {
  .cca-auth .cca-grid-2 { grid-template-columns: 1fr; }
}
.cca-auth .cca-auth-switch {
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(12, 12, 13, 0.08);
}
.cca-auth-card,
.cca-auth__mesh,
.cca-auth-footnote { display: none !important; }

@media (max-width: 980px) {
  .cca-auth { grid-template-columns: 1fr; }
  .cca-auth__visual {
    min-height: auto; padding: 1.5rem 1.35rem 2rem;
  }
  .cca-auth__visual-copy { margin-top: 1.75rem; }
  .cca-auth__visual-copy h1 { font-size: 1.85rem; }
  .cca-auth__photos { display: none !important; }
  .cca-auth__points { display: none; }
  .cca-auth__form-pane {
    min-height: auto; align-items: flex-start; padding: 1.75rem 1.35rem 2.5rem;
  }
}

/* ========== APP SHELL ========== */
.cca-impersonate-bar {
  position: sticky; top: 0; z-index: 80;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem;
  padding: 0.55rem 1rem;
  background: #ffc107; color: #111;
  font-size: 0.85rem; font-weight: 650;
}
.cca-impersonate-bar a {
  margin-left: auto; color: #111; text-decoration: underline; font-weight: 750;
}
.cca-shell {
  display: grid;
  grid-template-columns: var(--nav-w) minmax(0, 1fr);
  min-height: 100vh;
}
.cca-nav {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none;
  background: #141414;
  padding: 1.15rem 0.8rem 1.1rem;
  display: flex; flex-direction: column;
  color: var(--nav-text);
  border-right: 1px solid rgba(255,255,255,0.06);
  box-shadow: 8px 0 28px rgba(0, 0, 0, 0.18);
}
.cca-nav::-webkit-scrollbar { width: 0; height: 0; }
.cca-nav__top { padding: 0.1rem 0.45rem 1.05rem; margin-bottom: 0.35rem; }
.cca-nav__logo {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.25rem 0.15rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.cca-nav__logo img {
  width: 100%; height: auto; max-height: 3.75rem;
  object-fit: contain; display: block;
  background: transparent;
}
.cca-nav__mark {
  width: 2.5rem; height: 2.5rem; border-radius: 14px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--brand);
  color: #000; font-weight: 800; font-size: 0.7rem;
  box-shadow: 0 10px 28px var(--accent-glow);
}
.cca-nav__logo-text strong {
  display: block; color: var(--nav-text-strong); font-size: 0.95rem; font-weight: 700;
}
.cca-nav__logo-text em {
  display: block; font-style: normal; font-size: 0.7rem; color: var(--nav-text); margin-top: 0.05rem;
}
.cca-nav__user {
  display: flex; gap: 0.7rem; align-items: center;
  margin: 0.15rem 0.15rem 1.15rem; padding: 0.8rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.cca-nav__user-link {
  display: flex; gap: 0.7rem; align-items: center;
  min-width: 0; flex: 1; color: inherit;
}
.cca-nav__user-link:hover strong { color: #ffffff; }
.cca-nav__user-link strong { color: #ffffff; }
.cca-nav__user-hint {
  display: block; margin-top: 0.15rem;
  font-style: normal; font-size: 0.68rem; font-weight: 650;
  color: #0866ff;
}
.cca-nav__avatar {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(145deg, var(--brand), #e6ac00);
  color: #000; font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.12);
}
.cca-nav__avatar--img {
  object-fit: cover; padding: 0; display: block;
}
.cca-nav__user-text { min-width: 0; flex: 1; }
.cca-nav__user-text strong {
  display: block; color: #ffffff; font-size: 0.9rem; font-weight: 750;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cca-nav__user-text span,
.cca-nav__status {
  display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap;
  margin-top: 0.12rem; font-size: 0.7rem; color: rgba(255,255,255,0.72); line-height: 1.2;
}
.cca-nav__verified {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  font-style: normal;
  vertical-align: middle;
}
.cca-nav__verified.is-checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.5px;
  height: 6.5px;
  border: solid #fff;
  border-width: 0 1.8px 1.8px 0;
  transform: translate(-50%, -58%) rotate(45deg);
  box-sizing: border-box;
}
.cca-nav__section {
  margin: 0.4rem 0.7rem 0.5rem;
  font-size: 0.62rem; font-weight: 650; letter-spacing: 0.12em;
  text-transform: uppercase; color: #ffffff;
}
.cca-nav__menu { display: flex; flex-direction: column; gap: 0.22rem; flex: 1; }
.cca-nav__link {
  position: relative;
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center;
  column-gap: 0.7rem; padding: 0.68rem 0.8rem;
  border-radius: 12px; color: var(--nav-text); font-size: 0.95rem; font-weight: 600;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.cca-nav__ico { width: 22px; height: 22px; display: grid; place-items: center; }
.cca-nav__ico .cca-ico { width: 17px; height: 17px; display: block; opacity: 0.8; }
.cca-nav__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cca-nav__link:hover {
  background: var(--nav-hover); color: var(--nav-text-strong); transform: translateX(2px);
}
.cca-nav__link.is-active {
  background: var(--nav-active); color: #000000; font-weight: 700;
  box-shadow: none;
}
.cca-nav__link.is-active::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px;
  border-radius: 0 4px 4px 0; background: #000000;
  box-shadow: none;
}
.cca-nav__link.is-active .cca-ico { opacity: 1; color: #000000; }
.cca-nav__badge {
  min-width: 1.2rem; height: 1.2rem; padding: 0 0.32rem; border-radius: 999px;
  background: var(--brand); color: #000; font-size: 0.62rem; font-weight: 700;
  font-style: normal; display: inline-flex; align-items: center; justify-content: center;
}
.cca-nav__footer {
  margin-top: auto; padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.18rem;
}

/* ========== TOP BAR ========== */
.cca-workspace { min-width: 0; width: 100%; display: flex; flex-direction: column; min-height: 100vh; }
.cca-topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem clamp(1.35rem, 3vw, 2.4rem);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.cca-topbar__left { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.cca-topbar__title {
  margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -0.04em;
  white-space: nowrap;
}
.cca-topbar__right { display: flex; align-items: center; gap: 0.3rem; }
.cca-topbar__divider {
  width: 1px; height: 1.55rem; margin: 0 0.5rem;
  background: rgba(12, 12, 13, 0.12);
}
.cca-icon-btn {
  position: relative;
  width: 2.5rem; height: 2.5rem; border: 0; border-radius: 12px;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--ink-2);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.cca-icon-btn:hover, .cca-icon-btn[aria-expanded="true"] {
  background: rgba(12, 12, 13, 0.08); color: var(--accent-hover);
  transform: translateY(-1px);
}
.cca-icon-btn__badge {
  position: absolute; top: 3px; right: 3px;
  min-width: 1.05rem; height: 1.05rem; padding: 0 0.22rem; border-radius: 999px;
  background: var(--accent); color: #000; font-size: 0.58rem; font-weight: 750;
  font-style: normal; display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--bg);
}
.cca-top-search-wrap { position: relative; }
.cca-top-search-panel {
  position: absolute; top: calc(100% + 0.6rem); right: 0; z-index: 40;
  width: min(320px, calc(100vw - 2rem));
  padding: 0.8rem; border-radius: 16px; background: #FFFEFE;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  transform-origin: top right; animation: cca-dd-in 180ms var(--ease) both;
}
.cca-top-search-field {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 0.85rem; border-radius: 12px;
  background: var(--surface-2); border: 1.5px solid transparent;
}
.cca-top-search-field:focus-within {
  border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff;
}
.cca-top-search-field svg { color: var(--muted); flex-shrink: 0; }
.cca-top-search-field input {
  border: 0; outline: none; background: transparent; width: 100%;
  color: var(--ink); font-size: 0.9rem; font-weight: 500;
}
.cca-top-search-hints { display: grid; gap: 0.15rem; margin-top: 0.55rem; max-height: 220px; overflow: auto; }
.cca-top-search-hint {
  padding: 0.6rem 0.75rem; border-radius: 10px;
  font-size: 0.875rem; font-weight: 550; color: var(--ink-2);
  transition: background 150ms var(--ease);
}
.cca-top-search-hint:hover, .cca-top-search-hint.is-match { background: var(--bg); color: var(--ink); }
.cca-top-search-hint.is-hidden { display: none; }

.cca-dd { position: relative; }
.cca-dd__panel {
  position: absolute; top: calc(100% + 0.6rem); right: 0; z-index: 40;
  width: min(360px, calc(100vw - 1.5rem));
  border-radius: 16px; background: #FFFEFE;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  transform-origin: top right; animation: cca-dd-in 180ms var(--ease) both;
  overflow: hidden;
}
.cca-dd__panel--profile { width: min(288px, calc(100vw - 1.5rem)); }
.cca-dd__head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 1rem 1.1rem 0.75rem;
}
.cca-dd__head strong { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.cca-dd__link {
  border: 0; background: none; cursor: pointer; padding: 0;
  color: var(--accent); font-size: 0.74rem; font-weight: 650;
}
.cca-dd__link:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 2px; }
.cca-dd__link:disabled { opacity: 0.4; cursor: default; }
.cca-dd__list {
  max-height: 320px;
  overflow: auto;
  padding: 0.4rem 0.65rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cca-dd__item {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 0.65rem; align-items: flex-start;
  padding: 0.8rem 0.75rem; border-radius: 12px; cursor: pointer;
  transition: background 150ms var(--ease);
  text-decoration: none;
  border: 1px solid transparent;
}
.cca-dd__item:hover { background: var(--bg); }
.cca-dd__item.is-unread {
  background: var(--accent-soft);
  border-color: rgba(255, 193, 7, 0.12);
  box-shadow: inset 3px 0 0 var(--accent);
}
.cca-dd__item-ico {
  width: 2.1rem; height: 2.1rem; border-radius: 11px;
  display: grid; place-items: center;
}
.cca-dd__item-ico.is-lead { background: var(--accent-soft); color: var(--accent-hover); }
.cca-dd__item-ico.is-message { background: #E0E7FF; color: #4338CA; }
.cca-dd__item-ico.is-approval { background: #DCFCE7; color: #15803D; }
.cca-dd__item-ico.is-community { background: #FCE7F3; color: #BE185D; }
.cca-dd__item-ico.is-event { background: #FEE2E2; color: #ffc107; }
.cca-dd__item-ico.is-ad { background: #E0F2FE; color: #0369A1; }
.cca-dd__item-ico.is-alert { background: #FEF3C7; color: #B45309; }
.cca-dd__item-body strong { display: block; font-size: 0.84rem; font-weight: 650; color: var(--ink); margin-bottom: 0.1rem; }
.cca-dd__item-body span { display: block; font-size: 0.74rem; color: var(--muted); font-weight: 450; line-height: 1.4; }
.cca-dd__item time { font-size: 0.66rem; color: #A1A1AA; font-weight: 550; white-space: nowrap; padding-top: 0.15rem; }
.cca-dd__empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.45rem; padding: 1.85rem 1rem;
}
.cca-dd__empty-ico {
  width: 2.7rem; height: 2.7rem; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg); color: var(--muted);
}
.cca-dd__empty p { font-size: 0.84rem; color: var(--muted); font-weight: 500; max-width: 16rem; }
.cca-dd__foot {
  padding: 0.75rem 1rem 0.95rem; border-top: 1px solid var(--border); text-align: center;
}
.cca-dd__foot a { font-size: 0.8rem; font-weight: 650; color: var(--accent); }
.cca-dd__foot a:hover { text-decoration: underline; text-underline-offset: 2px; }

.cca-profile-trigger {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.3rem 0.5rem 0.3rem 0.3rem; margin: 0;
  border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink);
  transition: background var(--t) var(--ease);
}
.cca-profile-trigger:hover, .cca-profile-trigger[aria-expanded="true"] {
  background: rgba(12, 12, 13, 0.05);
}
.cca-profile-trigger__avatar {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #3F3F46, #52525B);
  color: #fff; font-weight: 700; font-size: 0.72rem;
  box-shadow: 0 6px 16px var(--accent-glow);
}
.cca-profile-trigger__avatar--img {
  object-fit: cover; padding: 0; display: block;
}
.cca-profile-trigger__meta {
  display: grid; text-align: left; min-width: 0; max-width: 10rem;
}
.cca-profile-trigger__meta strong {
  font-size: 0.84rem; font-weight: 650; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cca-profile-trigger__chev { color: var(--muted); flex-shrink: 0; transition: transform var(--t) var(--ease); }
.cca-profile-trigger[aria-expanded="true"] .cca-profile-trigger__chev { transform: rotate(180deg); }
.cca-dd__profile {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1.1rem 1.1rem 0.9rem;
}
.cca-dd__profile-avatar {
  width: 2.85rem; height: 2.85rem; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(145deg, #3F3F46, #52525B);
  color: #fff; font-weight: 700; font-size: 0.9rem;
}
.cca-dd__profile-avatar--img {
  object-fit: cover; padding: 0; display: block;
}
.cca-dd__profile strong {
  display: block; font-size: 0.92rem; font-weight: 700; color: var(--ink);
  margin-bottom: 0.3rem; max-width: 11rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cca-tier-badge {
  display: inline-flex; padding: 0.18rem 0.55rem; border-radius: 999px;
  font-size: 0.66rem; font-weight: 650;
}
.cca-tier-badge.is-community { background: #F4F4F5; color: #52525B; }
.cca-tier-badge.is-featured { background: #F4F4F5; color: #52525B; }
.cca-tier-badge.is-sponsor {
  background: #27272A; color: #FAFAFA;
}
.cca-dd__menu { padding: 0.15rem 0.45rem 0.35rem; display: grid; gap: 0.1rem; }
.cca-dd__menu-item {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.7rem 0.75rem; border-radius: 12px;
  font-size: 0.875rem; font-weight: 550; color: var(--ink-2);
  transition: background 150ms var(--ease), color 150ms var(--ease);
}
.cca-dd__menu-item:hover { background: var(--bg); color: var(--ink); }
.cca-dd__menu-ico { width: 1.15rem; height: 1.15rem; display: grid; place-items: center; color: var(--muted); }
.cca-dd__menu-item.is-danger { color: #DC2626; }
.cca-dd__menu-item.is-danger .cca-dd__menu-ico { color: #DC2626; }
.cca-dd__menu-item.is-danger:hover { background: #FEF2F2; color: #B91C1C; }
.cca-dd__sep { height: 1px; margin: 0.4rem 0.9rem; background: var(--border); }

.cca-main {
  flex: 1; width: 100%; min-width: 0;
  padding: 1.6rem clamp(1.35rem, 3vw, 2.4rem) 3rem;
  animation: cca-fade-in 0.35s var(--ease) both;
}
@keyframes cca-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cca-kicker {
  margin: 0 0 0.4rem !important; font-size: 0.7rem; font-weight: 650;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--brand);
}
.cca-muted { color: var(--muted); font-size: 0.9rem; font-weight: 450; }
.cca-page-head {
  display: flex; justify-content: space-between; gap: 1rem;
  align-items: flex-start; margin-bottom: 1.5rem;
}
.cca-page-head h1 { margin-bottom: 0.35rem; }
.cca-page-head .cca-muted { max-width: 42rem; }

/* Banners */
.cca-banner {
  display: flex; gap: 0.95rem; align-items: flex-start;
  padding: 1.1rem 1.2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 1.3rem; box-shadow: var(--shadow);
}
.cca-banner.is-warn {
  background: linear-gradient(135deg, #FAFAFA, #FFFFFF);
  border-color: rgba(255, 255, 255, 0.18);
}
.cca-banner.is-ok {
  background: linear-gradient(135deg, #F0FDF4, #FFFFFF);
  border-color: #BBF7D0;
}
.cca-banner__icon {
  width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg); color: var(--ink-2); flex-shrink: 0;
}
.cca-banner.is-warn .cca-banner__icon { color: var(--accent-hover); background: #F4F4F5; }
.cca-banner.is-ok .cca-banner__icon { color: #15803D; background: #DCFCE7; }
.cca-banner strong { display: block; font-size: 0.92rem; font-weight: 650; color: var(--ink); margin-bottom: 0.15rem; }
.cca-banner p { font-size: 0.84rem; color: var(--muted); }

/* Dashboard welcome + unified profile setup */
.cca-dash-welcome {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.35rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: #141414;
  color: #ffffff;
}
.cca-dash-welcome .cca-kicker { color: var(--brand); }
.cca-dash-welcome h1 {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem); font-weight: 700; margin: 0.15rem 0 0.35rem;
  color: #ffffff;
}
.cca-dash-welcome .cca-muted { color: rgba(255,255,255,0.72); }
.cca-dash-welcome .cca-btn {
  background: var(--brand); color: #000000; border-color: var(--brand);
}
.cca-dash-profile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.45rem 1.15rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.cca-dash-profile__head {
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  flex-wrap: wrap; margin-bottom: 1.1rem; padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.cca-dash-profile__identity {
  display: flex; align-items: flex-start; gap: 0.95rem; min-width: 0; flex: 1;
}
.cca-dash-profile__avatar {
  width: 3.6rem; height: 3.6rem; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--brand), #e6ac00); color: #000;
  font-weight: 700; font-size: 1.05rem;
}
.cca-dash-profile__avatar--img {
  object-fit: cover; padding: 0; display: block;
  border: 1px solid var(--border);
}
.cca-dash-profile__identity h2 {
  font-size: 1.2rem; font-weight: 700; margin: 0 0 0.2rem;
}
.cca-dash-profile__chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.65rem;
}
.cca-dash-profile__chips .cca-chip.is-ok {
  background: #ECFDF5; color: #15803D; border-color: #BBF7D0;
}
.cca-dash-profile__chips .cca-chip.is-pending {
  background: #F4F4F5; color: #52525B; border-color: #E4E4E7;
}
.cca-dash-profile__progress {
  display: flex; align-items: center; gap: 0.9rem;
  min-width: min(280px, 100%);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #FAFAFA;
  border: 1px solid var(--border);
}
.cca-dash-profile__pct {
  display: grid; text-align: center; min-width: 3.5rem;
}
.cca-dash-profile__pct strong {
  font-size: 1.35rem; font-weight: 750; color: var(--ink); letter-spacing: -0.03em; line-height: 1;
}
.cca-dash-profile__pct span {
  font-size: 0.68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 0.2rem;
}
.cca-dash-profile__note {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.85rem 1rem; margin-bottom: 1rem;
  border-radius: 12px;
  background: #FAFAFA;
  border: 1px solid var(--border);
}
.cca-dash-profile__note strong { font-size: 0.88rem; font-weight: 650; color: var(--ink); }
.cca-dash-profile__note span { font-size: 0.8rem; color: var(--muted); font-weight: 450; }
.cca-checklist--flat { gap: 0; }
.cca-checklist--flat li {
  background: transparent; border-color: transparent;
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.cca-checklist--flat li:last-child { border-bottom: 0; }
.cca-checklist--flat li:hover {
  background: #FAFAFA; border-color: transparent; box-shadow: none; border-radius: 10px; padding-left: 0.55rem; padding-right: 0.55rem;
}
.cca-tile-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Profile wizard */
.cca-wizard-progress {
  height: 4px; border-radius: 999px; background: #E4E4E7; margin-bottom: 1.25rem; overflow: hidden;
}
.cca-wizard-progress__bar {
  height: 100%; width: 25%; background: var(--accent); border-radius: 999px;
  transition: width 280ms var(--ease);
}
.cca-wizard-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.cca-wizard-steps__btn {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.8rem 0.55rem; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; color: var(--muted); font-weight: 600; font-size: 0.8rem;
  cursor: pointer; transition: background 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.cca-wizard-steps__btn:hover { color: var(--ink); border-color: var(--border-strong); }
.cca-wizard-steps__btn.is-active {
  color: #000000; background: var(--accent); border-color: var(--accent);
  font-weight: 700;
}
.cca-wizard-steps__btn.is-done {
  color: var(--ink); background: #ECECEF; border-color: transparent;
}
.cca-wizard-steps__num {
  width: 1.35rem; height: 1.35rem; border-radius: 999px;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 700;
  background: rgba(0,0,0,0.06); color: inherit;
}
.cca-wizard-steps__btn.is-active .cca-wizard-steps__num {
  background: rgba(0,0,0,0.12); color: #000000;
}
.cca-wizard-panel[hidden] { display: none !important; }
.cca-wizard-footer {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 0.75rem; padding-top: 0.5rem;
}
.cca-wizard-footer__spacer { flex: 1; }
.cca-btn--sm { padding: 0.45rem 0.85rem; font-size: 0.8rem; border-radius: 999px; }
.cca-profile-social { margin-top: 0.5rem; }
.cca-panel__title-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.4rem;
}
.cca-panel__title-row .cca-panel__intro { margin-bottom: 0; }
.cca-panel__step {
  flex-shrink: 0;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--muted); padding: 0.3rem 0.55rem; border-radius: 999px;
  background: #F4F4F5; border: 1px solid var(--border);
}
.cca-profile-form { gap: 1.35rem; }
.cca-profile-form .cca-wizard-panel { display: grid; gap: 1.15rem; }
.cca-profile-form .cca-grid-2,
.cca-profile-form .cca-grid-3 { gap: 1.1rem 1.25rem; }
.cca-profile-form .cca-grid-2 > .cca-field:nth-child(3),
.cca-profile-form .cca-grid-2 > .cca-field:nth-child(5) { grid-column: auto; }
.cca-page-head { margin-bottom: 1.75rem; }
.cca-profile-form + .cca-wizard-footer,
.cca-banner { margin-bottom: 1.35rem; }
.cca-field__hint {
  margin: -0.15rem 0 0; font-size: 0.8rem; color: var(--muted); font-weight: 450;
}

/* Services tag editor */
.cca-services__box {
  padding: 0.85rem;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1.5px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
.cca-services__box:focus-within {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.cca-services__tags {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  min-height: 0; margin-bottom: 0.65rem;
}
.cca-services__tags:empty { display: none; margin: 0; }
.cca-services__tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.55rem 0.4rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-size: 0.84rem; font-weight: 600;
}
.cca-services__remove {
  width: 1.25rem; height: 1.25rem; border: 0; border-radius: 50%;
  background: #F4F4F5; color: #111; cursor: pointer;
  font-size: 0.95rem; line-height: 1; display: grid; place-items: center;
}
.cca-services__remove:hover { background: var(--accent-soft); color: var(--brand); }
.cca-services__row {
  display: grid; grid-template-columns: 1fr auto; gap: 0.55rem; align-items: center;
  margin-top: 0.55rem;
}
.cca-services__row:first-of-type { margin-top: 0; }
.cca-services__input,
.cca-services__select {
  width: 100%; border: 0 !important; background: #fff !important;
  box-shadow: none !important; min-height: 2.75rem;
  border-radius: 12px !important; padding: 0.7rem 0.95rem !important;
}
.cca-services__select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230C0C0D' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.9rem center !important;
  background-size: 15px !important;
  padding-right: 2.4rem !important;
  cursor: pointer;
}
.cca-services__suggestions {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.65rem;
  max-height: 9.5rem;
  overflow: auto;
  padding-right: 0.15rem;
}
.cca-services__chip {
  border: 1px dashed var(--border-strong);
  background: #fff; color: var(--ink);
  border-radius: 999px; padding: 0.35rem 0.75rem;
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
}
.cca-services__chip:hover {
  border-style: solid; border-color: var(--brand); color: var(--brand);
  background: var(--accent-soft);
}

/* Selects â€” keep chevron (don't use background shorthand) */
.cca-form select,
.cca-field select {
  appearance: none; -webkit-appearance: none;
  background-color: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230C0C0D' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 15px;
  padding-right: 2.55rem;
  cursor: pointer;
}
.cca-form select:hover,
.cca-field select:hover {
  background-color: #fff; border-color: var(--border-strong);
}
.cca-form select:focus,
.cca-field select:focus {
  outline: none; border-color: #52525B; background-color: #fff;
  box-shadow: 0 0 0 4px rgba(12, 12, 13, 0.08);
}
.cca-form select:disabled,
.cca-field select:disabled {
  opacity: 0.45; cursor: not-allowed;
}
.cca-select-time {
  font-variant-numeric: tabular-nums;
  min-height: 2.85rem;
  padding-top: 0.7rem; padding-bottom: 0.7rem;
}

.cca-hours-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.85rem;
}
.cca-hours-list {
  display: grid; gap: 0.5rem;
}
.cca-hours-row {
  display: grid;
  grid-template-columns: 108px 118px minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem; align-items: end;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #FAFAFA;
}
.cca-hours-row__day {
  font-size: 0.9rem; font-weight: 650; color: var(--ink);
  padding-bottom: 0.75rem;
}
.cca-hours-switch {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding-bottom: 0.75rem; cursor: pointer; user-select: none;
}
.cca-hours-switch input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.cca-hours-switch__track {
  width: 2.2rem; height: 1.25rem; border-radius: 999px;
  background: #D4D4D8; position: relative; flex-shrink: 0;
  transition: background 150ms var(--ease);
}
.cca-hours-switch__track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 1rem; height: 1rem; border-radius: 999px; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: transform 150ms var(--ease);
}
.cca-hours-switch input:checked + .cca-hours-switch__track { background: #52525B; }
.cca-hours-switch input:checked + .cca-hours-switch__track::after { transform: translateX(0.95rem); }
.cca-hours-switch__label { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.cca-hours-row__time span {
  font-size: 0.68rem; font-weight: 700; color: var(--muted);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.cca-hours-row.is-closed { opacity: 0.7; }
.cca-hours-row.is-closed .cca-hours-row__time { opacity: 0.4; pointer-events: none; }

/* Drag & drop logo */
.cca-dropzone {
  position: relative;
  border: 1.5px dashed #D4D4D8;
  border-radius: 16px;
  background: #FAFAFA;
  min-height: 9.5rem;
  overflow: hidden;
  transition: border-color 150ms var(--ease), background 150ms var(--ease), box-shadow 150ms var(--ease);
}
.cca-dropzone:hover,
.cca-dropzone.is-dragover {
  border-color: #52525B;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(12, 12, 13, 0.06);
}
.cca-dropzone input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 2;
  padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; min-height: 0 !important;
}
.cca-dropzone__empty {
  display: grid; place-items: center; text-align: center; gap: 0.25rem;
  padding: 1.75rem 1.25rem; pointer-events: none;
}
.cca-dropzone__empty[hidden],
.cca-dropzone__preview[hidden],
.cca-dropzone.has-file .cca-dropzone__empty,
.cca-dropzone:not(.has-file) .cca-dropzone__preview {
  display: none !important;
}
.cca-dropzone__empty strong { font-size: 0.95rem; font-weight: 650; color: var(--ink); }
.cca-dropzone__empty p { font-size: 0.8rem; color: var(--muted); margin: 0; }
.cca-dropzone__icon {
  width: 3rem; height: 3rem; border-radius: 14px; margin-bottom: 0.35rem;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--ink);
}
.cca-dropzone__preview {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.1rem; pointer-events: none;
}
.cca-dropzone__preview img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--border); background: #fff; flex-shrink: 0;
}
.cca-dropzone__meta { flex: 1; min-width: 0; display: grid; gap: 0.15rem; }
.cca-dropzone__meta strong { font-size: 0.9rem; font-weight: 650; }
.cca-dropzone__preview [data-dropzone-clear] {
  pointer-events: auto; position: relative; z-index: 3;
}
.cca-dropzone__preview--multi {
  flex-wrap: wrap; align-items: flex-start;
}
.cca-dropzone__thumbs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem; width: 100%; order: -1;
}
.cca-dropzone__thumbs img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--border); background: #fff;
}
.cca-dropzone--multi .cca-dropzone__preview--multi .cca-dropzone__meta {
  flex: 1 1 100%;
}

@media (max-width: 860px) {
  .cca-wizard-steps__label { display: none; }
  .cca-hours-row {
    grid-template-columns: 1fr 1fr;
  }
  .cca-hours-row__day {
    grid-column: 1;
    padding-bottom: 0;
  }
  .cca-hours-switch { padding-bottom: 0; justify-self: end; }
}
.cca-hero {
  display: grid; grid-template-columns: 1.15fr 0.95fr; gap: 1.1rem; margin-bottom: 1.35rem;
}
.cca-hero__card {
  position: relative; overflow: hidden;
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.cca-hero__cover {
  height: 108px;
  background:
    radial-gradient(circle at 18% 40%, rgba(255, 138, 101, 0.9), transparent 42%),
    radial-gradient(circle at 85% 10%, rgba(251, 191, 36, 0.55), transparent 38%),
    linear-gradient(125deg, #18181B, #3F3F46 55%, #71717A);
}
.cca-hero__body { padding: 0 1.45rem 1.45rem; margin-top: -2.15rem; position: relative; }
.cca-hero__avatar {
  width: 4.5rem; height: 4.5rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 700;
  background: linear-gradient(145deg, #3F3F46, #52525B); color: #fff;
  border: 4px solid var(--surface); box-shadow: var(--shadow-md);
  margin-bottom: 0.85rem;
}
.cca-hero__body h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25rem; }
.cca-hero__meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.85rem 0 1.1rem; }
.cca-hero__meta span {
  padding: 0.28rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
  background: var(--bg); color: var(--ink-2); border: 1px solid var(--border);
}
.cca-hero__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.cca-complete {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.35rem 1.45rem; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.cca-ring {
  --p: 40;
  width: 4.75rem; height: 4.75rem; border-radius: 50%; flex-shrink: 0;
  background:
    radial-gradient(closest-side, var(--surface) 74%, transparent 75% 100%),
    conic-gradient(var(--accent) calc(var(--p) * 1%), #E4E4E7 0);
  display: grid; place-items: center;
}
.cca-ring strong { font-size: 0.88rem; font-weight: 750; color: var(--ink); }
.cca-complete__text { flex: 1; min-width: 0; }
.cca-complete__text strong { display: block; font-size: 1.05rem; font-weight: 650; color: var(--ink); margin-bottom: 0.25rem; }
.cca-complete__text p { font-size: 0.84rem; color: var(--muted); }

/* Stats */
.cca-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem; margin-bottom: 1.4rem;
}
.cca-stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.3rem; box-shadow: var(--shadow);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.cca-stat:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cca-stat__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.9rem; }
.cca-stat__label {
  font-size: 0.7rem; font-weight: 650; color: var(--muted);
  letter-spacing: 0.07em; text-transform: uppercase;
}
.cca-stat__icon {
  width: 2.45rem; height: 2.45rem; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-hover);
}
.cca-stat strong {
  display: block; font-size: 2rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.045em; line-height: 1;
}
.cca-stat em {
  display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.78rem; color: var(--muted); font-weight: 450;
}
.cca-stat__cta {
  display: inline-block; margin-top: 0.6rem; font-size: 0.8rem; font-weight: 650; color: var(--accent);
}
.cca-stat__cta:hover { text-decoration: underline; text-underline-offset: 2px; }

.cca-dash-grid {
  display: grid; grid-template-columns: 1.35fr 0.95fr; gap: 1.1rem; margin-bottom: 0.25rem;
}
.cca-panel, .cca-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.45rem 1.5rem; margin-bottom: 1.1rem; box-shadow: var(--shadow);
}
.cca-panel h2 { margin-bottom: 0.3rem; }
.cca-panel__intro { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.15rem; font-weight: 450; }

.cca-progress { margin: 0.4rem 0 1.2rem; }
.cca-progress__bar {
  height: 10px; border-radius: 999px; background: #E4E4E7; overflow: hidden;
}
.cca-progress__bar > i {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #52525B, #52525B);
  transition: width 0.6s var(--ease);
}
.cca-progress__meta {
  display: flex; justify-content: space-between; margin-top: 0.55rem;
  font-size: 0.76rem; color: var(--muted); font-weight: 550;
}
.cca-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.cca-checklist li {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.9rem 1rem; border-radius: 14px; border: 1px solid var(--border);
  background: var(--surface-2);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.cca-checklist li:hover { background: var(--surface); box-shadow: var(--shadow-xs); border-color: var(--border-strong); }
.cca-checklist li.is-done { opacity: 0.78; }
.cca-checklist__left { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.cca-checklist__mark {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #D4D4D8;
  flex-shrink: 0;
  background: #fff;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
}
.cca-checklist__mark.is-checked {
  background: var(--brand);
  border-color: var(--brand);
}
.cca-checklist__mark.is-checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2.2px 2.2px 0;
  transform: translate(-50%, -58%) rotate(45deg);
  box-sizing: border-box;
}
.cca-checklist li.is-done .cca-checklist__mark {
  background: var(--brand);
  border-color: var(--brand);
}
.cca-checklist strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.cca-checklist li.is-done strong { color: var(--muted); }
.cca-checklist__left > div > span {
  display: block; font-size: 0.76rem; color: var(--muted); font-weight: 450; margin-top: 0.12rem; line-height: 1.3;
}

.cca-tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.cca-tile {
  display: flex; flex-direction: column; gap: 0.4rem; padding: 1.1rem;
  border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease), background var(--t) var(--ease);
}
.cca-tile:hover {
  border-color: rgba(12, 12, 13, 0.18); box-shadow: var(--shadow); transform: translateY(-3px); background: var(--surface);
}
.cca-tile svg { color: var(--accent); }
.cca-tile strong { font-size: 0.9rem; font-weight: 650; color: var(--ink); }
.cca-tile span { font-size: 0.76rem; color: var(--muted); font-weight: 450; }

/* Pricing */
.cca-pricing { margin-top: 0.55rem; }
.cca-pricing__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  margin-bottom: 1.15rem; flex-wrap: wrap;
}
.cca-pricing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.95rem; }
.cca-price {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem;
  background: var(--surface); display: flex; flex-direction: column; gap: 0.4rem;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.cca-price:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cca-price.is-featured, .cca-price.is-current {
  border-color: rgba(12, 12, 13, 0.2);
  background: linear-gradient(180deg, #FAFAFA, var(--surface));
  box-shadow: 0 0 0 1px rgba(12, 12, 13, 0.08), var(--shadow);
}
.cca-price__name {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.cca-price__amount { font-size: 1.85rem; font-weight: 750; color: var(--ink); letter-spacing: -0.04em; }
.cca-price__amount span { font-size: 0.82rem; font-weight: 500; color: var(--muted); }
.cca-price ul {
  list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.42rem;
  font-size: 0.84rem; color: var(--ink-2); font-weight: 450;
}
.cca-price ul li { display: flex; gap: 0.45rem; align-items: flex-start; }
.cca-price ul li::before {
  content: "âœ“"; color: var(--accent); font-weight: 700; font-size: 0.75rem; margin-top: 0.1rem;
}
.cca-trial {
  margin-top: 1.15rem; padding: 1.1rem 1.25rem; border-radius: 16px;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  background: linear-gradient(135deg, #FAFAFA, #F4F4F5);
  border: 1px solid rgba(12, 12, 13, 0.12);
}
.cca-trial strong { color: var(--ink); font-weight: 650; display: block; margin-bottom: 0.15rem; }

/* Forms */
.cca-form { display: grid; gap: 1.25rem; }
.cca-field, .cca-form label:not(.cca-check) { display: grid; gap: 0.55rem; }
.cca-field > span, .cca-form label > span:first-child {
  font-size: 0.8rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.cca-form input:not([type="checkbox"]):not([type="radio"]),
.cca-form textarea,
.cca-form select,
.cca-input,
.cca-field input:not([type="checkbox"]):not([type="radio"]),
.cca-field textarea,
.cca-field select {
  width: 100%; border: 1.5px solid transparent;
  background-color: var(--surface-2);
  color: var(--ink); padding: 0.9rem 1.05rem; border-radius: 14px;
  font-weight: 500;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
}
.cca-form select,
.cca-field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230C0C0D' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 15px;
  padding-right: 2.55rem;
  cursor: pointer;
}
.cca-form input:not([type="checkbox"]):not([type="radio"]):hover,
.cca-form textarea:hover,
.cca-form select:hover,
.cca-field input:not([type="checkbox"]):not([type="radio"]):hover,
.cca-field textarea:hover,
.cca-field select:hover {
  background-color: #fff; border-color: var(--border-strong);
}
.cca-form input:not([type="checkbox"]):not([type="radio"]):focus,
.cca-form textarea:focus,
.cca-form select:focus,
.cca-field input:not([type="checkbox"]):not([type="radio"]):focus,
.cca-field textarea:focus,
.cca-field select:focus {
  outline: none; border-color: var(--accent); background-color: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.cca-form input.is-invalid, .cca-field input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.cca-form input.is-valid, .cca-field input.is-valid { border-color: var(--ok); }
.cca-field-hint { font-size: 0.74rem; color: var(--muted); font-weight: 450; }
.cca-field-error { font-size: 0.74rem; color: var(--danger); display: none; font-weight: 600; }
.cca-field-error.is-visible { display: block; }
.cca-pass { position: relative; }
.cca-pass input { padding-right: 2.85rem; }
.cca-pass__toggle {
  position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
  width: 2.2rem; height: 2.2rem; border: 0; background: transparent; color: var(--muted);
  border-radius: 10px; cursor: pointer; display: grid; place-items: center;
}
.cca-pass__toggle:hover { color: var(--ink); background: var(--bg); }
.cca-pass__toggle .icon-hide { display: none; }
.cca-pass__toggle.is-on .icon-show { display: none; }
.cca-pass__toggle.is-on .icon-hide { display: block; }
.cca-pass-rules {
  list-style: none; margin: 0; padding: 0.85rem 0.95rem; display: grid; gap: 0.32rem;
  border-radius: 14px; background: var(--bg); border: 1px solid var(--border);
}
.cca-pass-rules li {
  display: flex; align-items: center; gap: 0.45rem; font-size: 0.76rem; color: var(--muted); font-weight: 450;
}
.cca-pass-rules li::before {
  content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #D4D4D8;
}
.cca-pass-rules li.is-met { color: var(--ok); }
.cca-pass-rules li.is-met::before { background: var(--ok); }
.cca-auth-row {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  flex-wrap: wrap;
}
.cca-check {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--ink-2); font-weight: 550;
  cursor: pointer; user-select: none; margin: 0; padding: 0;
  line-height: 1.2;
}
.cca-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-height: 0 !important;
  min-width: 0 !important;
  margin: 0;
  padding: 0 !important;
  flex: 0 0 1.05rem;
  border: 1.5px solid #A1A1AA !important;
  border-radius: 4px !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background 150ms var(--ease), border-color 150ms var(--ease);
}
.cca-check input[type="checkbox"]::after {
  content: "";
  width: 0.35rem; height: 0.6rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 120ms var(--ease);
  margin-bottom: 0.1rem;
}
.cca-check input[type="checkbox"]:checked {
  background: #52525B !important;
  border-color: #52525B !important;
}
.cca-check input[type="checkbox"]:checked::after {
  transform: rotate(45deg) scale(1);
}
.cca-check input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(12, 12, 13, 0.12) !important;
}
.cca-auth-links a, .cca-auth-switch a { color: var(--accent); font-weight: 650; }
.cca-auth-links a:hover, .cca-auth-switch a:hover { text-decoration: underline; text-underline-offset: 2px; }
.cca-auth-switch {
  margin-top: 1.35rem; text-align: center; color: var(--muted); font-size: 0.875rem; font-weight: 450;
  padding-top: 1.15rem; border-top: 1px solid var(--border);
}

.cca-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 2.7rem; padding: 0.6rem 1.25rem; border: 1px solid transparent;
  background: var(--accent);
  color: #000; font-weight: 650; font-size: 0.9rem;
  border-radius: 14px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(12, 12, 13, 0.16);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), filter var(--t) var(--ease), background var(--t) var(--ease);
}
.cca-btn:hover { background: var(--accent-hover); filter: none; box-shadow: 0 12px 26px rgba(255, 193, 7, 0.28); transform: translateY(-1px); }
.cca-btn:active { transform: none; }
.cca-btn.is-loading,
.cca-btn[data-loading="1"],
button.is-loading,
input.is-loading {
  pointer-events: none;
  opacity: 0.85;
  cursor: wait;
  transform: none !important;
}
.cca-btn-spinner {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: cca-spin 0.7s linear infinite;
  flex: 0 0 auto;
}
.cca-btn--ghost.is-loading .cca-btn-spinner,
.cca-btn--soft.is-loading .cca-btn-spinner,
.cca-btn--text.is-loading .cca-btn-spinner {
  border-color: rgba(255, 193, 7, 0.25);
  border-top-color: #ffc107;
}
@keyframes cca-spin {
  to { transform: rotate(360deg); }
}
.cca-btn--brand { background: var(--accent); }
.cca-btn--ghost {
  background: var(--surface); color: var(--ink); border-color: var(--border-strong);
  box-shadow: none;
}
.cca-btn--ghost:hover { background: var(--bg); box-shadow: var(--shadow-xs); filter: none; color: var(--ink); }
.cca-btn--text {
  background: transparent; color: var(--accent-hover); border: 0; min-height: auto;
  padding: 0.3rem 0.4rem; font-weight: 650; box-shadow: none;
}
.cca-btn--text:hover { background: var(--accent-soft); transform: none; box-shadow: none; filter: none; }
.cca-btn--sm { min-height: 2.15rem; padding: 0.4rem 0.85rem; font-size: 0.8rem; border-radius: 12px; box-shadow: none; }
.cca-btn--block { width: 100%; justify-content: center; }
.cca-btn--ink { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(63, 63, 70, 0.16); }
.cca-btn--soft {
  background: #F4F4F5; color: var(--brand-2); border-color: var(--border-strong); box-shadow: none;
}
.cca-btn--soft:hover { background: #E4E4E7; color: var(--brand-2); transform: none; box-shadow: none; }
.cca-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.cca-form-actions { display: flex; justify-content: flex-end; gap: 0.55rem; margin-top: 1rem; }
.cca-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cca-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.cca-form .cca-grid-2 > .cca-field:nth-child(3) { grid-column: 1 / -1; }

.cca-list { list-style: none; margin: 0; padding: 0; }
.cca-list li {
  display: flex; justify-content: space-between; gap: 0.75rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.cca-list li:last-child { border-bottom: 0; }
.cca-list span { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 450; }
.cca-inline { display: flex; gap: 0.4rem; }
.cca-link { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; font-weight: 650; }
.cca-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.cca-alert {
  background: var(--danger-soft); border: 1px solid #FECACA; color: var(--danger);
  padding: 0.9rem 1rem; margin-bottom: 0.95rem; border-radius: 14px; font-size: 0.875rem; font-weight: 550;
}
.cca-alert--ok,
.cca-ok {
  background: var(--ok-soft); border: 1px solid #BBF7D0; color: #15803D;
  padding: 0.9rem 1rem; margin-bottom: 0.95rem; border-radius: 14px; font-size: 0.875rem; font-weight: 550;
}
.cca-verify-resend {
  margin-top: 0.35rem; padding-top: 0.35rem;
}
.cca-thumb {
  width: 100px; height: 100px; object-fit: cover; border-radius: 16px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.cca-table { width: 100%; border-collapse: collapse; }
.cca-table th, .cca-table td {
  text-align: left; padding: 1rem 0.55rem; border-bottom: 1px solid var(--border); font-size: 0.875rem; font-weight: 450;
}
.cca-table th {
  color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 650;
}

.cca-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.5rem; padding: 3.25rem 1.5rem; border-radius: var(--radius);
  background: linear-gradient(180deg, #FFFEFE, var(--bg));
  border: 1.5px dashed rgba(12, 12, 13, 0.12);
}
.cca-empty__ico {
  width: 3.4rem; height: 3.4rem; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(145deg, #F4F4F5, #FAFAFA); color: var(--accent);
  margin-bottom: 0.4rem; box-shadow: var(--shadow);
}
.cca-empty strong { font-size: 1.05rem; font-weight: 650; color: var(--ink); }
.cca-empty p { max-width: 26rem; color: var(--muted); font-size: 0.9rem; font-weight: 450; }
.cca-empty .cca-btn { margin-top: 0.8rem; }

.cca-member-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 0.95rem;
}

/* Facebook-style people you may know */
.cca-fb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem;
}
.cca-fb-suggest {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.cca-fb-suggest:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cca-fb-suggest__banner {
  height: 100px;
  background: linear-gradient(135deg, #c5c9d3, #e8eaef 50%, #b8bdc8);
  overflow: hidden;
}
.cca-fb-suggest__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cca-fb-suggest__avatar-row {
  display: flex;
  justify-content: center;
  margin-top: -42px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.cca-fb-suggest__avatar {
  width: 84px;
  height: 84px;
  max-width: 84px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid #fff;
  background: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
}
.cca-fb-suggest__avatar--fallback {
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #2a2a2a, #111);
  letter-spacing: 0.04em;
}
.cca-fb-suggest__avatar--fallback[hidden] {
  display: none !important;
}
.cca-fb-suggest__info {
  text-align: center;
  padding: 0.65rem 0.9rem 0.35rem;
  display: grid;
  gap: 0.2rem;
}
.cca-fb-suggest__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.cca-fb-suggest__name:hover { color: var(--brand); }
.cca-fb-suggest__info span {
  font-size: 0.78rem;
  color: #65676b;
  line-height: 1.35;
}
.cca-fb-suggest__actions {
  padding: 0.55rem 0.9rem 0.95rem;
  margin-top: auto;
  display: grid;
  gap: 0.4rem;
}
.cca-fb-suggest__actions form { margin: 0; }
.cca-net-list__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}
.cca-net-list__link:hover strong { color: var(--brand); }

/* Facebook-style member profile (portal) */
.cca-fb-profile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.cca-fb-profile__cover {
  height: 220px;
  background: linear-gradient(135deg, #c5c9d3, #e8eaef 50%, #b8bdc8);
  overflow: hidden;
}
.cca-fb-profile__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cca-fb-profile__sheet { padding: 0 1.25rem 1.4rem; }
.cca-fb-profile__identity {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-top: -52px;
  position: relative;
  z-index: 2;
}
.cca-fb-profile__avatar {
  width: 128px;
  height: 128px;
  max-width: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  background: #e5e7eb;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: block;
}
.cca-fb-profile__avatar--fallback {
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #e6ac00);
}
.cca-fb-profile__who { min-width: 0; padding-bottom: 0.35rem; }
.cca-fb-profile__who h2 {
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.cca-fb-profile__tagline { color: var(--muted); margin-top: 0.2rem; }
.cca-fb-profile__meta { color: #65676b; font-size: 0.88rem; margin-top: 0.25rem; }
.cca-fb-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 0.35rem;
}
.cca-fb-profile__actions form { margin: 0; }
.cca-fb-profile__inline-form { display: flex; gap: 0.4rem; }
.cca-fb-friends {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.cca-fb-friends__head {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.cca-fb-friends__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}
.cca-fb-friends__item {
  display: grid;
  gap: 0.3rem;
  text-align: center;
}
.cca-fb-friends__item img,
.cca-fb-friends__item span {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #e4e6eb;
  font-weight: 700;
  color: #3f3f46;
}
.cca-fb-friends__item em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  max-height: 2.4em;
  overflow: hidden;
}
.cca-fb-profile__cols {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
  margin-top: 1rem;
}
.cca-panel--soft {
  background: #f7f8fb;
  box-shadow: none;
}
.cca-fb-profile__sub { margin-top: 1rem; }
.cca-fb-profile__contact,
.cca-fb-profile__hours {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.cca-fb-profile__contact li,
.cca-fb-profile__hours li {
  display: grid;
  gap: 0.1rem;
  font-size: 0.9rem;
}
.cca-fb-profile__contact strong,
.cca-fb-profile__hours span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.cca-fb-profile__hours li {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.cca-fb-profile__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.55rem;
  margin-top: 0.65rem;
}
.cca-fb-profile__gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.cca-sc-tags {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cca-sc-tags li {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 550;
}
@media (max-width: 860px) {
  .cca-fb-profile__identity { grid-template-columns: 1fr; justify-items: start; }
  .cca-fb-profile__actions { justify-content: flex-start; }
  .cca-fb-profile__cols { grid-template-columns: 1fr; }
  .cca-fb-friends__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cca-fb-profile__cover { height: 160px; }
  .cca-fb-profile__avatar { width: 96px; height: 96px; }
}
.cca-fb-suggest__pending {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  border-radius: 8px;
  background: #e4e6eb;
  color: #050505;
  font-size: 0.88rem;
  font-weight: 600;
}

.cca-net-request-list,
.cca-net-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.cca-net-request {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #FAFAFA;
}
.cca-net-request__body strong { display: block; font-weight: 650; }
.cca-net-request__actions { display: flex; gap: 0.4rem; }
.cca-net-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.1rem;
  border-bottom: 1px solid var(--border);
}
.cca-net-list li:last-child { border-bottom: 0; }
.cca-net-list strong { display: block; font-size: 0.88rem; font-weight: 700; color: #0f1419; }
.cca-net-list .cca-muted { display: block; font-size: 0.74rem; }
.cca-net-list > li > .cca-btn,
.cca-net-list > li > a.cca-btn {
  width: auto !important;
  min-width: 0;
  flex: 0 0 auto;
  justify-self: end;
  white-space: nowrap;
  padding: 0.35rem 0.85rem !important;
  min-height: 2rem !important;
  height: auto;
  font-size: 0.78rem !important;
  border-radius: 999px !important;
  font-weight: 650;
}

/* Legacy unused network card styles */
.cca-member-card,
.cca-fb-people,
.cca-fb-card { /* kept for older markup safety */ }
.cca-network-split {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; margin-top: 1rem;
  align-items: start;
}
.cca-network-split > .cca-panel {
  max-height: none;
  overflow: visible;
}
.cca-network-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-top: 0.5rem;
}
.cca-network-stats > div {
  text-align: center; padding: 0.9rem 0.5rem; border-radius: 14px;
  background: #FAFAFA; border: 1px solid var(--border);
}
.cca-network-stats strong { display: block; font-size: 1.35rem; font-weight: 750; color: var(--ink); }
.cca-network-stats span { font-size: 0.72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.cca-network-subhead {
  margin: 1.15rem 0 0.55rem; font-size: 0.85rem; font-weight: 650; color: var(--ink);
}
.cca-fb-friend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.cca-fb-friend-list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center;
  padding: 0.55rem 0.25rem; border-bottom: 1px solid var(--border);
}
.cca-fb-friend-list li:last-child { border-bottom: 0; }
.cca-fb-friend-list strong { display: block; font-size: 0.9rem; font-weight: 650; }
.cca-empty--compact { padding: 1.25rem 0.5rem; }

.cca-chip {
  display: inline-flex; padding: 0.22rem 0.55rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 650;
  background: var(--bg); color: var(--muted); border: 1px solid var(--border);
}
.cca-chip--featured { background: #DCFCE7; color: #15803D; border-color: #BBF7D0; }
.cca-chip--sponsor { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
.cca-chip--community { background: var(--accent-soft); color: var(--accent-hover); border-color: transparent; }
.cca-chip-warn, .cca-chip-ok {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 650;
}
.cca-chip-warn { background: var(--warn-soft); color: #B45309; }
.cca-chip-warn__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--warn);
  animation: cca-glow 1.8s ease-in-out infinite;
}
.cca-chip-ok { background: var(--ok-soft); color: #15803D; }

.cca-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(145deg, #3F3F46, #52525B); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.78rem; flex-shrink: 0;
}
.cca-avatar--sm { width: 36px; height: 36px; font-size: 0.7rem; }
.cca-avatar--lg { width: 52px; height: 52px; font-size: 0.9rem; }
.cca-avatar--soft { background: #F4F4F5; color: #3F3F46; }
.cca-avatar--photo {
  object-fit: cover;
  padding: 0;
  display: block;
  background: #e5e7eb;
}
.cca-gallery-edit {
  list-style: none; margin: 0 0 0.75rem; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.65rem;
}
.cca-gallery-edit li {
  display: grid; gap: 0.4rem; padding: 0.4rem; border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.cca-gallery-edit img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px;
}

/* Coupons */
.cca-coupons-layout {
  display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.3fr); gap: 1rem; align-items: start;
}
.cca-coupons-board { margin-bottom: 1rem; }
.cca-deal-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem;
}
.cca-deal {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}
.cca-deal::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, #A1A1AA, #D4D4D8);
}
.cca-deal.is-demo { background: #FAFAFB; }
.cca-deal__top {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  padding-left: 0.35rem;
}
.cca-deal__discount {
  font-size: 1.35rem; font-weight: 750; letter-spacing: -0.03em; color: #55555F;
}
.cca-deal__title {
  padding-left: 0.35rem;
  font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.25;
}
.cca-deal__desc {
  margin: 0; padding-left: 0.35rem;
  font-size: 0.84rem; color: var(--muted); line-height: 1.45;
}
.cca-deal__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  margin-top: auto; padding: 0.65rem 0 0 0.35rem; border-top: 1px dashed var(--border);
}
.cca-ticket-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.95rem;
}
.cca-ticket {
  position: relative;
  display: grid; grid-template-columns: 92px 1fr;
  border: 1px solid var(--border); border-radius: 16px;
  background: #fff; overflow: hidden; min-height: 148px;
  box-shadow: var(--shadow);
}
.cca-ticket.is-demo { opacity: 0.92; }
.cca-ticket__stamp {
  display: grid; place-items: center; text-align: center;
  padding: 0.85rem 0.5rem; background: #8B8B95; color: #fff;
  font-size: 0.82rem; font-weight: 750; letter-spacing: 0.04em; line-height: 1.2;
  border-right: 1.5px dashed rgba(255,255,255,0.22);
}
.cca-ticket__body {
  padding: 1rem 1.05rem 1rem 1.15rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.cca-ticket__eyebrow {
  align-self: flex-start;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 0.15rem 0.45rem; border-radius: 999px;
  background: #F4F4F5; border: 1px solid var(--border);
}
.cca-ticket__body strong { font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.cca-ticket__body p { margin: 0; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.cca-ticket__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 0.45rem;
}
.cca-ticket__notch {
  position: absolute; left: 84px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
}
.cca-ticket__notch--top { top: -9px; }
.cca-ticket__notch--bottom { bottom: -9px; }
.cca-coupon-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.95rem;
}
.cca-coupon-card {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(165deg, #FAFAFA 0%, var(--surface) 48%);
  box-shadow: var(--shadow);
}
.cca-coupon-card__badge {
  align-self: flex-start; padding: 0.28rem 0.65rem; border-radius: 999px;
  background: var(--accent); color: #000;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.cca-coupon-card strong { color: var(--ink); font-size: 1.05rem; font-weight: 650; }
.cca-coupon-card__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 0.65rem;
}
.cca-coupon-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.05em;
  padding: 0.32rem 0.55rem; border-radius: 8px;
  background: var(--bg); border: 1.5px dashed rgba(12, 12, 13, 0.14); color: var(--ink);
}

/* Events */
.cca-events-board { margin-bottom: 1rem; }
.cca-events-layout {
  display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr); gap: 1rem; align-items: start;
}
.cca-events-layout--submit {
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.7fr);
  margin-top: 0.25rem;
}
.cca-events-main { display: grid; gap: 1rem; }
.cca-event-cards { display: grid; gap: 0.7rem; }
.cca-event-card {
  display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  padding: 1rem 1.05rem; border: 1px solid var(--border); border-radius: 18px; background: #fff;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.cca-event-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 10px 28px rgba(63, 63, 70, 0.06);
}
.cca-event-card.is-demo { background: #FAFAFA; }
.cca-event-card__body { display: grid; gap: 0.22rem; min-width: 0; }
.cca-event-card__tags { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.cca-event-tag {
  display: inline-flex; align-items: center;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #71717A; padding: 0.18rem 0.5rem; border-radius: 999px;
  background: #F4F4F5; border: 1px solid var(--border);
}
.cca-event-tag.is-yours {
  color: #3F3F46; background: #E4E4E7; border-color: transparent;
}
.cca-event-card__body strong {
  font-size: 1.02rem; font-weight: 700; color: var(--ink); line-height: 1.25;
}
.cca-event-card__host { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.cca-event-card__actions { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: flex-end; align-items: center; }
.cca-event-list { display: grid; gap: 0; }
.cca-event-row {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 1.05rem; align-items: center;
  padding: 1.1rem 0; border-bottom: 1px solid var(--border);
}
.cca-event-row:last-child { border-bottom: 0; }
.cca-event-date {
  width: 68px; padding: 0.55rem 0.3rem; border-radius: 14px; text-align: center;
  background: #F4F4F5; color: #71717A; border: 1px solid var(--border);
  box-shadow: none;
}
.cca-event-date strong { display: block; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: #71717A; }
.cca-event-date span { display: block; font-size: 1.25rem; font-weight: 750; line-height: 1.1; color: #3F3F46; }
.cca-event-date--lg {
  width: 96px; padding: 1rem 0.5rem; background: #F4F4F5;
}
.cca-event-date--lg span { font-size: 2rem; color: #3F3F46; }
.cca-event-date--lg em {
  display: block; margin-top: 0.2rem; font-style: normal;
  font-size: 0.72rem; font-weight: 650; color: var(--muted);
}
.cca-event-detail__hero {
  display: grid; grid-template-columns: auto 1fr; gap: 1.35rem; align-items: center;
}
.cca-event-detail__hero-copy h2 {
  margin: 0.35rem 0 1rem; font-size: 1.55rem; font-weight: 750; letter-spacing: -0.02em;
}
.cca-event-detail__facts {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem;
}
.cca-event-detail__facts li { display: grid; gap: 0.1rem; }
.cca-event-detail__facts strong {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.cca-event-detail__facts span { font-size: 0.95rem; font-weight: 550; color: var(--ink); }
.cca-event-detail__grid {
  display: grid; grid-template-columns: 1.4fr 0.75fr; gap: 1rem; margin-top: 1rem;
}
.cca-event-detail__desc p {
  margin: 0 0 0.9rem; color: var(--ink); line-height: 1.65; font-size: 0.95rem; font-weight: 450;
}
.cca-event-host {
  display: flex; gap: 0.85rem; align-items: center; margin: 0.75rem 0 1rem;
}
.cca-event-host strong { display: block; font-weight: 650; }
.cca-event-detail__contact {
  list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.55rem;
}
.cca-event-detail__contact li {
  display: flex; justify-content: space-between; gap: 0.75rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.85rem;
}
.cca-event-detail__contact span { color: var(--muted); }
.cca-event-detail__aside .cca-btn { margin-top: 0.25rem; }
.cca-banner--soft {
  align-self: stretch;
  background: #FAFAFA;
  border-color: var(--border);
  margin-bottom: 1rem;
}
.cca-banner--soft .cca-banner__icon {
  background: #E4E4E7; color: #3F3F46;
}

/* Community feed — Facebook-style */
.cca-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.cca-feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 1.25rem;
  align-items: start;
  width: 100%;
  max-width: none;
  min-width: 0;
}
.cca-feed-main {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  max-width: none;
  min-width: 0;
  overflow: visible;
}
.cca-feed { display: grid; gap: 0.85rem; width: 100%; min-width: 0; }
.cca-feed-side {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  position: sticky;
  top: 5.5rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  z-index: 1;
}

.fb-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  overflow: visible;
}

/* Quick composer card */
.fb-composer-card { padding: 0.85rem 1rem 0.55rem; overflow: visible; }
.cca-avatar-wrap {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.cca-avatar-wrap > .cca-avatar,
.cca-avatar-wrap > img.cca-avatar {
  grid-area: 1 / 1;
}
.fb-composer-card__top {
  display: flex !important;
  gap: 0.55rem !important;
  align-items: center !important;
  margin-bottom: 0.7rem;
}
.fb-composer-card__top .cca-avatar-wrap,
.fb-composer-card__top .cca-avatar {
  flex-shrink: 0 !important;
  margin: 0 !important;
}
.fb-composer-card__trigger {
  flex: 1;
  text-align: left;
  border: 0;
  cursor: pointer;
  min-height: 2.55rem;
  margin: 0 !important;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #F0F2F5 !important;
  color: #65676B !important;
  font: inherit;
  font-weight: 500;
  box-shadow: none !important;
}
.fb-story__plus {
  position: absolute;
  left: 50%;
  bottom: calc(32% + 0.55rem);
  transform: translateX(-50%);
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #1877F2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 3px solid #fff;
  z-index: 3;
  line-height: 1;
}
.fb-story--create .fb-story__label {
  color: #0C0C0D;
  background: #fff;
  text-align: center;
  height: 32%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.85rem;
}
.cca-dd__menu {
  padding: 0.15rem 0.45rem 0.45rem !important;
  display: grid !important;
  gap: 0 !important;
}
.cca-dd__menu-item {
  margin: 0 !important;
  padding: 0.55rem 0.75rem !important;
  min-height: 0 !important;
  gap: 0.65rem !important;
}
.cca-dd__sep {
  height: 1px !important;
  margin: 0.35rem 0.75rem !important;
  background: var(--border) !important;
  border: 0 !important;
  padding: 0 !important;
}
.fb-composer-card__trigger:hover { background: #E4E6EB; }
.fb-composer-card__actions {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #E4E6EB; padding-top: 0.35rem;
}
.fb-composer-card__action {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 0; background: transparent; min-height: 2.5rem; border-radius: 8px;
  color: #65676B; font: inherit; font-size: 0.88rem; font-weight: 650; cursor: pointer;
}
.fb-composer-card__action:hover { background: #F0F2F5; }

.fb-ico {
  width: 1.15rem; height: 1.15rem; border-radius: 4px; display: inline-block;
  background: #B0B3B8;
}
.fb-action-ico { display: block; flex-shrink: 0; }
.fb-svg { display: block; }
.fb-svg--outline { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fb-tool .fb-svg { width: 20px; height: 20px; }
.fb-tool.is-on { color: #1877F2; }
.fb-tool.is-on .fb-svg { fill: #1877F2; stroke: none; }
.fb-tool.is-love { color: #E4173E !important; }
.fb-tool.is-care { color: #D97706 !important; }
.fb-tool.is-haha,
.fb-tool.is-wow { color: #D97706 !important; }
.fb-tool.is-sad { color: #CA8A04 !important; }
.fb-tool.is-angry { color: #EA580C !important; }
.fb-tool.is-like { color: #1877F2 !important; }
.fb-tool__emoji { display: inline-flex; align-items: center; line-height: 1; }
.fb-tool__ico { display: inline-flex; }
.fb-rx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.12));
}
.fb-rx svg { display: block; width: 100%; height: 100%; }
.fb-react-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-width: 0;
}
.fb-react-wrap .fb-tool { width: 100%; }
.fb-react__picker {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  display: flex;
  gap: 0.2rem;
  padding: 0.45rem 0.5rem;
  background: #fff;
  border: 1px solid #E4E6EB;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  z-index: 40;
  animation: cca-dd-in 0.16s var(--ease) both;
  white-space: nowrap;
}
.fb-react__picker[hidden] { display: none !important; }
.fb-react__opt {
  width: 2.55rem;
  height: 2.55rem;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 140ms var(--ease);
  padding: 0;
  flex-shrink: 0;
}
.fb-react__opt:hover { transform: scale(1.32) translateY(-6px); }
.fb-react__opt .fb-rx { width: 36px !important; height: 36px !important; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15)); }
.fb-post__react-icons {
  display: inline-flex; align-items: center;
}
.fb-post__react-icons .fb-rx { margin-left: -4px; }
.fb-post__react-icons .fb-rx:first-child { margin-left: 0; }
.fb-react-badge { display: none; }
.fb-post__media {
  margin: 0.35rem 0 0; background: #000; width: 100%;
  max-width: 100%; overflow: hidden;
}
.fb-post__media img {
  width: 100%; max-width: 100%; height: auto; max-height: 520px;
  object-fit: cover; display: block;
}
.fb-modal__preview {
  position: relative; border: 1px solid #D8DADF; border-radius: 12px; overflow: hidden;
}
.fb-modal__preview img { width: 100%; max-height: 260px; object-fit: cover; display: block; }
.fb-modal__preview-clear {
  position: absolute; top: 0.5rem; right: 0.5rem;
  width: 2rem; height: 2rem; border: 0; border-radius: 50%;
  background: rgba(0,0,0,0.65); color: #fff; font-size: 1.2rem; cursor: pointer;
}
.fb-modal__icon-btn {
  border: 0; background: transparent; padding: 0.2rem; border-radius: 8px; cursor: pointer;
}
.fb-modal__icon-btn:hover { background: #F0F2F5; }
.fb-modal__icon-btn:disabled { opacity: 0.55; cursor: default; }
.fb-modal__add-icons { display: flex; gap: 0.35rem; align-items: center; }
.fb-sponsored__thumb {
  height: 72px; border-radius: 10px; display: grid; place-items: center;
  background: #F0F2F5; color: #0C0C0D;
}
.fb-sponsored__thumb .fb-action-ico { width: 28px; height: 28px; }
.fb-sponsored__thumb--2 { background: #E4E6EB; }

/* Stories slider */
.fb-stories-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.fb-stories {
  display: flex; gap: 0.75rem; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x mandatory; padding: 0.15rem 0.15rem 0.35rem;
  -webkit-overflow-scrolling: touch; width: 100%;
  max-width: 100%;
  scrollbar-width: none;
}
.fb-stories::-webkit-scrollbar { display: none; }
.fb-stories__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 0; background: #fff; color: #0C0C0D; font-size: 1.4rem; line-height: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18); cursor: pointer;
  display: grid; place-items: center;
}
.fb-stories__nav:hover { background: #F0F2F5; }
.fb-stories__nav--prev { left: 0.35rem; }
.fb-stories__nav--next { right: 0.35rem; }
.fb-stories__nav.is-hidden { opacity: 0; pointer-events: none; }
.fb-story {
  position: relative; flex: 0 0 128px; width: 128px; height: 220px;
  border-radius: 14px; overflow: hidden; border: 0; padding: 0;
  background: #1c1c1e; cursor: pointer; display: block; scroll-snap-align: start;
}
.fb-story--create { background: #fff; border: 1px solid var(--border); }
.fb-story__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  transition: transform 220ms ease;
}
.fb-story__photo.is-fit {
  background-size: contain;
  background-color: #111;
}
.fb-story:hover .fb-story__photo { transform: scale(1.05); }
.fb-story--create .fb-story__photo {
  inset: 0 0 32% 0; filter: brightness(0.85);
}
.fb-story__photo--fallback {
  background: linear-gradient(160deg, #3F3F46, #0C0C0D) !important;
}
.fb-story::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}
.fb-story--create::after { display: none; }
.fb-story__avatar {
  position: absolute; top: 0.65rem; left: 0.65rem; z-index: 2;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #0C0C0D; color: #fff; font-size: 0.7rem; font-weight: 700;
  border: 3px solid #1877F2; box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}
.fb-story__avatar--photo {
  background-size: cover; background-position: center; color: transparent; font-size: 0;
}
.fb-story--create .fb-story__avatar { display: none; }
.fb-story__plus {
  position: absolute; left: 50%; bottom: calc(32% + 0.55rem); transform: translateX(-50%);
  width: 2.15rem; height: 2.15rem; border-radius: 50%; background: #1877F2; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; border: 3px solid #fff; z-index: 3; line-height: 1;
}
.fb-story__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0.55rem 0.45rem 0.7rem; color: #fff; font-size: 0.78rem; font-weight: 700;
  text-align: left; line-height: 1.2;
}
.fb-story--create .fb-story__label {
  color: #0C0C0D; background: #fff; text-align: center;
  height: 32%; display: flex; align-items: center; justify-content: center;
  padding: 0.9rem 0.45rem 0.55rem;
}

/* Story viewer */
.fb-story-viewer.is-closed,
.fb-story-viewer[hidden] { display: none !important; }
.fb-story-viewer {
  position: fixed !important; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.fb-story-viewer__backdrop {
  position: absolute; inset: 0; border: 0; background: rgba(0,0,0,0.82); cursor: pointer;
}
.fb-story-viewer__card {
  position: relative; z-index: 1; width: min(380px, 92vw); height: min(68vh, 680px);
  border-radius: 16px; overflow: hidden; background: #0a0a0a;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
}
.fb-story-viewer__progress {
  position: absolute; top: 0.55rem; left: 0.55rem; right: 0.55rem; z-index: 2;
  height: 3px; border-radius: 999px; background: rgba(255,255,255,0.28); overflow: hidden;
}
.fb-story-viewer__progress span {
  display: block; height: 100%; width: 0; background: #fff;
  animation: fb-story-bar 5s linear forwards;
}
@keyframes fb-story-bar {
  from { width: 0; }
  to { width: 100%; }
}
.fb-story-viewer__head {
  position: absolute; top: 1rem; left: 0.75rem; right: 0.75rem; z-index: 2;
  display: flex; align-items: center; gap: 0.55rem; color: #fff;
}
.fb-story-viewer__head strong { flex: 1; font-size: 0.92rem; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.fb-story-viewer__close {
  width: 2rem; height: 2rem; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.2); color: #fff; font-size: 1.2rem; cursor: pointer;
}
.fb-story-viewer__img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  display: block; background: #0a0a0a;
}

/* Post card */
.fb-post { padding: 0.85rem 0 0; overflow: visible; }
.fb-post.is-demo { background: #FCFCFD; }
.fb-post__head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.65rem; align-items: center;
  padding: 0 1rem;
}
.fb-post__meta strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.fb-post__meta span { font-size: 0.78rem; color: #65676B; }
.fb-post__globe { font-size: 0.72rem; }
.fb-post__more {
  border: 0; background: transparent; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  color: #65676B; font-weight: 800; letter-spacing: 0.05em; cursor: pointer;
}
.fb-post__more:hover { background: #F0F2F5; }
.fb-post__more:disabled { cursor: default; opacity: 0.55; }
.fb-post__menu { position: relative; }
.fb-post__menu-panel {
  position: absolute; top: calc(100% + 0.25rem); right: 0; z-index: 20;
  min-width: 160px; padding: 0.35rem;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: grid; gap: 0.15rem;
}
.fb-post__menu-item {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 0.55rem 0.7rem; border-radius: 8px; font: inherit; font-weight: 600;
  color: #0C0C0D; cursor: pointer;
}
.fb-post__menu-item:hover { background: #F0F2F5; }
.fb-post__menu-item.is-danger { color: #B91C1C; }
.fb-post__menu-form { margin: 0; }
.fb-post__body { padding: 0.85rem 1rem 0.65rem; }
.fb-post__body p {
  margin: 0 0 0.55rem; color: var(--ink); font-size: 0.95rem; line-height: 1.5; white-space: pre-wrap;
}
.fb-post__body p:last-child { margin-bottom: 0; }
.fb-post__counts {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 1rem 0.55rem; color: #65676B; font-size: 0.88rem;
  gap: 0.75rem;
}
.fb-post__reactions { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--ink); font-weight: 600; }
.fb-post__count-link {
  border: 0; background: transparent; color: #65676B; font: inherit; cursor: pointer;
}
.fb-post__count-link:hover { text-decoration: underline; }
.fb-post__toolbar {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0.85rem; padding: 0.35rem 0;
  border-top: 1px solid #E4E6EB; border-bottom: 1px solid #E4E6EB;
  overflow: visible;
  position: relative;
  z-index: 2;
}
.fb-tool-form { margin: 0; }
.fb-tool {
  width: 100%; min-height: 2.55rem; border: 0; border-radius: 8px;
  background: transparent; color: #65676B; font: inherit; font-weight: 650; font-size: 0.9rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; cursor: pointer;
}
.fb-tool:hover { background: #F0F2F5; }
.fb-post__thread { padding: 0.75rem 1rem 1rem; }

/* Comments */
.fb-comments { list-style: none; margin: 0 0 0.55rem; padding: 0; display: grid; gap: 0.55rem; }
.fb-comments--replies { margin: 0.45rem 0 0.15rem; gap: 0.45rem; }
.fb-comment { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem; align-items: start; }
.fb-comment__col { min-width: 0; }
.fb-comment__bubble {
  background: #F0F2F5; border-radius: 18px; padding: 0.45rem 0.75rem 0.55rem;
  display: grid; gap: 0.1rem;
}
.fb-comment__bubble strong { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.fb-comment__bubble p { margin: 0; font-size: 0.9rem; color: var(--ink); line-height: 1.35; }
.fb-comment__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem;
  padding: 0.2rem 0.65rem 0; font-size: 0.72rem; font-weight: 700; color: #65676B;
}
.fb-comment__actions button,
.fb-comment__like-form button {
  border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; padding: 0; cursor: pointer;
}
.fb-comment__actions button:hover,
.fb-comment__like-form button:hover { text-decoration: underline; }
.fb-comment__like-form { margin: 0; display: inline; }
.fb-comment__like-form button.is-on { color: #1877F2; }
.fb-comment-bar {
  display: grid; grid-template-columns: auto 1fr; gap: 0.45rem; align-items: center;
}
.fb-comment-bar--reply { margin-top: 0.45rem; }
.fb-comment-bar__field {
  position: relative; display: flex; align-items: center;
  background: #F0F2F5; border-radius: 999px; padding: 0.15rem 0.35rem 0.15rem 0.85rem;
}
.fb-comment-bar__field input {
  flex: 1; border: 0; background: transparent; padding: 0.55rem 0; font: inherit; min-width: 0;
}
.fb-comment-bar__field input:focus { outline: none; }
.fb-comment-bar__send {
  width: 2.1rem; height: 2.1rem; border: 0; border-radius: 50%;
  background: transparent; color: #0C0C0D; font-size: 0.95rem; cursor: pointer;
}
.fb-comment-bar__send:hover { background: #E4E6EB; }

/* Side sponsored */
.fb-side-card { padding: 0.95rem 1rem; }
.fb-side-card h2 {
  margin: 0 0 0.75rem; font-size: 1rem; font-weight: 700; color: #65676B;
}
.fb-sponsored {
  display: grid; grid-template-columns: 108px 1fr; gap: 0.75rem; align-items: center;
  padding: 0.45rem; margin: 0 -0.35rem 0.35rem; border-radius: 10px;
}
.fb-sponsored:hover { background: #F0F2F5; }
.fb-sponsored__thumb {
  height: 72px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(145deg, #3F3F46, #0C0C0D); color: #fff;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em;
}
.fb-sponsored__thumb--2 { background: linear-gradient(145deg, #52525B, #27272A); font-size: 1.2rem; }
.fb-sponsored strong { display: block; font-size: 0.9rem; font-weight: 650; color: var(--ink); }
.fb-sponsored em { display: block; font-style: normal; font-size: 0.78rem; color: #65676B; margin-top: 0.15rem; }

.fb-side-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.fb-side-card__head h2 { margin: 0; color: #65676B; font-size: 1rem; font-weight: 700; }
.fb-ad-card {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: #fff; margin-bottom: 0.75rem;
}
.fb-ad-card:last-child { margin-bottom: 0; }
.fb-ad-card__media { display: block; aspect-ratio: 16 / 9; background: #F0F2F5; }
.fb-ad-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-ad-card__body { padding: 0.75rem 0.85rem 0.9rem; display: grid; gap: 0.3rem; }
.fb-ad-card__label {
  font-style: normal; font-size: 0.68rem; font-weight: 650;
  letter-spacing: 0.06em; text-transform: uppercase; color: #65676B;
}
.fb-ad-card__body strong { font-size: 0.92rem; color: var(--ink); }
.fb-ad-card__body p { margin: 0; font-size: 0.8rem; color: #65676B; line-height: 1.35; }
.fb-ad-card__ctas { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }

/* Create post modal — always viewport-fixed (moved to body in JS) */
.fb-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem;
  margin: 0 !important;
}
.fb-modal.is-closed,
.fb-modal[hidden] {
  display: none !important;
}
.fb-modal__backdrop {
  position: absolute; inset: 0; background: rgba(12, 12, 13, 0.6);
  border: 0; padding: 0; cursor: pointer;
}
.fb-modal__dialog {
  position: relative; z-index: 1; width: min(500px, calc(100vw - 2rem));
  max-height: min(90vh, 640px); overflow: auto;
  background: #fff; border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.fb-modal__head {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 0.9rem 3rem; border-bottom: 1px solid #E4E6EB;
}
.fb-modal__head h2 {
  margin: 0; text-align: center; font-size: 1.2rem; font-weight: 750; color: #0C0C0D;
}
.fb-modal__close {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%;
  background: #E4E6EB; color: #0C0C0D; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.fb-modal__close:hover { background: #D8DADF; }
.fb-modal__who {
  display: flex; gap: 0.65rem; align-items: center; padding: 0.85rem 1rem 0.35rem;
}
.fb-modal__who strong { display: block; font-weight: 700; color: #0C0C0D; }
.fb-modal__audience {
  display: inline-flex; margin-top: 0.2rem; padding: 0.15rem 0.45rem; border-radius: 6px;
  background: #E4E6EB; color: #0C0C0D; font-size: 0.72rem; font-weight: 700;
}
.fb-modal__form { padding: 0.35rem 1rem 1rem; display: grid; gap: 0.75rem; }
.fb-modal__form textarea {
  width: 100% !important; border: 0 !important; resize: none; min-height: 130px !important;
  font: inherit; font-size: 1.25rem !important; color: #0C0C0D !important;
  background: transparent !important; padding: 0.35rem 0 !important;
  border-radius: 0 !important; box-shadow: none !important;
}
.fb-modal__form textarea:focus { outline: none !important; box-shadow: none !important; }
.fb-modal__form textarea::placeholder { color: #65676B; }
.fb-modal__add {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 0.85rem; border: 1px solid #D8DADF; border-radius: 10px;
  font-size: 0.9rem; font-weight: 650; color: #0C0C0D;
}
.fb-modal__add-icons { display: flex; gap: 0.65rem; align-items: center; }
.fb-modal__submit {
  width: 100%; min-height: 2.5rem; border: 0; border-radius: 8px;
  background: #0C0C0D; color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.fb-modal__submit:disabled {
  background: #E4E6EB; color: #B0B3B8; cursor: not-allowed;
}
.fb-modal__submit:not(:disabled):hover { background: #27272A; }

body.fb-modal-open { overflow: hidden; }

.cca-hint-list {
  margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.88rem;
  display: grid; gap: 0.45rem;
}

/* Ads */
.cca-ad-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.9rem;
}
.cca-ad {
  position: relative;
  display: flex; flex-direction: column; gap: 0.45rem;
  padding: 1.15rem 1.2rem; border: 1px solid var(--border); border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-xs);
}
.cca-ad--fb { padding: 0; overflow: hidden; gap: 0; }
.cca-ad__cover {
  display: block; aspect-ratio: 16 / 9; background: #F0F2F5; overflow: hidden;
}
.cca-ad__cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cca-ad__cover--empty,
.cca-ad__cover.is-empty {
  background:
    linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(15, 15, 16, 0.06)),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(0,0,0,0.03) 10px, rgba(0,0,0,0.03) 20px);
}
.cca-ad__body { display: flex; flex-direction: column; gap: 0.45rem; padding: 1rem 1.1rem 1.15rem; }
.cca-ad__gallery {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem;
}
.cca-ad__gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #F0F2F5;
}
.cca-stat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin-top: 0.35rem;
}
.cca-stat {
  background: #FAFAFA; border: 1px solid var(--border); border-radius: 14px;
  padding: 0.9rem 1rem; display: grid; gap: 0.15rem;
}
.cca-stat strong { font-size: 1.35rem; font-weight: 750; color: var(--ink); line-height: 1.1; }
.cca-stat span { font-size: 0.78rem; color: var(--muted); font-weight: 550; }
.cca-analytics-table-wrap { margin-top: 1rem; overflow-x: auto; }
@media (max-width: 900px) {
  .cca-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cca-ad__edit { margin-top: 0.35rem; font-size: 0.85rem; color: var(--muted); }
.cca-ad__edit summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.cca-ad--premium {
  background: linear-gradient(165deg, #FAFAFA 0%, #fff 45%);
  border-color: rgba(12, 12, 13, 0.16);
  box-shadow: var(--shadow);
}
.cca-ad.is-demo { opacity: 0.96; }
.cca-ad__badge {
  align-self: flex-start;
  font-size: 0.65rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.22rem 0.55rem; border-radius: 999px;
  background: #0C0C0D; color: #fff;
}
.cca-ad__badge--free {
  background: #E4E4E7; color: #3F3F46;
}
.cca-ad strong { font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.cca-ad p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.cca-ad__meta {
  display: grid; gap: 0.2rem; margin-top: 0.35rem;
  font-size: 0.78rem; color: var(--muted);
}
.cca-ad__contact { font-weight: 650; color: var(--ink-2); }
.cca-ad__remove { margin-top: 0.35rem; }
.cca-tier-pick { display: grid; gap: 0.55rem; }
.cca-tier-pick__option {
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start;
  padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: 14px;
  background: #FAFAFA; cursor: pointer;
}
.cca-tier-pick__option:has(input:checked) {
  border-color: #0C0C0D; background: #fff; box-shadow: 0 0 0 3px rgba(12,12,13,0.06);
}
.cca-tier-pick__option input { margin-top: 0.2rem; accent-color: #0C0C0D; }
.cca-tier-pick__option strong { display: block; font-weight: 700; color: var(--ink); }
.cca-tier-pick__option em { display: block; font-style: normal; font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }

/* Support */
.cca-support-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem; align-items: start;
}
.cca-support-table-wrap {
  margin-top: 0.35rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.cca-support-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.cca-support-table th,
.cca-support-table td {
  text-align: left;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.875rem;
}
.cca-support-table th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fafafa;
}
.cca-support-table tr:last-child td { border-bottom: 0; }
.cca-support-table__subject { font-weight: 700; color: var(--ink); }
.cca-support-table__msg,
.cca-support-table__response {
  color: var(--muted);
  line-height: 1.45;
  max-width: 18rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.cca-support-table__response.is-waiting {
  color: #a16207;
  font-style: italic;
}
.cca-support-table__meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--muted);
}
.cca-faq {
  border: 1px solid var(--border); border-radius: 14px; padding: 0.85rem 1rem;
  background: #FAFAFA; margin-top: 0.55rem;
}
.cca-faq summary {
  cursor: pointer; font-weight: 650; color: var(--ink); list-style: none;
}
.cca-faq summary::-webkit-details-marker { display: none; }
.cca-faq p {
  margin: 0.55rem 0 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5;
}

.cca-lead-list { display: grid; gap: 0; }
.cca-lead-row {
  display: grid; grid-template-columns: 46px 1fr auto; gap: 0.95rem; align-items: center;
  padding: 1.1rem 0; border-bottom: 1px solid var(--border);
}
.cca-lead-row:last-child { border-bottom: 0; }
.cca-lead-row strong { display: block; color: var(--ink); font-size: 0.98rem; font-weight: 650; }
.cca-lead-row .cca-muted { font-size: 0.82rem; font-weight: 450; }
.cca-status {
  display: inline-flex; padding: 0.24rem 0.55rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 650;
}
.cca-status--new { background: #F4F4F5; color: #3F3F46; }
.cca-status--open { background: #E0E7FF; color: #4338CA; }
.cca-status--done { background: #DCFCE7; color: #15803D; }

/* Chat */
.cca-chat {
  display: grid; grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  width: 100%; height: calc(100vh - 8.5rem); min-height: 540px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-md);
}
.cca-chat__sidebar { display: flex; flex-direction: column; background: var(--surface-2); border-right: 1px solid var(--border); min-height: 0; }
.cca-chat__search { padding: 1rem; border-bottom: 1px solid var(--border); }
.cca-chat__search input {
  width: 100%; border: 1.5px solid transparent; border-radius: 999px;
  padding: 0.7rem 1rem; background: var(--surface); font-weight: 500;
}
.cca-chat__search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.cca-chat__threads { overflow: auto; flex: 1; }
.cca-chat__thread {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 0.7rem; align-items: center;
  padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); transition: background var(--t) var(--ease);
}
.cca-chat__thread:hover, .cca-chat__thread.is-active { background: var(--surface); }
.cca-chat__thread.is-active { box-shadow: inset 3px 0 0 var(--accent); }
.cca-chat__thread strong { display: block; font-size: 0.9rem; font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cca-chat__thread span { display: block; font-size: 0.76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 11rem; font-weight: 450; }
.cca-chat__time { display: block; font-size: 0.66rem; color: var(--muted); font-weight: 550; }
.cca-chat__unread {
  display: inline-flex; min-width: 1.15rem; height: 1.15rem; padding: 0 0.3rem; border-radius: 999px;
  background: var(--accent); color: #000; font-size: 0.62rem; font-weight: 750; align-items: center; justify-content: center; font-style: normal;
}
.cca-chat__main { display: flex; flex-direction: column; min-height: 0; }
.cca-chat__header {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
}
.cca-chat__header strong { display: block; font-size: 0.98rem; font-weight: 650; color: var(--ink); }
.cca-chat__header span { display: block; font-size: 0.76rem; color: var(--muted); font-weight: 450; }
.cca-chat__body {
  flex: 1; overflow: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.55rem;
  background:
    radial-gradient(circle at 10% 0%, rgba(12, 12, 13, 0.04), transparent 40%),
    var(--bg);
}
.cca-chat__empty { margin: auto; text-align: center; color: var(--muted); padding: 2rem; max-width: 18rem; }
.cca-chat__empty strong { display: block; color: var(--ink); margin-bottom: 0.35rem; font-weight: 650; }
.cca-bubble-row { display: flex; }
.cca-bubble-row.is-mine { justify-content: flex-end; }
.cca-bubble {
  max-width: min(70%, 420px); padding: 0.75rem 1rem; font-size: 0.9rem; line-height: 1.45; font-weight: 450;
  border-radius: 18px 18px 18px 6px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--border); box-shadow: var(--shadow-xs);
}
.cca-bubble-row.is-mine .cca-bubble {
  background: #52525B; color: #fff; border-color: transparent;
  border-radius: 18px 18px 6px 18px; box-shadow: 0 10px 22px rgba(12, 12, 13, 0.18);
}
.cca-bubble__type { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.55; margin-bottom: 0.2rem; }
.cca-bubble__time { display: block; margin-top: 0.3rem; font-size: 0.62rem; opacity: 0.55; text-align: right; font-weight: 550; }
.cca-chat__composer {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 0.55rem; align-items: end;
  padding: 1rem; border-top: 1px solid var(--border); background: var(--surface);
}
.cca-chat__composer select, .cca-chat__composer textarea {
  border: 1.5px solid transparent; border-radius: 14px; padding: 0.75rem 0.9rem;
  background: var(--surface-2); resize: none; color: var(--ink); font-weight: 500;
}
.cca-chat__composer select:focus, .cca-chat__composer textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff;
}
.cca-chat__composer textarea { min-height: 48px; max-height: 120px; }
.cca-chat__composer .cca-btn { border-radius: 14px; min-width: 2.8rem; padding: 0.75rem 1rem; }

.cca-nav-toggle {
  display: none; position: fixed; top: 0.9rem; right: 0.9rem; z-index: 50;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  min-height: 2.5rem; padding: 0.45rem 0.9rem; border-radius: 12px; font-weight: 650; font-size: 0.8rem;
  cursor: pointer; box-shadow: var(--shadow-md);
}

@media (max-width: 1280px) {
  .cca-feed-layout { grid-template-columns: minmax(0, 1fr) minmax(200px, 260px); gap: 1rem; }
}
@media (max-width: 1100px) {
  .cca-hero { grid-template-columns: 1fr; }
  .cca-feed-layout { grid-template-columns: 1fr; }
  .cca-feed-side { position: static; order: 2; }
  .cca-feed-main { overflow: visible; }
}
@media (max-width: 980px) {
  .cca-shell { grid-template-columns: 1fr; }
  .cca-nav-toggle { display: inline-flex; align-items: center; }
  .cca-nav {
    position: fixed; inset: 0 auto 0 0; width: min(88vw, 300px); z-index: 40;
    transform: translateX(-105%); transition: transform 0.3s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .cca-nav { transform: none; }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(12, 12, 13, 0.55); z-index: 35;
  }
  .cca-topbar { padding-right: 5rem; }
  .cca-profile-trigger__meta { display: none; }
  .cca-stats, .cca-dash-grid, .cca-grid-2, .cca-grid-3, .cca-tile-grid,
  .cca-pricing__grid, .cca-chat, .cca-chat__composer, .cca-event-row,
  .cca-network-split, .cca-coupons-layout, .cca-events-layout, .cca-events-layout--submit,
  .cca-event-detail__hero, .cca-event-detail__grid, .cca-event-card,
  .cca-feed-layout, .cca-support-layout, .cca-fb-request { grid-template-columns: 1fr; }
  .cca-feed-side { position: static; }
  .cca-event-card__actions { justify-content: flex-start; }
  .cca-chat { height: auto; }
  .cca-chat__sidebar { max-height: 240px; }
  .cca-chat__main { min-height: 400px; }
  .cca-form .cca-grid-2 > .cca-field:nth-child(3) { grid-column: auto; }
  .cca-trial, .cca-pricing__head, .cca-complete { flex-direction: column; align-items: flex-start; }
  .fb-story { flex: 0 0 112px; width: 112px; height: 196px; }
}
@media (max-width: 640px) {
  .cca-tile-grid--4 { grid-template-columns: 1fr 1fr; }
  .cca-dash-welcome { flex-direction: column; }
  .cca-dash-profile__progress { width: 100%; }
  .cca-auth-card { padding: 1.75rem 1.35rem 1.5rem; border-radius: 22px; }
}

/* Account + billing */
.cca-account-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem; align-items: start;
}
.cca-account-meta {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem;
}
.cca-account-meta li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-bottom: 0.65rem; border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.cca-account-meta strong { color: var(--muted); font-weight: 600; }
.cca-billing-plan {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1rem 1.1rem; border-radius: 12px; background: #F7F7F8; border: 1px solid var(--border);
}
.cca-billing-plan__price { text-align: right; }
.cca-billing-plan__price span { display: block; font-size: 1.5rem; font-weight: 750; }
.cca-billing-plan__price em { color: var(--muted); font-style: normal; font-size: 0.85rem; }
.cca-saved-card {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.cca-saved-card__brand {
  min-width: 4.5rem; padding: 0.35rem 0.55rem; border-radius: 8px;
  background: #0C0C0D; color: #fff; font-size: 0.75rem; font-weight: 700; text-align: center;
}
.cca-saved-card__meta { flex: 1; min-width: 0; }
.cca-saved-card__meta strong { display: block; }
.cca-toggle {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.95rem 1rem; border: 1px solid var(--border); border-radius: 12px; background: #fff;
  cursor: pointer;
}
.cca-toggle input { margin-top: 0.2rem; width: 1.1rem; height: 1.1rem; }
.cca-toggle strong { display: block; }
.cca-toggle em { display: block; margin-top: 0.2rem; color: var(--muted); font-style: normal; font-size: 0.88rem; }
.cca-dropzone__preview img {
  width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #E4E6EB; flex-shrink: 0;
}
.cca-dropzone--cover .cca-dropzone__preview {
  align-items: stretch;
}
.cca-dropzone__cover-img {
  width: 100% !important; height: 120px !important; border-radius: 12px !important;
  object-fit: cover !important;
}
.cca-pay-dialog { max-width: 440px; }
.cca-pay-body { padding: 0 1.1rem 1.2rem; }
.cca-pay-price {
  margin: 0 0 0.35rem; font-size: 1.75rem; font-weight: 800; color: #0C0C0D;
}
.cca-pay-price span {
  display: block; font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-top: 0.15rem;
}

/* ===== Facebook-style profile (premium) ===== */
.cca-fbpro {
  --fb-gap: 8px;
  --fb-radius: 16px;
  --fb-border: #e4e6eb;
  --fb-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --fb-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.05), 0 12px 28px rgba(15, 23, 42, 0.09);
  --fb-ink: #0f1419;
  --fb-ink-2: #1c1e21;
  --fb-muted: #65676b;
  --fb-blue: #0866ff;
  --fb-blue-hover: #0654d4;
  --fb-surface: #f0f2f5;
  margin: 0 0 calc(var(--fb-gap) * 3);
}
.cca-fbpro__topbar { margin-bottom: calc(var(--fb-gap) * 2); }
.cca-fbpro__back {
  display: inline-flex; align-items: center; gap: var(--fb-gap);
  font-size: 0.9rem; font-weight: 600; color: var(--fb-muted);
  padding: var(--fb-gap) calc(var(--fb-gap) * 1.5);
  margin: calc(var(--fb-gap) * -1) 0;
  border-radius: 10px;
  transition: color 220ms ease, background 220ms ease;
}
.cca-fbpro__back:hover { color: var(--brand); background: rgba(255, 193, 7, 0.06); }

.cca-fbpro__hero {
  background: #fff;
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  overflow: visible;
  box-shadow: var(--fb-shadow);
}
.cca-fbpro__cover {
  height: 300px;
  background: linear-gradient(135deg, #c5cad3 0%, #e8ebf0 48%, #9aa3b2 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--fb-radius) var(--fb-radius) 0 0;
}
.cca-fbpro__cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cca-fbpro__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: calc(var(--fb-gap) * 2) calc(var(--fb-gap) * 3);
  align-items: end;
  padding: 0 calc(var(--fb-gap) * 3) calc(var(--fb-gap) * 2.5);
  margin-top: -80px;
  position: relative;
  z-index: 2;
}
.cca-fbpro__avatar-wrap {
  line-height: 0;
  position: relative;
  filter: drop-shadow(0 8px 20px rgba(15, 23, 42, 0.18));
}
.cca-fbpro__media-form { margin: 0; }
.cca-fbpro__media-form--cover {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  width: auto;
  max-width: calc(100% - 2rem);
}
.cca-fbpro__media-form--avatar {
  position: absolute;
  right: 8px;
  bottom: 10px;
  z-index: 3;
}
.cca-fbpro__media-form--avatar-full {
  position: relative;
  right: auto;
  bottom: auto;
  inset: auto;
}
.cca-fbpro__media-form--avatar-full .cca-fbpro__media-btn--round {
  position: absolute;
  right: 8px;
  bottom: 10px;
  z-index: 4;
}
.cca-fbpro__media-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f1419;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 200ms ease, transform 200ms ease;
}
.cca-fbpro__media-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}
.cca-fbpro__media-btn--round {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
}
.cca-fbpro__avatar {
  width: 184px; height: 184px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 6px solid #fff;
  background: #e4e6eb;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.cca-fbpro__avatar--fallback {
  display: grid; place-items: center;
  font-size: 3.25rem; font-weight: 750; color: #fff;
  background: linear-gradient(145deg, var(--brand), #e6ac00);
}

.cca-fbpro__titleblock {
  min-width: 0;
  overflow: visible;
  padding: calc(var(--fb-gap) * 11.5) 0 calc(var(--fb-gap) * 1.25);
}
.cca-fbpro__titleblock h1 {
  font-size: clamp(1.45rem, 1.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin: 0;
  padding: 0;
  color: var(--fb-ink) !important;
  overflow: visible;
  word-break: break-word;
}
.cca-fbpro__stats {
  margin-top: 8px;
  color: var(--fb-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  font-weight: 500;
}
.cca-fbpro__stats strong {
  color: var(--fb-ink);
  font-weight: 700;
}
.cca-fbpro__bio {
  margin-top: 8px;
  color: var(--fb-ink-2);
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
}
.cca-fbpro__loc {
  margin-top: 6px;
  color: var(--fb-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.cca-fbpro__loc .cca-ico { color: var(--fb-muted); flex-shrink: 0; }

.cca-fbpro__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fb-gap);
  justify-content: flex-end;
  align-items: center;
  padding-bottom: calc(var(--fb-gap) * 1.25);
}
.cca-fbpro__cta-form { margin: 0; display: inline-flex; gap: var(--fb-gap); }
.cca-fbpro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 650;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.cca-fbpro__btn:active { transform: translateY(1px); }
.cca-fbpro__btn--muted {
  background: var(--fb-surface);
  color: var(--fb-ink);
  box-shadow: inset 0 0 0 1px transparent;
}
.cca-fbpro__btn--muted:hover {
  background: #e4e6eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.cca-fbpro__btn--primary {
  background: var(--brand);
  color: #000;
  box-shadow: 0 1px 2px rgba(255, 193, 7, 0.25);
}
.cca-fbpro__btn--primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.28);
  color: #fff;
}
.cca-fbpro__btn--msg {
  background: var(--fb-blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(8, 102, 255, 0.28);
}
.cca-fbpro__btn--msg:hover {
  background: var(--fb-blue-hover);
  color: #fff;
  box-shadow: 0 4px 14px rgba(8, 102, 255, 0.32);
}

.cca-fbpro__tabs {
  display: flex;
  gap: 4px;
  padding: 4px calc(var(--fb-gap) * 2) 0;
  border-top: 1px solid var(--fb-border);
  overflow-x: auto;
  margin-top: calc(var(--fb-gap) * 0.5);
}
.cca-fbpro__tabs a,
.cca-fbpro__tabs button {
  position: relative;
  padding: 12px 14px;
  font-weight: 650;
  font-size: 0.86rem;
  color: var(--fb-muted);
  border: 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  border-radius: 10px 10px 0 0;
  transition: color 220ms ease, background 220ms ease;
}
.cca-fbpro__tabs a:hover,
.cca-fbpro__tabs button:hover {
  background: var(--fb-surface);
  color: var(--fb-ink-2);
}
.cca-fbpro__tabs a.is-active,
.cca-fbpro__tabs button.is-active {
  color: var(--fb-blue);
  border-bottom-color: var(--fb-blue);
  font-weight: 700;
}

.cca-fbpro__body {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: calc(var(--fb-gap) * 2);
  margin-top: calc(var(--fb-gap) * 2);
  align-items: start;
}
.cca-fbpro__aside {
  display: grid;
  gap: calc(var(--fb-gap) * 2);
  position: sticky;
  top: calc(var(--fb-gap) * 2);
  align-self: start;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}
.cca-fbpro__main {
  display: grid;
  gap: calc(var(--fb-gap) * 2);
  min-width: 0;
}

.cca-fbpro-card {
  background: #fff;
  border: 1px solid var(--fb-border);
  border-radius: var(--fb-radius);
  padding: calc(var(--fb-gap) * 2.5) calc(var(--fb-gap) * 2.5);
  margin-bottom: 0;
  box-shadow: var(--fb-shadow);
  transition: box-shadow 250ms ease, border-color 250ms ease;
}
.cca-fbpro-card:hover {
  box-shadow: var(--fb-shadow-hover);
  border-color: #dce0e6;
}
.cca-fbpro-card h2 {
  font-size: 1.05rem;
  font-weight: 750;
  margin: 0 0 calc(var(--fb-gap) * 1.25);
  color: var(--fb-ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.cca-fbpro-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: calc(var(--fb-gap) * 1.5) 0 var(--fb-gap);
  color: var(--fb-ink);
  letter-spacing: -0.01em;
}
.cca-fbpro-card__text {
  color: var(--fb-ink-2);
  line-height: 1.55;
  font-size: 0.88rem;
  margin: 0;
}
.cca-fbpro-clamp.is-clamped .cca-fbpro-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cca-fbpro-clamp__btn {
  border: 0;
  background: transparent;
  color: var(--fb-blue);
  font-weight: 650;
  padding: calc(var(--fb-gap) * 1) 0 0;
  cursor: pointer;
  font-size: 0.92rem;
  transition: opacity 200ms ease;
}
.cca-fbpro-clamp__btn:hover { opacity: 0.8; }
.cca-fbpro-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: calc(var(--fb-gap) * 1.5);
  margin-bottom: calc(var(--fb-gap) * 1.5);
}
.cca-fbpro-card__head h2 { margin: 0; }
.cca-fbpro-card__head .cca-muted {
  margin-top: 4px;
  font-size: 0.9rem;
}
.cca-fbpro-card__head a {
  color: var(--fb-blue);
  font-weight: 650;
  font-size: 0.9rem;
  transition: opacity 200ms ease;
}
.cca-fbpro-card__head a:hover { opacity: 0.8; }

.cca-fbpro-facts {
  list-style: none;
  margin: calc(var(--fb-gap) * 1.5) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cca-fbpro-facts li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--fb-ink-2);
  font-size: 0.86rem;
  line-height: 1.4;
}
.cca-fbpro-facts .cca-ico {
  width: 28px !important;
  height: 28px !important;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 8px;
  background: var(--fb-surface);
  color: var(--fb-muted);
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cca-fbpro-facts strong { color: var(--fb-ink); font-weight: 650; }
.cca-fbpro-facts a {
  color: var(--fb-blue);
  word-break: break-all;
  font-weight: 550;
  transition: opacity 200ms ease;
}
.cca-fbpro-facts a:hover { opacity: 0.85; }

.cca-fbpro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fb-gap);
  margin-top: calc(var(--fb-gap) * 2.5);
  padding-top: calc(var(--fb-gap) * 2);
  border-top: 1px solid #eef0f3;
}
.cca-fbpro-tags span {
  background: var(--fb-surface);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fb-ink-2);
  transition: background 220ms ease, transform 220ms ease;
}
.cca-fbpro-tags span:hover {
  background: #e4e6eb;
  transform: translateY(-1px);
}

.cca-fbpro-friends {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--fb-gap) * 1.5);
}
.cca-fbpro-friends__item {
  display: grid;
  gap: 8px;
  text-align: left;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: transform 250ms ease;
}
.cca-fbpro-friends__item:hover { transform: translateY(-2px); }
.cca-fbpro-friends__item img,
.cca-fbpro-friends__item span {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--fb-surface);
  font-weight: 750;
  color: #3f3f46;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: box-shadow 250ms ease, filter 250ms ease;
}
.cca-fbpro-friends__item:hover img,
.cca-fbpro-friends__item:hover span {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
  filter: brightness(1.02);
}
.cca-fbpro-friends__item em {
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.25;
  color: var(--fb-ink);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cca-fbpro-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--fb-gap);
}
.cca-fbpro-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.cca-fbpro-photos img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.cca-fbpro-hours {
  list-style: none;
  margin: calc(var(--fb-gap) * 0.5) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  overflow: hidden;
}
.cca-fbpro-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(var(--fb-gap) * 2);
  font-size: 0.86rem;
  padding: 10px 14px;
  border-bottom: 1px solid #eef0f3;
  line-height: 1.35;
  color: var(--fb-ink-2);
  background: #fff;
  transition: background 200ms ease;
}
.cca-fbpro-hours li:nth-child(even) { background: #fafbfc; }
.cca-fbpro-hours li:last-child { border-bottom: 0; }
.cca-fbpro-hours li:hover { background: #f5f7fa; }
.cca-fbpro-hours span {
  color: var(--fb-muted);
  font-weight: 600;
  min-width: 7rem;
}
.cca-fbpro-hours em {
  font-style: normal;
  color: var(--fb-ink);
  font-weight: 600;
  text-align: right;
}

.cca-fbpro-card--cta {
  padding: calc(var(--fb-gap) * 2.5);
}
.cca-fbpro-msgpromo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: calc(var(--fb-gap) * 1.5);
  align-items: center;
  margin-bottom: 0;
}
.cca-fbpro-msgpromo img,
.cca-fbpro-msgpromo > span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--fb-surface);
  font-weight: 750;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--fb-border);
}
.cca-fbpro-msgpromo strong {
  display: block;
  color: var(--fb-ink);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.cca-fbpro-msgpromo .cca-muted {
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
}

.cca-fbpro-composer { position: relative; }
.cca-fbpro-composer__row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: end;
  background: var(--fb-surface);
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 8px 10px 8px 8px;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.cca-fbpro-composer__row:focus-within {
  background: #fff;
  border-color: rgba(8, 102, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(8, 102, 255, 0.12);
}
.cca-fbpro-composer__row .cca-msg__tool {
  width: 40px;
  height: 40px;
  color: var(--fb-blue);
  border-radius: 50%;
  transition: background 220ms ease, transform 220ms ease;
}
.cca-fbpro-composer__row .cca-msg__tool:hover {
  background: #e7f3ff;
  transform: scale(1.04);
}
.cca-fbpro-composer__row textarea {
  border: 0;
  background: transparent;
  resize: none;
  min-height: 40px;
  max-height: 120px;
  padding: 10px 8px;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--fb-ink);
  width: 100%;
  font-weight: 500;
}
.cca-fbpro-composer__row textarea:focus { outline: none; }
.cca-fbpro-composer__row textarea::placeholder { color: #8a8d91; font-weight: 500; }
.cca-fbpro-composer__row .cca-msg__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fb-blue);
  box-shadow: 0 2px 8px rgba(8, 102, 255, 0.28);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.cca-fbpro-composer__row .cca-msg__send:hover {
  background: var(--fb-blue-hover);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(8, 102, 255, 0.35);
}
.cca-fbpro-composer .cca-msg__emoji {
  left: 8px;
  bottom: calc(100% + 10px);
  border-radius: 16px;
  box-shadow: var(--fb-shadow-hover);
  padding: 12px;
}
.cca-fbpro-composer .cca-msg__preview {
  margin: calc(var(--fb-gap) * 1.5) 0 0 8px;
}

.cca-msg-sheet {
  border: 0;
  border-radius: var(--fb-radius);
  padding: 0;
  width: min(460px, calc(100vw - 1.5rem));
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.22);
  background: #fff;
}
.cca-msg-sheet::backdrop { background: rgba(15, 23, 42, 0.42); }
.cca-msg-sheet__close-form { position: absolute; top: 12px; right: 12px; margin: 0; }
.cca-msg-sheet__close-form button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--fb-surface);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  transition: background 220ms ease;
}
.cca-msg-sheet__close-form button:hover { background: #e4e6eb; }
.cca-msg-sheet__head {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px 52px 16px 20px;
  border-bottom: 1px solid var(--fb-border);
}
.cca-msg-sheet__head img,
.cca-msg-sheet__head span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--fb-surface);
  font-weight: 750;
}
.cca-msg-sheet__head strong {
  display: block;
  color: var(--fb-ink);
  font-size: 1.05rem;
}
.cca-msg-sheet__head em {
  font-style: normal;
  color: var(--fb-muted);
  font-size: 0.88rem;
}
.cca-msg-sheet .cca-fbpro-composer { padding: 16px 20px 20px; }

@media (max-width: 960px) {
  .cca-fbpro__head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    margin-top: -56px;
    gap: calc(var(--fb-gap) * 1.5);
    padding: 0 calc(var(--fb-gap) * 2) calc(var(--fb-gap) * 2);
  }
  .cca-fbpro__avatar { width: 140px; height: 140px; border-width: 5px; }
  .cca-fbpro__titleblock {
    padding-top: calc(var(--fb-gap) * 1.5);
    text-align: center;
  }
  .cca-fbpro__titleblock h1 { font-size: 1.75rem; }
  .cca-fbpro__cta { justify-content: center; padding-bottom: 0; }
  .cca-fbpro__cover { height: 180px; }
  .cca-fbpro__cover-drop {
    min-width: 0;
    max-width: calc(100vw - 2.5rem);
    padding: 0.55rem 0.75rem;
  }
  .cca-fbpro__cover-drop__title,
  .cca-fbpro__cover-drop__hint {
    white-space: normal;
  }
  .cca-fbpro__body { grid-template-columns: 1fr; gap: calc(var(--fb-gap) * 2); }
  .cca-fbpro__aside {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .cca-fbpro__tabs { padding: 4px var(--fb-gap) 0; }
  .cca-fbpro-msgpromo { grid-template-columns: auto 1fr; }
  .cca-fbpro-facts li { grid-template-columns: 28px 1fr; }
  .cca-fbpro-facts .cca-ico { width: 28px !important; height: 28px !important; border-radius: 8px; }
}

/* ===== Messenger-style chat ===== */
.cca-msg {
  display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  height: calc(100vh - 7.5rem); min-height: 560px;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-md);
}
.cca-msg__list {
  display: flex; flex-direction: column; min-height: 0;
  border-right: 1px solid var(--border); background: #fff;
}
.cca-msg__list-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1rem 0.55rem; font-size: 1.35rem; font-weight: 800;
}
.cca-msg__list-head a { color: #050505; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e4e6eb; }
.cca-msg__search { padding: 0.55rem 1rem 0.75rem; }
.cca-msg__search input {
  width: 100%; border: 0; background: #f0f2f5; border-radius: 999px;
  padding: 0.7rem 1rem; font-weight: 500;
}
.cca-msg__search input:focus { outline: none; box-shadow: 0 0 0 2px rgba(8,102,255,.25); }
.cca-msg__threads { overflow: auto; flex: 1; padding: 0.25rem 0.45rem 0.75rem; }
.cca-msg__empty-list { padding: 1.5rem 1rem; text-align: center; color: #65676b; }
.cca-msg__empty-list strong { display: block; color: var(--ink); margin-bottom: 0.35rem; }
.cca-msg__thread {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 0.7rem; align-items: center;
  padding: 0.55rem 0.65rem; border-radius: 12px; margin-bottom: 0.15rem;
}
.cca-msg__thread:hover { background: #f2f3f5; }
.cca-msg__thread.is-active { background: #e7f3ff; }
.cca-msg__thread.is-unread strong { font-weight: 800; }
.cca-msg__avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; background: #e4e6eb;
}
.cca-msg__avatar--sm { width: 28px; height: 28px; }
.cca-msg__avatar--fallback {
  display: grid; place-items: center; font-weight: 750; color: #fff;
  background: linear-gradient(145deg, #52525b, #3f3f46); font-size: 0.85rem;
}
.cca-msg__thread-body { min-width: 0; }
.cca-msg__thread-body strong {
  display: block; font-size: 0.95rem; font-weight: 650; color: #050505;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cca-msg__thread-body span {
  display: block; font-size: 0.82rem; color: #65676b;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cca-msg__thread.is-unread .cca-msg__thread-body span { color: #050505; font-weight: 650; }
.cca-msg__thread-meta { text-align: right; display: grid; gap: 0.35rem; justify-items: end; }
.cca-msg__thread-meta em { font-style: normal; font-size: 0.72rem; color: #65676b; }
.cca-msg__thread-meta b {
  min-width: 1.15rem; height: 1.15rem; padding: 0 0.3rem; border-radius: 999px;
  background: #0866ff; color: #fff; font-size: 0.68rem; display: grid; place-items: center; font-weight: 750;
}
.cca-msg__pane { display: flex; flex-direction: column; min-height: 0; background: #fff; }
.cca-msg__welcome {
  margin: auto; text-align: center; max-width: 18rem; padding: 2rem; color: #65676b;
}
.cca-msg__welcome-ico {
  width: 64px; height: 64px; border-radius: 50%; background: #e7f3ff; color: #0866ff;
  display: grid; place-items: center; margin: 0 auto 0.85rem;
}
.cca-msg__welcome strong { display: block; color: #050505; font-size: 1.25rem; margin-bottom: 0.35rem; }
.cca-msg__top {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.cca-msg__person { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.cca-msg__person .cca-msg__avatar { width: 40px; height: 40px; }
.cca-msg__person strong { display: block; font-size: 0.98rem; font-weight: 750; color: #050505; }
.cca-msg__person span { display: block; font-size: 0.78rem; color: #65676b; }
.cca-msg__iconbtn {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #e4e6eb; color: #050505;
}
.cca-msg__stream {
  flex: 1; overflow: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem;
  background: #fff;
}
.cca-msg__row { display: flex; align-items: flex-end; gap: 0.45rem; max-width: 78%; }
.cca-msg__row.is-theirs { align-self: flex-start; }
.cca-msg__row.is-mine { align-self: flex-end; flex-direction: row-reverse; }
.cca-msg__bubble-wrap { display: grid; gap: 0.15rem; }
.cca-msg__row.is-mine .cca-msg__bubble-wrap { justify-items: end; }
.cca-msg__bubble {
  padding: 0.55rem 0.85rem; border-radius: 18px; font-size: 0.95rem; line-height: 1.4;
  background: #f0f2f5; color: #050505; max-width: 100%;
}
.cca-msg__row.is-mine .cca-msg__bubble {
  background: #0866ff; color: #fff; border-bottom-right-radius: 6px;
}
.cca-msg__row.is-theirs .cca-msg__bubble { border-bottom-left-radius: 6px; }
.cca-msg__bubble--media {
  padding: 0.25rem; background: transparent !important; overflow: hidden;
}
.cca-msg__row.is-mine .cca-msg__bubble--media { border-bottom-right-radius: 10px; }
.cca-msg__row.is-theirs .cca-msg__bubble--media { border-bottom-left-radius: 10px; }
.cca-msg__photo { display: block; line-height: 0; }
.cca-msg__photo img {
  display: block; max-width: min(260px, 70vw); max-height: 280px;
  border-radius: 14px; object-fit: cover;
}
.cca-msg__type {
  display: block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; opacity: 0.7; margin-bottom: 0.15rem;
}
.cca-msg__time { font-size: 0.68rem; color: #65676b; padding: 0 0.35rem; }
.cca-msg__composer {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.4rem; align-items: end;
  padding: 0.7rem 0.9rem 0.9rem; border-top: 1px solid var(--border); background: #fff;
}
.cca-msg__tools { display: flex; gap: 0.15rem; align-items: center; padding-bottom: 0.15rem; }
.cca-msg__tool {
  width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: #0866ff; cursor: pointer;
  display: grid; place-items: center; flex-shrink: 0;
}
label.cca-msg__tool { margin: 0; }
.cca-msg__tool:hover { background: #e7f3ff; }
.cca-msg__emoji {
  position: absolute; left: 0.75rem; bottom: 4.4rem; z-index: 5;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.25rem;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 0.7rem; box-shadow: var(--shadow-md); max-width: 340px;
  max-height: 220px; overflow: auto;
}
.cca-msg__emoji button {
  border: 0; background: transparent; font-size: 1.25rem; width: 2.1rem; height: 2.1rem;
  border-radius: 8px; cursor: pointer;
}
.cca-msg__emoji button:hover { background: #f0f2f5; }
.cca-msg__compose-main {
  display: grid; gap: 0.4rem; min-width: 0;
  background: #f0f2f5; border-radius: 22px; padding: 0.35rem 0.85rem 0.4rem;
}
.cca-msg__preview {
  position: relative; display: inline-flex; margin: 0.25rem 0 0.1rem;
}
.cca-msg__preview img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 12px;
  border: 1px solid #d8dadf; display: block;
}
.cca-msg__preview-clear {
  position: absolute; top: -6px; right: -6px; width: 22px; height: 22px;
  border: 0; border-radius: 50%; background: #050505; color: #fff;
  font-size: 14px; line-height: 1; cursor: pointer;
}
.cca-msg__composer textarea {
  border: 0; background: transparent; border-radius: 0; padding: 0.45rem 0.1rem;
  resize: none; min-height: 36px; max-height: 120px; font-size: 0.98rem;
  font-weight: 500; color: #050505; line-height: 1.4; width: 100%;
}
.cca-msg__composer textarea:focus { outline: none; box-shadow: none; }
.cca-msg__compose-main:focus-within { box-shadow: 0 0 0 2px rgba(8,102,255,.22); }
.cca-msg__send {
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: #0866ff; color: #fff;
  display: grid; place-items: center; cursor: pointer; margin-bottom: 0.1rem;
}
.cca-msg__send:hover { background: #0753d1; }
@media (max-width: 860px) {
  .cca-msg { grid-template-columns: 1fr; height: auto; min-height: 70vh; }
  .cca-msg__list { max-height: 38vh; border-right: 0; border-bottom: 1px solid var(--border); }
}

/* —— Modern cover / gallery dropzones —— */
.cca-dropzone--modern {
  border: 2px dashed #d4d4d8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  min-height: 11rem;
}
.cca-dropzone--modern:hover,
.cca-dropzone--modern.is-dragover {
  border-color: #ffc107;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}
.cca-dropzone__hint {
  margin: 0.45rem 0 0 !important;
  font-size: 0.78rem !important;
  color: #52525b !important;
  max-width: 28rem;
}
.cca-dropzone__hint strong { color: #ffc107; font-weight: 700; }
.cca-dropzone__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: rgba(28, 36, 48, 0.08);
  z-index: 4;
}
.cca-dropzone__progress[hidden] { display: none !important; }
.cca-dropzone__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: #ffc107;
  transition: width 180ms ease;
}
.cca-dropzone--cover.cca-dropzone--modern .cca-dropzone__cover-img {
  height: 160px !important;
}

/* Profile page cover upload overlay */
.cca-fbpro__cover-drop {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.7rem;
  row-gap: 0.1rem;
  align-items: center;
  min-width: 260px;
  max-width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: rgba(12, 12, 13, 0.82);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}
.cca-fbpro__cover-drop:hover { background: rgba(12, 12, 13, 0.92); }
.cca-fbpro__cover-drop__icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}
.cca-fbpro__cover-drop__title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.cca-fbpro__cover-drop__hint {
  font-size: 0.72rem;
  opacity: 0.85;
  line-height: 1.3;
  white-space: nowrap;
}
.cca-fbpro__cover-progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: rgba(255,255,255,0.25); z-index: 5;
}
.cca-fbpro__cover-progress[hidden] { display: none !important; }
.cca-fbpro__cover-progress span {
  display: block; height: 100%; width: 0%; background: #ffc107;
}

/* Community: view more + image tip + stories polish */
.fb-post__view-more {
  border: 0;
  background: transparent;
  color: #ffc107;
  font: inherit;
  font-weight: 750;
  font-size: 0.9rem;
  padding: 0.15rem 0 0;
  cursor: pointer;
}
.fb-post__view-more:hover { text-decoration: underline; }
.fb-feed-more {
  display: flex;
  justify-content: center;
  padding: 0.35rem 0 0.75rem;
}
.fb-modal__image-tip {
  margin: 0.35rem 0 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #fff5f6;
  border: 1px solid rgba(255, 193, 7, 0.18);
  font-size: 0.82rem;
  color: #444;
  line-height: 1.4;
}
.fb-modal__image-tip strong { color: #ffc107; }
.fb-modal__progress {
  margin: 0.35rem 0 0.55rem;
  height: 6px;
  border-radius: 999px;
  background: #eef0f4;
  overflow: hidden;
  position: relative;
}
.fb-modal__progress[hidden] { display: none !important; }
.fb-modal__progress span {
  display: block; height: 100%; width: 0%;
  background: #ffc107; transition: width 160ms ease;
}
.fb-modal__progress em {
  display: block; margin-top: 0.35rem; font-style: normal;
  font-size: 0.78rem; color: #666; position: absolute; left: 0; top: 8px;
}
.fb-stories-wrap { padding: 0 2.4rem; }
.fb-stories__nav {
  opacity: 1 !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16) !important;
}
.fb-stories__nav.is-hidden { opacity: 0 !important; pointer-events: none !important; }
.cca-event-detail__desc a {
  color: #ffc107;
  font-weight: 650;
  word-break: break-word;
}
.cca-help {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #777;
  font-style: normal;
}

/* Profile custom fields + section save */
.cca-custom-fields {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #eceef2;
}
.cca-custom-fields__head span {
  display: block;
  font-weight: 650;
  margin-bottom: 0.15rem;
}
.cca-custom-fields__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.65rem 0 0.75rem;
}
.cca-custom-fields__row {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}
.cca-form .cca-custom-fields__row > input.cca-custom-fields__name,
.cca-form .cca-custom-fields__row > input.cca-custom-fields__value,
.cca-custom-fields__row > input.cca-custom-fields__name,
.cca-custom-fields__row > input.cca-custom-fields__value {
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
  margin: 0;
}
.cca-custom-fields__remove {
  flex: 0 0 2.55rem;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  border: 1.5px solid var(--border, #e5e7eb);
  background: #fff;
  color: #52525b;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cca-custom-fields__remove:hover {
  border-color: #ffc107;
  color: #ffc107;
  background: #fff5f5;
}
.cca-custom-fields__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cca-section-actions {
  margin-top: 1.15rem;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 640px) {
  .cca-custom-fields__row {
    flex-wrap: wrap;
  }
  .cca-form .cca-custom-fields__row > input.cca-custom-fields__name,
  .cca-form .cca-custom-fields__row > input.cca-custom-fields__value,
  .cca-custom-fields__row > input.cca-custom-fields__name,
  .cca-custom-fields__row > input.cca-custom-fields__value {
    flex: 1 1 calc(50% - 2rem);
  }
  .cca-custom-fields__remove {
    margin-left: auto;
  }
}

/* Clickable profile photo */
.cca-fbpro__media-form--avatar-full {
  position: relative;
  display: block;
}
.cca-fbpro__avatar-hit {
  display: block;
  cursor: pointer;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  line-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
  width: auto;
}
.cca-fbpro-friends__photo {
  display: block;
  cursor: zoom-in;
  border-radius: inherit;
  overflow: hidden;
  line-height: 0;
}
.cca-fbpro-friends__photo img,
.cca-fbpro-friends__fallback {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.cca-fbpro-friends__fallback {
  display: grid;
  place-items: center;
  background: #e4e4e7;
  color: #3f3f46;
  font-weight: 700;
  font-size: 0.85rem;
}
.cca-fbpro-photos img[data-lightbox],
.cca-fbpro__avatar[data-lightbox],
.cca-fbpro-msgpromo img[data-lightbox] {
  cursor: zoom-in;
}
.cca-swal--lightbox img {
  max-height: min(72vh, 720px);
  object-fit: contain;
  border-radius: 12px;
}
.cca-fbpro__avatar-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  opacity: 0;
  transition: opacity 160ms ease;
  text-align: center;
  padding: 0.5rem;
}
.cca-fbpro__avatar-hit:hover .cca-fbpro__avatar-overlay,
.cca-fbpro__avatar-hit:focus-within .cca-fbpro__avatar-overlay {
  opacity: 1;
}

/* Events location control */
.cca-geo-field {
  gap: 0.55rem;
}
.cca-geo-field__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.cca-geo-field__label > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
.cca-geo-status {
  font-style: normal;
  font-size: 0.75rem;
  color: #71717a;
  white-space: nowrap;
}
.cca-geo-status.is-ok { color: #15803d; }
.cca-geo-status.is-err { color: #b91c1c; }
.cca-geo-control {
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
  width: 100%;
}
.cca-form .cca-geo-control > input,
.cca-geo-control > input {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  margin: 0;
}
.cca-geo-control__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--border-strong, #d4d4d8);
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  font-size: 0.86rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.cca-geo-control__btn:hover {
  border-color: #ffc107;
  color: #ffc107;
  background: #fff5f5;
}
.cca-geo-control__btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.cca-geo-field.is-locating .cca-geo-control__btn {
  border-color: #ffc107;
  color: #ffc107;
}
.cca-geo-suggest {
  list-style: none;
  margin: 0;
  padding: 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  max-height: 220px;
  overflow: auto;
}
.cca-geo-suggest li button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.cca-geo-suggest li button:hover {
  background: #f4f5f7;
}
.cca-event-tag.is-pending {
  background: #fff7ed;
  color: #9a3412;
}
.cca-event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}
.cca-event-gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f4f5f7;
}
.cca-event-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .cca-geo-control {
    flex-wrap: wrap;
  }
  .cca-geo-control__btn {
    width: 100%;
    min-height: 2.75rem;
  }
}

/* Professional events tables */
.cca-evtable-wrap {
  overflow-x: auto;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  background: #fff;
}
.cca-evtable {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
.cca-evtable thead th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #71717a;
  padding: 0.85rem 1rem;
  background: #fafafa;
  border-bottom: 1px solid var(--border, #e5e7eb);
  white-space: nowrap;
}
.cca-evtable td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #f0f1f3;
  vertical-align: middle;
  font-size: 0.9rem;
  color: var(--ink);
}
.cca-evtable tbody tr:last-child td { border-bottom: 0; }
.cca-evtable tbody tr:hover td { background: #fcfcfd; }
.cca-evtable__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.cca-evtable__title strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.cca-evtable__meta {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}
.cca-evtable__meta span:last-child {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.cca-evtable__meta strong {
  font-weight: 650;
  font-size: 0.88rem;
}
.cca-evtable__meta em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.78rem;
}
.cca-evtable__ico {
  display: inline-flex;
  color: #a1a1aa;
  margin-top: 0.1rem;
  flex: 0 0 auto;
}
.cca-evtable__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  white-space: nowrap;
}
.cca-evtable__form { margin: 0; display: inline-flex; }
.cca-evtable__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0 0.65rem;
  border-radius: 9px;
  border: 1px solid var(--border-strong, #d4d4d8);
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.cca-evtable__btn:hover {
  border-color: #ffc107;
  color: #ffc107;
  background: #fff5f5;
}
.cca-evtable__btn.is-danger:hover {
  border-color: #b91c1c;
  color: #b91c1c;
  background: #fef2f2;
}
.cca-evtable__more {
  display: flex;
  justify-content: center;
  padding: 0.85rem;
  border-top: 1px solid #f0f1f3;
}
.cca-evtable__row.is-collapsed { display: none; }
@media (max-width: 900px) {
  .cca-evtable { min-width: 0; }
  .cca-evtable thead { display: none; }
  .cca-evtable, .cca-evtable tbody, .cca-evtable tr, .cca-evtable td {
    display: block;
    width: 100%;
  }
  .cca-evtable__row {
    padding: 0.85rem 0;
    border-bottom: 1px solid #f0f1f3;
  }
  .cca-evtable td {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border: 0;
  }
  .cca-evtable td::before {
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #71717a;
    padding-top: 0.2rem;
  }
  .cca-evtable__actions {
    grid-column: 1 / -1;
    padding-top: 0.35rem;
  }
  .cca-evtable td.cca-evtable__actions::before { display: none; }
}

/* Full notifications page */
.cca-notif-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cca-notif-page__count {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 550;
}
.cca-notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cca-notif-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border, #e5e7eb);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.cca-notif-card:hover {
  border-color: #d4d4d8;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.cca-notif-card.is-unread {
  background: #fff8f8;
  border-color: rgba(255, 193, 7, 0.18);
  box-shadow: inset 3px 0 0 #ffc107;
}
.cca-notif-card__ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.cca-notif-card__body strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.cca-notif-card__body p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}
.cca-notif-card__meta {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
  text-align: right;
}
.cca-notif-card__meta time {
  font-size: 0.72rem;
  color: #a1a1aa;
  font-weight: 550;
  white-space: nowrap;
}
.cca-notif-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #ffc107;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .cca-notif-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .cca-notif-card__meta {
    grid-column: 2;
    justify-items: start;
    text-align: left;
    margin-top: 0.15rem;
  }
}



