.employee-grid{display:grid;grid-template-columns:repeat(2,minmax(0,390px));gap:24px;max-width:804px;margin:0 auto}.employee-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;padding:38px 28px 26px;min-width:0;min-height:445px;transition:transform .18s,border-color .18s,box-shadow .18s;background:var(--surface);color:inherit;border:1px solid #625d77;border-radius:20px;overflow:hidden;text-align:center;cursor:pointer}.employee-card::before{content:'';position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,#cf5357,#e5ae5c 50%,#668fd5)}.employee-card>strong{font-size:26px;overflow-wrap:anywhere}.employee-portrait{display:grid;place-items:center;flex:none;width:250px;max-width:100%;aspect-ratio:1;overflow:hidden;border:3px solid #8e85ae;padding:5px;clip-path:polygon(10% 0,90% 0,100% 10%,100% 90%,90% 100%,10% 100%,0 90%,0 10%);border-radius:0}.employee-portrait img{width:100%;height:100%;object-fit:cover;object-position:center;min-height:0}.employee-placeholder{font-size:72px;color:#ada9c3}.employee-salary{display:flex;justify-content:space-between;align-items:center;gap:18px;width:100%;border-top:1px solid #625d77;padding-top:18px;margin-top:8px}.employee-salary b{overflow-wrap:anywhere}.employee-card[data-variant=highlighted]{border-color:#e6b45a;box-shadow:0 8px 30px #c5902728;background:radial-gradient(at 50% 20%,#59443d,#2d303e 70%)}.employee-card[data-variant=highlighted] .employee-portrait{border-color:#e9bd69;box-shadow:0 0 20px #f1b83435}.employee-card:focus-visible{outline:3px solid #ffbf00;outline-offset:3px}.employee-identity{display:flex;justify-content:center;margin-bottom:24px}.employee-identity .employee-portrait{width:170px}.employee-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.employee-field{display:flex;flex-direction:column;gap:8px;min-width:0}.employee-field input,.employee-field select{width:100%;min-width:0}.employee-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.employee-permissions label{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #625d77;padding:12px;border-radius:10px}.employee-permissions input{width:22px;height:22px;flex:none;accent-color:#ffbf00}.employee-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.employee-access-note{font-size:14px;margin-top:18px}#employee-form h3{margin:24px 0 16px}.employee-field input[type=file]{font-size:14px;padding:10px}.employee-card .muted{min-height:24px}html[data-theme=light] .employee-card[data-variant=highlighted]{background:#fff9ec;color:#172033}@media(max-width:700px){.employee-grid,.employee-fields,.employee-permissions{grid-template-columns:1fr}.employee-portrait{width:190px}.employee-card{padding:28px 20px}.employee-salary{flex-wrap:wrap}}
.page-heading:has(#employee-add){flex-wrap:wrap;gap:18px}#employee-add{font-size:14.95px;flex-shrink:0;margin-top:0;padding:13px 19px}.employee-fields input:focus-visible{outline-offset:2px}

.employee-card[data-variant=standard]{background:linear-gradient(150deg,color-mix(in srgb,var(--surface) 92%,var(--purple)),var(--surface))}.employee-salary{margin-top:auto}.employee-card[data-variant=highlighted]>strong{color:#ffe4a0}.employee-permissions label{border-color:var(--line)}
@media(hover:hover) and (pointer:fine){.employee-card:hover{transform:translateY(-3px) scale(1.03);border-color:var(--yellow);box-shadow:0 14px 35px #090b1640;z-index:1}}
html[data-theme=light] .employee-card[data-variant=highlighted]>strong{color:#705000}html[data-theme=light] .employee-card{border-color:var(--line)}
@media(prefers-reduced-motion:reduce){.employee-card{transition:none}.employee-card:hover{transform:none}}

/* Profile and collectible frame follow the supplied employee handoff. */
.employee-grid{margin:0;gap:18px;max-width:798px}.employee-card{padding:25px 24px 21px;border-radius:16px;gap:0}.employee-card::before{height:5px;background:linear-gradient(90deg,#9b4b57 0%,#b26d6c 30%,#c39a71 48%,#8793a1 67%,#506e91 100%)}.employee-card::after{content:"";position:absolute;right:-49px;top:42px;width:125px;height:125px;border:1px solid #7a87a328;transform:rotate(45deg);pointer-events:none}.employee-card .employee-portrait{margin:12px auto 22px}.employee-portrait{padding:7px;border:0;background:linear-gradient(135deg,#ac5353,#47475e 48%,#456887)}.employee-portrait img{clip-path:polygon(9% 0,91% 0,100% 9%,100% 91%,91% 100%,9% 100%,0 91%,0 9%)}.employee-card>strong{font-size:28px;letter-spacing:-.025em}.employee-card .muted{margin-top:6px;margin-bottom:18px}.employee-card[data-variant=highlighted]{background:radial-gradient(circle at 50% 25%,#765233 0%,#3e3442 37%,#292d3a 74%);box-shadow:0 0 0 1px #e7b65b66,0 13px 34px #bf7a3540}.employee-card[data-variant=highlighted] .employee-portrait{background:linear-gradient(135deg,#f5b64d,#fff0a2 35%,#d45a50 67%,#6989cf);filter:drop-shadow(0 0 15px #ffbf5966)}.employee-identity{flex-direction:column;align-items:center;gap:16px}.employee-profile-name{font-size:24px;text-align:center;overflow-wrap:anywhere}.employee-identity .employee-portrait{width:250px}html[data-theme=light] .employee-card[data-variant=highlighted]{background:radial-gradient(circle at 50% 25%,#fff0cf,#fff9ec 74%)}
@media(max-width:700px){.employee-card{padding:18px}.employee-identity .employee-portrait{width:190px}}

.employee-avatar-editor{position:relative;width:250px;max-width:100%}.employee-avatar-button{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:2px solid var(--surface);background:var(--yellow);color:#20232d;cursor:pointer}.employee-avatar-button:focus-visible{outline:3px solid var(--purple);outline-offset:3px}.employee-avatar-editor input[hidden]{display:none}.employee-fields input:not([type=file]){appearance:none;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--ink);font:inherit;box-shadow:none}.employee-fields input:focus-visible{outline:2px solid var(--purple)}
@media(max-width:700px){.employee-avatar-editor{width:190px}}
