*{box-sizing:border-box}body{margin:0;background:#f7f8fa;color:#282d35;font:14px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;color:inherit;border:0;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a5c4ed;outline-offset:3px}#sidebar{width:224px;background:#fff;border-right:1px solid #e9ecf0;height:100dvh;position:fixed;display:flex;flex-direction:column;padding:32px 18px;z-index:30}.brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:650;letter-spacing:-1px;padding:0 14px}.brand>span{background:#292e37;color:#fff;border-radius:10px;width:32px;height:32px;display:grid;place-items:center;font-size:22px}.workspace{font-size:10px;color:#a0a6af;letter-spacing:.6px;margin:45px 14px 16px}nav{display:grid;gap:6px}.nav-item,.settings{padding:13px 14px;display:flex;align-items:center;gap:12px;font-size:12px;color:#7e8794;border-radius:10px;text-align:left}.nav-item.active{background:#edf3fc;color:#4472b7}.nav-item:hover,.settings:hover{background:#f2f5f9}.icon{font-size:18px;width:19px;text-align:center;font-weight:400}.sidebar-bottom{margin-top:auto}.me{border-top:1px solid #eef0f3;margin-top:19px;padding-top:23px;display:flex;gap:10px;align-items:center;font-size:11px}.me small{display:block;font-size:10px;color:#9aa2ae;margin-top:5px}.shell{margin-left:224px}header{height:80px;padding:0 44px;border-bottom:1px solid #e9ecf0;display:flex;align-items:center;justify-content:space-between;background:#ffffffa8;color:#929aa6;font-size:12px}.header-right{display:flex;align-items:center;gap:15px}.demo-label{font-size:10px;color:#9aa2ae;border:1px solid #e4e8ee;border-radius:5px;padding:3px 6px}select{border:1px solid #e3e7ed;border-radius:9px;padding:8px 12px;background:#fff;color:#697483;font-size:12px}#menu{display:none;font-size:20px}main{max-width:1280px;margin:auto;padding:38px 44px 15px}.heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:28px}h1{font-size:30px;letter-spacing:-1px;margin:0 0 10px;font-weight:600}h2{font-size:16px;font-weight:550;letter-spacing:-.2px;margin:0}h3{font-size:14px;font-weight:550;margin:0 0 8px}.sub{font-size:12px;color:#929ba7;line-height:1.6;margin:0}.eyebrow{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#9aa2ae;margin:0 0 14px}.btn{background:white;border:1px solid #e3e8ef;border-radius:10px;padding:10px 15px;font-size:12px;white-space:nowrap}.primary{background:#4676bd;color:#fff;border-color:#4676bd}.text-btn{font-size:12px;color:#527bb8;padding:8px 0}.toolbar{display:flex;gap:12px;margin:0 0 24px}.search{display:flex;align-items:center;gap:10px;padding:12px 15px;background:#fff;border:1px solid #e5e9ef;border-radius:11px;flex:1;color:#a2aab5}.search input{border:0;background:none;outline:none;width:100%;font-size:12px}.filters{background:#fff;border:1px solid #e6eaf0;border-radius:12px;padding:18px;display:flex;gap:12px;flex-wrap:wrap;margin:-10px 0 24px}.filters label{font-size:11px;color:#969eaa;display:flex;align-items:center;gap:8px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.person-tile{background:#fff;border:1px solid #e7eaf0;border-radius:16px;padding:26px 22px;text-align:left;transition:transform .16s,box-shadow .16s;min-width:0}.person-tile:hover{transform:translateY(-2px);box-shadow:0 8px 25px #25304b08}.avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-size:16px;flex-shrink:0}.small{width:34px;height:34px;font-size:11px}.lavender{background:#eae5f3;color:#9b8cb3}.person-tile .avatar{margin-bottom:23px}.person-tile h3{font-size:14px;line-height:1.5}.person-tile p{font-size:12px;color:#909aa7;margin:0}.tile-bottom{border-top:1px solid #f0f2f5;margin-top:23px;padding-top:15px;font-size:10px;color:#a3aab4;display:flex;justify-content:space-between}.panel{background:#fff;border:1px solid #e7ebf1;border-radius:16px;padding:25px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.two-col{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.stack{display:grid;gap:20px;align-content:start}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:24px}.metric{background:#fff;border:1px solid #e7ebf1;border-radius:16px;padding:23px}.metric strong{font-size:29px;font-weight:500;letter-spacing:-1px;display:block;margin:16px 0 9px}.metric p{font-size:11px;color:#9aa3af;margin:0}.welcome{background:#eef2f8;border:1px solid #e5ebf4;border-radius:17px;padding:27px 30px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.welcome h2{font-size:22px;margin-bottom:9px}.welcome-icon{font-size:45px;color:#b5c4d9}.row{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid #f0f2f5}.row:last-child{border-bottom:0}.row-info{flex:1;min-width:0}.row strong{font-size:12px;font-weight:500}.row small{display:block;margin-top:6px;font-size:11px;color:#9aa2ae}.time{font-size:11px;color:#9aa3b0;white-space:nowrap}.tag{background:#f1f5fa;color:#8596ad;padding:5px 8px;font-size:10px;border-radius:5px;white-space:nowrap}.green{background:#eff6f1;color:#7c9a86}.orange{background:#fcf5e9;color:#b69e72}.date-box{background:#f4f6f9;border-radius:10px;min-width:44px;padding:9px;text-align:center;font-size:16px;color:#65758b}.date-box small{font-size:9px;margin:3px 0 0}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.day{border-radius:8px;min-height:50px;padding:8px;font-size:11px;color:#8c96a4;position:relative;background:#fafbfc}.day span{display:block;width:5px;height:5px;border-radius:50%;background:#9ab8e1;margin-top:7px}.day.today{background:#4676bd;color:#fff}.day.away{background:#edf4ee;color:#7c9983}.day-name{text-align:center;color:#a4acb7;font-size:9px;padding:8px 0}.progress{height:4px;background:#f0f3f7;border-radius:10px;margin:20px 0 12px}.progress span{display:block;height:100%;background:#b5c8e1;border-radius:10px}.tabs{display:flex;gap:22px;border-bottom:1px solid #e6eaf0;margin:26px 0}.tabs button{font-size:12px;color:#939ca8;padding:0 0 15px}.tabs button.active{border-bottom:2px solid #4676bd;color:#4676bd}.back{display:inline-flex;color:#8793a4;font-size:12px;margin-bottom:28px}.profile-hero{display:flex;align-items:center;gap:20px;margin:0 0 25px}.profile-hero .avatar{width:72px;height:72px;font-size:23px}.profile-hero h1{font-size:27px}.chips{display:flex;gap:7px;margin-top:10px}.block-select{max-width:100%;padding:10px 13px;margin-bottom:20px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:28px}.field label{font-size:11px;color:#9ca4af;display:block;margin-bottom:8px}.field div{font-size:13px;color:#505c6b;line-height:1.6}.profile-panel{max-width:850px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:10px;color:#a0a8b4;font-weight:400;padding:10px 14px 17px;border-bottom:1px solid #edf0f5}td{font-size:12px;padding:19px 14px;border-bottom:1px solid #f0f3f6}td:first-child,th:first-child{padding-left:0}.article-tile{min-height:170px}.article-tile .icon{display:block;font-size:25px;color:#a2b5cb;margin-bottom:22px}.article-tile p{line-height:1.7}.reading{max-width:740px}.reading p{font-size:14px;line-height:1.9;color:#7b8696}.reading h2{margin:28px 0 12px}.empty{padding:45px;text-align:center;color:#9aa3af;grid-column:1/-1}footer{padding:24px;text-align:center;font-size:10px;color:#b0b6c0}dialog{border:1px solid #e5eaf1;border-radius:18px;padding:28px;width:min(440px,calc(100% - 30px));max-height:90dvh;overflow:auto;box-shadow:0 25px 100px #0002}dialog::backdrop{background:#26304445;backdrop-filter:blur(4px)}dialog h2{font-size:21px;margin-bottom:10px}dialog label{display:block;color:#929dab;font-size:11px;margin:18px 0 7px}dialog input,dialog textarea,dialog select{width:100%;padding:11px;border:1px solid #e1e6ed;border-radius:8px;color:#505c6b;background:#fff}dialog .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#2f3a4a;color:white;padding:12px 22px;border-radius:11px;z-index:100;font-size:12px;display:none}#shade{display:none}.notice{font-size:11px;color:#a0a8b3;line-height:1.6;margin:20px 0 0}@media(min-width:1450px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){#sidebar{width:195px;padding:28px 12px}.shell{margin-left:195px}main{padding:30px 27px 15px}header{padding:0 27px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}.me{font-size:10px}.metrics{gap:12px}}@media(max-width:700px){#sidebar{transform:translateX(-100%);width:250px;transition:transform .2s}.shell{margin-left:0}body.menu-open #sidebar{transform:translateX(0)}body.menu-open #shade{display:block;position:fixed;inset:0;background:#25304744;z-index:25}#menu{display:block}header{height:64px;padding:0 20px;gap:15px}#breadcrumb{margin-right:auto;font-size:11px}.header-right{gap:8px}main{padding:28px 20px 10px}.heading{align-items:flex-start}h1{font-size:27px}.grid{gap:12px}.person-tile{padding:20px 15px}.person-tile h3{font-size:12px}.person-tile p{font-size:11px}.tile-bottom{font-size:9px}.metrics{grid-template-columns:1fr}.metric{display:grid;grid-template-columns:1fr auto;align-items:center;padding:18px 20px}.metric strong{grid-row:1/3;grid-column:2;margin:0}.metric p{margin-top:6px}.metric .progress{display:none}.welcome{padding:22px}.welcome h2{font-size:20px}.welcome-icon{display:none}.panel{padding:20px}.fields{gap:24px 16px}.profile-hero h1{font-size:23px}.profile-hero .avatar{width:58px;height:58px;font-size:19px}.tabs{gap:17px}.filters{display:grid}.filters label{justify-content:space-between}.demo-label{display:none}.day{min-height:43px;padding:7px}.profile-hero{gap:14px}.header-right select{max-width:130px}dialog{max-height:95dvh}.heading>.btn{padding:10px;font-size:11px}}@media(max-width:360px){.grid,.fields{grid-template-columns:1fr}}

.profile-edit{margin-left:auto}.payroll-history{margin-top:27px;padding-top:23px;border-top:1px solid #edf0f4}.payroll-history h3{margin-bottom:20px}
dialog.employee-editor{width:min(960px,calc(100% - 40px));padding:28px 28px 0;max-height:90dvh;overflow:hidden} .employee-editor>h2{margin-bottom:8px}.employee-editor>p{margin-bottom:20px}
.editor-layout{display:grid;grid-template-columns:185px minmax(0,1fr);border-top:1px solid #edf0f4}.editor-nav{align-content:start;padding:24px 20px 20px 0;gap:8px}.editor-nav button{text-align:left;padding:9px 10px;font-size:12px;color:#7c8999;border-radius:8px}.editor-nav button:hover{background:#eef3fa;color:#4676bd}.editor-sections{overflow-y:auto;max-height:calc(90dvh - 190px);padding:0 8px 0 25px;border-left:1px solid #edf0f4;scroll-behavior:smooth}.edit-section{padding:25px 0 30px;border-bottom:1px solid #edf0f4;scroll-margin-top:10px}.edit-section h3{margin:0}.edit-section .panel-head{margin-bottom:16px}.edit-section .fields{gap:16px 20px}.edit-section>p{margin-bottom:14px}.edit-field label,.edit-label{margin:0 0 7px;display:block;color:#929dab;font-size:11px}.edit-field input:disabled{background:#f6f7f9;color:#8e98a5;opacity:1;cursor:default}.editor-actions{border-top:1px solid #edf0f4;padding:17px 0;margin-top:0!important;background:white}.unit-checks{display:flex;gap:12px;flex-wrap:wrap;min-height:40px;align-items:center}.unit-checks label{display:flex;align-items:center;gap:6px;margin:0}.unit-checks input{width:15px;padding:0;accent-color:#4676bd}
@media(max-width:700px){.profile-hero{flex-wrap:wrap}.profile-edit{margin-left:0}dialog.employee-editor{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0;padding:22px 18px 0}.editor-layout{display:block}.editor-nav{display:flex;overflow-x:auto;padding:12px 0;gap:6px}.editor-nav button{white-space:nowrap;background:#f5f7fa}.editor-sections{border-left:0;padding:0 3px;max-height:calc(100dvh - 250px)}.edit-section .fields{grid-template-columns:1fr}.employee-editor .editor-actions{padding:15px 0}.employee-editor>h2{font-size:20px}.employee-editor>p{margin-bottom:14px}}

.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.photo-editor{display:flex;align-items:center;gap:18px;margin:0 0 25px}.photo-editor .avatar{width:76px;height:76px;font-size:24px}.photo-button{display:inline-block!important;color:#596a80!important;margin:0 12px 0 0!important;cursor:pointer;font-size:12px!important}.photo-hint{display:block;color:#a0a8b3;font-size:10px;margin-top:10px}.photo-editor input[hidden]{display:none}.access-edit-row,.access-card{border-bottom:1px solid #edf0f4;padding:0 0 24px;margin-bottom:22px}.access-edit-row h4{font-size:12px;margin:0;font-weight:500}.secret-field{display:flex;align-items:center;gap:10px;min-width:0}.secret-field input{min-width:0;flex:1}.secret-field button{flex-shrink:0;font-size:11px}.access-card input{width:100%;border:0;background:none;padding:0;font:inherit;color:#505c6b}.access-card .field div{overflow-wrap:anywhere}.access-card .panel-head{margin-bottom:20px}.access-card .panel-head h3{margin:0}
.file-upload{display:block;margin-top:20px}.file-upload input{display:block;margin:8px 0}.file-upload small{color:#77808e}.edit-section select{width:100%}.edit-section label{display:block}.panel>h2{margin-bottom:24px}#sidebar nav{margin-top:30px}

/* Consistent controls and a bounded editor in Safari, Chromium and mobile browsers. */
button,[role="button"],select,input[type="checkbox"],input[type="radio"],input[type="file"],a[href],.photo-button{cursor:pointer}
button:disabled,input:disabled,select:disabled{cursor:not-allowed}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea{cursor:text}
select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m5 6 3 3 3-3' fill='none' stroke='%236b7584' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}
dialog{color:#282d35}dialog label{font-size:12px;color:#647082}dialog input:not([type="checkbox"]):not([type="file"]),dialog select,dialog textarea{appearance:none;-webkit-appearance:none;display:block;min-width:0;width:100%;height:42px;line-height:20px;padding:10px 12px;border:1px solid #dfe4eb;border-radius:9px;background-color:#fff;color:#303a49;font-size:14px;box-shadow:0 1px 2px #172b4d03}dialog select{padding-right:36px;cursor:pointer}dialog textarea{height:90px;resize:vertical}dialog input[type="date"]{min-height:42px;text-align:left}dialog input:focus-visible,dialog select:focus-visible,dialog textarea:focus-visible{outline:2px solid #86ace0;outline-offset:1px;border-color:#86ace0}dialog .btn{min-height:40px;font-size:13px;padding:9px 18px}dialog button:hover{filter:brightness(.97)}
dialog.employee-editor{width:min(1040px,calc(100vw - 64px));height:min(820px,90dvh);max-height:90dvh;padding:0;border-radius:18px;overflow:hidden}
.employee-editor>h2{height:70px;display:flex;align-items:center;margin:0;padding:0 28px;font-size:22px;letter-spacing:-.5px;border-bottom:1px solid #edf0f4}
.employee-editor #form{display:flex;flex-direction:column;height:calc(100% - 70px);min-height:0}.employee-editor .editor-layout{flex:1;min-height:0;border:0;grid-template-columns:180px minmax(0,1fr)}
.employee-editor .editor-nav{padding:20px 12px;gap:4px;background:#fafbfc;overflow:auto}.editor-nav button{font-size:13px;min-height:40px;padding:10px 12px;color:#667386}.editor-nav button.active{background:#eaf1fb;color:#3567ad;font-weight:550}
.employee-editor .editor-sections{max-height:none;min-height:0;padding:0 28px;overscroll-behavior:contain;scroll-padding-top:20px}.edit-section{padding:24px 0;scroll-margin-top:0}.edit-section:last-child{border-bottom:0}.edit-section h3{font-size:15px;margin:0 0 18px}.edit-section .fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;align-items:start}.edit-section .fields>label{margin:0;display:flex;flex-direction:column;gap:7px;line-height:18px;min-width:0}.edit-section .sub{margin:10px 0 0}.edit-section .unit-checks{gap:6px;align-items:center;min-height:42px}.edit-section .unit-checks label,.unit-checks label{display:flex;align-items:center;gap:7px;margin:0;padding:7px 9px;border:1px solid #e3e7ed;border-radius:8px;cursor:pointer;font-size:12px;background:#fff;line-height:18px}.unit-checks label:has(input:checked){background:#edf3fc;border-color:#bfd2ee;color:#3567ad}.unit-checks input,dialog input[type="checkbox"]{width:16px;height:16px;margin:0;padding:0;flex-shrink:0;accent-color:#4676bd;cursor:pointer}
.employee-editor #form>.actions{flex-shrink:0;border-top:1px solid #e7ebf1;padding:14px 24px;margin:0;background:#fff;box-shadow:0 -4px 16px #1b2a4104;gap:10px}.file-upload{margin:18px 0 0;line-height:18px}.upload-control{position:relative;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe4eb;border-radius:9px;padding:10px 14px;color:#44576e;background:#f8fafc;min-height:40px;margin:8px 0;overflow:hidden;cursor:pointer}.upload-control:hover{background:#edf3fc}.upload-control input[type="file"]{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;padding:0;cursor:pointer}.upload-control:focus-within{outline:2px solid #86ace0;outline-offset:2px}.file-upload small{display:block;font-size:11px;color:#798595;overflow-wrap:anywhere}.custom-rows .access-edit-row{padding:0 0 16px;margin-bottom:16px}
@media(max-width:700px){dialog.employee-editor{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0}.employee-editor>h2{height:60px;padding:0 20px;font-size:20px}.employee-editor #form{height:calc(100% - 60px)}.employee-editor .editor-layout{display:flex;flex-direction:column}.employee-editor .editor-nav{flex-shrink:0;display:flex;padding:10px 16px;border-bottom:1px solid #edf0f4}.editor-nav button{min-height:36px;padding:8px 12px;white-space:nowrap}.employee-editor .editor-sections{flex:1;padding:0 20px;border:0}.edit-section .fields{grid-template-columns:1fr;gap:16px}.employee-editor #form>.actions{padding:12px 20px calc(12px + env(safe-area-inset-bottom))}dialog input:not([type="checkbox"]):not([type="file"]),dialog select,dialog textarea{font-size:16px;min-height:44px}.edit-section{padding:22px 0}}
@media(prefers-reduced-motion:reduce){.editor-sections{scroll-behavior:auto}}
dialog select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m5 6 3 3 3-3' fill='none' stroke='%236b7584' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.upload-control{display:flex;width:max-content;max-width:100%}.editor-nav button:focus-visible{outline:2px solid #86ace0;outline-offset:0}
.login-screen{width:100%;max-width:none;min-height:100vh;min-height:100dvh;display:grid;place-items:center;margin:0;padding:32px 20px;background:#f6f7f9}
.login-card{width:100%;max-width:420px;padding:40px;background:#fff;border:1px solid #e6eaf0;border-radius:24px;box-shadow:0 12px 40px #25304b06}
.login-brand{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:650;letter-spacing:-1px;margin-bottom:36px}.login-brand>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#292e37;color:#fff;font-size:26px}
.login-card h1{font-size:25px;line-height:1.25;letter-spacing:-.7px;margin:0 0 12px;font-weight:600}.login-subtitle{font-size:14px;color:#7b8594;line-height:1.5;margin:0}.login-message{font-size:14px;line-height:1.5;color:#985244;margin:0;overflow-wrap:anywhere}
.login-submit{width:100%;min-height:48px;margin-top:30px;font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-radius:11px;transition:background .15s}.login-submit:hover{background:#3866ac}.login-submit:disabled{opacity:.65;cursor:wait}.login-submit span{font-size:20px;font-weight:400}
@media(max-width:480px){.login-screen{padding:24px}.login-card{padding:30px 26px;border-radius:20px}.login-card h1{font-size:23px}.login-brand{margin-bottom:30px}}
.people-count{font-size:12px;color:#7e8998;margin:0 0 18px}.people-filters{align-items:end}.people-filters label{display:flex;flex-direction:column;align-items:start;gap:8px;flex:1;min-width:180px;font-size:12px;color:#647082}.people-filters select{width:100%;height:42px;font-size:13px;cursor:pointer}.people-filters .text-btn{padding:12px}.toolbar .search{min-width:0}.toolbar>.btn{flex-shrink:0}@media(max-width:700px){.people-filters{grid-template-columns:1fr}.people-filters label{min-width:0;align-items:stretch}.people-filters select{font-size:16px}.people-filters .text-btn{justify-self:start}}
.employee-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;min-width:0}.directory-tag{display:inline-block;max-width:100%;padding:6px 10px;border-radius:7px;font-size:12px;font-weight:500;line-height:1.4;overflow-wrap:anywhere;text-align:left}.person-tile .employee-tags{margin-top:18px}.person-tile .directory-tag{font-size:11px;padding:5px 8px}.color-picker{display:flex;align-items:center;gap:16px}dialog input[type="color"]{appearance:auto;-webkit-appearance:auto;width:64px!important;height:44px!important;padding:4px!important;cursor:pointer!important}#tagPreview{margin-top:20px}.row>.text-btn{flex-shrink:0}.profile-hero>div{min-width:0}
.avatar{position:relative}.avatar img{position:absolute;inset:0}.photo-editor{margin:18px 0 4px}.photo-crop-dialog{width:min(420px,calc(100vw - 24px));padding:24px;max-height:95dvh}.photo-crop-dialog h2{margin:0 0 8px}.crop-stage{position:relative;width:100%;aspect-ratio:1;margin:18px 0;background:#e8ebef;overflow:hidden;border-radius:12px}.crop-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.crop-stage canvas:active{cursor:grabbing}.crop-mask{position:absolute;inset:0;pointer-events:none;border-radius:50%;border:2px solid white;box-shadow:0 0 0 100px #1118}.crop-zoom{display:flex;gap:14px;align-items:center}.photo-crop-dialog input[type=range]{appearance:auto;-webkit-appearance:auto;height:28px;width:100%;padding:0;cursor:pointer;accent-color:#4676bd}.photo-crop-dialog .actions{margin-top:16px}#deletePhoto[hidden]{display:none}
/* Larger portrait on the employee page; directory tile avatars stay compact. */
.profile-hero .avatar{width:180px;height:180px;font-size:54px}.profile-hero{gap:28px}
@media(max-width:700px){.profile-hero .avatar{width:128px;height:128px;font-size:38px}.profile-hero{gap:18px}.profile-hero>div{flex:1;min-width:140px}}
.profile-actions{margin-left:auto;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.danger{color:#a23e40}.people-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}@media(max-width:700px){.profile-actions{margin-left:0;width:100%}.people-actions{gap:6px}.people-actions .btn{white-space:normal}}

.document-row{display:flex;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #edf0f4}.document-row:last-child{border-bottom:0}.document-link{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:6px;background:none;border:0;text-align:left;padding:4px 0;color:inherit;cursor:pointer;font:inherit}.document-link strong{font-weight:500;overflow-wrap:anywhere}.document-link span{font-size:13px;color:#748094}.document-link:hover strong{color:#4778bd}[data-document-list]{margin-top:-10px;margin-bottom:20px}

.photo-edit-control{position:relative;margin:18px 0 24px;width:max-content;max-width:100%}.photo-avatar-button{position:relative;display:block;padding:0;border-radius:50%}.photo-avatar-button .avatar{width:110px;height:110px;font-size:32px}.photo-edit-badge{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#4676bd;color:white;border:3px solid white;font-size:19px}.photo-edit-menu{position:absolute;top:118px;left:0;z-index:5;min-width:160px;padding:6px;background:white;border:1px solid #e3e8ef;border-radius:12px;box-shadow:0 8px 28px #25304b20}.photo-edit-menu[hidden],.photo-edit-menu button[hidden]{display:none}.photo-edit-menu button,.photo-edit-menu .photo-upload-action{display:block;position:relative;width:100%;padding:11px 12px;margin:0;color:inherit;text-align:left;font-size:13px;border-radius:7px;cursor:pointer}.photo-edit-menu button:hover,.photo-upload-action:hover{background:#f2f5f9}.photo-edit-menu .danger{color:#b44049}.photo-upload-action input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-edit-control small{display:block;margin-top:8px;color:#7e8794;font-size:12px}

.dialog-notice{position:absolute;z-index:20;bottom:78px;left:20px;right:20px;background:#2f3a4a;color:#fff;padding:14px 18px;border-radius:10px;font-size:13px;box-shadow:0 4px 18px #0002;overflow-wrap:anywhere}.upload-error{color:#b44049!important}

.invitation-actions{margin:20px 0 24px}
