/* ==========================================================================
   CPN Solutions — crm-elite.css
   Brand system matched to cpnsolutions.in: royal blues (#1B4F8A / #2574B8 / #3A9AD9),
   Playfair Display headings, Lato body.
   Public site + login use the light brand theme; the CRM uses the executive dark canvas
   (#0B0F17 / #131B2E / #1F2B48) with CPN blue as the highlight colour.
   Sections: 1 tokens/reset · 2 shared · 3 public site · 4 login · 5 CRM shell · 6 CRM components
             7 kanban · 8 modal/drawer/toast · 9 responsive
   ========================================================================== */

/* 1. Tokens & reset ------------------------------------------------------- */
:root {
	/* CPN brand (from logo / cpnsolutions.in) */
	--cpn-navy: #0D1B2A;
	--cpn-blue-dark: #1B4F8A;
	--cpn-blue: #2574B8;
	--cpn-blue-light: #3A9AD9;
	--cpn-blue-pale: #E8F2FB;
	--cpn-off-white: #F7FAFD;
	--cpn-text: #0D1B2A;
	--cpn-text-mid: #3A4A5C;
	--cpn-text-light: #6B7C93;
	--cpn-line: #D6E4F0;
	--cpn-shadow-sm: 0 2px 12px rgba(27, 79, 138, .08);
	--cpn-shadow: 0 6px 30px rgba(27, 79, 138, .13);
	--cpn-shadow-lg: 0 16px 60px rgba(27, 79, 138, .18);
	--whatsapp: #25D366;

	/* CRM executive dark canvas */
	--bg: #0B0F17;
	--bg-2: #0E1320;
	--card: #131B2E;
	--card-2: #172139;
	--border: #1F2B48;
	--border-2: #2A3960;
	--text: #E6EAF4;
	--text-2: #A3AEC8;
	--text-3: #6F7B98;
	--indigo: #2574B8;      /* primary highlight = CPN blue */
	--indigo-2: #6CB6EE;    /* accessible accent text on dark */
	--cyan: #22B8CF;
	--cyan-2: #67D8E8;
	--success: #10B981;
	--danger: #EF4444;
	--warn: #F59E0B;
	--violet: #A855F7;

	--grad: linear-gradient(135deg, #1B4F8A 0%, #2574B8 55%, #3A9AD9 100%);
	--glass: rgba(11, 15, 23, .78);
	--ring: 0 0 0 3px rgba(58, 154, 217, .4);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
	--shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
	--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .75);

	--font: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-display: 'Lato', system-ui, sans-serif;
	--font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--r-sm: 8px;
	--r: 12px;
	--r-lg: 18px;
	--ease: cubic-bezier(.4, 0, .2, 1);
	--sidebar-w: 256px;
	--header-h: 66px;
}

.cpn-body *, .cpn-body *::before, .cpn-body *::after { box-sizing: border-box; }
body.cpn-body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
:where(.cpn-body) p { margin: 0; }
:where(.cpn-body) :is(h1, h2, h3, h4) { margin: 0; line-height: 1.2; }
.cpn-body img, .cpn-body svg { display: block; max-width: 100%; }
.cpn-body button, .cpn-body input, .cpn-body select, .cpn-body textarea { font: inherit; color: inherit; }
:where(.cpn-body) a { text-decoration: none; }
.cpn-body :focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cpn-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--cpn-blue-dark); color: #fff; border-radius: 8px; transition: top .2s; }
.cpn-skip:focus { top: 12px; }
body.cpn-locked { overflow: hidden; }

/* Light brand theme (public + login) */
body.cpn-public, body.cpn-login { background: #fff; color: var(--cpn-text); }
.cpn-public h1, .cpn-public h2, .cpn-login h1, .cpn-login h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.01em; color: var(--cpn-navy); }
.cpn-public h3, .cpn-public h4 { font-family: var(--font); font-weight: 700; color: var(--cpn-navy); }
.cpn-public a, .cpn-login a { color: var(--cpn-blue); }
.cpn-public a:hover, .cpn-login a:hover { color: var(--cpn-blue-dark); }
.cpn-public ::selection, .cpn-login ::selection { background: rgba(37, 116, 184, .2); }

/* Dark CRM theme */
body.cpn-dashboard { background: var(--bg); color: var(--text); font-size: 14.5px; line-height: 1.55; color-scheme: dark; }
.cpn-dashboard h1, .cpn-dashboard h2, .cpn-dashboard h3, .cpn-dashboard h4 { color: var(--text); font-family: var(--font); font-weight: 700; }
.cpn-dashboard a { color: var(--indigo-2); }
.cpn-dashboard a:hover { color: var(--cyan-2); }
.cpn-dashboard ::selection { background: rgba(37, 116, 184, .45); }
.cpn-dashboard .crm-page-head h2, .cpn-dashboard .crm-drawer-title h2, .cpn-dashboard .crm-empty h3 { font-family: var(--font-serif); letter-spacing: 0; }

/* 2. Shared components ---------------------------------------------------- */
.cpn-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.cpn-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cpn-navy) !important; }
.cpn-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, var(--cpn-shadow-sm); flex: none; }
.cpn-brand-text { display: grid; line-height: 1.15; }
.cpn-brand-text strong { font-family: var(--font-serif); font-size: 20px; font-weight: 700; letter-spacing: .01em; }
.cpn-brand-text small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cpn-blue); }
.cpn-brand-light, .crm-brand { color: #fff !important; }
.cpn-brand-light .cpn-brand-text small, .crm-brand .cpn-brand-text small { color: var(--cpn-blue-light); }
.crm-brand img { width: 36px; height: 36px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.crm-brand .cpn-brand-text strong { font-size: 17px; }

.cpn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 700; font-size: 15px; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s; position: relative; text-decoration: none; }
.cpn-btn:active { transform: translateY(1px); }
.cpn-btn:disabled { opacity: .6; cursor: not-allowed; }
.cpn-btn-primary { background: var(--grad); color: #fff !important; box-shadow: 0 8px 22px -8px rgba(37, 116, 184, .7); }
.cpn-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(37, 116, 184, .85); }
.cpn-btn-outline { background: #fff; border-color: var(--cpn-blue); color: var(--cpn-blue) !important; }
.cpn-btn-outline:hover { background: var(--cpn-blue-pale); }
.cpn-btn-dark { background: var(--cpn-navy); color: #fff !important; }
.cpn-btn-dark:hover { background: var(--cpn-blue-dark); transform: translateY(-2px); }
.cpn-btn-light { background: #fff; color: var(--cpn-blue-dark) !important; }
.cpn-btn-light:hover { transform: translateY(-2px); box-shadow: var(--cpn-shadow-lg); }
.cpn-btn-ghost-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); color: #fff !important; }
.cpn-btn-ghost-light:hover { background: rgba(255, 255, 255, .16); }
.cpn-btn-block { width: 100%; }
.cpn-btn.is-busy { color: transparent !important; pointer-events: none; }
.cpn-btn.is-busy::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: arc-spin .7s linear infinite; }
.cpn-btn-outline.is-busy::after { border-color: rgba(37, 116, 184, .3); border-top-color: var(--cpn-blue); }

.cpn-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--cpn-blue); }
.cpn-eyebrow-light { color: #9CCFF3; }
.cpn-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: arc-pulse 2s infinite; }

.cpn-alert { padding: 12px 14px; border-radius: 10px; border: 1px solid; font-size: 14px; }
.cpn-alert.is-error { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.cpn-dashboard .cpn-alert.is-error { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .35); color: #FECACA; }

/* 2. Shared components ---------------------------------------------------- */
.arc-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.arc-btn, .btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
	font-weight: 600; font-size: 14px; white-space: nowrap; cursor: pointer; text-decoration: none;
	transition: transform .15s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s, opacity .2s;
	position: relative;
}
.arc-btn:active, .btn:active { transform: translateY(1px) scale(.99); }
.arc-btn:disabled, .btn:disabled { opacity: .55; cursor: not-allowed; }
.arc-btn-primary, .btn-primary { background: var(--indigo); color: #fff !important; box-shadow: 0 8px 24px -10px rgba(99, 102, 241, .8), inset 0 1px 0 rgba(255, 255, 255, .15); }
.arc-btn-primary:hover, .btn-primary:hover { background: #5458EE; box-shadow: 0 12px 28px -10px rgba(99, 102, 241, .95), inset 0 1px 0 rgba(255, 255, 255, .15); transform: translateY(-1px); }
.arc-btn-cyan { background: var(--cyan); color: #04202a !important; }
.arc-btn-cyan:hover { background: var(--cyan-2); transform: translateY(-1px); }
.arc-btn-ghost, .btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--border-2); color: var(--text) !important; }
.arc-btn-ghost:hover, .btn-ghost:hover { background: rgba(99, 102, 241, .1); border-color: var(--indigo); }
.arc-btn-light { background: #fff; color: #111827 !important; }
.arc-btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-danger { background: var(--danger); color: #fff !important; }
.btn-danger:hover { background: #dc2626; }
.btn-danger-ghost { background: transparent; border-color: rgba(239, 68, 68, .4); color: #FCA5A5 !important; }
.btn-danger-ghost:hover { background: rgba(239, 68, 68, .12); border-color: var(--danger); }
.arc-btn-sm, .btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.arc-btn-block, .btn-block { width: 100%; }
.btn.is-busy, .arc-btn.is-busy { color: transparent !important; pointer-events: none; }
.btn.is-busy::after, .arc-btn.is-busy::after {
	content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: arc-spin .7s linear infinite;
}

.arc-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--text) !important; letter-spacing: -.02em; }
.arc-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-size: 16px; box-shadow: 0 6px 20px -6px rgba(99, 102, 241, .8); }

.arc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-2); }
.arc-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: arc-pulse 2s infinite; }
.arc-gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.arc-alert, .crm-alert { padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid; font-size: 14px; }
.arc-alert.is-error { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .35); color: #FECACA; }
.crm-alert.is-warn { background: rgba(245, 158, 11, .08); border-color: rgba(245, 158, 11, .35); color: #FDE68A; margin-bottom: 20px; }

.arc-spinner, .crm-spinner { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--indigo-2); animation: arc-spin .7s linear infinite; }
.arc-btn .arc-spinner { display: none; }
.arc-btn.is-busy .arc-spinner, .arc-spinner.is-visible { display: inline-block; }
.arc-btn.is-busy .arc-spinner { position: absolute; border-top-color: #fff; }
.arc-btn.is-busy::after { display: none; }

@keyframes arc-spin { to { transform: rotate(360deg); } }
@keyframes arc-pulse { 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
@keyframes arc-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -20px); } }
@keyframes arc-shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); } }
@keyframes crm-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 3. Public site ---------------------------------------------------------- */
.cpn-nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.cpn-nav.is-scrolled { border-bottom-color: var(--cpn-line); box-shadow: var(--cpn-shadow-sm); }
.cpn-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.cpn-nav-links { display: flex; align-items: center; gap: 26px; }
.cpn-nav-links > a { color: var(--cpn-text-mid) !important; font-weight: 700; font-size: 14.5px; position: relative; padding: 6px 0; }
.cpn-nav-links > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cpn-blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.cpn-nav-links > a:hover { color: var(--cpn-blue-dark) !important; }
.cpn-nav-links > a:hover::after { transform: scaleX(1); }
.cpn-nav-actions { display: flex; gap: 10px; margin-left: 6px; }
.cpn-nav-actions .cpn-btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.cpn-nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 12px; border: 1px solid var(--cpn-line); background: #fff; color: var(--cpn-navy); cursor: pointer; }

/* Hero */
.cpn-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, rgba(58, 154, 217, .45), transparent 60%), linear-gradient(160deg, #0D1B2A 0%, #13355E 45%, #1B4F8A 100%); }
.cpn-hero-bg { position: absolute; inset: 0; pointer-events: none; opacity: .18;
	background-image: linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px); background-size: 64px 64px;
	mask-image: radial-gradient(ellipse at 70% 0%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 10%, transparent 65%); }
.cpn-hero-inner { position: relative; padding: 110px 24px 96px; display: flex; flex-direction: column; align-items: flex-start; }
.cpn-hero-title { color: #fff !important; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.08; max-width: 900px; margin: 20px 0 22px; }
.cpn-hero-sub { font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, .82); max-width: 680px; font-weight: 300; }

.cpn-search { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 6px; width: 100%; max-width: 1000px; margin-top: 44px; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.cpn-search-field { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 56px; border-radius: 14px; color: var(--cpn-text-light); transition: background .2s; }
.cpn-search-field + .cpn-search-field { border-left: 1px solid var(--cpn-line); border-radius: 0 14px 14px 0; }
.cpn-search-field:focus-within { background: var(--cpn-off-white); }
.cpn-search-field svg { flex: none; color: var(--cpn-blue); }
.cpn-search-field input, .cpn-search-field select { width: 100%; min-width: 0; border: 0; background: transparent; outline: none; font-size: 15.5px; color: var(--cpn-text); height: 56px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.cpn-search-field input { cursor: text; }
.cpn-search-field input::placeholder { color: var(--cpn-text-light); }
.cpn-search-field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232574B8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center; padding-right: 20px; }
.cpn-search-field input:focus-visible, .cpn-search-field select:focus-visible { box-shadow: none; }
.cpn-search-btn { min-height: 56px; border-radius: 14px; padding: 0 28px; }
.cpn-hero-ctas { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; }
.cpn-link-light { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: #CFE6F8; font-weight: 700; font-size: 15px; cursor: pointer; transition: color .2s, gap .2s; }
.cpn-link-light:hover { color: #fff; gap: 10px; }

/* Trust bar + ticker */
.cpn-trust { background: #fff; border-bottom: 1px solid var(--cpn-line); }
.cpn-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); transform: translateY(-40px); margin-bottom: -40px; background: #fff; border-radius: 20px; box-shadow: var(--cpn-shadow-lg); border: 1px solid var(--cpn-line); padding: 0; position: relative; z-index: 2; }
.cpn-trust-item { display: flex; align-items: center; gap: 16px; padding: 28px 26px; }
.cpn-trust-item + .cpn-trust-item { border-left: 1px solid var(--cpn-line); }
.cpn-trust-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--cpn-blue-pale); color: var(--cpn-blue); flex: none; }
.cpn-trust-value { display: block; font-family: var(--font-serif); font-size: 30px; font-weight: 800; color: var(--cpn-blue-dark); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cpn-trust-item span:not(.cpn-trust-icon) { font-size: 13.5px; color: var(--cpn-text-light); font-weight: 700; }
.cpn-ticker { overflow: hidden; padding: 26px 0 22px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cpn-ticker-track { display: flex; width: max-content; animation: cpn-marquee 40s linear infinite; }
.cpn-ticker:hover .cpn-ticker-track { animation-play-state: paused; }
.cpn-ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.cpn-ticker li { padding: 0 28px; font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: #8FA3BC; white-space: nowrap; position: relative; }
.cpn-ticker li::after { content: '◆'; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); font-size: 8px; color: var(--cpn-blue-light); }
@keyframes cpn-marquee { to { transform: translateX(-50%); } }

/* Sections */
.cpn-section { padding: 100px 0; }
.cpn-section-tint { background: var(--cpn-off-white); border-block: 1px solid var(--cpn-line); }
.cpn-section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.cpn-section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.cpn-section-head p:not(.cpn-eyebrow) { color: var(--cpn-text-mid); margin-top: 14px; font-size: 17px; }
.cpn-section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; text-align: left; margin-bottom: 24px; }
.cpn-feed-count { color: var(--cpn-text-light); font-weight: 700; font-size: 14px; }

.cpn-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cpn-service { padding: 32px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--cpn-line); box-shadow: var(--cpn-shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; scroll-margin-top: 100px; }
.cpn-service:hover { transform: translateY(-6px); box-shadow: var(--cpn-shadow-lg); border-color: rgba(37, 116, 184, .35); }
.cpn-service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; margin-bottom: 20px; box-shadow: 0 10px 22px -10px rgba(37, 116, 184, .8); }
.cpn-service h3 { font-size: 19px; margin-bottom: 10px; }
.cpn-service p { color: var(--cpn-text-mid); font-size: 15px; }
#executive-search, #practices, #careers, #about { scroll-margin-top: 80px; }

.cpn-practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cpn-practice { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--cpn-line); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; color: var(--cpn-text); }
.cpn-practice:hover { transform: translateY(-4px); border-color: var(--cpn-blue-light); box-shadow: var(--cpn-shadow); }
.cpn-practice-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--cpn-blue-pale); color: var(--cpn-blue); }
.cpn-practice strong { font-size: 17px; color: var(--cpn-navy); }
.cpn-practice > span:not(.cpn-practice-icon) { font-size: 14px; color: var(--cpn-text-mid); flex: 1; }
.cpn-practice em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 13.5px; font-weight: 900; color: var(--cpn-blue); transition: gap .2s; }
.cpn-practice:hover em { gap: 10px; }

.cpn-audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cpn-audience { position: relative; padding: 44px 40px; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
.cpn-audience-client { background: var(--grad); color: #fff; box-shadow: 0 30px 60px -30px rgba(27, 79, 138, .8); }
.cpn-audience-client h3, .cpn-audience-client strong { color: #fff; }
.cpn-audience-candidate { background: var(--cpn-off-white); border: 1px solid var(--cpn-line); }
.cpn-audience::after { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); pointer-events: none; }
.cpn-audience-candidate::after { border-color: rgba(37, 116, 184, .06); }
.cpn-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 255, 255, .16); color: #fff; }
.cpn-audience-candidate .cpn-tag { background: var(--cpn-blue-pale); color: var(--cpn-blue-dark); }
.cpn-audience h3 { font-family: var(--font-serif); font-size: 30px; margin: 18px 0 22px; }
.cpn-checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.cpn-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.cpn-checks svg { flex: none; margin-top: 3px; color: var(--cpn-blue); }
.cpn-audience-client .cpn-checks li { color: rgba(255, 255, 255, .88); }
.cpn-audience-client .cpn-checks svg { color: #9CE3B8; }
.cpn-audience-candidate .cpn-checks li { color: var(--cpn-text-mid); }
.cpn-audience-client .cpn-btn-primary { background: #fff; color: var(--cpn-blue-dark) !important; box-shadow: none; }
.cpn-audience .cpn-btn { margin-top: auto; }

/* Careers feed */
.cpn-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cpn-chip { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--cpn-line); color: var(--cpn-text-mid); font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .2s; }
.cpn-chip:hover { border-color: var(--cpn-blue); color: var(--cpn-blue); }
.cpn-chip.is-active { background: var(--cpn-blue); border-color: var(--cpn-blue); color: #fff; }
.cpn-jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cpn-job { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--cpn-line); box-shadow: var(--cpn-shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; animation: cpn-in .35s var(--ease) both; }
.cpn-job:hover { transform: translateY(-4px); box-shadow: var(--cpn-shadow); border-color: rgba(37, 116, 184, .35); }
.cpn-job-top { display: flex; justify-content: space-between; align-items: center; }
.cpn-job-top small { color: var(--cpn-text-light); font-size: 12.5px; }
.cpn-job-type { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: var(--cpn-blue-pale); color: var(--cpn-blue-dark); }
.cpn-job-type.t-executive { background: #FFF4DB; color: #8A5A00; }
.cpn-job-type.t-contract { background: #E6F7F1; color: #0F6B4F; }
.cpn-job h3 { font-size: 20px; font-family: var(--font-serif); line-height: 1.25; }
.cpn-job-meta { font-size: 13.5px; color: var(--cpn-blue); font-weight: 700; }
.cpn-job-summary { font-size: 14px; color: var(--cpn-text-mid); }
.cpn-job-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 12px; padding: 14px 0 0; border-top: 1px dashed var(--cpn-line); flex: 1; align-content: start; }
.cpn-job-facts dt { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--cpn-text-light); }
.cpn-job-facts dd { margin: 3px 0 0; font-weight: 700; font-size: 14px; color: var(--cpn-navy); }
.cpn-job .cpn-btn { min-height: 44px; }
.cpn-job-skeleton { min-height: 280px; background: linear-gradient(100deg, #fff 30%, var(--cpn-off-white) 50%, #fff 70%); background-size: 200% 100%; animation: cpn-shimmer 1.4s linear infinite; }
.cpn-empty { grid-column: 1 / -1; text-align: center; padding: 56px 24px; border-radius: 20px; border: 1.5px dashed var(--cpn-line); background: #fff; }
.cpn-empty h3 { font-family: var(--font-serif); font-size: 24px; }
.cpn-empty p { max-width: 560px; margin: 12px auto 22px; color: var(--cpn-text-mid); }
.cpn-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@keyframes cpn-shimmer { to { background-position: -200% 0; } }
@keyframes cpn-in { from { opacity: 0; transform: translateY(10px); } }

/* Method */
.cpn-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.cpn-steps li { padding: 30px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--cpn-line); position: relative; }
.cpn-steps span { font-family: var(--font-serif); font-size: 40px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cpn-steps h3 { font-size: 18px; margin: 14px 0 8px; }
.cpn-steps p { color: var(--cpn-text-mid); font-size: 14.5px; }

/* About */
.cpn-about { background: linear-gradient(160deg, #0D1B2A, #1B4F8A); color: #fff; }
.cpn-about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.cpn-about h2 { color: #fff; font-size: clamp(30px, 4vw, 42px); margin: 12px 0 20px; }
.cpn-about p { color: rgba(255, 255, 255, .82); font-size: 17px; }
.cpn-about blockquote { margin: 28px 0 0; padding: 20px 24px; border-left: 3px solid var(--cpn-blue-light); background: rgba(255, 255, 255, .06); border-radius: 0 14px 14px 0; font-family: var(--font-serif); font-size: 20px; font-style: italic; }
.cpn-about cite { display: block; margin-top: 10px; font-family: var(--font); font-size: 13.5px; font-style: normal; color: #9CCFF3; font-weight: 700; }
.cpn-about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cpn-about-stats div { padding: 26px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.cpn-about-stats strong { display: block; font-family: var(--font-serif); font-size: 38px; font-weight: 800; }
.cpn-about-stats span { color: rgba(255, 255, 255, .72); font-size: 14px; font-weight: 700; }

/* CTA + footer */
.cpn-cta { padding: 80px 0; background: var(--cpn-off-white); }
.cpn-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 50px 56px; border-radius: 28px; background: var(--grad); box-shadow: 0 30px 70px -30px rgba(27, 79, 138, .8); color: #fff; }
.cpn-cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.cpn-cta p { color: rgba(255, 255, 255, .85); margin-top: 8px; }
.cpn-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cpn-footer { background: var(--cpn-navy); color: rgba(255, 255, 255, .7); padding: 72px 0 0; font-size: 15px; }
.cpn-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.cpn-footer h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.cpn-footer nav { display: grid; gap: 10px; align-content: start; }
.cpn-footer a { color: rgba(255, 255, 255, .78) !important; }
.cpn-footer a:hover { color: #fff !important; }
.cpn-footer-brand p { margin: 18px 0 20px; max-width: 360px; }
.cpn-social { display: flex; gap: 10px; }
.cpn-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
.cpn-social a:hover { background: var(--cpn-blue); transform: translateY(-2px); }
.cpn-contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px !important; }
.cpn-contact-line svg { flex: none; margin-top: 4px; color: var(--cpn-blue-light); }
.cpn-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding: 22px 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }

.cpn-wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--whatsapp); color: #fff !important; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.cpn-wa-float:hover { transform: scale(1.07); }

.cpn-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.cpn-reveal.is-visible { opacity: 1; transform: none; }
.cpn-reveal:nth-child(2) { transition-delay: .07s; }
.cpn-reveal:nth-child(3) { transition-delay: .14s; }
.cpn-reveal:nth-child(4) { transition-delay: .21s; }

/* Dialogs (native <dialog>) */
.cpn-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--cpn-text); box-shadow: 0 40px 80px -20px rgba(13, 27, 42, .5); overflow: hidden; }
.cpn-dialog[open] { animation: cpn-in .25s var(--ease); }
.cpn-dialog::backdrop { background: rgba(13, 27, 42, .6); backdrop-filter: blur(4px); }
.cpn-dialog-form { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.cpn-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 28px 18px; border-bottom: 1px solid var(--cpn-line); }
.cpn-dialog-head h2 { font-size: 26px; margin-top: 4px; }
.cpn-dialog-close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--cpn-line); background: #fff; cursor: pointer; color: var(--cpn-text-mid); flex: none; }
.cpn-dialog-close:hover { background: var(--cpn-off-white); color: var(--cpn-navy); }
.cpn-dialog-body { padding: 22px 28px; overflow-y: auto; }
.cpn-dialog-body.is-done .cpn-form-grid { display: none; }
.cpn-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 28px; border-top: 1px solid var(--cpn-line); background: var(--cpn-off-white); }
.cpn-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cpn-field { display: grid; gap: 6px; }
.cpn-field-full { grid-column: 1 / -1; }
.cpn-field > span, .cpn-label-row label { font-size: 13px; font-weight: 700; color: var(--cpn-text-mid); }
.cpn-field input, .cpn-field select, .cpn-field textarea, .cpn-password input {
	width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--cpn-line); background: #fff; font-size: 15px; color: var(--cpn-text); transition: border-color .2s, box-shadow .2s; }
.cpn-field textarea { resize: vertical; }
.cpn-field input:focus, .cpn-field select:focus, .cpn-field textarea:focus, .cpn-password input:focus { outline: none; border-color: var(--cpn-blue); box-shadow: 0 0 0 4px rgba(37, 116, 184, .14); }
.cpn-field input[aria-invalid=true], .cpn-password input[aria-invalid=true] { border-color: #DC2626; }
.cpn-file { position: relative; }
.cpn-file input[type=file] { position: absolute; inset: 24px 0 0; opacity: 0; cursor: pointer; min-height: 0; height: calc(100% - 24px); z-index: 2; }
.cpn-file-ui { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; border-radius: 14px; border: 1.5px dashed #A9C6E3; background: var(--cpn-off-white); color: var(--cpn-blue); font-style: normal; font-weight: 700; font-size: 14px; transition: all .2s; padding: 0 16px; text-align: center; }
.cpn-file.is-drag .cpn-file-ui, .cpn-file:hover .cpn-file-ui { border-color: var(--cpn-blue); background: var(--cpn-blue-pale); }
.cpn-file.has-file .cpn-file-ui { border-style: solid; border-color: #34A853; color: #1E7B3A; background: #EEF9F1; }
.cpn-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--cpn-text-mid); cursor: pointer; }
.cpn-consent input { width: 18px; height: 18px; accent-color: var(--cpn-blue); margin-top: 2px; flex: none; }
.cpn-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cpn-form-msg { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; font-size: 14.5px; }
.cpn-form-msg.is-ok { background: #EEF9F1; border-color: #BFE5C9; color: #1E6B35; font-weight: 700; margin-top: 0; }

/* 4. Portal login --------------------------------------------------------- */
.cpn-login-wrap { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1.05fr 1fr; }
.cpn-login-aside { position: relative; display: flex; align-items: flex-end; padding: 64px; color: #fff; overflow: hidden;
	background: radial-gradient(800px 500px at 90% 0%, rgba(58, 154, 217, .55), transparent 60%), linear-gradient(160deg, #0D1B2A 0%, #1B4F8A 100%); }
.cpn-login-aside::before { content: ''; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255, 255, 255, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .3) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); }
.cpn-login-aside-inner { position: relative; max-width: 480px; }
.cpn-login-aside h2 { color: #fff !important; font-size: clamp(28px, 3vw, 40px); margin: 14px 0 28px; }
.cpn-login-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cpn-login-aside li { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .85); font-size: 15.5px; }
.cpn-login-aside li svg { color: #9CCFF3; flex: none; }
.cpn-login-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 40px 24px; background: var(--cpn-off-white); }
.cpn-login-card { width: 100%; max-width: 440px; padding: 42px 38px; border-radius: 24px; background: #fff; border: 1px solid var(--cpn-line); box-shadow: var(--cpn-shadow-lg); animation: cpn-in .4s var(--ease); }
.cpn-login-card.is-shake { animation: arc-shake .45s; }
.cpn-login-card .cpn-brand { margin-bottom: 30px; }
.cpn-login-card h1 { font-size: 30px; }
.cpn-login-sub { color: var(--cpn-text-light); margin: 6px 0 26px; font-size: 15px; }
.cpn-login-card .cpn-alert { margin-bottom: 18px; }
.cpn-login-form { display: grid; gap: 18px; }
.cpn-label-row { display: flex; justify-content: space-between; align-items: center; }
.cpn-label-row a { font-size: 13px; font-weight: 700; }
.cpn-password { position: relative; }
.cpn-password input { padding-right: 48px; }
.cpn-login .arc-pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; color: var(--cpn-text-light); cursor: pointer; border-radius: 8px; }
.cpn-login .arc-pw-toggle:hover, .cpn-login .arc-pw-toggle[aria-pressed=true] { color: var(--cpn-blue); }
.cpn-login-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 26px !important; font-size: 12.5px; color: var(--cpn-text-light); }
.cpn-login-back { color: var(--cpn-text-light) !important; font-size: 14px; font-weight: 700; }
.cpn-dashboard .cpn-login-wrap { display: flex; align-items: center; justify-content: center; }
/* 5. CRM shell ------------------------------------------------------------ */
body.cpn-dashboard { font-size: 14px; }
body.crm-locked { overflow: hidden; }
.crm-app { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; min-height: 100dvh; }

.crm-sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; gap: 8px; padding: 18px 14px; background: var(--bg-2); border-right: 1px solid var(--border); z-index: 60; }
.crm-brand { padding: 4px 8px 18px; font-size: 16px; }
.crm-brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-nav { display: grid; gap: 2px; }
.crm-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text-2) !important; font-weight: 500; transition: background .2s, color .2s; position: relative; }
.crm-nav a svg { flex: none; opacity: .8; }
.crm-nav a:hover { background: rgba(255, 255, 255, .04); color: var(--text) !important; }
.crm-nav a.is-active { background: linear-gradient(90deg, rgba(99, 102, 241, .18), rgba(99, 102, 241, .04)); color: #fff !important; }
.crm-nav a.is-active::before { content: ''; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); }
.crm-nav a.is-active svg { color: var(--indigo-2); opacity: 1; }
.crm-sidebar-foot { margin-top: auto; padding: 12px; border-top: 1px solid var(--border); }
.crm-nav-muted { font-size: 13px; color: var(--text-3) !important; }
.crm-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 55; backdrop-filter: blur(2px); }

.crm-main { min-width: 0; display: flex; flex-direction: column; }
.crm-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 12px; padding: 0 28px;
	background: var(--glass); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--border); }
.crm-title { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.crm-menu-btn { display: none; }

.crm-icon-btn { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: transparent; border: 1px solid transparent; color: var(--text-2); cursor: pointer; transition: all .2s; flex: none; }
.crm-icon-btn:hover { background: rgba(255, 255, 255, .05); border-color: var(--border); color: var(--text); }
.crm-icon-btn.is-danger:hover { color: #FCA5A5; border-color: rgba(239, 68, 68, .4); background: rgba(239, 68, 68, .08); }
.crm-badge-dot { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }

.crm-att-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .2s; }
.crm-att-pill:hover { border-color: var(--indigo); }
.crm-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; }
.crm-att-pill.is-in, .crm-today.is-in { --dot: var(--success); }
.crm-att-pill.is-in { border-color: rgba(16, 185, 129, .45); background: rgba(16, 185, 129, .08); color: #6EE7B7; }
.crm-att-pill.is-in .crm-status-dot, .crm-today.is-in .crm-status-dot { background: var(--success); animation: arc-pulse 2s infinite; }
.crm-att-pill.is-out { color: var(--text-2); }
.crm-att-pill.is-out .crm-status-dot, .crm-today.is-out .crm-status-dot { background: var(--cyan); }
.crm-att-pill.is-late { border-color: rgba(239, 68, 68, .45); }

.crm-pop { position: relative; }
.crm-dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--card); border: 1px solid var(--border-2); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px; animation: crm-fade-up .18s var(--ease); z-index: 70; }
.crm-dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text) !important; }
.crm-dropdown a:hover { background: rgba(255, 255, 255, .05); }
.crm-dropdown a.is-danger { color: #FCA5A5 !important; }
.crm-dropdown-head { padding: 8px 12px 10px; font-weight: 700; font-size: 13px; color: var(--text-2); border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.crm-notif-panel { width: min(360px, calc(100vw - 32px)); }
.crm-notif-list { max-height: 420px; overflow-y: auto; }
.crm-notif-item { display: grid !important; gap: 2px; border-left: 3px solid transparent; }
.crm-notif-item strong { font-size: 13px; }
.crm-notif-item span { font-size: 12px; color: var(--text-2); }
.crm-notif-item.is-new { border-left-color: var(--indigo); background: rgba(99, 102, 241, .06); }
.crm-notif-item.t-late { border-left-color: var(--danger); }
.crm-empty-sm { color: var(--text-3); font-size: 13px; padding: 12px 4px; }

.crm-profile-pill { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); cursor: pointer; transition: border-color .2s; }
.crm-profile-pill:hover { border-color: var(--border-2); }
.crm-profile-text { display: grid; text-align: left; line-height: 1.2; }
.crm-profile-text strong { font-size: 13px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-profile-text small { font-size: 11px; color: var(--text-3); }
.crm-avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 12px; flex: none; letter-spacing: .02em; position: relative; }
.crm-avatar-lg { width: 52px; height: 52px; font-size: 18px; }
.crm-avatar-xs { width: 24px; height: 24px; font-size: 10px; }
.crm-avatar.is-live::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--success); border: 2px solid var(--card); }

.crm-view { padding: 28px; outline: none; min-width: 0; }
.crm-page { animation: crm-fade-up .25s var(--ease); display: grid; gap: 20px; min-width: 0; }
.crm-loading { display: grid; place-items: center; min-height: 240px; }
.crm-noscript { margin: 24px; }

/* 6. CRM components ------------------------------------------------------- */
.crm-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.crm-page-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.crm-actions, .crm-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crm-muted { color: var(--text-3); }
.crm-page-head .crm-muted { margin-top: 4px; }
.crm-sub { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.crm-link { color: var(--indigo-2) !important; font-weight: 600; font-size: 13px; }
.crm-link:hover { color: var(--cyan-2) !important; }
.crm-hint { display: block; color: var(--text-3); font-size: 12px; margin-top: 4px; }
.crm-subhead { font-size: 14px; font-weight: 700; margin: 8px 0 12px; color: var(--text); }
.crm-subhead small { font-weight: 400; }

.crm-toolbar { display: flex; flex-wrap: wrap; gap: 10px; }
.crm-input { height: 40px; padding: 0 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--border-2); color: var(--text); font-size: 14px; transition: border-color .2s, box-shadow .2s; max-width: 100%; }
.crm-input:hover { border-color: #34457a; }
.crm-input:focus { outline: none; border-color: var(--indigo); box-shadow: var(--ring); }
textarea.crm-input { height: auto; padding: 10px 12px; resize: vertical; min-height: 44px; line-height: 1.5; }
select.crm-input { padding-right: 32px; appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A3AEC8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; }
.crm-input[type=file] { padding: 8px; height: auto; }
.crm-input[type=date], .crm-input[type=month], .crm-input[type=time], .crm-input[type=datetime-local] { color-scheme: dark; }
.crm-input-sm { height: 34px; font-size: 13px; padding: 0 10px; border-radius: 8px; }
select.crm-input-sm { padding-right: 28px; background-position: right 9px center; }
.crm-search { flex: 1 1 260px; padding-left: 38px;
	background: var(--card) 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='%236F7B98' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 12px center; }

.crm-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; min-width: 0; box-shadow: var(--shadow-sm); }
.crm-card-inset { background: var(--bg-2); box-shadow: none; }
.crm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.crm-card-head h3 { font-size: 15px; font-weight: 700; }
.crm-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.crm-split-tight { gap: 14px; margin-top: 18px; }

.crm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.crm-kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.crm-kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.crm-kpis-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.crm-kpi { --tone: var(--indigo); position: relative; padding: 18px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); overflow: hidden; display: grid; gap: 6px; transition: transform .2s var(--ease), border-color .2s; }
.crm-kpi:hover { transform: translateY(-2px); border-color: var(--border-2); }
.crm-kpi::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--tone); }
.crm-kpi::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 22%, transparent), transparent 70%); }
.crm-kpi.tone-cyan { --tone: var(--cyan); }
.crm-kpi.tone-success { --tone: var(--success); }
.crm-kpi.tone-danger { --tone: var(--danger); }
.crm-kpi.tone-muted { --tone: var(--text-3); }
.crm-kpi-label { color: var(--text-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.crm-kpi-value { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; border: 1px solid; line-height: 1.6; vertical-align: middle; }
.b-muted { color: var(--text-2); background: rgba(163, 174, 200, .08); border-color: rgba(163, 174, 200, .2); }
.b-indigo { color: #C7D2FE; background: rgba(99, 102, 241, .14); border-color: rgba(99, 102, 241, .35); }
.b-cyan { color: #A5F3FC; background: rgba(6, 182, 212, .12); border-color: rgba(6, 182, 212, .35); }
.b-success { color: #6EE7B7; background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .35); }
.b-danger { color: #FCA5A5; background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .35); }
.b-warn { color: #FCD34D; background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .35); }
.b-violet { color: #D8B4FE; background: rgba(168, 85, 247, .12); border-color: rgba(168, 85, 247, .35); }

.crm-table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--border); background: var(--card); -webkit-overflow-scrolling: touch; }
.crm-card .crm-table-wrap { border: 0; background: transparent; margin: -4px -8px; }
.crm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.crm-table th { text-align: left; padding: 12px 14px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); border-bottom: 1px solid var(--border); white-space: nowrap; background: rgba(11, 15, 23, .35); }
.crm-card .crm-table th { background: transparent; }
.crm-table td { padding: 12px 14px; border-bottom: 1px solid rgba(31, 43, 72, .6); vertical-align: middle; }
.crm-table tbody tr:last-child td { border-bottom: 0; }
.crm-table tbody tr { transition: background .15s; }
.crm-table tbody tr:hover { background: rgba(99, 102, 241, .04); }
.crm-table-hover tbody tr { cursor: pointer; }
.crm-table-hover tbody tr:focus-visible { box-shadow: inset 0 0 0 2px var(--indigo); border-radius: 0; }
.crm-table-compact td, .crm-table-compact th { padding: 9px 10px; }
.crm-row-actions { white-space: nowrap; text-align: right; }
.crm-row-actions > * { margin-left: 2px; }
.crm-cell-note { max-width: 280px; color: var(--text-2); font-size: 12.5px; }
.crm-person { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.crm-resume-flag { color: var(--cyan-2); margin-left: auto; }

.crm-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.crm-tab { padding: 10px 16px; color: var(--text-2) !important; font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.crm-tab:hover { color: var(--text) !important; }
.crm-tab.is-active { color: #fff !important; border-bottom-color: var(--indigo); }

.crm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.crm-chips-tight { flex-wrap: nowrap; }
.crm-chip { padding: 2px 10px; border-radius: 999px; font-size: 12px; background: rgba(99, 102, 241, .1); color: #C7D2FE; border: 1px solid rgba(99, 102, 241, .22); white-space: nowrap; }

.crm-pager { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--text-3); font-size: 13px; padding: 4px 0; }

.crm-empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--border-2); border-radius: var(--r-lg); background: rgba(19, 27, 46, .45); display: grid; justify-items: center; gap: 8px; }
.crm-empty-art { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); opacity: .85; margin-bottom: 8px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 15h4'/%3E%3C/svg%3E") center / 60% no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.crm-empty h3 { font-size: 17px; }
.crm-empty p { color: var(--text-3); max-width: 420px; }
.crm-empty .btn { margin-top: 10px; }

.crm-stage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.crm-stage-list a { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 8px; color: var(--text) !important; }
.crm-stage-list a:hover { background: rgba(255, 255, 255, .03); }
.crm-stage-list strong { margin-left: auto; font-variant-numeric: tabular-nums; font-family: var(--font-display); }
.crm-stage-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--text-3); }
.s-screening { --stage: var(--cyan); }
.s-client_shared { --stage: var(--indigo); }
.s-interview_scheduled { --stage: var(--warn); }
.s-offered { --stage: var(--violet); }
.s-joined { --stage: var(--success); }
.s-rejected { --stage: var(--danger); }
.s-sourced { --stage: var(--text-3); }
.crm-stage-dot[class*=s-] { background: var(--stage); }

.crm-facts { display: grid; gap: 14px 20px; margin: 0; }
.crm-facts-1 { grid-template-columns: 1fr; }
.crm-facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.crm-facts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.crm-facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.crm-facts dt { font-size: 11.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.crm-facts dd { margin: 4px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.crm-code-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.crm-code-row code, .crm-pre { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12.5px; background: var(--bg); border: 1px solid var(--border); padding: 6px 10px; border-radius: 8px; color: #C7D2FE; overflow-wrap: anywhere; }
.crm-pre { display: block; padding: 14px; overflow-x: auto; white-space: pre; margin: 12px 0; }
.crm-details { margin-top: 16px; }
.crm-details summary { cursor: pointer; color: var(--indigo-2); font-weight: 600; font-size: 13px; }

.crm-today { display: grid; gap: 18px; }
.crm-today-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.crm-today-status .crm-status-dot { width: 12px; height: 12px; }
.crm-today-status div { display: grid; }
.crm-today-status strong { font-size: 17px; font-family: var(--font-display); }
.crm-today-status small { color: var(--text-3); }
.crm-today-status .badge { margin-left: auto; }

.crm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.crm-list-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; color: var(--text) !important; }
.crm-list-item:hover { background: rgba(255, 255, 255, .03); }
.crm-list-item span:last-child { display: grid; }
.crm-list-item small { color: var(--text-3); }
.crm-date-chip { display: grid; place-items: center; width: 46px; height: 50px; border-radius: 10px; background: rgba(6, 182, 212, .1); border: 1px solid rgba(6, 182, 212, .3); color: var(--cyan-2); font-size: 11px; text-transform: uppercase; line-height: 1.1; flex: none; }
.crm-date-chip b { font-size: 18px; font-family: var(--font-display); }

.crm-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.crm-tl-item { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 10px 0; position: relative; }
.crm-tl-item:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 42px; bottom: -4px; width: 2px; background: var(--border); }
.crm-tl-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--border-2); font-size: 14px; color: var(--text-2); }
.crm-tl-item.t-call .crm-tl-icon { color: var(--success); border-color: rgba(16, 185, 129, .4); }
.crm-tl-item.t-interview .crm-tl-icon { color: var(--warn); border-color: rgba(245, 158, 11, .4); }
.crm-tl-item.t-email .crm-tl-icon { color: var(--cyan-2); border-color: rgba(6, 182, 212, .4); }
.crm-tl-item.t-note .crm-tl-icon { color: var(--indigo-2); border-color: rgba(99, 102, 241, .4); }
.crm-tl-item p { color: var(--text-2); margin-top: 3px; white-space: pre-line; overflow-wrap: anywhere; }
.crm-tl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.crm-tl-meta .crm-muted { font-size: 12px; }

.crm-punches { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.crm-punches li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); }
.crm-punch-time { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 82px; }
.crm-punches small { margin-left: auto; }

/* Forms */
.crm-form { display: grid; gap: 16px; }
.crm-form-intro { margin-bottom: 4px; }
.crm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.crm-form-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; }
.crm-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.crm-field.is-full, .crm-check.is-full { grid-column: 1 / -1; }
.crm-field label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.crm-field .req { color: var(--danger); margin-left: 3px; }
.crm-field .crm-input { width: 100%; }
.crm-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding-top: 22px; }
.crm-check input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--indigo); margin: 1px 0 0; flex: none; }
.crm-check span { display: grid; font-size: 13.5px; font-weight: 500; }
.crm-form-error { padding: 10px 12px; border-radius: 8px; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .35); color: #FECACA; font-size: 13.5px; }
.crm-card-inset .crm-form-grid { margin-bottom: 14px; }

/* 7. Kanban ---------------------------------------------------------------- */
.crm-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 12px; min-height: 60vh; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.crm-board > .crm-loading { grid-column: 1 / -1; }
.crm-col { display: flex; flex-direction: column; min-width: 0; background: rgba(19, 27, 46, .5); border: 1px solid var(--border); border-radius: var(--r-lg); scroll-snap-align: start; transition: border-color .2s, background .2s; }
.crm-col.is-over { border-color: var(--stage, var(--indigo)); background: rgba(99, 102, 241, .07); box-shadow: inset 0 0 0 1px var(--stage, var(--indigo)); }
.crm-col-head { display: flex; align-items: center; gap: 8px; padding: 14px 14px 10px; position: sticky; top: 0; border-bottom: 1px solid var(--border); }
.crm-col-head::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: var(--stage, var(--text-3)); }
.crm-col-head h3 { font-size: 13px; font-weight: 700; }
.crm-col-count { margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--border-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; color: var(--text-2); }
.crm-col-body { flex: 1; display: grid; align-content: start; gap: 10px; padding: 12px; overflow-y: auto; max-height: calc(100vh - 290px); min-height: 120px; }
.crm-col-empty { text-align: center; color: var(--text-3); font-size: 12px; padding: 24px 8px; border: 1px dashed var(--border-2); border-radius: 10px; }

.crm-kcard { background: var(--card); border: 1px solid var(--border-2); border-radius: 12px; padding: 12px 12px 10px; cursor: grab; display: grid; gap: 6px; box-shadow: var(--shadow-sm); transition: transform .15s var(--ease), box-shadow .2s, border-color .2s, opacity .2s; }
.crm-kcard:hover { transform: translateY(-2px); border-color: #3a4c80; box-shadow: var(--shadow); }
.crm-kcard:active { cursor: grabbing; }
.crm-kcard.is-dragging { opacity: .4; transform: rotate(1.5deg) scale(.98); }
.crm-kcard:focus-visible { box-shadow: var(--ring); border-radius: 12px; }
.crm-k-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.crm-k-top strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-k-sub { color: var(--text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-k-job { font-size: 12px; color: var(--indigo-2); font-weight: 600; }
.crm-k-job span { color: var(--text-3); font-weight: 500; }
.crm-k-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.crm-k-meta span { font-size: 11px; padding: 1px 7px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text-2); }
.crm-k-meta .is-offer { color: #D8B4FE; border-color: rgba(168, 85, 247, .35); }
.crm-k-meta .is-join { color: #6EE7B7; border-color: rgba(16, 185, 129, .35); }
.crm-k-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px solid var(--border); margin-top: 2px; }
.crm-k-foot small { color: var(--text-3); font-size: 11px; }
.crm-k-move { max-width: 150px; height: 26px; font-size: 11.5px; padding: 0 22px 0 8px; border-radius: 6px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23A3AEC8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center; border: 1px solid var(--border); color: var(--text-2); appearance: none; -webkit-appearance: none; cursor: pointer; }
.crm-k-move:hover { border-color: var(--border-2); color: var(--text); }

/* 8. Modal / drawer / toast ----------------------------------------------- */
.crm-modal-backdrop, .crm-drawer-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(5, 8, 14, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .18s; }
.crm-modal-backdrop { display: grid; place-items: center; padding: 16px; overflow-y: auto; z-index: 300; }
.crm-modal-backdrop.is-in, .crm-drawer-backdrop.is-in { opacity: 1; }
.crm-modal { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); transform: translateY(10px) scale(.98); transition: transform .2s var(--ease); outline: none; }
.crm-modal.is-wide { max-width: 820px; }
.crm-modal-backdrop.is-in .crm-modal { transform: none; }
.crm-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.crm-modal-head h2 { font-size: 17px; font-weight: 700; }
.crm-modal-body { padding: 20px; overflow-y: auto; }
.crm-modal-body > p { color: var(--text-2); }
.crm-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); background: rgba(11, 15, 23, .35); border-radius: 0 0 var(--r-lg) var(--r-lg); }

.crm-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%); background: var(--bg-2); border-left: 1px solid var(--border-2); box-shadow: var(--shadow-lg); transform: translateX(24px); transition: transform .22s var(--ease); overflow-y: auto; outline: none; overscroll-behavior: contain; }
.crm-drawer-backdrop.is-in .crm-drawer { transform: none; }
.crm-drawer-inner { padding: 24px; display: grid; gap: 22px; }
.crm-drawer-head { display: flex; align-items: center; gap: 14px; }
.crm-drawer-title { flex: 1; min-width: 0; }
.crm-drawer-title h2 { font-size: 21px; font-weight: 800; }
.crm-drawer-title p { color: var(--text-2); font-size: 13.5px; margin-top: 2px; }
.crm-drawer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.crm-drawer-section { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.crm-drawer-section h3 { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.crm-count { font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--card-2); color: var(--text-2); }
.crm-app-row { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); flex-wrap: wrap; }
.crm-app-main { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.crm-app-main small { color: var(--text-3); }
.crm-app-controls { display: grid; gap: 6px; flex: 0 1 190px; }
.crm-feedback { color: var(--text-2); font-style: italic; font-size: 13px; margin-top: 4px; }
.crm-composer { display: grid; gap: 10px; }
.crm-composer textarea { width: 100%; }
.crm-composer-foot { display: flex; justify-content: flex-end; }
.crm-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); width: fit-content; max-width: 100%; overflow-x: auto; }
.crm-seg label { cursor: pointer; }
.crm-seg input { position: absolute; opacity: 0; pointer-events: none; }
.crm-seg span { display: block; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); transition: all .15s; }
.crm-seg input:checked + span { background: var(--indigo); color: #fff; }
.crm-seg input:focus-visible + span { box-shadow: var(--ring); }

.crm-toast-root { position: fixed; right: 20px; bottom: 20px; z-index: 400; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.crm-toast { max-width: min(380px, calc(100vw - 40px)); padding: 12px 16px 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border-2); border-left: 4px solid var(--success); box-shadow: var(--shadow-lg); font-weight: 500; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease); pointer-events: auto; }
.crm-toast.is-in { opacity: 1; transform: none; }
.crm-toast.is-error { border-left-color: var(--danger); }
.crm-toast.is-info { border-left-color: var(--cyan); }


/* CRM additions for CPN */
.crm-resume-preview { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border-2); background: #fff; }
.crm-resume-preview iframe { display: block; width: 100%; height: 70vh; border: 0; }
.crm-k-meta .is-interview { color: #FCD34D; border-color: rgba(245, 158, 11, .35); }
.crm-sidebar { background: linear-gradient(180deg, #0E1628 0%, var(--bg-2) 100%); }
.crm-avatar { background: var(--grad); }

/* 9. Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
	.cpn-nav-links { gap: 18px; }
	.cpn-service-grid, .cpn-practice-grid { grid-template-columns: repeat(2, 1fr); }
	.cpn-steps { grid-template-columns: repeat(2, 1fr); }
	.cpn-footer-grid { grid-template-columns: 1fr 1fr; }
	.crm-kpis-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.crm-form-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	.cpn-nav-toggle { display: inline-grid; }
	.cpn-nav-links { position: absolute; top: 78px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px; background: #fff; border: 1px solid var(--cpn-line); border-radius: 18px; box-shadow: var(--cpn-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s var(--ease); }
	.cpn-nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
	.cpn-nav-links > a { padding: 12px; border-radius: 10px; }
	.cpn-nav-links > a::after { display: none; }
	.cpn-nav-links > a:hover { background: var(--cpn-off-white); }
	.cpn-nav-actions { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; }
	.cpn-search { grid-template-columns: 1fr 1fr; }
	.cpn-search-q { grid-column: 1 / -1; }
	.cpn-search-field + .cpn-search-field { border-left: 0; border-radius: 14px; }
	.cpn-search-field { background: var(--cpn-off-white); }
	.cpn-search-btn { grid-column: 1 / -1; }
	.cpn-trust-grid { grid-template-columns: repeat(2, 1fr); }
	.cpn-trust-item:nth-child(3) { border-left: 0; }
	.cpn-trust-item:nth-child(n+3) { border-top: 1px solid var(--cpn-line); }
	.cpn-jobs { grid-template-columns: repeat(2, 1fr); }
	.cpn-about-grid, .cpn-audience-grid { grid-template-columns: 1fr; }
	.cpn-login-wrap { grid-template-columns: 1fr; }
	.cpn-login-aside { display: none; }

	.crm-app { grid-template-columns: 1fr; }
	.crm-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: min(var(--sidebar-w), 84vw); transform: translateX(-100%); transition: transform .25s var(--ease); box-shadow: var(--shadow-lg); }
	.crm-sidebar.is-open { transform: none; }
	.crm-menu-btn { display: inline-grid; }
	.crm-split { grid-template-columns: 1fr; }
	.crm-kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
	.cpn-cta-inner { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
	.crm-profile-text { display: none; }
	.crm-profile-pill { padding: 3px; }
	.crm-facts-3, .crm-facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.crm-kpis-3, .crm-kpis-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	body.cpn-body { font-size: 15px; }
	.cpn-container { padding: 0 16px; }
	.cpn-nav-inner { height: 68px; }
	.cpn-nav-links { top: 68px; }
	.cpn-brand-text strong { font-size: 18px; }
	.cpn-brand-text small { font-size: 10px; letter-spacing: .1em; }
	.cpn-hero-inner { padding: 64px 16px 80px; }
	.cpn-search { grid-template-columns: 1fr; padding: 8px; }
	.cpn-search-field { min-height: 52px; }
	.cpn-trust-grid { grid-template-columns: 1fr 1fr; border-radius: 16px; }
	.cpn-trust-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 16px; }
	.cpn-trust-value { font-size: 24px; }
	.cpn-section { padding: 68px 0; }
	.cpn-service-grid, .cpn-practice-grid, .cpn-steps, .cpn-jobs { grid-template-columns: 1fr; }
	.cpn-audience { padding: 32px 22px; }
	.cpn-audience h3 { font-size: 25px; }
	.cpn-section-head-row { flex-direction: column; align-items: flex-start; }
	.cpn-filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.cpn-chip { flex: none; }
	.cpn-about-stats strong { font-size: 30px; }
	.cpn-footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.cpn-footer-bottom { padding: 20px 16px 90px; }
	.cpn-dialog { width: 100vw; max-width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
	.cpn-dialog-form { max-height: 94dvh; }
	.cpn-dialog-head, .cpn-dialog-body, .cpn-dialog-foot { padding-left: 18px; padding-right: 18px; }
	.cpn-dialog-foot .cpn-btn { flex: 1; }
	.cpn-form-grid { grid-template-columns: 1fr; }
	.cpn-login-card { padding: 32px 22px; }

	.crm-header { padding: 0 12px; gap: 8px; }
	.crm-title { font-size: 16px; }
	.crm-att-pill { padding: 0 10px; }
	.crm-att-pill .crm-att-text { max-width: 124px; overflow: hidden; text-overflow: ellipsis; }
	.crm-view { padding: 16px; }
	.crm-page-head h2 { font-size: 21px; }
	.crm-page-head .crm-actions { width: 100%; }
	.crm-toolbar > * { flex: 1 1 100%; }
	.crm-form-grid, .crm-form-grid-4, .crm-facts-2 { grid-template-columns: 1fr; }
	.crm-check { padding-top: 0; }
	.crm-kpi-value { font-size: 22px; }
	.crm-kpis, .crm-kpis-3, .crm-kpis-4, .crm-kpis-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.crm-kpi { padding: 14px; }
	.crm-card { padding: 16px; }
	.crm-board { grid-auto-columns: 86%; }
	.crm-col-body { max-height: none; }
	.crm-drawer-inner { padding: 18px 16px; }
	.crm-modal-backdrop { padding: 0; align-items: end; }
	.crm-modal { max-height: 92dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
	.crm-modal-foot { border-radius: 0; }
	.crm-modal-foot .btn { flex: 1; }
	.crm-toast-root { left: 16px; right: 16px; bottom: 16px; justify-items: stretch; }
	.crm-today-status .badge { margin-left: 0; }
}

@media (max-width: 400px) {
	.crm-att-pill .crm-att-text { display: none; }
	.cpn-nav-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.cpn-body *, .cpn-body *::before, .cpn-body *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.cpn-reveal { opacity: 1; transform: none; }
	.cpn-ticker-track { animation: none; flex-wrap: wrap; }
}

@media print {
	.crm-sidebar, .crm-header, .crm-toolbar, .crm-row-actions, .cpn-nav, .cpn-wa-float { display: none !important; }
	.crm-app { display: block; }
}
