/* Communiversity Connected Platform: front-end styles.
   Colors come from CSS variables set in Settings → Branding and can be overridden per widget
   in Elementor (Style tab). Every selector is prefixed with "html body" so the theme / Elementor
   kit globals (uppercase headings, big kit buttons, link colors) do not leak into the platform UI. */

:root {
	--cc-border: #D9DFE5;
	--cc-muted: #5F6873;
	--cc-card: #FFFFFF;
	--cc-card-border: #E5E9ED;
	--cc-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
	--cc-heading: var(--cc-text);
	--cc-heading-font: var(--cc-font);
	--cc-link: #8A6400;
	--cc-btn-radius: 10px;
	--cc-btn-text: #111111;
	--cc-input-bg: #FFFFFF;
	--cc-input-border: var(--cc-border);
	--cc-input-radius: 10px;
	--cc-label: var(--cc-text);
	--cc-panel-bg: var(--cc-dark);
	--cc-panel-text: #FFFFFF;
	--cc-panel-muted: #B9C0C8;
	--cc-page-bg: var(--cc-surface);
	--cc-sidebar-bg: var(--cc-dark);
	--cc-sidebar-text: #E7EAEE;
	--cc-sidebar-active-bg: var(--cc-primary);
	--cc-sidebar-active-text: #111111;
	--cc-icon-bg: #FFF4CC;
	--cc-icon-color: #8A6400;
}

html body .cc-ui {
	font-family: var(--cc-font);
	color: var(--cc-text);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
html body .cc-ui *, html body .cc-ui *::before, html body .cc-ui *::after { box-sizing: border-box; }
html body .cc-ui :where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--cc-heading-font); color: var(--cc-heading); margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.01em; text-transform: none; font-weight: 700;
}
/* Theme-proof buttons: colors come from --b-* variables so the kit's :hover / :focus colors never apply. */
html body .cc-ui :where(button, .cc-btn) {
	background-color: var(--b-bg, transparent); color: var(--b-fg, inherit); border-color: var(--b-bd, transparent);
	font-family: var(--cc-font); text-transform: none; letter-spacing: normal; text-shadow: none; box-shadow: none; text-decoration: none;
}
html body .cc-ui :where(button, .cc-btn):is(:hover, :focus) {
	background-color: var(--b-bg-h, var(--b-bg, transparent)); color: var(--b-fg-h, var(--b-fg, inherit)); border-color: var(--b-bd-h, var(--b-bd, transparent)); text-decoration: none;
}
html body .cc-ui :where(button:not(.cc-btn, .cc-link)) { padding: 0; font-size: inherit; border-radius: 8px; }
html body .cc-ui :where(a:not(.cc-btn)) { color: var(--cc-link); }
html body .cc-ui :where(a:not(.cc-btn)):hover { color: var(--cc-text); }
html body .cc-icon { flex: none; display: inline-block; vertical-align: middle; }
html body .cc-ui [hidden] { display: none !important; }
html body .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
html body .cc-muted { color: var(--cc-muted); }
html body .cc-block { display: block; }
html body .cc-center { text-align: center; }
html body .cc-strong { font-weight: 600; color: var(--cc-text); text-decoration: none; }
html body .cc-strong:hover { text-decoration: underline; }
html body .cc-num { text-align: right; font-variant-numeric: tabular-nums; }
html body .cc-fineprint { font-size: 12.5px; color: var(--cc-muted); margin: 16px 0 0; }
html body.cc-fullscreen { margin: 0; background: var(--cc-page-bg); }
/* Inside the theme (Hello Elementor): let platform pages use the full width. */
html body.cc-page:not(.elementor-page) .site-main { max-width: none; width: 100%; padding-left: 0; padding-right: 0; margin: 0; }
html body.cc-page:not(.elementor-page) .site-main > .page-header { display: none; }
html body.cc-page .page-content > p:empty { display: none; }
html body.cc-page .cc-thanks { margin: 48px auto; width: calc(100% - 32px); }
html body.cc-page .cc-network-stats { margin: 0 auto; }
html body .cc-eyebrow { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(255, 199, 44, .14); color: var(--cc-primary); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }

/* ---------------------------------------------------------------- Buttons */
html body .cc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 11px 22px; border-radius: var(--cc-btn-radius); border: 1.5px solid var(--b-bd, transparent);
	font: 700 15px/1.2 var(--cc-font); text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; white-space: nowrap;
}
html body .cc-btn:focus-visible, html body .cc-link:focus-visible, html body .cc-ui a:focus-visible, html body .cc-ui button:focus-visible { outline: 3px solid var(--cc-primary); outline-offset: 2px; }
html body .cc-btn[disabled] { opacity: .5; cursor: not-allowed; }
html body .cc-btn--primary { --b-bg: var(--cc-primary); --b-fg: var(--cc-btn-text); --b-bg-h: var(--cc-primary-hover); --b-fg-h: var(--cc-btn-text); }
html body .cc-btn--primary:hover { box-shadow: 0 6px 16px rgba(242, 183, 5, .28); }
html body .cc-btn--dark { --b-bg: var(--cc-dark); --b-fg: #fff; --b-bg-h: #000; --b-fg-h: #fff; }
html body .cc-btn--outline { --b-bg: #fff; --b-bd: var(--cc-border); --b-fg: var(--cc-text); --b-bd-h: var(--cc-text); --b-fg-h: var(--cc-text); }
html body .cc-btn--outline-light { --b-bg: transparent; --b-bd: var(--cc-primary); --b-fg: var(--cc-primary); --b-bg-h: var(--cc-primary); --b-fg-h: #111; }
html body .cc-btn--ghost { --b-bg: transparent; --b-fg: var(--cc-text); --b-bg-h: rgba(0, 0, 0, .05); --b-fg-h: var(--cc-text); padding-left: 12px; padding-right: 12px; }
html body .cc-btn--soft { --b-bg: #FFF6D6; --b-fg: #5A4300; --b-bd: #F7DD8A; --b-bg-h: #FFEDB0; --b-fg-h: #3C2D00; }
html body .cc-btn--block { display: flex; width: 100%; }
html body .cc-btn--sm { min-height: 34px; padding: 6px 12px; font-size: 13.5px; }
html body .cc-link { --b-bg: transparent; --b-fg: var(--cc-link); --b-fg-h: #6A4D00; border: 0; padding: 0; border-radius: 4px; font: 600 14px/1.4 var(--cc-font); text-decoration: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
html body .cc-link:hover { text-decoration: underline; color: #6A4D00; }
html body .cc-link--danger { --b-fg: var(--cc-danger); --b-fg-h: var(--cc-danger); color: var(--cc-danger); }
html body .cc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
html body .cc-actions--center { justify-content: center; }
html body .cc-inline-form { display: inline; margin: 0; }
html body .cc-chip-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--cc-card-border); background: #fff; color: var(--cc-text); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s; }
html body .cc-ui .cc-chip-btn:hover { border-color: var(--cc-primary); background: #FFFBEA; color: var(--cc-text); }

/* ---------------------------------------------------------------- Forms */
html body .cc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 18px; }
html body .cc-col-12 { grid-column: span 12; } html body .cc-col-6 { grid-column: span 6; } html body .cc-col-4 { grid-column: span 4; }
html body .cc-col-3 { grid-column: span 3; } html body .cc-col-2 { grid-column: span 2; }
html body .cc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
html body .cc-label { font-weight: 600; font-size: 14px; color: var(--cc-label); }
html body .cc-req { color: var(--cc-danger); }
html body .cc-optional { color: var(--cc-muted); font-weight: 400; }
html body .cc-help { color: var(--cc-muted); font-size: 12.5px; }
html body .cc-form input[type=text], html body .cc-form input[type=email], html body .cc-form input[type=tel], html body .cc-form input[type=number], html body .cc-form input[type=url], html body .cc-form input[type=date], html body .cc-form input[type=password], html body .cc-form input[type=search], html body .cc-form select, html body .cc-form textarea, html body .cc-reg input[type=text], html body .cc-reg input[type=email], html body .cc-reg input[type=tel], html body .cc-reg select, html body .cc-dialog input[type=email], html body .cc-filters input[type=search], html body .cc-filters select, html body .cc-copy input {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--cc-input-border); border-radius: var(--cc-input-radius);
	background: var(--cc-input-bg); color: var(--cc-text); font: 400 15px/1.3 var(--cc-font); box-shadow: none; margin: 0;
	transition: border-color .15s, box-shadow .15s;
}
html body .cc-form textarea { min-height: 96px; resize: vertical; }
html body .cc-form input::placeholder, html body .cc-form textarea::placeholder, html body .cc-reg input::placeholder { color: #98A1AB; }
html body .cc-form input:focus, html body .cc-form select:focus, html body .cc-form textarea:focus, html body .cc-reg input:focus, html body .cc-reg select:focus, html body .cc-filters input:focus, html body .cc-filters select:focus, html body .cc-dialog input:focus {
	outline: none; border-color: #C9A21E; box-shadow: 0 0 0 3px rgba(255, 199, 44, .35);
}
html body .cc-field.has-error input, html body .cc-field.has-error select, html body .cc-field.has-error textarea, html body .cc-field.has-error .cc-multiselect__toggle { border-color: var(--cc-danger); }
html body .cc-error { color: var(--cc-danger); font-size: 13px; font-weight: 500; }
html body .cc-error:empty { display: none; }
html body .cc-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
html body .cc-checks--inline { display: flex; flex-wrap: wrap; gap: 18px; }
html body .cc-checks--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body .cc-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14.5px; line-height: 1.4; }
html body .cc-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #1F6FEB; flex: none; }
html body .cc-readonly { padding: 10px 12px; background: #F6F8FA; border: 1px solid #E8ECF0; border-radius: 8px; min-height: 44px; }
html body .cc-fieldset { border: 1px solid var(--cc-border); border-radius: var(--cc-radius); padding: 14px 18px; margin: 20px 0 0; }
html body .cc-fieldset legend { font-weight: 700; padding: 0 6px; }
html body .cc-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 22px; }
html body .cc-password { position: relative; }
html body .cc-password input { padding-right: 46px !important; }
html body .cc-password__toggle { --b-fg: var(--cc-muted); --b-fg-h: var(--cc-text); --b-bg-h: rgba(0, 0, 0, .04); position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; color: var(--cc-muted); cursor: pointer; border-radius: 6px; display: grid; place-items: center; padding: 0; }
html body .cc-strength { display: block; height: 4px; background: #E8ECF0; border-radius: 4px; overflow: hidden; }
html body .cc-strength i { display: block; height: 100%; width: 0; background: var(--cc-danger); transition: width .2s, background .2s; }
html body .cc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Multi-select */
html body .cc-multiselect { position: relative; }
html body .cc-multiselect__toggle { --b-bg: var(--cc-input-bg); --b-bg-h: var(--cc-input-bg); --b-bd: var(--cc-input-border); --b-bd-h: var(--cc-input-border); --b-fg: var(--cc-text); --b-fg-h: var(--cc-text); width: 100%; min-height: 46px; padding: 10px 36px 10px 14px; border: 1px solid var(--cc-input-border); border-radius: var(--cc-input-radius); background: var(--cc-input-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; text-align: left; font: 400 15px/1.3 var(--cc-font); color: var(--cc-text); cursor: pointer; }
html body .cc-multiselect__value { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .cc-multiselect__value.is-placeholder { color: #98A1AB; }
html body .cc-form select { text-overflow: ellipsis; }
html body .cc-multiselect__panel { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--cc-border); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); padding: 8px; }
html body .cc-multiselect__search { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--cc-border); border-radius: 6px; margin-bottom: 6px; font: inherit; }
html body .cc-multiselect__options { max-height: 240px; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
html body .cc-multiselect__options .cc-check { padding: 6px 8px; border-radius: 6px; }
html body .cc-multiselect__options .cc-check:hover { background: #F6F8FA; }

/* Notices */
html body .cc-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: 14.5px; border: 1px solid; }
html body .cc-notice .cc-icon { margin-top: 1px; }
html body .cc-notice--success { background: #EAF7EF; border-color: #B7E2C6; color: #14532D; }
html body .cc-notice--error { background: #FDECEC; border-color: #F5C2C2; color: #7F1D1D; }
html body .cc-notice--info { background: #FFF8E1; border-color: #F7DD8A; color: #4D3A00; }
html body .cc-notice[hidden] { display: none; }

/* Badges & pills */
html body .cc-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.5; white-space: nowrap; background: #EEF1F4; color: #3B4652; }
html body .cc-badge--active, html body .cc-badge--c-active, html body .cc-badge--m-active, html body .cc-badge--t-answered, html body .cc-badge--ins-contacted { background: #DDF3E5; color: #136C3A; }
html body .cc-badge--requested, html body .cc-badge--in_activation, html body .cc-badge--c-pending, html body .cc-badge--m-invited, html body .cc-badge--ins-routed, html body .cc-badge--t-open, html body .cc-badge--c-review { background: #FFF1C2; color: #7A5600; }
html body .cc-badge--registered, html body .cc-badge--ins-new { background: #E4EEFF; color: #1D4ED8; }
html body .cc-badge--paused, html body .cc-badge--m-pending_approval { background: #F1E8FF; color: #6B21A8; }
html body .cc-badge--archived, html body .cc-badge--t-closed, html body .cc-badge--ins-closed, html body .cc-badge--m-deactivated, html body .cc-badge--c-unverified { background: #ECEEF1; color: #5F6873; }
html body .cc-badge--c-suspended, html body .cc-badge--c-rejected { background: #FDE2E2; color: #991B1B; }
html body .cc-pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #EEF1F4; color: #3B4652; }
html body .cc-pill--green { background: #DDF3E5; color: #136C3A; }

/* ---------------------------------------------------------------- Registration */
html body .cc-reg { width: 100%; max-width: 1440px; margin: 0 auto; }
html body .cc-reg--panel { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); min-height: 100%; background: var(--cc-page-bg); }

/* Brand panel (shared by Join and Login), styled like the portal sidebar. */
html body .cc-reg-panel, html body .cc-login-panel { position: relative; color: var(--cc-panel-text); background-color: var(--cc-panel-bg); background-image: linear-gradient(180deg, rgba(8, 9, 11, .86), rgba(8, 9, 11, .94)), var(--cc-bg-image, none); background-size: cover; background-position: center; }
html body .cc-reg-panel__inner { position: sticky; top: 0; padding: 36px 26px 32px; display: flex; flex-direction: column; gap: 18px; }
html body.admin-bar .cc-reg-panel__inner { top: 32px; }
html body .cc-reg-panel__title { font-size: clamp(24px, 2.1vw, 30px); font-weight: 800; line-height: 1.15; color: var(--cc-panel-text); margin: 0; overflow-wrap: anywhere; hyphens: auto; }
html body .cc-reg-panel__title span { color: var(--cc-primary); }
html body .cc-reg-panel__text { font-size: 15px; line-height: 1.55; margin: 0; color: var(--cc-panel-muted); }
html body .cc-reg-benefits { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 4px; }
html body .cc-reg-benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 10px; margin: 0 -10px; border-radius: 10px; transition: background .15s; }
html body .cc-reg-benefits li:hover { background: rgba(255, 255, 255, .05); }
html body .cc-reg-benefits__icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 199, 44, .12); color: var(--cc-primary); display: grid; place-items: center; flex: none; }
html body .cc-reg-benefits strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--cc-panel-text); margin: 1px 0 2px; }
html body .cc-reg-benefits li > div > span { display: block; font-size: 13px; line-height: 1.45; color: var(--cc-panel-muted); }
html body .cc-reg-panel__footer { margin-top: 4px; padding: 14px 16px; border-left: 3px solid var(--cc-primary); border-radius: 0 10px 10px 0; background: rgba(255, 255, 255, .05); font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--cc-panel-text); }
html body .cc-reg-panel__login { margin: 0; font-size: 14px; color: var(--cc-panel-muted); }
html body .cc-reg-panel__login a { color: var(--cc-primary); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
html body .cc-reg-panel__login a:hover { color: #fff; }

html body .cc-reg-main { padding: clamp(16px, 3vw, 40px); min-width: 0; }
html body .cc-reg-card { background: var(--cc-card); border: 1px solid var(--cc-card-border); border-radius: 16px; box-shadow: var(--cc-shadow); padding: clamp(18px, 3vw, 36px); max-width: 1040px; margin: 0 auto; }
html body .cc-reg--verify-only { max-width: 560px; margin: 40px auto; padding: 0 16px; }

html body .cc-stepper { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 30px; padding: 0 0 22px; border-bottom: 1px solid #EEF1F4; }
html body .cc-stepper__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--cc-muted); font-size: 13px; font-weight: 600; }
html body .cc-stepper__item::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 2px; border-radius: 2px; background: #E3E7EC; }
html body .cc-stepper__item:first-child::before { display: none; }
html body .cc-stepper__item.is-done::before, html body .cc-stepper__item.is-current::before { background: var(--cc-primary); }
html body .cc-stepper__dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #D5DBE1; color: var(--cc-muted); font-weight: 700; font-size: 13.5px; }
html body .cc-stepper__item.is-current { color: var(--cc-text); }
html body .cc-stepper__item.is-current .cc-stepper__dot { background: var(--cc-primary); border-color: var(--cc-primary); color: #111; box-shadow: 0 0 0 5px rgba(255, 199, 44, .22); }
html body .cc-stepper__item.is-done .cc-stepper__dot { background: var(--cc-dark); border-color: var(--cc-dark); color: var(--cc-primary); }

html body .cc-wizard__head { margin-bottom: 8px; }
html body .cc-wizard__head h1 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
html body .cc-wizard__subtitle { font-size: 16.5px; font-weight: 600; margin: 0 0 6px; color: var(--cc-text); }
html body .cc-wizard__head .cc-muted { margin: 0; font-size: 14.5px; }
html body .cc-section-head { display: flex; gap: 14px; align-items: flex-start; padding: 0 0 14px; margin: 30px 0 18px; border-bottom: 1px solid #EEF1F4; }
html body .cc-section-head__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--cc-icon-bg); color: var(--cc-icon-color); display: grid; place-items: center; flex: none; }
html body .cc-section-head__num { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cc-muted); margin-bottom: 1px; }
html body .cc-section-head h2 { font-size: 17.5px; font-weight: 700; margin: 0; }
html body .cc-section-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--cc-muted); }
html body .cc-field--other { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
html body .cc-field--other input[type=text] { max-width: 420px; }
html body .cc-repeater { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
html body .cc-repeater__row { position: relative; width: 100%; padding: 16px 48px 16px 16px; border: 1px solid #EEF1F4; border-radius: 12px; background: #FBFCFD; }
html body .cc-repeater__remove { --b-bg: #fff; --b-bg-h: #FDECEC; --b-fg: var(--cc-muted); --b-fg-h: var(--cc-danger); position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border: 1px solid #E5E9ED; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
html body .cc-repeater__row:only-of-type { padding-right: 16px; }
html body .cc-repeater__row:only-of-type .cc-repeater__remove { display: none; }
html body .cc-terms { background: var(--cc-page-bg); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
html body .cc-terms .cc-check { font-size: 13.5px; flex-wrap: wrap; }
html body .cc-check.cc-field { flex-direction: row; flex-wrap: wrap; }
html body .cc-check.cc-field > span:not(.cc-error) { flex: 1 1 0; min-width: 0; }
html body .cc-check.cc-field > .cc-error { flex-basis: 100%; padding-left: 28px; }
html body .cc-terms .cc-error { flex-basis: 100%; padding-left: 28px; }
html body .cc-terms a { color: #1F5BD8; }
html body .cc-wizard__alert { margin-bottom: 14px; }
html body .cc-wizard__nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #EEF1F4; flex-wrap: wrap; }
html body .cc-wizard__nav [data-prev] { margin-right: auto; }
html body .cc-wizard__later { --b-fg: var(--cc-muted); --b-fg-h: var(--cc-text); font-weight: 600; font-size: 14px; }
html body .cc-review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
html body .cc-review__block { border: 1px solid #E8ECF0; border-radius: 12px; padding: 14px 16px; }
html body .cc-review__block h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--cc-muted); margin: 0 0 8px; display: flex; justify-content: space-between; }
html body .cc-review__block dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 4px 12px; font-size: 14px; }
html body .cc-review__block dt { color: var(--cc-muted); }
html body .cc-review__block dd { margin: 0; font-weight: 500; word-break: break-word; }
html body .cc-verify { max-width: 520px; margin: 10px auto; text-align: center; }
html body .cc-verify__icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--cc-icon-bg); color: var(--cc-icon-color); margin-bottom: 12px; }
html body .cc-verify h2 { font-size: 24px; }
html body .cc-code { display: flex; justify-content: center; gap: 8px; margin: 20px 0; }
html body .cc-code input { width: 48px !important; height: 56px; padding: 0 !important; text-align: center; font-size: 24px !important; font-weight: 700; border: 1px solid var(--cc-input-border); border-radius: 10px; }
html body .cc-verify__resend { margin-top: 14px; font-size: 13.5px; }

html body .cc-dialog { border: 0; border-radius: 16px; padding: 0; width: min(460px, calc(100vw - 32px)); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); font-family: var(--cc-font); color: var(--cc-text); }
html body .cc-dialog::backdrop { background: rgba(10, 12, 15, .55); }
html body .cc-dialog__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
html body .cc-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; }
html body .cc-dialog__msg:empty { display: none; }

/* ---------------------------------------------------------------- Thank you */
html body .cc-thanks { max-width: 860px; margin: 0 auto; }
html body .cc-thanks__hero { text-align: center; padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 48px); background: var(--cc-card); border: 1px solid var(--cc-card-border); border-radius: 20px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px rgba(16, 24, 40, .07); }
html body .cc-thanks__logo { display: block; max-width: 200px; height: auto; margin: 0 auto 24px; }
html body .cc-thanks__check { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--cc-primary); color: #111; margin-bottom: 18px; box-shadow: 0 0 0 10px rgba(255, 199, 44, .18); }
html body .cc-thanks h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; color: var(--cc-heading); margin-bottom: 6px; }
html body .cc-thanks__sub { font-size: 18px; font-weight: 600; margin: 0 0 12px; color: var(--cc-text); }
html body .cc-thanks__text { max-width: 580px; margin: 0 auto 24px; color: var(--cc-muted); font-size: 15.5px; }
html body .cc-thanks__next { margin-top: 28px; }
html body .cc-thanks__next h2 { font-size: 20px; font-weight: 800; text-align: center; margin-bottom: 16px; }
html body .cc-thanks__next ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html body .cc-thanks__next li { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; background: var(--cc-card); border: 1px solid var(--cc-card-border); border-radius: 16px; box-shadow: var(--cc-shadow); }
html body .cc-thanks__icon { position: relative; width: 46px; height: 46px; border-radius: 12px; background: var(--cc-icon-bg); color: var(--cc-icon-color); display: grid; place-items: center; margin-bottom: 8px; }
html body .cc-thanks__icon em { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--cc-dark); color: var(--cc-primary); font-style: normal; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
html body .cc-thanks__next strong { display: block; font-weight: 700; font-size: 15.5px; color: var(--cc-text); }
html body .cc-thanks__next li > span:last-child { color: var(--cc-muted); font-size: 14px; }
html body .cc-thanks__help { text-align: center; color: var(--cc-muted); font-size: 14px; margin: 22px 0 0; }

/* ---------------------------------------------------------------- Login */
html body .cc-login-wrap { display: grid; grid-template-columns: minmax(320px, 42%) minmax(0, 1fr); background: var(--cc-page-bg); }
html body .cc-login-wrap--full { min-height: 100vh; }
html body.admin-bar .cc-login-wrap--full { min-height: calc(100vh - 32px); }
html body .cc-login-panel__inner { position: sticky; top: 0; min-height: 100%; padding: 40px clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; }
html body .cc-login-wrap--full .cc-login-panel__inner { min-height: 100vh; }
html body .cc-login-panel__logo img { max-width: 220px; height: auto; display: block; }
html body .cc-login-panel__logo strong { font-size: 18px; font-weight: 800; letter-spacing: .04em; color: #fff; }
html body .cc-login-panel__logo strong span { color: var(--cc-primary); }
html body .cc-login-panel__body { display: flex; flex-direction: column; gap: 16px; margin: auto 0; max-width: 460px; }
html body .cc-login-panel .cc-reg-panel__title { font-size: clamp(28px, 2.8vw, 38px); }
html body .cc-login-panel .cc-reg-panel__footer { max-width: 460px; }
html body .cc-login-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 20px; min-width: 0; }
html body .cc-login-card { width: 100%; max-width: 440px; background: var(--cc-card); color: var(--cc-text); border: 1px solid var(--cc-card-border); border-radius: 20px; padding: 36px 32px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 40px rgba(16, 24, 40, .08); }
html body .cc-login-logo { display: none; text-align: center; margin-bottom: 20px; text-decoration: none; }
html body .cc-login-logo img { max-width: 210px; height: auto; display: inline-block; }
html body .cc-login-logo strong { font-size: 18px; font-weight: 800; letter-spacing: .04em; color: var(--cc-text); }
html body .cc-login-logo strong span, html body .cc-sidebar__logo strong span { color: var(--cc-primary); }
html body .cc-sidebar__logo strong { font-size: 18px; font-weight: 800; letter-spacing: .04em; color: #fff; }
html body .cc-login-title { font-size: 26px; font-weight: 800; color: var(--cc-heading); margin-bottom: 4px; }
html body .cc-login-sub { color: var(--cc-muted); margin: 0 0 24px; }
html body .cc-login-card .cc-form { display: flex; flex-direction: column; gap: 16px; }
html body .cc-login-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
html body .cc-login-card .cc-check { font-size: 14px; }
html body .cc-divider { display: flex; align-items: center; gap: 12px; color: var(--cc-muted); margin: 22px 0 12px; font-size: 13px; }
html body .cc-divider::before, html body .cc-divider::after { content: ""; flex: 1; height: 1px; background: #E8ECF0; }
html body .cc-login-join { text-align: center; color: var(--cc-muted); margin: 0 0 10px; font-size: 14px; }
html body .cc-login-alt { justify-content: center; width: 100%; margin-top: 14px; }
html body .cc-login-card .cc-grid { display: flex; flex-direction: column; gap: 16px; }
html body .cc-login-card .cc-notice { margin-bottom: 18px; }
html body .cc-login-foot { margin: 0; font-size: 13px; color: var(--cc-muted); text-align: center; }
html body .cc-login-foot a { color: var(--cc-muted); }

/* ---------------------------------------------------------------- Portal: referrals */
html body .cc-ref-link { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
html body .cc-ref-link__main { display: flex; gap: 18px; align-items: flex-start; flex: 1 1 420px; min-width: 0; }
html body .cc-ref-link__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--cc-icon-bg); color: var(--cc-icon-color); display: grid; place-items: center; flex: none; }
html body .cc-ref-link__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
html body .cc-ref-link__body h2 { margin: 0; }
html body .cc-ref-link__body > p { margin: 0; }
html body .cc-ref-link .cc-copy input { font-size: 14px !important; min-height: 46px !important; }
html body .cc-ref-link__qr .cc-qr { margin: 0; }
html body .cc-ref-link__qr .cc-qr__canvas svg { width: 150px; height: 150px; }
html body .cc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html body .cc-share__label { font-size: 13.5px; font-weight: 600; color: var(--cc-muted); margin-right: 2px; }
html body .cc-stats.cc-stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
html body .cc-period select { min-width: 180px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--cc-input-border); border-radius: var(--cc-input-radius); background: var(--cc-input-bg); color: var(--cc-text); font: 500 14px/1.3 var(--cc-font); }

/* ---------------------------------------------------------------- Portal app */
html body .cc-app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; background: var(--cc-page-bg); }
html body .cc-app--empty { display: flex; align-items: center; justify-content: center; padding: 24px; }
html body .cc-sidebar { background: var(--cc-sidebar-bg); color: var(--cc-sidebar-text); display: flex; flex-direction: column; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 30; }
html body.admin-bar .cc-sidebar { top: 32px; height: calc(100vh - 32px); }
html body .cc-sidebar__logo { display: block; padding: 4px 8px 22px; text-decoration: none; }
html body .cc-sidebar__logo img { max-width: 100%; height: auto; display: block; }
html body .cc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
html body .cc-nav a, html body .cc-nav__logout { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; color: var(--cc-sidebar-text); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background .15s, color .15s; }
html body .cc-nav a:hover, html body .cc-nav__logout:hover { background: rgba(255, 255, 255, .08); color: #fff; }
html body .cc-nav a.is-current { background: var(--cc-sidebar-active-bg); color: var(--cc-sidebar-active-text); }
html body .cc-nav__logout { margin-top: auto; color: #B9C0C8; }
html body .cc-main { min-width: 0; display: flex; flex-direction: column; }
html body .cc-topbar { display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 3vw, 32px); background: #fff; border-bottom: 1px solid #E5E9ED; position: sticky; top: 0; z-index: 20; }
html body.admin-bar .cc-topbar { top: 32px; }
html body .cc-topbar__menu { --b-bg: #fff; --b-bg-h: #F6F8FA; --b-bd: var(--cc-border); --b-fg: var(--cc-text); display: none; width: 42px; height: 42px; border: 1px solid var(--cc-border); background: #fff; border-radius: 8px; cursor: pointer; place-items: center; color: var(--cc-text); padding: 0; }
html body .cc-topbar__welcome { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .cc-topbar__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
html body .cc-topbar__user { display: flex; flex-direction: column; text-align: right; font-weight: 600; font-size: 14px; line-height: 1.2; }
html body .cc-topbar__user small { color: var(--cc-muted); font-weight: 500; font-size: 12px; }
html body .cc-viewas { display: flex; align-items: center; gap: 10px; padding: 10px clamp(16px, 3vw, 32px); background: #1F2937; color: #fff; font-size: 14px; }
html body .cc-viewas a { margin-left: auto; color: var(--cc-primary); font-weight: 700; white-space: nowrap; }
html body .cc-content { padding: clamp(16px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; max-width: 1400px; width: 100%; }
html body .cc-sidebar-backdrop { display: none; }

html body .cc-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
html body .cc-page-head h1 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; margin: 0 0 4px; }
html body .cc-page-head p { margin: 0; color: var(--cc-muted); max-width: 760px; }
html body .cc-page-head__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
html body .cc-partner-logo { max-height: 34px; width: auto; }
html body .cc-partner-word { font-weight: 800; letter-spacing: .28em; font-size: 22px; }

html body .cc-card { background: var(--cc-card); border: 1px solid var(--cc-card-border); border-radius: var(--cc-radius); box-shadow: var(--cc-shadow); min-width: 0; }
html body .cc-card--pad { padding: clamp(16px, 2.4vw, 26px); }
html body .cc-card--pad > h2, html body .cc-card h2 { font-size: 18px; font-weight: 700; }
html body .cc-card__title { padding: 18px 20px 0; margin: 0; }
html body .cc-card__body { padding: 20px; }
html body .cc-card hr { border: 0; border-top: 1px solid #E8ECF0; margin: 22px 0; }

html body .cc-banner { position: relative; border-radius: var(--cc-radius); overflow: hidden; color: #fff; background: var(--cc-dark); background-image: linear-gradient(90deg, rgba(8, 9, 11, .92) 0%, rgba(8, 9, 11, .7) 55%, rgba(8, 9, 11, .3) 100%), var(--cc-bg-image, linear-gradient(135deg, #1E2328, #0B0B0C)); background-size: cover; background-position: center; }
html body .cc-banner__inner { padding: clamp(24px, 4vw, 44px); max-width: 640px; }
html body .cc-banner h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #fff; }
html body .cc-banner p { margin: 0; color: #E6E9ED; font-size: 16px; }

html body .cc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
html body .cc-stats--compact { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
html body .cc-stat { display: flex; align-items: center; gap: 14px; background: var(--cc-card); border: 1px solid var(--cc-card-border); border-radius: var(--cc-radius); padding: 16px 18px; box-shadow: var(--cc-shadow); }
html body .cc-card .cc-stat { box-shadow: none; }
html body .cc-stat__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--cc-icon-bg); color: var(--cc-icon-color); display: grid; place-items: center; flex: none; }
html body .cc-stat strong { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
html body .cc-stat span { color: var(--cc-muted); font-size: 13.5px; }

html body .cc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html body .cc-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body .cc-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 20px; background: #fff; border: 1px solid #E5E9ED; border-radius: var(--cc-radius); box-shadow: var(--cc-shadow); color: var(--cc-text); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
html body a.cc-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16, 24, 40, .1); border-color: var(--cc-primary); color: var(--cc-text); }
html body .cc-tile__icon { color: var(--cc-accent); }
html body .cc-tile strong { font-size: 17px; }
html body .cc-tile > span { color: var(--cc-muted); font-size: 14px; }
html body .cc-tile .cc-link { margin-top: auto; }
html body .cc-tile__partner { max-height: 22px; margin-top: 6px; }
html body .cc-tile__partner-text { font-style: normal; font-weight: 800; letter-spacing: .25em; font-size: 14px; margin-top: 4px; }

html body .cc-checklist { padding: 20px 22px; }
html body .cc-checklist__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
html body .cc-checklist__head h2 { margin: 0; font-size: 18px; }
html body .cc-checklist__head p { margin: 2px 0 0; color: var(--cc-muted); font-size: 14px; }
html body .cc-progress { height: 8px; background: #EEF1F4; border-radius: 999px; overflow: hidden; margin: 14px 0; }
html body .cc-progress i { display: block; height: 100%; background: var(--cc-primary); border-radius: 999px; transition: width .3s; }
html body .cc-progress--lg { height: 14px; }
html body .cc-checklist__items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
html body .cc-checklist__items li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid #E8ECF0; border-radius: 10px; }
html body .cc-checklist__items a { font-weight: 700; color: var(--cc-text); text-decoration: none; display: block; }
html body .cc-checklist__items a:hover { text-decoration: underline; }
html body .cc-checklist__items span { font-size: 13px; color: var(--cc-muted); }
html body .cc-checklist__mark { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #CBD2D9; color: transparent; display: grid; place-items: center; flex: none; }
html body .cc-checklist__items li.is-done .cc-checklist__mark { background: var(--cc-success); border-color: var(--cc-success); color: #fff; }
html body .cc-checklist__items li.is-done a { text-decoration: line-through; color: var(--cc-muted); }

html body .cc-assoc { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
html body .cc-assoc > div:nth-child(2) { flex: 1; min-width: 240px; }
html body .cc-assoc h2 { margin: 0 0 4px; font-size: 17px; }
html body .cc-assoc p { margin: 0; color: var(--cc-muted); font-size: 14px; }
html body .cc-assoc__icon, html body .cc-packet__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--cc-icon-bg); color: var(--cc-icon-color); display: grid; place-items: center; flex: none; }
html body .cc-packet { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
html body .cc-packet > div { flex: 1; min-width: 200px; }
html body .cc-packet h2 { margin: 0; }
html body .cc-packet p { margin: 2px 0 0; }

/* Tabs, filters, tables */
html body .cc-table-card { overflow: hidden; }
html body .cc-tabs { display: flex; gap: 4px; padding: 8px 12px 0; border-bottom: 1px solid #E5E9ED; overflow-x: auto; scrollbar-width: thin; }
html body .cc-tabs a { padding: 10px 14px; border-radius: 8px 8px 0 0; text-decoration: none; color: var(--cc-muted); font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
html body .cc-tabs a:hover { color: var(--cc-text); }
html body .cc-tabs a.is-current { color: var(--cc-text); border-bottom-color: var(--cc-primary); background: #FFFBEA; }
html body .cc-tabs a span { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 999px; background: #EEF1F4; font-size: 12px; text-align: center; margin-left: 4px; }
html body .cc-tabs--pills { padding: 12px; gap: 8px; }
html body .cc-tabs--pills a { border-radius: 8px; border: 1px solid #E5E9ED; border-bottom-width: 1px; }
html body .cc-tabs--pills a.is-current { background: var(--cc-primary); border-color: var(--cc-primary); color: #111; }
html body .cc-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #EEF1F4; }
html body .cc-filters select { width: auto; min-width: 150px; }
html body .cc-search { position: relative; flex: 1 1 240px; min-width: 200px; }
html body .cc-search .cc-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--cc-muted); pointer-events: none; }
html body .cc-search input { padding-left: 38px !important; }
html body .cc-bulkbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: #FFFBEA; border-bottom: 1px solid #F7DD8A; font-size: 14px; }
html body .cc-bulkbar select { width: auto; min-height: 36px; padding: 6px 10px; border: 1px solid var(--cc-border); border-radius: 6px; font: inherit; }
html body .cc-bulkbar--static { background: #FAFBFC; border-color: #EEF1F4; justify-content: space-between; }
html body .cc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
html body .cc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
html body .cc-table th { text-align: left; font-weight: 700; font-size: 13px; color: var(--cc-muted); padding: 12px 16px; background: #FAFBFC; border-bottom: 1px solid #E8ECF0; white-space: nowrap; }
html body .cc-table th a { color: inherit; text-decoration: none; }
html body .cc-table td { padding: 12px 16px; border-bottom: 1px solid #EEF1F4; vertical-align: middle; }
html body .cc-table tbody tr:hover td { background: #FCFCFD; }
html body .cc-table--compact td, html body .cc-table--compact th { padding: 8px 10px; font-size: 13.5px; }
html body .cc-col-check { width: 40px; }
html body .cc-col-check input { width: 18px; height: 18px; accent-color: #1F6FEB; }
html body .cc-row-actions { white-space: nowrap; text-align: right; }
html body .cc-row-actions .cc-link, html body .cc-row-actions form { margin-left: 10px; }
html body .cc-table-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; }
html body .cc-pagination { display: flex; gap: 4px; flex-wrap: wrap; }
html body .cc-pagination a, html body .cc-pagination span { min-width: 36px; height: 36px; padding: 0 10px; display: grid; place-items: center; border-radius: 8px; border: 1px solid #E5E9ED; text-decoration: none; color: var(--cc-text); font-weight: 600; font-size: 14px; background: #fff; }
html body .cc-pagination .is-current { background: var(--cc-primary); border-color: var(--cc-primary); color: #111; }
html body .cc-pagination__gap { border: 0 !important; background: none !important; }
html body .cc-empty { text-align: center; padding: 36px 16px; }
html body .cc-empty__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cc-icon-bg); color: var(--cc-icon-color); margin-bottom: 10px; }
html body .cc-empty h3 { font-size: 18px; margin: 0 0 6px; }
html body .cc-empty p { color: var(--cc-muted); margin: 0 auto 16px; max-width: 460px; }

/* Add-property options */
html body .cc-options { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
html body .cc-option { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: #fff; border: 1px solid #E0E5EA; border-radius: 14px; text-decoration: none; color: var(--cc-text); box-shadow: var(--cc-shadow); transition: border-color .15s, box-shadow .15s, transform .15s; }
html body .cc-option:hover { border-color: var(--cc-primary); box-shadow: 0 10px 24px rgba(16, 24, 40, .1); transform: translateY(-1px); color: var(--cc-text); }
html body .cc-option--featured { border-width: 2px; border-color: #BEE3CC; }
html body .cc-option h2 { font-size: 20px; margin: 0 0 6px; }
html body .cc-option p { margin: 8px 0 0; color: #3B4652; }
html body .cc-option__icon { color: var(--cc-text); flex: none; margin-top: 2px; }
html body .cc-option__icon--green { color: #16A34A; }

/* Detail layout */
html body .cc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
html body .cc-detail__main, html body .cc-detail__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
html body .cc-status-card__row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
html body .cc-status-card__row .cc-muted { font-size: 13px; display: block; margin-bottom: 4px; }
html body .cc-timeline { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
html body .cc-timeline li { position: relative; padding-top: 22px; font-size: 13.5px; }
html body .cc-timeline li span { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #CBD2D9; }
html body .cc-timeline li::before { content: ""; position: absolute; top: 6px; left: 14px; right: 0; height: 2px; background: #E1E6EB; }
html body .cc-timeline li:last-child::before { display: none; }
html body .cc-timeline li.is-done span { background: var(--cc-success); }
html body .cc-timeline strong { display: block; }
html body .cc-timeline small { color: var(--cc-muted); }
html body .cc-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
html body .cc-dl > div { padding: 10px 0; border-bottom: 1px solid #EEF1F4; }
html body .cc-dl dt { font-size: 12.5px; color: var(--cc-muted); }
html body .cc-dl dd { margin: 2px 0 0; font-weight: 600; word-break: break-word; }
html body .cc-copy { display: flex; gap: 8px; }
html body .cc-copy input { font-size: 13px !important; min-height: 40px !important; background: #F6F8FA !important; }
html body .cc-copy--sm { min-width: 260px; }
html body .cc-copy--sm input { min-height: 34px !important; padding: 6px 8px !important; }
html body .cc-qr { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 16px; }
html body .cc-qr__canvas { background: #fff; padding: 10px; border: 1px solid #E5E9ED; border-radius: 10px; line-height: 0; }
html body .cc-qr__canvas svg, html body .cc-qr__canvas img { width: 180px; height: 180px; display: block; }
html body .cc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
html body .cc-list small { color: var(--cc-muted); }
html body .cc-meta-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #EEF1F4; font-size: 14px; color: var(--cc-muted); }
html body .cc-meta-row strong { color: var(--cc-text); }

/* Activation */
html body .cc-activation-hero { padding: 22px; background-size: cover; background-position: right center; }
html body .cc-activation-hero.has-image { background-image: linear-gradient(90deg, #fff 45%, rgba(255, 255, 255, .6) 70%, rgba(255, 255, 255, 0)), var(--cc-act-img); }
html body .cc-steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
html body .cc-steps-list li { display: flex; gap: 14px; align-items: flex-start; }
html body .cc-steps-list__num { width: 44px; height: 44px; border-radius: 50%; background: var(--cc-primary); color: #111; font-size: 20px; font-weight: 800; display: grid; place-items: center; flex: none; }
html body .cc-steps-list strong { display: block; font-size: 16px; }
html body .cc-steps-list span { color: var(--cc-muted); font-size: 14px; }
html body .cc-note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
html body .cc-note-grid h2 { font-size: 16px; }
html body .cc-note-grid p { color: var(--cc-muted); margin: 0 0 8px; font-size: 14px; }

/* Import */
html body .cc-import { display: flex; flex-direction: column; gap: 18px; }
html body .cc-import__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
html body .cc-import__steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid #E5E9ED; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--cc-muted); }
html body .cc-import__steps li span { width: 28px; height: 28px; border-radius: 50%; background: #EEF1F4; display: grid; place-items: center; font-size: 13px; flex: none; }
html body .cc-import__steps li.is-current { border-color: var(--cc-primary); color: var(--cc-text); }
html body .cc-import__steps li.is-current span, html body .cc-import__steps li.is-done span { background: var(--cc-primary); color: #111; }
html body .cc-import__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
html body .cc-import__grid h2 { font-size: 18px; }
html body .cc-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; min-height: 190px; border: 2px dashed #C6CED6; border-radius: 14px; padding: 20px; cursor: pointer; background: #FAFBFC; transition: border-color .15s, background .15s; }
html body .cc-drop:hover, html body .cc-drop.is-over { border-color: var(--cc-primary); background: #FFFBEA; }
html body .cc-drop__icon { color: var(--cc-icon-color); }
html body .cc-details { margin-top: 16px; }
html body .cc-details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
html body .cc-details summary::-webkit-details-marker { display: none; }
html body .cc-details summary::before { content: "▸"; transition: transform .15s; }
html body .cc-details[open] summary::before { transform: rotate(90deg); }
html body .cc-details summary h2 { margin: 0; font-size: 17px; display: inline-flex; align-items: center; gap: 6px; }
html body .cc-cols { columns: 2; font-size: 14px; padding-left: 20px; margin: 10px 0 0; }
html body .cc-import__options { display: flex; gap: 24px; flex-wrap: wrap; margin: 14px 0; }
html body .cc-import tr.is-error td { background: #FFF5F5; }
html body .cc-import tr.is-dup td { background: #FFFBEA; }
html body .cc-import .cc-issues { color: var(--cc-danger); font-size: 12.5px; }
html body .cc-done-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--cc-success); color: #fff; margin-bottom: 12px; }

/* Toolkit & resources */
html body .cc-materials { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
html body .cc-material { border: 1px solid #E5E9ED; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
html body .cc-material__thumb { aspect-ratio: 4 / 3; background: #F3F5F7; display: grid; place-items: center; color: #98A1AB; overflow: hidden; }
html body .cc-material__thumb img { width: 100%; height: 100%; object-fit: cover; }
html body .cc-material__thumb--qr { aspect-ratio: auto; padding: 16px; background: #fff; }
html body .cc-material__thumb--qr .cc-qr { margin: 0; }
html body .cc-material__thumb--qr .cc-qr__canvas svg { width: 150px; height: 150px; }
html body .cc-material__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
html body .cc-material__body h3 { font-size: 15.5px; margin: 0; }
html body .cc-material__body p { font-size: 13.5px; margin: 0; }
html body .cc-material__body .cc-link, html body .cc-material__body .cc-actions { margin-top: auto; }
html body .cc-resource-list { list-style: none; margin: 0; padding: 0; }
html body .cc-resource-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #EEF1F4; }
html body .cc-resource-list li:last-child { border-bottom: 0; }
html body .cc-resource-list li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html body .cc-resource-list__icon { color: var(--cc-accent); }
html body .cc-prose { line-height: 1.7; margin: 14px 0 20px; }
html body .cc-article h2 { margin-top: 12px; }

/* Engagement */
html body .cc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
html body .cc-chart { position: relative; height: 260px; }
html body .cc-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
html body .cc-bars li { display: grid; grid-template-columns: minmax(120px, 38%) 1fr 48px; align-items: center; gap: 12px; font-size: 14px; }
html body .cc-bars__track { height: 12px; background: #EEF1F4; border-radius: 999px; overflow: hidden; }
html body .cc-bars__track i { display: block; height: 100%; background: var(--cc-primary); border-radius: 999px; }
html body .cc-bars__value { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Support */
html body .cc-support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
html body .cc-support-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid #E5E9ED; border-radius: var(--cc-radius); padding: 20px; box-shadow: var(--cc-shadow); }
html body .cc-support-item__icon { color: var(--cc-text); }
html body .cc-support-item > div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
html body .cc-support-item strong { font-size: 16px; }
html body .cc-support-item span { color: var(--cc-muted); }
html body .cc-support-item span a { color: inherit; }
html body .cc-thread { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
html body .cc-msg { border: 1px solid #E8ECF0; border-radius: 12px; padding: 14px 16px; background: #FAFBFC; }
html body .cc-msg--staff { background: #FFFBEA; border-color: #F7DD8A; }
html body .cc-msg__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; font-size: 14px; }
html body .cc-msg__head small { color: var(--cc-muted); }
html body .cc-msg__body { font-size: 14.5px; white-space: normal; }

/* Account */
html body .cc-role-help { margin-top: 16px; padding: 14px 16px; background: var(--cc-surface); border-radius: 10px; font-size: 13.5px; }
html body .cc-role-help p { margin: 0 0 6px; }
html body .cc-role-help p:last-child { margin: 0; }
html body .cc-invite { margin-top: 24px; padding-top: 18px; border-top: 1px solid #EEF1F4; }
html body .cc-invite .cc-form { margin-top: 14px; }
html body .cc-picker { border: 1px solid var(--cc-border); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
html body .cc-picker__tools { font-size: 13px; }
html body .cc-picker__list { max-height: 240px; overflow: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; padding: 4px; }
html body .cc-switch input { width: 36px; height: 20px; }

/* Pending / inactive */
html body .cc-pending { text-align: center; max-width: 720px; margin: 20px auto; }
html body .cc-pending__icon { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--cc-icon-bg); color: var(--cc-icon-color); margin-bottom: 12px; }
html body .cc-pending__summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; text-align: left; }
html body .cc-pending__summary div { background: var(--cc-surface); border-radius: 10px; padding: 12px 14px; }
html body .cc-pending__summary span { display: block; font-size: 12.5px; color: var(--cc-muted); }
html body .cc-pending .cc-actions { justify-content: center; }

/* Network stats */
html body .cc-network-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
html body .cc-network-stats__item { text-align: center; }
html body .cc-network-stats strong { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.1; color: var(--cc-primary); font-variant-numeric: tabular-nums; }
html body .cc-network-stats span { display: block; font-weight: 600; margin-top: 4px; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1180px) {
	html body .cc-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body .cc-detail { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
	html body .cc-reg--panel { grid-template-columns: 1fr; }
	html body .cc-reg--panel .cc-reg-main { order: -1; }
	html body .cc-reg-panel__inner { position: static; padding: 28px 20px; }
	html body .cc-reg-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
	html body .cc-login-wrap { grid-template-columns: 1fr; }
	html body .cc-login-panel { display: none; }
	html body .cc-login-logo { display: block; }
	html body .cc-stats.cc-stats--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	html body .cc-app { grid-template-columns: 1fr; }
	html body .cc-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 272px; height: 100%; transform: translateX(-100%); transition: transform .25s ease, box-shadow .25s ease; box-shadow: none; }
	html body.admin-bar .cc-sidebar { top: 0; height: 100%; }
	html body .cc-app.nav-open .cc-sidebar { transform: none; box-shadow: 10px 0 30px rgba(0, 0, 0, .25); }
	html body .cc-app.nav-open .cc-sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 25; }
	html body .cc-topbar__menu { display: grid; }
	html body .cc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body .cc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body .cc-grid-2, html body .cc-import__grid, html body .cc-note-grid { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	html body.admin-bar .cc-topbar { top: 46px; }
	html body .cc-col-6, html body .cc-col-4, html body .cc-col-3 { grid-column: span 12; }
	html body .cc-col-2 { grid-column: span 6; }
	html body .cc-checks, html body .cc-checks--cols, html body .cc-picker__list, html body .cc-review, html body .cc-dl, html body .cc-support-grid { grid-template-columns: 1fr; }
	html body .cc-stepper__label { font-size: 11.5px; }
	html body .cc-steps-list, html body .cc-pending__summary { grid-template-columns: 1fr; }
	html body .cc-import__steps { grid-template-columns: repeat(2, 1fr); }
	html body .cc-topbar__user { display: none; }
	html body .cc-wizard__nav { justify-content: stretch; }
	html body .cc-wizard__nav .cc-btn--primary { flex: 1 1 100%; order: -1; }
	html body .cc-wizard__nav [data-prev] { margin-right: 0; }
	html body .cc-field--other { grid-template-columns: 1fr; }
	/* Tables become cards */
	html body .cc-table--responsive thead { display: none; }
	html body .cc-table--responsive, html body .cc-table--responsive tbody, html body .cc-table--responsive tr, html body .cc-table--responsive td { display: block; width: 100%; }
	html body .cc-table--responsive tr { border-bottom: 1px solid #E5E9ED; padding: 10px 14px; position: relative; }
	html body .cc-table--responsive td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 14px; text-align: right; }
	html body .cc-table--responsive td[data-label]::before { content: attr(data-label); font-weight: 600; color: var(--cc-muted); font-size: 13px; text-align: left; }
	html body .cc-table--responsive td.cc-col-check { position: absolute; right: 12px; top: 12px; width: auto; }
	html body .cc-table--responsive td:first-of-type[data-label], html body .cc-table--responsive td.cc-col-check + td { padding-right: 40px; }
	html body .cc-table--responsive .cc-row-actions { justify-content: flex-end; }
	html body .cc-copy--sm { min-width: 0; width: 100%; }
	html body .cc-thanks__next ol { grid-template-columns: 1fr; }
	html body .cc-stepper { padding-bottom: 16px; margin-bottom: 22px; }
	html body .cc-stepper__label { display: block; max-width: 80px; line-height: 1.25; }
	html body .cc-ref-link__qr { width: 100%; }
}
@media (max-width: 560px) {
	html body .cc-cards, html body .cc-cards--4 { grid-template-columns: 1fr; }
	html body .cc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	html body .cc-stat { padding: 14px; gap: 10px; }
	html body .cc-stat strong { font-size: 22px; }
	html body .cc-filters input, html body .cc-filters select, html body .cc-filters .cc-btn { flex: 1 1 100%; width: 100%; max-width: none; }
	html body .cc-reg-benefits { grid-template-columns: 1fr; }
	html body .cc-col-2 { grid-column: span 12; }
	html body .cc-code input { width: 40px !important; height: 50px; }
	html body .cc-login-card { padding: 26px 18px; border-radius: 16px; }
	html body .cc-login-main { padding: 24px 14px; }
	html body .cc-reg-card { border-radius: 14px; }
	html body .cc-reg-main { padding: 12px; }
	html body .cc-ref-link__main { flex-direction: column; }
	html body .cc-stats.cc-stats--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body .cc-timeline { grid-template-columns: 1fr; gap: 10px; }
	html body .cc-timeline li::before { display: none; }
	html body .cc-option { padding: 18px; }
	html body .cc-cols { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
	html body .cc-ui *, html body .cc-sidebar { transition: none !important; }
}

/* Profile picture */
html body .cc-avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--cc-icon-bg); color: var(--cc-icon-color); font-weight: 700; line-height: 1; letter-spacing: .02em; }
html body .cc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
html body .cc-avatar--lg { box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--cc-card-border); }
html body .cc-topbar__avatar { display: inline-flex; border-radius: 50%; text-decoration: none; }
html body .cc-topbar__avatar:focus-visible { outline: 2px solid var(--cc-primary); outline-offset: 2px; }
html body .cc-avatar-edit { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid #EEF1F4; }
html body .cc-avatar-edit__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
html body .cc-avatar-edit__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
html body .cc-avatar-edit__actions label.cc-btn { cursor: pointer; }
html body .cc-avatar-form { display: none; }
html body .cc-crop { width: min(420px, calc(100vw - 24px)); }
html body .cc-crop h2 { font-size: 20px; margin: 0; }
html body .cc-crop__hint { margin: -4px 0 4px; font-size: 14px; }
html body .cc-crop__stage { position: relative; width: min(300px, calc(100vw - 72px)); aspect-ratio: 1; margin: 4px auto; overflow: hidden; border-radius: 12px; background: #1A1D21; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
html body .cc-crop__stage.is-dragging { cursor: grabbing; }
html body .cc-crop__stage:focus-visible { box-shadow: 0 0 0 3px var(--cc-primary); }
html body .cc-crop__stage img { position: absolute; left: 0; top: 0; max-width: none; max-height: none; transform-origin: 0 0; pointer-events: none; }
html body .cc-crop__mask { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(17, 17, 17, .55); border: 2px solid rgba(255, 255, 255, .9); pointer-events: none; }
html body .cc-crop__zoom { display: flex; align-items: center; gap: 12px; padding: 0 6px; font-weight: 700; font-size: 18px; color: var(--cc-muted); }
html body .cc-crop__zoom input[type=range] { flex: 1; accent-color: var(--cc-primary); }
html body .cc-crop__actions { align-items: center; flex-wrap: wrap; }
html body .cc-crop__spacer { flex: 1; }
@media (max-width: 480px) {
	html body .cc-avatar-edit { flex-direction: column; align-items: flex-start; gap: 14px; }
}
