:root {
  --cs-ink: #10233f;
  --cs-muted: #64748b;
  --cs-line: #dce6f2;
  --cs-blue: #2563eb;
  --cs-soft: #f4f7fb;
  --cs-green: #047857;
  --cs-amber: #b45309;
}

body { background: #f6f8fb; color: var(--cs-ink); }
.cs-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 80px; }
.cs-hero { background: linear-gradient(135deg, #0b1730, #173d7d); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); gap: 30px; align-items: center; box-shadow: 0 22px 55px rgba(15, 35, 70, .18); }
.cs-eyebrow { font: 800 11px/1.2 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #93c5fd; }
.cs-hero h1, .cs-hero h1 * { color: #fff !important; -webkit-text-fill-color: #fff !important; background: none !important; }
.cs-hero h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.04; letter-spacing: -.045em; margin: 10px 0 14px; }
.cs-hero p { font-size: clamp(14px, 2vw, 17px); line-height: 1.7; color: #d9e6fb; max-width: 720px; margin: 0; }
.cs-reward { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 20px; }
.cs-reward strong { display: block; font-size: 20px; margin-bottom: 7px; color: #fff !important; }
.cs-reward p { font-size: 12px; line-height: 1.6; }
.cs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; margin-top: 22px; }
.cs-card { background: #fff; border: 1px solid var(--cs-line); border-radius: 18px; padding: 22px; box-shadow: 0 10px 30px rgba(15, 35, 70, .04); }
.cs-card h2 { font-size: 19px; margin: 0 0 6px; }
.cs-card h3 { font-size: 15px; margin: 0 0 6px; }
.cs-muted { color: var(--cs-muted); font-size: 12px; line-height: 1.65; }
.cs-tabs { display: flex; gap: 6px; overflow: auto; padding: 4px; margin: 22px 0 0; background: #eaf0f8; border-radius: 14px; scrollbar-width: thin; }
.cs-tab { white-space: nowrap; border: 0; border-radius: 10px; background: transparent; padding: 10px 13px; color: #52657e; font: 750 11px/1 Inter, sans-serif; cursor: pointer; }
.cs-tab.active { background: #fff; color: var(--cs-blue); box-shadow: 0 3px 12px rgba(15, 35, 70, .08); }
.cs-panel { display: none; }
.cs-panel.active { display: block; }
.cs-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cs-field { display: grid; gap: 6px; }
.cs-field.full { grid-column: 1 / -1; }
.cs-field label { font: 750 11px/1.3 Inter, sans-serif; color: #334155; }
.cs-field input, .cs-field select, .cs-field textarea { width: 100%; border: 1px solid #cbd8e8; border-radius: 11px; background: #fff; padding: 11px 12px; font: 500 13px/1.4 Inter, sans-serif; color: #0f172a; outline: none; }
.cs-field input:focus, .cs-field select:focus, .cs-field textarea:focus { border-color: #6aa0f7; box-shadow: 0 0 0 3px #e7f0ff; }
.cs-field textarea { min-height: 110px; resize: vertical; }
.cs-check { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.5; color: #475569; }
.cs-check input { margin-top: 2px; }
.cs-actions { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 15px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; cursor: pointer; font: 800 11.5px/1 Inter, sans-serif; }
.cs-btn.primary { background: var(--cs-blue); color: #fff; }
.cs-btn.dark { background: #0f172a; color: #fff; }
.cs-btn.soft { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.cs-btn.white { background: #fff; color: #334155; border-color: #cbd8e8; }
.cs-btn.danger { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.cs-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; background: #edf4ff; color: #1d4ed8; padding: 6px 9px; font-size: 10px; font-weight: 750; }
.cs-note { border-radius: 12px; padding: 12px 13px; font-size: 11px; line-height: 1.6; background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.cs-note.warn { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.cs-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.cs-stat { background: #f8fafc; border: 1px solid #e6edf5; border-radius: 12px; padding: 13px; }
.cs-stat strong { display: block; font-size: 22px; }
.cs-stat span { font-size: 9.5px; color: #64748b; }
.cs-section-row, .cs-project, .cs-opportunity { border: 1px solid #e3ebf4; border-radius: 13px; padding: 13px; margin-top: 9px; }
.cs-section-row { display: grid; grid-template-columns: auto minmax(130px, 1fr) minmax(130px, 1fr); gap: 10px; align-items: center; }
.cs-project-head, .cs-opportunity-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cs-project p, .cs-opportunity p { font-size: 11px; line-height: 1.6; color: #64748b; }
.cs-lock { font-size: 10px; color: #9a3412; background: #fff7ed; border-radius: 8px; padding: 7px 9px; }
.cs-toast { position: fixed; right: 20px; bottom: 20px; z-index: 9999; max-width: 360px; background: #0f172a; color: #fff; border-radius: 12px; padding: 13px 15px; font: 650 12px/1.5 Inter, sans-serif; box-shadow: 0 18px 40px rgba(15, 23, 42, .28); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .2s; }
.cs-toast.show { opacity: 1; transform: none; }
.cs-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.cs-search input { min-height: 52px; border: 1px solid #c8d6e8; border-radius: 13px; padding: 0 16px; font-size: 14px; }
.cs-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.cs-person { background: #fff; border: 1px solid var(--cs-line); border-radius: 17px; padding: 17px; display: flex; flex-direction: column; }
.cs-person-photo { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; background: #eaf1fb; }
.cs-person h2 { font-size: 15px; margin: 11px 0 3px; }
.cs-person .role { font-size: 12px; color: #334155; }
.cs-person .meta { font-size: 10px; color: #64748b; margin: 5px 0 12px; }
.cs-skills { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 14px; }
.cs-person .cs-btn { margin-top: auto; }
.cs-empty { text-align: center; padding: 42px 20px; }

/* Theme picker: each option previews the visual language it applies. */
.cs-theme-picker { border: 0; padding: 0; margin: 22px 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cs-theme-picker legend { grid-column: 1 / -1; width: 100%; padding: 0; margin-bottom: 2px; color: #0f172a; font: 800 12px/1.3 Inter, sans-serif; }
.cs-theme-option { position: relative; display: grid; grid-template-columns: 86px minmax(0, 1fr) 24px; gap: 12px; align-items: center; min-height: 100px; border: 2px solid #e2e8f0; border-radius: 16px; padding: 12px; cursor: pointer; background: #fff; transition: border-color .18s, box-shadow .18s, transform .18s; }
.cs-theme-option:hover { transform: translateY(-1px); border-color: #93c5fd; box-shadow: 0 10px 22px rgba(15, 35, 70, .08); }
.cs-theme-option > input { position: absolute; opacity: 0; pointer-events: none; }
.cs-theme-option:has(input:focus-visible) { outline: 3px solid #bfdbfe; outline-offset: 2px; }
.cs-theme-option:has(input:checked) { border-color: #2563eb; box-shadow: 0 0 0 3px #dbeafe; }
.cs-theme-swatch { position: relative; height: 70px; overflow: hidden; border-radius: 11px; background: linear-gradient(145deg, #dbeafe 0 42%, #fff 43%); border: 1px solid rgba(15, 23, 42, .09); }
.cs-theme-swatch::before { content: ''; position: absolute; left: 9px; top: 9px; width: 24px; height: 24px; border-radius: 8px; background: #2563eb; }
.cs-theme-swatch i { position: absolute; height: 5px; left: 40px; right: 8px; border-radius: 99px; background: #1e3a8a; }
.cs-theme-swatch i:nth-child(1) { top: 12px; }
.cs-theme-swatch i:nth-child(2) { top: 24px; right: 22px; opacity: .55; }
.cs-theme-swatch i:nth-child(3) { top: 48px; left: 9px; height: 12px; background: #fff; box-shadow: 18px 0 0 #fff, 36px 0 0 #fff, 54px 0 0 #fff; }
.cs-theme-copy { min-width: 0; }
.cs-theme-copy strong { display: block; color: #0f172a; font-size: 13px; margin-bottom: 5px; }
.cs-theme-copy small { display: block; color: #64748b; font-size: 10.5px; line-height: 1.45; }
.cs-theme-check { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #e2e8f0; color: #fff; font-weight: 900; }
.cs-theme-option:has(input:checked) .cs-theme-check { background: #2563eb; }
.cs-theme-preview-corporate .cs-theme-swatch { border-radius: 3px; background: linear-gradient(90deg, #0f2748 0 28%, #f8fafc 28%); }
.cs-theme-preview-corporate .cs-theme-swatch::before { background: #d5a84f; border-radius: 1px; width: 4px; height: 52px; left: 18px; }
.cs-theme-preview-minimal .cs-theme-swatch { border-radius: 0; background: #fff; }
.cs-theme-preview-minimal .cs-theme-swatch::before { width: 18px; height: 18px; border-radius: 50%; background: #111827; }
.cs-theme-preview-minimal .cs-theme-swatch i:nth-child(3) { background: #f1f5f9; box-shadow: 18px 0 0 #f1f5f9, 36px 0 0 #f1f5f9, 54px 0 0 #f1f5f9; }
.cs-theme-preview-modern .cs-theme-swatch { background: linear-gradient(135deg, #4f46e5, #a855f7 55%, #f8fafc 56%); }
.cs-theme-preview-modern .cs-theme-swatch::before { background: #fff; border-radius: 50%; }
.cs-theme-preview-technology .cs-theme-swatch { background-color: #07111f; background-image: linear-gradient(rgba(34, 211, 238, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 211, 238, .12) 1px, transparent 1px); background-size: 12px 12px; }
.cs-theme-preview-technology .cs-theme-swatch::before { background: #22d3ee; box-shadow: 0 0 14px #22d3ee; }
.cs-theme-preview-technology .cs-theme-swatch i { background: #a78bfa; }
.cs-theme-preview-technology .cs-theme-swatch i:nth-child(3) { background: #13233a; box-shadow: 18px 0 0 #13233a, 36px 0 0 #13233a, 54px 0 0 #13233a; }
.cs-theme-preview-creative .cs-theme-swatch { border-radius: 18px 5px 18px 5px; background: linear-gradient(135deg, #fff1f2, #ffedd5); }
.cs-theme-preview-creative .cs-theme-swatch::before { transform: rotate(-8deg); background: #f43f5e; border-radius: 10px 2px 10px 2px; }
.cs-theme-preview-creative .cs-theme-swatch i { background: #7c3aed; transform: rotate(-2deg); }
.cs-theme-preview-executive .cs-theme-swatch { border-radius: 2px; background: #171717; border-color: #b78b3b; }
.cs-theme-preview-executive .cs-theme-swatch::before { background: transparent; border: 2px solid #d4af65; border-radius: 50%; }
.cs-theme-preview-executive .cs-theme-swatch i { background: #d4af65; }
.cs-theme-preview-executive .cs-theme-swatch i:nth-child(3) { background: #2d2a24; box-shadow: 18px 0 0 #2d2a24, 36px 0 0 #2d2a24, 54px 0 0 #2d2a24; }
.cs-theme-preview-academic .cs-theme-swatch { border-radius: 0; background: #faf7ef; }
.cs-theme-preview-academic .cs-theme-swatch::before { border-radius: 0; background: #24523b; }
.cs-theme-preview-academic .cs-theme-swatch i { border-radius: 0; background: #5b4636; }
.cs-theme-preview-academic .cs-theme-swatch i:nth-child(3) { background: #e7decb; box-shadow: 18px 0 0 #e7decb, 36px 0 0 #e7decb, 54px 0 0 #e7decb; }

/* Public career site foundation. */
.cs-public {
  --theme-accent: var(--accent, #2563eb);
  --theme-accent-2: #0ea5e9;
  --theme-ink: #15233b;
  --theme-muted: #5b6b82;
  --theme-surface: #fff;
  --theme-border: #dfe8f2;
  --theme-radius: 20px;
  --theme-shadow: 0 14px 36px rgba(15, 35, 70, .07);
  background: #f7f9fc;
  color: var(--theme-ink);
  min-height: 72vh;
  position: relative;
  overflow: hidden;
}
.cs-public-head { position: relative; padding: 76px 0 50px; background: linear-gradient(135deg, color-mix(in srgb, var(--theme-accent) 15%, #f8fbff), #fff); border-bottom: 1px solid color-mix(in srgb, var(--theme-accent) 16%, #e2e8f0); }
.cs-public-head::after { content: ''; position: absolute; width: 300px; height: 300px; right: max(3vw, calc((100vw - 1140px) / 2)); top: -170px; border-radius: 50%; background: color-mix(in srgb, var(--theme-accent) 9%, transparent); pointer-events: none; }
.cs-public-inner { width: min(1040px, calc(100% - 32px)); margin: auto; position: relative; z-index: 1; }
.cs-identity { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; }
.cs-avatar { width: 116px; height: 116px; border-radius: 28px; object-fit: cover; background: color-mix(in srgb, var(--theme-accent) 15%, #fff); border: 5px solid #fff; box-shadow: 0 15px 35px rgba(15, 35, 70, .14); }
.cs-public .cs-eyebrow { color: var(--theme-accent); }
.cs-public h1 { color: var(--theme-ink); font-size: clamp(36px, 6vw, 64px); line-height: 1; letter-spacing: -.055em; margin: 7px 0 10px; }
.cs-public-role { font-size: 18px; color: var(--theme-muted); }
.cs-public-head p { color: var(--theme-muted); line-height: 1.7; max-width: 700px; }
.cs-public-main { width: min(1040px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 84px; display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 22px; position: relative; z-index: 1; }
.cs-public section { background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: var(--theme-radius); padding: 24px; margin-bottom: 16px; box-shadow: var(--theme-shadow); }
.cs-public section h2 { color: var(--theme-ink); font-size: 18px; line-height: 1.25; margin: 0 0 13px; }
.cs-entry { padding: 13px 0; border-bottom: 1px solid var(--theme-border); }
.cs-entry:last-child { border: 0; }
.cs-entry strong { color: var(--theme-ink); font-size: 13px; }
.cs-entry p, .cs-public section > p { font-size: 12px; line-height: 1.75; color: var(--theme-muted) !important; }
.cs-public .cs-muted { color: var(--theme-muted); }
.cs-public .cs-pill { background: color-mix(in srgb, var(--theme-accent) 10%, #fff); color: color-mix(in srgb, var(--theme-accent) 82%, #111827); border: 1px solid color-mix(in srgb, var(--theme-accent) 18%, transparent); }
.cs-public .cs-btn.primary { background: var(--theme-accent); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--theme-accent) 24%, transparent); }
.cs-public .cs-btn.white { color: var(--theme-ink); border-color: var(--theme-border); }

/* 1 — Professional: adaptable, balanced and trustworthy. */
.cs-theme-professional { --theme-accent: var(--accent, #2563eb); --theme-accent-2: #06b6d4; }
.cs-theme-professional .cs-public-head { background: radial-gradient(circle at 78% 22%, color-mix(in srgb, var(--theme-accent-2) 16%, transparent), transparent 24%), linear-gradient(135deg, color-mix(in srgb, var(--theme-accent) 14%, #f8fbff), #fff); }
.cs-theme-professional .cs-public-main::before { content: ''; position: absolute; left: -42px; top: 66px; width: 4px; height: 110px; border-radius: 99px; background: linear-gradient(var(--theme-accent), var(--theme-accent-2)); }

/* 2 — Corporate: structured navy editorial grid. */
.cs-theme-corporate { --theme-accent: #163a69; --theme-accent-2: #d0a34d; --theme-radius: 5px; --theme-shadow: 0 8px 22px rgba(15, 39, 72, .06); background: #eef2f6; }
.cs-theme-corporate .cs-public-head { background: #102b50; border-bottom: 6px solid var(--theme-accent-2); color: #fff; }
.cs-theme-corporate .cs-public-head::after { border-radius: 0; width: 36%; height: 100%; top: 0; right: 0; background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, .055)); }
.cs-theme-corporate h1, .cs-theme-corporate .cs-public-role, .cs-theme-corporate .cs-public-head p { color: #fff; }
.cs-theme-corporate .cs-eyebrow { color: #f0ca7f; letter-spacing: .18em; }
.cs-theme-corporate .cs-avatar { border-radius: 2px; border-color: #f0ca7f; box-shadow: 12px 12px 0 rgba(255, 255, 255, .08); }
.cs-theme-corporate .cs-public-main { grid-template-columns: minmax(0, 1.25fr) 300px; }
.cs-theme-corporate section { border-top: 4px solid var(--theme-accent); }
.cs-theme-corporate section h2 { text-transform: uppercase; letter-spacing: .09em; font-size: 14px; }

/* 3 — Minimal: restrained editorial whitespace. */
.cs-theme-minimal { --theme-accent: #111827; --theme-accent-2: #64748b; --theme-radius: 0; --theme-shadow: none; --theme-border: #e5e7eb; background: #fff; }
.cs-theme-minimal .cs-public-head { padding: 96px 0 66px; background: #fff; border-bottom: 1px solid #111827; }
.cs-theme-minimal .cs-public-head::after { display: none; }
.cs-theme-minimal .cs-public-inner, .cs-theme-minimal .cs-public-main { width: min(900px, calc(100% - 40px)); }
.cs-theme-minimal .cs-identity { gap: 36px; }
.cs-theme-minimal .cs-avatar { width: 98px; height: 98px; border: 1px solid #111827; border-radius: 50%; box-shadow: none; filter: grayscale(.15); }
.cs-theme-minimal h1 { font-weight: 600; letter-spacing: -.045em; }
.cs-theme-minimal .cs-public-main { grid-template-columns: minmax(0, 1fr) 235px; gap: 44px; padding-top: 52px; }
.cs-theme-minimal section { border: 0; border-bottom: 1px solid var(--theme-border); padding: 0 0 30px; margin-bottom: 30px; }
.cs-theme-minimal section h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .18em; }
.cs-theme-minimal .cs-pill { border-radius: 2px; background: #f5f5f5; border-color: #e5e7eb; color: #111827; }

/* 4 — Modern: fluid gradients and soft geometry. */
.cs-theme-modern { --theme-accent: var(--accent, #4f46e5); --theme-accent-2: #a855f7; --theme-radius: 28px; --theme-shadow: 0 22px 50px rgba(80, 70, 180, .10); background: linear-gradient(180deg, #f6f4ff, #fff 55%); }
.cs-theme-modern .cs-public-head { padding: 88px 0 64px; background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .35), transparent 25%), linear-gradient(125deg, color-mix(in srgb, var(--theme-accent) 88%, #312e81), var(--theme-accent-2)); border: 0; }
.cs-theme-modern .cs-public-head::after { width: 260px; height: 260px; top: 12%; right: 6%; border-radius: 42% 58% 66% 34% / 45% 34% 66% 55%; background: rgba(255, 255, 255, .13); transform: rotate(18deg); }
.cs-theme-modern h1, .cs-theme-modern .cs-public-role, .cs-theme-modern .cs-public-head p { color: #fff; }
.cs-theme-modern .cs-eyebrow { color: #e9d5ff; }
.cs-theme-modern .cs-avatar { width: 132px; height: 132px; border-radius: 42% 58% 48% 52%; border-color: rgba(255, 255, 255, .85); transform: rotate(-2deg); }
.cs-theme-modern .cs-public-main { margin-top: -24px; }
.cs-theme-modern section { backdrop-filter: blur(12px); }
.cs-theme-modern .cs-pill, .cs-theme-modern .cs-btn { border-radius: 999px; }

/* 5 — Technology: dark grid, neon cyan and violet. */
.cs-theme-technology { --theme-accent: #22d3ee; --theme-accent-2: #a78bfa; --theme-ink: #eef9ff; --theme-muted: #9db1c9; --theme-surface: #0e1b2c; --theme-border: #213751; --theme-radius: 12px; --theme-shadow: 0 18px 44px rgba(0, 0, 0, .22); background-color: #07111f; background-image: linear-gradient(rgba(34, 211, 238, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 211, 238, .045) 1px, transparent 1px); background-size: 32px 32px; }
.cs-theme-technology .cs-public-head { background: linear-gradient(135deg, #07111f 15%, #10213a 70%, #182143); border-bottom: 1px solid #22d3ee; }
.cs-theme-technology .cs-public-head::after { width: 360px; height: 220px; top: -30px; right: 3%; border-radius: 0; background: linear-gradient(115deg, transparent 45%, rgba(34, 211, 238, .12) 46% 47%, transparent 48%), linear-gradient(65deg, transparent 50%, rgba(167, 139, 250, .13) 51% 52%, transparent 53%); }
.cs-theme-technology h1 { color: #fff; text-shadow: 0 0 28px rgba(34, 211, 238, .18); }
.cs-theme-technology .cs-public-role, .cs-theme-technology .cs-public-head p { color: #b9c9dc; }
.cs-theme-technology .cs-eyebrow { color: #67e8f9; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.cs-theme-technology .cs-avatar { border-radius: 12px; border-color: #22d3ee; box-shadow: 0 0 0 1px #a78bfa, 0 0 35px rgba(34, 211, 238, .22); }
.cs-theme-technology section { border-left: 3px solid #22d3ee; }
.cs-theme-technology section h2 { color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.cs-theme-technology .cs-entry strong { color: #eef9ff; }
.cs-theme-technology .cs-pill { background: #10283a; color: #67e8f9; border-color: #24536b; }
.cs-theme-technology .cs-btn.white { background: #14243a; color: #dffaff; border-color: #31506c; }

/* 6 — Creative: warm, playful and asymmetric portfolio. */
.cs-theme-creative { --theme-accent: #f43f5e; --theme-accent-2: #7c3aed; --theme-ink: #2d1835; --theme-muted: #725c77; --theme-border: #f0d9e4; --theme-radius: 30px 10px 30px 10px; --theme-shadow: 10px 12px 0 rgba(124, 58, 237, .07); background: #fff9f5; }
.cs-theme-creative .cs-public-head { padding: 86px 0 60px; background: linear-gradient(115deg, #fff1f2, #ffedd5 58%, #f3e8ff); border: 0; }
.cs-theme-creative .cs-public-head::after { width: 250px; height: 250px; top: -70px; right: 8%; border-radius: 34% 66% 42% 58%; background: linear-gradient(135deg, rgba(244, 63, 94, .25), rgba(124, 58, 237, .2)); transform: rotate(-14deg); }
.cs-theme-creative .cs-avatar { width: 130px; height: 130px; border-radius: 38% 62% 52% 48% / 48% 40% 60% 52%; border-color: #fff; transform: rotate(-3deg); box-shadow: 10px 10px 0 #fbcfe8; }
.cs-theme-creative h1 { color: #32143c; transform: rotate(-.6deg); }
.cs-theme-creative .cs-public-main { grid-template-columns: minmax(0, 1.25fr) 265px; }
.cs-theme-creative .cs-public-main > main section:nth-child(even) { transform: translateX(12px); border-radius: 10px 30px 10px 30px; }
.cs-theme-creative section h2 { color: #7c3aed; }
.cs-theme-creative .cs-pill, .cs-theme-creative .cs-btn { border-radius: 14px 4px 14px 4px; }

/* 7 — Executive: charcoal and restrained gold. */
.cs-theme-executive { --theme-accent: #b78b3b; --theme-accent-2: #e1c57f; --theme-ink: #20201f; --theme-muted: #69665f; --theme-border: #d9d2c3; --theme-radius: 2px; --theme-shadow: 0 12px 34px rgba(33, 28, 19, .07); background: #f4f2ed; }
.cs-theme-executive .cs-public-head { background: #1b1b1a; border-bottom: 1px solid #c7a45f; }
.cs-theme-executive .cs-public-head::after { width: 38%; height: 100%; top: 0; right: 0; border-radius: 0; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(225, 197, 127, .045) 19px 20px); }
.cs-theme-executive h1 { color: #f9f4e9; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.035em; }
.cs-theme-executive .cs-public-role, .cs-theme-executive .cs-public-head p { color: #d3caba; }
.cs-theme-executive .cs-eyebrow { color: #e1c57f; }
.cs-theme-executive .cs-avatar { border-radius: 50%; border-color: #b78b3b; box-shadow: 0 0 0 7px rgba(183, 139, 59, .12); filter: saturate(.7); }
.cs-theme-executive section { border-top: 1px solid #b78b3b; }
.cs-theme-executive section h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 500; }
.cs-theme-executive .cs-pill { border-radius: 2px; background: #ebe5d8; color: #59431f; border-color: #d5c8ad; }

/* 8 — Academic: paper, serif and reading-first hierarchy. */
.cs-theme-academic { --theme-accent: #24523b; --theme-accent-2: #8a5b35; --theme-ink: #252b26; --theme-muted: #5f665f; --theme-surface: #fffdf8; --theme-border: #ded7c8; --theme-radius: 0; --theme-shadow: none; background-color: #f5f1e7; background-image: linear-gradient(rgba(91, 70, 54, .025) 1px, transparent 1px); background-size: 100% 28px; }
.cs-theme-academic .cs-public-head { background: #f8f4e9; border-top: 8px solid #24523b; border-bottom: 1px double #8a5b35; }
.cs-theme-academic .cs-public-head::after { width: 150px; height: 150px; top: 24px; right: 10%; border: 1px solid rgba(36, 82, 59, .14); background: transparent; }
.cs-theme-academic .cs-public-inner, .cs-theme-academic .cs-public-main { width: min(920px, calc(100% - 36px)); }
.cs-theme-academic .cs-avatar { border-radius: 0; border: 8px double #d0c5af; box-shadow: none; filter: sepia(.08); }
.cs-theme-academic h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.03em; }
.cs-theme-academic .cs-public-role { font-family: Georgia, 'Times New Roman', serif; font-style: italic; }
.cs-theme-academic .cs-public-main { grid-template-columns: minmax(0, 1fr) 250px; gap: 34px; }
.cs-theme-academic section { border-width: 0 0 1px; padding: 8px 0 26px; }
.cs-theme-academic section h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 21px; font-weight: 500; color: #24523b; }
.cs-theme-academic .cs-entry p, .cs-theme-academic section > p { font-family: Georgia, 'Times New Roman', serif; font-size: 13px; }
.cs-theme-academic .cs-pill { border-radius: 0; background: #ebe6d9; color: #24523b; border-color: #d5cbb7; }

/* User controls remain available on top of each theme. */
.cs-public.cs-bg-plain { background: #fff; }
.cs-public.cs-bg-soft:not(.cs-theme-technology):not(.cs-theme-academic):not(.cs-theme-executive):not(.cs-theme-creative) { background: #f6f8fb; }
.cs-public.cs-bg-gradient:not(.cs-theme-technology) { background: linear-gradient(180deg, color-mix(in srgb, var(--theme-accent) 8%, #fff), #fff 60%); }
.cs-public.cs-heading-underline section h2 { padding-bottom: 9px; border-bottom: 2px solid color-mix(in srgb, var(--theme-accent) 40%, var(--theme-border)); }
.cs-public.cs-heading-accent section h2 { color: var(--theme-accent); }
.cs-public.cs-card-flat section { border-color: transparent; box-shadow: none; }
.cs-public.cs-card-elevated section { box-shadow: 0 18px 42px rgba(15, 35, 70, .12); }
.cs-public.cs-photo-circle .cs-avatar { border-radius: 50%; }
.cs-public.cs-photo-square .cs-avatar { border-radius: 3px; }
.cs-public.cs-appearance-dark:not(.cs-theme-technology) { --theme-ink: #eef2f7; --theme-muted: #b8c5d8; --theme-surface: #172033; --theme-border: #2b3a52; background: #0f172a; color: #e2e8f0; }
.cs-public.cs-appearance-dark:not(.cs-theme-technology) .cs-public-head { background: linear-gradient(135deg, color-mix(in srgb, var(--theme-accent) 24%, #111827), #0f172a); }
.cs-public.cs-appearance-dark:not(.cs-theme-technology) h1, .cs-public.cs-appearance-dark:not(.cs-theme-technology) .cs-public-role, .cs-public.cs-appearance-dark:not(.cs-theme-technology) .cs-public-head p { color: #eef2f7; }
.cs-public.cs-appearance-dark .cs-btn.white { background: #1e293b; color: #e2e8f0; border-color: #475569; }

@media (max-width: 900px) {
  .cs-hero, .cs-grid, .cs-public-main, .cs-theme-corporate .cs-public-main, .cs-theme-minimal .cs-public-main, .cs-theme-creative .cs-public-main, .cs-theme-academic .cs-public-main { grid-template-columns: 1fr; }
  .cs-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-hero { padding: 30px; }
  .cs-sidebar { order: -1; }
  .cs-public-main .cs-sidebar { order: 0; }
  .cs-theme-creative .cs-public-main > main section:nth-child(even) { transform: none; }
}

@media (max-width: 700px) {
  .cs-theme-picker { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cs-shell { width: min(100% - 20px, 1160px); padding-top: 20px; }
  .cs-fields, .cs-results { grid-template-columns: 1fr; }
  .cs-search { grid-template-columns: 1fr; }
  .cs-search .cs-btn { min-height: 46px; }
  .cs-section-row { grid-template-columns: auto 1fr; }
  .cs-section-row input[type=text] { grid-column: 1 / -1; }
  .cs-identity { grid-template-columns: 1fr; gap: 18px; }
  .cs-avatar, .cs-theme-modern .cs-avatar, .cs-theme-creative .cs-avatar { width: 92px; height: 92px; }
  .cs-actions .cs-btn { flex: 1 1 140px; }
  .cs-public-head, .cs-theme-minimal .cs-public-head, .cs-theme-modern .cs-public-head, .cs-theme-creative .cs-public-head { padding: 46px 0 38px; }
  .cs-public h1 { font-size: clamp(34px, 12vw, 48px); }
  .cs-public-main { padding-top: 22px; }
  .cs-theme-modern .cs-public-main { margin-top: 0; }
  .cs-theme-option { grid-template-columns: 74px minmax(0, 1fr) 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-theme-option, .cs-toast { transition: none; }
}
