*{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}

.manager-picker{position:relative;display:block}.manager-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:10;max-height:220px;overflow-y:auto;background:#fff;border:1px solid #dce2eb;border-radius:10px;box-shadow:0 8px 24px #25304b20;padding:5px}.manager-options[hidden]{display:none}.manager-options [role=option]{display:block;padding:10px 12px;border-radius:6px;color:#303c4d;cursor:pointer}.manager-options [role=option]:hover,.manager-options [aria-selected=true]{background:#edf3fc}.manager-empty{display:block;padding:10px 12px;color:#7e8794;font-size:13px}
.org-nav summary{cursor:pointer;padding:13px 16px;color:#57657a;font-size:12px;list-style:none}.org-nav summary::after{content:'⌄';float:right}.org-nav .nav-item{padding-left:30px;font-size:12px}.org-toolbar{display:flex;justify-content:space-between;gap:16px;margin:24px 0}.org-toolbar input{max-width:360px;min-width:150px}.org-controls{display:flex;align-items:center;gap:8px;white-space:nowrap}.org-controls .btn{padding:9px 13px}.org-controls span{font-size:12px;color:#788599;min-width:38px;text-align:center}.org-viewport{overflow:auto;max-height:calc(100dvh - 210px);min-height:400px;padding:20px 8px 32px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.org-size{position:relative;margin:0 auto}.org-canvas{width:max-content;min-width:300px;transform-origin:top left;position:relative}.org-tree,.org-tree ul{display:flex;justify-content:center;list-style:none;padding:0;margin:0}.org-tree ul{padding-top:34px;position:relative}.org-tree li{position:relative;display:flex;align-items:center;flex-direction:column;padding:0 16px}.org-tree ul>li::before{content:'';position:absolute;top:-17px;left:0;width:100%;height:17px;border-top:1px solid #bac5d5}.org-tree ul>li:first-child::before{left:50%;width:50%;border-radius:8px 0 0 0}.org-tree ul>li:last-child::before{width:50%;border-radius:0 8px 0 0}.org-tree ul>li:only-child::before{display:none}.org-tree ul>li::after{content:'';position:absolute;top:-17px;left:50%;height:17px;border-left:1px solid #bac5d5}.org-tree ul::before{content:'';position:absolute;top:0;left:50%;height:17px;border-left:1px solid #bac5d5}.org-node{position:relative;display:flex;align-items:center;flex-direction:column;min-height:100px;justify-content:center}.org-person{width:152px;min-height:145px}.org-person-link{display:flex;align-items:center;flex-direction:column;text-align:center;text-decoration:none;color:inherit;gap:7px;padding:6px;border-radius:12px;width:152px}.org-person-link:hover{background:#eaf0f8}.org-person-link .avatar{width:64px;height:64px;font-size:22px}.org-person-link strong{font-size:13px;font-weight:600;max-width:145px;overflow-wrap:anywhere}.org-person-link small{font-size:12px;color:#7d899b;max-width:145px;overflow-wrap:anywhere}.org-department{max-width:260px;min-width:170px;min-height:60px;padding:17px 18px;background:#fff;border:1px solid #e1e6ee;border-radius:12px;text-align:center;font-size:14px}.org-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:8px}.org-tags{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;margin-top:10px}.org-tags .directory-tag{font-size:10px;padding:4px 6px}.org-toggle{position:relative;margin-top:8px;border-radius:50%;background:#4778bd;color:white;width:23px;height:23px;line-height:23px;padding:0;font-size:17px;cursor:pointer}.org-count{position:absolute;left:28px;top:1px;font-size:11px;color:#7d899b}.org-shared{border-top:1px solid #dce2eb;margin-top:42px;padding-top:22px}.org-shared h2{font-size:14px;font-weight:500;color:#718098;margin:0 16px 24px}.org-match>.org-department,.org-match>.org-person-link{outline:2px solid #93b7ec;outline-offset:3px}@media(max-width:700px){.org-toolbar{flex-direction:column;margin:16px 0}.org-toolbar input{max-width:none;width:100%}.org-controls{justify-content:flex-end}.org-viewport{max-height:calc(100dvh - 250px);min-height:320px}.org-tree li{padding-left:10px;padding-right:10px}}
.org-toolbar input[type=search]{appearance:none;-webkit-appearance:none;border:1px solid #dce2eb;border-radius:10px;background:#fff;color:#303c4d;font:inherit;font-size:14px;padding:11px 14px;min-height:44px;width:340px}.org-toolbar input[type=search]:focus{outline:2px solid #9bbdec;outline-offset:2px}
.org-brand-logo{display:block;width:58px;height:58px;object-fit:contain;margin:0 auto 7px}.org-brand-tag{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#57657a;background:#f5f7fa;border-radius:5px;padding:3px 5px}.org-brand-tag img{width:22px;height:22px;object-fit:contain}
.org-toggle{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:none}.org-toggle-icon{position:absolute;inset:0}.org-toggle-icon::before,.org-toggle-icon::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:currentColor;border-radius:1px}.org-toggle-icon::before{width:11px;height:2px}.org-toggle-icon::after{width:2px;height:11px}.org-toggle[aria-expanded=true] .org-toggle-icon::after{display:none}.org-count{top:50%;transform:translateY(-50%);line-height:1}
.org-executives{border-bottom:1px solid #dce2eb;padding:0 0 28px;margin:0 0 28px}.org-executives h2{font-size:14px;font-weight:600;color:#718098;margin:0 16px 18px}.org-executive-tags{display:flex;justify-content:center;gap:5px;margin-top:6px}.org-executive-tags .org-brand-tag{padding:3px;background:#fff;border:1px solid #e4e9f0}.org-executive-tags img{width:24px;height:24px}
.org-nav{margin:0;padding:0}.org-nav summary{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;font:inherit;font-size:12px;color:#7a8597;border-radius:10px;min-height:44px;margin:2px 0}.org-nav summary:hover{background:#edf2f9}.org-nav summary::after{display:none}.org-nav summary::-webkit-details-marker{display:none}.nav-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin-right:5px}.org-nav[open] .nav-chevron{transform:rotate(45deg)}.org-nav .nav-item{padding:9px 14px 9px 29px;margin:1px 0;min-height:36px;font-size:12px}.permission-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:9px;padding:8px 0 16px;max-height:250px;overflow:auto}.permission-checks label{display:flex;gap:8px;align-items:center;margin:0;font-size:13px}.permission-checks input[type=checkbox]{width:16px;height:16px;flex:none}.permission-rule{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:14px;border-bottom:1px solid #edf0f5;padding:10px 0}.permission-rule strong{font-size:13px}.permission-rule label{font-size:11px;margin:0}.permission-rule select{font-size:13px;width:100%}.permission-base{background:#f3f6fa;border-radius:10px;padding:14px;font-size:13px;line-height:1.5}.permission-preview details{border-bottom:1px solid #e5eaf1;padding:10px 0}.permission-preview summary{cursor:pointer;font-size:14px}.permission-preview .row{padding:6px 12px;font-size:13px}.settings-actions{display:flex;gap:8px}[data-scope-options][hidden]{display:none}@media(max-width:650px){.permission-rule{grid-template-columns:1fr 1fr}.permission-rule strong{grid-column:1/-1}.settings-actions{flex-wrap:wrap}}

/* Wider permission matrix with a reachable action bar. */
dialog.compact-dialog.permissions-editor{width:min(760px,calc(100vw - 32px));max-width:760px}
.permissions-editor h3{margin:24px 0 12px}.permissions-editor .permission-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.permissions-editor .actions{position:sticky;bottom:-28px;background:#fff;padding:16px 0;margin-top:20px;z-index:2}
@media(max-width:600px){.permissions-editor .permission-checks{grid-template-columns:1fr}.permissions-editor .actions{bottom:-20px}}

.dashboard-block-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.dashboard-block-tabs .btn{min-height:42px;color:#697483}.dashboard-block-tabs .btn:hover{background:#f0f4fa}.dashboard-block-tabs .btn.active{background:#edf3fc;border-color:#c6d7ef;color:#356bb6}.dashboard-block-select{display:none}
@media(max-width:700px){.dashboard-block-tabs{display:none}.dashboard-block-select{display:block}}

.admin-login{display:block;margin:18px auto 0;color:#778391;font-size:12px}

.meeting-tabs,.meeting-filters,.meeting-detail-meta,.meeting-chips,.meeting-picker-options{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.meeting-filters>input{flex:1;min-width:150px}.meeting-filters label{display:flex;gap:8px;align-items:center}.meeting-list{margin-top:18px;background:#fff;border:1px solid #e7ebf1;border-radius:14px;overflow:hidden}.meeting-row{width:100%;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px;text-align:left;padding:22px;border-bottom:1px solid #edf0f4}.meeting-row:last-child{border-bottom:0}.meeting-row:hover{background:#f3f6fb}.meeting-row strong{display:block;font-weight:550}.meeting-row small{display:block;color:#8590a0;font-size:12px;margin-top:8px}.meeting-setup{margin-bottom:20px}.meeting-picker-options{max-height:180px;overflow:auto}.meeting-chips .tag{cursor:pointer}#form textarea{width:100%;resize:vertical;min-height:130px;margin-top:8px;border:1px solid #dce3ed;border-radius:10px;padding:12px;font:inherit}@media(max-width:700px){.meeting-row{grid-template-columns:1fr;gap:12px}.meeting-filters{display:grid}.meeting-tabs .btn{white-space:normal}.meeting-filters label{display:grid}}
/* Feedback editing */
dialog.meeting-dialog{width:min(960px,calc(100vw - 32px));max-width:960px}.feedback-editor{border:1px solid #dce2eb;border-radius:12px;overflow:hidden;margin:16px 0;background:white}.feedback-toolbar{display:flex;gap:4px;flex-wrap:wrap;padding:10px;background:#f6f8fb;border-bottom:1px solid #e1e6ed}.feedback-toolbar button,.feedback-toolbar select{font:inherit;font-size:12px;min-height:32px;border:1px solid transparent;border-radius:5px;background:white;padding:5px 8px;cursor:pointer;width:auto}.feedback-toolbar button:hover,.feedback-toolbar button[aria-pressed=true]{background:#e4edff;color:#2355a4;border-color:#c3d5f5}.feedback-toolbar label{display:flex;align-items:center;gap:4px;font-size:12px;margin:0}.feedback-toolbar input[type=color]{width:28px;height:28px;padding:2px}.feedback-document{padding:18px;overflow:auto;max-height:48vh}.feedback-document .tiptap{outline:none;min-height:200px;line-height:1.6;color:#253041;white-space:pre-wrap;overflow-wrap:anywhere}.feedback-document p{margin:0 0 10px}.feedback-document h1{font-size:28px}.feedback-document h2{font-size:23px}.feedback-document h3{font-size:19px}.feedback-document ul,.feedback-document ol{padding-left:24px}.feedback-document blockquote{border-left:3px solid #90a9cb;padding-left:14px;margin:16px 0;color:#62718a}.feedback-document pre{background:#f1f3f7;padding:12px;border-radius:6px;white-space:pre-wrap}.feedback-document table{border-collapse:collapse;table-layout:fixed;width:100%;margin:12px 0}.feedback-document td,.feedback-document th{border:1px solid #ccd5e2;padding:8px;min-width:60px;vertical-align:top;position:relative}.feedback-document th{background:#edf1f7}.feedback-document .selectedCell{background:#e3edff}.feedback-document ul[data-type=taskList]{list-style:none;padding:0}.feedback-document li[data-type=taskItem]{display:flex;gap:10px}.feedback-document li[data-type=taskItem]>label{flex:0 0 auto;margin:3px 0}.feedback-document li[data-type=taskItem]>div{flex:1}.feedback-document a{color:#2a65b9;text-decoration:underline}.feedback-document .tiptap[contenteditable=false]{min-height:80px}@media(max-width:600px){.feedback-toolbar{gap:2px}.feedback-toolbar button{padding:5px}.feedback-document{padding:12px}}

.feedback-document hr{height:0;min-height:0;padding:0;margin:18px 0;border:0;border-top:1px solid #bdc8d8;display:block}.feedback-document hr.ProseMirror-selectednode{outline:2px solid #90b8ed;outline-offset:4px}.feedback-toolbar .format-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:32px;padding:6px;font-size:16px;line-height:1;color:#44526a}.format-icon svg{width:19px;height:19px;flex:none}.feedback-toolbar{align-items:center;gap:3px}.feedback-toolbar .format-colour{position:relative;display:inline-flex;justify-content:center;width:32px;height:32px;background:white;border-radius:5px;cursor:pointer}.format-colour span{font-size:17px;font-weight:600;line-height:24px}.feedback-toolbar .format-colour input[type=color]{position:absolute;inset:0;width:32px;height:32px;opacity:0;cursor:pointer}.format-colour:focus-within{outline:2px solid #90b8ed}.feedback-toolbar button:focus-visible{outline:2px solid #90b8ed;outline-offset:1px}

#feedbackFiles .document-row{display:flex;align-items:center;gap:16px;padding:10px 12px;margin:8px 0;border:1px solid #e1e6ed;border-radius:8px;background:#f8fafc}#feedbackFiles [data-file]{min-width:0;flex:1;text-align:left;white-space:normal;overflow-wrap:anywhere}#feedbackFiles [data-remove-feedback-file]{flex:none}

.leave-balances{display:flex;gap:14px;flex-wrap:wrap;margin:20px 0}.leave-balances .panel{flex:1;min-width:170px;margin:0;padding:18px}.leave-balances h2{margin:8px 0}.leave-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.leave-filters input,.leave-filters select{width:auto;max-width:100%}.leave-request-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #e3e8f0;flex-wrap:wrap}.leave-request-row:last-child{border:0}.leave-request-row p{margin:6px 0}.leave-month-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.leave-month-nav h2,.leave-month-nav h3{margin:0}.leave-table-scroll{overflow-x:auto;max-width:100%;margin-bottom:16px}.leave-overview{border-collapse:separate;border-spacing:0;font-size:11px;width:100%;min-width:1250px}.leave-overview th{font-weight:500;color:#7d899b;padding:10px 4px;border-bottom:1px solid #e3e8f0}.leave-overview td{height:48px;min-width:30px;border-bottom:1px solid #e3e8f0;border-right:1px solid #e3e8f0;text-align:center;padding:3px}.leave-overview td:first-child,.leave-overview th:first-child{position:sticky;left:0;background:#fff;z-index:1;min-width:180px;text-align:left;padding:9px}.leave-person{display:flex;align-items:center;gap:8px;text-decoration:none;color:inherit}.leave-person .avatar{width:28px;height:28px;font-size:10px;flex-shrink:0}.leave-weekend{background:#f5f6f9}.leave-day{width:100%;height:32px;border-radius:5px;background:color-mix(in srgb,var(--leave-color) 23%,white);color:#27303c;cursor:pointer}.leave-type-dot{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:8px}.leave-comment{white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0}.leave-profile{margin-top:28px;border-top:1px solid #e3e8f0;padding-top:22px}.leave-profile-calendar{max-width:380px}.leave-month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:12px}.leave-month-grid>span{text-align:center;padding:8px 0}.leave-month-grid button{padding:10px 0;border-radius:7px;background:#f6f7fa;color:#66748a;cursor:default}.leave-month-grid button.has-leave{background:color-mix(in srgb,var(--leave-color) 25%,white);color:#27303c;cursor:pointer}@media(max-width:700px){.leave-filters{align-items:stretch}.leave-filters input,.leave-filters select{width:100%}.leave-request-row{gap:10px}.leave-overview td:first-child,.leave-overview th:first-child{min-width:140px;max-width:160px}}

.date-control{display:flex;position:relative;align-items:center;width:100%}.date-control .date-text{width:100%;padding-right:42px}.date-picker-button{position:absolute;right:6px;background:transparent;color:#66748a;padding:8px;cursor:pointer;font-size:20px}.date-control .date-native{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;padding:0;border:0;bottom:0;right:0}

.team-employee-list{max-height:240px;overflow:auto;border:1px solid #e3e8f0;border-radius:12px;padding:12px;margin-bottom:20px}.team-employee-list label{display:flex;gap:10px;align-items:center;padding:6px;margin:0}.team-employee-list input[type=checkbox]{width:auto}

.leave-rule{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid #e3e8f0}.leave-rule p{overflow-wrap:anywhere}.leave-rule h3{margin-top:0}.team-employee-list [hidden]{display:none}
#ruleDepartment[hidden],#ruleEmployees[hidden]{display:none!important}

.date-control{min-width:0}.date-control .date-text{display:block;min-width:0;min-height:40px;margin:0;border:1px solid #e3e8ef;border-radius:10px;background:#fff;color:#505c6b;padding:10px 42px 10px 12px;font:inherit;line-height:20px}.date-control .date-text::placeholder{color:#929ba7}.date-picker-button{display:grid;place-items:center;top:50%;transform:translateY(-50%);right:5px;width:32px;height:32px;padding:7px;border-radius:7px;font-size:inherit}.date-picker-button:hover{background:#f1f5fa}.meeting-filters{align-items:center}.meeting-filters>input,.meeting-filters>select{height:40px;border:1px solid #e3e8ef;border-radius:10px;background:#fff;padding:10px 12px;font-size:12px;color:#697483}.meeting-date-range{flex-basis:100%;display:grid;grid-template-columns:repeat(2,minmax(0,190px));gap:12px;min-width:0}.meeting-filters .meeting-date-range>label{display:grid;gap:6px;align-items:start;margin:0;font-size:12px;color:#697483;min-width:0}.meeting-date-range .date-text{font-size:12px}.meeting-date-range .date-control{width:100%}@media(max-width:600px){.meeting-date-range{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}
.date-popover{position:absolute;z-index:100;top:calc(100% + 6px);right:0;width:300px;max-width:calc(100vw - 48px);padding:12px;border:1px solid #dce3ed;border-radius:14px;background:#fff;box-shadow:0 10px 32px #26344926;color:#283342}.date-picker-nav{display:flex;align-items:center;gap:5px;margin-bottom:10px}.date-picker-nav select{min-width:0;width:115px;padding:6px;font-size:13px}.date-picker-nav input{width:72px;min-width:0;padding:6px;font-size:13px}.date-popover button{border:0;border-radius:7px;background:transparent;color:inherit;cursor:pointer;padding:6px;font-size:14px}.date-popover button:hover{background:#edf3fc}.date-picker-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.date-picker-grid span{font-size:11px;color:#8793a4;padding:5px 0}.date-picker-grid button{height:32px}.date-picker-grid button.selected{background:#4778bd;color:white}.date-picker-grid button:disabled{opacity:.3;cursor:default}.date-picker-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}.date-picker-footer input{width:120px;padding:5px}
.date-control .date-popover{left:0;right:auto;font-size:13px;line-height:1.4}
.date-popover .date-picker-nav{display:grid;grid-template-columns:26px minmax(0,1fr) 70px 26px;gap:4px}
.date-popover .date-picker-nav select,.date-popover .date-picker-nav input{width:100%;min-width:0;max-width:100%;height:32px;min-height:32px;margin:0;padding:4px 6px;font-size:12px;line-height:20px;border-radius:6px}
.date-popover .date-picker-nav select{padding-right:20px;background-position:right 4px center}
.date-popover .date-picker-nav button{width:26px;height:32px;padding:0}
.date-popover .date-picker-grid button{min-width:0;padding:4px;font-size:13px;line-height:20px}
.date-popover .date-picker-footer input{min-height:32px;height:32px;font-size:13px}
.hr-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.hr-column{background:#f0f3f8;border-radius:14px;padding:18px}.hr-column>h2{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.hr-tile{display:block;background:white;border:1px solid #e3e8ef;border-radius:12px;padding:20px;margin-top:12px}.hr-tile:hover{border-color:#a5bfe3}.hr-tile>p{font-size:12px;color:#7c8797;line-height:1.6}.hr-tile>.sub:last-child{margin-top:12px}.hr-checklist{margin-top:18px}.hr-task{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #edf0f4}.hr-task label{display:flex;align-items:center;gap:12px;font-size:14px}.hr-task input{accent-color:#4778bd;width:18px;height:18px}.hr-missing{margin-top:20px;font-size:12px;color:#7a6570;line-height:1.8}.hr-missing ul{columns:2;padding-left:18px}.hr-actions{display:flex;justify-content:flex-end;margin-top:24px}.hr-meeting{margin-top:20px}.hr-empty{padding:20px 0}@media(max-width:700px){.hr-board{grid-template-columns:1fr}.hr-missing ul{columns:1}.hr-task{align-items:flex-start;flex-wrap:wrap}}
.hr-actions .btn:disabled{opacity:.45;cursor:not-allowed}

.hr-profile-summary{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:20px}.hr-profile-summary .btn,.hr-task a.btn{display:inline-flex;align-items:center;flex-shrink:0}.hr-profile-summary .sub{margin:0}

/* Trees occupy the available screen; only the diagram scrolls. */
#root.organisation-page{height:100dvh;overflow:hidden}
.organisation-page .shell{height:100%;display:flex;flex-direction:column;min-width:0;overflow:hidden}
.organisation-page header{flex-shrink:0}
.organisation-page main{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:none;margin:0;overflow:hidden}
.organisation-page .heading,.organisation-page .org-toolbar{flex-shrink:0}
.organisation-page .org-viewport{flex:1;min-height:0;max-height:none;min-width:0}
.organisation-page #sidebar{overflow:hidden}
.organisation-page #sidebar>.brand,.organisation-page .sidebar-bottom{flex-shrink:0}
.organisation-page #sidebar>nav{min-height:0;overflow-y:auto}

.sidebar-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:16px}
.shell>main{padding-top:24px}
.organisation-page .heading{margin-bottom:16px}
.organisation-page .org-toolbar{margin:0 0 16px}
@media(max-width:700px){.shell>#menu{flex-shrink:0;align-self:flex-start;width:44px;height:44px;margin:8px 20px 0;border:1px solid #e3e8ef;border-radius:10px;background:#fff}.shell>main{padding-top:16px}}

.account-avatar{position:relative;display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;overflow:hidden;background:#edf2f8;color:#78869a}.account-avatar:hover{background:#e0eafa;color:#4676bd}.account-avatar svg{width:20px;height:20px}.account-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

.unread-dot{display:inline-block;width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#e5484d;margin-left:7px;vertical-align:middle}.unread-dot[hidden]{display:none}.nav-item{position:relative}.nav-unread{position:absolute;right:9px;bottom:9px;margin:0}.feedback-discussion{margin-top:24px;border-top:1px solid #e5eaf1;padding-top:20px}.discussion-messages{max-height:320px;overflow:auto;overscroll-behavior:contain;margin:14px 0}.discussion-message{padding:12px 14px;margin-bottom:10px;background:#f3f5f8;border-radius:10px}.discussion-message.own{background:#edf3fc}.discussion-message>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.discussion-message time{color:#8993a2;font-size:11px}.discussion-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;line-height:1.5}.feedback-discussion label{margin-top:12px}

/* Feedback and its discussion share a two-column workspace on desktop. */
dialog.meeting-dialog:has(.has-discussion){width:min(1280px,calc(100vw - 32px));max-width:1280px}
.feedback-layout{min-width:0}.feedback-layout.has-discussion{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:24px;align-items:start}.feedback-main{min-width:0}
.feedback-layout>.feedback-discussion{margin:0;padding:0 0 0 24px;border-top:0;border-left:1px solid #e5eaf1;min-width:0;position:sticky;top:0;display:flex;flex-direction:column;max-height:calc(100dvh - 140px)}
.feedback-discussion h3{margin:0 0 4px}.feedback-layout .discussion-messages{flex:1;min-height:100px;max-height:42vh}.feedback-discussion .discussion-input{min-height:90px;height:90px}.feedback-discussion [data-send-comment]{align-self:flex-end;margin-top:8px}.discussion-message>div{flex-wrap:wrap;gap:4px 10px}
@media(max-width:850px){.feedback-layout.has-discussion{grid-template-columns:1fr}.feedback-layout>.feedback-discussion{position:static;border-left:0;border-top:1px solid #e5eaf1;padding:20px 0 0;max-height:none}.feedback-layout .discussion-messages{max-height:320px}}
.chat-header{display:flex;align-items:center;gap:8px;padding-bottom:14px}.chat-header h3{font-size:16px;margin:0}.chat-count{font-size:11px;color:#718096;background:#eef1f6;padding:2px 7px;border-radius:10px}
.feedback-layout .discussion-messages{min-height:200px;margin:0 0 16px;scrollbar-width:thin}.discussion-message{padding:12px;margin:0 0 12px;border:1px solid #e9edf3;background:#fff;border-radius:12px}.discussion-message.own{background:#f4f7fe;border-color:#e3ebfa}.discussion-message .chat-message-meta{display:flex;align-items:center;justify-content:flex-start;gap:7px;font-size:12px}.chat-message-meta time{margin-left:auto;font-size:10px}.chat-avatar{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#e8edf6;color:#617697;font-size:10px;font-weight:600}.discussion-message.own .chat-avatar{background:#dce8fc;color:#436dab}.discussion-message p{font-size:13px;margin:9px 0;line-height:1.5}
.discussion-message .chat-reactions{display:flex;align-items:center;justify-content:flex-start;gap:5px;flex-wrap:wrap}.chat-reaction{display:inline-flex;align-items:center;gap:5px;border:1px solid #e1e7f0;background:white;border-radius:14px;padding:3px 7px;cursor:pointer;font-size:14px;line-height:18px}.chat-reaction span{font-size:11px;color:#62718a}.chat-reaction.selected{border-color:#85a9e4;background:#e8f0ff}.chat-icon{display:inline-flex;align-items:center;justify-content:center;gap:1px;border:0;background:transparent;color:#7d8ba1;border-radius:7px;padding:4px;min-width:28px;height:28px;cursor:pointer;font-size:22px;line-height:1}.chat-icon:hover{background:#edf2fa;color:#436dab}.chat-add-reaction{font-size:19px}.chat-add-reaction span{font-size:11px}.chat-emoji-panel,.discussion-message .chat-reaction-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;padding:8px 0}.chat-emoji-panel[hidden],.chat-reaction-picker[hidden]{display:none}.chat-emoji{border:0;background:transparent;border-radius:6px;padding:5px 0;font-size:20px;cursor:pointer;line-height:1.2}.chat-emoji:hover{background:#e6edfa}
.chat-composer{border:1px solid #dce3ed;border-radius:12px;padding:10px;background:white;flex-shrink:0}.chat-composer:focus-within{border-color:#8eafe0;box-shadow:0 0 0 2px #eaf0fa}#form .chat-composer .discussion-input{border:0!important;box-shadow:none!important;outline:none;padding:2px;min-height:64px;height:64px;margin:0;font-size:13px;resize:vertical;max-height:160px}.chat-compose-actions{display:flex;align-items:center;gap:8px;padding-top:6px}.chat-compose-actions small{font-size:10px;color:#9aa4b3;flex:1}.feedback-discussion .chat-send{margin:0;background:#4879c0;color:white;border:0;border-radius:8px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer}.chat-send:disabled{opacity:.4;cursor:default}.chat-empty{text-align:center;padding:35px 10px;color:#8995a7}.chat-empty>span{font-size:24px}.chat-empty p{margin:10px 0 4px;font-size:13px}.chat-empty small{font-size:12px}
.meeting-dialog>.meeting-close{position:absolute;right:16px;top:16px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;color:#7b8798;background:#f4f6f9;z-index:2}.meeting-close:hover{background:#e8edf5;color:#34445d}.meeting-dialog>h2{padding-right:40px}
.portal-emoji-picker{position:fixed;inset:auto;margin:0;padding:0;border:1px solid #e1e7ef;border-radius:12px;background:white;box-shadow:0 12px 40px #24344b30;overflow:auto;overscroll-behavior:contain}.portal-emoji-picker em-emoji-picker{width:100%;--rgb-accent:72,121,192;--border-radius:12px;height:410px;max-height:calc(100dvh - 32px)}
.view-as-banner{position:fixed;inset:0 0 auto;z-index:50;min-height:48px;padding:10px 20px;background:#fff3d6;border-bottom:1px solid #e7d49d;display:flex;align-items:center;gap:12px;font-size:12px;color:#68511d}.view-as-banner>span{flex:1}.view-as-banner button{border:1px solid #d7c28c;border-radius:7px;padding:5px 10px;white-space:nowrap}.view-as-mode{padding-top:48px}.view-as-mode #sidebar{top:48px;height:calc(100dvh - 48px)}.view-as-mode.organisation-page{height:100dvh}.view-as-search{margin:16px 0}.view-as-person{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;padding:12px;border-bottom:1px solid #edf0f5}.view-as-person:hover{background:#f0f5fc}.view-as-person small{color:#8692a3}#viewAsResults{max-height:45vh;overflow:auto}.account-options{display:grid;gap:12px;margin-top:20px}@media(max-width:700px){.view-as-banner{gap:6px;padding:8px;font-size:10px}.view-as-banner button{padding:5px}.view-as-mode #menu{top:58px}}

.employee-select-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:44px;padding:10px 14px;background:#fff;border:1px solid #dce3ef;border-radius:12px;font:inherit;color:inherit;text-align:left;cursor:pointer}
.employee-select-button::after{content:'';width:16px;height:16px;flex-shrink:0;background:center/16px no-repeat 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")}
.employee-select-button:focus-visible{outline:2px solid #497cc4;outline-offset:2px}
.employee-select-panel{position:fixed;inset:auto;margin:0;padding:8px;background:#fff;border:1px solid #dce3ef;border-radius:12px;box-shadow:0 12px 30px #24304425;overflow:hidden;box-sizing:border-box;color:#28313e}
.employee-select-panel:popover-open{display:flex;flex-direction:column;gap:6px}
.employee-select-panel input{width:100%;min-width:0;flex-shrink:0;box-sizing:border-box}
.employee-select-options{overflow-y:auto;min-height:0;overscroll-behavior:contain}
.employee-select-options [role=option]{padding:10px 12px;border-radius:7px;cursor:pointer;overflow-wrap:anywhere}
.employee-select-options [role=option]:hover,.employee-select-options .active{background:#edf3fc}
.employee-select-options [aria-selected=true]{color:#346ab5;font-weight:600}
.meeting-filters>.employee-select-button{flex:0 1 190px;width:190px;max-width:100%;min-width:0;height:40px;min-height:40px;padding:10px 12px;border:1px solid #e3e8ef;border-radius:10px;font-size:12px;font-weight:400;line-height:normal;color:#697483}
@media(max-width:700px){.meeting-filters>.employee-select-button{width:100%;flex-basis:100%}}
select[data-employee-select][hidden]{display:none!important}

#sidebarToggle{display:none}
@media(min-width:701px){
 #sidebarToggle{display:grid;place-items:center;position:fixed;z-index:35;top:20px;left:210px;width:28px;height:28px;padding:0;border:1px solid #e3e8ef;border-radius:50%;background:#fff;color:#7c8796;line-height:0;box-shadow:none}
 #sidebarToggle:hover{background:#edf3fc;color:#4676bd}
 .sidebar-collapsed #sidebar{display:none}
 .sidebar-collapsed .shell{margin-left:44px}
 .sidebar-collapsed #sidebarToggle{left:8px}
 .view-as-mode #sidebarToggle{top:68px}
}
#assigneeSearch{margin:16px 0}#assigneeList{max-height:50vh;overflow:auto}.permissions-editor .row{flex-wrap:wrap}

#sidebarToggle svg{display:block;pointer-events:none}

#sidebar .portal-brand{height:64px;min-height:64px;justify-content:center;padding:0;flex-shrink:0}
.portal-logo{display:block;max-width:100%;width:188px;height:64px;object-fit:contain;object-position:center}
.portal-logo-soft-buying{width:50px;height:64px}
