.ch-consent-root{position:relative;z-index:999999}.ch-consent-banner{position:fixed;left:18px;right:18px;bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1180px;margin:auto;padding:18px 20px;border:1px solid rgba(127,127,127,.25);border-radius:16px;background:#fff;color:#171717;box-shadow:0 18px 55px rgba(0,0,0,.18)}.ch-consent-copy{max-width:720px}.ch-consent-copy strong{font-size:18px}.ch-consent-copy p{margin:5px 0 7px;line-height:1.45;color:#555}.ch-consent-policy-links{display:flex;gap:12px;font-size:13px}.ch-consent-actions,.ch-consent-panel-actions{display:flex;flex-wrap:wrap;gap:8px}.ch-consent-primary,.ch-consent-secondary{padding:9px 13px;border-radius:9px;cursor:pointer;font-weight:700}.ch-consent-primary{border:1px solid #1677ff;background:#1677ff;color:#fff}.ch-consent-secondary{border:1px solid #cfd3d8;background:#fff;color:#222}.ch-consent-panel{position:fixed;inset:0;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.48)}.ch-consent-panel-card{width:min(620px,100%);max-height:min(760px,90vh);overflow:auto;padding:22px;border-radius:18px;background:#fff;color:#171717;box-shadow:0 24px 70px rgba(0,0,0,.3)}.ch-consent-panel-head{display:flex;justify-content:space-between;gap:20px}.ch-consent-panel-head h2{margin:3px 0 16px}.ch-consent-kicker{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#1677ff}.ch-consent-close{border:0;background:transparent;font-size:28px;cursor:pointer}.ch-consent-category{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-top:1px solid #eceef0}.ch-consent-category strong{display:block}.ch-consent-category p{margin:3px 0 0;color:#666;font-size:13px;line-height:1.4}.ch-consent-category input{width:20px;height:20px}.ch-consent-required{font-size:12px;font-weight:800;color:#666;white-space:nowrap}.ch-consent-panel-actions{justify-content:flex-end;margin-top:16px;padding-top:16px;border-top:1px solid #eceef0}.ch-privacy-choices-button{position:fixed;right:14px;bottom:14px;z-index:99990;padding:7px 10px;border:1px solid rgba(127,127,127,.35);border-radius:999px;background:#fff;color:#333;box-shadow:0 5px 16px rgba(0,0,0,.1);cursor:pointer;font-size:12px;font-weight:700}@media(prefers-color-scheme:dark){html[data-ch-theme-mode="dark"] .ch-consent-banner,html[data-ch-theme-mode="dark"] .ch-consent-panel-card,html[data-ch-theme-mode="dark"] .ch-consent-secondary,html[data-ch-theme-mode="dark"] .ch-privacy-choices-button{background:#17191c;color:#f3f5f7;border-color:#34383e}html[data-ch-theme-mode="dark"] .ch-consent-copy p,html[data-ch-theme-mode="dark"] .ch-consent-category p,html[data-ch-theme-mode="dark"] .ch-consent-required{color:#b9bec5}html[data-ch-theme-mode="dark"] .ch-consent-category,html[data-ch-theme-mode="dark"] .ch-consent-panel-actions{border-color:#30343a}}@media(max-width:700px){.ch-consent-banner{left:10px;right:10px;bottom:10px;display:block;padding:16px}.ch-consent-actions{margin-top:12px}.ch-consent-actions button{flex:1 1 44%}.ch-consent-primary,.ch-consent-secondary{min-height:42px}.ch-consent-panel{padding:10px}.ch-consent-panel-card{padding:18px}}
.ch-privacy-footer-choice{display:flex;justify-content:center;width:100%;padding:10px 16px 18px;box-sizing:border-box}
.ch-privacy-choices-link{appearance:none;border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;font-size:12px;opacity:.72}
.ch-privacy-choices-link:hover,.ch-privacy-choices-link:focus-visible{opacity:1}
.ch-privacy-choices-button{position:static!important;right:auto!important;bottom:auto!important;box-shadow:none!important}

.ch-tos-overlay{position:fixed;inset:0;z-index:1000001;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.62);backdrop-filter:blur(4px)}
.ch-tos-dialog{width:min(560px,100%);padding:24px;border-radius:18px;background:#fff;color:#171717;box-shadow:0 28px 80px rgba(0,0,0,.35)}
.ch-tos-dialog h2{margin:4px 0 10px;font-size:24px}
.ch-tos-dialog p{line-height:1.5;color:#555}
.ch-tos-read-link{font-weight:750}
.ch-tos-check-row{display:flex;align-items:flex-start;gap:10px;margin:18px 0;padding:13px;border:1px solid #e0e3e6;border-radius:12px;background:#f7f8f9}
.ch-tos-check-row input{width:19px;height:19px;margin-top:1px}
.ch-tos-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ch-tos-logout{text-decoration:none;display:inline-flex;align-items:center}
.ch-tos-record-note{margin-bottom:0!important;font-size:12px!important;opacity:.72}
html.ch-tos-required body{overflow:hidden}
@media(prefers-color-scheme:dark){
 html[data-ch-theme-mode="dark"] .ch-tos-dialog{background:#17191c;color:#f3f5f7}
 html[data-ch-theme-mode="dark"] .ch-tos-dialog p{color:#b9bec5}
 html[data-ch-theme-mode="dark"] .ch-tos-check-row{background:#202328;border-color:#34383e}
}
@media(max-width:560px){
 .ch-tos-overlay{padding:10px}
 .ch-tos-dialog{padding:19px}
 .ch-tos-actions>*{flex:1 1 100%;justify-content:center;text-align:center}
}


/* v1.0.27 — explicit TOS readability contract in both CommunityHub modes. */
.ch-tos-dialog{
	background:#ffffff!important;
	color:#111827!important;
	border:1px solid #dbe3ec!important;
}
.ch-tos-dialog .ch-consent-kicker{color:#1d4ed8!important}
.ch-tos-dialog h2,
.ch-tos-dialog strong,
.ch-tos-dialog label,
.ch-tos-check-row span{color:#111827!important}
.ch-tos-dialog p,
.ch-tos-record-note{color:#475569!important}
.ch-tos-dialog a:not(.ch-tos-logout){color:#1d4ed8!important}
.ch-tos-check-row{
	background:#f8fafc!important;
	border-color:#dbe3ec!important;
	color:#111827!important;
}
.ch-tos-logout{
	background:#ffffff!important;
	color:#1f2937!important;
	border-color:#cbd5e1!important;
}
html[data-ch-theme-mode="dark"] .ch-tos-dialog,
body.ch-theme-mode-dark .ch-tos-dialog{
	background:#17191d!important;
	color:#f3f4f6!important;
	border-color:#343942!important;
}
html[data-ch-theme-mode="dark"] .ch-tos-dialog .ch-consent-kicker,
body.ch-theme-mode-dark .ch-tos-dialog .ch-consent-kicker{color:#8cc7ff!important}
html[data-ch-theme-mode="dark"] .ch-tos-dialog h2,
html[data-ch-theme-mode="dark"] .ch-tos-dialog strong,
html[data-ch-theme-mode="dark"] .ch-tos-dialog label,
html[data-ch-theme-mode="dark"] .ch-tos-check-row span,
body.ch-theme-mode-dark .ch-tos-dialog h2,
body.ch-theme-mode-dark .ch-tos-dialog strong,
body.ch-theme-mode-dark .ch-tos-dialog label,
body.ch-theme-mode-dark .ch-tos-check-row span{color:#f3f4f6!important}
html[data-ch-theme-mode="dark"] .ch-tos-dialog p,
html[data-ch-theme-mode="dark"] .ch-tos-record-note,
body.ch-theme-mode-dark .ch-tos-dialog p,
body.ch-theme-mode-dark .ch-tos-record-note{color:#b7c0cc!important}
html[data-ch-theme-mode="dark"] .ch-tos-dialog a:not(.ch-tos-logout),
body.ch-theme-mode-dark .ch-tos-dialog a:not(.ch-tos-logout){color:#8cc7ff!important}
html[data-ch-theme-mode="dark"] .ch-tos-check-row,
body.ch-theme-mode-dark .ch-tos-check-row{
	background:#20242a!important;
	border-color:#3a4049!important;
	color:#f3f4f6!important;
}
html[data-ch-theme-mode="dark"] .ch-tos-logout,
body.ch-theme-mode-dark .ch-tos-logout{
	background:#20242a!important;
	color:#f3f4f6!important;
	border-color:#3a4049!important;
}

/* =========================================================
   v1.0.53 — explicit CommunityHub light/dark consent contract
   ========================================================= */
.ch-consent-banner,
.ch-consent-panel-card{
  background:#ffffff!important;
  color:#111827!important;
  border-color:#d8e0ea!important;
}
.ch-consent-banner strong,
.ch-consent-panel-card h2,
.ch-consent-panel-card strong,
.ch-consent-panel-card label,
.ch-consent-panel-card span{color:#111827!important}
.ch-consent-copy p,
.ch-consent-category p,
.ch-consent-required{color:#526174!important}
.ch-consent-policy-links a,.ch-consent-panel-card a{color:#1d4ed8!important}
.ch-consent-secondary,.ch-consent-close{background:#ffffff!important;color:#1f2937!important;border-color:#cbd5e1!important}
.ch-consent-category{border-color:#e2e8f0!important}
.ch-consent-panel-actions{border-color:#e2e8f0!important}
html[data-ch-theme-mode="dark"] .ch-consent-banner,
html[data-ch-theme-mode="dark"] .ch-consent-panel-card,
body.ch-theme-mode-dark .ch-consent-banner,
body.ch-theme-mode-dark .ch-consent-panel-card{
  background:#111827!important;
  color:#f8fafc!important;
  border-color:#334155!important;
}
html[data-ch-theme-mode="dark"] .ch-consent-banner strong,
html[data-ch-theme-mode="dark"] .ch-consent-panel-card h2,
html[data-ch-theme-mode="dark"] .ch-consent-panel-card strong,
html[data-ch-theme-mode="dark"] .ch-consent-panel-card label,
html[data-ch-theme-mode="dark"] .ch-consent-panel-card span,
body.ch-theme-mode-dark .ch-consent-banner strong,
body.ch-theme-mode-dark .ch-consent-panel-card h2,
body.ch-theme-mode-dark .ch-consent-panel-card strong,
body.ch-theme-mode-dark .ch-consent-panel-card label,
body.ch-theme-mode-dark .ch-consent-panel-card span{color:#f8fafc!important}
html[data-ch-theme-mode="dark"] .ch-consent-copy p,
html[data-ch-theme-mode="dark"] .ch-consent-category p,
html[data-ch-theme-mode="dark"] .ch-consent-required,
body.ch-theme-mode-dark .ch-consent-copy p,
body.ch-theme-mode-dark .ch-consent-category p,
body.ch-theme-mode-dark .ch-consent-required{color:#cbd5e1!important}
html[data-ch-theme-mode="dark"] .ch-consent-policy-links a,
html[data-ch-theme-mode="dark"] .ch-consent-panel-card a,
body.ch-theme-mode-dark .ch-consent-policy-links a,
body.ch-theme-mode-dark .ch-consent-panel-card a{color:#93c5fd!important}
html[data-ch-theme-mode="dark"] .ch-consent-secondary,
html[data-ch-theme-mode="dark"] .ch-consent-close,
body.ch-theme-mode-dark .ch-consent-secondary,
body.ch-theme-mode-dark .ch-consent-close{background:#1e293b!important;color:#f8fafc!important;border-color:#475569!important}
html[data-ch-theme-mode="dark"] .ch-consent-category,
html[data-ch-theme-mode="dark"] .ch-consent-panel-actions,
body.ch-theme-mode-dark .ch-consent-category,
body.ch-theme-mode-dark .ch-consent-panel-actions{border-color:#334155!important}
