:root{--ink:#172033;--muted:#697386;--line:#e4e9f1;--surface:#fff;--soft:#f5f7fb;--accent:#275efe;--accent2:#4b7cff;--nav:#101a2d;--ok:#16805d;--danger:#b42318;--shadow:0 18px 55px rgba(20,38,75,.13);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--soft)}
*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--soft)}button,input,a{font:inherit}button{border:0}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid rgba(39,94,254,.25);outline-offset:2px}.eyebrow{margin:0 0 7px;color:var(--accent);font-size:.72rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.logo{display:flex;align-items:center;gap:11px}.logo>span{display:grid;width:44px;height:44px;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(145deg,#79a0ff,var(--accent));box-shadow:0 12px 28px rgba(39,94,254,.32);font-weight:900}.langs{display:flex;gap:5px;padding:5px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.9)}.langs button{min-width:39px;padding:7px 9px;border-radius:999px;color:var(--muted);background:transparent;font-size:.76rem;font-weight:850;cursor:pointer}.langs button.active{color:#fff;background:var(--accent)}.langs.small button{min-width:34px;padding:6px}.primary{display:inline-flex;min-height:50px;align-items:center;justify-content:center;gap:11px;padding:12px 17px;border-radius:12px;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent2));box-shadow:0 13px 28px rgba(39,94,254,.27);font-weight:800;text-decoration:none;cursor:pointer}.primary:disabled{opacity:.6;cursor:wait}
.login-shell{display:grid;min-height:100vh;grid-template-columns:minmax(360px,1.05fr) minmax(420px,.95fr)}.login-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:clamp(36px,6vw,80px);color:#fff;background:radial-gradient(circle at 85% 10%,rgba(83,128,255,.35),transparent 28%),linear-gradient(145deg,#0e1a31,#193664)}.login-brand:after{position:absolute;right:-160px;bottom:-190px;width:430px;height:430px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.02);content:""}.hero,.trust-grid,.login-brand>.logo{position:relative;z-index:1}.hero{max-width:650px;padding:70px 0 50px}.hero .eyebrow{color:#9cb8ff}.hero h1{margin:0 0 20px;font-size:clamp(2.4rem,5vw,4.7rem);line-height:.98;letter-spacing:-.055em}.hero>p:last-child{max-width:590px;margin:0;color:rgba(255,255,255,.7);font-size:1.04rem;line-height:1.7}.trust-grid{display:grid;gap:12px}.trust-grid article{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.04)}.trust-grid b{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;color:#bed0ff;background:rgba(80,124,255,.16);font-size:.7rem}.trust-grid span{color:rgba(255,255,255,.72);font-size:.83rem}.login-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:23px;padding:clamp(28px,6vw,76px)}.login-side>.langs{align-self:flex-end}.login-card{width:min(100%,510px);padding:clamp(28px,4vw,44px);border:1px solid var(--line);border-radius:23px;background:rgba(255,255,255,.95);box-shadow:var(--shadow)}.login-card header h2{margin:0 0 8px;font-size:1.8rem;letter-spacing:-.035em}.login-card header>p:last-child{margin:0;color:var(--muted);line-height:1.55}.login-card form{display:grid;gap:18px;margin-top:30px}.login-card label{display:grid;gap:8px;font-size:.84rem;font-weight:760}.login-card input{width:100%;min-height:49px;padding:11px 13px;border:1px solid #d8dee9;border-radius:11px;color:var(--ink);background:#fff}.login-card input:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgba(39,94,254,.1)}.password-wrap{position:relative}.password-wrap input{padding-right:86px}.password-wrap button{position:absolute;top:50%;right:7px;padding:7px 9px;border-radius:8px;color:var(--accent);background:#edf3ff;font-size:.75rem;font-weight:800;transform:translateY(-50%);cursor:pointer}.status{min-height:21px;margin:-4px 0 0;color:var(--danger);font-size:.82rem;font-weight:650}.status.ok{color:var(--ok)}.login-card footer{display:grid;gap:10px;margin-top:24px;padding-top:21px;border-top:1px solid var(--line);color:var(--muted);font-size:.76rem;line-height:1.5}.login-card footer p{margin:0}.secure-note{display:flex;gap:7px;color:var(--ok);font-weight:750}
.app-shell{display:grid;min-height:100vh;grid-template-columns:268px minmax(0,1fr)}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;display:flex;width:268px;flex-direction:column;padding:23px 17px;color:#fff;background:linear-gradient(180deg,#101a2d,#111f38);box-shadow:12px 0 40px rgba(17,31,55,.09)}.sidebar-logo{padding:0 8px 21px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar nav{display:grid;gap:7px;margin-top:23px}.nav{display:grid;min-height:47px;grid-template-columns:27px 1fr auto;align-items:center;gap:8px;width:100%;padding:10px 12px;border-radius:11px;color:rgba(255,255,255,.67);background:transparent;font-size:.84rem;font-weight:700;text-align:left;text-decoration:none}.nav.active{color:#fff;background:linear-gradient(135deg,#2b5ef4,#4b79ff);box-shadow:0 10px 24px rgba(20,57,160,.3)}.nav:disabled{opacity:.58}.nav small{padding:3px 6px;border-radius:99px;background:rgba(255,255,255,.07);font-size:.58rem}.logout{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin-top:auto;padding:10px 12px;border-radius:11px;color:#ffb6af;background:rgba(255,100,89,.08);font-weight:750;cursor:pointer}.main{grid-column:2;min-width:0;padding:0 33px 44px}.topbar{position:sticky;z-index:20;top:0;display:flex;min-height:90px;align-items:center;justify-content:space-between;gap:20px;margin:0 -33px;padding:17px 33px;border-bottom:1px solid var(--line);background:rgba(245,247,251,.9);backdrop-filter:blur(18px)}.topbar-title,.top-actions,.user-chip{display:flex;align-items:center}.topbar-title{gap:13px}.topbar h1{margin:0;font-size:1.6rem;letter-spacing:-.035em}.top-actions{gap:13px}.user-chip{gap:9px;padding:6px 10px 6px 6px;border:1px solid var(--line);border-radius:13px;background:#fff}.user-chip>span{display:grid;width:37px;height:37px;place-items:center;border-radius:10px;color:#fff;background:linear-gradient(145deg,var(--accent),#7b9dff);font-size:.7rem;font-weight:900}.user-chip div{display:grid;max-width:210px}.user-chip strong,.user-chip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-chip strong{font-size:.79rem}.user-chip small{color:var(--muted);font-size:.67rem}.menu{display:none;width:41px;height:41px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.loading,.error{display:flex;min-height:55vh;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:var(--muted);text-align:center}.loading i{width:34px;height:34px;border:3px solid #dce6ff;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.content{display:grid;gap:20px;padding-top:27px}.welcome{display:flex;min-height:185px;align-items:center;justify-content:space-between;gap:25px;padding:clamp(26px,5vw,44px);border-radius:22px;color:#fff;background:radial-gradient(circle at 85% 8%,rgba(145,175,255,.55),transparent 30%),linear-gradient(135deg,#183263,#275efe 65%,#4e7cff);box-shadow:0 21px 53px rgba(34,77,179,.22)}.welcome .eyebrow{color:#cad7ff}.welcome h2{margin:0 0 9px;font-size:clamp(1.8rem,4vw,2.8rem);letter-spacing:-.045em}.welcome p:last-child{margin:0;color:rgba(255,255,255,.74)}.tenant-card{display:grid;min-width:190px;gap:4px;padding:15px 17px;border:1px solid rgba(255,255,255,.18);border-radius:13px;background:rgba(255,255,255,.1)}.tenant-card span,.tenant-card small{color:rgba(255,255,255,.68);font-size:.71rem}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.metrics article,.panel{border:1px solid var(--line);background:#fff;box-shadow:0 8px 25px rgba(25,39,69,.07)}.metrics article{display:grid;min-height:128px;align-content:center;gap:7px;padding:21px;border-radius:15px}.metrics span{color:var(--muted);font-size:.73rem;font-weight:750;text-transform:uppercase;letter-spacing:.06em}.metrics strong{overflow:hidden;font-size:1.35rem;text-overflow:ellipsis;white-space:nowrap}.metrics small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.panels{display:grid;grid-template-columns:.92fr 1.08fr;gap:17px}.panel{padding:23px;border-radius:15px}.panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.panel h3{margin:0;font-size:1.08rem}.panel h4{margin:16px 0 10px;color:var(--muted);font-size:.73rem;text-transform:uppercase;letter-spacing:.06em}.badge{padding:5px 8px;border-radius:99px;font-size:.66rem;font-weight:800}.badge.ok{color:var(--ok);background:#e1f5ed}.badge.warning{color:#976500;background:#fff2ce}.panel dl{margin:0}.panel dl>div{display:grid;grid-template-columns:120px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.panel dt{color:var(--muted);font-size:.77rem}.panel dd{overflow-wrap:anywhere;margin:0;font-size:.82rem;font-weight:700;text-align:right}.tags{display:flex;flex-wrap:wrap;gap:7px}.tag{max-width:100%;padding:6px 9px;border-radius:99px;color:#315291;background:#edf3ff;font-size:.7rem;font-weight:700;overflow-wrap:anywhere}.tag.role{color:#6941c6;background:#f1eaff}.muted{color:var(--muted);font-size:.77rem;line-height:1.55}.company-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.company{display:flex;min-height:86px;align-items:center;justify-content:space-between;gap:13px;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.company.active{border-color:#b7cbff;background:#edf3ff}.company>div{display:grid;min-width:0;gap:4px}.company strong,.company small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company small{color:var(--muted)}.company em{padding:5px 8px;border-radius:99px;color:var(--muted);background:#fff;font-size:.64rem;font-style:normal;font-weight:800}.company.active em{color:var(--ok);background:#e1f5ed}.error .primary{margin-top:5px}.backdrop{position:fixed;z-index:25;inset:0;background:rgba(8,17,33,.5);backdrop-filter:blur(3px)}
@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1180px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.panels{grid-template-columns:1fr}}@media(max-width:960px){.login-shell{grid-template-columns:1fr}.login-brand{padding:34px}.hero{padding:54px 0 34px}.trust-grid{grid-template-columns:repeat(3,1fr)}.login-side{padding:38px 22px 58px}.login-side>.langs{align-self:center}.app-shell{grid-template-columns:1fr}.sidebar{transform:translateX(-105%);transition:transform .18s ease}.sidebar.open{transform:translateX(0)}.main{grid-column:1;padding:0 21px 38px}.topbar{margin:0 -21px;padding:16px 21px}.menu{display:block}}@media(max-width:700px){.trust-grid{grid-template-columns:1fr}.trust-grid article:nth-child(3){display:none}.topbar{align-items:flex-start}.top-actions{align-items:flex-end;flex-direction:column-reverse}.welcome{align-items:flex-start;flex-direction:column}.tenant-card{width:100%}.metrics,.company-list{grid-template-columns:1fr}}@media(max-width:480px){.main{padding-left:14px;padding-right:14px}.topbar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.topbar .langs{display:none}.user-chip{max-width:150px}.panel dl>div{grid-template-columns:1fr;gap:4px}.panel dd{text-align:left}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;transition-duration:1ms!important}}
/* PIMM_HR_COMPANY_SWITCH_PATCH_V1_START */
#company-list {
  position: relative;
}

#company-list[data-switch-message]:not([data-switch-message=""])::before {
  content: attr(data-switch-message);
  display: block;
  margin-block-end: 0.65rem;
  font-size: 0.84rem;
  opacity: 0.82;
}

#company-list.company-switch-error::before {
  font-weight: 600;
}

.company-switch-item {
  list-style: none;
}

.company-switch-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.company-switch-button:hover:not(:disabled),
.company-switch-button:focus-visible:not(:disabled) {
  background: color-mix(
    in srgb,
    currentColor 9%,
    transparent
  );
}

.company-switch-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.company-switch-button-active {
  font-weight: 700;
}

.company-switch-button:disabled {
  cursor: default;
  opacity: 0.68;
}

.company-switch-pending .company-switch-button {
  pointer-events: none;
}

.company-switch-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-switch-code {
  flex: 0 0 auto;
  font-size: 0.78em;
  opacity: 0.72;
}
/* PIMM_HR_COMPANY_SWITCH_PATCH_V1_END */

/* PIMM_HR_ETAP4C_EMPLOYEE_FRONTEND_PATCH_V1_START */
.employee-workspace{margin-top:24px;padding:24px;border:1px solid var(--border);border-radius:24px;background:var(--card);box-shadow:0 18px 50px rgba(15,23,42,.08)}
.employee-workspace[hidden],.employee-panel[hidden],.employee-state[hidden]{display:none!important}
.employee-workspace-header,.employee-header-actions,.employee-pagination,.employee-form-actions,.employee-row-actions{display:flex;align-items:center}
.employee-workspace-header{justify-content:space-between;gap:20px;margin-bottom:20px}
.employee-workspace-header h2,.employee-panel h3{margin:4px 0 0}
.employee-eyebrow{margin:0;color:var(--primary);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.employee-muted{margin:8px 0 0;color:var(--muted)}
.employee-header-actions,.employee-form-actions,.employee-row-actions{gap:10px}
.employee-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(170px,.45fr) minmax(130px,.25fr);gap:14px;margin-bottom:18px}
.employee-toolbar label,.employee-form-grid label{display:grid;gap:7px;color:var(--muted);font-size:.82rem;font-weight:700}
.employee-toolbar input,.employee-toolbar select,.employee-form-grid input,.employee-form-grid select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--text);font:inherit}
.employee-toolbar input:focus,.employee-toolbar select:focus,.employee-form-grid input:focus,.employee-form-grid select:focus{border-color:var(--primary);outline:3px solid rgba(37,99,235,.12)}
.employee-state{margin:14px 0;padding:14px 16px;border-radius:14px}
.employee-loading{display:flex;align-items:center;gap:10px;color:var(--muted);background:var(--soft)}
.employee-loading i{width:18px;height:18px;border:2px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}
.employee-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}
.employee-error.employee-success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}
.employee-empty{display:grid;gap:5px;text-align:center;color:var(--muted);background:var(--soft)}
.employee-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:16px}
.employee-table{width:100%;min-width:860px;border-collapse:collapse}
.employee-table th,.employee-table td{padding:13px 14px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}
.employee-table th{color:var(--muted);background:var(--soft);font-size:.78rem;letter-spacing:.03em;text-transform:uppercase}
.employee-table tbody tr:last-child td{border-bottom:0}
.employee-table tbody tr:hover{background:rgba(37,99,235,.035)}
.employee-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:.76rem;font-weight:800;background:var(--soft)}
.employee-status-active{color:#166534;background:#dcfce7}
.employee-status-inactive,.employee-status-terminated{color:#991b1b;background:#fee2e2}
.employee-status-on_leave{color:#92400e;background:#fef3c7}
.employee-pagination{justify-content:space-between;gap:12px;margin-top:16px}
.employee-panel{margin-top:20px;padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--card)}
.employee-panel>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.employee-panel-close{width:36px;height:36px;border:0;border-radius:10px;background:var(--soft);color:var(--text);font-size:1.25rem;cursor:pointer}
.employee-detail-grid,.employee-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.employee-detail-grid>div{display:grid;gap:5px;padding:12px;border-radius:12px;background:var(--soft)}
.employee-detail-grid span{color:var(--muted);font-size:.78rem;font-weight:700}
.employee-form-actions{justify-content:flex-end;margin-top:18px}
.employee-confirmation{border-color:#fecaca}
.employee-workspace button.primary,.employee-workspace button.secondary,.employee-workspace button.danger,.employee-workspace button.danger-ghost{min-height:38px;padding:8px 12px;border-radius:10px;font:inherit;font-weight:750;cursor:pointer}
.employee-workspace button.primary{border:1px solid var(--primary);background:var(--primary);color:#fff}
.employee-workspace button.secondary{border:1px solid var(--border);background:var(--card);color:var(--text)}
.employee-workspace button.danger{border:1px solid #dc2626;background:#dc2626;color:#fff}
.employee-workspace button.danger-ghost{border:1px solid #fecaca;background:#fff7f7;color:#b91c1c}
.employee-workspace button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:900px){.employee-workspace-header{align-items:flex-start;flex-direction:column}.employee-toolbar{grid-template-columns:1fr}.employee-detail-grid,.employee-form-grid{grid-template-columns:1fr}}
@media(max-width:600px){.employee-workspace{padding:16px;border-radius:18px}.employee-header-actions,.employee-pagination{width:100%;flex-wrap:wrap}.employee-header-actions button,.employee-pagination button{flex:1}}
/* PIMM_HR_ETAP4C_EMPLOYEE_FRONTEND_PATCH_V1_END */

/* PIMM_HR_ETAP6E_EMPLOYEE_DOCUMENT_FRONTEND_PATCH_V1_START */
.employee-document-workspace{margin-top:22px;padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--soft)}
.employee-document-workspace[hidden],.employee-document-panel[hidden]{display:none!important}
.employee-document-header,.employee-document-header-actions,.employee-document-row-actions{display:flex;align-items:center}
.employee-document-header{justify-content:space-between;gap:16px;margin-bottom:16px}
.employee-document-header h4,.employee-document-panel h4{margin:4px 0 0}
.employee-document-eyebrow{margin:0;color:var(--primary);font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.employee-document-header-actions,.employee-document-row-actions{gap:8px;flex-wrap:wrap}
.employee-document-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:14px;background:var(--card)}
.employee-document-table{width:100%;min-width:930px;border-collapse:collapse}
.employee-document-table th,.employee-document-table td{padding:12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}
.employee-document-table th{color:var(--muted);background:var(--card);font-size:.75rem;letter-spacing:.03em;text-transform:uppercase}
.employee-document-table tbody tr:last-child td{border-bottom:0}
.employee-document-table td:first-child{display:grid;gap:4px}
.employee-document-table td:first-child small{color:var(--muted)}
.employee-document-panel{margin-top:16px;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--card)}
.employee-document-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.employee-document-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.employee-document-form-grid label{display:grid;gap:7px;color:var(--muted);font-size:.82rem;font-weight:700}
.employee-document-form-grid input,.employee-document-form-grid select{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--border);border-radius:11px;background:var(--card);color:var(--text);font:inherit}
.employee-document-form-grid input:focus,.employee-document-form-grid select:focus{border-color:var(--primary);outline:3px solid rgba(37,99,235,.12)}
.employee-document-file-status{min-height:1.2em;margin:12px 0 0;color:var(--muted);font-size:.82rem}
.employee-document-workspace button.primary,.employee-document-workspace button.secondary,.employee-document-workspace button.danger,.employee-document-workspace button.danger-ghost{min-height:36px;padding:7px 10px;border-radius:9px;font:inherit;font-size:.82rem;font-weight:750;cursor:pointer}
.employee-document-workspace button.primary{border:1px solid var(--primary);background:var(--primary);color:#fff}
.employee-document-workspace button.secondary{border:1px solid var(--border);background:var(--card);color:var(--text)}
.employee-document-workspace button.danger{border:1px solid #dc2626;background:#dc2626;color:#fff}
.employee-document-workspace button.danger-ghost{border:1px solid #fecaca;background:#fff7f7;color:#b91c1c}
.employee-document-workspace button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:900px){.employee-document-header{align-items:flex-start;flex-direction:column}.employee-document-form-grid{grid-template-columns:1fr}}
@media(max-width:600px){.employee-document-workspace{padding:14px}.employee-document-header-actions{width:100%}.employee-document-header-actions button{flex:1}}
/* PIMM_HR_ETAP6E_EMPLOYEE_DOCUMENT_FRONTEND_PATCH_V1_END */

/* PIMM_HR_ETAP7C_SIGNATURE_FRONTEND_CSS_V1 */
.employee-document-signature-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 62;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}

.employee-document-signature-panel[hidden] {
  display: none !important;
}

.employee-document-signature-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(6px);
}

.employee-document-signature-panel__surface {
  width: min(760px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  border-radius: 20px;
  padding: 1.25rem;
  background: var(--surface, #fff);
  color: var(--text, #111827);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.employee-document-signature-toolbar,
.employee-document-signature-confirmation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.employee-document-signature-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.employee-document-signature-summary {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.employee-document-signature-summary button {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.employee-document-signature-summary button[aria-pressed="true"] {
  background: currentColor;
  color: var(--surface, #fff);
}

.employee-document-signature-status {
  min-height: 1.5rem;
  margin: 0.75rem 0;
}

.employee-document-signature-status[data-kind="error"],
.employee-document-signature-error {
  color: #b42318;
}

.employee-document-signature-status[data-kind="success"] {
  color: #067647;
}

.employee-document-signature-history {
  margin-top: 1rem;
}

.employee-document-signature-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.employee-document-signature-item {
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 14px;
  padding: 0.9rem;
}

.employee-document-signature-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(6, 118, 71, 0.12);
  color: #067647;
  font-size: 0.78rem;
  font-weight: 700;
}

.employee-document-signature-empty {
  opacity: 0.72;
}

@media (max-width: 640px) {
  .employee-document-signature-launcher {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .employee-document-signature-panel {
    align-items: end;
    padding: 0;
  }

  .employee-document-signature-panel__surface {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
  }
}

/* ETAP8D_TEMPLATE_GENERATION_START */
.template-library-layout{display:grid;grid-template-columns:minmax(16rem,.8fr) minmax(24rem,1.4fr);gap:1rem}
.template-library-panel{min-width:0;border:1px solid var(--border-color,#d8dee8);border-radius:.75rem;padding:1rem;background:var(--surface-color,#fff)}
.template-library-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.template-list{display:grid;gap:.5rem;max-height:34rem;overflow:auto}
.template-list-item{display:grid;gap:.25rem;width:100%;text-align:left;border:1px solid var(--border-color,#d8dee8);border-radius:.6rem;padding:.75rem;background:transparent}
.template-list-item-active{border-color:currentColor;box-shadow:0 0 0 2px color-mix(in srgb,currentColor 18%,transparent)}
.template-scope-badge,.template-format-badge{display:inline-flex;width:fit-content;border:1px solid currentColor;border-radius:999px;padding:.1rem .45rem;font-size:.75rem}
.template-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.template-editor-span-2{grid-column:1/-1}
.template-code-editor,.template-json-editor{width:100%;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.generation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.generation-variable-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0}
.generation-variable-field{display:grid;gap:.3rem}
.generation-preview-meta,.generation-result-grid{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.25rem .75rem}
.generation-preview-content{min-height:8rem;max-height:28rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--border-color,#d8dee8);border-radius:.6rem;padding:.75rem}
.generation-download-row{display:flex;justify-content:flex-end;margin-top:.75rem}
.template-ui-status{min-height:1.4rem;margin-top:.75rem}
@media(max-width:900px){.template-library-layout,.template-editor-grid,.generation-grid,.generation-variable-grid{grid-template-columns:1fr}.template-editor-span-2{grid-column:auto}}
/* ETAP8D_TEMPLATE_GENERATION_END */

/* ETAP9D_EXPIRY_ALERT_FRONTEND_START */
.expiry-alert-layout{display:grid;grid-template-columns:minmax(20rem,.95fr) minmax(24rem,1.35fr);gap:1rem}
.expiry-alert-panel{min-width:0;border:1px solid var(--border-color,#d8dee8);border-radius:.75rem;padding:1rem;background:var(--surface-color,#fff)}
.expiry-alert-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.expiry-alert-toolbar h3{margin-right:auto}
.expiry-alert-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0}
.expiry-alert-rule-list{display:grid;gap:.5rem;max-height:28rem;overflow:auto}
.expiry-alert-rule-item{display:grid;gap:.25rem;width:100%;text-align:left;border:1px solid var(--border-color,#d8dee8);border-radius:.6rem;padding:.75rem;background:transparent}
.expiry-alert-rule-item-active{border-color:currentColor;box-shadow:0 0 0 2px color-mix(in srgb,currentColor 16%,transparent)}
.expiry-alert-rule-meta{display:flex;flex-wrap:wrap;gap:.35rem;font-size:.8rem;opacity:.82}
.expiry-alert-rule-scope-badge{display:inline-flex;width:fit-content;border:1px solid currentColor;border-radius:999px;padding:.1rem .45rem;font-size:.75rem}
.expiry-alert-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1rem}
.expiry-alert-editor-span-2{grid-column:1/-1}
.expiry-alert-candidate-list{display:grid;gap:.65rem;max-height:34rem;overflow:auto}
.expiry-alert-candidate-item{display:grid;gap:.35rem;border:1px solid var(--border-color,#d8dee8);border-radius:.65rem;padding:.8rem;background:transparent}
.expiry-alert-candidate-state-badge{display:inline-flex;width:fit-content;border-radius:999px;padding:.12rem .5rem;font-size:.75rem;font-weight:600}
.expiry-alert-candidate-upcoming{border-color:#a66d00;background:color-mix(in srgb,#f3a712 14%,transparent)}
.expiry-alert-candidate-overdue{border-color:#b42318;background:color-mix(in srgb,#d92d20 12%,transparent)}
.expiry-alert-candidate-meta{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.2rem .7rem;font-size:.85rem}
.expiry-alert-pagination{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:.8rem}
.expiry-alert-status{min-height:1.35rem;margin:.65rem 0 0}
.expiry-alert-status[data-status="error"]{color:#b42318}
@media(max-width:980px){.expiry-alert-layout,.expiry-alert-filter-grid,.expiry-alert-editor-grid{grid-template-columns:1fr}.expiry-alert-editor-span-2{grid-column:auto}}
/* ETAP9D_EXPIRY_ALERT_FRONTEND_END */


/* PIMM_HR_MVP_EMPLOYEE_CARD_DOCUMENTS_FLOW_V1_START */
.employee-card-shell {
  scroll-margin-top: 88px;
  border-color: var(--primary);
  box-shadow: 0 24px 64px rgba(15, 23, 42, .11);
}

.employee-card-shell > header {
  position: sticky;
  top: 0;
  z-index: 4;
  margin: -20px -20px 0;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
  border-radius: 18px 18px 0 0;
  background: var(--card);
}

.employee-card-selection-label {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 650;
}

.employee-card-tabs {
  position: sticky;
  top: 76px;
  z-index: 3;
  display: flex;
  gap: 8px;
  margin: 0 -20px 18px;
  padding: 10px 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.employee-card-tab {
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.employee-card-tab.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.employee-card-overview-section[hidden] {
  display: none !important;
}

.employee-table tbody tr[role="button"] {
  cursor: pointer;
}

.employee-table tbody tr[role="button"]:hover,
.employee-table tbody tr[role="button"]:focus {
  background: rgba(37, 99, 235, .065);
}

@media (max-width: 760px) {
  .employee-workspace {
    padding: 16px;
  }

  .employee-workspace-header,
  .employee-document-header {
    align-items: stretch;
    flex-direction: column;
  }

  .employee-header-actions,
  .employee-document-header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .employee-toolbar,
  .employee-detail-grid,
  .employee-form-grid,
  .employee-document-form-grid {
    grid-template-columns: 1fr;
  }

  .employee-card-shell {
    margin-inline: -8px;
    padding: 16px;
  }

  .employee-card-shell > header {
    margin: -16px -16px 0;
    padding: 14px 16px 12px;
  }

  .employee-card-tabs {
    top: 66px;
    margin-inline: -16px;
    padding-inline: 16px;
  }
}
/* PIMM_HR_MVP_EMPLOYEE_CARD_DOCUMENTS_FLOW_V1_END */


/* PIMM_HR_MVP_EMPLOYEE_VISUAL_CONTRAST_FIX_V1_START */
.employee-workspace {
  --border: var(--line, #d7deea);
  --card: #ffffff;
  --text: var(--ink, #101828);
  --primary: var(--accent, #275efe);
  --soft: #f4f7fb;
  --muted: #5f6f89;
}

.employee-workspace,
.employee-panel,
.employee-document-panel {
  color: var(--text);
}

.employee-toolbar input,
.employee-toolbar select,
.employee-form-grid input,
.employee-form-grid select,
.employee-document-form-grid input,
.employee-document-form-grid select,
.employee-document-form-grid textarea {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #101828;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
}

.employee-toolbar input::placeholder,
.employee-form-grid input::placeholder,
.employee-document-form-grid input::placeholder,
.employee-document-form-grid textarea::placeholder {
  color: #8290a8;
  opacity: 1;
}

.employee-toolbar input:hover,
.employee-toolbar select:hover,
.employee-form-grid input:hover,
.employee-form-grid select:hover,
.employee-document-form-grid input:hover,
.employee-document-form-grid select:hover,
.employee-document-form-grid textarea:hover {
  border-color: #94a3b8;
}

.employee-toolbar input:focus,
.employee-toolbar select:focus,
.employee-form-grid input:focus,
.employee-form-grid select:focus,
.employee-document-form-grid input:focus,
.employee-document-form-grid select:focus,
.employee-document-form-grid textarea:focus {
  border-color: #275efe;
  outline: 3px solid rgba(39, 94, 254, .14);
  box-shadow: 0 0 0 1px #275efe;
}

.employee-workspace button.primary,
.employee-workspace #employee-create-button,
.employee-workspace .employee-form-actions button[type="submit"] {
  border-color: #275efe;
  background: #275efe;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(39, 94, 254, .18);
}

.employee-workspace button.secondary {
  border-color: #c5d0df;
  background: #ffffff;
  color: #24324a;
}

.employee-workspace button.secondary:hover {
  border-color: #8fa2bd;
  background: #f4f7fb;
}

.employee-workspace button.danger-ghost {
  border-color: #f4a4a4;
  background: #fff7f7;
  color: #b42318;
}

.employee-workspace button:disabled,
.employee-workspace button.primary:disabled,
.employee-workspace .employee-form-actions button[type="submit"]:disabled {
  border-color: #b8c9f8;
  background: #dce6ff;
  color: #6476a8;
  opacity: 1;
  box-shadow: none;
}

.employee-form-grid label > span,
.employee-document-form-grid label > span,
.employee-toolbar label > span {
  color: #53627a;
  font-weight: 750;
}

.employee-panel-close {
  border: 1px solid #d7deea;
  background: #f4f7fb;
  color: #24324a;
}

.employee-table th {
  color: #53627a;
}

.employee-table td,
.employee-detail-grid strong,
.employee-detail-grid dd {
  color: #101828;
}
/* PIMM_HR_MVP_EMPLOYEE_VISUAL_CONTRAST_FIX_V1_END */


/* PIMM_HR_MVP_EMPLOYEE_FORM_VISIBILITY_FIX_V2_START */
#employee-form-panel .employee-form-grid input,
#employee-form-panel .employee-form-grid select,
#employee-document-form-panel .employee-document-form-grid input,
#employee-document-form-panel .employee-document-form-grid select,
#employee-document-form-panel .employee-document-form-grid textarea {
  min-height: 48px !important;
  border: 2px solid #94a3b8 !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  opacity: 1 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08) !important;
  -webkit-text-fill-color: #0f172a;
}

#employee-form-panel .employee-form-grid input:hover,
#employee-form-panel .employee-form-grid select:hover,
#employee-document-form-panel .employee-document-form-grid input:hover,
#employee-document-form-panel .employee-document-form-grid select:hover,
#employee-document-form-panel .employee-document-form-grid textarea:hover {
  border-color: #64748b !important;
  background: #ffffff !important;
}

#employee-form-panel .employee-form-grid input:focus,
#employee-form-panel .employee-form-grid select:focus,
#employee-document-form-panel .employee-document-form-grid input:focus,
#employee-document-form-panel .employee-document-form-grid select:focus,
#employee-document-form-panel .employee-document-form-grid textarea:focus {
  border-color: #2563eb !important;
  background: #ffffff !important;
  outline: 3px solid rgba(37, 99, 235, .18) !important;
  box-shadow: 0 0 0 1px #2563eb !important;
}

#employee-form-panel .employee-form-grid label > span,
#employee-document-form-panel .employee-document-form-grid label > span {
  color: #475569 !important;
  font-weight: 800 !important;
}

#employee-create-button:not(:disabled),
#employee-form-panel button[type="submit"]:not(:disabled),
#employee-document-create-button:not(:disabled),
#employee-document-form-panel button[type="submit"]:not(:disabled) {
  border-color: #1d4ed8 !important;
  background: #1d4ed8 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 8px 18px rgba(29, 78, 216, .24) !important;
  -webkit-text-fill-color: #ffffff;
}

#employee-create-button:disabled,
#employee-form-panel button[type="submit"]:disabled,
#employee-document-create-button:disabled,
#employee-document-form-panel button[type="submit"]:disabled,
.employee-workspace button.primary:disabled {
  border-color: #94a3b8 !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
  opacity: 1 !important;
  box-shadow: none !important;
  -webkit-text-fill-color: #475569;
}

#employee-form-panel button.secondary,
#employee-document-form-panel button.secondary {
  border: 2px solid #94a3b8 !important;
  background: #ffffff !important;
  color: #1e293b !important;
  opacity: 1 !important;
}

#employee-form-panel,
#employee-document-form-panel {
  background: #ffffff !important;
}

#employee-form-panel input[type="date"]::-webkit-calendar-picker-indicator,
#employee-document-form-panel input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .8;
}
/* PIMM_HR_MVP_EMPLOYEE_FORM_VISIBILITY_FIX_V2_END */

/* PIMM_HR_WAVE_A_FRONTEND_CSS_START */
.auth-device-memory {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.15rem 0 0.85rem;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.35;
}
.auth-device-memory input[type="checkbox"] {
  appearance: auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--primary, #2d6cdf);
}
.top-actions { gap: 0.75rem; }
.active-company-button,
.account-menu-toggle {
  border: 1px solid var(--border, #d9e1ec);
  background: var(--surface, #fff);
  color: inherit;
}
.active-company-button {
  display: grid;
  gap: 0.1rem;
  min-width: 180px;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
}
.active-company-button span,
.active-company-button small {
  font-size: 0.72rem;
  color: var(--muted, #6b7280);
}
.active-company-button strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-menu-wrap { position: relative; }
.account-menu-toggle { cursor: pointer; }
.account-menu-toggle > b { margin-left: 0.35rem; }
.account-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 250px;
  padding: 0.45rem;
  border: 1px solid var(--border, #d9e1ec);
  border-radius: 14px;
  background: var(--surface, #fff);
  box-shadow: 0 18px 48px rgba(18, 34, 58, 0.16);
}
.account-menu[hidden],
.wave-a-modal[hidden],
.account-page-panel[hidden],
#company-list[hidden] {
  display: none !important;
}
.account-menu a,
.account-menu button {
  display: block;
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.account-menu a:hover,
.account-menu button:hover,
.account-menu a:focus-visible,
.account-menu button:focus-visible {
  background: var(--soft, #f2f6fb);
  outline: none;
}
.account-menu .danger { color: #b42318; }
.account-page-panel {
  width: min(760px, calc(100% - 2rem));
  margin: 1.5rem auto;
  padding: 1.4rem;
  border: 1px solid var(--border, #d9e1ec);
  border-radius: 18px;
  background: var(--surface, #fff);
  box-shadow: 0 14px 42px rgba(18, 34, 58, 0.08);
}
.account-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.account-page-header h2 { margin: 0.2rem 0 0; }
.account-back-link {
  text-decoration: none;
  white-space: nowrap;
}
.account-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.account-form label,
#company-switch-form label {
  display: grid;
  gap: 0.45rem;
}
.account-form input,
#company-switch-form input { width: 100%; }
.session-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.session-summary article {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--border, #d9e1ec);
  border-radius: 14px;
  background: var(--soft, #f7f9fc);
}
.session-summary span {
  color: var(--muted, #6b7280);
  font-size: 0.82rem;
}
.danger-button {
  padding: 0.75rem 1rem;
  border: 1px solid #f4b4ad;
  border-radius: 12px;
  background: #fff4f2;
  color: #b42318;
  cursor: pointer;
}
.wave-a-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
}
.wave-a-modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 1.4rem;
  border-radius: 18px;
  background: var(--surface, #fff);
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.28);
}
.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--soft, #f2f6fb);
  cursor: pointer;
  font-size: 1.25rem;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1rem;
}
body.wave-a-account-view #dashboard-loading,
body.wave-a-account-view #dashboard-content,
body.wave-a-account-view #dashboard-error {
  display: none !important;
}
body.wave-a-modal-open { overflow: hidden; }
@media (max-width: 760px) {
  .top-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .active-company-button {
    order: 2;
    width: 100%;
    min-width: 0;
  }
  .account-menu {
    position: fixed;
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    min-width: 0;
  }
  .account-page-header { display: grid; }
  .session-summary { grid-template-columns: 1fr; }
  .modal-actions { display: grid; }
}
/* PIMM_HR_WAVE_A_FRONTEND_CSS_END */

/* PIMM HR IAM WAVE B4 ADMINISTRATION FRONTEND START */
.admin-workspace{position:fixed;inset:0;z-index:980;overflow:auto;padding:1rem;background:rgba(15,23,42,.72);backdrop-filter:blur(8px)}
.admin-workspace[hidden],[data-admin-hidden="true"]{display:none!important}
.admin-workspace-shell{width:min(1420px,100%);min-height:calc(100vh - 2rem);margin:auto;padding:1.15rem;border-radius:1.35rem;background:var(--surface,#fff);box-shadow:0 28px 70px rgba(15,23,42,.28)}
.admin-workspace-header,.admin-heading,.admin-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.admin-workspace-header h2,.admin-heading h3,.admin-card h4{margin:0}
.admin-eyebrow{margin:0 0 .3rem;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--primary,#2354a4)}
.admin-muted{margin:.3rem 0 0;color:var(--muted,#64748b)}
.admin-close{width:2.7rem;height:2.7rem;border:0;border-radius:.75rem;font-size:1.45rem;cursor:pointer;background:var(--surface-soft,#f1f5f9)}
.admin-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:1rem 0}
.admin-context>div{padding:.9rem;border:1px solid var(--border,#e2e8f0);border-radius:.9rem;background:var(--surface-soft,#f8fafc)}
.admin-context span{display:block;font-size:.8rem;color:var(--muted,#64748b)}
.admin-context strong{display:block;margin-top:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-tabs{display:flex;gap:.5rem;overflow:auto;padding-bottom:.8rem;border-bottom:1px solid var(--border,#e2e8f0)}
.admin-tabs button{padding:.7rem 1rem;border:1px solid var(--border,#cbd5e1);border-radius:999px;background:var(--surface,#fff);font-weight:700;cursor:pointer;white-space:nowrap}
.admin-tabs button[aria-selected="true"]{color:#fff;border-color:var(--primary,#2354a4);background:var(--primary,#2354a4)}
.admin-status{min-height:1.3rem;margin:.75rem 0;font-weight:700}
.admin-status[data-kind="error"]{color:#b42318}.admin-status[data-kind="success"]{color:#067647}.admin-status[data-kind="loading"]{color:var(--primary,#2354a4)}
.admin-panel{padding-top:.7rem}.admin-panel[hidden]{display:none!important}
.admin-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin:1rem 0;padding:1rem;border:1px solid var(--border,#e2e8f0);border-radius:1rem;background:var(--surface-soft,#f8fafc)}
.admin-form label,.admin-user-select{display:grid;gap:.3rem;font-size:.82rem;font-weight:700}
.admin-form input,.admin-form select,.admin-user-select select,.admin-inline-form select,.admin-toolbar input{width:100%;min-height:2.55rem;padding:.55rem .7rem;border:1px solid var(--border,#cbd5e1);border-radius:.65rem;background:var(--surface,#fff);color:inherit}
.admin-check{display:flex!important;align-items:center;gap:.45rem;align-self:end;min-height:2.55rem}.admin-check input{width:1rem;min-height:auto}
.admin-toolbar{align-items:end;margin:.7rem 0}.admin-toolbar>input{width:min(440px,100%)}
.admin-list{display:grid;gap:.65rem}.admin-list.compact{gap:.5rem}
.admin-empty,.admin-loading{padding:1rem;border:1px dashed var(--border,#cbd5e1);border-radius:.8rem;text-align:center;color:var(--muted,#64748b)}
.admin-row{display:grid;grid-template-columns:minmax(170px,1.4fr) minmax(120px,.7fr) auto;gap:.8rem;align-items:center;padding:.85rem;border:1px solid var(--border,#e2e8f0);border-radius:.9rem;background:var(--surface,#fff)}
.admin-row-main strong,.admin-row-main span{display:block;overflow-wrap:anywhere}.admin-row-main span,.admin-row-meta{margin-top:.2rem;color:var(--muted,#64748b);font-size:.82rem}
.admin-badge{display:inline-flex!important;width:fit-content;margin-top:.3rem!important;padding:.18rem .48rem;border-radius:999px;background:#eef4ff;color:#2354a4!important;font-weight:800}
.admin-badge[data-status="inactive"],.admin-badge[data-status="archived"],.admin-badge[data-status="suspended"]{background:#fef3f2;color:#b42318!important}
.admin-row-actions{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-end}.admin-row-actions button{padding:.43rem .6rem;border:1px solid var(--border,#cbd5e1);border-radius:.6rem;background:var(--surface,#fff);cursor:pointer}.admin-row-actions .danger{border-color:#fda29b;color:#b42318}
.admin-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}.admin-card{padding:1rem;border:1px solid var(--border,#e2e8f0);border-radius:1rem;background:var(--surface-soft,#f8fafc)}
.admin-inline-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:.6rem;align-items:end;margin:.7rem 0}
body.admin-workspace-open{overflow:hidden}
@media(max-width:960px){.admin-context,.admin-form,.admin-access-grid{grid-template-columns:1fr 1fr}.admin-row{grid-template-columns:1fr}.admin-row-actions{justify-content:flex-start}}
@media(max-width:640px){.admin-workspace{padding:0}.admin-workspace-shell{min-height:100vh;border-radius:0;padding:.85rem}.admin-workspace-header,.admin-heading,.admin-toolbar{flex-direction:column;align-items:stretch}.admin-context,.admin-form,.admin-access-grid,.admin-inline-form{grid-template-columns:1fr}}
/* PIMM HR IAM WAVE B4 ADMINISTRATION FRONTEND END */

/* PIMM_HR_ETAP11C_CENTRAL_DOCUMENT_CENTER_FRONTEND_V1_START */
.central-document-workspace {
  --cd-border: var(--border, #d7deea);
  --cd-card: var(--surface, #ffffff);
  --cd-text: var(--ink, #101828);
  --cd-muted: var(--muted, #5f6f89);
  --cd-primary: var(--accent, #275efe);
  display: grid;
  gap: 1rem;
  color: var(--cd-text);
}

.central-document-workspace[hidden],
.central-document-modal[hidden] {
  display: none !important;
}

.central-document-header,
.central-document-header-actions,
.central-document-pagination,
.central-document-filter-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.central-document-header {
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--cd-border);
  border-radius: 18px;
  background: var(--cd-card);
}

.central-document-header h2,
.central-document-header p {
  margin: 0;
}

.central-document-eyebrow {
  color: var(--cd-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.central-document-subtitle {
  max-width: 760px;
  margin-top: 0.45rem !important;
  color: var(--cd-muted);
}

.central-document-header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.central-document-workspace button.primary,
.central-document-workspace button.secondary,
.central-document-modal button.secondary {
  min-height: 40px;
  border-radius: 11px;
  padding: 0.62rem 0.9rem;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.central-document-workspace button.primary {
  border: 1px solid var(--cd-primary);
  background: var(--cd-primary);
  color: #ffffff;
}

.central-document-workspace button.secondary,
.central-document-modal button.secondary {
  border: 1px solid var(--cd-border);
  background: #ffffff;
  color: #24324a;
}

.central-document-workspace button:disabled,
.central-document-modal button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.central-document-workspace button:focus-visible,
.central-document-modal button:focus-visible,
.central-document-workspace input:focus,
.central-document-workspace select:focus {
  outline: 3px solid rgba(39, 94, 254, 0.18);
  outline-offset: 2px;
}

.central-document-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.central-document-summary article {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border: 1px solid var(--cd-border);
  border-radius: 16px;
  background: var(--cd-card);
}

.central-document-summary span {
  color: var(--cd-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.central-document-summary strong {
  font-size: 1.45rem;
}

.central-document-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--cd-border);
  border-radius: 18px;
  background: var(--cd-card);
}

.central-document-filter-grid label {
  display: grid;
  gap: 0.35rem;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 750;
}

.central-document-filter-wide {
  grid-column: span 2;
}

.central-document-filter-grid input,
.central-document-filter-grid select {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  padding: 0.62rem 0.75rem;
  background: #ffffff;
  color: #101828;
  font: inherit;
}

.central-document-filter-grid input::placeholder {
  color: #8290a8;
  opacity: 1;
}

.central-document-filter-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.central-document-state {
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.central-document-loading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.central-document-loading i {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: central-document-spin 0.75s linear infinite;
}

.central-document-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b42318;
}

.central-document-status-message {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #067647;
}

.central-document-empty {
  display: grid;
  gap: 0.3rem;
  place-items: center;
  min-height: 150px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: var(--cd-muted);
  text-align: center;
}

.central-document-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--cd-border);
  border-radius: 18px;
  background: var(--cd-card);
}

.central-document-table {
  width: 100%;
  min-width: 1320px;
  border-collapse: collapse;
}

.central-document-table th,
.central-document-table td {
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid var(--cd-border);
  text-align: left;
  vertical-align: top;
}

.central-document-table th {
  background: #f4f7fb;
  color: #53627a;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.central-document-table tbody tr:hover {
  background: #f8fafc;
}

.central-document-table tbody tr:last-child td {
  border-bottom: 0;
}

.central-document-table td strong,
.central-document-table td small {
  display: block;
}

.central-document-table td small {
  margin-top: 0.18rem;
  color: var(--cd-muted);
}

.central-document-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.32rem;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  background: #eef2f7;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 800;
}

.central-document-badge[data-kind="active"],
.central-document-badge[data-kind="signed"],
.central-document-badge[data-kind="file"] {
  background: #ecfdf3;
  color: #067647;
}

.central-document-badge[data-kind="archived"],
.central-document-badge[data-kind="expired"],
.central-document-badge[data-kind="superseded"] {
  background: #fff7ed;
  color: #b54708;
}

.central-document-badge[data-kind="unsigned"] {
  background: #f1f5f9;
  color: #475569;
}

.central-document-pagination {
  justify-content: flex-end;
  padding: 0.25rem 0;
}

.central-document-pagination span {
  min-width: 130px;
  color: var(--cd-muted);
  text-align: center;
}

.central-document-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(6px);
}

.central-document-modal-card {
  position: relative;
  width: min(820px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border-radius: 20px;
  padding: 1.35rem;
  background: var(--surface, #ffffff);
  color: var(--ink, #101828);
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.3);
}

.central-document-modal-card h2 {
  margin: 0.25rem 0 1rem;
}

.central-document-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.8rem;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #334155;
  cursor: pointer;
  font-size: 1.35rem;
}

.central-document-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.central-document-detail-list > div {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  padding: 0.8rem;
  background: #f8fafc;
}

.central-document-detail-list dt {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.central-document-detail-list dd {
  overflow-wrap: anywhere;
  margin: 0.28rem 0 0;
  color: #0f172a;
  font-weight: 650;
}

body.central-document-modal-open {
  overflow: hidden;
}

#central-documents-nav-button.active {
  border-color: var(--accent, #275efe);
  background: color-mix(
    in srgb,
    var(--accent, #275efe) 12%,
    transparent
  );
}

@keyframes central-document-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .central-document-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .central-document-header {
    flex-direction: column;
  }

  .central-document-header-actions {
    width: 100%;
    justify-content: stretch;
  }

  .central-document-header-actions button {
    flex: 1 1 auto;
  }

  .central-document-summary,
  .central-document-filter-grid,
  .central-document-detail-list {
    grid-template-columns: 1fr;
  }

  .central-document-filter-wide {
    grid-column: auto;
  }

  .central-document-filter-actions {
    justify-content: stretch;
  }

  .central-document-filter-actions button {
    flex: 1 1 0;
  }

  .central-document-pagination {
    justify-content: space-between;
  }

  .central-document-pagination span {
    min-width: 0;
  }

  .central-document-modal {
    padding: 0.5rem;
  }

  .central-document-modal-card {
    max-height: 94vh;
    border-radius: 16px;
    padding: 1rem;
  }
}
/* PIMM_HR_ETAP11C_CENTRAL_DOCUMENT_CENTER_FRONTEND_V1_END */

/* PIMM_HR_ETAP11C_SIGNATURE_ACTION_VISIBILITY_AND_ACCOUNT_ROUTE_ISOLATION_START */
.employee-document-signature-confirmation {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: start;
  gap: 0.75rem;
}

.employee-document-signature-confirmation > label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.employee-document-signature-confirmation .button {
  width: auto;
  min-width: 8.5rem;
  margin: 0;
}

.employee-document-signature-confirmation .button:disabled {
  opacity: 0.64;
  color: #475569;
  background: #e2e8f0;
  border-color: #cbd5e1;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .employee-document-signature-confirmation {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .employee-document-signature-confirmation > label,
  .employee-document-signature-confirmation .button {
    width: 100%;
  }
}
/* PIMM_HR_ETAP11C_SIGNATURE_ACTION_VISIBILITY_AND_ACCOUNT_ROUTE_ISOLATION_END */

/* PIMM HR Recruitment Frontend Foundation V1 START */
.recruitment-workspace-shell{max-width:1440px}
.recruitment-context{margin-bottom:1rem}
.recruitment-tabs{display:flex;gap:.45rem;max-width:100%;overflow-x:auto;padding-bottom:.25rem;scrollbar-width:thin}
.recruitment-tabs>button{flex:0 0 auto;white-space:nowrap}
.recruitment-panel{margin-top:1rem}
.recruitment-toolbar{gap:1rem}
.recruitment-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}
.recruitment-toolbar-actions select{min-width:130px}
.recruitment-list{display:grid;gap:.65rem;margin-top:1rem}
.recruitment-row{align-items:center}
.recruitment-row-actions{display:flex;gap:.45rem;flex-wrap:wrap;justify-content:flex-end}
.recruitment-editor{margin-top:1rem;padding:1rem;border:1px solid var(--line,#e2e8f0);border-radius:1rem;background:var(--soft,#f8fafc)}
.recruitment-editor textarea{resize:vertical}
.recruitment-wide{grid-column:1/-1}
.recruitment-form-actions{display:flex;justify-content:flex-end;gap:.6rem;align-items:center}
.recruitment-sensitive-panel{border-color:#d7c7ff}
.recruitment-sensitive-note{margin:.75rem 0;padding:.75rem .9rem;border:1px solid #e4dafe;border-radius:.8rem;background:#f8f5ff;color:#5b3aa5;font-size:.78rem;font-weight:700}
#recruitment-status[data-kind="error"]{color:#b42318}
.recruitment-row .danger{background:#fff1f0;color:#b42318;border:1px solid #ffd0cc}
@media(max-width:900px){.recruitment-toolbar{align-items:stretch;flex-direction:column}.recruitment-toolbar-actions{justify-content:flex-start}.recruitment-editor{grid-template-columns:1fr}.recruitment-wide{grid-column:auto}.recruitment-row-actions{justify-content:flex-start}}
@media(max-width:640px){.recruitment-workspace-shell{padding:.85rem}.recruitment-tabs{margin-left:-.15rem;margin-right:-.15rem}.recruitment-toolbar-actions{align-items:stretch;flex-direction:column}.recruitment-toolbar-actions>*{width:100%}.recruitment-form-actions{align-items:stretch;flex-direction:column}.recruitment-form-actions>*{width:100%}}
/* PIMM HR Recruitment Frontend Foundation V1 END */

/* PIMM_HR_MOBILE_UX_FOUNDATION_V1_START */
body.mobile-nav-open{
  overflow:hidden;
  overscroll-behavior:none;
}

@media(max-width:960px){
  .sidebar{
    width:min(268px,86vw);
    max-width:86vw;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }

  .backdrop:not([hidden]){
    position:fixed;
    z-index:29;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    padding:0;
    border:0;
    background:rgba(8,18,34,.46);
  }

  .main,
  .topbar,
  .topbar-title,
  .top-actions{
    min-width:0;
  }
}

@media(max-width:700px){
  .main{
    min-width:0;
    padding-right:14px;
    padding-left:14px;
  }

  .topbar{
    align-items:stretch;
    gap:.75rem;
    margin-right:-14px;
    margin-left:-14px;
    padding:12px 14px;
  }

  .topbar-title{
    width:100%;
    min-width:0;
    align-items:flex-start;
    gap:.65rem;
  }

  .top-actions{
    width:100%;
    min-width:0;
    align-items:stretch;
    gap:.5rem;
  }

  .active-company-button,
  .account-menu-wrap,
  .account-menu-toggle{
    width:100%;
    min-width:0;
    max-width:100%;
  }

  .active-company-button{
    justify-content:flex-start;
  }

  .active-company-button span,
  .account-menu-toggle>div{
    min-width:0;
  }

  .active-company-button strong,
  .active-company-button small,
  #topbar-user-name,
  #topbar-user-email{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .account-menu{
    right:0;
    left:0;
    width:auto;
    min-width:0;
    max-width:none;
  }
}

@media(max-width:720px){
  #attendance-self-workspace,
  #leave-self-workspace,
  #leave-policy-admin-workspace{
    min-width:0;
    max-width:100%;
  }

  #attendance-self-workspace form,
  #leave-self-workspace form,
  #leave-policy-admin-workspace form{
    grid-template-columns:minmax(0,1fr)!important;
    max-width:100%;
  }

  #attendance-self-workspace form>*,
  #leave-self-workspace form>*,
  #leave-policy-admin-workspace form>*{
    min-width:0;
    max-width:100%;
  }

  #attendance-self-workspace input,
  #attendance-self-workspace select,
  #attendance-self-workspace textarea,
  #leave-self-workspace input,
  #leave-self-workspace select,
  #leave-self-workspace textarea,
  #leave-policy-admin-workspace input,
  #leave-policy-admin-workspace select,
  #leave-policy-admin-workspace textarea{
    width:100%;
    max-width:100%;
  }

  #attendance-self-workspace [class*="toolbar"],
  #leave-self-workspace [class*="toolbar"],
  #leave-policy-admin-workspace [class*="toolbar"]{
    align-items:stretch;
    flex-wrap:wrap;
  }

  #attendance-self-workspace [class*="actions"],
  #leave-self-workspace [class*="actions"],
  #leave-policy-admin-workspace [class*="actions"]{
    align-items:stretch;
    flex-wrap:wrap;
  }

  #attendance-self-list,
  #leave-self-list,
  #leave-type-list,
  #leave-policy-list{
    min-width:0;
    max-width:100%;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
  }

  .employee-table,
  .employee-document-table,
  .central-document-table,
  .admin-tabs,
  .employee-card-tabs,
  .recruitment-tabs{
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
  }
}
/* PIMM_HR_MOBILE_UX_FOUNDATION_V1_END */

/* PIMM_HR_ETAP15B_EMPLOYEE_SELF_SERVICE_CASE_FRONTEND_V1_START */
#employee-case-self-workspace textarea{min-height:8rem;resize:vertical}
#employee-case-self-workspace .employee-case-self-row{align-items:center}
#employee-case-self-workspace .employee-case-self-excerpt{display:block;max-width:64ch;overflow-wrap:anywhere}
#employee-case-self-workspace .employee-case-self-selected-card,
#employee-case-self-workspace .employee-case-self-boundary{margin-top:1rem}
#employee-case-self-workspace input[readonly]{cursor:default}
@media (max-width:960px){
  #employee-case-self-workspace .admin-shell{width:min(100%,100vw)}
  #employee-case-self-workspace .employee-case-self-grid{grid-template-columns:1fr}
  #employee-case-self-workspace form>*{min-width:0}
  #employee-case-self-workspace input,
  #employee-case-self-workspace select,
  #employee-case-self-workspace textarea,
  #employee-case-self-workspace button{max-width:100%}
  #employee-case-self-workspace .admin-toolbar{align-items:stretch;flex-wrap:wrap}
  #employee-case-self-workspace .employee-case-self-row{align-items:stretch}
}
/* PIMM_HR_ETAP15B_EMPLOYEE_SELF_SERVICE_CASE_FRONTEND_V1_END */

/* PIMM_HR_ETAP16B_IN_APP_NOTIFICATIONS_FRONTEND_V1_START */
.notification-center-bell{display:inline-flex;align-items:center;gap:.45rem;min-height:36px;padding:.42rem .68rem;border:1px solid var(--border,#d7dce3);border-radius:10px;background:var(--surface,#fff);color:inherit;cursor:pointer;position:relative}
.notification-center-bell[hidden]{display:none!important}
.notification-center-bell:focus-visible,.notification-center-item:focus-visible,.notification-center-workspace button:focus-visible,.notification-center-workspace select:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.notification-center-bell-icon{font-size:1rem;line-height:1}
.notification-center-badge{display:inline-grid;place-items:center;min-width:1.35rem;height:1.35rem;padding:0 .32rem;border-radius:999px;font-size:.72rem;font-weight:700;background:#b42318;color:#fff}
.notification-center-badge[hidden]{display:none!important}
.notification-center-workspace{width:100%}
.notification-center-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}
.notification-center-heading h2{margin:.18rem 0}
.notification-center-eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.08em;opacity:.65}
.notification-center-subtitle{margin:.25rem 0 0;opacity:.75}
.notification-center-close{min-width:38px;min-height:38px;border-radius:10px;border:1px solid var(--border,#d7dce3);background:transparent;cursor:pointer;font-size:1.25rem}
.notification-center-status{min-height:1.5rem;margin:.25rem 0 .75rem}
.notification-center-status.is-error{color:#b42318}
.notification-center-filter{display:flex;align-items:end;gap:.75rem;margin-bottom:1rem;flex-wrap:wrap}
.notification-center-filter label{display:grid;gap:.35rem}
.notification-center-filter select,.notification-center-filter button,.notification-center-detail button{min-height:40px}
.notification-center-layout{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(360px,1.4fr);gap:1rem;align-items:start}
.notification-center-list-panel,.notification-center-detail{border:1px solid var(--border,#d7dce3);border-radius:14px;background:var(--surface,#fff)}
.notification-center-list{display:grid;max-height:560px;overflow:auto}
.notification-center-empty{padding:1rem;margin:0;opacity:.7}
.notification-center-item{appearance:none;width:100%;text-align:left;border:0;border-bottom:1px solid var(--border,#e6e9ee);background:transparent;color:inherit;padding:.9rem 1rem;cursor:pointer}
.notification-center-item:last-child{border-bottom:0}
.notification-center-item:hover,.notification-center-item.is-selected{background:rgba(127,127,127,.08)}
.notification-center-item.is-unread{box-shadow:inset 3px 0 0 currentColor}
.notification-center-item-top{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}
.notification-center-item-state{font-size:.72rem;opacity:.7;white-space:nowrap}
.notification-center-item-meta{display:block;margin-top:.35rem;font-size:.78rem;opacity:.65}
.notification-center-detail{padding:1.1rem}
.notification-center-detail[hidden]{display:none!important}
.notification-center-detail-meta{display:flex;justify-content:space-between;gap:.75rem;font-size:.8rem;opacity:.7}
.notification-center-detail h3{margin:.65rem 0 .35rem}
.notification-center-detail-time{font-size:.8rem;opacity:.65}
.notification-center-message{margin:1rem 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media (max-width:960px){.notification-center-bell [data-notification-center-bell-label]{display:none}.notification-center-layout{grid-template-columns:1fr}.notification-center-list{max-height:360px}.notification-center-heading{align-items:center}}
@media (max-width:640px){.notification-center-filter{display:grid;grid-template-columns:1fr}.notification-center-filter label,.notification-center-filter select,.notification-center-filter button,.notification-center-detail button{width:100%}}
/* PIMM_HR_ETAP16B_IN_APP_NOTIFICATIONS_FRONTEND_V1_END */

/* PIMM_HR_ETAP16D_NOTIFICATION_SEND_COMPOSER_FRONTEND_V1_START */
.notification-send-composer{margin:0 0 1rem;padding:1rem;border:1px solid var(--border,#d7dce3);border-radius:14px;background:var(--surface,#fff)}
.notification-send-composer[hidden]{display:none!important}
.notification-send-composer-heading{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.9rem}
.notification-send-composer-heading h3{margin:0 0 .25rem}
.notification-send-composer-heading p{margin:0;opacity:.72}
.notification-send-form{display:grid;gap:.85rem}
.notification-send-recipient-search-group,.notification-send-field{display:grid;gap:.35rem}
.notification-send-recipient-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem}
.notification-send-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,.6fr);gap:.75rem}
.notification-send-form input,.notification-send-form select,.notification-send-form textarea,.notification-send-form button{min-height:40px}
.notification-send-form input,.notification-send-form select,.notification-send-form textarea{width:100%;padding:.62rem .72rem;border:1px solid var(--border,#d7dce3);border-radius:10px;background:var(--surface,#fff);color:inherit}
.notification-send-form textarea{min-height:120px;resize:vertical}
.notification-send-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.notification-send-status{min-height:1.4rem;margin:0}
.notification-send-status.is-error{color:#b42318}
.notification-send-form :focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media (max-width:960px){.notification-send-grid{grid-template-columns:1fr}.notification-send-recipient-search-row{grid-template-columns:1fr}.notification-send-recipient-search-row button,.notification-send-actions button{width:100%}}
/* PIMM_HR_ETAP16D_NOTIFICATION_SEND_COMPOSER_FRONTEND_V1_END */

/* ETAP16E_NOTIFICATION_BROADCAST_AUDIENCE_TARGETING_FOUNDATION */
.notification-send-actions > #notification-send-submit{align-self:flex-end;width:auto}
.notification-broadcast-controls{display:grid;width:100%;box-sizing:border-box;gap:12px;padding:14px;margin-top:0;border:1px solid var(--line,#d8dee8);border-radius:12px}
.notification-broadcast-controls[hidden]{display:none!important}
.notification-broadcast-inline{display:grid;grid-template-columns:1fr auto;gap:8px}
.notification-broadcast-controls select[multiple]{min-height:132px}
.notification-broadcast-preview-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.notification-broadcast-confirm{display:flex!important;align-items:flex-start;gap:8px}
.notification-broadcast-confirm input{width:auto!important;margin-top:3px}
@media (max-width:960px){
  .notification-broadcast-inline{grid-template-columns:1fr}
  .notification-broadcast-preview-row{align-items:stretch}
  .notification-broadcast-preview-row button{width:100%}
  .notification-send-actions > #notification-send-submit{width:100%;align-self:stretch}
}

/* PIMM_HR_ATTENDANCE_TEAM_FRONTEND_V1_CSS_START */
.attendance-team-workspace .attendance-team-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px}
.attendance-team-workspace .attendance-team-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.attendance-team-workspace .attendance-team-filter>button{justify-self:start}
.attendance-team-workspace [data-att-team-record-id]{cursor:pointer}
.attendance-team-workspace .attendance-team-selected{outline:2px solid currentColor;outline-offset:2px}
@media (max-width:900px){
  .attendance-team-workspace .attendance-team-grid,.attendance-team-workspace .attendance-team-filter,.attendance-team-workspace .admin-form{grid-template-columns:1fr}
  .attendance-team-workspace .attendance-team-grid>*,.attendance-team-workspace .attendance-team-filter>*,.attendance-team-workspace .admin-form>*{min-width:0}
  .attendance-team-workspace input,.attendance-team-workspace select,.attendance-team-workspace textarea{width:100%;max-width:100%;box-sizing:border-box}
  .attendance-team-workspace .admin-actions{flex-wrap:wrap}
  .attendance-team-workspace .attendance-team-filter>button,.attendance-team-workspace .admin-actions button{width:100%}
}
/* PIMM_HR_ATTENDANCE_TEAM_FRONTEND_V1_CSS_END */

/* PIMM_HR_LEAVE_TEAM_FRONTEND_V1_CSS_START */
.leave-team-workspace .leave-team-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px}
.leave-team-workspace .leave-team-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.leave-team-workspace .leave-team-grid>*,.leave-team-workspace .leave-team-filter>*,.leave-team-workspace .admin-form>*{min-width:0}
.leave-team-workspace input,.leave-team-workspace select,.leave-team-workspace textarea{width:100%;max-width:100%;box-sizing:border-box}
.leave-team-workspace [data-leave-team-request-id]{cursor:pointer}
.leave-team-workspace .leave-team-selected{outline:2px solid currentColor;outline-offset:2px}
.leave-team-workspace .admin-actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:900px){
  .leave-team-workspace .leave-team-grid,
  .leave-team-workspace .leave-team-filter,
  .leave-team-workspace .admin-form{grid-template-columns:1fr}
  .leave-team-workspace .leave-team-filter>button,
  .leave-team-workspace .admin-actions button{width:100%;max-width:100%}
}
/* PIMM_HR_LEAVE_TEAM_FRONTEND_V1_CSS_END */
