/* Company intelligence profile pages */
.cp-main { padding: 120px 0 80px; }
.cp-main .breadcrumbs { margin-bottom: 28px; }
.cp-hero { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 40px; }
.cp-logo { width: 64px; height: 64px; border-radius: 14px; object-fit: contain; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 8px; flex: 0 0 auto; }
.cp-h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; font-weight: 600; margin: 8px 0 12px; }
.cp-oneliner { font-size: 16px; color: var(--muted); max-width: 720px; line-height: 1.6; }
.cp-oneliner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* v3: more visible internal-link hover states */
.cp-main a { transition: color .15s ease; }
.cp-main .breadcrumbs a:hover,
.cp-oneliner a:hover,
.cp-list a:hover,
.cp-body a:hover,
.cp-faq a:hover { color: #c084fc; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cp-dir-card:hover, .cp-index-card:hover { border-color: rgba(168,85,247,0.85); background: rgba(168,85,247,0.10); box-shadow: 0 4px 18px rgba(168,85,247,0.25); }
.cp-dir-card:hover .cp-dir-name, .cp-index-card:hover .cp-index-name { color: #c084fc; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="light"] .cp-main a:hover { color: #7c3aed; }
[data-theme="light"] .cp-dir-card:hover, [data-theme="light"] .cp-index-card:hover { border-color: rgba(124,58,237,0.7); background: rgba(124,58,237,0.06); box-shadow: 0 4px 18px rgba(124,58,237,0.15); }
[data-theme="light"] .cp-dir-card:hover .cp-dir-name, [data-theme="light"] .cp-index-card:hover .cp-index-name { color: #7c3aed; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cp-chip { font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(168,85,247,0.35); background: rgba(168,85,247,0.10); color: var(--text); }
.cp-grid { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.cp-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.cp-card { border: 1px solid rgba(255,255,255,0.09); border-radius: 16px; padding: 20px; background: linear-gradient(180deg, rgba(20,16,38,0.6), rgba(10,8,18,0.9)); }
.cp-card-h { font-size: 11px; letter-spacing: 0.12em; color: var(--dim); margin-bottom: 14px; }
.cp-kv { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cp-kv:last-child { border-bottom: none; }
.cp-kv-k { font-size: 11px; color: var(--dim); letter-spacing: 0.04em; text-transform: uppercase; }
.cp-kv-v { font-size: 13.5px; line-height: 1.5; margin-top: 2px; word-break: break-word; }
.cp-cta p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.cp-section { margin-bottom: 36px; }
.cp-h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; padding: 0 0 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); border-left: 3px solid #a855f7; }
/* v4: left "On this page" menu */
.cp-toc { padding: 16px 20px; }
.cp-toc-link { display: block; font-size: 13.5px; line-height: 1.4; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; }
.cp-toc-link:hover { color: #c084fc; background: rgba(168,85,247,0.10); border-left-color: rgba(168,85,247,0.7); }
.cp-toc-link.active { color: #c084fc; background: rgba(168,85,247,0.12); border-left-color: #a855f7; font-weight: 600; }
[data-theme="light"] .cp-toc-link.active { color: #7c3aed; background: rgba(124,58,237,0.08); border-left-color: #7c3aed; }
[data-theme="light"] .cp-toc-link { color: rgba(0,0,0,0.62); }
[data-theme="light"] .cp-toc-link:hover { color: #7c3aed; background: rgba(124,58,237,0.07); border-left-color: rgba(124,58,237,0.6); }
[data-theme="light"] .cp-h2 { border-left-color: #7c3aed; }
.cp-body { font-size: 14.5px; line-height: 1.75; color: var(--muted); margin-bottom: 10px; }
/* v6: bullet-point rendering of long text */
.cp-points { list-style: none; margin: 0 0 10px; padding: 0; }
.cp-points li { position: relative; font-size: 14.5px; line-height: 1.7; color: var(--muted); padding: 4px 0 4px 22px; }
.cp-points li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: #a855f7; }
[data-theme="light"] .cp-points li::before { background: #7c3aed; }
.cp-dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 12px; }
.cp-dir-card { display: block; border: 1px solid rgba(255,255,255,0.09); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: inherit; background: rgba(255,255,255,0.02); transition: border-color .2s, transform .2s; }
.cp-dir-card:hover { border-color: rgba(168,85,247,0.5); transform: translateY(-2px); }
.cp-dir-name { font-weight: 500; font-size: 14.5px; }
.cp-dir-meta { font-size: 12px; color: var(--dim); margin-top: 4px; }
.cp-raw summary { cursor: pointer; font-size: 13px; color: var(--dim); margin: 8px 0; }
.cp-list { padding-left: 18px; }
.cp-list li { font-size: 14.5px; line-height: 1.8; color: var(--muted); }
.cp-list a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cp-faq { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: rgba(255,255,255,0.02); }
.cp-faq summary { cursor: pointer; font-weight: 500; font-size: 14.5px; }
.cp-faq p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 10px; }
.cp-disclaimer { font-size: 12px; color: var(--dim); line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 16px; }
/* master index */
.cp-hero-index { margin-bottom: 32px; }
.cp-search { width: 100%; max-width: 480px; margin-top: 20px; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: var(--text); font-family: inherit; font-size: 14px; }
.cp-search:focus { outline: none; border-color: rgba(168,85,247,0.6); }
.cp-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.cp-index-card { display: block; border: 1px solid rgba(255,255,255,0.09); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: inherit; background: rgba(255,255,255,0.02); transition: border-color .2s, transform .2s; }
.cp-index-card:hover { border-color: rgba(168,85,247,0.5); transform: translateY(-2px); }
.cp-index-name { font-weight: 500; font-size: 14.5px; line-height: 1.4; }
.cp-index-meta { font-size: 12px; color: var(--dim); margin-top: 6px; }
@media (max-width: 900px) {
  .cp-grid { grid-template-columns: 1fr; }
  .cp-side { position: static; }
}
/* light theme */
[data-theme="light"] .cp-card { background: #fff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .cp-kv { border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .cp-h2 { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .cp-dir-card, [data-theme="light"] .cp-index-card, [data-theme="light"] .cp-faq { background: #fff; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .cp-search { background: #fff; border-color: rgba(0,0,0,0.12); color: inherit; }
[data-theme="light"] .cp-logo { background: #f6f6f8; border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .cp-disclaimer { border-color: rgba(0,0,0,0.07); }

/* ===== v2: CMS additions — AI overview cards, GST table ===== */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.cp-ai-card { background: linear-gradient(135deg, rgba(168,85,247,0.09), rgba(236,72,153,0.05)); border: 1px solid rgba(168,85,247,0.30); border-radius: 16px; padding: 20px 22px; margin: 22px 0 26px; }
.cp-ai-compact { padding: 14px 16px; margin: 0 0 18px; }
.cp-ai-head { display:flex; align-items:center; gap:8px; margin-bottom: 10px; }
.cp-ai-spark { color:#c084fc; font-size: 15px; }
.cp-ai-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted, #a1a1aa); }
.cp-ai-badge { font-size: 11px; color:#c084fc; border:1px solid rgba(168,85,247,.4); border-radius: 999px; padding: 2px 10px; animation: cpAiPulse 1.4s ease-in-out infinite; }
@keyframes cpAiPulse { 0%,100% { opacity:.55 } 50% { opacity:1 } }
.cp-ai-skeleton span { display:block; height: 11px; border-radius: 6px; margin: 8px 0; background: linear-gradient(90deg, rgba(168,85,247,.10) 25%, rgba(168,85,247,.28) 50%, rgba(168,85,247,.10) 75%); background-size: 200% 100%; animation: cpAiShimmer 1.3s linear infinite; }
.cp-ai-skeleton span:nth-child(2) { width: 92%; } .cp-ai-skeleton span:nth-child(3) { width: 70%; }
@keyframes cpAiShimmer { from { background-position: 200% 0 } to { background-position: -200% 0 } }
.cp-ai-body { color: var(--text, #e4e4e7); font-size: 14.5px; line-height: 1.75; margin: 0; }
.cp-ai-compact .cp-ai-body { font-size: 13.5px; }
.cp-ai-cursor { display:inline-block; width: 2px; height: 1em; background: #c084fc; margin-left: 3px; vertical-align: -0.15em; animation: cpAiBlink .9s steps(1) infinite; }
@keyframes cpAiBlink { 50% { opacity: 0 } }
.cp-ai-disclaimer { font-size: 11px; color: var(--text-muted, #71717a); margin: 10px 0 0; opacity: .8; }
.cp-table { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 13.5px; }
.cp-table th { text-align:left; font-size: 11px; letter-spacing:.06em; text-transform: uppercase; color: var(--text-muted, #a1a1aa); padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.14); }
.cp-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--text, #e4e4e7); font-variant-numeric: tabular-nums; }
[data-theme="light"] .cp-ai-card { background: linear-gradient(135deg, rgba(168,85,247,0.07), rgba(236,72,153,0.04)); border-color: rgba(168,85,247,0.25); }
/* v9: deep links between hosted company profiles */
.cp-xlink { color: #c084fc; text-decoration: none; border-bottom: 1px dotted rgba(192,132,252,.5); }
.cp-xlink:hover { color: #e9d5ff; border-bottom-style: solid; }
[data-theme="light"] .cp-xlink { color: #7c3aed; border-bottom-color: rgba(124,58,237,.4); }
[data-theme="light"] .cp-xlink:hover { color: #5b21b6; }
/* v7: label/value tables parsed from text sections */
.cp-table-kv .cp-td-k { width: 34%; font-weight: 600; color: var(--text, #e4e4e7); }
.cp-table-kv td { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
[data-theme="light"] .cp-table th { border-bottom-color: rgba(0,0,0,.15); }
[data-theme="light"] .cp-table td { border-bottom-color: rgba(0,0,0,.08); }
@media (prefers-reduced-motion: reduce) { .cp-ai-badge, .cp-ai-skeleton span, .cp-ai-cursor { animation: none; } }
