.cp-profile{box-sizing:border-box;width:min(1040px,calc(100vw - 48px));max-width:1040px;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 80px #0003;font:inherit}.cp-profile::backdrop{background:#10182070;backdrop-filter:blur(4px)}body:has(.cp-profile[open]){overflow:hidden}.cp-profile .button{font-size:12px;min-height:38px;padding:8px 13px}.cp-profile .button.secondary{color:var(--ink);border:1px solid var(--line);background:var(--surface);box-shadow:none}.cp-top{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px;background:var(--surface);border-bottom:1px solid var(--line)}.cp-top .eyebrow{font-size:10px}.cp-identity{display:flex;align-items:center;gap:18px;padding:28px}.cp-identity>div{flex:1;min-width:0}.cp-identity h2{font-size:28px;line-height:1.25;margin:0 0 8px;overflow-wrap:anywhere}.cp-identity p{font-size:14px;color:var(--muted);margin:0}.cp-avatar{display:grid;place-items:center;width:58px;height:58px;flex-shrink:0;background:var(--visual-tint);color:var(--visual-accent);border-radius:16px;font-weight:650;font-size:24px}.cp-nav{display:flex;gap:6px;padding:0 28px 16px;border-bottom:1px solid var(--line);overflow-x:auto}.cp-nav button{border:0;background:transparent;color:var(--muted);font:inherit;font-size:13px;border-radius:8px;padding:10px 14px;white-space:nowrap;cursor:pointer}.cp-nav button[aria-pressed=true]{color:var(--visual-accent);background:var(--visual-tint);font-weight:650}.cp-body{padding:4px 28px 28px;min-width:0}.cp-body h3{font-size:18px;margin:0 0 16px}.cp-body h4{font-size:15px;margin:0 0 8px}.cp-section{padding:24px 0;border-bottom:1px solid var(--line)}.cp-section:last-child{border-bottom:0}.cp-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.cp-section-head h3{margin:0}.cp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:16px 0}.cp-facts>div{min-width:0}.cp-facts dt{font-size:12px;color:var(--muted);margin-bottom:6px}.cp-facts dd{font-size:14px;margin:0;overflow-wrap:anywhere}.cp-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;background:var(--wash);overflow:hidden}.cp-metrics article{padding:20px;min-width:0}.cp-metrics article+article{border-left:1px solid var(--line)}.cp-metrics small,.cp-metrics span{display:block;font-size:12px;color:var(--muted);line-height:1.5}.cp-metrics strong{display:block;font-size:24px;line-height:1.25;margin:10px 0;overflow-wrap:anywhere}.cp-highlight{display:flex;justify-content:space-between;align-items:center;gap:24px}.cp-highlight>div{min-width:0;flex:1}.cp-highlight p{max-width:65ch;font-size:14px}.cp-highlight h3{margin:8px 0}.cp-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.cp-row:last-child{border-bottom:0}.cp-row>div{min-width:0;flex:1}.cp-row strong{font-size:14px}.cp-row p,.cp-row small{font-size:12px;color:var(--muted);margin:5px 0}.cp-row>.button{flex-shrink:0}.cp-fold{border-bottom:1px solid var(--line);padding:16px 0;font-size:14px}.cp-fold>summary{font-weight:600;cursor:pointer;line-height:1.5}.cp-fold>summary small{font-weight:400;color:var(--muted);margin-left:10px}.cp-fold>div{padding:16px 0 0}.cp-fold .cp-fold{padding:12px 0}.cp-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.cp-empty,.cp-loading,.cp-body>.muted{font-size:13px;color:var(--muted);line-height:1.6}.cp-loading{padding:18px 0}.cp-tags{display:flex;flex-wrap:wrap;gap:8px}.cp-tags span{font-size:12px;background:var(--wash);padding:6px 10px;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere;max-width:100%}.cp-error{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:12px;color:var(--red);font-size:13px}.cp-error .button{margin:10px 0 0;display:block}.cp-recommendation{padding:16px 0;border-bottom:1px solid var(--line)}.cp-profile :is(button,summary):focus-visible{outline:2px solid var(--visual-accent);outline-offset:3px}
@media(max-width:700px){.cp-profile{width:100%;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}.cp-top{padding:14px 18px}.cp-top .eyebrow{font-size:9px;letter-spacing:.04em}.cp-identity{padding:22px 18px;gap:12px;flex-wrap:wrap}.cp-avatar{width:44px;height:44px;font-size:20px;border-radius:12px}.cp-identity h2{font-size:23px}.cp-identity p{font-size:12px}.cp-identity>.pill{margin-left:56px}.cp-nav{padding:0 18px 14px;gap:3px}.cp-nav button{padding:9px 11px;font-size:12px}.cp-body{padding:0 18px 24px}.cp-facts{grid-template-columns:1fr;gap:14px}.cp-metrics{grid-template-columns:1fr}.cp-metrics article{padding:16px}.cp-metrics article+article{border-left:0;border-top:1px solid var(--line)}.cp-metrics strong{font-size:23px;margin:6px 0}.cp-section-head,.cp-highlight{align-items:flex-start;flex-direction:column;gap:12px}.cp-row{gap:12px;align-items:flex-start}.cp-profile .button{font-size:11px;padding:8px 11px}.cp-row>.button{margin-top:3px}.cp-body h3{font-size:17px}}
/* Employee dossier: calm identity panel and clear, editable data cards. */
.cp-profile{border-radius:24px}.cp-identity{padding:34px 32px;background:linear-gradient(130deg,var(--wash),var(--surface) 75%);border-bottom:1px solid var(--line)}.cp-avatar{width:72px;height:72px;border-radius:22px;font-size:25px;letter-spacing:-.04em;border:1px solid var(--line)}.cp-identity h2{font-size:30px;letter-spacing:-.035em}.cp-nav{padding-top:14px;background:var(--surface)}.cp-identity>.pill{font-size:11px;padding:7px 12px;border:1px solid var(--line);background:var(--surface)}.cp-body{background:var(--wash);padding:22px 28px 28px}.cp-section{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:16px}.cp-section:last-child{border-bottom:1px solid var(--line)}.cp-body>.cp-fold{background:var(--surface);padding:18px 22px;border:1px solid var(--line);border-radius:14px;margin-bottom:12px}.cp-section-head>div{min-width:0}.cp-section-head>div h3{margin:6px 0}.cp-section-head p{margin:8px 0 0;font-size:13px}.cp-metrics{border:0;background:var(--surface);gap:12px}.cp-metrics article{background:var(--wash);border:1px solid var(--line);border-radius:12px;padding:18px}.cp-metrics article+article{border-left:1px solid var(--line)}.cp-facts dd{font-weight:550}.cp-employee-id{display:inline-flex;font-size:12px;color:var(--muted);padding:6px 10px;background:var(--wash);border-radius:8px}.cp-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.cp-detail-grid label{font-size:12px;display:flex;flex-direction:column;gap:8px;color:var(--muted);min-width:0}.cp-detail-grid :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:11px 12px;font:inherit;font-size:14px;color-scheme:light dark}.cp-data-cards>div{padding:16px 18px;border-radius:12px;background:var(--wash);min-width:0;border:1px solid var(--line)}.cp-data-cards dt{font-size:11px;color:var(--muted);margin-bottom:8px}.cp-data-cards dd{font-size:15px;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.cp-unset{color:var(--muted)}.cp-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.cp-detail-actions [role=status]{font-size:12px;max-width:50ch;overflow-wrap:anywhere}.cp-field-builder{padding:18px;margin-top:24px;border:1px dashed var(--line);border-radius:12px;font-size:13px}.cp-field-builder summary{cursor:pointer;font-weight:600}.cp-field-builder p{color:var(--muted);line-height:1.6}.cp-saved{font-size:13px;color:var(--visual-accent)}
@media(max-width:700px){.cp-profile{border-radius:0}.cp-identity{padding:24px 18px;gap:14px}.cp-avatar{width:56px;height:56px;border-radius:18px;font-size:21px}.cp-identity h2{font-size:24px}.cp-identity>.pill{margin-left:70px}.cp-body{padding:16px 14px 28px}.cp-section{padding:18px;border-radius:14px}.cp-body>.cp-fold{padding:16px 18px}.cp-metrics{gap:10px}.cp-metrics article+article{border-top:1px solid var(--line)}.cp-detail-grid{grid-template-columns:1fr;gap:12px}.cp-detail-actions .button{min-height:44px}.cp-nav button{min-height:42px}.cp-data-cards>div{padding:14px 16px}.cp-section-head .button{min-height:42px}}
.cp-identity-number{display:block;margin-top:12px;font-size:11px;letter-spacing:.04em;color:var(--muted)}
@media(max-width:700px){.cp-identity{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;gap:12px 14px}.cp-identity>.pill{grid-column:2;justify-self:start;margin:0}.cp-identity-number{overflow-wrap:anywhere}.cp-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:6px;padding:12px 14px}.cp-nav button{white-space:normal;text-align:left;line-height:1.4;padding:10px 12px}.cp-profile :is(input,select):focus-visible{outline:2px solid var(--visual-accent);outline-offset:2px}}
