/* Personalfluss 2026 — modern, calm burgundy/cream workspace */
.staff-role-board{margin:25px 0 30px;padding:30px;background:#fffdf9;border:1px solid #e7d8d0;box-shadow:7px 7px 0 #ede2da}
.staff-role-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.staff-role-head h2{font:500 clamp(27px,3.2vw,40px)/1.15 Georgia,"Times New Roman",serif;color:#662538;letter-spacing:-.045em;margin:8px 0}
.staff-role-head p{color:#806d65;font-size:13px;line-height:1.6}
.staff-role-count{font-size:11px;font-weight:800;letter-spacing:.03em;background:#f3e7e3;color:#713549;padding:10px 13px;white-space:nowrap}
.staff-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.staff-role-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:11px;min-height:205px;border:1px solid #e6d8d1;border-radius:0;background:#fbf7f3;padding:21px;cursor:pointer;color:#4e3733;transition:transform .16s,border-color .16s,background .16s}
.staff-role-card:hover,.staff-role-card:focus-visible{border-color:#a5677a;background:#fff;transform:translateY(-2px);outline-offset:2px}
.staff-role-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.staff-role-symbol{display:grid;place-items:center;background:#762c40;color:#fff;width:41px;height:41px;font-size:19px}
.staff-role-pill{font-size:9px;font-weight:850;color:#875362;text-transform:uppercase;letter-spacing:.08em}
.staff-role-card h3{font:500 25px/1.2 Georgia,"Times New Roman",serif;color:#642538;letter-spacing:-.03em}
.staff-role-card p{font-size:12px;line-height:1.6;color:#806f67;flex:1}
.staff-role-foot{border-top:1px solid #e6d8d1;padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.staff-role-foot strong{font-size:11px;color:#6e3b47}.staff-role-foot span{font-size:11px;color:#8c4b5c}
.staff-private-panel{margin-top:22px;border:1px solid #ddc5c7;background:linear-gradient(135deg,#fff9f6,#f8edef);padding:23px 25px}
.staff-private-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.staff-private-top h3{font:500 27px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.04em;color:#702b3f;margin:7px 0 9px}
.staff-private-top p{font-size:12px;line-height:1.6;color:#806b68}
.staff-private-chip{flex-shrink:0;padding:8px 12px;background:#fff;border:1px solid #e6cdd2;color:#783d4b;font-size:10px;font-weight:800}
.staff-private-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:19px;padding-top:17px;border-top:1px solid #e9d6d7}
.staff-private-bottom span{font-size:11px;line-height:1.6;color:#836c67}.staff-private-bottom .btn{white-space:normal}
.staff-private-dialog{width:min(94vw,650px);max-height:90dvh;overflow:auto}
.staff-private-dialog form{display:grid;gap:15px}
.staff-private-dialog label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#604347}
.staff-private-dialog input,.staff-private-dialog textarea{display:block;box-sizing:border-box;width:100%;min-height:45px;padding:11px 13px;background:#fff;border:1px solid #d7c2bd;color:#3b292b;font:inherit}
.staff-private-dialog textarea{resize:vertical;min-height:70px}
.staff-private-dialog input:focus,.staff-private-dialog textarea:focus{outline:2px solid #bd8d9a;outline-offset:1px}
.staff-private-dialog .staff-private-section-label{padding-top:12px;border-top:1px solid #e9d9d4;color:#7b3044;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:850}
.staff-private-person-name{font:500 22px Georgia,serif;color:#6f2e40}
.staff-private-dialog #privateStatus{background:#f8efeb;padding:12px 14px;border-left:3px solid #8a4b5c;color:#674b4a;font-size:12px;line-height:1.6}
.staff-private-dialog #privateFields{display:grid;gap:15px}.staff-private-dialog #privateFields[hidden]{display:none!important}
.staff-private-dialog .dialog-actions{margin-top:8px}
@media(max-width:950px){.staff-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.staff-role-board{padding:19px}.staff-role-head,.staff-private-top,.staff-private-bottom{flex-direction:column;align-items:stretch}.staff-role-grid{grid-template-columns:1fr}.staff-role-card{min-height:175px}.staff-private-panel{padding:19px}.staff-role-count{align-self:start}}
@media(prefers-reduced-motion:reduce){.staff-role-card{transition:none}}
@media print{.staff-private-panel,.staff-role-board,.staff-private-dialog{display:none!important}}

/* Reference dashboard layout: warm cream sidebar, editorial burgundy typography, clean rectangular surfaces. */
.staff-v3-body{--lf-wine:#7b1926;--lf-wine-dark:#581723;--lf-paper:#faf7f3;--lf-cream:#f5ede6;--lf-border:#e8dcd3;--lf-ink:#352a27;background:var(--lf-paper);color:var(--lf-ink);padding-left:226px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.staff-v3-body .site-header{display:none}
.lf-staff-sidebar{position:fixed;inset:0 auto 0 0;z-index:20;width:226px;box-sizing:border-box;background:#f5ede6;border-right:1px solid #e6d8cc;padding:23px 13px 16px;display:flex;flex-direction:column;gap:4px;overflow-y:auto}
.lf-staff-brand{display:flex;align-items:center;gap:10px;color:#7c1420!important;text-decoration:none;font:600 25px Georgia,serif;letter-spacing:-.055em;padding:4px 9px 24px}
.lf-staff-brand-icon{font-size:28px;line-height:1}
.lf-staff-nav-label{font-size:9px;font-weight:850;letter-spacing:.15em;color:#9b8378;padding:20px 12px 7px}
.lf-staff-sidebar>a:not(.lf-staff-brand){display:flex;align-items:center;gap:11px;min-height:40px;padding:9px 12px;box-sizing:border-box;text-decoration:none;color:#5d4641;font-size:12px;font-weight:700;border-radius:6px;transition:background .15s}
.lf-staff-sidebar>a:not(.lf-staff-brand)>span{font-size:18px;width:19px;text-align:center;color:#8a4551}
.lf-staff-sidebar>a.active:not(.lf-staff-brand){background:#7b1926;color:#fff}
.lf-staff-sidebar>a.active:not(.lf-staff-brand)>span{color:#fff}
.lf-staff-sidebar>a:not(.lf-staff-brand):hover{background:#e9dcd3}
.lf-staff-sidebar>a.active:not(.lf-staff-brand):hover{background:#7b1926}
.lf-staff-sidebar-foot{display:flex;align-items:center;gap:9px;margin-top:auto;border-top:1px solid #e6d8cc;padding:18px 7px 0}
.lf-staff-foot-avatar{display:grid;place-items:center;width:37px;height:37px;background:#74462d;color:#fff;font:600 20px Georgia,serif;border-radius:7px}
.lf-staff-sidebar-foot>div{display:grid;gap:4px}.lf-staff-sidebar-foot strong{font-size:11px;color:#49352e}.lf-staff-sidebar-foot small{font-size:10px;color:#937f72}
.staff-v3-body .staff-shell{width:auto;max-width:none;margin:0;padding:0 32px 65px;box-sizing:border-box}
.lf-staff-topbar{display:flex;justify-content:space-between;align-items:center;min-height:66px;border-bottom:1px solid #e8ded5;margin:0 -32px 23px;padding:0 32px;color:#8e7970;font-size:11px;font-weight:700}
.lf-staff-topbar>span span{padding:0 8px;color:#c3b3a7}
.lf-staff-topbar>div{display:flex;align-items:center;gap:9px}.lf-staff-topbar-dot{width:7px;height:7px;background:#879b6e;border-radius:50%}
.lf-staff-topbar-avatar{margin-left:13px;display:grid;place-items:center;width:32px;height:32px;background:#f0e1d8;color:#7a2436;border:1px solid #e1cdc5;border-radius:6px;font-size:10px}
.staff-v3-body .staff-breadcrumb{display:none}
.staff-v3-body .staff-head{display:flex;justify-content:space-between;align-items:center;padding:30px 34px 33px;border:1px solid #e5d8cd;border-radius:0;background:#fffdf9;box-shadow:none}
.staff-v3-body .staff-head:after{display:none}
.staff-v3-body .staff-head h1{font:500 clamp(34px,3.5vw,51px)/1.07 Georgia,serif;letter-spacing:-.058em;color:#3d2b29;margin:13px 0 15px}
.staff-v3-body .staff-head h1 em{color:#7b1926;font-style:normal}
.staff-v3-body .staff-head p{font-size:13px;color:#8a756b;max-width:630px}
.staff-v3-body .staff-head-actions{align-items:flex-end}
.staff-v3-body .staff-head-actions .btn,.staff-v3-body .btn-primary{background:#7b1926;border-color:#7b1926;border-radius:5px;color:#fff}
.staff-v3-body .staff-head-actions .btn:hover{background:#5b1721}
.staff-v3-body .staff-local-tag{background:#f5eee9;color:#876d61;border-radius:4px;border-color:#e8d7cb}
.staff-v3-body .staff-storage-note{background:#fff9f2;border:1px solid #eaded1;border-left:3px solid #a37a6b;font-size:11px;line-height:1.65;padding:13px 18px}
.staff-v3-body .staff-summary{gap:14px;margin:17px 0}
.staff-v3-body .staff-summary>div{border-radius:0!important;box-shadow:none;background:#fffdf9!important;border:1px solid #e7dcd4!important;padding:21px 25px!important}
.staff-v3-body .staff-summary>div:last-child{background:#791c2b!important;color:#fff}
.staff-v3-body .staff-summary>div:last-child strong{color:#fff}
.staff-v3-body .staff-quick-actions a{border-radius:0;background:#fffdf9}
.staff-v3-body .staff-role-board{box-shadow:none;margin:21px 0;border-radius:0}
.staff-v3-body .staff-role-card{min-height:174px;padding:20px}
.staff-v3-body .staff-role-card h3{font-size:23px}
.staff-v3-body .staff-list-wrap{border-radius:0;background:#fffdf9}
.staff-v3-body .staff-profile{border-radius:0;background:#fffdf9;border:1px solid #e6d9cf;padding:30px 33px;scroll-margin-top:15px}
.staff-v3-body .staff-profile-top{border-bottom:1px solid #e7dcd4;padding-bottom:22px}
.staff-v3-body .staff-profile-top h2{font:500 clamp(27px,3vw,39px)/1.15 Georgia,serif;color:#5d2735;letter-spacing:-.04em}
.lf-profile-subtitle{font-size:12px;color:#8c766d;line-height:1.6;margin:8px 0 0}
.staff-v3-body .staff-profile-grid{padding-top:19px}
.staff-v3-body .staff-profile-person{background:#f8f1eb;border:1px solid #e7d9d1;border-radius:0;padding:25px 27px}
.staff-v3-body .staff-profile-avatar{width:66px;height:66px;border-radius:8px;background:#7b1926;color:#fff;font:600 25px Georgia,serif}
.staff-v3-body .staff-profile-identity strong{font:500 28px Georgia,serif;color:#512632}
.staff-v3-body .staff-profile-facts>div{background:#fffdfa;border:1px solid #ebdfd7;padding:13px 17px}
.lf-profile-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.lf-detail-card{background:#fffdfa;border:1px solid #e7d9d1;padding:22px 23px;min-width:0}
.lf-detail-card-head{display:flex;align-items:center;gap:11px;padding-bottom:16px;border-bottom:1px solid #eee3dc}
.lf-detail-card-icon{display:grid;place-items:center;width:38px;height:38px;background:#f1e3e3;color:#7a273a;font-size:20px;flex:0 0 38px}
.lf-detail-card-head h3{font:500 23px Georgia,serif;color:#5f2a38;letter-spacing:-.035em;flex:1}
.lf-detail-lock{font-size:9px;font-weight:800;letter-spacing:.06em;color:#a47d81;background:#f7ecec;padding:7px 9px;white-space:nowrap}
.lf-detail-facts{display:grid;grid-template-columns:1fr;gap:0;margin:6px 0 0}
.lf-detail-fact{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #f0e7e1}
.lf-detail-fact:last-child{border-bottom:0}
.lf-detail-fact dt{font-size:11px;color:#8b7770;line-height:1.5;flex:0 0 43%}
.lf-detail-fact dd{font-size:12px;font-weight:750;color:#4f3839;text-align:right;line-height:1.5;overflow-wrap:anywhere;min-width:0;margin:0}
.lf-detail-protected .lf-detail-fact dd{color:#75575e}
.staff-v3-body .staff-private-panel{margin:17px 0;background:#faf2f1;border:1px solid #e7d0d3;border-left:4px solid #812337;border-radius:0}
.staff-v3-body .staff-private-top h3{font-size:24px}
.staff-v3-body .staff-compensation{border-radius:0;background:#fffdfa}
.staff-v3-body .staff-planning-details{margin-top:17px}
.staff-v3-body .staff-card{border-radius:0}
.staff-v3-body .employee-dialog{border-radius:8px}
@media(max-width:1100px){.staff-v3-body{padding-left:200px}.lf-staff-sidebar{width:200px}.staff-v3-body .staff-shell{padding:0 20px 50px}.lf-staff-topbar{margin:0 -20px 20px;padding:0 20px}}
@media(max-width:850px){.staff-v3-body{padding-left:0}.lf-staff-sidebar{position:relative;inset:auto;width:100%;height:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px;padding:10px 14px}.lf-staff-brand{padding:6px 14px;margin-right:auto}.lf-staff-sidebar>a:not(.lf-staff-brand){padding:9px;min-height:35px}.lf-staff-nav-label,.lf-staff-sidebar-foot{display:none}.staff-v3-body .staff-shell{padding:0 17px 40px}.lf-staff-topbar{margin:0 -17px 16px;padding:0 17px}.staff-v3-body .staff-head{padding:25px;align-items:flex-start}.lf-profile-detail-grid{grid-template-columns:1fr}}
@media(max-width:600px){.lf-staff-sidebar{overflow-x:auto;flex-wrap:nowrap}.lf-staff-brand{font-size:20px;flex-shrink:0}.lf-staff-sidebar>a:not(.lf-staff-brand){white-space:nowrap;font-size:10px;flex-shrink:0}.staff-v3-body .staff-head{flex-direction:column;gap:20px}.staff-v3-body .staff-head h1{font-size:37px}.staff-v3-body .staff-head-actions{align-items:flex-start}.staff-v3-body .staff-profile{padding:18px}.lf-detail-card{padding:17px}.lf-detail-card-head h3{font-size:20px}.lf-detail-fact{gap:10px}.lf-detail-fact dt{flex-basis:43%}}

/* Personalfluss refinement: cohesive profile window and elegant, password-free editor */
.staff-v3-body .staff-profile{background:#faf7f3;border:0;padding:0;margin-top:26px}
.staff-v3-body .staff-profile-top{background:#fffdf9;border:1px solid #e8dcd3;border-bottom:0;padding:25px 30px 23px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.staff-v3-body .staff-profile-top-actions .btn{border-radius:5px;padding:12px 17px}
.staff-v3-body .staff-profile-grid{padding:0;background:#fffdf9;border:1px solid #e8dcd3;border-top:0;padding:0 30px 24px}
.staff-v3-body .staff-profile-person{background:#f9f2ec;border:1px solid #e9dbd1;box-shadow:none}
.staff-v3-body .staff-profile-planning{border:1px solid #e9dcd3;background:#fffdf9;border-radius:0;padding:23px}
.staff-v3-body .staff-profile-identity strong{font-size:26px}
.staff-v3-body .staff-profile-facts>div{border-radius:0}
.staff-v3-body .lf-profile-detail-grid{margin:17px 0;gap:15px}
.staff-v3-body .lf-detail-card{padding:23px 24px;box-shadow:0 3px 13px #462d2510;border:1px solid #e9dcd3;background:#fffdf9}
.staff-v3-body .lf-detail-card-head h3{font-size:22px}
.staff-v3-body .lf-detail-card-icon{border-radius:7px;background:#f3e5e0}
.staff-v3-body .lf-detail-lock{border-radius:5px;background:#f5eee7;color:#806d63}
.staff-v3-body .staff-private-panel{background:#fffdf9;border:1px solid #e8dcd3;border-left:4px solid #7b1926;margin:17px 0;padding:22px 25px;box-shadow:0 3px 13px #462d2510}
.staff-v3-body .staff-private-top h3{font-size:23px}
.staff-v3-body .staff-private-chip{background:#f6ede9;border-radius:4px;border:0}
.staff-v3-body .staff-private-bottom{margin-top:14px;padding-top:14px}
.staff-v3-body .staff-private-bottom .btn{background:#7b1926;color:#fff;border-color:#7b1926;border-radius:5px}
.staff-v3-body .staff-private-bottom .btn:hover{background:#581723}
.staff-v3-body .staff-compensation{background:#fffdf9;border:1px solid #e8dcd3;margin-top:17px;padding:24px}
.staff-v3-body .staff-profile-actions{margin-top:16px}
.staff-v3-body .staff-private-dialog{box-sizing:border-box;width:min(94vw,760px);max-height:min(90dvh,870px);border:1px solid #dfcec5;border-radius:11px!important;box-shadow:0 28px 95px #26131745;background:#faf7f3;padding:0}
.staff-v3-body .staff-private-dialog::backdrop{background:rgba(37,22,23,.54);backdrop-filter:blur(3px)}
.staff-v3-body .staff-private-dialog form{display:block;padding:0}
.staff-v3-body .staff-private-dialog .dialog-head{background:#fffdf9;border-bottom:1px solid #e8dcd3;padding:26px 30px 22px;position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between}
.staff-v3-body .staff-private-dialog .dialog-head h2{font:500 31px Georgia,serif;letter-spacing:-.045em;color:#672536}
.staff-v3-body .staff-private-dialog .employee-dialog-note{padding:19px 30px 0;margin:0;color:#8a756e;font-size:12px;line-height:1.6}
.staff-v3-body .staff-private-dialog .staff-private-person-name{padding:0 30px;margin:16px 0 0;font:500 23px Georgia,serif;color:#672536}
.staff-v3-body .staff-private-dialog #privateStatus{margin:15px 30px;background:#f5ede7;border:0;border-left:3px solid #ad7c78;border-radius:0;padding:10px 13px;font-size:11px}
.staff-v3-body .staff-private-dialog #privateFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:16px;padding:16px 30px 29px}
.staff-v3-body .staff-private-dialog #privateFields .staff-private-section-label{grid-column:1/-1;margin-top:8px;padding-top:17px;border-top:1px solid #e9dcd3}
.staff-v3-body .staff-private-dialog #privateFields .dialog-two{display:contents}
.staff-v3-body .staff-private-dialog #privateFields>label:has(textarea),.staff-v3-body .staff-private-dialog #privateFields>.staff-modal-hint{grid-column:1/-1}
.staff-v3-body .staff-private-dialog label{font-size:11px;font-weight:750;color:#6b4d49;gap:8px}
.staff-v3-body .staff-private-dialog input,.staff-v3-body .staff-private-dialog textarea{background:#fffdf9;border:1px solid #e1d3ca;border-radius:5px;min-height:47px;padding:12px 13px;color:#3f302d;font-size:13px}
.staff-v3-body .staff-private-dialog input:focus,.staff-v3-body .staff-private-dialog textarea:focus{outline:2px solid #a8717e;outline-offset:1px}
.staff-v3-body .staff-private-dialog #privateFields .dialog-actions{grid-column:1/-1;position:sticky;bottom:-1px;margin:0 -30px -29px;background:#fffdf9;border-top:1px solid #e8dcd3;padding:17px 30px;display:flex;justify-content:flex-end;gap:10px}
.staff-v3-body .staff-private-dialog #privateFields .dialog-actions .btn{border-radius:5px}
.staff-v3-body .staff-private-dialog #privateFields .dialog-actions .btn-primary{background:#7b1926;color:#fff}
.lf-legacy-note{margin:15px 30px;padding:12px 15px;background:#fff2e8;border-left:3px solid #b38366;color:#7b5a4e;font-size:12px;line-height:1.55}
.lf-legacy-note[hidden]{display:none}
@media(max-width:650px){.staff-v3-body .staff-profile-top{padding:20px;align-items:flex-start;flex-direction:column}.staff-v3-body .staff-profile-grid{padding:0 18px 18px}.staff-v3-body .staff-private-dialog .dialog-head{padding:20px}.staff-v3-body .staff-private-dialog .employee-dialog-note{padding:14px 20px 0}.staff-v3-body .staff-private-dialog .staff-private-person-name{padding:0 20px}.staff-v3-body .staff-private-dialog #privateStatus{margin:12px 20px}.staff-v3-body .staff-private-dialog #privateFields{grid-template-columns:1fr;padding:12px 20px 22px}.staff-v3-body .staff-private-dialog #privateFields .dialog-actions{margin:0 -20px -22px;padding:14px 20px}.staff-v3-body .staff-private-dialog .dialog-head h2{font-size:25px}}
