/* Edit these five palette values to change the HRMS theme. */
:root {
 --palette-1: #f5fcff;
 --palette-2: #dbf3fa;
 --palette-3: #b7e9f6;
 --palette-4: #92dff3;
 --palette-5: #7ad7f0;
 --brand-primary: #167c9b;
 --brand-accent: var(--palette-5);
 --brand-soft: var(--palette-2);
 --brand-background: var(--palette-1);
 --brand-text: #183848;
 --surface-background: #fff;
 --surface-muted: var(--palette-1);
 --surface-border: #c7e5ee;
 --tab-overview: var(--palette-5);
 --tab-maps: var(--palette-4);
 --tab-calendar: var(--palette-3);
 --tab-timeline: var(--palette-2);
 --tab-table: var(--palette-5);
 --tab-dependencies: var(--palette-4);
 --tab-documents: var(--palette-3);
 --tab-update: var(--palette-2);
 --tab-inactive-background: var(--palette-1);
 --tab-inactive-text: #28546a;
 --tab-border: var(--palette-3);
 --tab-active-text: #14394b;
 --chart-one: #6675ee;
 --chart-two: #40c6e6;
 --chart-three: #64d7b5;
 --chart-four: #f4a9a7;
 --accent-violet: #6675ee;
 --accent-cyan: #40c6e6;
 --accent-mint: #64d7b5;
 --accent-peach: #f4a9a7;
 --accent-amber: #f5c56c;
 --panel-radius: 22px;
 --control-radius: 13px;
 --panel-shadow: 0 14px 38px rgba(72, 86, 145, .09);
}
.hr-workflow-progress{padding:1rem 1.2rem;margin:0 0 1.2rem;border:1px solid var(--surface-border);border-radius:var(--panel-radius);background:var(--surface-background)}
.hr-workflow-progress-head{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:.9rem;color:var(--brand-text)}
.hr-workflow-progress-head span{font-size:.83rem;color:var(--tab-inactive-text)}
.hr-workflow-progress ol{display:flex;gap:.45rem;list-style:none;margin:0;padding:0;overflow-x:auto}
.hr-workflow-step{display:flex;align-items:center;gap:.45rem;min-width:110px;flex:1;font-size:.82rem;color:var(--tab-inactive-text);padding-top:.48rem;border-top:4px solid var(--surface-border)}
.hr-workflow-step.done{border-color:var(--chart-three)}.hr-workflow-step.current{border-color:var(--chart-one)}.hr-workflow-step.failed{border-color:var(--chart-four)}
.hr-workflow-dot{display:inline-grid;place-items:center;flex:0 0 22px;height:22px;border:1px solid var(--surface-border);border-radius:50%;font-weight:800}
.hr-workflow-step.done .hr-workflow-dot{background:var(--chart-three);border-color:var(--chart-three);color:#14394b}.hr-workflow-step.current .hr-workflow-dot{border-color:var(--chart-one);box-shadow:inset 0 0 0 5px var(--chart-one)}.hr-workflow-step.failed .hr-workflow-dot{background:var(--chart-four);border-color:var(--chart-four);color:#14394b}
.hr-analytics-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}
.hr-analytics-metrics>div{display:flex;flex-direction:column;gap:.25rem}
.hr-analytics-metrics small{color:var(--tab-inactive-text)}.hr-analytics-metrics strong{font-size:1.65rem;color:var(--chart-one)}.hr-analytics-metrics span{font-size:.8rem;color:var(--tab-inactive-text)}
@media(max-width:900px){.hr-analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hr-analytics-metrics{grid-template-columns:1fr 1fr}.hr-analytics-metrics strong{font-size:1.25rem}}
body.hrms-shell,body.erp-public {background:var(--palette-1);color:var(--brand-text)}
.hrms-shell.erp-shell{background:var(--palette-1)}
.hrms-shell .erp-sidebar{background:#e9f8fc;border-right:1px solid var(--surface-border)}
.hrms-shell .erp-sidebar-head{background:var(--palette-2);border-color:var(--surface-border)}
.hrms-shell .erp-topbar,.erp-public .erp-topbar{background:#fff;border-color:var(--surface-border)}
.hrms-shell .erp-content>footer,.erp-public .erp-content>footer{background:var(--palette-2);border-color:var(--surface-border)!important}
.hrms-shell .erp-form-panel,.erp-public .erp-form-panel{background:var(--palette-1);border-color:var(--surface-border);box-shadow:0 8px 20px #1838480f}
.hrms-shell .erp-nav-link,.hrms-shell .erp-nav-group>summary,.hrms-shell .erp-nav-children a{color:var(--brand-text)}
.hrms-shell .erp-nav-initial{color:var(--brand-primary);border-color:var(--palette-3)}
.hrms-shell .erp-nav-link:hover,.hrms-shell .erp-nav-group>summary:hover,.hrms-shell .erp-nav-children a:hover{background:var(--palette-2);color:var(--brand-primary)}
.hrms-shell .eyebrow,.erp-public .eyebrow{color:var(--brand-primary)}
.hrms-shell a:hover,.erp-public a:hover{color:var(--chart-three)}
.hrms-shell .erp-nav-link.active,.hrms-shell .erp-nav-children a.active{background:var(--palette-4);color:#103f54}
.hrms-shell .erp-nav-link:hover{background:var(--palette-2)}
.hrms-shell .erp-topbar{background:#fff;border-bottom:1px solid var(--surface-border)}
.brand-symbol{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--chart-one);color:#fff;font-weight:800}
.brand-word{font-weight:750;color:#1a5268;margin-left:.5rem}
.topbar-label{font-weight:750;color:#1a5268}
.page-heading{margin:1.3rem 0 1.6rem}.page-heading h1{font-size:clamp(1.8rem,3vw,2.6rem);font-weight:760;margin:.2rem 0}.page-heading p{color:#557182;margin:0}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.metric-card{display:flex;flex-direction:column;padding:1.25rem;border:1px solid var(--surface-border);border-radius:16px;background:#fff;color:var(--brand-text);text-decoration:none;box-shadow:0 8px 24px #1a66700d}.metric-card strong{font-size:2.2rem;color:#167c9b}.metric-card small{color:#607c89}
.home-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.home-grid .app-panel{border-radius:16px;border:1px solid var(--surface-border);background:#fff}.quick-links{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.quick-links a{padding:.8rem;background:var(--palette-1);border-radius:10px;text-decoration:none;color:#176c89;font-weight:650}.chart-row{display:flex;flex-direction:column;gap:.75rem;margin:1.2rem 0}.chart-row span{height:16px;background:var(--bar);border-radius:100px}
.profile-list{display:grid;grid-template-columns:10rem 1fr;gap:.7rem}.profile-list dt{color:#607c89;font-weight:550}.profile-list dd{margin:0;font-weight:650}.status-pill{display:inline-block;background:var(--palette-2);border-radius:100px;padding:.25rem .6rem;color:#176c89;font-size:.8rem;font-weight:700}
.btn-primary,.btn-success{background:#167c9b;border-color:#167c9b}.btn-primary:hover,.btn-success:hover{background:#11627b;border-color:#11627b}
.hr-task-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 0;border-bottom:1px solid var(--surface-border)}
.hr-task-row:last-child{border-bottom:0}
.leave-balance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}
.leave-balance-grid .app-panel,.leave-balance-grid.compact>div{display:flex;flex-direction:column;border:1px solid var(--surface-border);border-radius:12px;background:#fff}
.leave-balance-grid strong{font-size:1.45rem;color:var(--brand-primary)}
.leave-balance-grid small{color:#607c89}
.leave-balance-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.leave-balance-grid.compact>div{padding:.8rem}
.attendance-chart{display:flex;flex-direction:column;gap:.7rem;margin-top:1rem}.attendance-chart-row{display:grid;grid-template-columns:3rem 1fr 2rem;align-items:center;gap:.7rem}.attendance-chart-row>div{height:16px;background:var(--palette-1);border-radius:100px;overflow:hidden}.attendance-chart-row i{display:block;height:100%;background:var(--chart-one);border-radius:100px}.attendance-chart-row strong{text-align:right;font-size:.9rem;color:var(--brand-primary)}
@media(max-width:900px){.leave-balance-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.leave-balance-grid,.leave-balance-grid.compact{grid-template-columns:1fr 1fr}.hr-task-row{align-items:flex-start;flex-direction:column}}
@media(max-width:900px){.metric-grid{grid-template-columns:repeat(2,1fr)}.home-grid{grid-template-columns:1fr}}@media(max-width:560px){.metric-grid{grid-template-columns:1fr 1fr}.metric-card{padding:.8rem}.metric-card strong{font-size:1.7rem}.profile-list{grid-template-columns:1fr}.profile-list dt{margin-top:.4rem}}

/* The five base palette values above remain the main theme controls. These
   accents add the quiet lavender, mint, and peach notes used by HR dashboards. */
.hrms-shell.erp-shell, body.erp-public {
 background: radial-gradient(circle at 72% 5%, #e9e1ff 0, transparent 28%),
             radial-gradient(circle at 97% 25%, #dbf8ef 0, transparent 28%),
             radial-gradient(circle at 85% 94%, #fff0e9 0, transparent 26%),
             linear-gradient(145deg, #f5f7ff, #f8fcff 56%, #f8fbf9);
 color: var(--brand-text);
}
.hrms-shell .erp-sidebar {
 margin: 16px 0 16px 16px;
 height: calc(100vh - 32px);
 background: rgba(250, 252, 255, .91);
 border: 1px solid rgba(255,255,255,.9);
 border-radius: 25px;
 box-shadow: var(--panel-shadow);
 backdrop-filter: blur(16px);
}
.hrms-shell .erp-sidebar-head { background: transparent; border-color: #e7eaf4; }
.hrms-shell .erp-nav { gap: 5px; padding: 16px 12px; }
.hrms-shell .erp-nav-link, .hrms-shell .erp-nav-group>summary { border-radius: 12px; min-height: 43px; }
.hrms-shell .erp-nav-link.active, .hrms-shell .erp-nav-children a.active {
 background: #fff; color: #4455c9; box-shadow: 0 5px 16px rgba(94, 111, 193, .12);
}
.hrms-shell .erp-nav-link:hover, .hrms-shell .erp-nav-group>summary:hover, .hrms-shell .erp-nav-children a:hover { background: #edf4ff; color: #4455c9; }
.hrms-shell .erp-nav-initial { border-radius: 9px; border-color: #dce7f9; background: #f3f7ff; color: #6371c9; }
.hrms-shell .erp-sidebar-toggle, .hrms-shell .erp-mobile-toggle { border-radius: 11px; border-color: #e4eaf5; }
.hrms-shell .erp-topbar { background: transparent; border: 0; }
.hrms-shell .erp-topbar-inner { background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.92); border-radius: 18px; box-shadow: 0 7px 22px rgba(83, 102, 164, .07); height: 56px; margin: 12px 24px 0; width: calc(100% - 48px); }
.hrms-shell .erp-main-container { padding-top: 12px; }
.hrms-shell .erp-content>footer { background: transparent; border: 0 !important; }
.hrms-shell .erp-content>footer .container { padding-bottom: 6px; }
.hrms-shell .brand-symbol { background: linear-gradient(140deg, var(--accent-violet), var(--accent-cyan)); border-radius: 13px; box-shadow: 0 7px 16px rgba(74, 159, 209, .24); }
.hrms-shell .brand-word, .hrms-shell .topbar-label { color: #293a5c; }
.hrms-shell .page-heading, .hrms-shell .section-heading { margin: 25px 0 19px; }
.hrms-shell .page-heading h1, .hrms-shell .section-heading h1 { font-size: clamp(1.8rem, 2.7vw, 2.55rem); font-weight: 780; letter-spacing: -.035em; color: #22304d; }
.hrms-shell .page-heading p, .hrms-shell .section-heading p { color: #77819b; }
.hrms-shell .eyebrow { color: #5b6ed0; }
.hrms-shell .app-panel, .hrms-shell .erp-form-panel, .hrms-shell .card, .hrms-shell .dashboard-hr-panel, .hrms-shell .record-section,
.erp-public .app-panel, .erp-public .card {
 background: rgba(255,255,255,.83); border: 1px solid rgba(255,255,255,.95); border-radius: var(--panel-radius);
 box-shadow: var(--panel-shadow); backdrop-filter: blur(10px);
}
.hrms-shell .app-panel h2, .hrms-shell .erp-form-panel h2 { color: #293654; font-weight: 740; }
.hrms-shell .metric-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.hrms-shell .metric-card { position: relative; overflow: hidden; min-height: 145px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.95); border-radius: var(--panel-radius); background: rgba(255,255,255,.8); box-shadow: var(--panel-shadow); transition: transform .18s ease, box-shadow .18s ease; }
.hrms-shell .metric-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(80, 96, 154, .15); }
.hrms-shell .metric-card::after { content: ''; position: absolute; width: 150px; height: 150px; right: -48px; top: -73px; border-radius: 50%; background: var(--metric-glow, #e8e9ff); opacity: .8; }
.hrms-shell .metric-card[data-tone="violet"] { --metric-glow: #d8dbff; --metric-value: #535edf; }
.hrms-shell .metric-card[data-tone="cyan"] { --metric-glow: #c9f3fc; --metric-value: #168eb6; }
.hrms-shell .metric-card[data-tone="mint"] { --metric-glow: #d4f8e9; --metric-value: #278b70; }
.hrms-shell .metric-card[data-tone="peach"] { --metric-glow: #ffe6df; --metric-value: #c27272; }
.hrms-shell .metric-card span, .hrms-shell .metric-card strong, .hrms-shell .metric-card small { position: relative; z-index: 1; }
.hrms-shell .metric-card span { color: #626f8f; font-weight: 650; }
.hrms-shell .metric-card strong { color: var(--metric-value, #535edf); font-size: 2.55rem; letter-spacing: -.05em; }
.hrms-shell .metric-card small { color: #8690a7; }
.hrms-shell .home-grid .app-panel { border-radius: var(--panel-radius); background: rgba(255,255,255,.83); }
.hrms-shell .admin-tabs { display: inline-flex; max-width: 100%; flex-wrap: wrap; gap: 5px; padding: 5px; margin: 0 0 18px; border: 1px solid #e5eafa; border-radius: 15px; background: rgba(255,255,255,.65); box-shadow: 0 5px 18px rgba(79, 96, 151, .07); }
.hrms-shell .admin-tabs button { border: 0; border-radius: 10px; padding: 9px 15px; color: #65718d; }
.hrms-shell .admin-tabs button:hover { background: #eef2ff; color: #4858bd; }
.hrms-shell .admin-tabs button.active { border: 0; background: #fff; color: #4858bd; box-shadow: 0 4px 13px rgba(92, 104, 179, .15); }
.hrms-shell .btn { border-radius: 12px; font-weight: 650; }
.hrms-shell .btn-primary, .hrms-shell .btn-success { background: linear-gradient(105deg, var(--accent-violet), var(--accent-cyan)); border-color: transparent; box-shadow: 0 5px 14px rgba(82, 132, 217, .2); color: #fff; }
.hrms-shell .btn-primary:hover, .hrms-shell .btn-success:hover { background: linear-gradient(105deg, #5662d8, #2aafd2); border-color: transparent; color: #fff; }
.hrms-shell .btn-outline-primary { border-color: #bfc9f7; color: #4e60c5; }
.hrms-shell .btn-outline-primary:hover { background: #edf0ff; color: #3e50bb; border-color: #aebbf2; }
.hrms-shell .form-control, .hrms-shell .form-select { border-radius: var(--control-radius); border-color: #e1e8f3; background-color: rgba(251,253,255,.9); }
.hrms-shell .form-control:focus, .hrms-shell .form-select:focus { border-color: #95a6f2; box-shadow: 0 0 0 3px rgba(102, 117, 238, .12); }
.erp-public .form-control, .erp-public .form-select { border-radius: var(--control-radius); border-color: #e1e8f3; }
.erp-public .btn-primary { background: linear-gradient(105deg, var(--accent-violet), var(--accent-cyan)); border-color: transparent; border-radius: 12px; }
.hrms-shell .form-label, .hrms-shell label { color: #53617c; }
.hrms-shell .table-responsive { border-radius: 15px; }
.hrms-shell .table { --bs-table-bg: transparent; --bs-table-border-color: #e9edf4; color: #34425d; }
.hrms-shell .table thead th { background: #f1f4ff; color: #596786; border-bottom: 1px solid #e3e8f4; font-size: .82rem; }
.hrms-shell .table tbody tr:hover { background: #f5f7ff; }
.hrms-shell .admin-sortable-table .record-link { color: #4d61c4; }
.hrms-shell .admin-sortable-table tr[data-detail-url]:hover, .hrms-shell .admin-sortable-table tr[data-detail-url]:focus { outline-color: #8b9cf0; }
.hrms-shell .status-pill { background: #e5f8f3; color: #277c69; }
.hrms-shell .quick-links a { border: 1px solid #e6eafb; background: #f6f8ff; border-radius: 13px; color: #5365c7; }
.hrms-shell .quick-links a:hover { background: #e9edff; }
.hrms-shell .hr-calendar-grid { border-color: #e3e9f5; border-radius: 16px; }
.hrms-shell .hr-calendar-weekday { background: #edf0ff; color: #5b67a0; }
.hrms-shell .hr-calendar-day { border-color: #edf0f7; background: rgba(255,255,255,.85); }
.hrms-shell .hr-calendar-day.empty { background: #f7f9fd; }
.hrms-shell .hr-calendar-day.today { box-shadow: inset 0 0 0 2px var(--accent-violet); }
.hrms-shell .hr-calendar-event { border-radius: 8px; background: #e9edff; color: #4c5fc4; }
.hrms-shell .hr-calendar-holiday { background: #e1f8eb; color: #27785c; }
.hrms-shell .hr-calendar-approved { background: #dff5ec; color: #287960; }
.hrms-shell .hr-calendar-pending { background: #fff1d7; color: #8c691e; }
.hrms-shell .hr-calendar-rejected, .hrms-shell .hr-calendar-cancelled { background: #edf0f6; color: #68758e; }

/* Dashboard visualizations */
.hr-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(290px,.9fr); gap: 16px; }
.hr-panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 16px; }
.hr-panel-heading h2 { margin: 4px 0; }
.hr-panel-heading p { margin: 0; color: #8892a8; font-size: .86rem; }
.hr-panel-heading>a { color: #5366cf; white-space: nowrap; text-decoration: none; font-weight: 650; font-size: .85rem; }
.hr-line-chart { min-height: 260px; display: grid; align-items: center; }
.hr-line-chart svg { width: 100%; height: auto; overflow: visible; }
.hr-chart-gridline { stroke: #e6ebf6; stroke-dasharray: 4 5; }
.hr-chart-area { fill: rgba(103, 165, 241, .16); }
.hr-chart-line { fill: none; stroke: var(--accent-violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hr-chart-dot { fill: #fff; stroke: var(--accent-cyan); stroke-width: 3; }
.hr-chart-label { fill: #8d98ae; font-size: 12px; }
.hr-donut { width: min(225px,75%); aspect-ratio: 1; margin: 12px auto 20px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--accent-violet) 0 var(--office-stop), var(--accent-cyan) var(--office-stop) var(--remote-stop), var(--accent-mint) var(--remote-stop) var(--leave-stop), #e8edf4 var(--leave-stop) 100%); }
.hr-donut>div { width: 68%; height: 68%; border-radius: 50%; background: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: inset 0 0 0 1px #f0f2f9; }
.hr-donut strong { font-size: 2.1rem; line-height: 1; color: #2b3655; }
.hr-donut span { color: #8993a9; font-size: .78rem; margin-top: 5px; }
.hr-donut-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: .79rem; }
.hr-donut-legend span { display: flex; align-items: center; gap: 6px; min-width: 0; color: #75819a; }
.hr-donut-legend strong { margin-left: auto; color: #34425d; }
.hr-donut-legend i { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.hr-donut-legend .office { background: var(--accent-violet); }.hr-donut-legend .remote { background: var(--accent-cyan); }.hr-donut-legend .leave { background: var(--accent-mint); }.hr-donut-legend .unchecked { background: #cbd3e0; }
.hr-request-preview { display: flex; align-items: center; gap: 11px; padding: 10px 5px; border-bottom: 1px solid #e9edf5; color: #33405e; text-decoration: none; }
.hr-request-preview:last-child { border-bottom: 0; }.hr-request-preview:hover { background: #f5f7ff; border-radius: 12px; }
.hr-request-preview>span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }.hr-request-preview small { color: #8792a8; }
.hr-request-preview .status-pill { margin-left: auto; }.hr-avatar { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; border-radius: 50%; color: #fff; font-weight: 700; background: linear-gradient(140deg,var(--accent-violet),var(--accent-cyan)); }
.hr-week-chart { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 14px; height: 185px; align-items: end; margin-top: 12px; }
.hr-week-column { height: 100%; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 5px; color: #68758f; font-size: .78rem; }
.hr-week-column strong { color: #4050b6; }.hr-week-column small { font-size: .75rem; }
.hr-week-track { display: block; height: 125px; width: min(44px,100%); border-radius: 13px; background: #edf1fa; position: relative; overflow: hidden; }
.hr-week-track i { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 13px; background: linear-gradient(180deg,var(--accent-cyan),var(--accent-violet)); }

/* Employee cards and leave timeline */
.hr-directory-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin: 16px 0 18px; }
.hr-directory-toolbar input { max-width: 420px; }
.hr-directory-toolbar select { max-width: 170px; }
.hr-view-toggle { display: inline-flex; padding: 4px; border: 1px solid #e4eafa; border-radius: 12px; background: #f7f9ff; }
.hr-view-toggle button { border: 0; border-radius: 9px; padding: 6px 12px; background: transparent; color: #77839b; }
.hr-view-toggle button[aria-pressed="true"] { background: #fff; color: #4f61c4; box-shadow: 0 3px 10px #6b77ad22; }
.hr-people-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(225px,1fr)); gap: 15px; }
.hr-person-card { min-width: 0; padding: 17px; border: 1px solid #e9edf7; border-radius: 19px; background: linear-gradient(145deg,#f8faff,#fff 58%,#f8fcff); box-shadow: 0 7px 18px #6579a10c; transition: transform .18s ease, box-shadow .18s ease; }
.hr-person-card:hover { transform: translateY(-3px); box-shadow: 0 14px 26px #6579a121; }
.hr-person-card[hidden], .hr-people-grid[hidden], .hrms-shell [data-people-view="list"][hidden] { display: none !important; }
.person-status { display: inline-block; border-radius: 100px; padding: 4px 9px; background: #e0f7ee; color: #318367; font-size: .74rem; font-weight: 700; }
.person-status[data-status="Onboarding"] { background: #e9eaff; color: #6466c4; }.person-status[data-status="Inactive"] { background: #f0f1f4; color: #748098; }
.hr-person-avatar { display: grid; place-items: center; width: 60px; height: 60px; margin: 10px auto 12px; border-radius: 50%; background: linear-gradient(145deg,var(--accent-violet),var(--accent-cyan)); border: 4px solid #fff; box-shadow: 0 0 0 2px #a6b5f5; color: #fff; font-weight: 800; font-size: 1.1rem; }
.hr-person-card:nth-child(4n+2) .hr-person-avatar { background: linear-gradient(145deg,#f07f9b,var(--accent-peach)); box-shadow: 0 0 0 2px #f5bec9; }
.hr-person-card:nth-child(4n+3) .hr-person-avatar { background: linear-gradient(145deg,#53cdb3,#8ee2c2); box-shadow: 0 0 0 2px #a9e6d0; }
.hr-person-card:nth-child(4n+4) .hr-person-avatar { background: linear-gradient(145deg,#f4ae55,#f6d487); box-shadow: 0 0 0 2px #f6d294; }
.hr-person-card h3 { margin: 0; text-align: center; font-size: 1rem; }.hr-person-card h3 a { color: #2b3856; text-decoration: none; }
.hr-person-card p { text-align: center; color: #8791a7; font-size: .82rem; min-height: 1.2rem; margin: 4px 0 14px; }
.hr-person-card dl { border-top: 1px solid #edf0f7; padding-top: 11px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 0 12px; }
.hr-person-card dt { color: #9aa3b5; font-size: .72rem; font-weight: 500; }.hr-person-card dd { margin: 2px 0 0; color: #4a5772; font-size: .81rem; overflow-wrap: anywhere; }
.hr-person-actions { display: flex; gap: 8px; }.hr-person-actions a { flex: 1; text-align: center; padding: 7px 5px; background: #fff; border: 1px solid #ecf0f8; border-radius: 10px; color: #5566c4; text-decoration: none; font-size: .8rem; font-weight: 650; }
.hr-person-actions a:hover { background: #eef2ff; }
.hr-leave-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.hr-leave-metrics a { display: flex; flex-direction: column; gap: 4px; padding: 16px 19px; border: 1px solid #fff; border-radius: 19px; background: rgba(255,255,255,.78); box-shadow: var(--panel-shadow); color: #33415f; text-decoration: none; }
.hr-leave-metrics a:nth-child(1) { background: linear-gradient(135deg,#fff,#f0f0ff); }.hr-leave-metrics a:nth-child(2) { background: linear-gradient(135deg,#fff,#eafaf4); }.hr-leave-metrics a:nth-child(3) { background: linear-gradient(135deg,#fff,#eaf9ff); }
.hr-leave-metrics small { color: #8993aa; }.hr-leave-metrics strong { color: #3849a8; font-size: 1.7rem; line-height: 1.1; }.hr-leave-metrics span { color: #9aa3b4; font-size: .76rem; }
.hr-timeline-navigation { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }.hr-timeline-navigation strong { color: #364360; }
.hr-timeline-scroll { overflow-x: auto; border: 1px solid #e8edf6; border-radius: 15px; }
.hr-timeline-grid { min-width: 800px; }.hr-timeline-row { display: grid; grid-template-columns: 170px repeat(7,minmax(90px,1fr)); align-items: stretch; min-height: 53px; border-bottom: 1px solid #edf0f7; }
.hr-timeline-row:last-child { border-bottom: 0; }.hr-timeline-heading { min-height: 39px; background: #f1f4ff; color: #687493; font-size: .76rem; font-weight: 700; }
.hr-timeline-heading span { padding: 11px 8px; border-right: 1px solid #e8edf6; text-align: center; }.hr-timeline-heading span:first-child { text-align: left; padding-left: 14px; }
.hr-timeline-person { grid-column: 1; grid-row: 1; padding: 15px 10px 10px 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .81rem; color: #46526b; }
.hr-timeline-cell { grid-row: 1; min-height: 53px; border-left: 1px solid #f0f2f8; }.hr-timeline-bar { grid-row: 1; z-index: 1; align-self: center; margin: 3px 4px; padding: 7px 9px; border-radius: 8px; color: #fff; text-decoration: none; font-size: .76rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--accent-violet); }
.hr-timeline-bar:hover { color: #fff; filter: brightness(.94); }.hr-timeline-bar.casual { background: var(--accent-cyan); }.hr-timeline-bar.sick { background: #f1849f; }.hr-timeline-bar.parental { background: #a789e8; }.hr-timeline-bar.pending { opacity: .66; border: 1px dashed #576ca3; }
.hr-timeline-empty { padding: 22px; color: #8993a8; margin: 0; }
@media (max-width: 1200px) { .hrms-shell .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) { .hr-dashboard-grid { grid-template-columns: 1fr; } .hrms-shell .erp-sidebar { margin: 0; height: 100vh; border-radius: 0 22px 22px 0; } .hrms-shell .erp-topbar-inner { margin: 8px 12px 0; width: calc(100% - 24px); } }
@media (max-width: 600px) { .hrms-shell .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .hrms-shell .metric-card { min-height: 120px; padding: 14px; }.hrms-shell .metric-card strong { font-size: 2rem; }.hr-directory-toolbar { flex-direction: column; align-items: stretch; }.hr-directory-toolbar input, .hr-directory-toolbar select { max-width: none; }.hr-view-toggle { align-self: flex-end; }.hr-leave-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }.hr-leave-metrics a { padding: 11px; }.hr-leave-metrics strong { font-size: 1.35rem; } .hr-panel-heading { flex-direction: column; } }

