/* Global theme tokens: changed by the top-bar colour selector. */
:root{--theme-primary:#2874f0;--theme-primary-strong:#0e53bd;--theme-nav-start:#061c38;--theme-nav-end:#0a2447;--theme-sidebar-start:#061d39;--theme-sidebar-end:#04192f;--theme-page:#f5fbff;--theme-content:#f6fbff;--theme-nav-text:#fff;--theme-nav-muted:#dbeafe}
body[data-theme="orange"]{--theme-primary:#ef7d22;--theme-primary-strong:#b84d0d;--theme-nav-start:#52200a;--theme-nav-end:#7a310c;--theme-sidebar-start:#48200d;--theme-sidebar-end:#271207;--theme-page:#fff8f1;--theme-content:#fffaf5;--theme-nav-muted:#ffe3cc}
body[data-theme="dark"]{--theme-primary:#697386;--theme-primary-strong:#3e4655;--theme-nav-start:#10131a;--theme-nav-end:#202632;--theme-sidebar-start:#171b24;--theme-sidebar-end:#0d1016;--theme-page:#e9edf3;--theme-content:#f1f3f6;--theme-nav-muted:#cbd2dd}
body[data-theme="white"]{--theme-primary:#45617f;--theme-primary-strong:#29445f;--theme-nav-start:#fff;--theme-nav-end:#f5f7fa;--theme-sidebar-start:#f8fafc;--theme-sidebar-end:#e9eef4;--theme-page:#fff;--theme-content:#f7f9fb;--theme-nav-text:#172b4d;--theme-nav-muted:#5d728b}
body[data-theme="green"]{--theme-primary:#16885b;--theme-primary-strong:#0d6844;--theme-nav-start:#073b2b;--theme-nav-end:#0b573d;--theme-sidebar-start:#07382a;--theme-sidebar-end:#03251b;--theme-page:#f3fbf7;--theme-content:#f6fcf9;--theme-nav-muted:#ccebdd}
body[data-theme="yellow"]{--theme-primary:#d39b08;--theme-primary-strong:#916800;--theme-nav-start:#5b4100;--theme-nav-end:#80600a;--theme-sidebar-start:#503b05;--theme-sidebar-end:#2c2104;--theme-page:#fffbeb;--theme-content:#fffdf4;--theme-nav-muted:#ffedaf}
*{box-sizing:border-box}
html{min-width:320px}
body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--theme-page);color:#07275c}
a{color:inherit;text-decoration:none}
svg{display:block;width:1em;height:1em;fill:currentColor}
.navbar{position:sticky;top:0;z-index:20;height:70px;display:grid;grid-template-columns:310px 48px minmax(260px,680px) 1fr auto;align-items:center;gap:18px;padding:0 22px;background:linear-gradient(90deg,var(--theme-nav-start),var(--theme-nav-end));color:var(--theme-nav-text);box-shadow:0 12px 30px rgba(8,38,76,.18)}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand-mark{position:relative;width:54px;height:42px;display:block}
.brand-mark span{position:absolute;background:var(--theme-primary);border:2px solid rgba(255,255,255,.18)}
.brand-mark span:nth-child(1){left:16px;top:0;width:18px;height:18px;border-radius:50%}
.brand-mark span:nth-child(2){left:0;top:8px;width:18px;height:18px;border-radius:50%}
.brand-mark span:nth-child(3){right:0;top:8px;width:18px;height:18px;border-radius:50%}
.brand-mark span:nth-child(4){left:4px;right:4px;bottom:0;height:22px;border-radius:18px 18px 6px 6px}
.brand-copy{display:flex;align-items:center;gap:16px;min-width:0}
.brand-copy strong{font-size:31px;line-height:1;font-weight:800}
.brand-copy small{font-size:13px;line-height:1.25;color:var(--theme-nav-muted)}
.nav-icon-button,.tool-button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:8px;background:rgba(255,255,255,.12);color:var(--theme-nav-muted);cursor:pointer}
.nav-icon-button span{width:18px;height:2px;margin:2px 0;border-radius:2px;background:#dbeafe}
.top-search{height:44px;display:flex;align-items:center;gap:9px;padding:0 15px;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:#f8fbff;color:#86a0c3;box-shadow:0 8px 18px rgba(4,22,50,.15)}
.top-search input{width:100%;border:0;outline:0;background:transparent;color:#16356a;font-size:14px}
.top-search span{font-size:18px}
.nav-tools{display:flex;justify-content:flex-end;gap:10px}
.tool-button{position:relative;width:34px;height:34px;background:transparent;font-size:20px}
.tool-button:hover{background:rgba(255,255,255,.1)}
.tool-button.active{background:var(--theme-primary);color:#fff}
.has-badge span{position:absolute;top:-4px;right:-3px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#f64f64;color:#fff;font-size:11px;line-height:18px;font-weight:800}
.user-menu{display:flex;align-items:center;gap:10px;min-width:188px;padding:0;border:0;background:transparent;color:var(--theme-nav-text);text-align:left}
.avatar{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#ffbe78,#1d6eed);color:#fff;font-size:12px;font-weight:800;border:2px solid rgba(255,255,255,.75)}
.avatar:after{content:"";position:absolute;right:-1px;bottom:1px;width:11px;height:11px;border:2px solid #0a2447;border-radius:50%;background:#0ac982}
.user-copy{display:grid;gap:2px;min-width:0}
.user-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-copy small{font-size:11px;color:var(--theme-nav-muted)}
.chevron{font-size:11px;color:var(--theme-nav-muted)}
.layout{display:flex;min-height:calc(100vh - 70px);background:var(--theme-content)}
.sidebar{position:sticky;top:70px;align-self:flex-start;width:310px;height:calc(100vh - 70px);display:flex;flex-direction:column;gap:18px;padding:16px;background:linear-gradient(180deg,var(--theme-sidebar-start),var(--theme-sidebar-end));color:#e7f0ff;overflow:auto}
.sidebar-nav{display:grid;gap:4px}
.sidebar-nav a{display:flex;align-items:center;gap:14px;min-height:44px;padding:0 14px;border-radius:6px;color:#dbeafe;font-size:14px;font-weight:600}
.sidebar-nav a svg{width:20px;height:20px;color:#bdd3ed;flex:0 0 auto}
.sidebar-nav a:hover,.sidebar-nav a.active{background:var(--theme-primary);color:#fff;box-shadow:0 8px 22px rgba(43,130,255,.3)}
.sidebar-nav a:hover svg,.sidebar-nav a.active svg{color:#fff}
.sidebar-version{margin-top:auto;display:flex;align-items:center;gap:12px;padding:14px;border:1px solid rgba(74,157,255,.28);border-radius:8px;background:rgba(26,95,168,.18)}
.sidebar-version .shield{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#2b82ff;color:#001b40;font-size:28px}
.sidebar-version strong{display:block;font-size:13px;color:#fff}
.sidebar-version b{color:#ff8e45}
.sidebar-version small{display:flex;align-items:center;gap:8px;margin-top:6px;color:#a9bfdb;font-size:11px}
.sidebar-version small span{width:4px;height:4px;border-radius:50%;background:#a9bfdb}
.content{flex:1;min-width:0;padding:22px 18px 24px}
.footer{display:none}
.button,button{background:var(--theme-primary);color:#fff;border:0;padding:10px 15px;border-radius:6px;text-decoration:none;cursor:pointer;font-weight:700}

/* Top-bar dropdowns: notifications, themes, and the admin profile menu. */
.nav-popover-wrap{position:relative;display:flex;align-items:center}
.nav-popover{position:absolute;z-index:80;top:calc(100% + 14px);right:0;width:340px;border:1px solid #d8e3ef;border-radius:8px;background:#fff;color:#172b4d;box-shadow:0 20px 50px rgba(4,22,50,.25);overflow:hidden}
.nav-popover[hidden]{display:none}.popover-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e6edf6}.popover-heading strong{font-size:14px}.popover-heading small{color:#60789d;font-size:11px}
.notification-preview-list{max-height:340px;overflow:auto}.notification-preview{display:grid;grid-template-columns:8px 1fr;gap:10px;padding:12px 16px;border-bottom:1px solid #edf2f7}.notification-preview:hover{background:#f7fbff}.notification-preview>i{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#c5d0dd}.notification-preview.unread>i{background:var(--theme-primary)}.notification-preview span,.notification-preview strong,.notification-preview small,.notification-preview time{display:block;min-width:0}.notification-preview strong{font-size:12px}.notification-preview small{margin-top:4px;color:#60789d;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-preview time{margin-top:6px;color:#8a9bb0;font-size:10px}.popover-empty{margin:0;padding:24px 16px;color:#60789d;font-size:12px;text-align:center}.popover-footer{display:block;padding:12px 16px;color:var(--theme-primary-strong);font-size:12px;font-weight:800;text-align:center;background:#f7fbff}
.theme-menu{width:270px}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}.theme-option{display:flex;align-items:center;gap:9px;min-height:40px;padding:7px 9px;border:1px solid #dde6f0;background:#fff;color:#29445f;font-size:12px;text-align:left}.theme-option i{width:18px;height:18px;border:1px solid rgba(0,0,0,.16);border-radius:50%;flex:0 0 auto}.theme-option.active{border-color:var(--theme-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-primary) 16%,transparent)}
.profile-menu-wrap{justify-self:end}.profile-menu{width:250px}.profile-summary{display:flex;align-items:center;gap:11px;padding:15px;border-bottom:1px solid #e6edf6}.profile-summary .avatar{width:38px;height:38px}.profile-summary strong,.profile-summary small{display:block}.profile-summary strong{font-size:13px}.profile-summary small{margin-top:3px;color:#60789d;font-size:11px}.profile-menu>a{display:block;padding:11px 15px;color:#29445f;font-size:12px;font-weight:700}.profile-menu>a:hover{background:#f3f7fb}.profile-menu .logout-link{border-top:1px solid #e6edf6;color:#b3263d}
body[data-theme="white"] .navbar{border-bottom:1px solid #d8e0e9}body[data-theme="white"] .nav-icon-button span{background:#45617f}body[data-theme="white"] .tool-button:hover{background:#e9eef4}body[data-theme="white"] .sidebar-nav a{color:#29445f}body[data-theme="white"] .sidebar-nav a svg{color:#5d728b}body[data-theme="white"] .sidebar-version{color:#29445f;background:#fff}

/* Full notifications page section. */
.notifications-page{max-width:1100px;margin:0 auto}.notification-page-list{display:grid;gap:10px}.notification-page-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;border:1px solid #dbe6f2;border-radius:8px;background:#fff;box-shadow:0 10px 24px rgba(17,77,137,.05)}.notification-page-item.unread{border-left:4px solid var(--theme-primary);background:#fbfdff}.notification-page-item>i{width:9px;height:9px;border-radius:50%;background:#c4cfdb}.notification-page-item.unread>i{background:var(--theme-primary)}.notification-page-item span{color:var(--theme-primary-strong);font-size:10px;font-weight:900;text-transform:uppercase}.notification-page-item h2{margin:5px 0;color:#082c68;font-size:15px}.notification-page-item p{margin:0;color:#4d6795;font-size:12px;line-height:1.45}.notification-page-item time{display:block;margin-top:7px;color:#8a9bb0;font-size:10px}.notification-page-item>small{color:#16885b;font-size:11px;font-weight:800}
.content>h1{margin:0 0 16px;color:#082c68;font-size:28px}
.cards{display:flex;gap:18px;flex-wrap:wrap}
.card{min-width:190px;padding:22px;border:1px solid #cfe2fa;border-radius:8px;background:#fff;box-shadow:0 14px 34px rgba(17,77,137,.08)}
.card b{display:block;margin-top:8px;font-size:28px}
table{width:100%;border-collapse:collapse;background:#fff}
th,td{padding:12px;border-bottom:1px solid #e6edf6;text-align:left;font-size:13px}
th{color:#4d6795;background:#f8fbff;font-weight:800}
.dashboard-shell{max-width:1580px;margin:0 auto}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.dashboard-heading .eyebrow{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}
.dashboard-heading h1{position:relative;margin:0 0 8px;padding-left:58px;font-size:29px;line-height:1.1;color:#082c68}
.dashboard-heading h1:before{content:"";position:absolute;left:0;top:-5px;width:42px;height:42px;border-radius:50%;background:conic-gradient(#2874f0 0 25%,#88b7ff 25% 42%,#2874f0 42% 60%,#0e53bd 60% 100%)}
.dashboard-heading span{display:block;margin-left:58px;color:#38609b;font-size:14px}
.date-card{display:flex;align-items:center;gap:14px;min-width:256px;padding:14px 18px;border:1px solid #cfe2fa;border-radius:8px;background:rgba(255,255,255,.82);box-shadow:0 12px 30px rgba(17,77,137,.05)}
.date-card svg{width:26px;height:26px;color:#082c68}
.date-card strong{display:block;font-size:14px}
.date-card small{display:block;margin-top:5px;color:#315a91;font-size:13px}
.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin-bottom:20px}
.metric-card{display:flex;gap:18px;min-height:132px;padding:18px 16px;border:1px solid #cfe2fa;border-radius:8px;background:#fff;box-shadow:0 14px 34px rgba(17,77,137,.07);overflow:hidden}
.metric-card.metric-green{background:linear-gradient(135deg,#fff,#f3fff8)}
.metric-card.metric-red{background:linear-gradient(135deg,#fff,#fff3f4);border-color:#ffd6dc}
.metric-card.metric-yellow{background:linear-gradient(135deg,#fff,#fff9e8);border-color:#ffe7b8}
.metric-card.metric-purple{background:linear-gradient(135deg,#fff,#faf5ff);border-color:#e5d5ff}
.metric-card.metric-cyan{background:linear-gradient(135deg,#fff,#f0fdff);border-color:#bdeef6}
.metric-icon{display:grid;place-items:center;width:58px;height:58px;flex:0 0 auto;border-radius:16px;color:#fff;background:linear-gradient(135deg,#4b94ff,#236bea);font-size:31px}
.metric-green .metric-icon{background:linear-gradient(135deg,#68dca9,#22a96d)}
.metric-red .metric-icon{background:linear-gradient(135deg,#ff7b8b,#ef354e)}
.metric-yellow .metric-icon{background:linear-gradient(135deg,#ffc550,#ffa112)}
.metric-purple .metric-icon{background:linear-gradient(135deg,#9f70ff,#7044d8)}
.metric-cyan .metric-icon{background:linear-gradient(135deg,#25c7d0,#009c9a)}
.metric-card small{display:block;color:#082c68;font-weight:800;font-size:13px}
.metric-card strong{display:block;margin:8px 0 12px;font-size:27px;line-height:1;color:#082c68}
.metric-card em{display:block;margin-bottom:8px;font-style:normal;font-size:13px;font-weight:800}
.up{color:#009b63}.down{color:#ed3651}
.metric-card>div>span{color:#4d6795;font-size:12px}
.dashboard-grid{display:grid;grid-template-columns:1.55fr 1.35fr 1.08fr;gap:16px}
.panel{min-width:0;padding:16px;border:1px solid #cfe2fa;border-radius:8px;background:rgba(255,255,255,.92);box-shadow:0 16px 38px rgba(17,77,137,.08)}
.panel-wide{grid-column:span 1}
.panel-mid{grid-column:span 1}
.activity-panel{grid-column:3;grid-row:2 / span 3}
.table-panel{grid-column:span 2}
.holidays-panel{grid-column:span 1}
.panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.panel-header h2{display:flex;align-items:center;gap:10px;margin:0;color:#082c68;font-size:17px;line-height:1.2}
.panel-header a{color:#2874f0;font-size:12px;font-weight:800}
.panel-header select{height:34px;min-width:128px;padding:0 12px;border:1px solid #c5daf6;border-radius:7px;background:#fff;color:#082c68;font-size:12px}
.panel-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#fff;font-size:20px}
.panel-icon.blue{background:#2874f0}.panel-icon.green{background:#22bd7b}.panel-icon.purple{background:#6c59dc}.panel-icon.bolt{background:transparent;color:#2874f0;font-size:28px}
.legend{display:flex;align-items:center;gap:22px;margin-bottom:10px;color:#315a91;font-size:12px}
.legend span{display:flex;align-items:center;gap:7px}
.legend i{display:inline-block;width:10px;height:10px;border-radius:50%}
.legend.compact{gap:14px;margin:0}
.line-chart{width:100%;height:190px}
.line-chart line{stroke:#dfe8f5;stroke-width:1}
.line-chart text{fill:#315a91;font-size:10px;text-anchor:middle}
.line-chart polyline{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.line-present{stroke:#22bd7b}.line-absent{stroke:#f64f64}.line-late{stroke:#ffb52e}.line-leave{stroke:#2874f0}
.donut-layout{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:18px}
.donut{position:relative;width:160px;aspect-ratio:1;border-radius:50%;background:conic-gradient(var(--donut));box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)}
.donut:after{content:"";position:absolute;inset:44px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(8,44,104,.04)}
.donut span{position:absolute;inset:0;z-index:1;display:grid;place-items:center;align-content:center;text-align:center;color:#082c68}
.donut strong{font-size:25px}.donut small{color:#315a91;font-size:12px}
.donut.small{width:138px}.donut.small:after{inset:38px}.compact-donut{grid-template-columns:146px 1fr}
.donut-list{display:grid;gap:11px}
.donut-list div{display:grid;grid-template-columns:1fr 42px 48px;align-items:center;gap:10px;color:#315a91;font-size:12px}
.donut-list span{display:flex;align-items:center;gap:9px;min-width:0;color:#082c68}
.donut-list i{width:12px;height:12px;border-radius:50%;flex:0 0 auto}
.donut-list b{color:#082c68;text-align:right}
.donut-list small{text-align:right;color:#315a91}
.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.quick{display:flex;align-items:center;justify-content:center;gap:10px;min-height:74px;padding:12px;border-radius:8px;color:#fff;font-size:13px;font-weight:800;text-align:center;box-shadow:0 12px 20px rgba(17,77,137,.12)}
.quick svg{width:31px;height:31px;flex:0 0 auto}
.quick.blue{background:linear-gradient(135deg,#3d8dff,#1669e8)}.quick.green{background:linear-gradient(135deg,#2fd198,#16a96d)}.quick.orange{background:linear-gradient(135deg,#ffb65d,#ff8a3b)}.quick.purple{background:linear-gradient(135deg,#a875f2,#8052d9)}.quick.cyan{background:linear-gradient(135deg,#27cbd3,#049da6)}.quick.pink{background:linear-gradient(135deg,#ff73a4,#ef4775)}
.payroll-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.payroll-grid div{min-height:86px;padding:14px;border:1px solid #d7e6f7;border-radius:8px;background:linear-gradient(135deg,#fbfdff,#f5faff)}
.payroll-grid small{display:block;color:#315a91;font-size:12px}.payroll-grid strong{display:block;margin:8px 0 7px;color:#082c68;font-size:21px}.payroll-grid span{font-size:12px;font-weight:800}
.bar-chart{height:178px;display:grid;grid-template-columns:repeat(9,1fr);align-items:end;gap:10px;padding:10px 6px 0;border-left:1px solid #dfe8f5;border-bottom:1px solid #dfe8f5}
.bar-group{height:144px;display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:4px;position:relative}
.bar{display:block;min-height:6px;border-radius:4px 4px 0 0}
.bar.male{background:#2874f0}.bar.female{background:#ff5c91}
.bar-group small{position:absolute;left:50%;bottom:-23px;transform:translateX(-50%);color:#315a91;font-size:10px}
.responsive-table{overflow:auto}
.dashboard-table{margin-top:0;min-width:680px}
.dashboard-table th,.dashboard-table td{padding:10px 12px;font-size:12px}
.mini-avatar{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:8px;border-radius:50%;background:#dbeafe;color:#0a4db1;font-size:9px;font-weight:900;vertical-align:middle}
.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:58px;padding:5px 10px;border-radius:999px;background:#d9f8e9;color:#058152;font-size:10px;font-weight:900}
.empty-cell,.empty-state{padding:20px;color:#60789d;text-align:center;font-size:13px}
.holiday-list,.activity-list{display:grid}
.holiday-list article{display:grid;grid-template-columns:70px 28px 1fr auto;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #e6edf6}
.holiday-list article:last-child,.activity-list article:last-child{border-bottom:0}
.holiday-list time strong{display:block;color:#2874f0;font-size:13px}.holiday-list time small{display:block;margin-top:3px;color:#315a91;font-size:11px}
.flag{width:18px;height:22px;background:linear-gradient(135deg,#e5002a 0 44%,#fff 44% 58%,#e5002a 58%);clip-path:polygon(0 0,100% 50%,0 100%)}
.holiday-list div strong{display:block;color:#082c68;font-size:12px}.holiday-list div small{display:block;margin-top:3px;color:#60789d;font-size:10px}
.holiday-list em{padding:7px 12px;border-radius:999px;background:#d9f8e9;color:#058152;font-style:normal;font-size:10px;font-weight:900}
.activity-list article{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #e6edf6}
.activity-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#d9f8e9;color:#0da66d;font-size:22px}
.activity-icon.leave{background:#dcfff2;color:#0da66d}.activity-icon.payroll{background:#ffe0eb;color:#e23e6e}.activity-icon.notice{background:#e7e0ff;color:#684fd5}
.activity-list strong{display:block;color:#082c68;font-size:12px}.activity-list small{display:block;margin-top:4px;color:#315a91;font-size:11px;line-height:1.25}.activity-list time{color:#60789d;font-size:11px;white-space:nowrap}
.search-hidden{display:none!important}
.employee-page{max-width:1580px;margin:0 auto}
.employee-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;padding:20px;border:1px solid #cfe2fa;border-radius:8px;background:linear-gradient(135deg,#fff 0%,#f2f9ff 54%,#eefdf8 100%);box-shadow:0 16px 38px rgba(17,77,137,.08)}
.employee-hero p{margin:0 0 6px;color:#2874f0;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.employee-hero h1{margin:0;color:#082c68;font-size:30px;line-height:1.1}
.employee-hero span{display:block;max-width:680px;margin-top:8px;color:#38609b;font-size:14px;line-height:1.45}
.employee-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.soft-button{background:#eef6ff;color:#0e53bd;border:1px solid #c5daf6}
.employee-overview-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:16px}
.employee-overview-card{position:relative;min-height:126px;padding:16px;border:1px solid #cfe2fa;border-radius:8px;background:#fff;box-shadow:0 14px 34px rgba(17,77,137,.07);overflow:hidden}
.employee-overview-card:after{content:"";position:absolute;right:-34px;top:-42px;width:96px;height:96px;border-radius:50%;background:rgba(40,116,240,.1)}
.employee-overview-card.green:after{background:rgba(34,189,123,.13)}
.employee-overview-card.yellow:after{background:rgba(255,181,46,.17)}
.employee-overview-card.cyan:after{background:rgba(0,156,154,.13)}
.employee-overview-card.purple:after{background:rgba(140,92,230,.13)}
.employee-overview-card.red:after{background:rgba(246,79,100,.13)}
.overview-dot{display:block;width:12px;height:12px;margin-bottom:16px;border-radius:50%;background:#2874f0;box-shadow:0 0 0 6px rgba(40,116,240,.1)}
.employee-overview-card.green .overview-dot{background:#22bd7b;box-shadow:0 0 0 6px rgba(34,189,123,.12)}
.employee-overview-card.yellow .overview-dot{background:#ffb52e;box-shadow:0 0 0 6px rgba(255,181,46,.16)}
.employee-overview-card.cyan .overview-dot{background:#009c9a;box-shadow:0 0 0 6px rgba(0,156,154,.12)}
.employee-overview-card.purple .overview-dot{background:#8c5ce6;box-shadow:0 0 0 6px rgba(140,92,230,.12)}
.employee-overview-card.red .overview-dot{background:#f64f64;box-shadow:0 0 0 6px rgba(246,79,100,.12)}
.employee-overview-card small{display:block;color:#315a91;font-size:12px;font-weight:900}
.employee-overview-card strong{display:block;margin:8px 0;color:#082c68;font-size:30px;line-height:1}
.employee-overview-card em{display:block;color:#60789d;font-size:12px;font-style:normal}
.employee-management-grid{display:grid;grid-template-columns:1.2fr 1fr .9fr;gap:16px;margin-bottom:16px}
.employee-panel{min-width:0;padding:16px;border:1px solid #cfe2fa;border-radius:8px;background:rgba(255,255,255,.94);box-shadow:0 16px 38px rgba(17,77,137,.08)}
.employee-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.employee-panel-header h2{margin:0;color:#082c68;font-size:17px;line-height:1.2}
.employee-panel-header span,.employee-panel-header a{color:#2874f0;font-size:12px;font-weight:900}
.status-breakdown{display:grid;gap:13px}
.status-breakdown article{display:grid;grid-template-columns:1fr auto;gap:8px 14px}
.status-breakdown strong,.department-mix strong{display:block;color:#082c68;font-size:13px}
.status-breakdown small,.department-mix small{display:block;margin-top:4px;color:#60789d;font-size:11px}
.status-breakdown span{color:#082c68;font-size:13px;font-weight:900}
.status-bar{grid-column:1 / -1;height:8px;border-radius:999px;background:#edf4fc;overflow:hidden}
.status-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2874f0,#22bd7b)}
.department-mix{display:grid;gap:10px}
.department-mix article{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:12px;padding:10px;border:1px solid #e2edf9;border-radius:8px;background:#fbfdff}
.department-mix article>span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#eef6ff;color:#0e53bd;font-size:12px;font-weight:900}
.department-mix b{color:#082c68;font-size:16px}
.employee-shortcuts{display:grid;gap:10px}
.employee-shortcuts a{display:flex;align-items:center;min-height:42px;padding:0 13px;border-radius:8px;background:#f6fbff;color:#0e53bd;font-size:13px;font-weight:900;border:1px solid #d7e6f7}
.employee-shortcuts a:hover{background:#2874f0;color:#fff;border-color:#2874f0}
.employee-list-panel{padding-bottom:8px}
.employee-table{min-width:940px;margin-top:0}
.employee-table th,.employee-table td{padding:12px;font-size:12px;vertical-align:middle}
.employee-table td>strong{display:block;color:#082c68;font-size:12px}
.employee-table td>small{display:block;margin-top:4px;color:#60789d;font-size:11px}
.employee-identity{display:flex;align-items:center;gap:10px}
.employee-identity strong{display:block;color:#082c68;font-size:13px}
.employee-identity small{display:block;margin-top:4px;color:#60789d;font-size:11px}
.employee-avatar{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto;border-radius:50%;background:linear-gradient(135deg,#dbeafe,#bdf3df);color:#0e53bd;font-size:11px;font-weight:900}
.users-page{max-width:1580px;margin:0 auto}
.users-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;padding:20px;border:1px solid #cfe2fa;border-radius:8px;background:linear-gradient(135deg,#fff 0%,#f3f9ff 55%,#fff8f1 100%);box-shadow:0 16px 38px rgba(17,77,137,.08)}
.users-hero p{margin:0 0 6px;color:#2874f0;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.users-hero h1{margin:0;color:#082c68;font-size:30px;line-height:1.1}
.users-hero span{display:block;max-width:760px;margin-top:8px;color:#38609b;font-size:14px;line-height:1.45}
.users-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.users-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.users-overview-card{position:relative;min-height:126px;padding:16px;border:1px solid #cfe2fa;border-radius:8px;background:#fff;box-shadow:0 14px 34px rgba(17,77,137,.07);overflow:hidden}
.users-overview-card:after{content:"";position:absolute;right:-34px;top:-42px;width:96px;height:96px;border-radius:50%;background:rgba(40,116,240,.1)}
.users-overview-card.green:after{background:rgba(34,189,123,.13)}
.users-overview-card.purple:after{background:rgba(140,92,230,.13)}
.users-overview-card.red:after{background:rgba(246,79,100,.13)}
.users-overview-card small{display:block;color:#315a91;font-size:12px;font-weight:900}
.users-overview-card strong{display:block;margin:8px 0;color:#082c68;font-size:30px;line-height:1}
.users-overview-card em{display:block;color:#60789d;font-size:12px;font-style:normal}
.users-management-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:16px;margin-bottom:16px}
.users-panel{min-width:0;padding:16px;border:1px solid #cfe2fa;border-radius:8px;background:rgba(255,255,255,.94);box-shadow:0 16px 38px rgba(17,77,137,.08)}
.users-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.users-panel-header h2{margin:0;color:#082c68;font-size:17px;line-height:1.2}
.users-panel-header span,.users-panel-header a{color:#2874f0;font-size:12px;font-weight:900}
.role-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.role-card{min-height:214px;padding:14px;border:1px solid #d7e6f7;border-radius:8px;background:#fbfdff}
.role-card.blue{background:linear-gradient(135deg,#fff,#f2f7ff)}
.role-card.green{background:linear-gradient(135deg,#fff,#f3fff8)}
.role-card.purple{background:linear-gradient(135deg,#fff,#faf5ff)}
.role-card.cyan{background:linear-gradient(135deg,#fff,#f0fdff)}
.role-card.yellow{background:linear-gradient(135deg,#fff,#fff9e8)}
.role-card.red{background:linear-gradient(135deg,#fff,#fff4f6)}
.role-card.indigo{background:linear-gradient(135deg,#fff,#f4f7ff)}
.role-card.slate,.role-card.gray{background:linear-gradient(135deg,#fff,#f7fafc)}
.role-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.role-card-top span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#dbeafe;color:#0e53bd;font-size:11px;font-weight:900}
.role-card-top em,.matrix-status{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 9px;border-radius:999px;font-size:10px;font-style:normal;font-weight:900}
.role-card-top em.ready,.matrix-status.ready{background:#d9f8e9;color:#058152}
.role-card-top em.pending,.matrix-status.pending{background:#fff1d6;color:#9b5a00}
.role-card h3,.role-detail-card h3{margin:0;color:#082c68;font-size:15px;line-height:1.25}
.role-card p{min-height:58px;margin:8px 0 14px;color:#38609b;font-size:12px;line-height:1.4}
.role-card-meta{display:flex;align-items:flex-end;gap:8px;color:#60789d}
.role-card-meta strong{color:#082c68;font-size:24px;line-height:1}
.role-card-meta small{font-size:11px;font-weight:800}
.dashboard-scope-list{display:grid;gap:10px}
.dashboard-scope-list article{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:11px;border:1px solid #e2edf9;border-radius:8px;background:#fbfdff}
.dashboard-scope-list strong{display:block;color:#082c68;font-size:13px}
.dashboard-scope-list small{display:block;margin-top:4px;color:#60789d;font-size:11px;line-height:1.3}
.dashboard-scope-list span{color:#0e53bd;font-size:11px;font-weight:900;white-space:nowrap}
.users-table,.role-matrix-table{min-width:940px;margin-top:0}
.users-table th,.users-table td,.role-matrix-table th,.role-matrix-table td{padding:12px;font-size:12px;vertical-align:middle}
.users-table td>strong,.role-matrix-table td>strong{display:block;color:#082c68;font-size:12px}
.users-table td>small,.role-matrix-table td>small{display:block;margin-top:4px;color:#60789d;font-size:11px;line-height:1.3}
.user-identity{display:flex;align-items:center;gap:10px}
.user-identity strong{display:block;color:#082c68;font-size:13px}
.user-identity small{display:block;margin-top:4px;color:#60789d;font-size:11px}
.user-avatar{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto;border-radius:50%;background:linear-gradient(135deg,#dbeafe,#ffd9b2);color:#0e53bd;font-size:11px;font-weight:900}
.status-pill.status-locked{background:#fff1d6;color:#9b5a00}
.status-pill.status-inactive{background:#e8eef6;color:#4d6795}
.role-matrix-panel{margin-bottom:16px}
.role-matrix-table{min-width:1160px}
.role-matrix-table th:not(:first-child),.role-matrix-table td:not(:first-child){text-align:center}
.role-matrix-table td:first-child{min-width:260px;text-align:left}
.matrix-check,.matrix-empty{display:inline-flex;align-items:center;justify-content:center;width:42px;height:28px;border-radius:999px;font-size:10px;font-weight:900}
.matrix-check{background:#d9f8e9;color:#058152}
.matrix-empty{background:#eef3f8;color:#8aa0bf}
.role-matrix-table td:last-child{min-width:128px}
.role-matrix-table td:last-child small{display:block;margin-top:6px;text-align:center;color:#60789d;font-size:10px}
.role-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.role-detail-card{min-height:148px;padding:14px;border:1px solid #d7e6f7;border-radius:8px;background:#fbfdff}
.role-detail-card p{margin:8px 0 12px;color:#38609b;font-size:12px;line-height:1.4}
.role-detail-card div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.role-detail-card span{display:inline-flex;min-height:24px;align-items:center;padding:0 9px;border-radius:999px;background:#eef6ff;color:#0e53bd;font-size:10px;font-weight:900}
.management-form{max-width:980px;margin:0 auto}
.management-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.management-form label,.role-editor label{display:grid;gap:7px;color:#315a91;font-size:12px;font-weight:900}
.management-form input,.management-form select,.role-editor input{width:100%;height:44px;padding:0 12px;border:1px solid #c8daee;border-radius:6px;background:#fff;color:#172b4d;font:inherit;outline:none}
.management-form input:focus,.management-form select:focus,.role-editor input:focus{border-color:#2874f0;box-shadow:0 0 0 3px rgba(40,116,240,.12)}
.management-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #e2edf9}
.danger-zone{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:980px;margin:16px auto 0;border-color:#f4c8cf;background:#fffafa}
.danger-zone h2{margin:0;color:#a82035;font-size:16px}.danger-zone p{margin:5px 0 0;color:#745461;font-size:12px}
.danger-button{background:#c92d45}.danger-button:hover{background:#a82035}.danger-button:disabled,.icon-action:disabled{cursor:not-allowed;opacity:.45}
.row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.row-actions form{margin:0}
.icon-action{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 9px;border:1px solid #cfe2fa;border-radius:5px;background:#f7fbff;color:#185ebd;font-size:11px;font-weight:900;text-decoration:none;white-space:nowrap}
button.icon-action{font-family:inherit}.icon-action:hover{background:#eaf4ff}.icon-action.danger-link{border-color:#f1ccd2;background:#fff7f8;color:#b3263d}.icon-action.danger-link:hover{background:#ffecef}
.role-editor{margin-bottom:16px}.role-editor-fields{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(260px,1.35fr) auto auto;align-items:end;gap:12px}
.configured-roles-panel{margin-bottom:16px}.configured-role-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.configured-role-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:96px;padding:12px;border:1px solid #e2edf9;border-radius:7px;background:#fbfdff}
.configured-role-list strong,.configured-role-list span,.configured-role-list small{display:block}.configured-role-list strong{color:#082c68;font-size:13px}.configured-role-list span{margin-top:5px;color:#60789d;font-size:11px;line-height:1.35}.configured-role-list small{margin-top:6px;color:#2874f0;font-size:10px;font-weight:900}

/* Leave management overview shell and heading section. */
.leave-overview{max-width:1580px;margin:0 auto;color:#082c68}.leave-heading{display:flex;align-items:center;gap:16px;margin-bottom:16px;padding:12px 16px;border:1px solid #bdebdc;border-radius:8px;background:linear-gradient(100deg,#eefcf7,#e4f8f3)}.leave-heading-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 auto;border-radius:9px;background:linear-gradient(135deg,#32c98d,#10a967);color:#fff;box-shadow:0 8px 18px rgba(16,169,103,.25)}.leave-heading-icon svg{width:28px;height:28px}.leave-heading p{margin:0 0 6px;color:#087743;font-size:21px;font-weight:900}.leave-heading div>span{color:#315a70;font-size:12px}

/* Leave KPI cards section. */
.leave-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.leave-kpi{display:grid;grid-template-columns:50px 1fr;gap:14px;min-height:130px;padding:14px;border:1px solid #cfe2fa;border-radius:8px;background:linear-gradient(135deg,#fff,#f4f9ff);box-shadow:0 10px 24px rgba(17,77,137,.06)}.leave-kpi.green{border-color:#bdebdc;background:linear-gradient(135deg,#fff,#f1fcf8)}.leave-kpi.orange{border-color:#f8dfb4;background:linear-gradient(135deg,#fff,#fff9ef)}.leave-kpi.red{border-color:#f5cdd3;background:linear-gradient(135deg,#fff,#fff3f5)}.leave-kpi-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,#3692ff,#1468e9);color:#fff}.leave-kpi.green .leave-kpi-icon{background:linear-gradient(135deg,#31ce91,#0da967)}.leave-kpi.orange .leave-kpi-icon{background:linear-gradient(135deg,#ffc254,#f39a16)}.leave-kpi.red .leave-kpi-icon{background:linear-gradient(135deg,#ff6e7f,#ef3650)}.leave-kpi-icon svg{width:27px;height:27px}.leave-kpi small,.leave-kpi strong,.leave-kpi em,.leave-kpi div>span{display:block}.leave-kpi small{min-height:28px;color:#173f75;font-size:11px;font-weight:900}.leave-kpi strong{margin:5px 0;color:#062d63;font-size:28px;line-height:1}.leave-kpi em{margin-bottom:6px;font-size:11px;font-style:normal;font-weight:900}.leave-kpi em.up{color:#0aa76b}.leave-kpi em.down{color:#ef3650}.leave-kpi div>span{color:#527094;font-size:10px}

/* Leave analytics panels and headings section. */
.leave-analytics-grid{display:grid;grid-template-columns:1.35fr .9fr;gap:14px;margin-bottom:14px}.leave-panel{min-width:0;border:1px solid #cfe2fa;border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(17,77,137,.06);overflow:hidden}.leave-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid #e4edf7}.leave-panel-heading h2{display:flex;align-items:center;gap:8px;margin:0;color:#082c68;font-size:13px}.leave-panel-heading h2>span{color:var(--theme-primary);font-size:18px}.leave-panel-heading a{color:var(--theme-primary);font-size:10px;font-weight:900}.leave-panel-heading select{height:30px;padding:0 10px;border:1px solid #cedff1;border-radius:6px;background:#fff;color:#315a91;font-size:10px}.leave-legend{display:flex;justify-content:center;gap:30px;padding:12px 14px 0;color:#315a91;font-size:10px}.leave-legend span{display:flex;align-items:center;gap:6px}.leave-legend i{width:8px;height:8px;border-radius:50%}.leave-legend .approved{background:#16b878}.leave-legend .pending{background:#f4aa22}.leave-legend .rejected{background:#ef4761}

/* Six-month leave trend chart section. */
.leave-line-chart{display:block;width:100%;height:230px;padding:4px 12px 10px}.leave-line-chart line{stroke:#dce8f4;stroke-width:1}.leave-line-chart text{fill:#527094;font-size:9px;text-anchor:middle}.leave-line-chart polyline{fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.leave-line-chart polyline.approved{stroke:#16b878}.leave-line-chart polyline.pending{stroke:#f4aa22}.leave-line-chart polyline.rejected{stroke:#ef4761}.leave-line-chart circle{stroke:#fff;stroke-width:1.5}.leave-line-chart circle.approved{fill:#16b878}.leave-line-chart circle.pending{fill:#f4aa22}.leave-line-chart circle.rejected{fill:#ef4761}

/* Leave type distribution section. */
.leave-distribution{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(220px,1.2fr);align-items:center;gap:20px;min-height:275px;padding:18px}.leave-donut{position:relative;width:min(180px,100%);aspect-ratio:1;margin:auto;border-radius:50%;background:conic-gradient(var(--leave-donut))}.leave-donut:after{content:"";position:absolute;inset:38px;border-radius:50%;background:#fff}.leave-donut>span{position:absolute;inset:0;z-index:1;display:grid;place-items:center;align-content:center}.leave-donut strong{font-size:23px}.leave-donut small{margin-top:4px;color:#315a91;font-size:10px}.leave-type-list{display:grid;gap:14px}.leave-type-list>div{display:grid;grid-template-columns:minmax(0,1fr) 32px 44px;align-items:center;gap:8px;color:#315a91;font-size:10px}.leave-type-list span{display:flex;align-items:center;gap:8px}.leave-type-list i{width:10px;height:10px;flex:0 0 auto;border-radius:50%}.leave-type-list b{text-align:right}.leave-type-list small{text-align:right;color:#527094}

/* Upcoming leave table section. */
.leave-bottom-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:14px}.leave-table{min-width:700px}.leave-table th,.leave-table td{padding:10px 11px;font-size:10px}.leave-person{display:flex;align-items:center;gap:8px;white-space:nowrap}.leave-person i{display:grid;place-items:center;width:25px;height:25px;flex:0 0 auto;border-radius:50%;background:linear-gradient(135deg,#ffd5bd,#75a8ef);color:#fff;font-size:8px;font-style:normal;font-weight:900}.leave-status{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900}.leave-status.approved{background:#d9f8e9;color:#078150}.leave-status.pending{background:#fff0cc;color:#a26300}.leave-status.rejected{background:#ffe0e5;color:#ba2940}

/* Quick actions and monthly holidays section. */
.leave-side-stack{display:grid;gap:14px}.leave-actions>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:10px}.leave-actions a{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;border-radius:6px;color:#fff;font-size:18px;font-weight:900;box-shadow:0 8px 16px rgba(17,77,137,.12)}.leave-actions a span{font-size:11px}.leave-actions a.blue{background:linear-gradient(135deg,#348cff,#1468e9)}.leave-actions a.green{background:linear-gradient(135deg,#27c98b,#0bac69)}.leave-actions a.orange{background:linear-gradient(135deg,#ffbb45,#f39413)}.leave-actions a.purple{background:linear-gradient(135deg,#a166ed,#7d42d7)}.month-holidays article{display:grid;grid-template-columns:72px 1fr;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #e8eef6}.month-holidays article:last-child{border-bottom:0}.month-holidays time{display:flex;align-items:baseline;gap:5px}.month-holidays time strong{color:var(--theme-primary);font-size:15px}.month-holidays time small{color:#60789d;font-size:9px}.month-holidays article>span{color:#294b78;font-size:10px;font-weight:800}
@media(max-width:1440px){.kpi-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr 1fr}.activity-panel{grid-column:auto;grid-row:auto}.table-panel{grid-column:span 2}}
@media(max-width:1440px){.employee-overview-grid{grid-template-columns:repeat(3,1fr)}.employee-management-grid{grid-template-columns:1fr 1fr}.employee-actions-panel{grid-column:span 2}.role-card-grid,.role-detail-grid,.configured-role-list{grid-template-columns:repeat(2,minmax(0,1fr))}.leave-analytics-grid{grid-template-columns:1.15fr .85fr}}
@media(max-width:1100px){.navbar{grid-template-columns:200px 44px minmax(180px,1fr) auto auto;gap:10px}.brand-copy small{display:none}.sidebar{width:238px}.kpi-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.table-panel{grid-column:auto}.donut-layout{grid-template-columns:160px 1fr}.employee-overview-grid{grid-template-columns:repeat(2,1fr)}.employee-management-grid{grid-template-columns:1fr}.employee-actions-panel{grid-column:auto}.users-overview-grid{grid-template-columns:repeat(2,1fr)}.users-management-grid{grid-template-columns:1fr}.role-editor-fields{grid-template-columns:1fr 1fr}.role-editor-fields button,.role-editor-fields .button{justify-self:start}.leave-kpi-grid{grid-template-columns:repeat(2,1fr)}.leave-analytics-grid,.leave-bottom-grid{grid-template-columns:1fr}.leave-distribution{grid-template-columns:180px 1fr}}
@media(max-width:760px){.navbar{height:auto;min-height:70px;grid-template-columns:1fr auto;padding:12px}.brand{grid-column:1}.nav-icon-button{grid-column:2}.top-search{grid-column:1 / -1;grid-row:2}.nav-tools,.profile-menu-wrap{display:none}.layout{min-height:calc(100vh - 118px)}.sidebar{position:fixed;z-index:30;top:118px;left:0;bottom:0;height:auto;width:260px;transform:translateX(-100%);transition:transform .2s ease}.sidebar.open{transform:translateX(0)}.content{padding:16px}.dashboard-heading{align-items:flex-start;flex-direction:column}.dashboard-heading h1,.dashboard-heading span{margin-left:0;padding-left:0}.dashboard-heading h1:before{display:none}.date-card{width:100%;min-width:0}.kpi-grid{grid-template-columns:1fr}.metric-card{min-height:116px}.quick-actions,.payroll-grid{grid-template-columns:1fr}.donut-layout,.compact-donut{grid-template-columns:1fr;justify-items:center}.donut-list{width:100%}.holiday-list article{grid-template-columns:62px 24px 1fr}.holiday-list em{display:none}.activity-list article{grid-template-columns:42px 1fr}.activity-list time{grid-column:2;color:#8aa0bf}.bar-chart{gap:6px}.employee-hero,.users-hero{align-items:flex-start;flex-direction:column}.employee-hero-actions,.users-hero-actions{justify-content:flex-start}.employee-overview-grid,.users-overview-grid{grid-template-columns:1fr}.employee-table{min-width:820px}.role-card-grid,.role-detail-grid,.configured-role-list{grid-template-columns:1fr}.users-table{min-width:1020px}.management-form-grid,.role-editor-fields{grid-template-columns:1fr}.danger-zone,.notification-page-item{align-items:flex-start;grid-template-columns:10px 1fr}.notification-page-item form,.notification-page-item>small{grid-column:2}.leave-heading{align-items:flex-start}.leave-heading p{font-size:18px}.leave-kpi-grid{grid-template-columns:1fr}.leave-distribution{grid-template-columns:1fr}.leave-donut{width:150px}.leave-actions>div:last-child{grid-template-columns:1fr}.leave-line-chart{height:200px}.leave-legend{gap:14px}}

body.login-page{
    display:block;
    width:100%;
    height:100vh;
    height:100dvh;
    overflow:hidden;
    background:#fdfafa;
    color:#27304a;
}

.login-shell{
    width:100%;
    height:100vh;
    height:100dvh;
    display:grid;
    grid-template-columns:minmax(480px,1.4fr) minmax(360px,.9fr);
    background:#fffafa;
}

.login-visual{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:0;
    height:100%;
    padding:clamp(96px,10vw,126px) clamp(28px,5vw,58px) 52px;
    overflow:hidden;
}

.login-brand-logo{
    width:min(560px,78%);
    max-height:78%;
    object-fit:contain;
    display:block;
}

.login-panel{
    min-height:0;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    position:relative;
    padding:clamp(42px,6vw,62px) clamp(26px,6vw,70px) 34px;
    background:#334796;
    color:#fff;
    box-shadow:-4px 0 18px rgba(24,44,101,.16);
}

.login-form-wrap{
    width:min(100%,330px);
    margin:0 auto;
    transform:translateY(-8px);
}

.login-form-wrap h1{
    margin:0 0 10px;
    color:#fff;
    font-size:clamp(26px,3.4vw,30px);
    line-height:1.15;
    text-align:center;
    letter-spacing:0;
}

.login-form-wrap p{
    margin:0 0 clamp(22px,4.8vh,40px);
    color:#f5f3fb;
    font-size:20px;
    line-height:1.35;
    text-align:center;
}

.login-form{
    display:grid;
    gap:10px;
}

.auth-alert{
    display:grid;
    gap:4px;
    margin:0 0 16px;
    padding:11px 13px;
    border-radius:8px;
    font-size:13px;
    line-height:1.35;
    font-weight:600;
}

.auth-alert.error{
    color:#8f1c2d;
    background:#fff0f2;
    border:1px solid #ffbac4;
}

.auth-alert.success{
    color:#075f43;
    background:#e9fff5;
    border:1px solid #9ae6c4;
}

.login-form label{
    color:#f3f1fa;
    font-size:15px;
    line-height:1;
}

.login-form input{
    width:100%;
    height:clamp(50px,6vw,56px);
    margin:0 0 12px;
    padding:0 18px;
    color:#17233d;
    font-size:17px;
    background:#fffafa;
    border:2px solid #ffb22d;
    border-radius:15px;
    outline:none;
    box-shadow:0 5px 0 #ffb22d;
    transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.login-form input:focus{
    border-color:#fff;
    box-shadow:0 5px 0 #ff7a1a,0 0 0 4px rgba(255,255,255,.22);
}

.login-form button{
    justify-self:center;
    width:min(150px,100%);
    min-height:38px;
    margin-top:10px;
    padding:8px 32px;
    color:#fff;
    font-size:20px;
    font-weight:700;
    background:#ff741f;
    border:0;
    border-radius:13px;
    box-shadow:0 6px 14px rgba(35,32,58,.18);
}

.login-form button:hover,
.login-form button:focus{
    background:#ff883d;
}

.login-links{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:22px;
    margin-top:clamp(20px,4vh,32px);
    color:#f3f1fa;
    font-size:11px;
}

.login-links a,
.login-footer-links a{
    color:#fff;
    text-decoration:underline;
    text-underline-offset:2px;
}

.login-footer-links{
    position:absolute;
    left:26px;
    right:18px;
    bottom:14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#fff;
    font-size:11px;
}

@media(max-width:1180px){
    .login-shell{
        grid-template-columns:minmax(430px,1fr) minmax(340px,.9fr);
    }

    .login-visual{
        padding-left:24px;
        padding-right:24px;
    }

    .login-brand-logo{
        width:min(500px,76%);
    }

    .login-panel{
        padding-left:28px;
        padding-right:28px;
    }
}

@media(max-width:900px){
    .login-shell{
        grid-template-columns:1fr;
        grid-template-rows:minmax(220px,38vh) minmax(0,1fr);
        height:100vh;
        height:100dvh;
    }

    .login-visual{
        min-height:0;
        height:100%;
        max-height:none;
        padding:24px 20px;
    }

    .login-brand-logo{
        width:min(360px,70%);
        max-height:88%;
    }

    .login-panel{
        height:100%;
        min-height:0;
        padding:clamp(24px,4vh,38px) 24px clamp(18px,4vh,58px);
        box-shadow:0 -4px 18px rgba(24,44,101,.14);
        overflow:hidden;
    }

    .login-form-wrap{
        transform:none;
    }

    .login-form-wrap p{
        margin-bottom:28px;
    }

    .login-footer-links{
        bottom:18px;
    }
}

@media(max-width:640px){
    .login-visual{
        min-height:0;
        height:100%;
        padding:18px 16px;
    }

    .login-brand-logo{
        width:min(250px,74%);
        max-height:90%;
    }

    .login-panel{
        justify-content:flex-start;
        padding:clamp(18px,4vh,30px) 20px 18px;
    }

    .login-form-wrap{
        width:100%;
        max-width:340px;
    }

    .login-form-wrap h1{
        font-size:clamp(22px,7vw,26px);
    }

    .login-form-wrap p{
        margin-bottom:clamp(16px,3vh,24px);
        font-size:clamp(14px,4.4vw,16px);
    }

    .login-form input{
        height:clamp(42px,7vh,50px);
        margin-bottom:10px;
        border-radius:12px;
    }

    .login-form button{
        margin-top:8px;
        font-size:18px;
    }

    .login-links{
        gap:10px;
        flex-wrap:wrap;
        margin-top:clamp(16px,3vh,24px);
    }

    .login-footer-links{
        position:static;
        width:100%;
        max-width:340px;
        margin:clamp(16px,3vh,28px) auto 0;
    }
}

@media(max-width:380px){
    .login-shell{
        grid-template-rows:minmax(188px,32vh) minmax(0,1fr);
    }

    .login-visual{
        min-height:0;
        height:100%;
    }

    .login-panel{
        padding-left:16px;
        padding-right:16px;
    }
}

@media(max-height:720px) and (min-width:901px){
    .login-visual{
        padding-top:78px;
        padding-bottom:24px;
    }

    .login-brand-logo{
        width:min(430px,70%);
    }

    .login-panel{
        padding-top:32px;
        padding-bottom:22px;
    }
}

@media(max-height:620px){
    .login-form input{
        height:42px;
        margin-bottom:6px;
    }

    .login-form{
        gap:7px;
    }

    .login-form-wrap p{
        margin-bottom:14px;
    }

    .login-links{
        margin-top:14px;
    }
}

body.signup-page{
    width:100%;
    height:100vh;
    height:100dvh;
    margin:0;
    overflow:hidden;
    background:#fffafa;
    color:#334796;
}

.signup-shell{
    width:100%;
    height:100vh;
    height:100dvh;
    display:grid;
    grid-template-columns:minmax(520px,1.35fr) minmax(360px,.95fr);
    background:#fffafa;
}

.signup-panel{
    position:relative;
    min-height:0;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:70px clamp(28px,4.8vw,58px) 54px;
}

.signup-logo-box{
    position:absolute;
    top:14px;
    left:14px;
    width:128px;
    height:66px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
}

.signup-logo-box img{
    width:96px;
    height:54px;
    object-fit:contain;
}

.signup-content{
    width:min(100%,430px);
}

.signup-header{
    margin:0 0 26px 102px;
}

.signup-header h1{
    margin:0;
    color:#334796;
    font-size:clamp(28px,4vw,32px);
    line-height:1.1;
    letter-spacing:0;
}

.signup-header p{
    margin:4px 0 0;
    color:#334796;
    font-size:21px;
    line-height:1.25;
}

.signup-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px 24px;
}

.signup-field label{
    display:block;
    margin:0 0 4px 3px;
    color:#334796;
    font-size:15px;
}

.signup-field input{
    width:100%;
    height:54px;
    padding:0 16px;
    color:#17233d;
    font-size:16px;
    background:#fffafa;
    border:2px solid #ffb22d;
    border-radius:14px;
    outline:none;
    box-shadow:0 6px 0 #ffb22d;
}

.signup-field input:focus{
    border-color:#334796;
    box-shadow:0 6px 0 #ffb22d,0 0 0 4px rgba(51,71,150,.12);
}

.signup-login-link{
    display:flex;
    align-items:center;
    gap:20px;
    padding-left:4px;
    color:#334796;
    font-size:11px;
}

.signup-login-link a{
    color:#334796;
    text-decoration:underline;
    text-underline-offset:2px;
}

.signup-form button{
    justify-self:end;
    align-self:center;
    width:104px;
    min-height:40px;
    padding:8px 14px;
    color:#fff;
    font-size:15px;
    font-weight:700;
    background:#334796;
    border:0;
    border-radius:13px;
}

.signup-form button:hover,
.signup-form button:focus{
    background:#4056aa;
}

.signup-footer-links{
    position:absolute;
    left:28px;
    right:22px;
    bottom:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:11px;
}

.signup-footer-links a{
    color:#334796;
    text-decoration:none;
}

.signup-visual{
    min-height:0;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:36px;
    overflow:hidden;
    background:#334796;
    border-radius:0 6px 6px 0;
}

.signup-brand-logo{
    width:min(470px,94%);
    max-height:90%;
    object-fit:contain;
    display:block;
}

@media(max-width:1080px){
    .signup-shell{
        grid-template-columns:minmax(470px,1.15fr) minmax(300px,.85fr);
    }

    .signup-panel{
        padding-left:28px;
        padding-right:28px;
    }

    .signup-content{
        width:min(100%,410px);
    }

    .signup-form{
        gap:18px 18px;
    }
}

@media(max-width:860px){
    body.signup-page{
        overflow:auto;
    }

    .signup-shell{
        height:auto;
        min-height:100vh;
        min-height:100dvh;
        grid-template-columns:1fr;
    }

    .signup-panel{
        min-height:620px;
        padding:86px 24px 58px;
        order:2;
    }

    .signup-logo-box{
        width:112px;
        height:58px;
    }

    .signup-logo-box img{
        width:82px;
        height:48px;
    }

    .signup-header{
        margin-left:0;
        text-align:center;
    }

    .signup-visual{
        height:260px;
        order:1;
        border-radius:0;
    }

    .signup-brand-logo{
        width:min(260px,70%);
    }
}

@media(max-width:560px){
    .signup-panel{
        min-height:0;
        padding:78px 18px 28px;
    }

    .signup-content{
        width:100%;
        max-width:360px;
    }

    .signup-header{
        margin-bottom:20px;
    }

    .signup-header h1{
        font-size:25px;
    }

    .signup-header p{
        font-size:17px;
    }

    .signup-form{
        grid-template-columns:1fr;
        gap:14px;
    }

    .signup-field input{
        height:46px;
        border-radius:12px;
    }

    .signup-login-link{
        justify-content:center;
        flex-wrap:wrap;
        gap:10px;
    }

    .signup-form button{
        justify-self:center;
        width:120px;
    }

    .signup-footer-links{
        position:static;
        width:100%;
        max-width:360px;
        margin:24px auto 0;
    }

    .signup-visual{
        height:190px;
        padding:18px;
    }
}

@media(max-height:680px) and (min-width:861px){
    .signup-panel{
        padding-top:54px;
        padding-bottom:40px;
    }

    .signup-header{
        margin-bottom:16px;
    }

    .signup-form{
        gap:13px 24px;
    }

    .signup-field input{
        height:44px;
    }

    .signup-footer-links{
        bottom:12px;
    }
}

/* Employee sidebar profile section. */
.sidebar-user-card{display:flex;align-items:center;gap:12px;padding:2px 4px 16px;border-bottom:1px solid rgba(206,225,246,.16)}
.sidebar-user-avatar{position:relative;display:grid;place-items:center;width:58px;height:58px;flex:0 0 auto;border-radius:50%;background:linear-gradient(135deg,#ffd1b8,#2874f0);color:#fff;font-size:15px;font-weight:900;border:2px solid rgba(255,255,255,.8)}
.sidebar-user-avatar:after{content:"";position:absolute;right:3px;bottom:4px;width:11px;height:11px;border:2px solid #061d39;border-radius:50%;background:#10c987}
.sidebar-user-card strong,.sidebar-user-card small,.sidebar-user-card em{display:block}
.sidebar-user-card strong{color:#fff;font-size:13px;line-height:1.25}
.sidebar-user-card small{margin-top:4px;color:#dbeafe;font-size:11px}
.sidebar-user-card em{margin-top:4px;color:#9fe7ca;font-size:11px;font-style:normal}

/* Employee dashboard base section. */
.employee-dashboard{max-width:1640px;margin:0 auto;color:#061b49}
.employee-dashboard a{color:#006cf0}
.employee-dash-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;margin-bottom:16px}
.employee-welcome,.employee-date-card,.employee-panel,.employee-kpi-card{border:1px solid #cfe2fa;border-radius:8px;background:rgba(255,255,255,.94);box-shadow:0 14px 32px rgba(17,77,137,.07)}
.employee-welcome{min-height:86px;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(220px,330px);align-items:center;gap:18px;padding:16px 20px;background:linear-gradient(110deg,#fff,#f4fbff)}
.employee-wave{display:grid;place-items:center;width:48px;height:48px;border-radius:8px;background:#fff6da;color:#d08300;font-weight:900}
.employee-welcome h1{margin:0 0 4px;color:#061b49;font-size:26px;line-height:1.15}
.employee-welcome p{margin:0;color:#315a91;font-size:14px}
.employee-welcome blockquote{margin:0;color:#173f75;font-size:15px;font-style:italic;text-align:right;line-height:1.35}
.employee-date-card{display:flex;align-items:center;gap:14px;min-height:86px;padding:16px 18px}
.employee-date-card>span{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#eef5ff;color:#061b49;font-size:24px}
.employee-date-card strong,.employee-date-card small{display:block}.employee-date-card strong{font-size:14px}.employee-date-card small{margin-top:6px;color:#315a91;font-size:13px}

/* Employee monthly KPI section. */
.employee-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}
.employee-kpi-card{display:grid;grid-template-columns:64px 1fr;gap:16px;min-height:136px;padding:16px;overflow:hidden}
.employee-kpi-card.green{background:linear-gradient(135deg,#fff,#f0fff8);border-color:#bdebdc}.employee-kpi-card.red{background:linear-gradient(135deg,#fff,#fff2f4);border-color:#ffd4da}.employee-kpi-card.orange{background:linear-gradient(135deg,#fff,#fff8e8);border-color:#ffe4ad}.employee-kpi-card.blue{background:linear-gradient(135deg,#fff,#f2f8ff);border-color:#cce1ff}
.employee-kpi-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:8px;color:#fff;font-size:31px;background:linear-gradient(135deg,#4d96ff,#1669e8)}
.employee-kpi-card.green .employee-kpi-icon{background:linear-gradient(135deg,#31ce91,#0da967)}.employee-kpi-card.red .employee-kpi-icon{background:linear-gradient(135deg,#ff6e7f,#ef3650)}.employee-kpi-card.orange .employee-kpi-icon{background:linear-gradient(135deg,#ffc254,#f39a16)}
.employee-kpi-card small,.employee-kpi-card strong,.employee-kpi-card span,.employee-kpi-card em{display:block}
.employee-kpi-card small{color:#061b49;font-size:13px;font-weight:900}.employee-kpi-card strong{margin:8px 0 4px;color:#061b49;font-size:30px;line-height:1}.employee-kpi-card span{color:#315a91;font-size:12px}.employee-kpi-card em{margin-top:10px;font-size:12px;font-style:normal;font-weight:900}

/* Employee dashboard panel grid section. */
.employee-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1.12fr) minmax(280px,.82fr);gap:16px;align-items:start}
.employee-panel{min-width:0;padding:16px}
.employee-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.employee-panel-header h2{display:flex;align-items:center;gap:9px;margin:0;color:#062d63;font-size:16px;line-height:1.2}
.employee-panel-header a{font-size:12px;font-weight:900}.employee-panel-header select{height:34px;padding:0 12px;border:1px solid #c5daf6;border-radius:7px;background:#fff;color:#082c68;font-size:12px}
.employee-section-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:#fff;font-size:20px}.employee-section-icon.blue{background:#2478f2}.employee-section-icon.bolt{background:transparent;color:#2478f2;font-size:27px}
.employee-profile-panel,.employee-quick-panel,.employee-schedule-panel,.employee-links-panel{grid-column:3}.employee-announcements-panel,.employee-payslip-panel{grid-column:1}.employee-tasks-panel,.employee-performance-panel{grid-column:2}

/* Employee attendance chart section. */
.employee-legend{display:flex;align-items:center;gap:22px;margin-bottom:10px;color:#315a91;font-size:12px}.employee-legend span{display:flex;align-items:center;gap:7px}.employee-legend i{width:10px;height:10px;border-radius:50%}.employee-legend .present{background:#20bf7a}.employee-legend .absent{background:#f64f64}.employee-legend .late{background:#ffb52e}.employee-legend .leave{background:#2874f0}
.employee-week-chart{display:grid;grid-template-columns:28px 1fr;gap:8px;min-height:184px}
.employee-chart-scale{display:grid;grid-template-rows:repeat(6,1fr);align-items:end;color:#315a91;font-size:11px;text-align:right}
.employee-chart-bars{position:relative;display:grid;grid-template-columns:repeat(7,1fr);gap:13px;align-items:end;padding:8px 8px 24px;border-left:1px solid #dfe8f5;border-bottom:1px solid #dfe8f5;background:repeating-linear-gradient(to bottom,#edf3fb 0,#edf3fb 1px,transparent 1px,transparent 31px)}
.employee-chart-day{height:134px;display:grid;align-items:end;justify-items:center;position:relative}
.attendance-bar{width:22px;min-height:5px;border-radius:5px 5px 0 0;background:#d8e2ef}.attendance-bar.present,.attendance-bar.work_from_home{background:#20bf7a}.attendance-bar.absent{background:#f64f64}.attendance-bar.late{background:#ffb52e}.attendance-bar.leave{background:#2874f0}.attendance-bar.half_day{background:#7c8da6}.attendance-bar.holiday,.attendance-bar.weekend,.attendance-bar.not_marked{background:#d8e2ef}
.employee-chart-day small{position:absolute;bottom:-22px;color:#315a91;font-size:11px}

/* Employee leave balance section. */
.employee-leave-balance-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.employee-leave-card{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:12px;min-height:92px;padding:14px;border:1px solid #d7e6f7;border-radius:8px;background:#f8fbff}.employee-leave-card>span{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;color:#fff;background:#2478f2;font-size:23px}.employee-leave-card.green{background:#f1fcf8;border-color:#c5efdd}.employee-leave-card.green>span{background:#20bf7a}.employee-leave-card.red{background:#fff3f5;border-color:#ffd4da}.employee-leave-card.red>span{background:#f64f64}.employee-leave-card.orange{background:#fff9ed;border-color:#ffe4ad}.employee-leave-card.orange>span{background:#f4a321}.employee-leave-card.purple{background:#f7f1ff;border-color:#e5d5ff}.employee-leave-card.purple>span{background:#8a55e8}.employee-leave-card small,.employee-leave-card strong,.employee-leave-card em{display:block}.employee-leave-card small{color:#061b49;font-size:12px;font-weight:900}.employee-leave-card strong{margin-top:5px;color:#061b49;font-size:25px;line-height:1}.employee-leave-card em{margin-top:5px;color:#315a91;font-size:12px;font-style:normal}

/* Employee profile and quick action section. */
.employee-profile-card{display:grid;justify-items:center;text-align:center}.employee-profile-avatar{display:grid;place-items:center;width:116px;height:116px;margin:4px 0 12px;border-radius:50%;background:linear-gradient(135deg,#ffd1b8,#1b6eea);color:#fff;font-size:26px;font-weight:900;border:7px solid #edf4ff}.employee-profile-card strong{color:#061b49;font-size:15px}.employee-profile-card>small{margin:4px 0 10px;color:#315a91;font-size:12px}.employee-profile-card ul{width:100%;display:grid;gap:9px;margin:0;padding:0;list-style:none;text-align:left}.employee-profile-card li{display:flex;align-items:center;gap:9px;color:#315a91;font-size:12px;min-width:0}.employee-profile-card li svg{width:15px;height:15px;flex:0 0 auto;color:#173f75}
.employee-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.employee-quick-actions a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:62px;padding:10px;border-radius:8px;color:#fff;font-size:12px;font-weight:900;text-align:center}.employee-quick-actions svg{width:25px;height:25px;flex:0 0 auto}.employee-quick-actions .green{background:linear-gradient(135deg,#31ce91,#10a967)}.employee-quick-actions .blue{background:linear-gradient(135deg,#3d8dff,#1669e8)}.employee-quick-actions .orange{background:linear-gradient(135deg,#ffb65d,#ff8a3b)}.employee-quick-actions .purple{background:linear-gradient(135deg,#a875f2,#8052d9)}

/* Employee list and task sections. */
.employee-list,.employee-task-list,.employee-schedule-list{display:grid}.employee-list article{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e6edf6}.employee-list article:last-child{border-bottom:0}.employee-list-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eaf3ff;color:#1669e8;font-size:8px;font-weight:900}.employee-list strong,.employee-list small{display:block;min-width:0}.employee-list strong{color:#061b49;font-size:12px}.employee-list small{margin-top:4px;color:#315a91;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-list time{color:#4d6795;font-size:11px;white-space:nowrap}
.employee-task-list label{display:grid;grid-template-columns:24px minmax(0,1fr) 76px 76px;align-items:center;gap:10px;min-height:37px;border-bottom:1px solid #e6edf6;color:#061b49;font-size:12px}.employee-task-list label:last-child{border-bottom:0}.employee-task-list input{width:18px;height:18px;accent-color:#2874f0}.employee-task-list span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-task-list em{justify-self:start;min-width:64px;padding:4px 8px;border-radius:8px;font-style:normal;font-size:10px;font-weight:900;text-align:center}.employee-task-list em.high{background:#ffe1e6;color:#bd263d}.employee-task-list em.medium{background:#e4f0ff;color:#0e62d4}.employee-task-list em.low,.employee-task-list em.done{background:#dff9ed;color:#087d52}.employee-task-list small{justify-self:end;color:#4d6795;font-size:11px}

/* Employee schedule and payslip section. */
.employee-schedule-list article{position:relative;display:grid;grid-template-columns:78px 1fr;gap:10px;padding:9px 0 9px 18px;border-bottom:1px solid #e6edf6}.employee-schedule-list article:last-child{border-bottom:0}.employee-schedule-list article:before{content:"";position:absolute;left:2px;top:16px;width:10px;height:10px;border-radius:50%;background:#2874f0}.employee-schedule-list article.green:before{background:#20bf7a}.employee-schedule-list article.orange:before{background:#ffb52e}.employee-schedule-list article.purple:before{background:#8a55e8}.employee-schedule-list time{color:#061b49;font-size:12px}.employee-schedule-list strong,.employee-schedule-list small{display:block}.employee-schedule-list strong{color:#061b49;font-size:12px}.employee-schedule-list small{margin-top:3px;color:#4d6795;font-size:11px}
.employee-payslip-card{padding:12px;border:1px solid #d7e6f7;border-radius:8px;background:#f8fbff}.employee-payslip-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.employee-payslip-card strong{color:#061b49;font-size:16px}.employee-payslip-card span{padding:5px 10px;border-radius:8px;background:#cfeedd;color:#087d52;font-size:11px;font-weight:900}.employee-payslip-card dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0}.employee-payslip-card dt{color:#315a91;font-size:12px}.employee-payslip-card dd{margin:6px 0 0;color:#061b49;font-size:18px;font-weight:900}

/* Employee performance and helpful links section. */
.employee-performance-content{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:20px}.employee-rating{position:relative;width:130px;aspect-ratio:1;border-radius:50%;background:conic-gradient(#20bf7a 0 var(--rating),#dfebf8 var(--rating) 100%)}.employee-rating:after{content:"";position:absolute;inset:23px;border-radius:50%;background:#fff}.employee-rating span{position:absolute;inset:0;z-index:1;display:grid;place-items:center;align-content:center;text-align:center}.employee-rating strong{font-size:20px;color:#061b49}.employee-rating small{margin-top:5px;color:#315a91;font-size:11px}.employee-performance-bars{display:grid;gap:12px}.employee-performance-bars div{display:grid;grid-template-columns:100px 1fr 34px;align-items:center;gap:12px;color:#061b49;font-size:12px}.employee-performance-bars b{display:block;height:8px;border-radius:999px;background:#dfebf8;overflow:hidden}.employee-performance-bars i{display:block;height:100%;border-radius:999px;background:#20bf7a}.employee-performance-bars .blue i{background:#2874f0}.employee-performance-bars .orange i{background:#ff9d21}.employee-performance-bars .purple i{background:#8a55e8}.employee-performance-bars em{font-style:normal;color:#315a91;text-align:right}
.employee-help-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.employee-help-links a{display:flex;align-items:center;gap:10px;min-height:49px;padding:10px;border:1px solid #d7e6f7;border-radius:8px;background:#f8fbff;color:#061b49;font-size:11px;font-weight:800}.employee-help-links svg{width:24px;height:24px;flex:0 0 auto;color:#2478f2}.employee-help-links a:nth-child(2) svg{color:#20bf7a}.employee-help-links a:nth-child(3) svg{color:#ff9d21}.employee-help-links a:nth-child(4) svg{color:#8a55e8}

@media(max-width:1440px){
    .employee-dash-top{grid-template-columns:1fr}
    .employee-dashboard-grid{grid-template-columns:1fr 1fr}
    .employee-profile-panel,.employee-quick-panel,.employee-schedule-panel,.employee-links-panel,.employee-announcements-panel,.employee-payslip-panel,.employee-tasks-panel,.employee-performance-panel{grid-column:auto}
}

@media(max-width:1100px){
    .employee-kpi-grid{grid-template-columns:repeat(2,1fr)}
    .employee-welcome{grid-template-columns:auto 1fr}.employee-welcome blockquote{grid-column:1 / -1;text-align:left}
    .employee-performance-content{grid-template-columns:130px 1fr}
}

@media(max-width:760px){
    .employee-dash-top,.employee-dashboard-grid,.employee-kpi-grid{grid-template-columns:1fr}
    .employee-welcome{grid-template-columns:1fr;text-align:left}.employee-wave{width:42px;height:42px}.employee-welcome h1{font-size:22px}
    .employee-kpi-card{min-height:118px}
    .employee-leave-balance-grid,.employee-quick-actions,.employee-help-links{grid-template-columns:1fr}
    .employee-task-list label{grid-template-columns:24px minmax(0,1fr);padding:8px 0}.employee-task-list em,.employee-task-list small{grid-column:2;justify-self:start}
    .employee-payslip-card dl{grid-template-columns:1fr}
    .employee-performance-content{grid-template-columns:1fr;justify-items:center}.employee-performance-bars{width:100%}
    .employee-performance-bars div{grid-template-columns:88px 1fr 32px}
}

/* Employee self-service profile page section. */
.self-profile-page{max-width:1480px;margin:0 auto;color:#102f61}.self-profile-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.self-profile-eyebrow{margin:0 0 5px;color:var(--theme-primary);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:0}.self-profile-heading h1{margin:0;color:#082c68;font-size:28px;line-height:1.15}.self-profile-heading>div>span{display:block;margin-top:7px;color:#54709a;font-size:13px}.self-profile-actions{display:flex;gap:10px;flex-wrap:wrap}.self-profile-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid var(--theme-primary);border-radius:6px;background:var(--theme-primary);color:#fff;font-size:12px;font-weight:800}.self-profile-button.secondary{background:#fff;color:var(--theme-primary-strong);border-color:#c8daf0}

/* Employee profile identity banner section. */
.self-profile-identity{display:flex;align-items:center;gap:22px;padding:22px 24px;border:1px solid #cfe2fa;border-radius:8px;background:linear-gradient(110deg,#fff 0%,#f3f9ff 58%,#eefbf7 100%);box-shadow:0 14px 34px rgba(17,77,137,.07)}.self-profile-avatar{display:grid;place-items:center;width:96px;height:96px;flex:0 0 auto;border:6px solid #e5f0ff;border-radius:50%;background:linear-gradient(135deg,#ffb26b,#1d70ed);color:#fff;font-size:25px;font-weight:900;box-shadow:0 10px 24px rgba(20,89,173,.17)}.self-profile-identity-copy{min-width:0;flex:1}.self-profile-name-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.self-profile-name-row h2{margin:0;color:#071f4d;font-size:24px}.self-profile-status{padding:5px 10px;border-radius:999px;background:#d9f8e9;color:#058152;font-size:10px;font-weight:900}.self-profile-identity-copy>p{margin:6px 0 14px;color:#3c6091;font-size:14px}.self-profile-meta{display:flex;gap:28px;flex-wrap:wrap}.self-profile-meta span{display:grid;gap:3px;color:#173f75;font-size:12px}.self-profile-meta b{color:#7185a4;font-size:9px;text-transform:uppercase;letter-spacing:0}

/* Employee profile completion section. */
.self-profile-completion{display:grid;grid-template-columns:auto minmax(160px,1fr) 44px;align-items:center;gap:18px;margin:14px 0;padding:14px 18px;border:1px solid #d6e5f5;border-radius:8px;background:#fff}.self-profile-completion strong,.self-profile-completion span{display:block}.self-profile-completion strong{font-size:12px;color:#0a326d}.self-profile-completion span{margin-top:3px;color:#6b80a1;font-size:10px}.self-profile-completion>b{color:#0a7d58;font-size:13px;text-align:right}.self-profile-progress{height:8px;overflow:hidden;border-radius:999px;background:#e8eff7}.self-profile-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#24be82,#2874f0)}

/* Employee profile information panels section. */
.self-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.self-profile-panel{min-width:0;padding:18px;border:1px solid #d1e1f3;border-radius:8px;background:#fff;box-shadow:0 12px 28px rgba(17,77,137,.055)}.self-profile-panel-heading{display:flex;align-items:center;gap:11px;margin-bottom:16px}.self-profile-panel-heading>div{min-width:0;flex:1}.self-profile-panel-heading h2{margin:0;color:#082c68;font-size:15px}.self-profile-panel-heading p{margin:3px 0 0;color:#7185a4;font-size:10px}.self-profile-panel-heading>a{color:var(--theme-primary);font-size:11px;font-weight:800}.self-profile-panel-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border-radius:7px;background:#e4efff;color:#1764dc;font-size:12px;font-weight:900}.self-profile-panel-icon.green{background:#dcf8eb;color:#0a9a62}.self-profile-panel-icon.orange{background:#fff0d6;color:#dc8500}.self-profile-panel-icon.red{background:#ffe3e7;color:#dc354d}.self-profile-panel-icon.purple{background:#eee5ff;color:#7540d5}.self-profile-panel-icon.cyan{background:#ddf8fa;color:#048c94}

/* Employee profile detail fields section. */
.self-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}.self-profile-details>div{min-width:0;padding:11px 10px 11px 0;border-top:1px solid #edf2f7}.self-profile-details>div:nth-child(-n+2){border-top:0}.self-profile-details>div.full{grid-column:1 / -1}.self-profile-details dt{margin-bottom:5px;color:#7589a7;font-size:9px;font-weight:800;text-transform:uppercase}.self-profile-details dd{margin:0;color:#112f5e;font-size:12px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}

/* Employee profile document list section. */
.self-profile-document-list{display:grid}.self-profile-document-list article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #edf2f7}.self-profile-document-list article:first-child{border-top:0}.self-profile-document-list article>span{display:grid;place-items:center;width:31px;height:36px;border-radius:5px;background:#e8f2ff;color:#1764dc;font-size:10px;font-weight:900}.self-profile-document-list strong,.self-profile-document-list small{display:block}.self-profile-document-list strong{color:#102f61;font-size:11px}.self-profile-document-list small{max-width:260px;margin-top:3px;color:#7185a4;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.self-profile-document-list time{color:#637a9d;font-size:9px;white-space:nowrap}.self-profile-no-data{margin:0;padding:22px 10px;border-top:1px solid #edf2f7;color:#7185a4;font-size:11px;text-align:center}

/* Employee profile unavailable state section. */
.self-profile-empty{display:flex;align-items:center;gap:18px;max-width:760px;margin:50px auto;padding:28px;border:1px solid #ffd7dc;border-radius:8px;background:#fff;box-shadow:0 14px 34px rgba(17,77,137,.07)}.self-profile-empty-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 auto;border-radius:50%;background:#ffe7ea;color:#d83249;font-size:22px;font-weight:900}.self-profile-empty h1{margin:0 0 7px;color:#082c68;font-size:21px}.self-profile-empty p{margin:0;color:#5b7398;font-size:12px;line-height:1.5}

/* Employee profile responsive section. */
@media(max-width:900px){.self-profile-heading{align-items:flex-start;flex-direction:column}.self-profile-grid{grid-template-columns:1fr}}
@media(max-width:600px){.self-profile-heading h1{font-size:24px}.self-profile-actions,.self-profile-button{width:100%}.self-profile-identity{align-items:flex-start;flex-direction:column;padding:18px}.self-profile-avatar{width:78px;height:78px}.self-profile-name-row h2{font-size:20px}.self-profile-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px}.self-profile-completion{grid-template-columns:1fr 42px}.self-profile-progress{grid-column:1 / -1;grid-row:2}.self-profile-details{grid-template-columns:1fr}.self-profile-details>div:nth-child(2){border-top:1px solid #edf2f7}.self-profile-details>div.full{grid-column:auto}.self-profile-document-list article{grid-template-columns:34px minmax(0,1fr)}.self-profile-document-list time{grid-column:2}}

/* Employee profile edit page section. */
.employee-edit-page{max-width:1200px;margin:0 auto}.employee-edit-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.employee-edit-heading p{margin:0 0 5px;color:var(--theme-primary);font-size:11px;font-weight:900;text-transform:uppercase}.employee-edit-heading h1{margin:0;color:#082c68;font-size:28px}.employee-edit-heading span{display:block;margin-top:7px;color:#54709a;font-size:13px}.employee-edit-form{overflow:hidden;border:1px solid #d1e1f3;border-radius:8px;background:#fff;box-shadow:0 16px 38px rgba(17,77,137,.07)}

/* Employee profile edit summary section. */
.employee-edit-summary{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:13px;padding:16px 20px;border-bottom:1px solid #dbe7f4;background:linear-gradient(110deg,#f8fbff,#f0f8ff 65%,#f0fbf7)}.employee-edit-summary>span{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,#ffb26b,#1d70ed);color:#fff;font-size:14px;font-weight:900}.employee-edit-summary strong,.employee-edit-summary small{display:block}.employee-edit-summary strong{color:#082c68;font-size:14px}.employee-edit-summary small{margin-top:4px;color:#647c9f;font-size:10px}.employee-edit-summary em{padding:6px 11px;border-radius:999px;background:#d9f8e9;color:#058152;font-size:10px;font-style:normal;font-weight:900}

/* Employee profile edit form sections. */
.employee-edit-section{margin:0;padding:20px;border:0;border-bottom:1px solid #e4edf7}.employee-edit-section legend{display:flex;align-items:baseline;gap:10px;width:100%;padding:0 0 15px}.employee-edit-section legend b{color:#082c68;font-size:15px}.employee-edit-section legend span{color:#7185a4;font-size:10px}.employee-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.employee-edit-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.employee-edit-grid label{display:grid;align-content:start;gap:7px;min-width:0;color:#315a91;font-size:11px;font-weight:800}.employee-edit-grid label.wide{grid-column:1 / -1}.employee-edit-grid input,.employee-edit-grid select,.employee-edit-grid textarea{width:100%;min-width:0;border:1px solid #c8daee;border-radius:6px;background:#fff;color:#172b4d;font:inherit;font-weight:500;outline:none}.employee-edit-grid input,.employee-edit-grid select{height:42px;padding:0 11px}.employee-edit-grid textarea{min-height:76px;padding:11px;resize:vertical;line-height:1.45}.employee-edit-grid input:focus,.employee-edit-grid select:focus,.employee-edit-grid textarea:focus{border-color:var(--theme-primary);box-shadow:0 0 0 3px rgba(40,116,240,.12)}

/* Employee profile read-only employment section. */
.employee-edit-readonly{display:grid;grid-template-columns:repeat(2,minmax(0,220px)) 1fr;align-items:center;gap:24px;padding:18px 20px;border-bottom:1px solid #e4edf7;background:#f8fbff}.employee-edit-readonly div{display:grid;gap:4px}.employee-edit-readonly b{color:#7185a4;font-size:9px;text-transform:uppercase}.employee-edit-readonly span{color:#102f61;font-size:12px;font-weight:800}.employee-edit-readonly p{margin:0;color:#647c9f;font-size:11px;text-align:right}

/* Employee profile edit action section. */
.employee-edit-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:16px 20px;background:#fbfdff}.employee-edit-actions button,.employee-edit-actions .button{min-width:120px;text-align:center}

/* Employee profile edit responsive section. */
@media(max-width:900px){.employee-edit-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-edit-readonly{grid-template-columns:1fr 1fr}.employee-edit-readonly p{grid-column:1 / -1;text-align:left}}
@media(max-width:600px){.employee-edit-heading{align-items:flex-start;flex-direction:column}.employee-edit-heading .button{width:100%;text-align:center}.employee-edit-grid,.employee-edit-grid.three{grid-template-columns:1fr}.employee-edit-grid label.wide{grid-column:auto}.employee-edit-section{padding:17px 15px}.employee-edit-section legend{align-items:flex-start;flex-direction:column;gap:4px}.employee-edit-summary{grid-template-columns:48px minmax(0,1fr)}.employee-edit-summary em{grid-column:2;justify-self:start}.employee-edit-readonly{grid-template-columns:1fr}.employee-edit-readonly p{grid-column:auto}.employee-edit-actions{display:grid;grid-template-columns:1fr 1fr;padding:14px}.employee-edit-actions button,.employee-edit-actions .button{min-width:0}}

/* Shared employee profile photo display section. */
.avatar,.sidebar-user-avatar,.employee-profile-avatar,.self-profile-avatar,.employee-edit-avatar{overflow:hidden}.avatar img,.sidebar-user-avatar img,.employee-profile-avatar img,.self-profile-avatar img,.employee-edit-avatar img{width:100%;height:100%;object-fit:cover}

/* Employee profile photo upload section. */
.employee-photo-control{display:flex;align-items:center;gap:18px}.employee-photo-preview{display:grid;place-items:center;width:92px;height:92px;flex:0 0 auto;overflow:hidden;border:4px solid #e5effb;border-radius:50%;background:linear-gradient(135deg,#ffb26b,#1d70ed);color:#fff;font-size:22px;font-weight:900}.employee-photo-preview img{width:100%;height:100%;object-fit:cover}.employee-photo-picker{display:grid;justify-items:start;gap:7px;color:#315a91;font-size:11px;font-weight:800}.employee-photo-picker>span{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 15px;border-radius:6px;background:var(--theme-primary);color:#fff;cursor:pointer}.employee-photo-picker input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.employee-photo-picker small{color:#7185a4;font-size:10px;font-weight:500}

/* Employee profile photo responsive section. */
@media(max-width:600px){.employee-photo-control{align-items:flex-start;flex-direction:column}}
