.profile-dialog .profile-insights{margin:0;padding:20px;border:1px solid #404040;border-radius:14px;background:linear-gradient(145deg,#292929,#222222);color:#e5edf8}
.profile-insights>h3{margin:0 0 4px;font-size:17px}
.profile-insights>.detail-copy{margin:0 0 16px}
.profile-insights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px}
.profile-dialog .profile-insight-card{min-width:0;padding:17px;border:1px solid #3f3f3f;border-radius:11px;background:#1f1f1f;color:#e5edf8}
.profile-insight-card h4{margin:0 0 10px;font-size:13px}
.profile-insight-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.profile-insight-heading h4{margin:0;font-size:16px}
.profile-insight-heading .profile-insight-legend{font-size:12px;gap:10px 20px;color:#d5d2ca}
.profile-insight-card[data-profile-insight=life] .life-wheel-chart{height:auto;max-height:480px}
.life-wheel-tooltip-host{position:relative}
.life-wheel-tooltip{position:fixed;z-index:100;width:max-content;max-width:min(180px,calc(100vw - 32px));padding:8px 7px;border:1px solid #7b7461;border-radius:9px;background:#141414;color:#edf4ff;font-size:12px;line-height:1.4;box-shadow:0 8px 24px #0006;pointer-events:none}
.life-wheel-tooltip[hidden]{display:none}
.life-wheel-axis{cursor:help;outline:none}
.life-wheel-axis:hover circle,.life-wheel-axis:focus circle{fill:#eac94325;stroke:#edcf55;stroke-width:1}
.life-wheel-axis:hover text,.life-wheel-axis:focus text{fill:#ffe687!important}
@media(max-width:600px){.profile-insight-card[data-profile-insight=life] .life-wheel-chart{height:auto;min-height:280px;max-height:390px}.profile-insight-heading .profile-insight-legend{font-size:11px}}
.profile-insight-card .life-wheel-chart,.profile-insight-card .pdi-chart{display:block;width:100%;min-width:0;height:auto;max-height:285px}
.profile-insight-card[data-profile-insight=development]{display:flex;flex-direction:column}
.profile-insight-card[data-profile-insight=development] .profile-insight-content{display:flex;flex-direction:column;flex:1}
.profile-insight-card[data-profile-insight=development] .pdi-chart{max-height:480px;flex:1;min-height:300px}
.profile-insight-card .profile-development-caption{text-align:center;margin:14px 0 0;padding-top:10px}
.profile-insight-legend{display:flex;flex-wrap:wrap;gap:7px 14px;font-size:10px;color:var(--muted)}
.profile-insight-legend span{display:inline-flex;align-items:center;gap:6px}
.profile-insight-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}
.profile-insight-card .empty-inline{margin:0}
.profile-insight-card .muted,.profile-insight-card .detail-copy{color:#cfcbc1}
.dialog .profile-insight-card .life-wheel-chart .chart-label,.dialog .profile-insight-card .pdi-chart text{fill:#dce8f5}
.dialog .profile-insight-card .life-wheel-chart .chart-tick,.dialog .profile-insight-card .pdi-chart .chart-tick{fill:#c7c2b7}
.dialog .profile-insight-card :is(.life-wheel-chart,.pdi-chart) [stroke="#d8ddd4"]{stroke:#484848}
.dialog .pdi-chart-panel{background:#1f1f1f;color:#e5edf8;border-color:#3f3f3f}
.dialog .pdi-chart text,.dialog .life-wheel-chart .chart-label{fill:#dce8f5}
.dialog .life-wheel-chart .chart-tick{fill:#c7c2b7}
.dialog :is(.pdi-chart,.life-wheel-chart) [stroke="#d8ddd4"]{stroke:#484848}
.dialog :is(.pdi-chart,.life-wheel-chart){background:#1f1f1f;border-radius:10px}
/* The dashboard is dark; keep chart data distinguishable from its background. */
.pdi-chart text{fill:#dce8f5}
.pdi-chart .chart-tick{fill:#c7c2b7}
.pdi-chart [stroke="#d8ddd4"]{stroke:#484848}
.pdi-chart :is(path,polygon,line)[stroke="#2867b0"]{stroke:#78b5ff}
.pdi-chart :is(path,polygon,line)[stroke="#298257"]{stroke:#70d6a9}
.pdi-chart circle[fill="#2867b0"]{fill:#78b5ff}
.pdi-chart circle[fill="#298257"]{fill:#70d6a9}
.chart-legend i[style*="#2867b0"]{background:#78b5ff!important}
.chart-legend i[style*="#298257"]{background:#70d6a9!important}
@media(max-width:600px){.profile-insights{padding:14px}.profile-insight-card{padding:12px}}

.profile-insight-card[data-profile-insight=life]{position:relative}
.profile-wheel-axis-legend{position:absolute;bottom:17px;left:17px;right:17px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 9px;list-style:none;padding:0;margin:0;visibility:hidden;color:#cfcbc2;font-size:10px;line-height:1.3}
.profile-wheel-axis-legend li{display:flex;align-items:baseline;gap:5px;min-width:0}.profile-wheel-axis-legend b{color:#edf3fa;flex-shrink:0}.profile-wheel-axis-legend span{overflow-wrap:anywhere}

.profile-insight-heading [data-pdi-profile-assess]{margin-left:auto;flex-shrink:0}
.profile-insight-card .profile-last-assessment{display:block;font-size:11px;line-height:1.5;color:var(--muted,#aaa);margin-top:6px}
