/* People workspace: the portal's existing themes remain the single palette source. */
.people-database { gap:22px; font-size:1rem; }
.people-database header { height:auto; min-height:0; background:transparent; border:0; padding:0; }
.people-database svg { width:21px; height:21px; flex-shrink:0; }
.people-database button { cursor:pointer; }
.people-database button:disabled { cursor:default; }
.people-database button:focus-visible,.people-database select:focus-visible,.people-database input:focus-visible { outline:2px solid var(--theme-accent); outline-offset:3px; }
.people-database .primary,.people-database .secondary { display:inline-flex; align-items:center; justify-content:center; gap:9px; font-size:.875rem; min-height:39px; padding:9px 13px; }
.people-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.people-heading > div { display:flex; align-items:flex-start; gap:16px; }
.people-heading > div > svg { width:31px; height:31px; margin-top:3px; color:var(--theme-accent); }
.people-heading h1 { margin:0; font-size:clamp(1.5rem,2vw,2rem); line-height:1.2; }
.people-heading p { margin:8px 0 0; color:var(--theme-muted); font-size:1rem; line-height:1.5; }
.people-heading > button { flex-shrink:0; }
.people-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.people-stat { --stat-color:var(--theme-accent); display:flex; align-items:center; gap:22px; padding:21px 24px; border:1px solid color-mix(in srgb,var(--stat-color) 28%,var(--theme-line)); border-radius:13px; background:linear-gradient(120deg,color-mix(in srgb,var(--stat-color) 11%,var(--theme-panel)),var(--theme-panel)); }
.people-stat:nth-child(2) { --stat-color:var(--theme-success); }.people-stat:nth-child(3) { --stat-color:#ac9be4; }
html[data-theme=comfort] .people-stat:nth-child(3) { --stat-color:var(--theme-accent); }
.people-stat-icon { display:grid; place-items:center; height:58px; width:58px; border-radius:50%; color:var(--stat-color); background:color-mix(in srgb,var(--stat-color) 12%,var(--theme-panel)); border:1px solid color-mix(in srgb,var(--stat-color) 30%,transparent); flex-shrink:0; }
.people-stat-icon svg { width:31px; height:31px; }.people-stat > div { display:grid; gap:5px; }.people-stat strong { font-size:1.85rem; line-height:1.15; }.people-stat > div > span { font-size:.9375rem; }
.people-filters { display:grid; grid-template-columns:minmax(240px,2.1fr) repeat(3,minmax(130px,1fr)) auto; gap:14px; align-items:end; }
.people-database .people-filters label { font-size:.875rem; gap:8px; }
.people-filters input,.people-filters select { height:45px; font-size:.9375rem; background:var(--theme-input); }
.people-filters > button { height:45px; }
.people-search-label > div { position:relative; }.people-search-label svg { position:absolute; left:13px; top:12px; color:var(--theme-muted); }.people-search-label input { padding-left:43px; }
.people-database select { padding-right:34px; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238ba4b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; }
.people-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; align-items:start; }
.people-list-panel,.people-detail-panel { border:1px solid var(--theme-line); border-radius:14px; min-width:0; background:linear-gradient(135deg,color-mix(in srgb,var(--theme-raised) 28%,var(--theme-panel)),var(--theme-bg)); }
.people-list-panel { padding:18px 12px 16px; }
.people-list-panel > header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 10px 15px; }
.people-list-panel h2 { margin:0; font-size:1.0625rem; }.people-list-panel h2 span { color:var(--theme-muted); font-weight:400; }
.people-list-panel > header label { display:flex; align-items:center; gap:7px; color:var(--theme-muted); font-size:.8125rem; }
.people-list-panel > header select { width:auto; max-width:170px; border:0; padding-top:8px; padding-bottom:8px; font-size:.875rem; background-color:transparent; color:var(--theme-text); }
.people-list { list-style:none; margin:0; padding:0; min-height:390px; }
.people-record { display:flex; align-items:center; gap:8px; border:1px solid transparent; border-bottom-color:var(--theme-line); border-radius:0; padding:13px 10px; min-height:78px; }
.people-record.is-selected { border:1.5px solid var(--theme-primary); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--theme-accent) 35%,transparent); border-radius:11px; background:linear-gradient(110deg,var(--theme-accent-soft),color-mix(in srgb,var(--theme-accent-soft) 20%,var(--theme-panel))); }
.people-select { display:grid; grid-template-columns:43px minmax(100px,1.5fr) minmax(55px,.7fr) minmax(55px,.8fr) minmax(52px,.6fr) auto; flex:1; min-width:0; align-items:center; gap:12px; padding:0; background:transparent; border:0; color:var(--theme-text); text-align:left; font:inherit; }
.people-select .hr-avatar { width:43px; height:43px; font-size:1rem; background:linear-gradient(135deg,var(--theme-accent-soft),var(--theme-soft)); }
.people-identity { display:grid; gap:6px; min-width:0; }.people-identity strong { font-size:.9375rem; overflow-wrap:anywhere; line-height:1.3; }.people-identity small { color:var(--theme-muted); font-size:.8125rem; overflow-wrap:anywhere; line-height:1.4; }
.people-role,.people-site { font-size:.875rem; overflow-wrap:anywhere; line-height:1.4; }.people-site { border-left:1px solid var(--theme-line); padding-left:10px; }
.people-row-tags { min-width:0; }.people-row-tags .hr-tag { padding:3px 7px; font-size:.8125rem; }
.people-database .hr-badge { font-size:.875rem; white-space:normal; text-align:center; line-height:1.35; border-radius:20px; }
.people-database .hr-status-contacted { color:var(--theme-success); border-color:color-mix(in srgb,var(--theme-success) 30%,transparent); background:color-mix(in srgb,var(--theme-success) 12%,transparent); }
.people-cv-quick { display:inline-flex; align-items:center; gap:7px; color:var(--theme-accent); background:transparent; border:1px solid var(--theme-line); border-radius:6px; font:inherit; font-size:.8125rem; padding:6px 9px; }
.people-cv-quick.is-compact { border:0; padding:7px 3px; }.people-cv-quick:hover { background:var(--theme-hover); }
.people-pagination { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; padding:22px 10px 6px; }
.people-pagination > span { color:var(--theme-muted); font-size:.875rem; }.people-pagination nav { display:flex; align-items:center; flex-wrap:wrap; gap:5px; }.people-pagination button { min-width:32px; min-height:32px!important; padding:5px 8px!important; }.people-pagination svg { width:17px; height:17px; }
.people-detail-panel { padding:22px; min-height:520px; }
.people-detail-head { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:16px; }
.people-detail-head > .hr-avatar { width:64px; height:64px; font-size:1.6rem; border-color:var(--theme-accent); background:linear-gradient(135deg,var(--theme-primary),var(--theme-soft)); color:var(--theme-text); }
.people-detail-title { flex:1; min-width:130px; }.people-detail-title h2 { font-size:1.4rem; margin:0 0 8px; overflow-wrap:anywhere; line-height:1.3; }
.people-detail-actions { display:flex; gap:8px; flex-wrap:wrap; }.people-detail-actions .secondary { padding:8px 10px; font-size:.875rem; }
.people-detail-actions svg { width:17px; height:17px; }
.people-details { margin:0; }.people-details > div { display:grid; grid-template-columns:minmax(140px,.8fr) minmax(0,1.2fr); gap:14px; padding:9px 0; border-bottom:1px solid var(--theme-line); font-size:.9375rem; line-height:1.5; }
.people-details dt { display:flex; align-items:flex-start; gap:13px; color:var(--theme-muted); }.people-details dt svg { margin-top:2px; width:19px; height:19px; }.people-details dd { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.people-tags-section { padding:16px 0; border-bottom:1px solid var(--theme-line); }.people-tags-section > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; }.people-tags-section .hr-tags { max-width:none; }.people-database h3 { display:flex; align-items:center; gap:13px; font-size:1.0625rem; margin:0; }
.people-tags-section .secondary { min-height:32px; font-size:.8125rem; padding:6px 10px; }
.people-documents > h3 { margin:20px 0 14px; }.people-documents > .primary { margin-top:16px; }
.people-file { display:flex; flex-wrap:wrap; align-items:center; gap:14px; border:1px solid var(--theme-line); border-radius:10px; padding:15px; background:color-mix(in srgb,var(--theme-soft) 55%,transparent); margin:10px 0; }
.people-file-type { display:grid; place-items:center; width:43px; min-height:50px; border-radius:6px; border:1px solid var(--theme-line); background:var(--theme-accent-soft); color:var(--theme-accent); font-size:.75rem; font-weight:700; }
.people-file-info { flex:1; min-width:120px; display:grid; justify-items:start; gap:8px; }.people-file-info strong { font-size:.9375rem; line-height:1.4; overflow-wrap:anywhere; }.people-file-info small { color:var(--theme-muted); font-size:.8125rem; }.people-file-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:7px; }.people-file-actions .secondary { font-size:.8125rem; padding:7px 9px; min-height:33px; }
.people-empty,.people-muted,.people-detail-empty p { color:var(--theme-muted); font-size:.9375rem; line-height:1.6; }.people-empty { padding:18px 10px; }.people-detail-empty { padding:32px 10px; }.people-detail-empty h2 { font-size:1.2rem; }
@media(min-width:1500px) { .people-detail-actions { margin-left:auto; }.people-select { gap:10px; } }
@media(max-width:1499px) and (min-width:1101px) { .people-select { grid-template-columns:42px minmax(70px,1fr) auto auto; row-gap:7px; }.people-select > .hr-avatar { grid-row:1/3; }.people-identity { grid-column:2/4; }.people-select > .hr-badge { grid-column:4; grid-row:1; }.people-role { grid-column:2; grid-row:2; }.people-row-tags { grid-column:3; grid-row:2; }.people-site { grid-column:4; grid-row:2; }.people-detail-actions { width:100%; justify-content:flex-end; } }
@media(max-width:1100px) { .people-columns { grid-template-columns:minmax(0,1fr); }.people-filters { grid-template-columns:repeat(3,minmax(0,1fr)); }.people-search-label { grid-column:span 2; }.people-heading { align-items:flex-start; }.people-stats { gap:12px; }.people-stat { padding:18px 15px; gap:14px; }.people-stat-icon { width:44px; height:44px; }.people-stat-icon svg { width:25px; height:25px; }.people-list { min-height:0; } }
@media(max-width:650px) { .people-heading { flex-direction:column; }.people-heading > div { gap:12px; }.people-heading h1 { font-size:1.5rem; }.people-heading > div > svg { width:25px; height:25px; }.people-heading p { font-size:.9375rem; }.people-stats { grid-template-columns:1fr; gap:10px; }.people-stat { padding:14px 18px; }.people-stat strong { font-size:1.6rem; }.people-stat > div { display:flex; flex:1; align-items:center; justify-content:space-between; gap:10px; }.people-filters { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }.people-search-label { grid-column:1/-1; }.people-filters > button { grid-column:1/-1; }.people-list-panel { padding:16px 8px; }.people-select { grid-template-columns:38px minmax(0,1fr) auto; gap:10px; }.people-role,.people-row-tags,.people-site { display:none; }.people-select .hr-avatar { width:38px; height:38px; }.people-record { padding:13px 6px; gap:6px; }.people-record .hr-badge { font-size:.8125rem; max-width:90px; }.people-detail-panel { padding:18px 15px; }.people-detail-actions { width:100%; }.people-details > div { grid-template-columns:minmax(115px,.85fr) minmax(0,1.15fr); gap:10px; }.people-details dt { gap:8px; }.people-detail-title h2 { font-size:1.25rem; }.people-pagination { padding:20px 4px 2px; }.people-list-panel > header { padding:0 5px 14px; }.people-list-panel > header label { gap:0; }.people-list-panel > header select { max-width:125px; } }
