/* ── Company profile layout ────────────────────────────── */
.profile-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 960px) { .profile-layout { grid-template-columns: 1fr; } }

.profile-card { background: #161b22; border: 1px solid #30363d; border-radius: 10px; padding: 24px 28px; }
.profile-card-title { font-size: 12px; font-weight: 700; color: #6e7681; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 14px; }

/* ── Description card ─────────────────────────────────── */
.profile-desc-card { grid-column: 1 / -1; }
.profile-name { font-size: 28px; font-weight: 700; color: #e6edf3; margin: 0 0 8px; }
.profile-desc { font-size: 16px; color: #c9d1d9; line-height: 1.7; margin: 0; max-width: 860px; }
.profile-desc p { margin: 0 0 14px; }
.profile-desc p:last-child { margin-bottom: 0; }

/* ── Horizontal bar breakdown ─────────────────────────── */
.profile-bars { display: flex; flex-direction: column; gap: 8px; }
.profile-bar-row { display: flex; align-items: center; gap: 10px; }
.profile-bar-name { font-size: 12px; color: #c9d1d9; width: 240px; min-width: 240px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-bar-track { flex: 1; height: 18px; background: #21262d; border-radius: 4px; overflow: hidden; }
.profile-bar-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; min-width: 3px; }
.profile-bar-pct { font-size: 12px; font-weight: 600; color: #8b949e; min-width: 34px; text-align: right; }

/* ── Key customers ────────────────────────────────────── */
.profile-customers-card { grid-column: 1 / -1; }
.profile-customers-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.profile-cat { padding: 10px 0; border-bottom: 1px solid #21262d; }
.profile-cat:last-child { border-bottom: none; }
.profile-cat-header { display: flex; justify-content: space-between; align-items: center; }
.profile-cat-header.expandable { cursor: pointer; user-select: none; }
.profile-cat-header.expandable:hover .profile-customer-name { color: #58a6ff; }
.profile-cat-left { display: flex; align-items: center; gap: 8px; }
.profile-cat-arrow { font-size: 10px; color: #484f58; transition: color 0.15s; width: 12px; }
.profile-cat-header.expanded .profile-cat-arrow { color: #58a6ff; }
.profile-cat-arrow-spacer { width: 12px; }
.profile-customer-name { font-size: 14px; font-weight: 600; color: #e6edf3; transition: color 0.15s; }
.profile-customer-pct { font-size: 13px; font-weight: 700; color: #8b949e; min-width: 36px; text-align: right; }
.profile-customer-ctx { font-size: 12px; color: #6e7681; margin-top: 2px; line-height: 1.4; padding-left: 20px; }
.profile-cat-body { padding: 6px 0 2px 20px; }
.profile-biz { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; border-left: 2px solid #21262d; padding-left: 12px; }
.profile-biz-name { font-size: 13px; font-weight: 600; color: #c9d1d9; white-space: nowrap; }
.profile-biz-ctx { font-size: 12px; color: #6e7681; line-height: 1.4; }
@media (max-width: 700px) { .profile-customers-categories { grid-template-columns: 1fr; } }

/* ── Loading ──────────────────────────────────────────── */
.profile-loading { text-align: center; padding: 40px; color: #6e7681; font-size: 14px; }
