.sidebar nav { min-height: 0; overflow-y: auto; }
.pdi-intro, .pdi-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pdi-intro { justify-content: space-between; }
.pdi-intro p { line-height: 1.6; }
.pdi-filter-form { flex-wrap: wrap; }
.pdi-filter-form label { min-width: 140px; }
.pdi-card-body { padding: 15px; font-size: 12px; line-height: 1.6; }
#view-home .card > header > div, #view-pdi-leadership .card > header > div, #view-pdi-dashboard .card > header > div, .pdi-profile-block > header > div:last-child { margin-left: 0; }
.pdi-hint { margin: 12px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.pdi-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 13px; padding: 15px; }
.pdi-team-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.pdi-team-tile h3 { margin: 0 0 7px; font-size: 13px; }
.pdi-team-tile p { margin: 4px 0; color: var(--muted); font-size: 11px; }
.pdi-team-tile strong { color: var(--text); }
.kpi-grid.home-kpis, .kpi-grid.pdi-profile-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pdi-profile-kpis .kpi-card { min-height: 100px; }
.pdi-profile-block { margin-bottom: 15px; }
.pdi-profile-block > header { gap: 12px; flex-wrap: wrap; }
.pdi-person-detail { margin-top: 22px; }
.pdi-scale { display: flex; gap: 8px 16px; flex-wrap: wrap; padding: 12px 15px; font-size: 10px; color: var(--muted); border-bottom: 1px solid var(--line); }
.pdi-scale span { line-height: 1.5; }
.pdi-empty { padding: 24px 16px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.pdi-progress { display: flex; align-items: center; gap: 10px; min-width: 110px; font-size: 11px; }
.pdi-progress progress { width: 100%; min-width: 65px; height: 8px; border: 0; border-radius: 8px; overflow: hidden; appearance: none; background: var(--line); accent-color: var(--blue); }
.pdi-progress progress::-webkit-progress-bar { background: var(--line); border-radius: 8px; }
.pdi-progress progress::-webkit-progress-value { background: var(--blue); border-radius: 8px; }
.pdi-progress progress::-moz-progress-bar { background: var(--blue); border-radius: 8px; }
.pdi-progress strong { white-space: nowrap; }
.pdi-goals { display: grid; gap: 13px; }
.pdi-goal { padding: 16px; }
.pdi-goal-head { display: flex; align-items: start; gap: 12px; justify-content: space-between; margin-bottom: 10px; }
.pdi-goal h3 { margin: 0 0 7px; font-size: 15px; line-height: 1.4; }
.pdi-goal p { font-size: 12px; line-height: 1.6; margin: 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.pdi-goal-meta { color: var(--muted); font-size: 10px; line-height: 1.6; }
.pdi-goal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pdi-goal details { margin-top: 12px; font-size: 11px; line-height: 1.6; }
.pdi-goal summary, .pdi-assessment-history summary { cursor: pointer; color: var(--blue); }
.pdi-actions-list, .pdi-timeline { list-style: none; margin: 10px 0; padding: 0; }
.pdi-actions-list { font-size: 12px; line-height: 1.6; }
.pdi-actions-list .muted { font-size: 11px; }
.pdi-actions-list li, .pdi-timeline li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.pdi-actions-list li > strong, .pdi-timeline li > strong { display: block; margin-bottom: 3px; }
.pdi-evidence { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; color: var(--muted); }
.pdi-evidence a { color: var(--blue); }
.pdi-checkin { padding: 12px; border: 1px solid var(--line); border-radius: 7px; margin: 10px 0; }
.pdi-feedback { padding: 10px 12px; background: var(--blue-soft); border-left: 3px solid var(--blue); margin: 10px 0; font-size: 11px; line-height: 1.6; white-space: pre-wrap; }
.pdi-assessment-history { margin-top: 12px; font-size: 11px; }
.pdi-assessment-history ul { list-style: none; margin: 0; padding: 0; }
.pdi-assessment-history li { border-bottom: 1px solid var(--line); padding: 10px 0; }
.pdi-assessment-history p { white-space: pre-wrap; overflow-wrap: anywhere; }
#pdi-dialog { width: min(960px, calc(100% - 30px)); }
.pdi-modal-card { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.pdi-modal-card .form-grid > *, .pdi-modal-card > header > div { min-width: 0; }
.pdi-modal-card input, .pdi-modal-card select, .pdi-modal-card textarea { min-width: 0; max-width: 100%; }
.pdi-modal-card > header { gap: 12px; }
.pdi-modal-card > header .icon-button { flex-shrink: 0; }
.pdi-dialog-context { margin-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.pdi-dialog-context p { white-space: pre-wrap; overflow-wrap: anywhere; }
.pdi-action-editor { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 34px; gap: 9px; align-items: center; padding: 9px 0; }
.pdi-action-editor input, .pdi-action-editor select { font-size: 12px; }
.pdi-checkin-action { padding: 12px; border: 1px solid var(--line); border-radius: 8px; margin: 10px 0; }
.pdi-checkin-action strong { display: block; font-size: 12px; margin-bottom: 8px; }
.pdi-checkin-action label { display: block; margin: 8px 0; }
.pdi-checkin-action label > span { display: block; color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.pdi-checkbox { display: flex !important; align-items: center; gap: 9px; font-size: 12px; }
.pdi-checkbox input { width: 18px; height: 18px; }
.pdi-checkbox span { margin: 0 !important; }
.pdi-team-list span { display: block; margin: 3px 0; }
.pdi-assessment-count { display: grid; justify-items: start; gap: 6px; min-width: 105px; }
.pdi-assessment-count .badge { font-size: 12px; font-variant-numeric: tabular-nums; }
.pdi-assessment-count small { color: var(--muted); font-size: 10px; }
.pdi-chart-label { fill: var(--muted); font-size: 10px; }
.pdi-chart-value { fill: var(--text); font-size: 11px; font-weight: 750; }
.pdi-chart-bar { fill: var(--blue); }
.pdi-chart-track { fill: var(--line); }
.pdi-double-donut { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; --pdi-assessed: #238773; --pdi-pending: #becada; --pdi-level-1: #bd861b; --pdi-level-2: #437bd0; --pdi-level-3: #238773; --pdi-level-4: #8861c1; }
.pdi-donut { min-width: 0; }
.pdi-donut h3 { margin: 0 0 8px; color: var(--text); font-size: 12px; text-align: center; line-height: 1.5; }
.pdi-donut svg { display: block; width: min(100%, 210px); height: auto; margin: 0 auto; }
.pdi-donut-track { fill: none; stroke: var(--line); stroke-width: 22; }
.pdi-donut-assessed { --donut-color: var(--pdi-assessed); }
.pdi-donut-pending { --donut-color: var(--pdi-pending); }
.pdi-donut-level-1 { --donut-color: var(--pdi-level-1); }
.pdi-donut-level-2 { --donut-color: var(--pdi-level-2); }
.pdi-donut-level-3 { --donut-color: var(--pdi-level-3); }
.pdi-donut-level-4 { --donut-color: var(--pdi-level-4); }
.pdi-donut-segment { fill: none; stroke: var(--donut-color); stroke-width: 22; }
.pdi-donut-segment:hover, .pdi-donut-segment:focus-visible { stroke-width: 27; outline: none; }
.pdi-donut-value { fill: var(--text); font-size: 27px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pdi-donut-label { fill: var(--muted); font-size: 11px; }
.pdi-donut-legend { list-style: none; padding: 0; margin: 8px 0 0; }
.pdi-donut-legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 5px 0; color: var(--text); font-size: 10px; line-height: 1.5; }
.pdi-donut-swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--donut-color); }
.pdi-donut-legend strong { font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pdi-donut-legend small { color: var(--muted); font-size: 9px; font-weight: 500; }
.pdi-donut-note, .pdi-donut-empty { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.pdi-donut-empty { text-align: center; }
html[data-theme="dark"] .pdi-double-donut { --pdi-assessed: #49bba0; --pdi-pending: #657b95; --pdi-level-1: #e2b54d; --pdi-level-2: #76a8f0; --pdi-level-3: #49bba0; --pdi-level-4: #b493e6; }
@media (max-width: 560px) { .pdi-double-donut { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.pdi-export-actions { display: flex; justify-content: flex-end; margin-top: 15px; }
.pdi-coverage { padding: 5px 18px 0; --coverage-risk-bg: #fee2e2; --coverage-risk-text: #881d1d; --coverage-attention-bg: #fef0c7; --coverage-attention-text: #734b08; --coverage-covered-bg: #c5ece0; --coverage-covered-text: #145747; }
.pdi-heatmap-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 12px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.pdi-heatmap-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pdi-heatmap-legend span::before { content: ""; flex-shrink: 0; width: 12px; height: 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); }
.pdi-heatmap-legend .risk::before { background: var(--coverage-risk-bg); }
.pdi-heatmap-legend .attention::before { background: var(--coverage-attention-bg); }
.pdi-heatmap-legend .covered::before { background: var(--coverage-covered-bg); }
.pdi-heatmap-wrap { max-width: 100%; max-height: 620px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.pdi-heatmap { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.pdi-heatmap caption { padding: 10px 12px; text-align: left; color: var(--muted); font-size: 10px; line-height: 1.5; }
.pdi-heatmap-label-col { width: 220px; }
.pdi-heatmap th, .pdi-heatmap td { padding: 12px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: normal; overflow-wrap: anywhere; text-align: center; }
.pdi-heatmap thead th { position: sticky; top: 0; z-index: 2; background: var(--bg); color: var(--text); font-size: 10px; text-transform: none; letter-spacing: 0; }
.pdi-heatmap thead strong, .pdi-heatmap thead span { display: block; }
.pdi-heatmap thead strong { margin-bottom: 4px; font-size: 12px; }
.pdi-heatmap thead span { font-weight: 500; line-height: 1.5; }
.pdi-heatmap th:first-child { position: sticky; left: 0; background: var(--card); text-align: left; }
.pdi-heatmap thead th:first-child { z-index: 3; background: var(--bg); }
.pdi-heatmap tbody th { top: auto; z-index: 1; color: var(--text); font-size: 11px; font-weight: 600; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.pdi-heatmap tr > :last-child { border-right: 0; }
.pdi-heatmap tbody tr:last-child > * { border-bottom: 0; }
.pdi-heatmap .pdi-heatmap-cell { font-variant-numeric: tabular-nums; }
.pdi-heatmap-cell strong { display: block; font-size: 15px; }
.pdi-heatmap-cell span { display: block; margin-top: 3px; font-size: 10px; }
.pdi-heatmap .pdi-heatmap-cell.risk { background: var(--coverage-risk-bg); color: var(--coverage-risk-text); }
.pdi-heatmap .pdi-heatmap-cell.attention { background: var(--coverage-attention-bg); color: var(--coverage-attention-text); }
.pdi-heatmap .pdi-heatmap-cell.covered { background: var(--coverage-covered-bg); color: var(--coverage-covered-text); }
.pdi-heatmap .pdi-heatmap-cell.unavailable { background: var(--bg); color: var(--muted); }
.pdi-heatmap-wrap:focus-visible, .pdi-heatmap-cell:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
html[data-theme="dark"] .pdi-coverage { --coverage-risk-bg: #542c35; --coverage-risk-text: #ffd9df; --coverage-attention-bg: #544423; --coverage-attention-text: #ffedb8; --coverage-covered-bg: #1d4d43; --coverage-covered-text: #c6f5e3; }
.pdi-coverage-priority { border-top: 1px solid var(--line); padding: 16px 0; margin: 7px 0 0; font-size: 12px; line-height: 1.7; }
.pdi-my-goal-list { list-style: none; margin: 0; padding: 0; }
.pdi-my-goal-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
@media (max-width: 1000px) { .kpi-grid.home-kpis, .kpi-grid.pdi-profile-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pdi-coverage { padding-left: 10px; padding-right: 10px; } .pdi-heatmap-label-col { width: 160px; } }
@media (max-width: 560px) { .pdi-action-editor { grid-template-columns: minmax(0, 1fr) 34px; } .pdi-action-editor select { grid-column: 1; grid-row: 2; } .pdi-action-editor button { grid-column: 2; grid-row: 1 / 3; } .pdi-goal-head { flex-wrap: wrap; } .pdi-team-grid { grid-template-columns: 1fr; } .pdi-goal { padding: 12px; } }

.competency-assignment { min-width:0; }.competency-assignment fieldset { border:1px solid var(--line); border-radius:8px; padding:12px; margin:12px 0; }.competency-assignment legend { font-size:12px; padding:0 5px; }.competency-assignment [data-competency-options] { max-height:240px; overflow:auto; display:grid; gap:9px; }.competency-assignment .competency-person { display:flex!important; align-items:center; gap:9px; font-size:12px; }.competency-assignment .competency-person input { width:18px!important; height:18px!important; min-height:0; margin:0; flex:0 0 18px; }.competency-assignment .competency-person span { margin:0; }
