/* HRIS Fresh Mint design layer.
   Visual rules only. Keeps hero, existing layout geometry and semantic reporting. */
:root{
  --fm-green:#079d70;--fm-green-dark:#087655;--fm-ink:#203c35;
  --fm-mint:#e3f5ea;--fm-soft:#f4faf6;--fm-sage:#d7e8dc;
  --fm-line:#dfebe3;--fm-muted:#6c8176;
  --fm-shadow:0 8px 26px rgba(35,85,61,.055);
  --fm-ease:cubic-bezier(.2,.75,.25,1);
}
/* Main workspace only; login, mascot and raw biometric logic are unaffected. */
.app-shell{background:#f6f9f7}
.app-shell .workspace{background:linear-gradient(180deg,#f6faf7 0,#f7f9f8 420px,#f7f9f8 100%)}
.app-shell .workspace :is(.panel,.toolbar-card,.report-hero,.leave-log-section-block,.field-attendance-log-card){
  border-color:var(--fm-line);box-shadow:var(--fm-shadow);
}
.app-shell .workspace :is(.panel,.toolbar-card,.report-hero){border-radius:17px}
.app-shell .workspace .panel-head{background:#fff!important;border-bottom:1px solid #e8efea!important}
.app-shell .workspace .panel-head :is(h2,h3),
.app-shell .workspace :is(.field-attendance-log-head,.annual-leave-head,.department-heading) :is(h2,h3){color:var(--fm-ink)!important;letter-spacing:-.025em}
.app-shell .workspace .field-attendance-log-head{background:#fafdfb!important;border-bottom-color:var(--fm-line)!important}
.app-shell .workspace :is(.report-hero,.toolbar-card){background:#fff}
.app-shell .workspace .workspace-head h1{color:#173e32}
.app-shell .workspace .workspace-head>div:first-child:before{background:linear-gradient(#2cbb85,#9cdbb4)}
/* Controls: white surfaces, predictable focus rings, no artificial saturated blue. */
.app-shell :is(input:not([type=checkbox]):not([type=radio]),textarea,select){
  border-color:#dbe8df;box-shadow:none;transition:border-color .18s var(--fm-ease),box-shadow .18s var(--fm-ease),background .18s var(--fm-ease);
}
.app-shell :is(input:not([type=checkbox]):not([type=radio]),textarea,select):not(:disabled):hover{border-color:#bddac8}
.app-shell :is(input:not([type=checkbox]):not([type=radio]),textarea,select):focus-visible{
  border-color:#73bc98!important;box-shadow:0 0 0 3px rgba(78,174,121,.105)!important;outline:none;
}
.app-shell input[type=checkbox],.app-shell input[type=radio]{accent-color:var(--fm-green)}
.app-shell .workspace :is(.searchbox,.legacy-search){background:#fbfefd;border-color:#dceae0!important;border-radius:11px!important;box-shadow:none}
/* Buttons: restrained, usable hierarchy. Danger/explicit actions keep their semantics. */
.app-shell .btn{border-radius:11px;transition:background .18s var(--fm-ease),border-color .18s var(--fm-ease),box-shadow .18s var(--fm-ease),transform .18s var(--fm-ease)}
.app-shell .btn.primary:not(.danger-solid):not(.warning-solid){background:#009f70;border-color:#009f70;color:#fff;box-shadow:0 5px 13px rgba(0,159,112,.12)}
.app-shell .btn.primary:not(.danger-solid):not(.warning-solid):hover:not(:disabled){background:#008c65;border-color:#008c65;box-shadow:0 7px 17px rgba(0,145,102,.16)}
.app-shell .btn:is(.soft,.ghost):not(.danger-solid):not(.warning-solid){background:#fbfdfb;border-color:#deebe2;color:#3d6552;box-shadow:none}
.app-shell .btn:is(.soft,.ghost):not(.danger-solid):not(.warning-solid):hover:not(:disabled){background:#edf8f0;border-color:#c7e2d0;color:#176a4e}

.app-shell button:disabled{cursor:not-allowed;box-shadow:none!important}
/* Tables remain flat and scannable; no widths, order or scrolling modes touched. */
.app-shell .workspace :is(.data-table,.legacy-report-table,.simple-data-table,.schedule-data-table) thead th{
  background:#ebf4ee!important;color:#446957!important;border-bottom-color:#dbe9de!important;
}
.app-shell .workspace :is(.data-table,.legacy-report-table,.simple-data-table,.schedule-data-table) tbody td{
  border-bottom-color:#e8efea!important;border-right-color:#edf2ee!important;color:#324a40;
  transition:background .16s var(--fm-ease);
}
.app-shell .workspace :is(.data-table,.legacy-report-table,.simple-data-table,.schedule-data-table) tbody tr:nth-child(even):not(.machine-row) td{background:#fbfdfb!important}
.app-shell .workspace :is(.data-table,.legacy-report-table,.simple-data-table,.schedule-data-table) tbody tr:hover td{background:#f1f8f3!important}
.app-shell .workspace :is(.data-table,.legacy-report-table,.simple-data-table,.schedule-data-table) tbody tr.selected td{background:#e9f6ec!important}
.app-shell .workspace .table-wrap{scrollbar-color:#c2dbca transparent}
.app-shell .workspace .table-wrap::-webkit-scrollbar-thumb{background:#c2dbca}
/* Core secondary sections, filters, tabs, pagination. */
.app-shell .workspace :is(.legacy-report-controls,.legacy-sort-row){background:#fbfdfb!important;border-color:#e3ece5!important}
.app-shell .workspace :is(.report-tabs,.leave-tabs){background:#f8fbf9!important;border-bottom-color:#e5eee7!important}
.app-shell .workspace .report-tabs button:not(.active){background:#fcfefd!important;border-color:#e2ebe5!important;color:#5e7768!important;box-shadow:none}
.app-shell .workspace .report-tabs button:not(.active):hover{background:#eef8f1!important;border-color:#cfe4d5!important;color:#237253!important}
.app-shell .workspace .report-tabs button.active{background:#fff!important;border-color:#bcdcc9!important;color:#0a7958!important;box-shadow:0 3px 11px rgba(40,105,71,.055)!important}
.app-shell .workspace :is(.pager-number.active,.log-page-actions .pager-number.active){background:#e5f5eb!important;color:#16734f!important;border-color:#b7dac2!important}
.app-shell .workspace :is(.pager-number,.pager-nav):not(:disabled):hover{background:#eff8f1!important;border-color:#cee3d5!important}
/* Semantics stay soft: avoid treating all values as green. */
.app-shell .workspace .tag{font-weight:650;letter-spacing:0;box-shadow:none}
.app-shell .workspace .tag.success{background:#eaf6ed!important;color:#27744c!important}
.app-shell .workspace .tag.info{background:#edf5fa!important;color:#48758d!important}
.app-shell .workspace .tag.warning{background:#fbf2e3!important;color:#946e39!important}
.app-shell .workspace .tag.danger{background:#fbedeb!important;color:#a45f59!important}
.app-shell .workspace .tag.neutral{background:#f2f5f3!important;color:#62756a!important}
.app-shell .workspace .action-tile{border-color:#e0ece4;background:#fcfefd;border-radius:13px;box-shadow:none}
.app-shell .workspace .action-tile>i{background:#eaf6ee;color:#378a62}
.app-shell .workspace .action-tile.primary{background:#f1faf4;border-color:#d7eadc}
.app-shell .workspace .action-tile.accent{background:#f2f9fa!important;border-color:#dfeced}
/* Common modal shell only — preserve heights, scroll containers and form positioning. */
.app-shell .modal-backdrop .modal-card{border-color:#dfebe3;border-radius:17px;box-shadow:0 25px 64px rgba(29,68,48,.15)}
.app-shell .modal-backdrop .modal-card .modal-head{background:#fcfefd;border-bottom-color:#e4eee7}
.app-shell .modal-backdrop .modal-card .modal-head :is(h2,h3){color:var(--fm-ink)}
.app-shell .modal-backdrop .modal-card .modal-actions{border-top-color:#e6efe9;background:#fcfefd}
.app-shell .modal-backdrop .modal-card .form-grid label{color:#536d60}
/* Report-specific chips are intentionally quieter than alerts. */
.app-shell .workspace .legacy-report-gridbar{background:#eff7f1!important;border-bottom-color:#deeadf!important}
.app-shell .workspace .legacy-report-summary{background:#fbfdfb!important;border-color:#e6eee9!important}
.app-shell .workspace .legacy-report-summary span{background:#fff!important;border-color:#e5ece7!important;box-shadow:none}
.app-shell .workspace .legacy-report-table .report-date-chip{background:#f6f8f7;border-color:#e6ece8;color:#647b70}
.app-shell .workspace .legacy-report-table .report-time-chip{background:#f0f7fa;border-color:#e0eaee;color:#51768a}
.app-shell .workspace .legacy-report-table .report-info-badge.is-warning,
.app-shell .workspace .legacy-report-table .report-metric-chip.is-warning{background:#fbf4e9;border-color:#eee2cd;color:#92703f}
.app-shell .workspace .attendance-verify-badge{background:#fcf5e9;border-color:#ecdeca;color:#92703f}
/* Information surfaces for common machine and attendance operations. */
.app-shell .workspace :is(.download-progress-meta,.operation-title-row,.operation-duration){color:#4b7061}
.app-shell .workspace .download-progress-track{background:#e8f0eb;border-radius:999px}
.app-shell .workspace .download-progress-track>span{border-radius:999px}
/* Preserve compact mobile navigation and horizontal report tables. */
@media(max-width:800px){
  .app-shell .workspace :is(.panel,.toolbar-card,.report-hero){border-radius:15px}
  .app-shell .workspace .panel-head{background:#fff!important}
  .app-shell .workspace .legacy-report-summary{gap:7px}
  .app-shell .workspace .legacy-report-summary span{padding:5px 8px}
}
@media(prefers-reduced-motion:reduce){
  .app-shell .btn,.app-shell :is(input,textarea,select),.app-shell .workspace table tbody td{transition:none!important}
}
/* Navigation keeps TGP's unmistakable green while matching mint surfaces. */
.app-shell .topbar{background:#f7fbf8!important;border-bottom-color:#dcebe1!important;box-shadow:0 2px 10px rgba(28,88,55,.025)!important}
.app-shell .topbar .menu-bar button{color:#537365!important;border-radius:10px!important}
.app-shell .topbar .menu-bar button:hover{background:#e7f5eb!important;color:#16714e!important}








/* designed module composition, not palette-only overrides.
   Inspired by the dashboard hero and consistent with Soft Professional. */
.app-shell .workspace .fm27-module-heading{
  position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;
  margin:0 0 15px!important;min-height:112px;padding:22px 26px!important;
  border:1px solid #d6eadd;border-radius:19px;
  background:linear-gradient(108deg,#e2f5e9 0%,#f1faf3 53%,#e1f3eb 100%);
  box-shadow:0 9px 28px rgba(31,92,57,.055)
}
.app-shell .workspace .fm27-module-heading::before{
  content:"";position:absolute;z-index:-1;top:-120px;right:-25px;width:360px;height:290px;
  border-radius:50%;background:radial-gradient(ellipse at center,rgba(96,190,137,.15),rgba(96,190,137,0) 68%);
  pointer-events:none
}
.app-shell .workspace .fm27-module-heading::after{
  content:"";position:absolute;z-index:-1;right:80px;bottom:-100px;width:240px;height:230px;
  border:1px solid rgba(83,171,117,.12);border-radius:48% 52% 42% 58%;transform:rotate(-24deg);pointer-events:none
}
.app-shell .workspace .fm27-heading-main{display:flex;align-items:center;gap:16px;min-width:0;position:relative;z-index:1;padding:0!important}
.app-shell .workspace .fm27-heading-main::before{display:none!important;content:none!important}
.app-shell .workspace .fm27-module-icon{flex:0 0 56px;width:56px;height:56px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.9);border-radius:17px;background:rgba(255,255,255,.74);
  box-shadow:0 5px 16px rgba(45,109,73,.075);color:#23805b;font-size:24px}
.app-shell .workspace .fm27-heading-copy{min-width:0;display:flex;flex-direction:column;gap:7px}
.app-shell .workspace .fm27-heading-kicker{display:flex;align-items:center;gap:8px;color:#528575;font-size:9px;font-weight:800;letter-spacing:.095em}
.app-shell .workspace .fm27-heading-kicker i{font-size:8px;opacity:.65}
.app-shell .workspace .fm27-module-heading h1{margin:0!important;color:#173f34!important;font-size:clamp(21px,2vw,27px)!important;line-height:1.13!important;letter-spacing:-.035em!important}
.app-shell .workspace .fm27-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 17px}
.app-shell .workspace .fm27-insight{display:flex;align-items:center;gap:13px;min-width:0;min-height:90px;padding:16px 18px;
  border:1px solid #e1ece5;border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(29,74,46,.035)}
.app-shell .workspace .fm27-insight-icon{flex:0 0 43px;width:43px;height:43px;display:grid;place-items:center;border-radius:13px;font-size:18px}
.app-shell .workspace .fm27-insight-green .fm27-insight-icon{background:#e3f4e9;color:#297954}
.app-shell .workspace .fm27-insight-blue .fm27-insight-icon{background:#e7f2f9;color:#547f94}
.app-shell .workspace .fm27-insight-amber .fm27-insight-icon{background:#fbf1df;color:#a17c47}
.app-shell .workspace .fm27-insight>div{min-width:0;display:flex;flex-direction:column;gap:6px}
.app-shell .workspace .fm27-insight small{font-size:11px;font-weight:550;color:#788a7f;white-space:nowrap}
.app-shell .workspace .fm27-insight b{font-size:17px;letter-spacing:-.025em;color:#2c443b;font-weight:750;white-space:normal;overflow-wrap:anywhere;line-height:1.22}
.app-shell .workspace .fm27-insight-blue b{color:#48778b}
.app-shell .workspace .fm27-insight-amber b{color:#94754d}
/* Section titles gain a clear icon hierarchy, while tables retain a quiet background. */
.app-shell .workspace :is(.panel-head,.field-attendance-log-head,.annual-leave-head,.department-heading){border-bottom-color:#e9f0eb!important}
.app-shell .workspace .panel-head h2,.app-shell .workspace .panel-head h3{font-weight:760!important;font-size:17px!important;line-height:1.25}
.app-shell .workspace .panel-head>div:first-child:has(>h2),.app-shell .workspace .panel-head>div:first-child:has(>h3){display:flex;align-items:center;gap:10px}
.app-shell .workspace .panel-head>div:first-child>h2::before,.app-shell .workspace .panel-head>div:first-child>h3::before{content:"";display:inline-block;vertical-align:middle;width:5px;height:22px;border-radius:999px;background:#8bc9a8;margin-right:11px}
/* Iconic action tiles are intentionally closer to the employee/machine examples. */
.app-shell .workspace .action-tile{min-height:79px!important;padding:13px!important;gap:12px;border-radius:15px!important;background:#fff!important}
.app-shell .workspace .action-tile>i{width:42px;height:42px;flex:0 0 42px;border-radius:13px!important;background:#e7f4ec;color:#2e8962;font-size:18px}
.app-shell .workspace .action-tile:nth-child(3n/**/+2)>i{background:#eaf3f8;color:#4f8095}
.app-shell .workspace .action-tile:nth-child(3n)>i{background:#faf1e2;color:#9a7543}
.app-shell .workspace .action-tile:hover:not(:disabled){border-color:#c7e4d2!important;background:#fafdfe!important;transform:translateY(-1px);box-shadow:0 8px 20px rgba(32,86,59,.075)!important}
.app-shell .workspace .action-tile b{font-size:11.5px;color:#344b40}
.app-shell .workspace .action-tile small{font-size:10px;color:#85958a}
/* Make small report badges feel integrated rather than pasted over the grid. */
.app-shell .workspace .legacy-report-table :is(.report-date-chip,.report-time-chip,.report-metric-chip,.report-info-badge){font-size:10.5px;border-radius:9px;padding:5px 9px}
.app-shell .workspace .legacy-report-table .report-time-chip{background:#eff6f9;border-color:#e1eaee}
.app-shell .workspace .legacy-report-table .report-date-chip{background:#f5f8f6;border-color:#e5ede7}
@media(max-width:800px){
 .app-shell .workspace .fm27-module-heading{min-height:88px;margin-bottom:12px!important;padding:15px 17px!important;border-radius:16px}
 .app-shell .workspace .fm27-heading-main{gap:11px}
 .app-shell .workspace .fm27-module-icon{width:43px;height:43px;flex-basis:43px;border-radius:13px;font-size:19px}
 .app-shell .workspace .fm27-heading-kicker{font-size:8px;letter-spacing:.035em}
 .app-shell .workspace .fm27-module-heading h1{font-size:20px!important}
 .app-shell .workspace .fm27-insights{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:12px}
 .app-shell .workspace .fm27-insight{padding:10px;gap:7px;min-height:74px;border-radius:13px;align-items:flex-start;flex-direction:column}
 .app-shell .workspace .fm27-insight-icon{width:30px;height:30px;flex-basis:30px;border-radius:9px;font-size:14px}
 .app-shell .workspace .fm27-insight small{font-size:9px;white-space:normal}
 .app-shell .workspace .fm27-insight b{font-size:12px}
}
@media(max-width:420px){.app-shell .workspace .fm27-heading-kicker{font-size:7.5px}.app-shell .workspace .fm27-insight b{font-size:11px}}


/* layout repair: the global header must never sit underneath the fixed topbar.
   Compact module identity, secondary summaries only where useful; operational tables remain primary. */
@media (min-width:901px){
 .app-shell .workspace{padding-top:calc(var(--topbar) + 16px)!important}
}
.app-shell .workspace .fm27-module-heading{
 min-height:72px!important;height:auto!important;padding:13px 19px!important;
 margin:0 0 12px!important;border-radius:15px!important;
 display:flex!important;align-items:center!important;overflow:hidden!important;
 background:linear-gradient(105deg,#e7f6ec 0%,#f3fbf6 60%,#e9f6ef 100%)!important;
 box-shadow:0 2px 12px rgba(31,92,57,.035)!important;
}
.app-shell .workspace .fm27-module-heading::before{top:-150px;right:-90px;opacity:.40}
.app-shell .workspace .fm27-module-heading::after{display:none!important}
.app-shell .workspace .fm27-heading-main{display:flex!important;align-items:center!important;gap:12px!important;
 flex-wrap:nowrap!important;min-height:44px!important;padding:0!important;margin:0!important;
 width:100%!important;max-width:100%!important;transform:none!important;position:relative!important;left:auto!important;top:auto!important}
.app-shell .workspace .fm27-heading-main::before{display:none!important;content:none!important}
.app-shell .workspace .fm27-module-icon{flex:0 0 43px!important;width:43px!important;height:43px!important;
 border-radius:12px!important;font-size:19px!important;box-shadow:none!important;background:rgba(255,255,255,.78)!important}
.app-shell .workspace .fm27-heading-copy{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;
 align-items:flex-start!important;justify-content:center!important;line-height:normal!important}
.app-shell .workspace .fm27-heading-kicker{font-size:8px!important;letter-spacing:.075em!important;white-space:normal!important;line-height:1.25!important}
.app-shell .workspace .fm27-module-heading h1{display:block!important;max-width:100%!important;white-space:normal!important;
 font-size:22px!important;line-height:1.24!important;letter-spacing:-.025em!important;
 margin:0!important;padding:0!important;position:static!important;transform:none!important}
/* Simple status ribbon rather than large, repeated cards. */
.app-shell .workspace .fm28-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;
 width:max-content;max-width:100%;min-height:34px;margin:0 0 12px;padding:6px 12px;
 border:1px solid #e1ece5;border-radius:11px;background:#fbfefc;box-shadow:none;
 color:#6a8072;font-size:11px;font-weight:500;line-height:1.35}
.app-shell .workspace .fm28-summary>i{color:#568a70;font-size:13px;margin-right:3px}
.app-shell .workspace .fm28-summary strong{font-size:12px;font-weight:750;color:#2c5d45}
.app-shell .workspace .fm28-summary .fm28-separator{height:14px;width:1px;background:#dfeae3;margin:0 5px}
.app-shell .workspace .fm28-dot{width:7px;height:7px;border-radius:50%;display:inline-block}
.app-shell .workspace .fm28-online{background:#61b38b}
.app-shell .workspace .fm28-offline{background:#daa07c}
/* Strip empty wrappers for repeated page titles while keeping action controls intact. */
.app-shell .workspace .fm28-redundant-title{display:none!important}
.app-shell .workspace .employee-workspace>.panel-head{min-height:0!important;padding:13px 18px!important;justify-content:flex-end!important;align-items:center!important}
.app-shell .workspace .employee-workspace>.panel-head .employee-tools{width:100%!important;min-width:0!important;flex:1 1 auto!important;justify-content:flex-end!important}
.app-shell .workspace .fm28-page-report .report-panel>.report-tabs{border-top-left-radius:15px;border-top-right-radius:15px}
.app-shell .workspace .panel-head:has(>.fm28-redundant-title){padding-top:12px!important;padding-bottom:12px!important;min-height:0!important}
.app-shell .workspace .panel-head:has(>.fm28-redundant-title)>.panel-tools{margin-left:auto}
@media(max-width:900px){
 .app-shell .workspace .fm27-module-heading{min-height:66px!important;padding:11px 14px!important;margin-bottom:10px!important}
 .app-shell .workspace .fm27-module-icon{width:38px!important;height:38px!important;flex-basis:38px!important;font-size:17px!important}
 .app-shell .workspace .fm27-module-heading h1{font-size:19px!important}
 .app-shell .workspace .fm27-heading-kicker{font-size:7.5px!important}
 .app-shell .workspace .fm28-summary{margin-bottom:10px;padding:6px 10px;font-size:10.5px}
 .app-shell .workspace .employee-workspace>.panel-head{padding:12px!important}
 .app-shell .workspace .employee-workspace>.panel-head .employee-tools{justify-content:flex-start!important}
}


/* one Department heading; Machine summary inside title card. */
.app-shell .workspace .fm27-module-heading{gap:16px!important;justify-content:space-between!important}
.app-shell .workspace .fm27-module-heading .fm27-heading-main{width:auto!important;max-width:none!important;min-width:0!important;flex:1 1 auto!important}
/* Shared title-card action for Contract, Statement, and Psikotest menus. */
.app-shell .workspace .fm27-module-heading .fm27-heading-actions{position:relative;z-index:2;display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;margin-left:auto}
.app-shell .workspace .fm27-module-heading .fm27-heading-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 17px;border-radius:10px;white-space:nowrap}
@media(max-width:600px){.app-shell .workspace .fm27-module-heading .fm27-heading-actions .btn{min-height:36px;padding:0 10px;font-size:12px}}
.app-shell .workspace .fm29-machine-summary{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:10px;min-height:36px;padding:8px 13px;border-radius:11px;border:1px solid rgba(172,211,184,.65);background:rgba(255,255,255,.68);color:#577666;font-size:11px;white-space:nowrap}
.app-shell .workspace .fm29-machine-item{display:inline-flex;align-items:center;gap:5px}
.app-shell .workspace .fm29-machine-item b{color:#2c6249;font-weight:750;font-size:12px;font-variant-numeric:tabular-nums}
.app-shell .workspace .fm29-machine-item>.pi{font-size:12px;color:#568b70}
.app-shell .workspace .fm29-machine-dot{display:inline-block;width:7px;height:7px;border-radius:50%}
.app-shell .workspace .fm29-machine-dot.is-online{background:#62b68d}
.app-shell .workspace .fm29-machine-dot.is-offline{background:#d9a07e}
.app-shell .workspace .fm29-machine-sep{width:1px;height:14px;background:#d8e8df}
.app-shell .workspace .department-panel .department-panel-head{justify-content:flex-end!important}
.app-shell .workspace .department-panel .department-toolbar-tools{margin-left:auto}
@media(max-width:800px){
 .app-shell .workspace .fm27-module-heading:has(.fm29-machine-summary){flex-wrap:wrap!important;gap:7px!important}
 .app-shell .workspace .fm27-module-heading .fm29-machine-summary{font-size:10px;padding:6px 10px;gap:7px;max-width:100%;flex-wrap:wrap;justify-content:flex-start}
 .app-shell .workspace .fm29-machine-item b{font-size:11px}
}


/* inline header info for Report and Leave Log */
.app-shell .workspace .fm29-inline-summary{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:10px;min-height:36px;padding:8px 13px;border-radius:11px;border:1px solid rgba(172,211,184,.65);background:rgba(255,255,255,.68);color:#577666;font-size:11px;white-space:nowrap}
.app-shell .workspace .fm29-inline-summary .fm29-machine-item{display:inline-flex;align-items:center;gap:5px}
.app-shell .workspace .fm29-inline-summary .fm29-machine-item b{color:#2c6249;font-weight:750;font-size:12px;font-variant-numeric:tabular-nums}
.app-shell .workspace .fm29-inline-summary .fm29-machine-item>.pi{font-size:12px;color:#568b70}
.app-shell .workspace .fm29-inline-period{gap:8px}
.app-shell .workspace .fm29-inline-label{font-size:10px;font-weight:800;letter-spacing:.08em;color:#6f8577;text-transform:uppercase}
.app-shell .workspace .fm29-inline-period .annual-leave-year-select{height:34px!important;min-width:108px;border-radius:10px!important;padding:0 10px!important;background:rgba(255,255,255,.82)!important;border-color:#d8e7de!important;box-shadow:none!important}
.app-shell .workspace .fm29-inline-period .annual-leave-year-select select{font-size:12px!important;font-weight:750!important;color:#204b3b!important}
.app-shell .workspace .leave-center-panel>.leave-center-tabs-top{border-top:0!important}
@media(max-width:800px){
  .app-shell .workspace .fm27-module-heading:has(.fm29-inline-summary){flex-wrap:wrap!important;gap:7px!important}
  .app-shell .workspace .fm27-module-heading .fm29-inline-summary{font-size:10px;padding:6px 10px;gap:7px;max-width:100%;flex-wrap:wrap;justify-content:flex-start}
  .app-shell .workspace .fm29-inline-summary .fm29-machine-item b{font-size:11px}
  .app-shell .workspace .fm29-inline-period{width:100%;justify-content:space-between}
}


/* compact title suffixes, unmistakable active submenu, balanced dashboard detail */
.app-shell .workspace .fm62-header-submenu{font:inherit;font-weight:650;letter-spacing:inherit;color:#467662}
.app-shell .workspace .fm27-module-heading .fm27-heading-copy h1{overflow-wrap:anywhere}
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button{transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease!important}
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button.active,
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button[aria-selected="true"]{background:#dff2e7!important;border-color:#8ecbab!important;color:#086b4d!important;font-weight:800!important;box-shadow:inset 0 -3px 0 #1b9d72,0 2px 7px rgba(19,101,70,.09)!important}
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button:not(.active):hover{background:#edf8f1!important;border-color:#c4e3d0!important;color:#147958!important}
.app-shell .workspace .hris-psychotest-native .report-tabs button.active{background:#dff2e7!important;border-color:#8ecbab!important;color:#086b4d!important;box-shadow:inset 0 -3px 0 #1b9d72!important}
.db85-detail-modal .db74-table .fm62-late-detail-table{width:100%;min-width:740px;table-layout:fixed}
.db85-detail-modal .db74-table .fm62-late-detail-table th:nth-child(1),.db85-detail-modal .db74-table .fm62-late-detail-table td:nth-child(1){width:9%}
/* keep department and name DATA left aligned, never the column headings. */
.db85-detail-modal .db74-table .fm62-late-detail-table th:nth-child(2),.db85-detail-modal .db74-table .fm62-late-detail-table td:nth-child(2){width:26%;white-space:normal!important;overflow-wrap:anywhere}
.db85-detail-modal .db74-table .fm62-late-detail-table td:nth-child(2){text-align:left!important}
.db85-detail-modal .db74-table .fm62-late-detail-table th:nth-child(3),.db85-detail-modal .db74-table .fm62-late-detail-table td:nth-child(3){width:26%;white-space:normal!important;overflow-wrap:anywhere}
.db85-detail-modal .db74-table .fm62-late-detail-table td:nth-child(3){text-align:left!important}
.db85-detail-modal .db74-table .fm62-late-detail-table th:nth-child(4),.db85-detail-modal .db74-table .fm62-late-detail-table td:nth-child(4),.db85-detail-modal .db74-table .fm62-late-detail-table th:nth-child(5),.db85-detail-modal .db74-table .fm62-late-detail-table td:nth-child(5),.db85-detail-modal .db74-table .fm62-late-detail-table th:nth-child(6),.db85-detail-modal .db74-table .fm62-late-detail-table td:nth-child(6){width:9%;text-align:center!important;font-variant-numeric:tabular-nums;white-space:nowrap!important}
.db85-detail-modal .db74-table .fm62-late-detail-table th:nth-child(7),.db85-detail-modal .db74-table .fm62-late-detail-table td:nth-child(7){width:12%;text-align:center!important;white-space:normal!important}
@media(max-width:650px){.app-shell .workspace .fm62-header-submenu{font-size:.86em}.db85-detail-modal .db74-table .fm62-late-detail-table{min-width:740px}}

/* restrained heading hierarchy across desktop and mobile */
.app-shell .workspace .fm27-module-heading{
  min-height:64px!important;
  padding:11px 17px!important;
  gap:12px!important;
}
.app-shell .workspace .fm27-heading-main{min-height:38px!important;gap:10px!important}
.app-shell .workspace .fm27-module-icon{
  width:38px!important;height:38px!important;flex-basis:38px!important;
  border-radius:11px!important;font-size:16px!important;
}
.app-shell .workspace .fm27-heading-copy{gap:2px!important;max-width:100%!important}
.app-shell .workspace .fm27-heading-kicker{
  font-size:7.5px!important;font-weight:700!important;
  letter-spacing:.07em!important;line-height:1.2!important;
}
.app-shell .workspace .fm27-module-heading .fm27-heading-copy h1{
  font-size:18px!important;line-height:1.35!important;
  letter-spacing:-.02em!important;font-weight:730!important;
  overflow-wrap:normal!important;word-break:normal!important;
}
.app-shell .workspace .fm27-heading-copy .fm62-header-submenu{
  font-size:13px!important;line-height:1.4!important;
  font-weight:550!important;letter-spacing:-.005em!important;
  color:#668575!important;overflow-wrap:break-word!important;
}
.app-shell .workspace .fm29-machine-summary,
.app-shell .workspace .fm29-inline-summary{min-height:32px;padding:6px 11px;font-size:10.5px}
.app-shell .workspace .fm29-machine-item b,
.app-shell .workspace .fm29-inline-summary .fm29-machine-item b{font-size:11px}
@media(max-width:900px){
  .app-shell .workspace .fm27-module-heading{min-height:60px!important;padding:10px 13px!important}
  .app-shell .workspace .fm27-module-icon{width:35px!important;height:35px!important;flex-basis:35px!important;font-size:15px!important}
  .app-shell .workspace .fm27-module-heading .fm27-heading-copy h1{font-size:16.5px!important;line-height:1.35!important}
  .app-shell .workspace .fm27-heading-copy .fm62-header-submenu{font-size:12px!important}
  .app-shell .workspace .fm27-heading-kicker{font-size:7px!important}
}
@media(max-width:480px){
  .app-shell .workspace .fm27-module-heading .fm27-heading-copy h1{font-size:16px!important}
  .app-shell .workspace .fm27-heading-copy .fm62-header-submenu{font-size:11.5px!important}
}

/* restrained Fresh Mint submenu selection; no heavy green underline */
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button{
  border-radius:11px!important;
  transition:background-color .22s ease,border-color .22s ease,color .22s ease,box-shadow .22s ease!important;
  transform:none!important;
}
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button.active,
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button[aria-selected="true"],
.app-shell .workspace .hris-psychotest-native .report-tabs button.active{
  background:#eaf6ef!important;
  border:1px solid #c3dfcf!important;
  color:#146b50!important;
  font-weight:700!important;
  box-shadow:0 1px 3px rgba(28,91,61,.035)!important;
  transform:none!important;
}
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button:not(.active):not([aria-selected="true"]):hover{
  background:#f1f8f4!important;
  border-color:#d1e6d9!important;
  color:#247657!important;
  box-shadow:0 2px 7px rgba(30,95,61,.035)!important;
  transform:none!important;
}
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button::after,
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button:hover::after{
  content:none!important;
  display:none!important;
}
.app-shell .workspace :is(.report-tabs,.leave-center-tabs) button:focus-visible{
  outline:2px solid #82bda0!important;
  outline-offset:2px!important;
}
@media(prefers-reduced-motion:reduce){
  .app-shell .workspace :is(.report-tabs,.leave-center-tabs) button{transition:none!important}
}


/* Employee filter summary belongs to the title card. */
.app-shell .workspace .fm65-employee-summary{gap:9px;min-width:0;max-width:min(58%,580px)}
.app-shell .workspace .fm65-employee-summary .fm29-machine-item{flex:0 0 auto;white-space:nowrap}
.app-shell .workspace .fm65-summary-separator{display:block;flex:0 0 1px;height:16px;background:#d9e9de}
.app-shell .workspace .fm65-summary-filter{min-width:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#587766;font-weight:650}
.app-shell .workspace .fm65-summary-filter-status{display:inline-flex;align-items:center;flex:0 0 auto;padding:4px 9px;border-radius:999px;background:#e9f5ed;color:#267052;font-size:10px;font-weight:700;white-space:nowrap}
@media(max-width:900px){
 .app-shell .workspace .fm27-module-heading:has(.fm65-employee-summary){flex-wrap:wrap!important;row-gap:8px!important}
 .app-shell .workspace .fm65-employee-summary{max-width:100%;width:auto;justify-content:flex-start;flex-wrap:wrap;white-space:normal}
 .app-shell .workspace .fm65-summary-filter{max-width:min(48vw,230px)}
}


/* shared Fresh Mint notification language for all HRIS modules */
.app-shell .toast-stack{
  position:fixed!important;z-index:120000!important;
  top:calc(var(--topbar,66px) + 16px)!important;right:clamp(16px,2.7vw,38px)!important;
  width:min(380px,calc(100vw - 32px))!important;display:flex!important;flex-direction:column!important;
  align-items:stretch!important;gap:10px!important;pointer-events:none!important;
}
.app-shell .toast-stack .hris-fresh-toast{
  --notice-tone:#36966a;--notice-icon:#eaf7ef;--notice-ink:#216b49;
  position:relative!important;display:flex!important;align-items:flex-start!important;gap:12px!important;
  padding:14px 39px 16px 13px!important;border:1px solid #e2ede6!important;
  border-radius:15px!important;background:#fff!important;color:#294537!important;
  box-shadow:0 9px 30px rgba(32,72,53,.09),0 2px 7px rgba(32,72,53,.035)!important;
  overflow:hidden!important;pointer-events:auto!important;min-width:0!important;
  border-left:1px solid #e2ede6!important;
}
.app-shell .toast-stack .hris-fresh-toast.success{--notice-tone:#36966a;--notice-icon:#eaf7ef;--notice-ink:#216b49}
.app-shell .toast-stack .hris-fresh-toast.info{--notice-tone:#588da7;--notice-icon:#edf5fa;--notice-ink:#416e85}
.app-shell .toast-stack .hris-fresh-toast.warning{--notice-tone:#c39853;--notice-icon:#fdf4e5;--notice-ink:#8c6b35}
.app-shell .toast-stack .hris-fresh-toast.error,
.app-shell .toast-stack .hris-fresh-toast.danger{--notice-tone:#cb7b72;--notice-icon:#fbefed;--notice-ink:#a04e48}
.app-shell .toast-stack .hris-fresh-toast .hris-toast-icon{
  width:34px!important;height:34px!important;flex:0 0 34px!important;
  display:grid!important;place-items:center!important;
  border-radius:11px!important;background:var(--notice-icon)!important;color:var(--notice-ink)!important;
  margin:0!important;font-size:14px!important;
}
.app-shell .toast-stack .hris-fresh-toast>.pi{display:none!important}
.app-shell .toast-stack .hris-fresh-toast .toast-copy{flex:1 1 auto!important;min-width:0!important;padding:1px 0!important}
.app-shell .toast-stack .hris-fresh-toast .toast-copy>b{
  display:block!important;color:#284338!important;font-size:12.5px!important;font-weight:750!important;
  letter-spacing:-.01em!important;line-height:1.4!important;margin:0!important;
}
.app-shell .toast-stack .hris-fresh-toast .toast-copy>span{
  display:block!important;margin-top:4px!important;color:#698074!important;
  font-size:11.5px!important;line-height:1.52!important;font-weight:450!important;
  overflow-wrap:anywhere!important;white-space:normal!important;
}
.app-shell .toast-stack .hris-toast-dismiss{
  position:absolute!important;right:10px!important;top:10px!important;
  width:25px!important;height:25px!important;display:grid!important;place-items:center!important;
  padding:0!important;border:0!important;border-radius:8px!important;
  background:transparent!important;color:#8da197!important;font-size:10px!important;
  transition:background .18s ease,color .18s ease!important;
}
.app-shell .toast-stack .hris-toast-dismiss:hover,.app-shell .toast-stack .hris-toast-dismiss:focus-visible{background:#eef5f0!important;color:#3e7058!important}
.app-shell .toast-stack .hris-toast-dismiss:focus-visible{outline:2px solid #7dbb96;outline-offset:2px}
.app-shell .toast-stack .hris-toast-timer{
  position:absolute!important;left:0!important;bottom:0!important;height:2px!important;width:100%!important;
  background:var(--notice-tone)!important;opacity:.62!important;
  transform-origin:left center!important;
  animation:hrisToastCountdown var(--toast-duration,5000ms) linear both!important;
}
.app-shell .toast-stack .hris-fresh-toast:hover .hris-toast-timer{animation-play-state:paused!important}
.app-shell .toast-stack .hris-fresh-toast .toast-actions{margin-top:9px!important}
.app-shell .toast-stack .hris-fresh-toast .toast-action-btn{
  min-height:29px!important;border-radius:9px!important;padding:4px 11px!important;
  border:1px solid #d2e6d9!important;background:#f0f8f3!important;color:#27734e!important;font-size:10.5px!important;
}
.app-shell .toast-stack .hris-fresh-toast .toast-action-btn:hover:not(:disabled){background:#e6f4eb!important;border-color:#b9d9c4!important}
.hris-toast-enter-active,.hris-toast-leave-active{transition:opacity .22s ease,transform .22s cubic-bezier(.2,.8,.2,1)!important}
.hris-toast-enter-from,.hris-toast-leave-to{opacity:0!important;transform:translate3d(12px,-5px,0)!important}
.hris-toast-move{transition:transform .22s ease!important}
@keyframes hrisToastCountdown{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media(max-width:700px){
 .app-shell .toast-stack{top:calc(var(--topbar,66px) + 9px)!important;right:12px!important;left:12px!important;width:auto!important;max-width:none!important}
 .app-shell .toast-stack .hris-fresh-toast{padding:12px 36px 14px 12px!important;border-radius:14px!important;gap:10px!important}
 .app-shell .toast-stack .hris-fresh-toast .toast-copy>span{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){.hris-toast-enter-active,.hris-toast-leave-active,.hris-toast-move{transition:none!important}.app-shell .toast-stack .hris-toast-timer{animation:none!important;display:none!important}}

/* Login validation feedback uses the same quiet Fresh Mint visual vocabulary. */
.app-shell .login-error,.login-error{
  display:flex;align-items:flex-start;gap:10px;
  padding:11px 13px;border:1px solid #eddfdc;border-radius:12px;
  background:#fcf4f2;color:#985750;font-size:12px;line-height:1.5;
  box-shadow:none;
}
.login-error>.pi{color:#b9746b;font-size:15px;margin-top:1px}

/* scoped user editor, aligned with Fresh Mint UI */
.app-shell .workspace .hris-access-intro{display:grid;gap:3px;padding:12px 14px;border:1px solid #d9eadf;background:#f4faf6;border-radius:12px;color:#1c5e45}
.app-shell .workspace .hris-access-intro b{font-size:13px;font-weight:750}
.app-shell .workspace .hris-access-intro small{font-size:11px;color:#698477;line-height:1.5}
.app-shell .workspace .hris-scope .hris-machine-mode{flex-wrap:wrap}
.app-shell .workspace .hris-employee-picker{display:grid;gap:10px;padding:10px;border:1px solid #e4eee7;background:#fbfdfb;border-radius:13px}
.app-shell .workspace .hris-picker-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.app-shell .workspace .hris-picker-toolbar>.searchbox{flex:1 1 220px}
.app-shell .workspace .hris-employee-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:245px;overflow-y:auto;overscroll-behavior:contain;padding:3px;scrollbar-color:#c7ded0 transparent}
.app-shell .workspace .hris-employee-option{display:flex;align-items:center;gap:10px;min-width:0;margin:0;padding:10px 11px;border:1px solid #e1eae3;border-radius:11px;background:#fff;cursor:pointer;transition:background-color .18s,border-color .18s}
.app-shell .workspace .hris-employee-option:hover{background:#f0f8f2;border-color:#c9e3d2}
.app-shell .workspace .hris-employee-option input{width:16px;height:16px;flex:0 0 auto;accent-color:#238764}
.app-shell .workspace .hris-employee-option span{display:grid;gap:3px;min-width:0}
.app-shell .workspace .hris-employee-option b{font-size:11.5px;color:#274a39;overflow-wrap:anywhere}
.app-shell .workspace .hris-employee-option small{font-size:10px;color:#6e8576;line-height:1.4}
.app-shell .workspace .hris-reject-note{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;padding:12px;margin-top:10px;border:1px solid #f1ded7;background:#fef9f7;border-radius:12px}
.app-shell .workspace .hris-reject-note label{flex:1 1 100%;display:grid;gap:6px;color:#74594c;font-size:12px;font-weight:700}
.app-shell .workspace .hris-reject-note textarea{width:100%;resize:vertical;min-height:76px;border:1px solid #e8d6ca;border-radius:10px;padding:10px 12px;background:#fff;font:inherit;font-weight:400;color:#3b3834}
.app-shell .workspace .hris-reject-note textarea:focus{outline:2px solid #d8b59f;outline-offset:1px}
@media(max-width:700px){
 .app-shell .workspace .hris-employee-list{grid-template-columns:1fr;max-height:210px}
 .app-shell .workspace .hris-picker-toolbar>.btn{width:100%}
}

/* make employee access scope discoverable even with Administrator selected. */
.app-shell .workspace .hris-access-explanation{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #dceae1;background:#f3f9f5;color:#4e705e;border-radius:11px;font-size:12px;line-height:1.55}
.app-shell .workspace .hris-access-explanation>.pi{margin-top:2px;flex:none;color:#25865b}
.app-shell .workspace .hris-access-explanation b{color:#176d4c}


/* restricted employee picker, streamlined and active employees only. */
.app-shell .workspace .hris-picker-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:2px 2px 4px}
.app-shell .workspace .hris-picker-heading>div{display:grid;gap:3px}
.app-shell .workspace .hris-picker-heading b{font-size:12px;color:#245840}
.app-shell .workspace .hris-picker-heading small{font-size:10.5px;color:#758a7c;line-height:1.45}
.app-shell .workspace .hris-active-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid #cfe9d9;border-radius:999px;background:#eaf7ef;color:#287452;font-size:10px;font-weight:750;white-space:nowrap}
.app-shell .workspace .hris-department-filter{flex:1 1 155px;min-width:0;max-width:230px;height:38px;border-radius:10px;background:#fff;font-size:11px;color:#416c53}
.app-shell .workspace .hris-picker-toolbar-variant>.searchbox{flex:1 1 180px}
.app-shell .workspace .hris-picker-count{display:flex;align-items:center;gap:5px;padding:5px 3px;color:#728779;font-size:10.5px}
.app-shell .workspace .hris-picker-count b{color:#2c6348;font-weight:750}
.app-shell .workspace .hris-picker-count span{color:#b0c6b6}
.app-shell .workspace .hris-employee-option:has(input:checked){background:#eef8f1;border-color:#b9dec8;box-shadow:0 1px 5px rgba(18,92,62,.035)}
@media(max-width:700px){.app-shell .workspace .hris-department-filter{max-width:none;flex:1 1 100%}.app-shell .workspace .hris-picker-toolbar-variant>.searchbox{flex:1 1 100%}}


/* balanced Sync metadata (desktop + mobile). */
.app-shell .workspace .machine-name small.hris-machine-sync-meta,
.app-shell .workspace .machine-mobile-identity small.hris-machine-sync-meta{
  display:flex!important;
  align-items:baseline!important;
  gap:6px!important;
  width:max-content!important;
  max-width:100%!important;
  margin:3px 0 0!important;
  padding:0!important;
  line-height:1.35!important;
  font-size:10px!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums;
}
.app-shell .workspace .hris-machine-sync-meta .hris-machine-sync-caption{
  font:inherit!important;
  font-weight:400!important;
  color:#8094a2!important;
}
.app-shell .workspace .hris-machine-sync-meta .hris-machine-sync-colon{
  font:inherit!important;
  font-weight:400!important;
  color:#8094a2!important;
}
.app-shell .workspace .hris-machine-sync-meta .hris-machine-sync-value{
  font:inherit!important;
  font-weight:400!important;
  color:#8094a2!important;
}
.app-shell .workspace .hris-machine-sync-meta.has-failure .hris-machine-sync-value{color:#b37852!important}
.app-shell .workspace .hris-machine-sync-meta.is-empty:not(.has-failure) .hris-machine-sync-value{color:#879a92!important}
@media(max-width:390px){
  .app-shell .workspace .machine-mobile-identity small.hris-machine-sync-meta{font-size:9.5px!important}
}

/* make AC Log employee names as legible as the date, without changing other tables. */
.app-shell .workspace .ac-log-table tbody td:nth-child(2){
  font-weight:700!important;
  color:#304b55!important;
}


/* Period selector in Leave Log title card — no clipped calendar/year/chevron. */
.app-shell .workspace .fm27-module-heading .fm29-inline-period{display:inline-flex!important;align-items:center!important;gap:12px!important;padding:7px 10px 7px 13px!important;min-width:242px;max-width:100%;overflow:visible!important;flex-shrink:0}
.app-shell .workspace .fm27-module-heading .fm29-inline-period .fm29-inline-label{flex:0 0 auto;white-space:nowrap}
.app-shell .workspace .fm27-module-heading .fm29-inline-period .annual-leave-year-select{box-sizing:border-box!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex:1 0 142px!important;width:142px!important;min-width:142px!important;max-width:none!important;overflow:visible!important;height:38px!important;gap:9px!important;padding:0 11px!important;border-radius:11px!important}
.app-shell .workspace .fm27-module-heading .fm29-inline-period .annual-leave-year-select>i{position:static!important;transform:none!important;flex:0 0 auto!important;display:inline-block!important;margin:0!important;line-height:1!important}
.app-shell .workspace .fm27-module-heading .fm29-inline-period .annual-leave-year-select select{display:block!important;flex:1 1 auto!important;width:66px!important;min-width:58px!important;max-width:none!important;height:34px!important;padding:0!important;margin:0!important;text-align:left!important;line-height:34px!important;appearance:none!important;box-shadow:none!important;background:transparent!important}
@media(max-width:800px){.app-shell .workspace .fm27-module-heading .fm29-inline-period{width:auto!important;max-width:100%;justify-content:flex-start!important;gap:9px!important;min-width:0}.app-shell .workspace .fm27-module-heading .fm29-inline-period .annual-leave-year-select{flex:0 0 138px!important;width:138px!important;min-width:138px!important}}

/* integrated Employee Leaving history, compact and legible. */
.app-shell .modal-card.modal-employee-leaving{display:flex;flex-direction:column;overflow:hidden;max-height:min(94dvh,900px)}
.app-shell .modal-card.modal-employee-leaving>.modal-head{flex:0 0 auto}
.app-shell .modal-card.modal-employee-leaving>.employee-leaving-modal{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#b9d7c6 transparent}
/* Riwayat modal Employee Leaving mengikuti tabel Histori Izin/Cuti. */
.app-shell .ui-leaving-history{margin-top:14px;border:1px solid #dfe7e9;border-radius:13px;overflow:hidden;background:#fff}
.app-shell .ui-leaving-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 13px;background:#f8fafb;border-bottom:1px solid #e3e9ec}
.app-shell .ui-leaving-history-title{display:flex;align-items:center;gap:8px;color:#354c58;font-size:12px}
.app-shell .ui-leaving-history-title i{color:#6b8790}
.app-shell .ui-leaving-history-title span{font-size:10px;font-weight:500;color:#819098}
.app-shell .ui-leaving-history-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.app-shell .ui-leaving-history-tools .searchbox{min-width:220px;max-width:330px;width:clamp(220px,25vw,330px);height:36px}
.app-shell .ui-leaving-history-tools .searchbox input{height:34px;font-size:11px}
.app-shell .ui-leaving-history-tools .ui-leaving-sort{height:36px;gap:7px;font-size:11px}
.app-shell .ui-leaving-table-scroll{width:100%;overflow-x:auto}
.app-shell .ui-leaving-table{width:100%;min-width:940px;table-layout:fixed;border-collapse:collapse;border-spacing:0}
.app-shell .ui-leaving-table thead th{height:auto;padding:12px 9px;background:#eaf0f2!important;color:#345768!important;font-size:11px!important;font-weight:750;text-align:center!important;white-space:nowrap;border-bottom:1px solid #dde6e9}
.app-shell .ui-leaving-table tbody td{padding:10px 9px;max-width:none;height:auto;border-bottom:1px solid #e8edef;font-size:11px!important;line-height:1.45;color:#405763!important;overflow-wrap:break-word;white-space:normal;vertical-align:middle}
.app-shell .ui-leaving-table th:nth-child(1){width:5.5%}
.app-shell .ui-leaving-table th:nth-child(2){width:21%}
.app-shell .ui-leaving-table th:nth-child(3){width:10%}
.app-shell .ui-leaving-table th:nth-child(4),.app-shell .ui-leaving-table th:nth-child(5){width:17%}
.app-shell .ui-leaving-table th:nth-child(6){width:17%}
.app-shell .ui-leaving-table th:nth-child(7){width:12.5%}
.app-shell .ui-leaving-table td:not(:nth-child(2)):not(:nth-child(6)){text-align:center!important}
.app-shell .ui-leaving-table td:nth-child(2),.app-shell .ui-leaving-table td:nth-child(6){text-align:left!important}
.app-shell .ui-leaving-table td:nth-child(4),.app-shell .ui-leaving-table td:nth-child(5){white-space:nowrap;font-variant-numeric:tabular-nums}
.app-shell .ui-leaving-table td:first-child{font-weight:650;color:#617887!important;font-variant-numeric:tabular-nums}
.app-shell .ui-leaving-table td.ui-leaving-name{font-weight:700;color:#324c5a!important}
.app-shell .ui-leaving-table tbody tr:nth-child(even){background:#f6f8f9!important}
.app-shell .ui-leaving-table tbody tr:nth-child(odd){background:#fff!important}
.app-shell .ui-leaving-table tbody tr:hover{background:#edf6f1!important}
.app-shell .ui-leaving-table tbody tr:hover td{background:transparent!important}
.app-shell .ui-leaving-pagination{padding:10px 12px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;color:#6b7f8a;font-size:10.5px;border-top:1px solid #e8edef;background:#fff}
.app-shell .ui-leaving-pagination>div{display:flex;align-items:center;gap:10px}
.app-shell .ui-leaving-pagination .btn{height:28px;min-width:30px;padding:0 8px}
@media(max-width:650px){.app-shell .ui-leaving-history-head{align-items:stretch;flex-direction:column}.app-shell .ui-leaving-history-tools{width:100%}.app-shell .ui-leaving-history-tools .searchbox{flex:1 1 100%;width:100%;max-width:none;min-width:0}.app-shell .ui-leaving-pagination{font-size:10px}}

/* Employee table and paginator share one seamless surface. */






/* Employee table/footer occupy the full shell width (override legacy inset widths). */





/* Align user editor intro and fields; prevent adjacent heading copy collision. */
.app-shell .workspace .admin-user-form .hris-access-intro{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:13px 16px;}
.app-shell .workspace .admin-user-form .hris-access-intro small{display:block;line-height:1.5;}
.app-shell .workspace .admin-user-form>label.span-two{display:flex;flex-direction:column;gap:7px;min-width:0;}
.app-shell .workspace .admin-user-form .hris-admin-password-eye{z-index:1;}

/* User Management modal and employee multi-select visual refinement */
.app-shell .workspace .modal-card.modal-rbac>.admin-user-form{row-gap:16px!important;}
.app-shell .workspace .modal-card.modal-rbac .admin-user-form>.hris-access-intro{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;margin:0!important;padding:15px 18px!important;border:1px solid #e0eae5!important;border-radius:12px!important;background:#f8fbf9!important;line-height:1.45!important;}
.app-shell .workspace .admin-user-form .ui-intro-title{display:flex;align-items:center;gap:9px;font-size:14px;line-height:1.45;color:#284b40;}
.app-shell .workspace .admin-user-form .ui-intro-title i{font-size:15px;color:#23916a;}
.app-shell .workspace .admin-user-form .ui-intro-title b{font-size:14px;font-weight:750;}
.app-shell .workspace .admin-user-form .hris-access-intro p{margin:0!important;font-size:11.5px;line-height:1.6;color:#687b72;overflow-wrap:anywhere;}
.app-shell .workspace .modal-card.modal-rbac .admin-user-form>label.span-two{margin:0!important;display:flex!important;flex-direction:column!important;gap:7px!important;}
.app-shell .workspace .modal-card.modal-rbac .admin-user-form>label.span-two>small{display:block;margin-top:1px;line-height:1.5;color:#7c8c82;}
.app-shell .workspace .modal-card.modal-rbac .admin-user-form .hris-permission-heading{display:flex;align-items:center;justify-content:space-between;gap:8px 14px;flex-wrap:wrap;padding-bottom:11px;border-bottom:1px solid #e9efeb;}
.app-shell .workspace .modal-card.modal-rbac .admin-user-form .hris-permission-heading b{color:#284c40!important;font-size:13px!important;line-height:1.5;}
.app-shell .workspace .modal-card.modal-rbac .admin-user-form .hris-permission-heading span{margin:0!important;color:#61776c!important;font-size:11px!important;}
.app-shell .workspace .modal-card.modal-rbac .hris-employee-picker{min-width:0;padding:14px!important;gap:12px!important;background:#fbfcfb!important;border:1px solid #e0eae5!important;}
.app-shell .workspace .modal-card.modal-rbac .hris-picker-heading{padding:0 0 10px!important;border-bottom:1px solid #e7eee9;gap:8px 15px;}
.app-shell .workspace .modal-card.modal-rbac .hris-picker-heading b{font-size:12px;color:#2d4b40;}
.app-shell .workspace .modal-card.modal-rbac .hris-picker-heading small{display:block;font-size:11px;line-height:1.55;}
.app-shell .workspace .modal-card.modal-rbac .hris-picker-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(160px,230px) auto!important;align-items:stretch!important;gap:9px!important;}
.app-shell .workspace .modal-card.modal-rbac .hris-picker-toolbar>.searchbox{min-width:0;width:100%;margin:0;flex:none;}
.app-shell .workspace .modal-card.modal-rbac .hris-picker-toolbar>.searchbox input{width:100%;min-width:0;}
.app-shell .workspace .modal-card.modal-rbac .hris-picker-toolbar>select{width:100%;min-width:0;max-width:none;height:42px;}
.app-shell .workspace .modal-card.modal-rbac .hris-picker-toolbar>.btn{min-height:42px;white-space:nowrap;font-size:11px;}
.app-shell .workspace .modal-card.modal-rbac .hris-picker-count{padding:3px 1px!important;font-size:11px!important;}
.app-shell .workspace .modal-card.modal-rbac .hris-employee-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:260px!important;overflow-y:auto!important;gap:8px!important;padding:3px!important;}
.app-shell .workspace .modal-card.modal-rbac .hris-employee-option{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;min-height:61px!important;padding:10px 12px!important;border-radius:10px!important;background:#fff!important;border:1px solid #e0e8e3!important;}
.app-shell .workspace .modal-card.modal-rbac .hris-employee-option>input{flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0!important;}
.app-shell .workspace .modal-card.modal-rbac .hris-employee-option>span{flex:1;min-width:0;display:flex!important;flex-direction:column;align-items:flex-start;gap:4px;}
.app-shell .workspace .modal-card.modal-rbac .hris-employee-option b{font-size:12px;color:#344c43;line-height:1.35;overflow-wrap:anywhere;}
.app-shell .workspace .modal-card.modal-rbac .hris-employee-option small{font-size:10.5px;color:#74867c;line-height:1.4;overflow-wrap:anywhere;}
.app-shell .workspace .modal-card.modal-rbac .hris-employee-option .ui-picked-icon{opacity:0;color:#16865e;font-size:12px;}
.app-shell .workspace .modal-card.modal-rbac .hris-employee-option.is-selected{background:#f0f8f3!important;border-color:#abd6be!important;}
.app-shell .workspace .modal-card.modal-rbac .hris-employee-option.is-selected .ui-picked-icon{opacity:1;}
@media(max-width:850px){.app-shell .workspace .modal-card.modal-rbac .hris-picker-toolbar{grid-template-columns:minmax(0,1fr) minmax(140px,210px)!important}.app-shell .workspace .modal-card.modal-rbac .hris-picker-toolbar>.btn{grid-column:1/-1;width:100%;}}
@media(max-width:600px){.app-shell .workspace .modal-card.modal-rbac .hris-picker-toolbar{grid-template-columns:minmax(0,1fr)!important}.app-shell .workspace .modal-card.modal-rbac .hris-picker-toolbar>.btn{grid-column:auto}.app-shell .workspace .modal-card.modal-rbac .hris-employee-list{grid-template-columns:minmax(0,1fr)!important;max-height:240px!important}.app-shell .workspace .modal-card.modal-rbac .admin-user-form>.hris-access-intro{padding:13px!important;}}

/* User Management: clean table and Employee Schedule style picker */
.app-shell .workspace .admin-user-table th,.app-shell .workspace .admin-user-table td{vertical-align:middle;}
.app-shell .workspace .hris-admin-password-locked{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;color:#87958e;background:#f1f4f2;border:1px solid #e5ebe6;border-radius:9px;}
.app-shell .workspace .modal-card.modal-rbac>.modal-head{align-items:center;gap:14px;}
.app-shell .workspace .modal-card.modal-rbac>.modal-head>div{gap:5px!important;}
.app-shell .workspace .modal-card.modal-rbac>.modal-head h3{font-size:18px!important;line-height:1.3!important;margin:0!important;}
.app-shell .workspace .modal-card.modal-rbac>.modal-head span{font-size:12px;line-height:1.5;margin:0;}
.app-shell .workspace .modal-card.modal-rbac .admin-user-form>.hris-access-intro{gap:5px!important;padding:13px 15px!important;background:#f7faf8!important;}
.app-shell .workspace .modal-card.modal-rbac .admin-user-form .ui-intro-title{gap:9px!important;align-items:center!important;}
.app-shell .workspace .modal-card.modal-rbac .admin-user-form .ui-intro-title b{font-size:14px!important;}
.app-shell .workspace .modal-card.modal-rbac .admin-user-form .hris-access-intro p{font-size:11.5px!important;line-height:1.55!important;margin:0!important;}

/* User Management picker uses EXACT Employee Schedule component rules. */
.modal-card.modal-rbac .schedule-picker-field{grid-column:1/-1;min-width:0;display:flex;flex-direction:column;gap:7px;margin:0 0 3px}
.modal-card.modal-rbac .schedule-picker-label{font-size:13px;font-weight:700;color:#40566d;line-height:1.35}
.modal-card.modal-rbac .schedule-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:48px;padding:0 14px;border:1px solid #dce6e4;border-radius:10px;background:#fff;color:#233b4a;text-align:left;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.modal-card.modal-rbac .schedule-picker-trigger:focus-visible{outline:2px solid #91c8ac;outline-offset:2px}
.modal-card.modal-rbac .schedule-picker-trigger i{font-size:12px;color:#647e73}
.modal-card.modal-rbac .schedule-picker-panel{border:1px solid #dce9e1;border-radius:11px;background:#fff;overflow:hidden;box-shadow:0 6px 18px rgba(20,70,43,.06)}
.modal-card.modal-rbac .schedule-picker-search{display:flex;align-items:center;gap:9px;margin:10px 11px 8px;padding:0 11px;height:40px;border:1px solid #dce7e1;border-radius:8px;background:#fff}
.modal-card.modal-rbac .schedule-picker-search i{color:#8ba49a;font-size:13px}
.modal-card.modal-rbac .schedule-picker-search input{flex:1;min-width:0;width:100%;height:100%;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font:inherit;font-size:12px;color:#2d4939;padding:0!important}
.modal-card.modal-rbac .schedule-picker-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px 9px;font-size:11px;color:#698173}
.modal-card.modal-rbac .schedule-picker-tools button{border:0;background:transparent;color:#15845a;font:inherit;font-weight:700;cursor:pointer;padding:4px}
.modal-card.modal-rbac .schedule-picker-list{height:190px;max-height:30dvh;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #edf2ee;border-bottom:1px solid #edf2ee}
.modal-card.modal-rbac .schedule-picker-item{display:flex;flex-direction:row;align-items:center;gap:11px;min-height:53px;margin:0;padding:9px 13px;border-bottom:1px solid #f0f3f0;cursor:pointer;font-size:12px;font-weight:400}
.modal-card.modal-rbac .schedule-picker-item:hover{background:#f5faf7}
.modal-card.modal-rbac .schedule-picker-item input{flex:0 0 auto;width:16px;height:16px;accent-color:#15936a;margin:0}
.modal-card.modal-rbac .schedule-picker-person{display:flex;flex-direction:column;gap:3px;min-width:0;line-height:1.3}
.modal-card.modal-rbac .schedule-picker-person b{color:#244c39;font-size:12px;font-weight:700}
.modal-card.modal-rbac .schedule-picker-person small{color:#71897c;font-size:10.5px;font-weight:400;overflow-wrap:anywhere}
.modal-card.modal-rbac .schedule-picker-empty{padding:24px;text-align:center;color:#81978a;font-size:12px}
.modal-card.modal-rbac .schedule-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;font-size:11px;color:#688273}
.modal-card.modal-rbac .schedule-picker-footer button{padding:8px 13px;border:1px solid #bcdccc;border-radius:8px;background:#eaf7ef;color:#187b50;font:inherit;font-weight:700;cursor:pointer}
@media(max-width:600px){.modal-card.modal-rbac .schedule-picker-list{height:160px;max-height:25dvh}.modal-card.modal-rbac .schedule-picker-tools{flex-wrap:wrap}}
.modal-card.modal-rbac .schedule-picker-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(175px,.82fr);gap:9px;align-items:center;padding:10px 11px 8px}
.modal-card.modal-rbac .schedule-picker-filters .schedule-picker-search{margin:0;min-width:0}
.modal-card.modal-rbac .schedule-picker-department{width:100%;min-width:0;height:40px;margin:0;padding:0 30px 0 10px;border:1px solid #dce7e1;border-radius:8px;background-color:#fff;color:#435a72;font-family:inherit;font-size:10.5px;font-weight:400;letter-spacing:normal}
@media(max-width:600px){.modal-card.modal-rbac .schedule-picker-filters{grid-template-columns:1fr}}
.modal-card.modal-rbac .hris-admin-schedule-picker{grid-column:1/-1;min-width:0;display:flex;flex-direction:column;gap:7px;margin:0 0 3px;width:100%}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-filters .schedule-picker-search{margin:0;min-width:0}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-item{background:#fff}
@media(max-width:600px){.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-filters{grid-template-columns:1fr}}

/* User Management popup uses the same Employee Schedule picker styles.
   Modal is outside .workspace, thus .workspace-scoped selector could never match. */
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-trigger,
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-tools button,
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-footer button{appearance:none;-webkit-appearance:none}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-filters{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(175px,.82fr)!important;gap:9px!important;padding:10px 11px 8px!important;align-items:center!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-search{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;margin:0!important;padding:0 11px!important;height:40px!important;min-height:40px!important;border:1px solid #dce7e1!important;border-radius:8px!important;background:#fff!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-search input{display:block!important;flex:1!important;min-width:0!important;width:100%!important;height:100%!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;font-size:12px!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-list{height:190px!important;max-height:30dvh!important;overflow-y:auto!important;border-top:1px solid #edf2ee!important;border-bottom:1px solid #edf2ee!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-item{display:flex!important;flex-direction:row!important;align-items:center!important;gap:11px!important;min-height:53px!important;margin:0!important;padding:9px 13px!important;border:0!important;border-bottom:1px solid #f0f3f0!important;background:#fff!important;cursor:pointer!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-item input[type=checkbox]{display:block!important;position:static!important;flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0!important;padding:0!important;accent-color:#15936a!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-person{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;line-height:1.3!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-person b{color:#244c39!important;font-size:12px!important;font-weight:700!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-person small{color:#71897c!important;font-size:10.5px!important;font-weight:400!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-tools,.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-footer{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-tools button{border:0!important;background:transparent!important;color:#15845a!important;padding:4px!important;font-weight:700!important}
.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-footer button{border:1px solid #bcdccc!important;border-radius:8px!important;background:#eaf7ef!important;color:#187b50!important;padding:8px 13px!important;font-weight:700!important}
.fm27-module-heading.fm27-module-user_management .ui-header-add-user{margin-left:auto;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:40px;padding:0 17px;border-radius:10px}
@media(max-width:600px){.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-filters{grid-template-columns:1fr!important}.modal-card.modal-rbac .hris-admin-schedule-picker .schedule-picker-list{height:160px!important;max-height:25dvh!important}.fm27-module-heading.fm27-module-user_management .ui-header-add-user{min-height:36px;padding:0 10px;font-size:12px}}

/* uniform Report toolbar, shared Employee status filter. */
@media (min-width:1251px){
  .app-shell .workspace .report-panel .legacy-filter-grid{
    display:grid!important;
    grid-template-columns:minmax(170px,1fr) minmax(190px,1.05fr) minmax(180px,1fr) minmax(375px,1.8fr)!important;
    gap:12px!important;align-items:center!important;
  }
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-field{
  min-width:0!important;display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  column-gap:8px!important;align-items:center!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-field.status-field{
  grid-template-columns:48px minmax(0,1fr)!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-select-shell{
  min-width:0!important;width:100%!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-select-shell select{
  width:100%!important;min-width:0!important;
  height:38px!important;min-height:38px!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
  font-size:11px!important;
  padding-right:32px!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-time-range{
  min-width:0!important;width:100%!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)!important;
  gap:8px!important;align-items:center!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-time-range label{
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;
  gap:5px!important;min-width:0!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-time-range hris-date,
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-time-range input{
  min-width:0!important;width:100%!important;box-sizing:border-box!important;
}
.app-shell .workspace .report-panel .legacy-report-action-row{gap:12px!important;align-items:center!important}
.app-shell .workspace .report-panel .legacy-report-action-row .legacy-search{
  flex:1 1 320px!important;max-width:none!important;min-width:0!important;
  height:38px!important;border-radius:10px!important;
}
.app-shell .workspace .report-panel .legacy-report-actions{flex:0 0 auto!important;gap:9px!important}
.app-shell .workspace .report-panel .legacy-report-actions .btn{height:38px!important;border-radius:10px!important}
.app-shell .workspace .report-panel .legacy-sort-row{gap:16px!important;flex-wrap:wrap!important;padding:9px 12px!important;border-radius:10px!important}
@media (min-width:801px) and (max-width:1250px){
  .app-shell .workspace .report-panel .legacy-filter-grid{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;
  }
  .app-shell .workspace .report-panel .legacy-time-range{grid-column:1/-1!important;max-width:680px!important}
}
@media (max-width:800px){
  .app-shell .workspace .report-panel .legacy-filter-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
  }
  .app-shell .workspace .report-panel .legacy-time-range{grid-column:1/-1!important}
  .app-shell .workspace .report-panel .legacy-report-action-row{flex-wrap:wrap!important}
  .app-shell .workspace .report-panel .legacy-report-actions{margin-left:auto!important}
}
@media (max-width:520px){
  .app-shell .workspace .report-panel .legacy-filter-grid{grid-template-columns:minmax(0,1fr)!important}
  .app-shell .workspace .report-panel .legacy-time-range{grid-column:auto!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .app-shell .workspace .report-panel .legacy-time-range>.legacy-label{grid-column:1/-1!important}
  .app-shell .workspace .report-panel .legacy-time-range label{grid-template-columns:minmax(0,1fr)!important}
}

/* Report filter alignment polish; preserve the existing three-row layout. */
.app-shell .workspace .report-panel .legacy-report-controls{
  box-sizing:border-box!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid,
.app-shell .workspace .report-panel .legacy-report-action-row{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  padding-inline:12px!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid{
  column-gap:12px!important;
  row-gap:10px!important;
  align-items:center!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-field{
  grid-template-columns:48px minmax(0,1fr)!important;
  column-gap:8px!important;
  align-items:center!important;
  margin:0!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-field.status-field{
  grid-template-columns:48px minmax(0,1fr)!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-field>span,
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-time-range>.legacy-label{
  display:block!important;
  margin:0!important;
  padding:0!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.3!important;
  white-space:nowrap!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-select-shell{
  height:38px!important;
  min-height:38px!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-select-shell select{
  height:36px!important;
  min-height:36px!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-time-range{
  align-items:center!important;
  column-gap:8px!important;
}
.app-shell .workspace .report-panel .legacy-filter-grid .legacy-time-range label{
  align-items:center!important;
}
.app-shell .workspace .report-panel .legacy-report-action-row{
  margin-top:10px!important;
  margin-bottom:10px!important;
}
.app-shell .workspace .report-panel .legacy-report-action-row .legacy-search{
  margin:0!important;
  width:100%!important;
  height:38px!important;
  box-sizing:border-box!important;
}
.app-shell .workspace .report-panel .legacy-sort-row{
  box-sizing:border-box!important;
  margin:0 12px 0!important;
  padding:8px 12px!important;
}
@media (min-width:1251px){
  .app-shell .workspace .report-panel .legacy-filter-grid{
    grid-template-columns:minmax(0,1.04fr) minmax(0,1.08fr) minmax(0,1.02fr) minmax(0,2.35fr)!important;
  }
}
@media(max-width:800px){
  .app-shell .workspace .report-panel .legacy-filter-grid,
  .app-shell .workspace .report-panel .legacy-report-action-row{padding-inline:4px!important}
  .app-shell .workspace .report-panel .legacy-sort-row{margin-inline:4px!important}
}


/* Employee visual balance: comfortable machine-style full table. */







































/* employee full-width panel table, matching the Machine List layout.
   Deliberately override legacy inset table-shell margins and minimum width. */
.app-shell .workspace .employee-workspace{width:100%!important;min-width:0!important;overflow:hidden!important;}
.app-shell .workspace .employee-workspace>.panel-head{padding:14px 17px!important;min-height:68px!important;}




/* Proportions sum to 100%; prevent browser shrink from collapsing the status columns. */






















/* New Employee information hierarchy. Flat Machine-List style table surface. */







































/* Employee table visual refinement — square, unified Machine List-inspired header. */

















/* unified unobtrusive focus, no double glow/ring around search and form fields. */
:where(input:not([type="checkbox"]):not([type="radio"]), textarea, select):is(:hover,:focus,:focus-visible),
:where(.search-box,.search-input,.input-icon,.field-search,.search-wrap,.search-field):is(:hover,:focus,:focus-within) {
  box-shadow:none !important;
  outline:none !important;
  filter:none !important;
}
:where(input:not([type="checkbox"]):not([type="radio"]),textarea,select):focus {
  border-color:#9ccdb8 !important;
}
:where(.search-box,.search-input,.input-icon,.field-search,.search-wrap,.search-field):focus-within::before,
:where(.search-box,.search-input,.input-icon,.field-search,.search-wrap,.search-field):focus-within::after {
  box-shadow:none !important;
}

/* atomic non-wrapping Department breadcrumb/title */
.app-shell .workspace .fm27-module-departments .fm27-heading-main{min-width:max-content!important;flex:0 1 auto!important}
.app-shell .workspace .fm27-module-departments .fm27-heading-copy{min-width:max-content!important;flex-shrink:0!important}
.app-shell .workspace .fm27-module-departments .fm27-heading-copy h1.ui-department-title{display:block!important;width:max-content!important;max-width:none!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;margin:0!important;line-height:1.3!important}
.app-shell .workspace .fm27-module-departments .ui-header-line{display:inline-flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:13px!important;white-space:nowrap!important;vertical-align:middle!important}
.app-shell .workspace .fm27-module-departments .ui-header-department{font-size:20px!important;font-weight:750!important;line-height:26px!important;color:#153d2c!important}
.app-shell .workspace .fm27-module-departments .ui-header-line>.pi{font-size:12px!important;line-height:1!important;color:#90b8a1!important;flex:none!important}
.app-shell .workspace .fm27-module-departments .ui-header-brand-variant{font-size:16px!important;font-weight:650!important;line-height:26px!important;color:#13885f!important}
.app-shell .workspace .fm27-module-departments .ui-header-stats{flex:0 1 auto!important;min-width:0!important}
@media(max-width:950px){.app-shell .workspace .fm27-module-departments{flex-wrap:wrap!important}.app-shell .workspace .fm27-module-departments .ui-header-stats{margin-left:0!important}}
@media(max-width:650px){.app-shell .workspace .fm27-module-departments .ui-header-line{gap:8px!important}.app-shell .workspace .fm27-module-departments .ui-header-department{font-size:17px!important}.app-shell .workspace .fm27-module-departments .ui-header-brand-variant{font-size:13px!important}}

/* keep statistics right-aligned, regardless of title length */
.app-shell .workspace .fm27-module-heading.fm27-module-departments{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;width:100%!important;box-sizing:border-box!important;gap:18px!important}
.app-shell .workspace .fm27-module-departments .fm27-heading-main{display:flex!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important}
.app-shell .workspace .fm27-module-departments .fm27-heading-copy{min-width:0!important}
.app-shell .workspace .fm27-module-departments .ui-header-stats{margin-left:auto!important;flex:0 0 auto!important;align-self:center!important;justify-content:flex-end!important;white-space:nowrap!important}
@media(max-width:850px){.app-shell .workspace .fm27-module-heading.fm27-module-departments{flex-wrap:wrap!important}.app-shell .workspace .fm27-module-departments .ui-header-stats{width:100%!important;justify-content:flex-start!important;margin-left:0!important}}
.department-panel .ui-inline-job-add{padding:17px 18px 19px;background:#f7fbf8;border-top:1px solid #e2ede5;display:flex;flex-direction:column;gap:9px}
.department-panel .ui-inline-job-add label{font-size:12px;font-weight:700;color:#315c42}
.department-panel .ui-inline-job-fields{display:flex;align-items:center;gap:10px}
.department-panel .ui-inline-job-fields input{flex:1;min-width:0;height:43px;padding:0 13px;border:1px solid #d5e5da;border-radius:9px;background:#fff;box-sizing:border-box;font-size:13px;outline:none}
.department-panel .ui-inline-job-fields input:focus{border-color:#4daa7c;box-shadow:0 0 0 3px #e4f5e9}
.department-panel .ui-inline-job-fields button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:112px;height:43px}
@media(max-width:520px){.department-panel .ui-inline-job-fields{flex-direction:column;align-items:stretch}.department-panel .ui-inline-job-fields button{width:100%}}

/* Daily Report visual polish only. Preserve column structure, dimensions and order. */
.app-shell .workspace .legacy-report-table tbody tr:hover > td{
  background:#edf7f0!important;
}
.app-shell .workspace .legacy-report-table tbody tr:hover > td:first-child{
  box-shadow:inset 3px 0 0 #65b78b;
}
.app-shell .workspace .legacy-report-table thead th{
  color:#355d48!important;
  border-bottom:1px solid #d5e5da!important;
}
.app-shell .workspace .legacy-report-table .report-date-chip,
.app-shell .workspace .legacy-report-table .report-time-chip,
.app-shell .workspace .legacy-report-table .report-metric-chip{
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
  letter-spacing:0;
  box-shadow:none!important;
}
.app-shell .workspace .legacy-report-table .report-metric-chip.is-warning{
  background:#fff5e8!important;
  border-color:#f1dfbf!important;
  color:#98621f!important;
}
.app-shell .workspace .legacy-report-table .report-metric-chip.is-danger{
  background:#fff0ed!important;
  border-color:#efcfca!important;
  color:#a3473e!important;
}
.app-shell .workspace .legacy-report-table .report-metric-chip.is-info{
  background:#eef6fa!important;
  border-color:#dbe8ef!important;
  color:#426c85!important;
}
.app-shell .workspace .legacy-report-table .hris-org-cell strong{
  font-weight:600;
}
.app-shell .workspace .legacy-report-table .hris-org-cell small{
  color:#71857b!important;
}

/* Employment type is plain text; only active/inactive is a badge. */
.app-shell .workspace .fm65-summary-employment{font-weight:650;color:#587766;white-space:nowrap}
.app-shell .workspace .fm65-summary-filter-status.is-inactive{background:#fcebed;color:#b13d4a}

/* compact holiday counts inside the main title header */
.app-shell .workspace .ui-holiday-head-stats{display:flex;align-items:stretch;justify-content:flex-end;gap:9px;flex:0 0 auto;max-width:50%;z-index:1}
.app-shell .workspace .ui-holiday-head-card{display:flex;flex-direction:column;justify-content:center;min-width:130px;padding:8px 13px;background:rgba(255,255,255,.65);border:1px solid #d8e9df;border-radius:11px;gap:2px;box-shadow:none}
.app-shell .workspace .ui-holiday-head-card>span{font-size:9px;font-weight:800;letter-spacing:.045em;color:#4e786b;white-space:nowrap}
.app-shell .workspace .ui-holiday-head-card>strong{font-size:20px;font-weight:800;line-height:1.1;color:#163e31;font-variant-numeric:tabular-nums}
.app-shell .workspace .ui-holiday-head-card>strong small{font-size:11px;font-weight:700;color:#4e786b}
.app-shell .workspace .ui-holiday-head-card>em{font-size:9px;font-style:normal;color:#69877b;white-space:nowrap}
@media(max-width:850px){.app-shell .workspace .fm27-module-leave_log:has(.ui-holiday-head-stats){flex-wrap:wrap;align-items:center}.app-shell .workspace .ui-holiday-head-stats{max-width:none;flex:1 1 100%;justify-content:flex-start}.app-shell .workspace .ui-holiday-head-card{min-width:0;flex:1 1 0}}
@media(max-width:450px){.app-shell .workspace .ui-holiday-head-stats{gap:6px}.app-shell .workspace .ui-holiday-head-card{padding:7px 9px}.app-shell .workspace .ui-holiday-head-card>span{font-size:8px}.app-shell .workspace .ui-holiday-head-card>strong{font-size:17px}.app-shell .workspace .ui-holiday-head-card>em{font-size:8px;white-space:normal}}

/* quiet compact header summary: aligned in the existing title card. */
.app-shell .workspace .ui-holiday-summary{margin-left:auto;display:flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0}
.app-shell .workspace .ui-summary-item{display:flex;align-items:center;gap:9px;min-width:148px;padding:9px 13px;background:rgba(255,255,255,.55);border:1px solid #d8e9df;border-radius:12px;box-shadow:none}
.app-shell .workspace .ui-summary-icon{width:29px;height:29px;flex:0 0 29px;display:grid;place-items:center;background:#e8f5ed;color:#278963;border-radius:9px;font-size:13px}
.app-shell .workspace .ui-summary-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
.app-shell .workspace .ui-summary-label{color:#537868;font-weight:700;font-size:10px;white-space:nowrap;letter-spacing:0}
.app-shell .workspace .ui-summary-copy strong{font-size:19px;font-weight:800;color:#174b39;line-height:1.05;font-variant-numeric:tabular-nums}
.app-shell .workspace .ui-summary-copy small{font-size:11px;font-weight:600;color:#608273}
@media(max-width:850px){.app-shell .workspace .fm27-module-leave_log:has(.ui-holiday-summary){flex-wrap:wrap}.app-shell .workspace .ui-holiday-summary{margin-left:0;flex:1 1 100%;justify-content:flex-start}.app-shell .workspace .ui-summary-item{flex:1 1 0;min-width:0}}
@media(max-width:450px){.app-shell .workspace .ui-holiday-summary{gap:6px}.app-shell .workspace .ui-summary-item{padding:8px;gap:7px}.app-shell .workspace .ui-summary-icon{width:24px;height:24px;flex-basis:24px;font-size:11px}.app-shell .workspace .ui-summary-label{font-size:9px}.app-shell .workspace .ui-summary-copy strong{font-size:17px}}

/* Employee Leaving: discreet actions for historical rows within the existing modal. */
.app-shell .ui-leaving-context{z-index:250!important;position:fixed!important;width:230px!important;max-width:calc(100vw - 16px)}
.app-shell .ui-leaving-user-cell{position:relative;white-space:normal!important}
.app-shell .ui-leaving-more{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:5px;border:1px solid #dfe9e3;border-radius:7px;background:#f7faf8;color:#527268;vertical-align:middle;opacity:.35;transition:opacity .15s,background .15s}
.app-shell .ui-leaving-table tr:hover .ui-leaving-more,.app-shell .ui-leaving-more:focus-visible{opacity:1;background:#e9f5ee}
.app-shell .ui-leaving-edit-notice{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px;padding:10px 13px;background:#ebf8f2;border:1px solid #bfe5d1;border-radius:11px}
.app-shell .ui-leaving-edit-notice>div{display:flex;align-items:center;gap:10px;min-width:0;color:#167554}
.app-shell .ui-leaving-edit-notice b,.app-shell .ui-leaving-edit-notice small{display:block}
.app-shell .ui-leaving-edit-notice b{font-size:12px}
.app-shell .ui-leaving-edit-notice small{font-size:11px;margin-top:2px;color:#4d7562}
.app-shell .ui-leaving-confirm-shade{position:fixed;inset:0;z-index:260;display:flex;align-items:center;justify-content:center;background:rgba(21,42,34,.48);padding:16px}
.app-shell .ui-leaving-confirm{width:min(410px,100%);background:#fff;border:1px solid #e1e9e4;border-radius:16px;box-shadow:0 20px 48px rgba(13,35,27,.21);padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.app-shell .ui-leaving-confirm-icon{display:grid;place-items:center;width:42px;height:42px;background:#fff1ef;color:#bb4742;border-radius:12px;font-size:21px}
.app-shell .ui-leaving-confirm h3{margin:0;font-size:16px;color:#2a3f35}
.app-shell .ui-leaving-confirm p{margin:0;font-size:12px;line-height:1.65;color:#627369;overflow-wrap:anywhere}
.app-shell .ui-leaving-confirm-actions{display:flex;justify-content:flex-end;gap:8px;width:100%;margin-top:10px}
@media(hover:none){.app-shell .ui-leaving-more{opacity:1}}
@media(max-width:650px){.app-shell .ui-leaving-edit-notice .btn{width:100%}.app-shell .ui-leaving-confirm{padding:19px}.app-shell .ui-leaving-more{opacity:1}}

/* retained via 's centralized table-header stylesheet; extends
   the global rule to Vue Teleport overlays attached directly under <body>. */
