:root{--bg:#f4f9f6;--panel:#fff;--line:#dcebe3;--line2:#edf4ef;--text:#153e31;--muted:#708d80;--blue:#257dc0;--blue2:#1764a2;--blue-soft:#e9f5ff;--cyan:#168ca1;--green:#0d976f;--green-soft:#e9f8f0;--amber:#bb7919;--amber-soft:#fff4e4;--red:#bf5963;--red-soft:#fff0f2;--shadow:0 8px 25px rgba(27,89,63,.055);--shadow-lg:0 22px 58px rgba(21,79,56,.14);--radius:16px;--sidebar:250px;--topbar:66px}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);background:var(--bg)}body{min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}[v-cloak]{display:none!important}.boot{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 20% 20%,#dbeeff,transparent 35%),#f5f9fd}.boot-card{display:flex;align-items:center;gap:12px;padding:18px 22px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.boot-card span{color:var(--muted);font-size:13px}.brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#3c84e6,#1f5fbf);color:#fff;box-shadow:0 8px 18px rgba(47,115,218,.22)}.brand-mark.large{width:52px;height:52px;border-radius:15px;font-size:21px}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.22fr) minmax(390px,.78fr);background:#f8fbfe}.login-visual{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:48px 7vw;background:linear-gradient(145deg,#edf6ff 0,#f6faff 48%,#e6f1fc 100%);border-right:1px solid #dce9f5}.login-visual:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(47,115,218,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(47,115,218,.035) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,#000,transparent 95%)}.login-brand,.login-copy,.login-features{position:relative;z-index:2}.login-brand{display:flex;align-items:center;gap:14px}.login-brand b{display:block;font-size:19px}.login-brand small{display:block;margin-top:3px;color:var(--muted);font-size:12px;letter-spacing:.04em}.login-copy{max-width:760px;margin:auto 0}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:var(--blue)}.login-copy h1{font-size:clamp(38px,4.2vw,66px);line-height:1.04;letter-spacing:-.045em;margin:14px 0 22px;max-width:800px}.login-copy h1 em{font-style:normal;color:var(--blue)}.login-copy p{max-width:690px;font-size:16px;line-height:1.75;color:#607086}.login-features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:780px}.login-features>div{display:flex;gap:11px;padding:15px;background:rgba(255,255,255,.68);border:1px solid rgba(185,208,231,.75);border-radius:14px;backdrop-filter:blur(8px)}.login-features i{color:var(--blue);font-size:18px;margin-top:2px}.login-features b,.login-features small{display:block}.login-features b{font-size:13px}.login-features small{color:var(--muted);font-size:11px;line-height:1.45;margin-top:4px}.visual-orb{position:absolute;border-radius:50%;filter:blur(1px);opacity:.56}.orb-a{width:360px;height:360px;background:radial-gradient(circle,#92c6fa55,transparent 68%);right:-80px;top:17%}.orb-b{width:260px;height:260px;background:radial-gradient(circle,#83d2e555,transparent 68%);left:34%;bottom:-90px}.login-panel{display:grid;place-items:center;padding:32px;background:#fff}.login-card{width:min(410px,90%)}.mini-logo{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);font-size:18px;margin-bottom:24px}.login-card h2{font-size:30px;letter-spacing:-.035em;margin:0 0 7px}.login-card>p{color:var(--muted);font-size:14px;margin:0 0 30px}.login-card label,.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#44536a;margin-bottom:14px}.input-icon{position:relative;margin-bottom:18px}.input-icon i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#8da0b6}.input-icon input{padding-left:41px!important}input,select{height:40px;border:1px solid #d7e2ed;border-radius:10px;padding:0 12px;background:#fff;color:var(--text);outline:none;transition:.15s}input:focus,select:focus{border-color:#8bb8ee;box-shadow:0 0 0 3px rgba(47,115,218,.09)}.login-card input{height:46px;width:100%}.login-hint{margin-top:18px;padding:12px 14px;border-radius:10px;background:#f7f9fc;color:var(--muted);font-size:11px;line-height:1.6}.login-hint code,code{font-family:"SFMono-Regular",Consolas,monospace;background:#eef3f8;padding:2px 6px;border-radius:6px;color:#36516f}.btn{height:38px;border:1px solid transparent;border-radius:10px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:12px;transition:.15s;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.primary{background:linear-gradient(180deg,#3c83e5,#2e70d3);color:#fff;box-shadow:0 7px 14px rgba(47,115,218,.17)}.btn.ghost{background:#fff;border-color:#dbe5ef;color:#53637a}.btn.soft{background:#f3f7fb;border-color:#dfe8f1;color:#40536c}.btn.warning{background:var(--amber-soft);border-color:#f4ddb2;color:#96631a}.btn.danger-ghost{background:#fff6f6;border-color:#f3d2d5;color:var(--red)}.btn.full{width:100%;height:46px;margin-top:8px}.app-shell{min-height:100vh}.topbar{position:fixed;z-index:30;left:0;right:0;top:0;height:var(--topbar);display:grid;grid-template-columns:var(--sidebar) 1fr auto;align-items:center;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.brand{height:100%;display:flex;align-items:center;gap:11px;padding:0 18px;border-right:1px solid var(--line)}.brand strong,.brand small{display:block}.brand strong{font-size:15px}.brand small{font-size:10px;color:var(--muted);margin-top:2px;letter-spacing:.04em}.menu-bar{display:flex;align-items:center;height:100%;padding:0 18px;gap:4px}.menu-bar button{border:0;background:transparent;padding:9px 11px;border-radius:8px;color:#57667b;font-size:12px;font-weight:650}.menu-bar button:hover{background:#f0f5fb;color:var(--blue)}.userbox{height:100%;display:flex;align-items:center;gap:10px;padding:0 18px;border-left:1px solid var(--line)}.userbox b,.userbox small{display:block}.userbox b{font-size:12px}.userbox small{font-size:10px;color:var(--muted);margin-top:2px}.avatar{width:34px;height:34px;border-radius:10px;background:#e9f3ff;color:var(--blue);display:grid;place-items:center;font-size:11px;font-weight:800}.icon-btn{width:34px;height:34px;border:1px solid #e0e8f0;background:#fff;color:#607187;border-radius:9px;display:inline-grid;place-items:center}.icon-btn:hover{background:#f3f7fb;color:var(--blue)}.sidebar{position:fixed;z-index:20;left:0;top:var(--topbar);bottom:0;width:var(--sidebar);background:#f9fbfd;border-right:1px solid var(--line);padding:18px 12px 88px;overflow:auto}.nav-section{margin-bottom:21px}.nav-section>span{display:block;padding:0 10px;margin-bottom:7px;font-size:9px;font-weight:800;letter-spacing:.14em;color:#9aa8b8}.nav-section button{width:100%;height:36px;border:0;background:transparent;border-radius:9px;display:flex;align-items:center;gap:10px;padding:0 10px;color:#526177;font-size:11.5px;text-align:left;transition:.13s}.nav-section button i{width:17px;text-align:center;color:#7f91a6}.nav-section button:hover{background:#eef4fa;color:#274e7b}.nav-section button.active{background:linear-gradient(90deg,#e7f2ff,#f1f7ff);color:#2367c1;font-weight:750;box-shadow:inset 3px 0 #367edc}.nav-section button.active i{color:#2f73da}.sidebar-foot{position:fixed;left:12px;bottom:12px;width:calc(var(--sidebar) - 24px);display:flex;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 6px 16px rgba(50,80,110,.05)}.sidebar-foot i{color:var(--green)}.sidebar-foot b,.sidebar-foot small{display:block}.sidebar-foot b{font-size:11px}.sidebar-foot small{font-size:9.5px;color:var(--muted);margin-top:2px}.workspace{margin-left:var(--sidebar);padding:calc(var(--topbar) + 24px) 26px 48px;min-height:100vh}.workspace-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.crumb{display:block;color:#8c9aab;font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px}.workspace-head h1{margin:0;font-size:25px;letter-spacing:-.03em}.workspace-head p{margin:6px 0 0;color:var(--muted);font-size:12px}.head-actions{display:flex;gap:8px}.alert{display:flex;align-items:flex-start;gap:10px;border-radius:12px;padding:12px 14px;margin:0 0 16px;border:1px solid}.alert.error{background:#fff5f5;border-color:#f3d0d4;color:#9c3942}.alert>div{flex:1}.alert b,.alert span{display:block}.alert b{font-size:12px}.alert span{font-size:11px;margin-top:3px;line-height:1.45}.alert button{border:0;background:transparent;color:inherit;font-size:20px}.panel,.toolbar-card,.report-hero{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.toolbar-card{margin-bottom:16px;padding:12px}.device-toolbar{background:linear-gradient(180deg,#fff,#fbfdff)}.toolbar-main{display:grid;grid-template-columns:repeat(7,minmax(112px,1fr));gap:8px}.action-tile{min-height:68px;border:1px solid #e0e9f2;border-radius:12px;background:#f9fbfd;padding:10px 11px;display:flex;align-items:center;gap:10px;text-align:left;color:#4b5b70;transition:.15s}.action-tile>i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eef3f8;color:#627890;font-size:15px}.action-tile b,.action-tile small{display:block}.action-tile b{font-size:11px;color:#31445d}.action-tile small{font-size:9px;color:#91a0b0;margin-top:3px}.action-tile:hover:not(:disabled){border-color:#b8d2ee;background:#f3f8fe;transform:translateY(-1px);box-shadow:0 7px 15px rgba(44,97,153,.07)}.action-tile.primary{background:#eef6ff;border-color:#cee1f7}.action-tile.primary>i{background:#dcecff;color:var(--blue)}.action-tile.accent{background:#effafc;border-color:#d2edf2}.action-tile.accent>i{background:#dff4f7;color:#278da8}.toolbar-secondary{display:flex;gap:7px;flex-wrap:wrap;padding-top:10px;margin-top:10px;border-top:1px solid var(--line2)}.panel{overflow:hidden}.panel+.panel{margin-top:16px}.panel-head{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;border-bottom:1px solid var(--line2)}.panel-head.stacked{display:block}.panel-head h2{font-size:14px;margin:0}.panel-head>div>span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.panel-tools,.filter-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.panel-tools select,.filter-row select,.filter-row input[type=date]{height:36px;font-size:11px}.searchbox{height:36px;min-width:210px;border:1px solid #dbe5ef;border-radius:9px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 10px}.searchbox.wide{min-width:285px}.searchbox i{color:#91a0b0;font-size:12px}.searchbox input{border:0;box-shadow:none!important;padding:0;height:34px;min-width:0;flex:1;font-size:11px}.filter-row{margin-top:11px}.table-wrap{overflow:auto;max-width:100%}.data-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;line-height:1.32;min-width:720px}.data-table th{position:sticky;top:0;z-index:2;background:#f7f9fc;color:#77869a;text-align:left;font-size:10.3px;text-transform:uppercase;letter-spacing:.035em;padding:9px 9px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:9px 9px;border-bottom:1px solid #edf2f6;color:#46566c;white-space:nowrap}.data-table tbody tr{transition:.1s}.data-table tbody tr:hover{background:#f8fbfe}.data-table tbody tr.selected{background:#edf6ff}.data-table b{color:#2c3c50}.select-col{width:34px}.radio-dot{display:block;width:14px;height:14px;border:1.5px solid #b9c7d7;border-radius:50%;position:relative}.radio-dot.on{border-color:var(--blue)}.radio-dot.on:after{content:"";position:absolute;inset:3px;background:var(--blue);border-radius:50%}.machine-name{display:flex;align-items:center;gap:9px}.machine-name b,.machine-name small{display:block}.machine-name small{font-size:9px;color:#98a5b5;margin-top:2px}.device-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#edf5ff;color:var(--blue)}.tag{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;font-size:9.5px;font-weight:750}.tag.neutral{background:#f0f3f7;color:#657487}.tag.success{background:var(--green-soft);color:var(--green)}.status-dot{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:700}.status-dot i{width:7px;height:7px;border-radius:50%}.status-dot.online{color:var(--green)}.status-dot.online i{background:#32ad82;box-shadow:0 0 0 4px #e2f7ef}.status-dot.offline{color:#8d99a8}.status-dot.offline i{background:#a9b3bf}.cell-sub{display:block;font-size:9px;color:#9ba8b7;margin-top:3px}.empty{text-align:center!important;color:#98a5b4!important;padding:34px!important}.actions{text-align:right}.cards-grid{display:grid;gap:10px}.department-tree{padding:12px 14px 16px;display:grid;gap:7px}.department-node{--dept-level:0;position:relative;display:grid;grid-template-columns:36px minmax(220px,1fr) auto auto;align-items:center;gap:11px;min-height:62px;margin-left:calc(var(--dept-level) * 26px);padding:10px 11px;border:1px solid #e1e9f2;border-radius:11px;background:#fff;transition:.14s}.department-node:hover{border-color:#bfd5ec;background:#fbfdff;box-shadow:0 5px 14px rgba(47,85,122,.055)}.department-node.department-root{margin-top:3px;border-color:#cfe0f2;background:linear-gradient(180deg,#fbfdff,#f7fbff)}.department-node-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#edf5ff;color:var(--blue);font-size:14px}.department-root .department-node-icon{background:#e4f1ff;color:#2368c5}.department-node-copy{min-width:0}.department-node-title{display:flex;align-items:center;gap:8px;min-width:0}.department-node-title b{font-size:12.5px;color:#2d4056;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.department-node-copy>small{display:block;margin-top:4px;color:#8796a8;font-size:9.5px}.department-node-stats{display:flex;align-items:stretch;gap:7px}.department-node-stats>span{min-width:88px;padding:6px 9px;border:1px solid #e7edf4;border-radius:9px;background:#f9fbfd;text-align:center}.department-node-stats b,.department-node-stats small{display:block}.department-node-stats b{font-size:12px;color:#344d67;font-variant-numeric:tabular-nums}.department-node-stats small{margin-top:2px;font-size:8.5px;color:#8594a6;white-space:nowrap}.department-node-actions{display:flex;align-items:center;gap:5px}.department-empty{min-height:150px;display:grid;place-items:center;align-content:center;gap:9px;color:#93a1b1}.department-empty i{font-size:24px;color:#adc2d8}.department-empty span{font-size:11px}.report-hero{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;margin-bottom:14px;background:linear-gradient(120deg,#edf6ff,#fff 60%,#f0fbff)}.report-hero h2{font-size:22px;margin:5px 0}.report-hero p{font-size:11px;color:var(--muted);margin:0}.report-count{min-width:120px;text-align:right}.report-count b,.report-count small{display:block}.report-count b{font-size:28px;color:var(--blue)}.report-count small{font-size:10px;color:var(--muted)}.report-tabs{display:flex;overflow:auto;padding:10px;border-bottom:1px solid var(--line2);gap:6px}.report-tabs button{border:1px solid #dfe8f1;background:#fff;color:#63738a;padding:7px 10px;border-radius:8px;font-size:10px;white-space:nowrap}.report-tabs button.active{background:#eaf3ff;border-color:#c7dcf5;color:#2369c4;font-weight:750}.report-filter{padding:12px 14px;border-bottom:1px solid var(--line2);margin:0}.summary-pills{display:flex;gap:8px;flex-wrap:wrap;padding:11px 14px;background:#fbfcfe;border-bottom:1px solid var(--line2)}.summary-pills span{display:flex;align-items:center;gap:8px;padding:6px 9px;border:1px solid #e1e8f0;border-radius:8px;background:#fff}.summary-pills small{font-size:9px;color:var(--muted)}.summary-pills b{font-size:11px}.note{display:flex;align-items:center;gap:8px;margin:11px 14px 0;padding:9px 11px;border-radius:9px;background:#fff8e8;border:1px solid #f1dfb8;color:#876222;font-size:10px}.operation-dock{position:fixed;z-index:60;right:22px;bottom:22px;width:360px;display:flex;align-items:center;gap:12px;background:#172a42;color:#fff;border:1px solid #29425e;border-radius:14px;padding:13px 15px;box-shadow:0 18px 42px rgba(21,40,62,.28)}.spinner{width:22px;height:22px;border:2px solid rgba(255,255,255,.2);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.operation-dock>div{flex:1}.operation-dock b,.operation-dock small{display:block}.operation-dock b{font-size:11px}.operation-dock small{font-size:9.5px;color:#aabbd0;margin-top:3px}.elapsed{font-size:10px;color:#bcd0e5}@keyframes spin{to{transform:rotate(360deg)}}.toast-stack{position:fixed;z-index:80;right:22px;top:82px;width:min(360px,calc(100vw - 44px));display:grid;gap:8px}.toast{display:flex;gap:10px;align-items:flex-start;padding:12px 13px;border-radius:12px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-lg);animation:toastIn .18s ease}.toast>i{margin-top:1px}.toast div{min-width:0}.toast b,.toast span{display:block}.toast b{font-size:11px}.toast span{font-size:10px;color:var(--muted);line-height:1.45;margin-top:3px;white-space:normal}.toast.success>i{color:var(--green)}.toast.error>i{color:var(--red)}@keyframes toastIn{from{opacity:0;transform:translateY(-5px)}}.modal-backdrop{position:fixed;z-index:70;inset:0;background:rgba(22,36,54,.32);display:grid;place-items:center;padding:20px;backdrop-filter:blur(2px)}.modal-card{width:min(610px,96vw);max-height:90vh;overflow:auto;background:#fff;border:1px solid #dce5ef;border-radius:16px;box-shadow:var(--shadow-lg)}.modal-card.modal-wide{width:min(820px,96vw)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid var(--line2)}.modal-head h3{font-size:15px;margin:0}.modal-head span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;padding:16px}.form-grid.one{grid-template-columns:1fr}.form-grid label{margin:0 0 12px}.form-grid input,.form-grid select{width:100%}.modal-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:12px;margin-top:4px;border-top:1px solid var(--line2)}.result-box{padding:16px}.result-box pre{margin:0;max-height:55vh;overflow:auto;background:#132235;color:#d7e7fa;border-radius:11px;padding:14px;font:11px/1.6 Consolas,monospace;white-space:pre-wrap}.upload-info{display:flex;gap:9px;padding:10px 11px;border-radius:9px;background:#edf6ff;color:#46688e;font-size:10px;line-height:1.5}.upload-info i{color:var(--blue)}



.report-panel{overflow:visible}.legacy-report-controls{padding:12px 14px 10px;border-bottom:1px solid var(--line2);background:linear-gradient(180deg,#fbfdff,#f7faff)}.legacy-filter-grid{display:grid;grid-template-columns:minmax(240px,1.2fr) minmax(240px,1.2fr) minmax(330px,1.4fr) auto;gap:10px;align-items:end}.legacy-field{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:7px;margin:0!important;color:#506078!important}.legacy-field>span,.legacy-label{font-size:10px;font-weight:800;color:#506078}.legacy-field select{width:100%;height:34px;border-radius:6px;font-size:10.5px;background:#fff}.legacy-time-range{display:grid;grid-template-columns:auto 1fr 1fr;align-items:end;gap:7px}.legacy-time-range>.legacy-label{align-self:center;margin-right:2px}.legacy-time-range label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px;margin:0!important}.legacy-time-range small{font-size:9px;color:#7d8b9d}.legacy-time-range input{height:34px;border-radius:6px;font-size:10.5px;min-width:125px}.legacy-report-actions{display:flex;align-items:center;gap:6px}.legacy-report-actions .btn{height:34px;border-radius:7px}.legacy-sort-row{display:flex;align-items:center;gap:14px;min-height:38px;margin-top:9px;padding:6px 8px;border:1px solid #dce5ef;border-radius:7px;background:#fff}.legacy-sort-title{font-size:10px;font-weight:800;color:#506078;margin-right:1px}.legacy-sort-row label{display:inline-flex;align-items:center;gap:5px;margin:0!important;color:#45566d;font-size:10px;font-weight:600;white-space:nowrap}.legacy-sort-row input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:#2f73da}.legacy-sort-row label.descend{padding-left:8px;border-left:1px solid #e1e8f0}.legacy-search{margin-left:auto;height:29px;min-width:190px;display:flex;align-items:center;gap:6px;padding:0 8px;border:1px solid #dce5ef;border-radius:6px;background:#fbfdff}.legacy-search i{font-size:10px;color:#8c9bad}.legacy-search input{border:0!important;box-shadow:none!important;height:27px;min-width:0;flex:1;padding:0;font-size:10px;background:transparent}.report-panel .report-tabs{border-radius:var(--radius) var(--radius) 0 0}



.quick-action-col{min-width:126px}.machine-row-actions{display:flex;gap:5px;justify-content:flex-start}.mini-device-btn{width:31px;height:29px;border:1px solid #d8e3ef;border-radius:8px;background:#fff;color:#5c7089;display:grid;place-items:center;cursor:pointer;transition:.15s ease}.mini-device-btn:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(38,84,132,.10)}.mini-device-btn.connect{color:#236fd0;background:#f0f6ff;border-color:#cfe0f7}.mini-device-btn.disconnect{color:#65768b;background:#f8fafc}.mini-device-btn.download{color:#0d7f8e;background:#eefbfd;border-color:#ccecef}.machine-log-panel{margin-top:14px}.download-summary{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:7px 10px;border:1px solid #caeadf;border-radius:9px;background:#f2fbf7;color:#236b55}.download-summary span{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:750}.download-summary b{font-size:11px}.download-summary small{font-size:9.5px;color:#688479}.machine-quick-dock{position:fixed;z-index:59;right:22px;bottom:22px;display:flex;align-items:center;gap:12px;max-width:min(660px,calc(100vw - 44px));padding:10px 11px;background:rgba(255,255,255,.97);border:1px solid #cfdeee;border-radius:14px;box-shadow:0 16px 42px rgba(30,67,109,.20);backdrop-filter:blur(8px)}.machine-quick-info{display:flex;align-items:center;gap:8px;min-width:170px;padding-right:10px;border-right:1px solid #e3eaf2}.machine-quick-info>div{min-width:0}.machine-quick-info small,.machine-quick-info b,.machine-quick-info span{display:block}.machine-quick-info small{font-size:8.5px;color:#8b9aab;text-transform:uppercase;letter-spacing:.05em}.machine-quick-info b{font-size:10.5px;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.machine-quick-info span{font-size:8.5px;color:#8595a8;margin-top:2px}.machine-quick-actions{display:flex;gap:6px}.dock-btn{height:38px;border-radius:9px;border:1px solid #d9e4ef;background:#fff;color:#53677e;display:flex;align-items:center;gap:7px;padding:0 11px;font-size:10px;font-weight:750;cursor:pointer}.dock-btn.connect{color:#1f67bd;background:#edf5ff;border-color:#c8dcf4}.dock-btn.disconnect{color:#5d6e82;background:#f7f9fc}.dock-btn.download{color:#087d8b;background:#eefdff;border-color:#c8e9ed}.dock-btn:hover{filter:brightness(.985);box-shadow:0 4px 10px rgba(31,76,126,.08)}



.operation-dock.download-active{width:420px;align-items:flex-start}.operation-copy{flex:1;min-width:0}.operation-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.operation-percent{font-size:11px;font-weight:800;color:#d9ebff}.download-progress-track{height:7px;margin-top:9px;border-radius:999px;background:rgba(255,255,255,.13);overflow:hidden}.download-progress-track>span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#6cb7ff,#63d6d8);transition:width .35s ease}.download-progress-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;font-size:9px;color:#aebfd2}.log-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 14px;border-top:1px solid var(--line2);background:#fbfdff}.log-page-info{font-size:10px;color:var(--muted)}.log-page-actions{display:flex;align-items:center;gap:5px}.page-btn{width:31px;height:29px;border:1px solid #dbe5ef;background:#fff;color:#556a82;border-radius:8px;display:grid;place-items:center}.page-btn:hover:not(:disabled){background:#eef5fd;color:var(--blue)}.page-current{min-width:110px;text-align:center;font-size:10px;color:#65768a;padding:0 5px}



.workspace-head{padding-top:0}.workspace-head h1{margin:0}.workspace-head .crumb,.workspace-head p{display:none!important}
.panel-head>div>span{display:none!important}
.report-title-only{padding-bottom:10px}.report-title-only h2{margin:0}
.report-hero{display:none!important}

.machine-quick-dock{padding:8px 10px;gap:10px}
.machine-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(92px,1fr));gap:7px}
.quick-dock-action{height:46px;border:1px solid #d9e4ef;border-radius:10px;background:#fff;display:grid;grid-template-columns:28px 1fr;align-items:center;gap:7px;padding:0 9px;font-size:10px;font-weight:750;color:#52667d;cursor:pointer;text-align:left}
.quick-dock-action .quick-dock-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-size:13px;line-height:1}
.quick-dock-action .quick-dock-icon i{display:block;line-height:1;margin:0}
.quick-dock-action.connect{color:#1f67bd;background:#f3f8ff;border-color:#cfe0f5}.quick-dock-action.connect .quick-dock-icon{background:#e3efff}
.quick-dock-action.disconnect{color:#5d6e82;background:#fafbfd}.quick-dock-action.disconnect .quick-dock-icon{background:#edf1f5}
.quick-dock-action.download{color:#087d8b;background:#f0fcfd;border-color:#cdebee}.quick-dock-action.download .quick-dock-icon{background:#daf5f7}
.quick-dock-action:hover{box-shadow:0 4px 12px rgba(31,76,126,.09);transform:translateY(-1px)}

.log-pagination{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:12px 14px!important;border-top:1px solid var(--line2)!important;background:#fff!important}
.log-page-info{font-size:10px!important;color:#6d7c90!important}.log-page-info span{color:#95a1b0}
.log-page-actions{display:flex!important;align-items:center!important;gap:6px!important}
.pager-nav,.pager-number{height:32px!important;border:1px solid #d7e3ef!important;background:#fff!important;color:#55697f!important;border-radius:9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:10px!important;font-weight:650!important;line-height:1!important;box-shadow:none!important}
.pager-nav{gap:5px!important;padding:0 10px!important}.pager-number{width:32px!important;padding:0!important}
.pager-number.active{background:#2f73da!important;color:#fff!important;border-color:#2f73da!important}
.pager-nav:hover:not(:disabled),.pager-number:hover:not(.active){background:#eef5fd!important;color:#2168c2!important}
.pager-nav:disabled{opacity:.42!important}

.operation-dock.download-active{width:440px}
.operation-stage{display:inline-flex;align-items:center;width:max-content;margin-top:5px;padding:3px 7px;border-radius:999px;background:rgba(103,183,255,.14);color:#bfe0ff;font-size:8.5px;font-weight:750;letter-spacing:.02em}
.operation-percent{min-width:36px;text-align:right}
.download-progress-track{height:8px}



.machine-quick-info{align-items:center!important;min-height:42px}
.machine-quick-info>.device-icon{
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  flex:0 0 36px!important;padding:0!important;margin:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border-radius:10px!important;background:#eef4fa!important;color:#66809a!important;
}
.machine-quick-info>.device-icon i,
.machine-quick-info>.device-icon i:before{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;margin:0!important;padding:0!important;
  line-height:1!important;text-align:center!important;font-size:14px!important;
}
.machine-quick-info>div{display:flex;flex-direction:column;justify-content:center;min-height:36px}

.quick-dock-action .quick-dock-icon{
  display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;
}
.quick-dock-action .quick-dock-icon i,
.quick-dock-action .quick-dock-icon i:before{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;line-height:1!important;margin:0!important;padding:0!important;
}


.data-table tbody tr.machine-row{
  position:relative;
  border-left:3px solid transparent;
  transition:background .12s ease,border-color .12s ease,box-shadow .12s ease;
}


.data-table tbody tr.machine-tone-0,
.data-table tbody tr.machine-tone-2,
.data-table tbody tr.machine-tone-4,
.data-table tbody tr.machine-tone-6,
.data-table tbody tr.machine-tone-8{
  background:#ffffff;
  border-left-color:#e5ebf2;
}
.data-table tbody tr.machine-tone-1,
.data-table tbody tr.machine-tone-3,
.data-table tbody tr.machine-tone-5,
.data-table tbody tr.machine-tone-7{
  background:#f8fafc;
  border-left-color:#dde6ef;
}

.data-table tbody tr.machine-row:hover{
  background:#f3f7fb!important;
  border-left-color:#c9d8e8;
  box-shadow:inset 0 0 0 1px rgba(111,139,171,.06);
}


.data-table tbody tr.machine-row.selected{
  background:#eaf3ff!important;
  border-left-color:#2f73da!important;
  box-shadow:inset 0 0 0 1px rgba(47,115,218,.12)!important;
}
.data-table tbody tr.machine-row.selected td:first-child{
  background:rgba(47,115,218,.025);
}


.login-copy{max-width:720px}
.login-copy h1{max-width:720px}
.login-copy p{max-width:640px;font-size:15.5px}
.login-card{width:min(420px,92%)}
.login-card-heading{margin-bottom:26px}
.login-card-kicker{display:block;font-size:9px;font-weight:800;letter-spacing:.16em;color:var(--blue);margin-bottom:7px}
.login-card-heading h2{font-size:31px;letter-spacing:-.035em;margin:0 0 7px}
.login-card-heading p{color:var(--muted);font-size:13.5px;line-height:1.55;margin:0}
.login-error{display:flex;align-items:flex-start;gap:9px;margin:0 0 18px;padding:11px 12px;border:1px solid #efc7cb;border-radius:10px;background:#fff5f6;color:#a8323d;font-size:11.5px;line-height:1.45}
.login-error i{font-size:14px;margin-top:1px}
.login-security{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:17px;color:#8796a8;font-size:10.5px}
.login-security i{color:#6e89a8}



.login-visual{justify-content:space-between}
.login-copy{margin:auto 0;max-width:760px}
.login-copy h1{max-width:760px;font-size:clamp(40px,4.4vw,68px)}
.login-copy p{max-width:620px}



.legacy-filter-grid{grid-template-columns:minmax(220px,1fr) minmax(240px,1.1fr) minmax(350px,1.35fr)!important;align-items:end}
.legacy-report-action-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.legacy-report-action-row .legacy-search{margin-left:0;flex:1;max-width:360px;height:34px}
.legacy-report-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.legacy-report-actions .btn{white-space:nowrap;min-width:max-content}
.legacy-sort-row{margin-top:10px}.legacy-sort-row .legacy-search{display:none}
.report-panel .table-wrap{max-width:100%;overflow:auto}



.report-panel .report-tabs{padding:8px 10px;gap:4px;background:#fbfdff}
.report-panel .report-tabs button{border-radius:5px;padding:7px 11px;font-size:10px;font-weight:600;background:#fff;border-color:#d9e3ed;color:#56677c}
.report-panel .report-tabs button.active{background:#e8f2ff;border-color:#bcd4f2;color:#1e63bd;box-shadow:inset 0 -2px 0 #2f73da}
.legacy-report-summary{display:flex;align-items:center;gap:16px;flex-wrap:wrap;min-height:34px;padding:7px 12px;border-top:1px solid #e2e9f1;border-bottom:1px solid #e2e9f1;background:#fafcff;color:#607086;font-size:10px}
.legacy-report-summary span{white-space:nowrap}.legacy-report-summary b{color:#30455f;font-weight:750}
.legacy-report-gridbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 12px;background:#eef3f8;border-bottom:1px solid #d7e1eb;color:#40536b}
.legacy-report-gridbar>span{font-size:10.5px;font-weight:800}.legacy-report-gridbar small{font-size:9.5px;color:#718096}
.legacy-report-table-wrap{max-height:56vh;overflow:auto!important;background:#fff}
.legacy-report-table{min-width:900px;border-collapse:separate;border-spacing:0}
.legacy-report-table thead th{position:sticky;top:0;z-index:2;background:#edf2f7!important;color:#526278!important;font-size:9.5px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.015em;border-bottom:1px solid #ccd8e4!important;border-right:1px solid #e1e8ef!important;padding:8px 9px!important;white-space:nowrap}
.legacy-report-table tbody td{font-size:10.5px!important;padding:7px 9px!important;border-bottom:1px solid #e6edf4!important;border-right:1px solid #eef2f6!important;white-space:nowrap;color:#34465c}
.legacy-report-table tbody tr:nth-child(even) td{background:#fbfdff}
.legacy-report-table tbody tr:hover td{background:#f2f7fd}
.legacy-report-table th:last-child,.legacy-report-table td:last-child{border-right:0!important}
.report-row-number{width:46px;min-width:46px;text-align:center!important;color:#8190a2!important}
.report-pagination{border-radius:0 0 var(--radius) var(--radius)}



.machine-log-panel{margin-bottom:14px!important}



#ac-log-table-top,#report-table-top{scroll-margin-top:96px}


:root{
  --bg:#f1f5fa;
  --panel:#ffffff;
  --line:#d9e4ef;
  --line2:#eaf0f6;
  --text:#142238;
  --muted:#728197;
  --blue:#276fd2;
  --blue2:#1858ae;
  --blue-soft:#eaf3ff;
  --cyan:#1697b6;
  --shadow:0 8px 28px rgba(28,61,99,.065);
  --shadow-lg:0 22px 54px rgba(26,58,96,.14);
  --radius:14px;
  --sidebar:268px;
  --topbar:72px;
  --footer-h:30px;
}
html,body,#app{background:#f2f6fb}
body{background:
  radial-gradient(circle at 85% 0,rgba(85,153,230,.08),transparent 28%),
  radial-gradient(circle at 22% 92%,rgba(66,168,196,.045),transparent 30%),
  #f2f6fb}
button,input,select{letter-spacing:0}


.topbar{
  height:var(--topbar);
  grid-template-columns:var(--sidebar) minmax(0,1fr) auto;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid #d9e4ef;
  box-shadow:0 3px 18px rgba(30,61,96,.045);
  backdrop-filter:blur(18px) saturate(1.12);
}
.brand{
  position:relative;
  gap:12px;
  padding:0 20px;
  border-right:1px solid #e0e8f1;
  background:linear-gradient(135deg,rgba(238,246,255,.78),rgba(255,255,255,.7));
}
.brand:after{content:"";position:absolute;left:20px;right:20px;bottom:0;height:2px;border-radius:999px;background:linear-gradient(90deg,#2f7adb,rgba(47,122,219,0))}
.brand .brand-mark{width:42px;height:42px;border-radius:13px;box-shadow:0 9px 20px rgba(39,111,210,.22)}
.brand strong{font-size:16px;letter-spacing:-.015em;color:#17263b}
.brand small{font-size:9.5px;color:#73849a;letter-spacing:.055em}
.menu-bar{padding:0 24px;gap:3px}
.menu-bar button{position:relative;padding:10px 12px;border-radius:9px;color:#53647b;font-size:11.5px;font-weight:700;transition:.16s ease}
.menu-bar button:hover{background:#edf5ff;color:#1e62ba;transform:translateY(-1px)}
.userbox{padding:0 20px 0 17px;border-left:1px solid #e2eaf2;background:linear-gradient(180deg,#fff,#fbfdff)}
.userbox .avatar{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#e9f4ff,#dcecff);color:#2168c5;box-shadow:inset 0 0 0 1px rgba(62,126,201,.07)}
.userbox b{font-size:12.5px;color:#1e2c40}.userbox small{font-size:9.5px}
.icon-btn{border-color:#d8e3ef;box-shadow:0 2px 6px rgba(35,69,107,.035)}


.sidebar{
  top:var(--topbar);
  width:var(--sidebar);
  padding:19px 14px calc(var(--footer-h) + 26px);
  background:
    linear-gradient(180deg,rgba(239,246,254,.95) 0,rgba(248,251,254,.98) 16%,#f8fbfe 100%);
  border-right:1px solid #d7e3ee;
  box-shadow:7px 0 24px rgba(37,67,101,.035);
  scrollbar-width:thin;
  scrollbar-color:#c4d2e1 transparent;
}
.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-thumb{background:#c4d2e1;border-radius:999px}.sidebar::-webkit-scrollbar-track{background:transparent}
.nav-section{
  position:relative;
  margin:0 0 13px;
  padding:10px 8px 9px;
  border:1px solid rgba(218,229,240,.72);
  border-radius:13px;
  background:rgba(255,255,255,.58);
  box-shadow:0 4px 16px rgba(42,74,109,.025);
}
.nav-section>span{
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 6px 8px;
  margin:0;
  color:#8998aa;
  font-size:8.5px;
  font-weight:850;
  letter-spacing:.13em;
}
.nav-section>span:before{content:"";width:5px;height:5px;border-radius:50%;background:#8cb5e5;box-shadow:0 0 0 3px rgba(78,137,203,.08)}
.nav-section button{
  position:relative;
  min-height:42px;
  height:auto;
  margin:2px 0;
  padding:6px 8px;
  gap:10px;
  border:1px solid transparent;
  border-radius:10px;
  color:#4e6077;
  font-size:11.3px;
  font-weight:620;
  transition:background .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.nav-section button i{
  width:28px;height:28px;min-width:28px;
  display:grid;place-items:center;
  border-radius:8px;
  background:#f0f5fa;
  color:#72879f;
  font-size:13px;
  transition:.15s ease;
}
.nav-section button:hover{
  background:#f4f8fd;
  border-color:#dce8f4;
  color:#294a70;
  transform:translateX(2px);
}
.nav-section button:hover i{background:#e7f1fd;color:#2e70c8}
.nav-section button.active{
  background:linear-gradient(135deg,#e8f2ff 0,#f5f9ff 100%);
  border-color:#cddff3;
  color:#175dae;
  font-weight:760;
  box-shadow:0 5px 15px rgba(50,112,184,.08),inset 3px 0 #2f78d7;
}
.nav-section button.active i{
  background:linear-gradient(145deg,#dcecff,#edf6ff);
  color:#2169c5;
  box-shadow:inset 0 0 0 1px rgba(55,120,195,.08);
}


.workspace{
  margin-left:var(--sidebar);
  padding:calc(var(--topbar) + 25px) 30px calc(var(--footer-h) + 62px);
  min-height:100vh;
}
.workspace-head{margin-bottom:18px;padding:0 2px}
.workspace-head>div:first-child{position:relative;padding-left:13px}
.workspace-head>div:first-child:before{content:"";position:absolute;left:0;top:4px;bottom:3px;width:4px;border-radius:999px;background:linear-gradient(180deg,#2875d6,#52a9c7)}
.workspace-head h1{font-size:27px;line-height:1.15;letter-spacing:-.035em;color:#14243a}
.head-actions .btn{box-shadow:0 3px 10px rgba(34,67,104,.045)}


.panel,.toolbar-card,.report-hero{
  border-color:#d9e4ef;
  border-radius:15px;
  box-shadow:0 9px 30px rgba(30,62,98,.055);
  overflow:hidden;
}
.panel{background:rgba(255,255,255,.985)}
.panel-head{
  background:linear-gradient(180deg,#ffffff,#fbfdff);
  border-bottom-color:#e4ebf3!important;
}
.panel-head h2{color:#1b2d44;letter-spacing:-.015em}
.toolbar-card{background:linear-gradient(180deg,#ffffff,#f9fcff);box-shadow:0 8px 24px rgba(30,62,98,.045)}
.action-tile{border-color:#dde7f1;background:#fbfdff;border-radius:11px}
.action-tile>i{background:#edf3f9;color:#617992}
.action-tile.primary{background:linear-gradient(145deg,#edf6ff,#f7fbff);border-color:#cbdff5}
.action-tile.accent{background:linear-gradient(145deg,#effbfc,#f8fefe)!important}
.toolbar-secondary{border-top-color:#e8eef5!important}


input,select{border-color:#d5e0ec;background:#fff;box-shadow:inset 0 1px 1px rgba(31,61,95,.018)}
input:hover,select:hover{border-color:#c4d5e6}
input:focus,select:focus{border-color:#78aee9;box-shadow:0 0 0 3px rgba(47,115,218,.085)}
.searchbox{background:#fff;border-radius:9px!important;border-color:#d7e2ed!important}
.btn{border-radius:9px;font-weight:720;box-shadow:0 2px 7px rgba(28,58,94,.025)}
.btn.primary{background:linear-gradient(180deg,#357fdc,#286cc9);box-shadow:0 7px 16px rgba(39,111,210,.16)}
.btn.ghost,.btn.soft{background:linear-gradient(180deg,#fff,#f8fbfe)}


.table-wrap{scrollbar-width:thin;scrollbar-color:#c8d5e3 transparent}
.table-wrap::-webkit-scrollbar{height:8px;width:8px}.table-wrap::-webkit-scrollbar-thumb{background:#c8d5e3;border-radius:999px}.table-wrap::-webkit-scrollbar-track{background:#f6f9fc}
.data-table thead th{
  background:#f2f6fa!important;
  color:#627188!important;
  border-bottom-color:#d8e3ee!important;
  font-weight:800!important;
  letter-spacing:.025em;
}
.data-table tbody td{border-bottom-color:#e8eef4!important;color:#33465e}
.data-table tbody tr:hover td{background:#f6f9fd}
.data-table tbody tr:nth-child(even):not(.machine-row) td{background:#fcfdff}
.empty{color:#94a1b2!important}
.status-dot{font-weight:700}
.tag{border-radius:999px!important}


.report-panel .report-tabs{background:#f7fafe;border-bottom:1px solid #e0e8f1}
.report-panel .report-tabs button{border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(31,62,98,.025)}
.report-panel .report-tabs button.active{background:linear-gradient(180deg,#e9f3ff,#f2f7ff);box-shadow:inset 0 -2px 0 #2e73d0,0 3px 9px rgba(42,102,171,.05)}
.legacy-report-summary{background:#f8fbfe;border-color:#e0e8f1}
.legacy-report-gridbar{background:linear-gradient(180deg,#eef4f9,#e9f0f7);border-color:#d6e0ea}
.legacy-report-table thead th{background:#eef3f8!important;color:#53657c!important}
.legacy-report-table tbody tr:hover td{background:#f2f7fd!important}
.log-pagination{background:linear-gradient(180deg,#fcfdff,#f8fbfe);border-top-color:#e1e9f1}
.pager-nav,.pager-number{box-shadow:0 2px 6px rgba(28,59,94,.025)!important}


.machine-quick-dock{bottom:calc(var(--footer-h) + 16px);border-color:#cbdbea;box-shadow:0 18px 45px rgba(25,61,103,.18)}
.operation-dock{bottom:calc(var(--footer-h) + 16px)!important}
.machine-log-panel{margin-bottom:14px!important}


.system-footer{
  height:var(--footer-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  color:#8493a6;
  font-size:9px;
  letter-spacing:.015em;
  user-select:none;
}
.system-footer span{white-space:nowrap}.system-footer small{font-size:8.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#71839a;white-space:nowrap}
.app-system-footer{
  position:fixed;
  z-index:19;
  left:var(--sidebar);
  right:0;
  bottom:0;
  padding:0 24px 0 30px;
  background:rgba(247,250,253,.92);
  border-top:1px solid rgba(216,226,237,.9);
  backdrop-filter:blur(12px);
}
.login-shell{position:relative;padding-bottom:var(--footer-h)}
.login-system-footer{
  position:absolute;
  z-index:5;
  left:0;right:0;bottom:0;
  padding:0 22px 0 30px;
  background:rgba(255,255,255,.55);
  border-top:1px solid rgba(214,226,238,.68);
  backdrop-filter:blur(10px);
}


.login-visual{background:linear-gradient(145deg,#eaf4ff 0,#f7fbff 48%,#e7f1fc 100%)}
.login-panel{background:linear-gradient(180deg,#fff,#fbfdff)}
.login-card{padding:30px 30px 27px;border:1px solid #e0e8f1;border-radius:18px;background:#fff;box-shadow:0 20px 48px rgba(33,65,102,.10)}
.login-card .mini-logo{box-shadow:inset 0 0 0 1px rgba(47,115,218,.06)}
.login-copy h1{color:#15263d}.login-copy p{color:#66778d}






select{
  -webkit-appearance:none;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%235f7187' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 13px center;
  background-size:12px 12px;
  padding-right:36px!important;
}
.legacy-field select,.filter-row select{background-position:right 12px center}


.system-footer{
  height:auto;
  min-height:16px;
  font-size:7.5px;
  color:#9aa7b6;
  letter-spacing:.01em;
}
.system-footer small{
  font-size:7px;
  font-weight:750;
  letter-spacing:.07em;
  color:#8d9bab;
}
.app-system-footer{
  position:relative;
  z-index:1;
  left:auto;
  right:auto;
  bottom:auto;
  margin-left:var(--sidebar);
  padding:2px 30px 10px;
  background:transparent;
  border-top:0;
  backdrop-filter:none;
}


.sidebar{padding-bottom:22px}
.workspace{padding-bottom:20px}
.machine-quick-dock{bottom:18px}
.operation-dock{bottom:18px!important}


.machine-log-panel{margin-bottom:14px!important}



.device-toolbar{padding:9px 10px;margin-bottom:14px}
.toolbar-main{grid-template-columns:repeat(7,minmax(104px,1fr));gap:6px}
.action-tile{min-height:54px;padding:7px 9px;gap:8px;border-radius:10px}
.action-tile>i{width:30px;height:30px;border-radius:8px;font-size:13px;flex:0 0 30px}
.action-tile b{font-size:10.2px;line-height:1.16}
.action-tile small{font-size:8.2px;line-height:1.15;margin-top:2px}
.toolbar-secondary{gap:6px;padding-top:8px;margin-top:8px}
.toolbar-secondary .btn{min-height:34px;padding:0 11px;border-radius:9px;font-size:10px;gap:6px}
.toolbar-secondary .btn i{font-size:12px}



.login-shell.login-shell-compact{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr;
  place-items:center;
  padding:36px 20px calc(var(--footer-h) + 36px);
  background:
    radial-gradient(circle at 18% 16%,rgba(66,137,222,.12),transparent 30%),
    radial-gradient(circle at 84% 78%,rgba(50,159,190,.08),transparent 28%),
    linear-gradient(145deg,#f4f8fd 0%,#fbfdff 48%,#eef5fc 100%);
}
.login-panel.login-panel-compact{
  width:100%;
  display:grid;
  place-items:center;
  padding:0;
  background:transparent;
}
.login-panel-compact .login-card{
  width:min(388px,calc(100vw - 40px));
  padding:28px 30px 30px;
  border:1px solid #dbe6f1;
  border-radius:18px;
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 48px rgba(30,64,103,.11);
  backdrop-filter:blur(12px);
}
.login-panel-compact .mini-logo{
  width:46px;
  height:46px;
  margin:0 auto 18px;
  border-radius:14px;
  background:linear-gradient(145deg,#e5f1ff,#f1f7ff);
  color:#276fd2;
  box-shadow:inset 0 0 0 1px rgba(47,115,218,.08),0 7px 18px rgba(47,115,218,.08);
}
.login-panel-compact .login-card-heading{
  margin-bottom:24px;
  text-align:center;
}
.login-panel-compact .login-card-heading h2{
  margin:0 0 6px;
  font-size:27px;
  line-height:1.15;
  letter-spacing:-.03em;
  color:#17263b;
}
.login-panel-compact .login-card-heading p{
  margin:0;
  color:#7b899b;
  font-size:12.5px;
}
.login-panel-compact .login-card label{margin-bottom:8px}
.login-panel-compact .input-icon{margin-bottom:15px}
.login-panel-compact .btn.full{margin-top:7px}
.login-shell-compact .login-system-footer{
  background:transparent;
  border-top:0;
  backdrop-filter:none;
  opacity:.72;
}



.userbox .avatar{
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#eaf4ff,#dcecff);
  color:#2168c5;
}
.userbox .avatar i{
  font-size:15px;
  line-height:1;
}

.sidebar{
  background:
    radial-gradient(circle at 18% 4%,rgba(112,186,255,.16),transparent 23%),
    linear-gradient(180deg,#225fa9 0%,#1d5598 48%,#18477f 100%);
  border-right:1px solid rgba(18,54,96,.42);
  box-shadow:8px 0 28px rgba(22,58,101,.10);
  scrollbar-color:rgba(218,235,252,.45) transparent;
}
.sidebar::-webkit-scrollbar-thumb{background:rgba(218,235,252,.42)}

.nav-section{
  margin-bottom:12px;
  padding:9px 7px 8px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.045);
  box-shadow:none;
  backdrop-filter:blur(4px);
}
.nav-section>span{
  color:rgba(231,242,255,.68);
}
.nav-section>span:before{
  background:#8fd1ff;
  box-shadow:0 0 0 3px rgba(143,209,255,.12);
}
.nav-section button{
  color:rgba(244,249,255,.86);
}
.nav-section button i{
  background:rgba(255,255,255,.09);
  color:#d9ebff;
}
.nav-section button:hover{
  background:rgba(255,255,255,.095);
  border-color:rgba(255,255,255,.12);
  color:#fff;
  transform:translateX(2px);
}
.nav-section button:hover i{
  background:rgba(255,255,255,.15);
  color:#fff;
}
.nav-section button.active{
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(237,246,255,.96));
  border-color:rgba(255,255,255,.78);
  color:#175aa7;
  box-shadow:0 7px 18px rgba(7,40,78,.16),inset 3px 0 #65b6ef;
}
.nav-section button.active i{
  background:linear-gradient(145deg,#dcecff,#edf6ff);
  color:#2169c5;
  box-shadow:inset 0 0 0 1px rgba(55,120,195,.08);
}




.nav-section button.active{
  background:linear-gradient(135deg,rgba(117,190,255,.22),rgba(255,255,255,.075));
  border-color:rgba(176,218,255,.20);
  color:#f7fbff;
  box-shadow:inset 3px 0 #8fd1ff,0 5px 14px rgba(7,40,78,.08);
}
.nav-section button.active i{
  background:rgba(255,255,255,.13);
  color:#f2f8ff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.nav-section button.active:hover{
  background:linear-gradient(135deg,rgba(130,198,255,.27),rgba(255,255,255,.10));
  color:#fff;
}


.sidebar{padding-bottom:58px;transition:width .2s ease,padding .2s ease,box-shadow .2s ease}
.topbar{transition:grid-template-columns .2s ease}
.workspace{transition:margin-left .2s ease}
.brand{transition:padding .2s ease}

.sidebar-collapse-btn{
  position:fixed;
  z-index:24;
  left:calc(var(--sidebar) - 48px);
  bottom:16px;
  width:32px;
  height:32px;
  border:1px solid rgba(204,229,255,.18);
  border-radius:10px;
  display:grid;
  place-items:center;
  padding:0;
  background:rgba(8,39,74,.28);
  color:rgba(239,247,255,.78);
  backdrop-filter:blur(10px);
  box-shadow:0 5px 14px rgba(3,27,55,.12),inset 0 1px rgba(255,255,255,.05);
  transition:left .2s ease,transform .15s ease,background .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.sidebar-collapse-btn i{
  font-size:11px;
  line-height:1;
  transform:translateX(-.5px);
}
.sidebar-collapse-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.11);
  border-color:rgba(205,230,255,.28);
  color:#fff;
  box-shadow:0 7px 18px rgba(3,27,55,.16),inset 0 1px rgba(255,255,255,.07);
}
.sidebar-collapse-btn:active{
  transform:translateY(0);
  background:rgba(255,255,255,.08);
}


.app-shell.sidebar-collapsed{--sidebar:78px}
.sidebar-collapsed .brand{justify-content:center;padding:0 12px}
.sidebar-collapsed .brand>div:last-child{display:none}
.sidebar-collapsed .sidebar{padding-left:9px;padding-right:9px}
.sidebar-collapsed .nav-section{padding:7px 5px;margin-bottom:9px}
.sidebar-collapsed .nav-section>span{display:none}
.sidebar-collapsed .nav-section button{
  height:39px;
  padding:0;
  justify-content:center;
  gap:0;
  font-size:0;
}
.sidebar-collapsed .nav-section button i{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  margin:0;
  font-size:14px;
  border-radius:9px;
}
.sidebar-collapsed .nav-section button.active{box-shadow:none!important}
.sidebar-collapsed .sidebar-collapse-btn{
  left:23px;
  width:32px;
  height:32px;
}



:root{--topbar:60px}
.topbar{
  height:var(--topbar);
  box-shadow:0 2px 14px rgba(30,61,96,.04);
}
.brand{
  gap:10px;
  padding:0 18px;
}
.brand:after{
  left:18px;
  right:18px;
  height:1px;
}
.brand .brand-mark{
  width:34px;
  height:34px;
  border-radius:10px;
  font-size:13px;
  box-shadow:0 6px 14px rgba(39,111,210,.18);
}
.brand strong{font-size:14px}
.brand small{font-size:8.5px;margin-top:1px;letter-spacing:.05em}
.menu-bar{padding:0 18px;gap:2px}
.menu-bar button{
  padding:7px 9px;
  border-radius:8px;
  font-size:10.5px;
  font-weight:680;
}
.userbox{
  gap:8px;
  padding:0 16px 0 14px;
}
.userbox .avatar{
  width:32px;
  height:32px;
  border-radius:10px;
  font-size:10px;
}
.userbox b{font-size:11.5px}
.userbox small{font-size:8.75px;margin-top:1px}
.icon-btn{
  width:31px;
  height:31px;
  border-radius:8px;
  font-size:11px;
}
.toast-stack{top:calc(var(--topbar) + 10px)}



.report-edit-column{width:72px;text-align:center!important}
.report-edit-cell{text-align:center;padding:5px 7px!important}
.report-edit-btn{height:27px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #cfe0f3;border-radius:7px;padding:0 9px;background:#f5f9fe;color:#2c6ab7;font-size:9.5px;font-weight:750;transition:.14s}
.report-edit-btn i{font-size:9px}.report-edit-btn:hover{background:#eaf4ff;border-color:#aecaec;color:#1e5da9;transform:translateY(-1px)}
.attendance-edit-form{grid-template-columns:1fr 1fr}.attendance-edit-identity{grid-column:1/-1;display:grid;grid-template-columns:120px 1fr;gap:10px;padding:11px 12px;margin-bottom:13px;border:1px solid #e1e9f1;border-radius:10px;background:#f8fbfe}.attendance-edit-identity span{min-width:0}.attendance-edit-identity small,.attendance-edit-identity b{display:block}.attendance-edit-identity small{font-size:9px;color:#8b9aae;text-transform:uppercase;letter-spacing:.04em}.attendance-edit-identity b{margin-top:3px;font-size:11px;color:#31445d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attendance-edit-note{grid-column:1/-1;display:flex;align-items:flex-start;gap:7px;padding:8px 10px;margin:0 0 4px;border:1px solid #e4ece8;border-radius:8px;background:#fafcfb;color:#6a8175;font-size:10.5px;line-height:1.45}.attendance-edit-note i{color:#729989;margin-top:1px;font-size:12px}



.legacy-field{
  grid-template-columns:56px minmax(0,1fr)!important;
  gap:9px!important;
}
.legacy-field>span,.legacy-label{
  letter-spacing:.01em;
  white-space:nowrap;
}
.legacy-select-shell{
  position:relative;
  display:flex;
  align-items:center;
  min-width:0;
  height:34px;
  border:1px solid #d7e2ed;
  border-radius:8px;
  background:#fff;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
  overflow:hidden;
}
.legacy-select-shell>i{
  position:absolute;
  left:10px;
  z-index:1;
  font-size:10px;
  color:#8a9aae;
  pointer-events:none;
}
.legacy-select-shell select{
  width:100%!important;
  height:32px!important;
  border:0!important;
  box-shadow:none!important;
  padding:0 34px 0 29px!important;
  background-color:transparent!important;
  color:#3c5068;
  font-weight:400;
  outline:0;
}
.legacy-select-shell:hover{
  border-color:#b9cde1;
}
.legacy-select-shell:focus-within{
  border-color:#8eb8e6;
  box-shadow:0 0 0 3px rgba(64,128,201,.08);
}
.legacy-select-shell.selected{
  border-color:#a9c9ea;
  background:#f4f9ff;
}
.legacy-select-shell.selected>i{
  color:#2d74c8;
}
.legacy-search.active{
  border-color:#a9c9ea;
  background:#f4f9ff;
  box-shadow:0 0 0 3px rgba(64,128,201,.06);
}
.report-live-spinner{
  margin-left:auto;
  color:#3b79c1!important;
  font-size:10px!important;
}
.report-live-status{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#6e8096;
  font-size:9px;
  font-weight:700;
}
.report-live-status i{font-size:9px;color:#3b79c1}
.legacy-time-range small{white-space:nowrap}
.legacy-report-actions .btn{min-width:108px}


.machine-context-menu{
  position:fixed;
  z-index:120;
  width:196px;
  padding:7px;
  border:1px solid #cfddea;
  border-radius:11px;
  background:rgba(255,255,255,.985);
  box-shadow:0 16px 38px rgba(24,56,93,.22);
  backdrop-filter:blur(10px);
}
.machine-context-head{
  display:flex;
  align-items:center;
  gap:8px;
  padding:5px 7px 8px;
  margin-bottom:4px;
  border-bottom:1px solid #e7edf4;
}
.machine-context-head .device-icon{
  width:27px;
  height:27px;
  border-radius:8px;
}
.machine-context-head>div{min-width:0}
.machine-context-head small,.machine-context-head b{display:block}
.machine-context-head small{
  font-size:8px;
  color:#91a0b0;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.machine-context-head b{
  max-width:135px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
  color:#344a63;
}
.machine-context-menu>button{
  width:100%;
  height:31px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 9px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#465a72;
  font-size:10px;
  font-weight:700;
  text-align:left;
  cursor:pointer;
}
.machine-context-menu>button i{
  width:15px;
  text-align:center;
  color:#66809e;
  font-size:11px;
}
.machine-context-menu>button:hover{
  background:#f1f6fc;
  color:#245f9f;
}
.machine-context-menu>button:hover i{color:#2d73bd}


.machine-context-menu>button:disabled{opacity:.45;cursor:not-allowed;background:transparent!important;color:#7f8c9c!important}



.toolbar-main{grid-template-columns:repeat(4,minmax(118px,1fr))}
.quick-action-col{min-width:72px;width:72px}
.machine-row-actions{justify-content:flex-start}
.status-auto{margin-top:4px;color:#90a0b2}
.machine-quick-dock{max-width:min(470px,calc(100vw - 44px))}
.machine-quick-actions .quick-dock-action.download{min-width:122px}
.machine-context-menu{min-width:196px}



.machine-log-panel{margin-bottom:14px!important}



.device-toolbar{padding:10px 12px;margin-bottom:14px}
.device-toolbar .toolbar-main{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.device-toolbar .action-tile{width:100%;min-width:0;min-height:56px;padding:8px 10px;gap:9px;border-radius:11px}
.device-toolbar .action-tile>i{width:31px;height:31px;flex:0 0 31px;border-radius:9px;font-size:13px}
.device-toolbar .action-tile b{font-size:10.4px;line-height:1.18}
.device-toolbar .action-tile small{font-size:8.5px;line-height:1.15;margin-top:2px}
.device-toolbar .toolbar-secondary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding-top:9px;margin-top:9px;border-top:1px solid var(--line2)}
.device-toolbar .toolbar-secondary .btn{width:100%;min-width:0;min-height:36px;height:36px;padding:0 9px;border-radius:9px;font-size:9.8px;gap:6px;white-space:nowrap}
.device-toolbar .toolbar-secondary .btn i{font-size:12px;flex:0 0 auto}



.modal-card.modal-confirm{width:min(440px,96vw);overflow:hidden}
.modal-confirm .modal-head{padding:15px 17px}
.confirm-dialog{padding:18px 18px 16px;display:grid;grid-template-columns:44px 1fr;column-gap:13px;align-items:start}
.confirm-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:17px;border:1px solid}
.confirm-icon.warning{background:#fff7e8;border-color:#f3dbac;color:#a76a12}
.confirm-icon.danger{background:#fff1f2;border-color:#f1c9cd;color:#c4434e}
.confirm-copy{min-width:0;padding-top:2px}
.confirm-copy p{margin:0;color:#34465d;font-size:12px;line-height:1.6}
.confirm-copy small{display:block;margin-top:7px;color:var(--muted);font-size:10px;line-height:1.5}
.confirm-dialog .modal-actions{grid-column:1/-1;margin-top:17px;padding-top:13px}
.btn.warning-solid{background:linear-gradient(180deg,#d7962f,#b9791e);border-color:#b9791e;color:#fff;box-shadow:0 7px 14px rgba(183,121,31,.16)}
.btn.danger-solid{background:linear-gradient(180deg,#d95a64,#c3444f);border-color:#c3444f;color:#fff;box-shadow:0 7px 14px rgba(195,68,79,.17)}
.btn.warning-solid:hover:not(:disabled),.btn.danger-solid:hover:not(:disabled){filter:brightness(.98)}


.machine-status-col{width:118px;min-width:118px;max-width:118px}
.machine-status-col .status-dot{white-space:nowrap}
.machine-status-col .status-auto{display:block;width:88px;min-width:88px;max-width:88px;white-space:nowrap;overflow:hidden;font-variant-numeric:tabular-nums}


.panel-tools input[type=date],.panel-tools select{height:36px;font-size:11px}
.panel-tools input[type=date]{min-width:138px}
.panel-tools select{min-width:150px}
.data-table td,.data-table th{vertical-align:middle}
.data-table code{font-size:11px}



.data-table{
  width:100%;
  table-layout:auto;
}
.data-table th,
.data-table td{
  padding:6px 7px!important;
}
.data-table th{
  font-size:10.5px!important;
  line-height:1.15!important;
}
.data-table td{
  font-size:11px!important;
  line-height:1.22!important;
}
.data-table code{
  font-size:10.4px!important;
  padding:2px 5px!important;
}
.data-table .cell-sub{
  margin-top:2px!important;
  line-height:1.1!important;
}


.table-wrap .data-table{
  min-width:0!important;
}
.data-table th,
.data-table td{
  white-space:nowrap;
}
.data-table th:nth-child(2),
.data-table td:nth-child(2),
.data-table th:nth-child(3),
.data-table td:nth-child(3){
  padding-left:6px!important;
  padding-right:6px!important;
}


.ac-log-table{
  table-layout:fixed!important;
}
.ac-log-table th:nth-child(1),
.ac-log-table td:nth-child(1){
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
}
.ac-log-table th:nth-child(2),
.ac-log-table td:nth-child(2){
  width:74px!important;
  min-width:74px!important;
  max-width:74px!important;
}
.ac-log-table th:nth-child(3),
.ac-log-table td:nth-child(3){
  width:24%!important;
}
.ac-log-table th:nth-child(4),
.ac-log-table td:nth-child(4){
  width:21%!important;
}
.ac-log-table th:nth-child(5),
.ac-log-table td:nth-child(5){
  width:84px!important;
  min-width:84px!important;
}
.ac-log-table th:nth-child(6),
.ac-log-table td:nth-child(6){
  width:66px!important;
  min-width:66px!important;
}
.ac-log-table th:nth-child(7),
.ac-log-table td:nth-child(7){
  width:68px!important;
  min-width:68px!important;
}


.machine-list-table th,
.machine-list-table td,
.machine-table th,
.machine-table td{
  padding-left:7px!important;
  padding-right:7px!important;
}



.data-table{
  border-collapse:collapse;
}
.data-table th,
.data-table td{
  padding:6px 6px!important;
}
.data-table th{
  font-size:10.8px!important;
  line-height:1.15!important;
}
.data-table td{
  font-size:11.25px!important;
  line-height:1.22!important;
}
.data-table th + th,
.data-table td + td{
  padding-left:5px!important;
}


.ac-log-table{
  table-layout:auto!important;
  width:100%!important;
}
.ac-log-table th,
.ac-log-table td{
  white-space:nowrap;
}
.ac-log-table th:nth-child(1),
.ac-log-table td:nth-child(1){
  width:170px!important;
  min-width:170px!important;
  max-width:170px!important;
}
.ac-log-table td.ac-log-datetime,
.ac-log-table td.ac-log-datetime b{
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.18!important;
  font-variant-numeric:tabular-nums;
}
.ac-log-table th:nth-child(2),
.ac-log-table td:nth-child(2){
  width:205px!important;
  max-width:205px!important;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ac-log-table th:nth-child(3),
.ac-log-table td:nth-child(3){
  width:170px!important;
  max-width:170px!important;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ac-log-table th:nth-child(4),
.ac-log-table td:nth-child(4){
  width:82px!important;
  min-width:82px!important;
}
.ac-log-table th:nth-child(5),
.ac-log-table td:nth-child(5){
  width:62px!important;
  min-width:62px!important;
}
.ac-log-table th:nth-child(6),
.ac-log-table td:nth-child(6){
  width:66px!important;
  min-width:66px!important;
}


.machine-table th,
.machine-table td,
.machine-list-table th,
.machine-list-table td{
  padding-left:6px!important;
  padding-right:6px!important;
}



.table-wrap{
  overflow-x:auto;
}
.data-table{
  width:100%!important;
  border-collapse:collapse!important;
  table-layout:fixed!important;
}
.data-table thead th{
  height:34px;
  padding:7px 8px!important;
  font-size:11.4px!important;
  line-height:1.15!important;
  font-weight:700!important;
  letter-spacing:.015em!important;
  color:#51637a;
  white-space:nowrap;
}
.data-table tbody td{
  height:36px;
  padding:7px 8px!important;
  font-size:12.25px!important;
  line-height:1.2!important;
  color:#33465d;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.data-table tbody tr{
  transition:background .12s ease;
}
.data-table tbody tr:hover{
  background:#f7fbff;
}
.data-table code{
  font-size:11.4px!important;
  line-height:1!important;
  padding:3px 6px!important;
}
.data-table .cell-sub{
  font-size:9.6px!important;
  line-height:1.05!important;
  margin-top:2px!important;
}


/* Mesin dipilih lewat klik baris, tanpa kolom checkbox/radio. */
.machine-list-table th:nth-child(1),
.machine-list-table td:nth-child(1){width:24%!important;min-width:175px!important}
.machine-list-table th:nth-child(2),
.machine-list-table td:nth-child(2){width:17%!important}
.machine-list-table th:nth-child(3),
.machine-list-table td:nth-child(3){width:8%!important}
.machine-list-table th:nth-child(4),
.machine-list-table td:nth-child(4){width:10%!important}
.machine-list-table th:nth-child(5),
.machine-list-table td:nth-child(5){width:22%!important}
.machine-list-table th:nth-child(6),
.machine-list-table td:nth-child(6){width:118px!important;min-width:118px!important;max-width:118px!important}
.machine-list-table th:nth-child(7),
.machine-list-table td:nth-child(7){width:62px!important;min-width:62px!important;max-width:62px!important;text-align:center}
.machine-list-table .machine-name{
  gap:8px;
}
.machine-list-table .device-icon{
  width:30px;
  height:30px;
  flex:0 0 30px;
}
.machine-list-table .machine-name b{
  font-size:12.4px;
}
.machine-list-table .machine-name small{
  font-size:9.3px;
}


.ac-log-table th:nth-child(1),
.ac-log-table td:nth-child(1){width:20%!important}
.ac-log-table th:nth-child(2),
.ac-log-table td:nth-child(2){width:25%!important}
.ac-log-table th:nth-child(3),
.ac-log-table td:nth-child(3){width:22%!important}
.ac-log-table th:nth-child(4),
.ac-log-table td:nth-child(4){width:12%!important}
.ac-log-table th:nth-child(5),
.ac-log-table td:nth-child(5){width:9%!important}
.ac-log-table th:nth-child(6),
.ac-log-table td:nth-child(6){width:9%!important}
.ac-log-table td.ac-log-datetime,
.ac-log-table td.ac-log-datetime b{
  font-size:12.8px!important;
  font-weight:700!important;
  font-variant-numeric:tabular-nums;
  color:#223b59;
}
.ac-log-table td:nth-child(2),
.ac-log-table td:nth-child(3){
  font-size:12.35px!important;
}


.machine-list-table th + th,
.machine-list-table td + td,
.ac-log-table th + th,
.ac-log-table td + td{
  padding-left:7px!important;
}



.calculated-item-table{
  min-width:1180px!important;
  table-layout:auto!important;
}
.calculated-item-table th,
.calculated-item-table td{
  padding-left:7px!important;
  padding-right:7px!important;
}
.calculated-item-table th:nth-child(2),
.calculated-item-table td:nth-child(2){min-width:86px}
.calculated-item-table th:nth-child(3),
.calculated-item-table td:nth-child(3){min-width:88px}
.calculated-item-table th:nth-child(4),
.calculated-item-table td:nth-child(4){min-width:150px}
.calculated-item-table th:nth-child(n/**/+5),
.calculated-item-table td:nth-child(n/**/+5){
  min-width:64px;
  text-align:center;
  font-variant-numeric:tabular-nums;
}



.calculated-item-table{
  min-width:1180px!important;
  table-layout:auto!important;
}
.calculated-item-table th,
.calculated-item-table td{
  padding:6px 7px!important;
  white-space:nowrap;
}
.calculated-item-table th:nth-child(1),
.calculated-item-table td:nth-child(1){min-width:72px}
.calculated-item-table th:nth-child(2),
.calculated-item-table td:nth-child(2){min-width:76px}
.calculated-item-table th:nth-child(3),
.calculated-item-table td:nth-child(3){min-width:190px}
.calculated-item-table th:nth-child(n/**/+4),
.calculated-item-table td:nth-child(n/**/+4){text-align:center;min-width:64px}
.calculated-item-table .report-edit-column,
.calculated-item-table .report-edit-cell{
  width:62px!important;
  min-width:62px!important;
  text-align:center!important;
}

.calculated-item-edit-form{
  min-width:min(760px,86vw);
  gap:14px;
}
.calculated-item-identity{
  display:grid;
  grid-template-columns:120px 150px minmax(220px,1fr);
  gap:9px;
  grid-column:1/-1;
}
.calculated-item-identity span{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:9px 10px;
  border:1px solid var(--line);
  background:#f7faff;
  border-radius:10px;
}
.calculated-item-identity small{
  font-size:9px;
  color:var(--muted);
}
.calculated-item-identity b{
  font-size:11.5px;
  color:#223b59;
}
.calculated-item-metric-grid{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
.calculated-item-metric-grid label{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.calculated-item-metric-grid label span{
  font-size:9.5px;
  font-weight:700;
  color:#53677f;
}
.calculated-item-metric-grid input{
  width:100%;
  min-width:0;
}



.calculated-item-table{
  min-width:1040px!important;
  table-layout:auto!important;
}
.calculated-item-table th,
.calculated-item-table td{
  padding:6px 8px!important;
  white-space:nowrap;
}
.calculated-item-table th:nth-child(1),
.calculated-item-table td:nth-child(1){min-width:78px}
.calculated-item-table th:nth-child(2),
.calculated-item-table td:nth-child(2){min-width:205px}
.calculated-item-table th:nth-child(3),
.calculated-item-table td:nth-child(3),
.calculated-item-table th:nth-child(4),
.calculated-item-table td:nth-child(4),
.calculated-item-table th:nth-child(5),
.calculated-item-table td:nth-child(5),
.calculated-item-table th:nth-child(6),
.calculated-item-table td:nth-child(6),
.calculated-item-table th:nth-child(7),
.calculated-item-table td:nth-child(7),
.calculated-item-table th:nth-child(8),
.calculated-item-table td:nth-child(8),
.calculated-item-table th:nth-child(9),
.calculated-item-table td:nth-child(9),
.calculated-item-table th:nth-child(10),
.calculated-item-table td:nth-child(10),
.calculated-item-table th:nth-child(11),
.calculated-item-table td:nth-child(11),
.calculated-item-table th:nth-child(12),
.calculated-item-table td:nth-child(12),
.calculated-item-table th:nth-child(13),
.calculated-item-table td:nth-child(13){
  text-align:center;
  min-width:62px;
}
.calculated-name-cell{
  display:flex;
  align-items:center;
  gap:7px;
}
.calculated-name-cell>span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
.report-inline-edit{
  width:24px;
  height:24px;
  flex:0 0 24px;
  border:1px solid #d7e3f1;
  background:#f7fbff;
  border-radius:7px;
  color:#55769c;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
}
.report-inline-edit:hover{
  background:#eaf4ff;
  border-color:#b9d3ef;
  color:#1f5f9d;
}
.report-inline-edit .pi{font-size:9px}

.calculated-item-identity{
  grid-template-columns:150px minmax(260px,1fr)!important;
}



.calculated-name-cell{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;}
.calculated-name-cell>span:first-child{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;}
.calculated-name-cell .report-inline-edit{width:auto!important;min-width:48px!important;height:25px!important;flex:0 0 auto!important;padding:0 7px!important;gap:4px!important;border-radius:7px!important;font-size:9.5px!important;font-weight:700!important;white-space:nowrap!important;}
.calculated-name-cell .report-inline-edit .pi{font-size:9px!important;}



.modal-card.modal-calculated-item{
  width:min(980px,96vw);
  max-height:92vh;
  overflow:auto;
}
.calculated-item-edit-form{
  min-width:0!important;
  gap:14px!important;
  padding:16px 18px 18px!important;
}
.calculated-item-identity{
  grid-template-columns:180px minmax(0,1fr)!important;
  gap:12px!important;
}
.calculated-item-identity span{
  min-width:0;
  padding:11px 12px!important;
}
.calculated-item-identity b{
  font-size:14px!important;
  line-height:1.35;
  overflow:hidden;
  text-overflow:ellipsis;
}
.calculated-item-metric-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.calculated-item-metric-grid label{
  min-width:0;
}
.calculated-item-metric-grid input{
  min-width:0;
}



.modal-card.modal-calculated-item{
  width:min(1040px,calc(100vw - 40px))!important;
  max-height:calc(100vh - 32px)!important;
  overflow:hidden!important;
  border-radius:18px!important;
}
.modal-calculated-item .modal-head{
  padding:16px 18px!important;
}
.modal-calculated-item .modal-head h3{
  font-size:16px!important;
}
.modal-calculated-item .modal-head span{
  font-size:10.5px!important;
}
.modal-calculated-item .calculated-item-edit-form{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:13px!important;
  min-width:0!important;
  padding:16px 18px 18px!important;
  overflow:visible!important;
}
.modal-calculated-item .calculated-item-identity{
  display:grid!important;
  grid-template-columns:150px minmax(0,1fr)!important;
  gap:10px!important;
  margin:0!important;
}
.modal-calculated-item .calculated-item-identity span{
  min-width:0!important;
  padding:9px 11px!important;
  border-radius:10px!important;
}
.modal-calculated-item .calculated-item-identity small{
  font-size:9.5px!important;
}
.modal-calculated-item .calculated-item-identity b{
  font-size:13px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.modal-calculated-item .calculated-item-metric-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
}
.modal-calculated-item .calculated-item-metric-grid label{
  min-width:0!important;
  margin:0!important;
  gap:5px!important;
}
.modal-calculated-item .calculated-item-metric-grid label span{
  font-size:10px!important;
  font-weight:750!important;
  line-height:1.15!important;
}
.modal-calculated-item .calculated-item-metric-grid input{
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  padding:0 10px!important;
  font-size:13px!important;
  font-weight:650!important;
}
.modal-calculated-item .attendance-edit-note{
  margin:1px 0 0!important;
  padding:9px 11px!important;
  min-height:40px!important;
  font-size:10px!important;
}
.modal-calculated-item .modal-actions{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
  padding-top:12px!important;
}
.modal-calculated-item .modal-actions .btn{
  min-width:112px;
}


.calculated-item-table .report-edit-column,
.calculated-item-table .report-edit-cell{
  width:74px!important;
  min-width:74px!important;
  max-width:74px!important;
  text-align:center!important;
  background:#fff;
}
.calculated-item-table thead .report-edit-column{
  background:#f7f9fc;
}
.calculated-item-table .report-edit-btn{
  min-width:52px!important;
  padding:0 8px!important;
}


.calculated-item-table .calculated-name-cell .report-inline-edit{
  display:none!important;
}


nnn.operation-dock.download-all-active{n  width:520px;n  max-width:calc(100vw - 44px);n}n.download-all-current{n  display:flex;n  align-items:center;n  justify-content:space-between;n  gap:12px;n  margin-top:8px;n  padding:7px 9px;n  border-radius:8px;n  background:rgba(255,255,255,.07);n  border:1px solid rgba(255,255,255,.08);n}n.download-all-current span{n  font-size:8.8px;n  color:#aebfd2;n  white-space:nowrap;n}n.download-all-current b{n  min-width:0;n  overflow:hidden;n  text-overflow:ellipsis;n  white-space:nowrap;n  font-size:10px;n  color:#f3f8ff;n}n.download-all-stats{n  display:grid;n  grid-template-columns:repeat(5,minmax(0,1fr));n  gap:6px;n  margin-top:9px;n}n.download-all-stats>span{n  min-width:0;n  padding:6px 5px;n  border-radius:8px;n  background:rgba(255,255,255,.055);n  border:1px solid rgba(255,255,255,.07);n  text-align:center;n}n.download-all-stats b,.download-all-stats small{display:block}n.download-all-stats b{font-size:10.5px;color:#f2f7fd;font-variant-numeric:tabular-nums}n.download-all-stats small{margin-top:2px;font-size:7.7px!important;color:#9eb1c7!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}n.download-all-stats .ok b{color:#86e1be}n.download-all-stats .fail b{color:#ff9fa8}nn


.toast .toast-copy{flex:1;min-width:0}
.toast-actions{display:flex;align-items:center;gap:7px;margin-top:9px;flex-wrap:wrap}
.toast-actions button{height:28px;border-radius:7px;padding:0 9px;font-size:9.3px;font-weight:750;display:inline-flex;align-items:center;gap:5px}
.toast-action-btn{border:1px solid #f0c7cb;background:#fff4f5;color:#a93d47}
.toast-action-btn:hover:not(:disabled){background:#ffe9eb;border-color:#e9aeb4}
.toast-action-btn:disabled{opacity:.5;cursor:not-allowed}
.toast-close-btn{border:1px solid #dfe6ee;background:#fff;color:#66768b}
.toast-close-btn:hover{background:#f6f8fa}


.employee-tools{gap:8px;flex-wrap:wrap}.employee-tools .searchbox.wide{min-width:290px}.employee-actions{display:flex;align-items:center;gap:5px}.employee-delete-btn{color:#b42318}.employee-delete-btn:hover{background:#fff1f0;border-color:#f3c4c0;color:#912018}.employee-status-note{grid-column:1/-1;display:flex;gap:9px;align-items:flex-start;padding:10px 12px;border:1px solid #d8e7f5;background:#f6faff;border-radius:10px;color:#58708b;font-size:11px;line-height:1.45}.employee-status-note i{margin-top:2px;color:#2d76c8}
.database-panel{width:100%;max-width:none;min-width:0;padding-bottom:16px}
.database-backup-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:15px;margin:14px 18px 0;padding:18px 20px;border:1px solid #dce9e1;border-radius:13px;background:#f8fbf9;min-width:0}
.database-backup-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#eaf6ef;color:#26775b;font-size:20px;border:1px solid #d8e9dd}
.database-backup-copy{min-width:0}
.database-backup-copy h3{margin:0 0 4px;font-size:14px;line-height:1.3;color:#254638}
.database-backup-copy p{margin:0;color:#6f8278;font-size:11.5px;line-height:1.5}
.database-download-btn{white-space:nowrap;min-height:42px;padding:0 16px}
.database-auto-backups{margin:16px 18px 2px;border:1px solid #e1ebe6;border-radius:13px;background:#fff;overflow:hidden}
.database-auto-backups-head{display:flex;align-items:center;gap:12px;padding:13px 16px;border-bottom:1px solid #e8efeb}
.database-auto-backups-head h3{margin:0;color:#244c3e;font-size:13px;line-height:1.4}
.database-auto-list{padding:3px 14px}
.database-auto-row{display:flex;align-items:center;gap:12px;padding:12px 2px;min-width:0}
.database-auto-row+.database-auto-row{border-top:1px solid #edf2ef}
.database-auto-file-icon{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;color:#477c6c;background:#eff7f3}
.database-auto-file-info{flex:1;min-width:0}
.database-auto-file-info strong,.database-auto-file-info small{display:block;overflow-wrap:anywhere}
.database-auto-file-info strong{font-size:12px;color:#244c3e;font-weight:700}
.database-auto-file-info small{margin-top:4px;color:#7b9186;font-size:10.5px}
.database-auto-download{flex:none;min-height:34px;padding:0 12px!important;font-size:11px!important}
.database-auto-message{padding:18px 16px;color:#82948a;font-size:11.5px}
.database-auto-message.error{color:#b24443}

@media(max-width:600px){
  .database-backup-card{grid-template-columns:44px minmax(0,1fr);gap:10px;margin:12px 12px 0;padding:12px}
  .database-backup-icon{width:44px;height:44px;font-size:18px}
  .database-backup-copy h3{font-size:13px}
  .database-backup-copy p{font-size:10.5px}
  .database-download-btn{grid-column:1/-1;width:100%;min-height:44px}
  .database-auto-backups{margin:12px 12px 0}
  .database-auto-backups-head{padding:12px;align-items:flex-start}
  .database-auto-backups-head p{font-size:10px}
  .database-auto-list{padding:2px 10px}
  .database-auto-row{gap:9px;flex-wrap:wrap}
  .database-auto-file-info{flex:1 1 calc(100% - 50px)}
  .database-auto-download{margin-left:43px}
}



.employee-row,
.calculated-item-row{cursor:context-menu}
.employee-row:hover td,
.calculated-item-row:hover td{background:#f8fbff}
.employee-context-menu{width:220px;min-width:220px}
.report-context-menu{width:210px;min-width:210px}
.employee-context-icon{background:#edf7f2!important;color:#2f7c5e!important}
.report-context-icon{background:#eef4ff!important;color:#356fbd!important}
.machine-context-menu>button.context-danger{color:#a63a32}
.machine-context-menu>button.context-danger i{color:#b64a42}
.machine-context-menu>button.context-danger:hover{background:#fff2f0;color:#8e2f29}
.machine-context-menu>button.context-danger:hover i{color:#9e352e}

.employee-actions{display:none!important}
.calculated-item-table .report-edit-column,.calculated-item-table .report-edit-cell{display:none!important}



.report-context-row{cursor:context-menu}
.report-context-row:hover td{background:#f8fbff}
.daily-detail-row{cursor:context-menu}
html.modal-scroll-locked,body.modal-scroll-locked{overscroll-behavior:none}
.modal-backdrop{overscroll-behavior:contain}
.modal-card{overscroll-behavior:contain}
.upload-user-form .upload-machine-choice{display:flex;align-items:center;gap:10px;margin:-2px 0 12px;padding:10px 12px;border:1px solid #d9e5f1;border-radius:10px;background:#f8fbff}
.upload-user-form .upload-machine-choice>i{font-size:16px}
.upload-user-form .upload-machine-choice>div{min-width:0}
.upload-user-form .upload-machine-choice small,.upload-user-form .upload-machine-choice b,.upload-user-form .upload-machine-choice span{display:block}
.upload-user-form .upload-machine-choice small{font-size:8.5px;text-transform:uppercase;letter-spacing:.06em;color:#8b9caf}
.upload-user-form .upload-machine-choice b{margin-top:2px;font-size:11px;color:#31485f}
.upload-user-form .upload-machine-choice span{margin-top:2px;font-size:9.5px;color:#708398}
.upload-user-form .upload-machine-choice.online{background:#f3fbf8;border-color:#d6eee4}
.upload-user-form .upload-machine-choice.online>i{color:#23956d}
.upload-user-form .upload-machine-choice.offline{background:#fff8f2;border-color:#f1dfcf}
.upload-user-form .upload-machine-choice.offline>i{color:#b7791f}



:root{
  --hris-table-head-bg:#f3f7fb;
  --hris-table-head-text:#4d6077;
  --hris-table-border:#e3eaf2;
  --hris-table-row-border:#edf2f6;
  --hris-table-cell-x:12px;
  --hris-table-head-h:39px;
  --hris-table-row-h:40px;
}
.table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  background:#fff;
}
.data-table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  table-layout:fixed!important;
  margin:0!important;
}
.data-table thead th,
.legacy-report-table thead th{
  height:var(--hris-table-head-h)!important;
  padding:9px var(--hris-table-cell-x)!important;
  text-align:center!important;
  vertical-align:middle!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:800!important;
  color:var(--hris-table-head-text)!important;
  background:var(--hris-table-head-bg)!important;
  border-bottom:1px solid #d8e2ec!important;
  border-right:1px solid var(--hris-table-border)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.data-table tbody td,
.legacy-report-table tbody td{
  min-height:var(--hris-table-row-h)!important;
  height:var(--hris-table-row-h)!important;
  padding:8px var(--hris-table-cell-x)!important;
  vertical-align:middle!important;
  font-size:11.8px!important;
  line-height:1.25!important;
  border-bottom:1px solid var(--hris-table-row-border)!important;
  border-right:1px solid #f0f3f7!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.data-table thead th:last-child,
.data-table tbody td:last-child,
.legacy-report-table thead th:last-child,
.legacy-report-table tbody td:last-child{
  border-right:0!important;
}
.data-table tbody tr:last-child td,
.legacy-report-table tbody tr:last-child td{
  border-bottom:0!important;
}
.data-table tbody tr:nth-child(even):not(.machine-row) td,
.legacy-report-table tbody tr:nth-child(even) td{
  background:#fcfdff!important;
}
.data-table tbody tr:hover td,
.legacy-report-table tbody tr:hover td{
  background:#f5f9fd!important;
}
.data-table .empty,
.legacy-report-table .empty{
  height:86px!important;
  text-align:center!important;
  padding:24px 12px!important;
}


.machine-list-table th,
.machine-list-table td,
.ac-log-table th,
.ac-log-table td,
.employee-table th,
.employee-table td,
.legacy-report-table th,
.legacy-report-table td,
.simple-data-table th,
.simple-data-table td{
  padding-left:var(--hris-table-cell-x)!important;
  padding-right:var(--hris-table-cell-x)!important;
}
.machine-list-table th:nth-child(1),
.machine-list-table td:nth-child(1){
  padding-left:8px!important;
  padding-right:8px!important;
  text-align:center!important;
}
.machine-list-table th:nth-child(8),
.machine-list-table td:nth-child(8),
.employee-table th:last-child,
.calculated-item-table th:nth-child(n/**/+3){
  text-align:center!important;
}
.ac-log-table td:nth-child(4),
.ac-log-table td:nth-child(5),
.ac-log-table td:nth-child(6),
.employee-table td:first-child,
.employee-table td:last-child,
.calculated-item-table td:nth-child(n/**/+3){
  text-align:center!important;
}
.legacy-report-table{
  border-spacing:0!important;
}
.legacy-report-table thead th{
  top:0;
}
.calculated-item-table th,
.calculated-item-table td{
  padding-left:10px!important;
  padding-right:10px!important;
}


.log-pagination,
.machine-pagination,
.employee-pagination,
.report-pagination,
.simple-pagination{
  min-height:50px!important;
  margin:0!important;
  padding:10px 14px!important;
  border-top:1px solid #e2eaf2!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
}
.log-page-info{
  font-size:10.5px!important;
  color:#6d7f93!important;
  white-space:nowrap;
}
.log-page-info b{
  color:#344c65;
  font-variant-numeric:tabular-nums;
}
.log-page-actions{
  gap:6px!important;
}
.pager-nav,
.pager-number{
  min-height:30px!important;
  border-radius:8px!important;
}
.pager-number{
  min-width:30px!important;
  text-align:center!important;
}












.simple-data-table{
  width:100%!important;
  min-width:100%!important;
  table-layout:fixed!important;
}
.simple-data-table th,
.simple-data-table td{
  min-width:0!important;
  max-width:none!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.simple-data-table th:nth-child(1),.simple-data-table td:nth-child(1){width:40%!important}
.simple-data-table th:nth-child(2),.simple-data-table td:nth-child(2){width:22%!important;text-align:center!important}
.simple-data-table th:nth-child(3),.simple-data-table td:nth-child(3){width:38%!important}
.attendance-edit-form label small{font-weight:500;color:#8a99aa}


.legacy-report-table-wrap{
  max-height:none!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
}


.schedule-panel{overflow:hidden}
.schedule-panel .panel-head>div>small{display:block;margin-top:4px;color:#7b8da2;font-size:10.5px;line-height:1.4}
.schedule-filter-tools,.schedule-subtools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.schedule-filter-tools select,.schedule-subtools select{height:36px;min-width:190px;border:1px solid #dbe5ef;border-radius:9px;background:#fff;padding:0 34px 0 11px;color:#435a72;font-size:10.5px}
.schedule-subtools{padding:12px 14px;border-bottom:1px solid #e7edf4;background:#fbfdff}
.schedule-subtools .searchbox{margin-right:auto;min-width:300px}
.schedule-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important}
.schedule-data-table{width:100%!important;min-width:100%!important;table-layout:fixed!important}
.schedule-data-table th,.schedule-data-table td{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal;overflow-wrap:anywhere;text-align:center!important}
.schedule-data-table td.schedule-name-cell,.schedule-data-table td.schedule-pattern-cell{text-align:left!important}
.schedule-data-table td.schedule-pattern-cell{line-height:1.4!important}
.schedule-context-row{cursor:context-menu}
.schedule-flow-note{display:flex;align-items:flex-start;gap:7px;padding:8px 11px;border-bottom:1px solid #e6eeea;background:#fafcfb;color:#637c6e;font-size:10.5px;line-height:1.45}
.schedule-flow-note i{margin-top:2px;color:#2f78c7}.schedule-flow-note b{color:#34506c}


.schedule-data-table:not(.shift-management-table):not(.employee-schedule-table):not(.holiday-table):not(.leave-table) th:nth-child(1){width:5%}
.schedule-data-table:not(.shift-management-table):not(.employee-schedule-table):not(.holiday-table):not(.leave-table) th:nth-child(2){width:18%}
.schedule-data-table:not(.shift-management-table):not(.employee-schedule-table):not(.holiday-table):not(.leave-table) th:nth-child(3),
.schedule-data-table:not(.shift-management-table):not(.employee-schedule-table):not(.holiday-table):not(.leave-table) th:nth-child(4){width:9%}
.schedule-data-table:not(.shift-management-table):not(.employee-schedule-table):not(.holiday-table):not(.leave-table) th:nth-child(5),
.schedule-data-table:not(.shift-management-table):not(.employee-schedule-table):not(.holiday-table):not(.leave-table) th:nth-child(6){width:15%}
.schedule-data-table:not(.shift-management-table):not(.employee-schedule-table):not(.holiday-table):not(.leave-table) th:nth-child(7),
.schedule-data-table:not(.shift-management-table):not(.employee-schedule-table):not(.holiday-table):not(.leave-table) th:nth-child(8){width:9%}
.schedule-data-table:not(.shift-management-table):not(.employee-schedule-table):not(.holiday-table):not(.leave-table) th:nth-child(9){width:11%}
.shift-management-table th:nth-child(1){width:6%}.shift-management-table th:nth-child(2){width:21%}.shift-management-table th:nth-child(3),.shift-management-table th:nth-child(4){width:13%}.shift-management-table th:nth-child(5){width:9%}.shift-management-table th:nth-child(6){width:10%}.shift-management-table th:nth-child(7){width:28%}
.employee-schedule-table th:nth-child(1){width:8%}.employee-schedule-table th:nth-child(2){width:18%}.employee-schedule-table th:nth-child(3){width:18%}.employee-schedule-table th:nth-child(4){width:12%}.employee-schedule-table th:nth-child(5){width:24%}.employee-schedule-table th:nth-child(6){width:10%}.employee-schedule-table th:nth-child(7){width:10%}
.holiday-table th:nth-child(1){width:35%}.holiday-table th:nth-child(2){width:25%}.holiday-table th:nth-child(3){width:15%}.holiday-table th:nth-child(4){width:25%}
.leave-table th:nth-child(1){width:10%}.leave-table th:nth-child(2){width:20%}.leave-table th:nth-child(3){width:15%}.leave-table th:nth-child(4),.leave-table th:nth-child(5){width:16%}.leave-table th:nth-child(6){width:23%}

.schedule-tabs{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #dce6ef;border-radius:10px;background:#f5f8fb}
.schedule-tabs button{height:30px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#687c92;font-size:10.5px;font-weight:750;cursor:pointer}
.schedule-tabs button.active{background:#fff;color:#286bb7;box-shadow:0 1px 4px rgba(31,60,89,.1)}
.schedule-context-menu{width:238px;min-width:238px}.schedule-context-icon{background:#eef6ff!important;color:#3679c5!important}

.modal-card.modal-schedule{width:min(660px,calc(100vw - 32px))}
.shift-form{padding:16px 18px 18px;max-height:calc(100vh - 160px);overflow:auto}
.shift-meta-grid{padding:0!important}
.shift-pattern-head{display:flex;align-items:center;justify-content:space-between;margin:14px 0 8px;padding-top:12px;border-top:1px solid #e5ecf3}
.shift-pattern-head b,.shift-pattern-head span{display:block}.shift-pattern-head b{font-size:12px;color:#31485f}.shift-pattern-head span{margin-top:3px;color:#7a8da3;font-size:9.5px}
.shift-pattern-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.shift-pattern-grid label{display:grid;gap:5px;min-width:0}.shift-pattern-grid label>span{font-size:9px;font-weight:750;color:#61758b}.shift-pattern-grid select{width:100%;height:35px;border:1px solid #dce6ef;border-radius:8px;background:#fff;padding:0 28px 0 9px;color:#3f566f;font-size:9.5px}
.schedule-checkbox{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px;padding-top:24px}.schedule-checkbox input{width:16px!important;height:16px!important}.schedule-checkbox span{font-size:10.5px;color:#445c74}
.form-grid label.span-two{grid-column:1/-1}.form-grid textarea{width:100%;resize:vertical;border:1px solid #d7e2ed;border-radius:9px;padding:9px 10px;color:#344b63;font:inherit;outline:none}.form-grid textarea:focus{border-color:#86b8ee;box-shadow:0 0 0 3px rgba(61,139,222,.1)}


.temp-schedule-existing{margin-top:2px;border:1px solid #e0e9f2;border-radius:10px;background:#fbfdff;overflow:hidden}
.temp-schedule-existing-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px;border-bottom:1px solid #e6edf4}
.temp-schedule-existing-head b{font-size:10.5px;color:#344e68}.temp-schedule-existing-head small{font-size:9px;color:#8091a4}
.temp-schedule-existing-list{max-height:190px;overflow:auto}
.temp-schedule-existing-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-bottom:1px solid #edf2f7}
.temp-schedule-existing-row:last-child{border-bottom:0}.temp-schedule-existing-row>span{display:grid;gap:2px;min-width:0}.temp-schedule-existing-row b{font-size:10px;color:#38536d}.temp-schedule-existing-row small{font-size:9px;color:#7c8fa2}


.global-select-picker{position:fixed;z-index:160;width:320px;max-width:calc(100vw - 24px);padding:7px;background:#fff;border:1px solid #cfdceb;border-radius:11px;box-shadow:0 18px 50px rgba(26,55,91,.22)}
.global-select-picker[hidden]{display:none!important}
.global-select-search{width:100%;height:36px;border:1px solid #cbd9e8!important;border-radius:8px!important;padding:0 10px!important;font-size:11px!important;color:#20354e;background:#fbfdff!important;outline:0}
.global-select-search:focus{border-color:#78aee9!important;box-shadow:0 0 0 3px rgba(47,115,218,.09)!important}
.global-select-options{max-height:280px;overflow:auto;margin-top:6px;padding:2px;overscroll-behavior:contain}
.global-select-option{display:flex;width:100%;align-items:center;text-align:left;border:0;background:transparent;color:#40566f;border-radius:7px;padding:8px 9px;font-size:10.5px;line-height:1.35;cursor:pointer}
.global-select-option:hover,.global-select-option.active{background:#edf5ff;color:#2369c4}
.global-select-option.selected{font-weight:750}
.global-select-option.selected::after{content:"✓";margin-left:auto;color:#2f73da;font-weight:800}
.global-select-empty{padding:14px 10px;text-align:center;color:#92a0b0;font-size:10.5px}
select:not(:disabled){cursor:pointer}



.attendance-settings-page{display:flex;flex-direction:column;gap:14px}
.attendance-settings-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(max-width:600px){.attendance-settings-groups{grid-template-columns:minmax(0,1fr)}}
.attendance-setting-group{overflow:hidden;border:1px solid #dfe8f2;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(33,67,106,.035)}
.attendance-setting-group-head{display:flex;align-items:center;gap:11px;padding:14px 15px;background:#fbfdff;border-bottom:1px solid #e8eef5}.attendance-setting-group-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:10px;background:#edf6ff;color:#2b78d0}.attendance-setting-group-head h3{margin:0 0 3px;font-size:12.5px;color:#263b54}.attendance-setting-group-head p{margin:0;color:#798ba0;font-size:9.8px;line-height:1.45}
.attendance-setting-list{display:flex;flex-direction:column}.attendance-setting-item{display:flex;align-items:center;gap:16px;padding:12px 15px;border-bottom:1px solid #edf1f6}.attendance-setting-item:last-child{border-bottom:0}.attendance-setting-copy{min-width:0;flex:1}.attendance-setting-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.attendance-setting-name b{font-size:11px;color:#32485f}.attendance-setting-copy p{margin:4px 0 0;color:#7c8c9d;font-size:9.6px;line-height:1.45}.attendance-setting-copy code{display:inline-block;margin-top:5px;padding:2px 5px;border-radius:5px;background:#f3f6f9;color:#8492a3;font-size:8.8px}.attendance-setting-scope{padding:2px 6px;border-radius:999px;font-size:8.2px;font-weight:800;letter-spacing:.15px}.attendance-setting-scope.used{background:#e8f7ef;color:#288057}.attendance-setting-scope.legacy{background:#f3f5f8;color:#718197}
.attendance-setting-value{display:flex;align-items:baseline;justify-content:flex-end;gap:5px;min-width:92px;text-align:right}.attendance-setting-value strong{font-size:15px;color:#21374f}.attendance-setting-value small{font-size:9px;color:#8494a6}.setting-state{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:800}.setting-state.on{background:#e8f7ef;color:#238257}.setting-state.off{background:#f3f5f7;color:#788797}
.attendance-settings-footnote{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #e3eaf2;border-radius:11px;background:#fbfcfe;color:#6e8094}.attendance-settings-footnote>i{margin-top:2px;color:#4779b2}.attendance-settings-footnote div{display:flex;flex-direction:column;gap:2px}.attendance-settings-footnote b{font-size:10.5px;color:#3d536b}.attendance-settings-footnote span{font-size:9.5px;line-height:1.45}.attendance-settings-empty{display:flex;align-items:center;gap:8px;padding:18px;color:#76889c}

.modal-card.modal-attendance-settings{display:flex;flex-direction:column;max-height:min(88dvh,850px);overflow:hidden}
.modal-card.modal-attendance-settings>.modal-head{flex:0 0 auto}
.attendance-settings-form{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;gap:0;max-height:none;overflow:hidden;padding:0}
.attendance-settings-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px 18px 12px;display:flex;flex-direction:column;gap:12px}
.attendance-settings-scroll>.attendance-settings-form-group{flex:0 0 auto}
.modal-card.modal-attendance-settings .attendance-settings-form>.modal-actions{display:flex;flex:0 0 auto;justify-content:flex-end;gap:9px;padding:13px 18px 15px;margin:0;background:#fff;border-top:1px solid #e5ebe8}.attendance-settings-form-group{border:1px solid #e1e8f0;border-radius:12px;overflow:hidden;background:#fff}.attendance-settings-form-head{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;background:#f8fbfe;border-bottom:1px solid #e7edf4}.attendance-settings-form-head>span{width:28px;height:28px;display:grid;place-items:center;flex:0 0 28px;border-radius:8px;background:#eaf4ff;color:#2878d4}.attendance-settings-form-head div{display:flex;flex-direction:column;gap:2px}.attendance-settings-form-head b{font-size:11px;color:#30465d}.attendance-settings-form-head small{font-size:9px;color:#7d8ea1;line-height:1.4}.attendance-settings-form-list{display:flex;flex-direction:column}.attendance-settings-control{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px 12px!important;border-bottom:1px solid #edf1f5;margin:0!important}.attendance-settings-control:last-child{border-bottom:0}.attendance-settings-control-copy{display:flex;flex-direction:column;gap:3px}.attendance-settings-control-copy>span{font-size:10.5px;font-weight:800;color:#354b61}.attendance-settings-control-copy small{font-size:9px;color:#7c8c9c;line-height:1.4;max-width:540px}.attendance-settings-number{display:flex;align-items:center;gap:7px}.attendance-settings-number input{width:112px!important;min-width:112px!important;text-align:right}.attendance-settings-number em{min-width:42px;font-size:9px;color:#7c8b9b;font-style:normal}.attendance-settings-toggle{display:flex;align-items:center;gap:7px;min-width:105px;justify-content:flex-end}.attendance-settings-toggle input{width:16px!important;height:16px!important;min-width:16px!important;accent-color:#2e7dd8}.attendance-settings-toggle span{font-size:9.5px;font-weight:800;color:#526980}



.attendance-setting-scope.legacy{display:none!important}



.sidebar{
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior-y:contain;
  overscroll-behavior-x:none;
  -webkit-overflow-scrolling:touch;
}


.ui-hint{position:fixed;z-index:2200;display:flex;align-items:center;gap:7px;max-width:240px;padding:8px 11px;border:1px solid #cfe1f6;border-radius:10px;background:rgba(245,250,255,.98);color:#31577f;font-size:12px;font-weight:700;line-height:1.2;box-shadow:0 10px 24px rgba(39,83,130,.14);pointer-events:none;opacity:0;transform:translateY(3px) scale(.98);transition:opacity .14s ease,transform .14s ease;backdrop-filter:blur(8px);white-space:nowrap}.ui-hint i{font-size:11px;color:var(--blue)}.ui-hint.show{opacity:1;transform:translateY(0) scale(1)}

/* ======================================================================
   FINAL POLISH — Unified spacing language (2026-09-28)
   Visual-only normalization: titles, headers, sections, tables and panels.
   ====================================================================== */
:root{
  --ui-space-1:6px;
  --ui-space-2:10px;
  --ui-space-3:14px;
  --ui-space-4:18px;
  --ui-space-5:24px;
  --ui-panel-x:16px;
  --ui-panel-y:14px;
  --ui-table-x:12px;
  --ui-table-y:10px;
  --ui-section-gap:14px;
}

@media (min-width:901px){
  /* One vertical rhythm from page title to the last section. */
  .workspace{padding-top:calc(var(--topbar) + 24px)!important;padding-left:30px!important;padding-right:30px!important}
  .workspace-head{margin:0 0 var(--ui-section-gap)!important;padding:0 2px!important;min-height:0}
  .workspace-head .crumb{margin-bottom:6px!important}
  .workspace-head h1{margin:0!important}
  .workspace-head p{margin:6px 0 0!important}

  /* All top-level cards/sections use the same separation. */
  .toolbar-card,.panel,.report-hero,.machine-log-panel,.database-panel,.schedule-panel{margin-top:0!important;margin-bottom:var(--ui-section-gap)!important}
  .attendance-settings-page{gap:var(--ui-section-gap)!important}
  .attendance-settings-page>.panel,.attendance-settings-page>.toolbar-card{margin-bottom:0!important}

  /* Shared panel/header language. */
  .panel-head{min-height:54px!important;padding:var(--ui-panel-y) var(--ui-panel-x)!important;gap:var(--ui-space-3)!important}
  .panel-head h2,.panel-head h3{margin-top:0!important;margin-bottom:0!important}
  .panel-head>div>small{margin-top:4px!important}
  .toolbar-card{padding:12px!important}
  .toolbar-main{gap:8px!important}
  .toolbar-secondary{gap:8px!important;padding-top:10px!important;margin-top:10px!important}

  /* Filters, report controls and secondary section bars line up to panel edges. */
  .report-panel .report-tabs{padding:10px var(--ui-panel-x)!important;gap:6px!important}
  .legacy-report-summary,.legacy-report-gridbar,.schedule-subtools,.schedule-flow-note{padding-left:var(--ui-panel-x)!important;padding-right:var(--ui-panel-x)!important}
  .legacy-report-summary{padding-top:9px!important;padding-bottom:9px!important}
  .legacy-report-gridbar{padding-top:9px!important;padding-bottom:9px!important}
  .schedule-subtools{padding-top:10px!important;padding-bottom:10px!important}
  .schedule-flow-note{padding-top:10px!important;padding-bottom:10px!important}
  .legacy-report-action-row,.legacy-sort-row{margin-top:10px!important}

  /* Same horizontal/vertical cell rhythm across every data grid. */
  .data-table thead th,.legacy-report-table thead th,.simple-data-table thead th,.schedule-data-table thead th{
    padding-top:var(--ui-table-y)!important;padding-bottom:var(--ui-table-y)!important;
    padding-left:var(--ui-table-x)!important;padding-right:var(--ui-table-x)!important;
    vertical-align:middle!important;
  }
  .data-table tbody td,.legacy-report-table tbody td,.simple-data-table tbody td,.schedule-data-table tbody td{
    padding-top:var(--ui-table-y)!important;padding-bottom:var(--ui-table-y)!important;
    padding-left:var(--ui-table-x)!important;padding-right:var(--ui-table-x)!important;
    vertical-align:middle!important;
  }
  .machine-list-table th:nth-child(1),.machine-list-table td:nth-child(1){padding-left:8px!important;padding-right:8px!important}
  .calculated-item-table th,.calculated-item-table td{padding-left:10px!important;padding-right:10px!important}

  /* Footer/pagination belongs to the same grid instead of feeling detached. */
  .log-pagination,.machine-pagination,.employee-pagination,.report-pagination,.simple-pagination{
    min-height:50px!important;padding:10px var(--ui-panel-x)!important;margin:0!important;
  }

  /* Settings cards follow the same 14/16 spacing system. */
  .attendance-settings-groups{gap:var(--ui-section-gap)!important}
  .attendance-setting-group-head{padding:var(--ui-panel-y) var(--ui-panel-x)!important}
  .attendance-setting-item{padding:12px var(--ui-panel-x)!important}
  .attendance-settings-footnote{padding:12px var(--ui-panel-x)!important}
}

/* Department final layout isolation */
.department-panel .department-tree{padding:12px 14px 16px}
.department-panel .department-node{width:auto;max-width:100%}
.department-panel .department-node-copy{overflow:hidden}


/* Absensi Luar */
.mobile-access-panel .panel-head small{display:block;margin-top:4px;color:var(--muted,#6b7f93)}
.mobile-access-table th:nth-child(1){width:13%}.mobile-access-table th:nth-child(2){width:34%}.mobile-access-table th:nth-child(3){width:25%}.mobile-access-table th:nth-child(4){width:14%}.mobile-access-table th:nth-child(5){width:14%}
.access-code-cell,.row-actions,.password-field{display:flex;align-items:center;gap:8px}.access-code-cell code{min-width:88px}.password-field input{flex:1}.password-field .icon-btn{flex:0 0 auto}.row-actions{justify-content:center}.icon-btn.danger{color:#b84a4a}


.field-attendance-access-link{display:flex;align-items:center;gap:12px;margin:14px 16px 8px;padding:12px 14px;border:1px solid #d7e5f4;border-radius:12px;background:#f7fbff;box-shadow:0 2px 8px rgba(43,103,174,.04)}
.field-attendance-access-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex:0 0 36px;border-radius:10px;background:#e8f3ff;color:#2873c8}
.field-attendance-access-copy{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}.field-attendance-access-copy b{font-size:13px;color:#18324f}.field-attendance-access-copy a{font-size:12px;color:#2873c8;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.field-attendance-access-copy a:hover{text-decoration:underline}
.field-attendance-copy-btn{flex:0 0 auto;min-height:36px;background:#fff;border-color:#cbdced;color:#355979}.field-attendance-copy-btn:hover{background:#eef6ff;border-color:#aac8e7;color:#2168b4}
@media(max-width:720px){.field-attendance-access-link{align-items:flex-start;flex-wrap:wrap;margin:10px 10px 8px;padding:11px 12px}.field-attendance-access-copy{width:calc(100% - 50px)}.field-attendance-access-copy a{white-space:normal;overflow-wrap:anywhere}.field-attendance-copy-btn{width:100%;justify-content:center}}

/* AC Log final column balance: keep compact technical fields and show Source fully */
.ac-log-table th:nth-child(4),
.ac-log-table td:nth-child(4){
  width:64px!important;
  min-width:64px!important;
  max-width:64px!important;
  text-align:center!important;
}
.ac-log-table th:nth-child(5),
.ac-log-table td:nth-child(5){
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  text-align:center!important;
}
.ac-log-table th:nth-child(6),
.ac-log-table td:nth-child(6){
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  text-align:center!important;
}
.ac-log-table th:nth-child(7),
.ac-log-table td:nth-child(7){
  width:118px!important;
  min-width:118px!important;
  max-width:118px!important;
  text-align:center!important;
  overflow:visible!important;
}
.ac-log-table td:nth-child(7) .tag{
  white-space:nowrap!important;
}

/* Field Attendance table final polish */
.mobile-access-panel{overflow:hidden}
.mobile-access-panel>.table-wrap{margin:0;border-top:1px solid #e1eaf4;border-radius:0 0 14px 14px;overflow-x:auto}
.mobile-access-table{width:100%;table-layout:fixed;margin:0}
.mobile-access-table th,.mobile-access-table td{vertical-align:middle}
.mobile-access-table th{height:42px;padding:9px 14px;white-space:nowrap}
.mobile-access-table td{height:50px;padding:9px 14px}
.mobile-access-table th:nth-child(1),.mobile-access-table td:nth-child(1){width:13%;text-align:center}
.mobile-access-table th:nth-child(2),.mobile-access-table td:nth-child(2){width:34%;text-align:left}
.mobile-access-table th:nth-child(3),.mobile-access-table td:nth-child(3){width:25%;text-align:left}
.mobile-access-table th:nth-child(4),.mobile-access-table td:nth-child(4){width:14%;text-align:center}
.mobile-access-table th:nth-child(5),.mobile-access-table td:nth-child(5){width:14%;text-align:center}
.mobile-access-table td:nth-child(1)>code{display:inline-flex;align-items:center;justify-content:center;min-width:72px;min-height:25px;padding:3px 9px;border-radius:7px;background:#eef4fa;color:#476681;font-size:12px;line-height:1}
.mobile-access-table td:nth-child(2)>b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#18324f}
.mobile-access-table .access-code-cell{display:inline-flex;align-items:center;gap:7px;max-width:100%}
.mobile-access-table .access-code-cell>code{display:flex;align-items:center;min-width:104px;max-width:190px;height:28px;padding:4px 10px;border-radius:7px;background:#eef4fa;color:#476681;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-access-table .access-code-cell>.icon-btn{width:32px;height:32px;min-width:32px;border-radius:8px}
.mobile-access-table .tag{display:inline-flex;align-items:center;justify-content:center;min-width:58px}
.mobile-access-table .row-actions{display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.mobile-access-table .row-actions .icon-btn{width:34px;height:34px;min-width:34px;border-radius:8px}
@media(max-width:900px){.mobile-access-table{min-width:760px}.mobile-access-table th,.mobile-access-table td{padding-left:11px;padding-right:11px}}

/* Field Attendance: center Access Code column content */
.mobile-access-table th:nth-child(3),
.mobile-access-table td:nth-child(3){text-align:center}
.mobile-access-table td:nth-child(3) .access-code-cell{justify-content:center}
.mobile-access-table td:nth-child(3) .access-code-cell>code{justify-content:center;text-align:center}

/* Field Attendance history */
.field-attendance-log-section{margin:24px 16px 16px;border:1px solid var(--line,#dce7f3);border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 6px 20px rgba(42,79,120,.04)}
.field-attendance-log-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line,#dce7f3);background:linear-gradient(180deg,#fff,#fbfdff)}
.field-attendance-log-head h3{margin:0;font-size:17px;color:var(--text,#203247)}
/* Field Attendance Log: reuse shared HRIS Search and the exact Report Time Range component. */
.field-attendance-log-head{gap:12px;flex-wrap:wrap}
.field-attendance-log-head .field-log-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:1 1 790px;min-width:0;flex-wrap:nowrap}
.field-attendance-log-head .field-log-search{flex:1 1 220px;min-width:150px;max-width:310px;margin:0}
.field-attendance-log-head .field-log-search input{width:100%;min-width:0;height:34px;font-size:11px}
.field-attendance-log-head .field-log-time-range{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);align-items:center;gap:7px;flex:0 1 430px;min-width:355px}
.field-attendance-log-head .field-log-time-range>.legacy-label{align-self:center;white-space:nowrap}
.field-attendance-log-head .field-log-time-range label{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px;margin:0!important}
.field-attendance-log-head .field-log-time-range label small{display:inline;margin:0;white-space:nowrap}
.field-attendance-log-head .field-log-time-range .hris-date-field{width:100%;min-width:0;height:34px}
.field-attendance-log-head .field-log-time-range .hris-date-text{height:34px;min-width:0;font-size:10.5px}
.field-attendance-log-head .field-log-print{flex:0 0 auto;min-height:34px;height:34px;padding:0 13px;white-space:nowrap;font-size:11px}
@media(max-width:1250px){.field-attendance-log-head .field-log-toolbar{flex-basis:100%;justify-content:flex-start}.field-attendance-log-head .field-log-search{max-width:none}}
@media(max-width:760px){.field-attendance-log-head .field-log-toolbar{flex-wrap:wrap}.field-attendance-log-head .field-log-search{flex-basis:100%}.field-attendance-log-head .field-log-time-range{flex:1 1 100%;min-width:0}.field-attendance-log-head .field-log-print{margin-left:auto}}
@media(max-width:430px){.field-attendance-log-head .field-log-time-range{grid-template-columns:1fr 1fr}.field-attendance-log-head .field-log-time-range>.legacy-label{grid-column:1/-1}.field-attendance-log-head .field-log-time-range label{grid-template-columns:1fr;gap:4px}}

.field-attendance-log-head small{display:block;margin-top:4px;color:var(--muted,#718096)}
.field-attendance-log-section .table-wrap{border:0;border-radius:0}
.field-attendance-log-table{table-layout:fixed;width:100%}
.field-attendance-log-table th:nth-child(1){width:16%}.field-attendance-log-table th:nth-child(2){width:15%}.field-attendance-log-table th:nth-child(3){width:17%}.field-attendance-log-table th:nth-child(4){width:12%}.field-attendance-log-table th:nth-child(5){width:40%}
.field-attendance-log-table th:nth-child(2),.field-attendance-log-table td:nth-child(2){text-align:center}.field-attendance-log-table th:nth-child(5){text-align:center}.field-attendance-log-table td:nth-child(5){text-align:left}
.field-attendance-log-table td{vertical-align:middle}
.field-location-detail{display:flex;flex-direction:column;gap:5px;min-width:0;padding:2px 0}
.field-location-address{display:flex;align-items:flex-start;gap:7px;font-weight:700;color:var(--text,#203247);line-height:1.35}
.field-location-address i{color:#2f78cf;margin-top:2px;flex:0 0 auto}
.field-location-address span{white-space:normal;overflow-wrap:break-word;word-break:normal}
.field-location-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--muted,#718096);font-size:11px;line-height:1.35;padding-left:21px}
.field-location-link{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;text-decoration:none;font-weight:700;color:#2f78cf;margin-left:2px}
.field-location-link:hover{text-decoration:underline}
.field-attendance-log-section>.log-pagination{border-top:1px solid var(--line,#dce7f3);padding:10px 14px;background:#fff}
@media(max-width:760px){.field-attendance-log-section{margin:16px 10px 12px}.field-attendance-log-head{padding:14px}.field-attendance-log-table{min-width:1120px}}.field-attendance-log-table{min-width:980px}

/* Field Attendance missed checkout + HRD correction */
.field-checktype-stack{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
/* Field Attendance: secondary actionable hint, not a competing status badge. */
.field-missed-btn{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;border:1px solid transparent;background:#f4f6f4;color:#6d796e;border-radius:999px;padding:3px 7px;font-family:inherit;font-size:9px;line-height:1.3;font-weight:600;white-space:nowrap;box-shadow:none;cursor:pointer;transition:background-color .16s ease,color .16s ease,border-color .16s ease}
.field-missed-btn .pi{font-size:9px;line-height:1;color:#839083}
.field-missed-btn:hover{background:#eaf3eb;color:#227b44;border-color:#cbe6d1}
.field-missed-btn:hover .pi{color:#227b44}
.field-missed-btn:focus-visible{outline:2px solid #2a9e55;outline-offset:2px}
.field-missed-btn:active{background:#dcefe0}
.field-correction-label{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:3px 7px;background:#eef5ff;color:#3970ad;font-size:9px;font-weight:750;white-space:nowrap}

/* Field Attendance: actions use right-click context menu; no Action column */
.mobile-access-table th:nth-child(1),.mobile-access-table td:nth-child(1){width:11%;text-align:center}
.mobile-access-table th:nth-child(2),.mobile-access-table td:nth-child(2){width:25%;text-align:left}
.mobile-access-table th:nth-child(3),.mobile-access-table td:nth-child(3){width:28%;text-align:left}
.mobile-access-table th:nth-child(4),.mobile-access-table td:nth-child(4){width:23%;text-align:center}
.mobile-access-table th:nth-child(5),.mobile-access-table td:nth-child(5){width:13%;text-align:center}
.mobile-access-row{cursor:default}
.mobile-access-context-menu{min-width:210px}

/* Employee table: 7-column layout after adding KODE. Keep Aktif/Nonaktif status visible. */









.modal-card.modal-employee-leaving{width:min(1180px,96vw);max-height:94vh;overflow:auto}
.modal-card.modal-employee-leaving .modal-head{padding:17px 20px;background:linear-gradient(180deg,#fff,#fbfdff)}
.modal-card.modal-employee-leaving .modal-head h3{font-size:16px;color:#263b55}
.employee-leaving-modal{width:100%;padding:18px 20px 20px}
.employee-leaving-modal>.form-grid{grid-template-columns:minmax(300px,1.5fr) minmax(190px,.8fr) minmax(190px,.8fr);gap:14px 16px;padding:0 0 18px;border-bottom:1px solid var(--line2)}
.employee-leaving-modal>.form-grid .span-two{grid-column:1/2}
.employee-leaving-modal>.form-grid label{margin:0;color:#41546d;font-size:11px}
.employee-leaving-modal>.form-grid input,.employee-leaving-modal>.form-grid select{height:42px;background:#fff;border-color:#d9e4ef}
.employee-leaving-modal>.form-grid .modal-actions{grid-column:1/-1;padding-top:2px;margin:0;border:0}
.leaving-category-box{margin-top:16px;padding:15px 16px;border:1px solid #dce7f2;border-radius:12px;background:linear-gradient(180deg,#f8fbff,#f5f9fd)}
.leaving-category-box>b{display:block;font-size:12px;color:#344b65}
.leaving-category-row{display:grid;grid-template-columns:minmax(260px,1fr) 190px auto;gap:10px;margin-top:10px;align-items:center}
.leaving-category-row input,.leaving-category-row select{width:100%;height:40px}
.leaving-list{margin-top:16px;overflow:visible;border:1px solid #dce7f2;border-radius:11px;background:#fff}
.leaving-list table{width:100%;min-width:0;border-collapse:separate;border-spacing:0;table-layout:auto}
.leaving-list th{background:#f5f8fc;color:#61738a;font-size:10px;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap;padding:10px 12px;border-bottom:1px solid #dfe8f2}
.leaving-list td{padding:10px 12px;border-bottom:1px solid #edf2f7;color:#465970;font-size:11px;white-space:nowrap}
.leaving-list tbody tr:last-child td{border-bottom:0}
.employee-leaving-modal>.modal-actions{margin-top:16px;padding-top:14px}
@media(max-width:900px){.modal-card.modal-employee-leaving{width:96vw}.employee-leaving-modal{padding:14px}.employee-leaving-modal>.form-grid{grid-template-columns:1fr 1fr}.employee-leaving-modal>.form-grid .span-two{grid-column:1/-1}.leaving-list{overflow:auto}.leaving-list table{min-width:760px}}
@media(max-width:760px){.employee-leaving-modal{min-width:0}.employee-leaving-modal>.form-grid{grid-template-columns:1fr}.employee-leaving-modal>.form-grid .span-two{grid-column:auto}.leaving-category-row{grid-template-columns:1fr}.legacy-report-actions{flex-wrap:wrap}}
/* Employee Leaving polish: compact history, filtered rows and aligned actions */
.employee-leaving-modal>.form-grid .leaving-save-actions{display:flex;justify-content:flex-end;align-items:flex-end;align-self:end;padding:0;margin:0;border:0;min-height:42px}
.employee-leaving-modal>.form-grid .leaving-save-actions .btn{min-width:118px;height:42px;justify-content:center}
.leaving-list{margin-top:16px}
.leaving-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 2px 0;color:#718096;font-size:11px}
.leaving-pagination .pager{display:flex;align-items:center;gap:5px}
.leaving-pagination .pager .btn{min-width:34px;height:32px;padding:0 9px;justify-content:center}
.employee-leaving-modal>.leaving-close-actions{margin-top:12px;padding-top:12px;justify-content:flex-end}
@media(max-width:760px){.leaving-pagination{align-items:flex-start;flex-direction:column}.employee-leaving-modal>.form-grid .leaving-save-actions{justify-content:stretch}.employee-leaving-modal>.form-grid .leaving-save-actions .btn{width:100%}}
n/* Employee Leaving final visual polish */
.modal-card.modal-employee-leaving{width:min(1160px,95vw);max-height:92vh;border-radius:16px;overflow:auto}
.modal-card.modal-employee-leaving .modal-head{padding:15px 20px;border-bottom:1px solid #e5edf5;background:#fff}
.modal-card.modal-employee-leaving .modal-head h3{font-size:15px;font-weight:700;letter-spacing:-.01em}
.employee-leaving-modal{padding:18px 20px 16px}
.employee-leaving-modal>.form-grid{display:grid;grid-template-columns:minmax(300px,1.45fr) minmax(175px,.75fr) minmax(175px,.75fr) minmax(180px,.8fr);gap:13px 14px;padding:16px;border:1px solid #e1eaf3;border-radius:12px;background:#f9fbfd}
.employee-leaving-modal>.form-grid .span-two{grid-column:auto}
.employee-leaving-modal>.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:700;letter-spacing:.035em;text-transform:uppercase;color:#63758b}
.employee-leaving-modal>.form-grid input,.employee-leaving-modal>.form-grid select{height:40px;border:1px solid #d8e3ee;border-radius:8px;background:#fff;font-size:12px;color:#33475f;padding:0 11px;box-shadow:none}
.employee-leaving-modal>.form-grid input:focus,.employee-leaving-modal>.form-grid select:focus{border-color:#a9c7e7;box-shadow:0 0 0 3px rgba(80,139,196,.08);outline:0}
.employee-leaving-modal>.form-grid label:nth-child(5){grid-column:1/4}
.employee-leaving-modal>.form-grid .leaving-save-actions{grid-column:4/5;display:flex;align-items:flex-end;justify-content:flex-end;align-self:end;min-height:40px;padding:0;margin:0;border:0}
.employee-leaving-modal>.form-grid .leaving-save-actions .btn{height:40px;min-width:126px;border-radius:8px;justify-content:center}
.leaving-list{margin-top:16px;border:1px solid #e1e9f2;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(30,55,80,.025)}
.leaving-list table{width:100%;table-layout:fixed;border-collapse:collapse}
.leaving-list th{height:38px;padding:0 12px;background:#f5f8fb;border-bottom:1px solid #e2eaf2;font-size:9.5px;font-weight:700;color:#687b91;text-align:left}
.leaving-list td{height:40px;padding:8px 12px;border-bottom:1px solid #edf2f6;font-size:11px;color:#42566e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.leaving-list th:nth-child(1){width:19%}.leaving-list th:nth-child(2){width:9%}.leaving-list th:nth-child(3),.leaving-list th:nth-child(4){width:18%}.leaving-list th:nth-child(5){width:16%}.leaving-list th:nth-child(6){width:20%}
.leaving-list tbody tr:hover td{background:#fafcff}
.leaving-pagination{min-height:44px;padding:10px 2px 0;border:0;font-size:10.5px;color:#7a899b}
.leaving-pagination .pager{gap:4px}.leaving-pagination .pager .btn{min-width:31px;height:30px;border-radius:7px;padding:0 8px;font-size:11px}
.employee-leaving-modal>.leaving-close-actions{display:flex;justify-content:flex-end;margin-top:10px;padding-top:10px;border-top:1px solid #edf2f6}
.employee-leaving-modal>.leaving-close-actions .btn{min-width:86px;height:36px;justify-content:center}
@media(max-width:1000px){.employee-leaving-modal>.form-grid{grid-template-columns:1fr 1fr}.employee-leaving-modal>.form-grid label:nth-child(5){grid-column:1/2}.employee-leaving-modal>.form-grid .leaving-save-actions{grid-column:2/3}.leaving-list{overflow:auto}.leaving-list table{min-width:820px}}
@media(max-width:760px){.modal-card.modal-employee-leaving{width:96vw}.employee-leaving-modal{padding:12px}.employee-leaving-modal>.form-grid{grid-template-columns:1fr;padding:12px}.employee-leaving-modal>.form-grid label:nth-child(5),.employee-leaving-modal>.form-grid .leaving-save-actions{grid-column:auto}.employee-leaving-modal>.form-grid .leaving-save-actions .btn{width:100%}.leaving-pagination{flex-direction:column;align-items:flex-start}}

/* Daily Attendance Detail: scheduled workday without attendance */
.attendance-absence-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:700;line-height:1.2;background:#fff1f2;color:#be123c;border:1px solid #fecdd3;white-space:nowrap}

/* Annual Leave / Leave Log */
.annual-leave-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 18px;padding:14px;border:1px solid #e2eaf3;border-radius:12px;background:#f8fbfe}.annual-leave-toolbar label{display:grid;gap:6px}.annual-leave-toolbar label>span{font-size:11px;font-weight:700;color:#60758b}.annual-leave-toolbar input{height:38px;min-width:120px;border:1px solid #cfdae6;border-radius:9px;padding:0 10px}.annual-leave-quota-input{display:flex;align-items:center;gap:7px}.annual-leave-quota-input em{font-style:normal;font-size:12px;color:#6b7d90}.leave-log-history{margin-top:24px}.leave-log-history h3{font-size:14px;margin:0 0 12px}@media(max-width:700px){.annual-leave-toolbar{display:grid}.annual-leave-toolbar label,.annual-leave-toolbar input,.annual-leave-toolbar .btn{width:100%}}

/* Leave Log */
.annual-leave-panel{overflow:hidden}.annual-leave-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;border-bottom:1px solid #e5edf5}.annual-leave-head h2{margin:0;font-size:18px;color:#14263d}.annual-leave-head p{margin:5px 0 0;font-size:12px;color:#718399}.annual-leave-year{display:flex;align-items:center;gap:10px}.annual-leave-year>span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#8393a6}.annual-leave-year-select{height:38px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #d8e3ef;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(25,66,108,.04)}.annual-leave-year-select>i:first-child{color:#347bd1}.annual-leave-year-select>i:last-child{font-size:9px;color:#7c8da0}.annual-leave-year-select select{appearance:none;border:0;outline:0;background:transparent;font:700 13px inherit;color:#233a54;padding:0 14px 0 0;cursor:pointer}.annual-leave-setting{display:grid;grid-template-columns:auto minmax(240px,1fr) minmax(300px,420px) auto;align-items:center;gap:14px;margin:18px 22px;padding:15px 16px;border:1px solid #dce8f5;border-radius:13px;background:linear-gradient(180deg,#f9fcff 0%,#f4f9fe 100%)}.annual-leave-setting-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#e8f2ff;color:#2e78d0;font-size:16px}.annual-leave-setting-copy{display:grid;gap:3px}.annual-leave-setting-copy b{font-size:13px;color:#213850}.annual-leave-setting-copy small{font-size:11px;color:#75879b}.annual-leave-quota-field{height:40px;display:flex;align-items:center;border:1px solid #cfdeed;border-radius:10px;background:#fff;overflow:hidden}.annual-leave-quota-field input{width:100%;height:100%;min-width:0;border:0;outline:0;padding:0 12px;font-weight:700;background:transparent}.annual-leave-quota-field span{padding:0 11px;border-left:1px solid #e2eaf2;font-size:11px;color:#708196}.annual-leave-apply{height:40px;white-space:nowrap;align-self:end}.annual-leave-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px 10px}.annual-leave-section-title>div:first-child{display:grid;gap:2px}.annual-leave-section-title b{font-size:13px;color:#1e344d}.annual-leave-section-title small{font-size:10px;color:#8292a5}.annual-leave-section-title>span{font-size:10px;font-weight:700;color:#62778d;background:#f1f5f9;padding:5px 8px;border-radius:999px}.annual-leave-table-wrap{border-top:1px solid #e6edf4}.annual-leave-table td:nth-child(2),.annual-leave-history-table td:nth-child(3){text-align:left}.annual-leave-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef5fc;color:#416888;font-size:10px;font-weight:700}.annual-leave-balance{display:inline-flex;min-width:64px;justify-content:center;padding:5px 9px;border-radius:999px;background:#eaf7ef;color:#28794a;font-size:10px;font-weight:800}.leave-log-history{margin-top:18px;padding-top:10px;border-top:1px solid #e5edf5}.annual-leave-empty{min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#8a9aae}.annual-leave-empty i{font-size:20px;color:#b1bfce}.annual-leave-empty b{font-size:12px;color:#61758a}.annual-leave-empty span{font-size:10px}.annual-leave-empty.compact{min-height:90px}
@media(max-width:800px){.annual-leave-head{align-items:flex-start;flex-direction:column}.annual-leave-year{width:100%;justify-content:space-between}.annual-leave-setting{grid-template-columns:auto 1fr}.annual-leave-quota-field{grid-column:1/-1}.annual-leave-apply{grid-column:1/-1;width:100%}}

/* =========================================================
   HRIS PRIMEVUE COLORFUL stronger visual hierarchy
   30 Sep 2026 | visual only
   ========================================================= */
:root{
 --pv-indigo:#5b5bd6;--pv-purple:#8b5cf6;--pv-cyan:#0891b2;--pv-teal:#0f9f8f;
 --pv-emerald:#18a66f;--pv-amber:#e49a22;--pv-orange:#e77732;--pv-rose:#df5f7d;
}
body{background:linear-gradient(135deg,#eef6ff 0%,#f7f4ff 42%,#effaf8 100%) fixed!important}
.workspace{background:linear-gradient(180deg,rgba(248,251,255,.56),rgba(243,248,253,.34))!important}

/* Keep exactly ONE title marker: reuse the baseline marker, never add a second one. */
.workspace-head>div:first-child{padding-left:16px!important}
.workspace-head>div:first-child:before{width:5px!important;top:2px!important;bottom:2px!important;background:linear-gradient(180deg,#3478e5 0%,#7357df 48%,#12a8a0 100%)!important;box-shadow:0 3px 10px rgba(79,94,211,.20)!important}
.workspace-head h1:before{content:none!important;display:none!important}
.workspace-head h1{color:#18284a!important}

/* Top navigation */
.brand{background:linear-gradient(135deg,#eef6ff 0%,#f5f1ff 100%)!important}
.brand:after{background:linear-gradient(90deg,#3478e5,#8b5cf6,#13a89d,transparent)!important;height:3px!important}
.brand .brand-mark{background:linear-gradient(145deg,#3478e5,#6855d9)!important}
.menu-bar button:nth-child(1):hover{background:#eaf4ff!important;color:#2369c9!important}
.menu-bar button:nth-child(2):hover{background:#f1edff!important;color:#704ed0!important}
.menu-bar button:nth-child(3):hover{background:#fff3e5!important;color:#b76d19!important}
.menu-bar button:nth-child(4):hover{background:#e8faf6!important;color:#0b887c!important}
.userbox .avatar{background:linear-gradient(145deg,#e8f2ff,#efe9ff)!important;color:#5d55ca!important}

/* Sidebar: rich blue base + a different semantic accent for every group */
.sidebar{background:linear-gradient(180deg,#2468b8 0%,#235fa5 48%,#1d518e 100%)!important;border-right-color:#194b84!important;box-shadow:8px 0 28px rgba(24,67,113,.13)!important}
.nav-section{background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.13)!important;box-shadow:none!important;backdrop-filter:blur(4px)}
.nav-section>span{color:#cfe2fa!important}
.nav-section:nth-of-type(1){--nav-accent:#5de0b4;--nav-soft:rgba(93,224,180,.18)}
.nav-section:nth-of-type(2){--nav-accent:#b99cff;--nav-soft:rgba(185,156,255,.18)}
.nav-section:nth-of-type(3){--nav-accent:#ffc76b;--nav-soft:rgba(255,199,107,.18)}
.nav-section:nth-of-type(4){--nav-accent:#ff8fac;--nav-soft:rgba(255,143,172,.18)}
.nav-section:nth-of-type(5){--nav-accent:#66d8f2;--nav-soft:rgba(102,216,242,.18)}
.nav-section>span:before{background:var(--nav-accent,#7fc9ff)!important;box-shadow:0 0 0 4px var(--nav-soft,rgba(127,201,255,.16))!important}
.nav-section button{color:#edf6ff!important}
.nav-section button i{background:rgba(255,255,255,.10)!important;color:#d9ebff!important}
.nav-section button:hover{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.13)!important;color:#fff!important}
.nav-section button:hover i{background:var(--nav-soft)!important;color:var(--nav-accent)!important}
.nav-section button.active{background:linear-gradient(90deg,var(--nav-soft),rgba(255,255,255,.12))!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important;box-shadow:none!important}
.nav-section button.active i{background:var(--nav-soft)!important;color:var(--nav-accent)!important;box-shadow:none!important}
.sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22)!important}

/* Main cards: clearly separated, not a sea of white */
.panel,.toolbar-card,.report-hero{border-color:#d6e3ef!important;box-shadow:0 10px 28px rgba(35,69,112,.075)!important}
.toolbar-card{position:relative;background:linear-gradient(120deg,#f4f9ff 0%,#fbf9ff 50%,#f4fcfa 100%)!important;border-top:3px solid #5575df!important}
.panel{background:rgba(255,255,255,.96)!important}
.panel-head{background:linear-gradient(90deg,#f3f8ff 0%,#f8f5ff 50%,#f1faf8 100%)!important}
.panel-head h2,.panel-head h3{color:#20365c!important}

/* Machine toolbar: every action has a visible family colour */
.action-tile{background:#fff!important;box-shadow:0 3px 10px rgba(34,70,111,.04)!important}
.action-tile:nth-child(7n/**/+1){border-color:#cfe1fb!important;background:linear-gradient(145deg,#eef6ff,#fff)!important}.action-tile:nth-child(7n/**/+1)>i{background:#deedff!important;color:#2871d2!important}
.action-tile:nth-child(7n/**/+2){border-color:#c9ece5!important;background:linear-gradient(145deg,#ebfaf6,#fff)!important}.action-tile:nth-child(7n/**/+2)>i{background:#d9f5ee!important;color:#0c9583!important}
.action-tile:nth-child(7n/**/+3){border-color:#dfd5fa!important;background:linear-gradient(145deg,#f4efff,#fff)!important}.action-tile:nth-child(7n/**/+3)>i{background:#e9e0ff!important;color:#7653d5!important}
.action-tile:nth-child(7n/**/+4){border-color:#f4dfbd!important;background:linear-gradient(145deg,#fff6e8,#fff)!important}.action-tile:nth-child(7n/**/+4)>i{background:#ffebc9!important;color:#c47717!important}
.action-tile:nth-child(7n/**/+5){border-color:#cae7f1!important;background:linear-gradient(145deg,#edfaff,#fff)!important}.action-tile:nth-child(7n/**/+5)>i{background:#dff5fb!important;color:#0b8eaa!important}
.action-tile:nth-child(7n/**/+6){border-color:#d8e1f7!important;background:linear-gradient(145deg,#f1f4ff,#fff)!important}.action-tile:nth-child(7n/**/+6)>i{background:#e4e9ff!important;color:#536bd0!important}
.action-tile:nth-child(7n){border-color:#f2cfda!important;background:linear-gradient(145deg,#fff1f5,#fff)!important}.action-tile:nth-child(7n)>i{background:#ffe1e9!important;color:#d45473!important}
.action-tile:hover:not(:disabled){transform:translateY(-2px)!important;box-shadow:0 9px 20px rgba(45,83,127,.11)!important}

/* Secondary toolbar buttons also carry colour */
.toolbar-secondary .btn:nth-child(1){background:#eef7ff!important;border-color:#cfe2f5!important;color:#316da9!important}
.toolbar-secondary .btn:nth-child(2){background:#f1efff!important;border-color:#ddd6f8!important;color:#6758bd!important}
.toolbar-secondary .btn:nth-child(3){background:#edf9f7!important;border-color:#cceae5!important;color:#198a7e!important}
.toolbar-secondary .btn:nth-child(4){background:#fff5e7!important;border-color:#f1ddbc!important;color:#ae6c1e!important}
.toolbar-secondary .btn:nth-child(5){background:#fff0f4!important;border-color:#f1d2da!important;color:#c7526d!important}

/* Table identity: coloured header band, alternating rows remain calm */
.data-table thead th{background:linear-gradient(180deg,#eaf2fb,#e3edf8)!important;color:#355274!important;border-bottom-color:#cbdbea!important}
.data-table thead th:first-child{box-shadow:inset 0 3px #3b82df}
.data-table tbody tr:nth-child(even):not(.machine-row) td{background:#f8fbff!important}
.data-table tbody tr:hover td{background:#edf6ff!important}
.machine-log-panel{border-top:3px solid #12a395!important}
.machine-log-panel .panel-head{background:linear-gradient(90deg,#effaf8,#f4fbff)!important}
.machine-log-panel .data-table thead th{background:linear-gradient(180deg,#eaf7f5,#e4f2f2)!important;color:#315e64!important}
.machine-log-panel .data-table thead th:first-child{box-shadow:inset 0 3px #14a293}

/* PrimeVue-like controls */
.btn.primary{background:linear-gradient(135deg,#347ee0,#5b5bd6)!important;border-color:#3d6fd3!important;box-shadow:0 7px 16px rgba(66,91,202,.20)!important}
.btn.ghost:hover:not(:disabled),.btn.soft:hover:not(:disabled){background:#edf5ff!important;border-color:#bfd8f1!important;color:#286bc1!important}
.icon-btn:hover{background:#f1edff!important;border-color:#d8cff5!important;color:#6c50c9!important}
input:focus,select:focus{border-color:#667fe1!important;box-shadow:0 0 0 3px rgba(91,91,214,.10)!important}
.pager-number.active{background:linear-gradient(135deg,#347ee0,#6558d4)!important;border-color:#5064ce!important;color:#fff!important}

/* More expressive status chips */
.status-dot.online,.tag.success,.tag.active{color:#0b8d65!important}
.tag,.badge,.status-badge{box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}

/* Reports / schedules / database inherit module accents */
.report-panel{border-top:3px solid #8b5cf6!important}
.report-panel .report-tabs{background:linear-gradient(90deg,#f4f1ff,#f5f9ff)!important}
.report-panel .report-tabs button.active{background:linear-gradient(180deg,#eee8ff,#f5f1ff)!important;border-color:#d4c8f6!important;color:#6847c7!important;box-shadow:inset 0 -2px 0 #8058df!important}
.report-hero{background:linear-gradient(120deg,#eaf4ff 0%,#f5efff 48%,#eafaf6 100%)!important;border-top:3px solid #7559dc!important}
.schedule-panel{border-top:3px solid #e7a12a!important}
.database-panel{border-top:3px solid #df647f!important}

/* Modal and toast feel less flat */
.modal-card{border-top:4px solid #5c69d9!important;box-shadow:0 26px 70px rgba(30,54,88,.22)!important}
.modal-head{background:linear-gradient(90deg,#eef6ff,#f5f0ff)!important}
.toast{border-left:4px solid #4c82da!important}
.toast.success{border-left-color:#18a66f!important}.toast.error{border-left-color:#df5f7d!important}

@media(max-width:760px){
 body{background:#f3f7fc!important}.sidebar{background:linear-gradient(180deg,#2468b8,#1d518e)!important}
 .workspace-head>div:first-child:before{width:4px!important}
}

/* Field Attendance: current/previous month filter */
.field-log-month-filter{position:relative;display:flex;align-items:center;min-width:190px}
.field-log-month-filter>i:first-child{position:absolute;left:12px;z-index:1;color:#6d5bd0;font-size:13px;pointer-events:none}
.field-log-month-filter>i:last-child{position:absolute;right:11px;color:#8190a5;font-size:10px;pointer-events:none}
.field-log-month-filter select{width:100%;height:38px;padding:0 32px 0 34px;appearance:none;border:1px solid #d9d5f5;background:linear-gradient(180deg,#fff,#f8f7ff);color:#40366f;font-size:11px;font-weight:750;border-radius:10px;box-shadow:0 4px 12px rgba(94,74,180,.07)}
.field-log-month-filter select:hover{border-color:#bdb4ee;background:#f7f5ff}
.field-log-month-filter select:focus{border-color:#9e91e4;box-shadow:0 0 0 3px rgba(109,91,208,.10)}
@media(max-width:720px){.field-attendance-log-head{align-items:flex-start;gap:12px;flex-direction:column}.field-log-month-filter{width:100%;min-width:0}.field-log-month-filter select{width:100%}}
nn/* Shift Exception — compact legacy attendance layout */n.report-panel .report-tabs.shift-exception-tabs{padding:5px 8px!important;gap:3px!important}n.report-panel .report-tabs.shift-exception-tabs button{padding:5px 8px!important;font-size:9px!important;min-height:27px!important;border-radius:5px!important}n.legacy-report-table.shift-exception-table{min-width:1120px!important;width:100%!important;table-layout:auto!important}n.legacy-report-table.shift-exception-table thead th{font-size:8.2px!important;padding:5px 5px!important;letter-spacing:0!important;line-height:1.15!important}n.legacy-report-table.shift-exception-table tbody td{font-size:9px!important;padding:5px 5px!important;line-height:1.2!important}n.legacy-report-table.shift-exception-table th,.legacy-report-table.shift-exception-table td{white-space:nowrap!important}n.legacy-report-table.shift-exception-table th:nth-child(1),.legacy-report-table.shift-exception-table td:nth-child(1){width:34px!important;min-width:34px!important;text-align:center}n.legacy-report-table.shift-exception-table th:nth-child(2),.legacy-report-table.shift-exception-table td:nth-child(2){width:55px!important;min-width:55px!important}n.legacy-report-table.shift-exception-table th:nth-child(3),.legacy-report-table.shift-exception-table td:nth-child(3){min-width:125px!important;max-width:165px!important;overflow:hidden;text-overflow:ellipsis}n.legacy-report-table.shift-exception-table th:nth-child(4),.legacy-report-table.shift-exception-table td:nth-child(4){width:76px!important;min-width:76px!important}n.legacy-report-table.shift-exception-table th:nth-child(n/**/+6):nth-child(-n/**/+14),.legacy-report-table.shift-exception-table td:nth-child(n/**/+6):nth-child(-n/**/+14){width:58px!important;min-width:52px!important;text-align:center}n.legacy-report-table.shift-exception-table th:nth-child(15),.legacy-report-table.shift-exception-table td:nth-child(15){width:78px!important;min-width:70px!important;text-align:center}n.legacy-report-table.shift-exception-table th:last-child,.legacy-report-table.shift-exception-table td:last-child{min-width:115px!important;max-width:150px!important;overflow:hidden;text-overflow:ellipsis}n.legacy-report-table.shift-exception-table .report-row-number{font-variant-numeric:tabular-nums}n
/* Shift Exception readability polish — preserve full values, scroll horizontally like legacy grid */
.report-panel .legacy-report-table-wrap{overflow-x:auto!important;overflow-y:visible!important;scrollbar-gutter:stable!important}
.legacy-report-table.shift-exception-table{min-width:1560px!important;width:max-content!important;table-layout:fixed!important}
.legacy-report-table.shift-exception-table thead th{font-size:8.5px!important;padding:5px 6px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.legacy-report-table.shift-exception-table tbody td{font-size:9px!important;padding:5px 6px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
/* NO */
.legacy-report-table.shift-exception-table th:nth-child(1),.legacy-report-table.shift-exception-table td:nth-child(1){width:38px!important;min-width:38px!important}
/* employee no */
.legacy-report-table.shift-exception-table th:nth-child(2),.legacy-report-table.shift-exception-table td:nth-child(2){width:82px!important;min-width:82px!important}
/* name */
.legacy-report-table.shift-exception-table th:nth-child(3),.legacy-report-table.shift-exception-table td:nth-child(3){width:170px!important;min-width:170px!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important}
/* date */
.legacy-report-table.shift-exception-table th:nth-child(4),.legacy-report-table.shift-exception-table td:nth-child(4){width:92px!important;min-width:92px!important}
/* timetable */
.legacy-report-table.shift-exception-table th:nth-child(5),.legacy-report-table.shift-exception-table td:nth-child(5){width:120px!important;min-width:120px!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important}
/* on/off duty, clock in/out, real time, late, early, absent, OT */
.legacy-report-table.shift-exception-table th:nth-child(n/**/+6):nth-child(-n/**/+14),.legacy-report-table.shift-exception-table td:nth-child(n/**/+6):nth-child(-n/**/+14){width:72px!important;min-width:72px!important;text-align:center!important}
/* exception */
.legacy-report-table.shift-exception-table th:nth-child(15),.legacy-report-table.shift-exception-table td:nth-child(15){width:150px!important;min-width:150px!important;max-width:none!important;text-align:left!important;overflow:visible!important;text-overflow:clip!important}
/* department */
.legacy-report-table.shift-exception-table th:nth-child(16),.legacy-report-table.shift-exception-table td:nth-child(16){width:190px!important;min-width:190px!important;max-width:none!important;text-align:left!important;overflow:visible!important;text-overflow:clip!important}

/* Shift Exception — content-sized columns, never truncate values */
.legacy-report-table-wrap:has(.shift-exception-table){overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch}
.legacy-report-table.shift-exception-table{
  width:max-content!important;
  min-width:100%!important;
  table-layout:auto!important;
  border-collapse:collapse!important;
}
.legacy-report-table.shift-exception-table th,
.legacy-report-table.shift-exception-table td{
  width:auto!important;
  min-width:max-content!important;
  max-width:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.legacy-report-table.shift-exception-table thead th{padding:6px 10px!important}
.legacy-report-table.shift-exception-table tbody td{padding:6px 10px!important}
/* Keep only the visual row number compact; all data columns size from their longest visible content. */
.legacy-report-table.shift-exception-table th.report-row-number,
.legacy-report-table.shift-exception-table td.report-row-number{
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  text-align:center!important;
}

/* Shift Exception final sizing: normal readable size + full content + horizontal scroll */
.legacy-report-table-wrap:has(.shift-exception-table){
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable!important;
}
.legacy-report-table.shift-exception-table{
  width:max-content!important;
  min-width:100%!important;
  table-layout:auto!important;
}
.legacy-report-table.shift-exception-table thead th{
  font-size:9.5px!important;
  padding:8px 9px!important;
  line-height:1.3!important;
}
.legacy-report-table.shift-exception-table tbody td{
  font-size:10.5px!important;
  padding:7px 9px!important;
  line-height:1.32!important;
}
.legacy-report-table.shift-exception-table th,
.legacy-report-table.shift-exception-table td{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.legacy-report-table.shift-exception-table th.report-row-number,
.legacy-report-table.shift-exception-table td.report-row-number{
  width:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  text-align:center!important;
}

/* Shift Exception readability larger typography, full values, horizontal scroll */
.legacy-report-table.shift-exception-table thead th{
  font-size:11.5px!important;
  padding:9px 12px!important;
  line-height:1.35!important;
  font-weight:800!important;
}
.legacy-report-table.shift-exception-table tbody td{
  font-size:12.5px!important;
  padding:9px 12px!important;
  line-height:1.38!important;
}
.legacy-report-table.shift-exception-table th,
.legacy-report-table.shift-exception-table td{
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  max-width:none!important;
}
.legacy-report-table-wrap:has(.shift-exception-table){overflow-x:auto!important;scrollbar-gutter:stable!important}

/* Shift Exception edit mirrors the report fields while protecting calculated/schedule values. */
.shift-exception-edit-form{grid-template-columns:1fr 1fr!important}
.shift-exception-edit-form label{min-width:0}
.shift-exception-edit-form input[readonly]{background:#f4f7fb!important;color:#60728a!important;border-color:#e1e8f0!important;cursor:default}
.shift-exception-edit-form .attendance-edit-identity{margin-bottom:8px!important}

/* Report category tabs — clear hover / active interaction */
.report-panel .report-tabs button{
  position:relative;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.report-panel .report-tabs button:not(.active):hover{
  background:linear-gradient(180deg,#e7efff,#f1edff)!important;
  border-color:#b9c9ef!important;
  color:#4f46b8!important;
  box-shadow:0 5px 13px rgba(76,74,175,.13),inset 0 -2px 0 #8b72df!important;
  transform:translateY(-1px)!important;
}
.report-panel .report-tabs button:not(.active):hover::after{
  content:"";
  position:absolute;
  left:9px;right:9px;bottom:2px;height:2px;
  border-radius:99px;
  background:linear-gradient(90deg,#4d83dd,#8b5cf6);
}
.report-panel .report-tabs button.active{
  cursor:default;
}
/* Keep the Shift Exception compact tab sizing, but use the same strong hover state. */
.report-panel .report-tabs.shift-exception-tabs button:not(.active):hover{
  background:linear-gradient(180deg,#e7efff,#f1edff)!important;
  border-color:#b9c9ef!important;
  color:#4f46b8!important;
  box-shadow:0 4px 10px rgba(76,74,175,.13),inset 0 -2px 0 #8b72df!important;
}

.annual-leave-group-quota{display:grid;grid-template-columns:1fr 1fr;gap:10px}.annual-leave-group-quota label{display:grid;gap:5px}.annual-leave-group-quota label>span{font-size:10px;font-weight:800;color:#60758b;text-transform:uppercase;letter-spacing:.03em}.annual-leave-group{display:inline-flex;justify-content:center;min-width:92px;padding:4px 8px;border-radius:999px;background:#f3f6fa;color:#536b82;font-size:10px;font-weight:800}.annual-leave-group.uml-dbp{background:#edf3ff;color:#345f9c}@media(max-width:800px){.annual-leave-group-quota{grid-column:1/-1;width:100%}}@media(max-width:520px){.annual-leave-group-quota{grid-template-columns:1fr}}

/* Shift Exception export chooser — CSV existing + XLSX legacy-detail */
.report-export-menu{position:relative;display:inline-block}
.report-export-menu>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:7px;user-select:none}
.report-export-menu>summary::-webkit-details-marker{display:none}
.report-export-menu>summary.disabled{opacity:.55;cursor:not-allowed}
.report-export-chevron{font-size:10px;margin-left:1px;transition:transform .16s ease}
.report-export-menu[open] .report-export-chevron{transform:rotate(180deg)}
.report-export-options{position:absolute;right:0;top:calc(100% + 8px);z-index:70;width:270px;padding:7px;background:#fff;border:1px solid #d9e3ef;border-radius:11px;box-shadow:0 14px 34px rgba(34,55,86,.16)}
.report-export-options:before{content:"";position:absolute;right:20px;top:-5px;width:9px;height:9px;background:#fff;border-left:1px solid #d9e3ef;border-top:1px solid #d9e3ef;transform:rotate(45deg)}
.report-export-options button{position:relative;width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:8px;padding:9px 10px;text-align:left;color:#20324d;cursor:pointer}
.report-export-options button:hover{background:#f2f7ff}
.report-export-options button:disabled{opacity:.55;cursor:not-allowed}
.report-export-options button+button{margin-top:3px}
.report-export-options button>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.report-export-options button b{font-size:11px;line-height:1.2}
.report-export-options button small{font-size:9px;color:#74849a;line-height:1.25;white-space:nowrap}
.report-export-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;height:28px;border-radius:7px;background:#eef4fb;color:#46627f;font-size:8px;font-weight:800;letter-spacing:.2px}
.report-export-icon.xlsx{background:#eaf7ef;color:#27784c}
@media(max-width:760px){.report-export-options{right:auto;left:0;width:250px}.report-export-options:before{right:auto;left:20px}}

/* One soft, compact loader shared by initial loading, app boot, and global navigation. */
.hris-loading-overlay{position:fixed;inset:0;z-index:150;display:grid;place-items:center;width:100vw;height:100vh;height:100dvh;padding:16px;margin:0;background:rgba(246,251,248,.91);pointer-events:auto;box-sizing:border-box}
#hris-refresh-mask{z-index:2147483000;background:#f6faf7}
.boot.hris-loading-overlay{min-height:0;background:#f6faf7!important}
.hris-loading-card{width:max-content;max-width:calc(100vw - 32px);min-height:0;display:flex;align-items:center;gap:10px;padding:10px 15px 10px 11px;border:1px solid rgba(206,229,215,.67);border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f8fcf9 100%);box-shadow:0 12px 34px rgba(36,91,58,.075),0 2px 7px rgba(30,71,48,.035);box-sizing:border-box}
.hris-loading-mark{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border:0;border-radius:12px;background:linear-gradient(145deg,#e9f7ed 0%,#f4fbf6 100%)}
.hris-loading-mark img{display:block;width:26px;height:26px;object-fit:contain}
.hris-loading-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;gap:6px}
.hris-loading-title{display:block;font-size:12.5px;font-weight:750;line-height:1.2;letter-spacing:-.018em;color:#234c3b;white-space:nowrap}
.hris-loading-dots{display:flex;align-items:center;gap:5px;height:6px}
.hris-loading-dots i{display:block;width:4px;height:4px;flex:0 0 4px;border-radius:50%;background:#21a774;opacity:.33;animation:hris-loader-dot 1.25s ease-in-out infinite}
.hris-loading-dots i:nth-child(2){animation-delay:.17s}
.hris-loading-dots i:nth-child(3){animation-delay:.34s}
@keyframes hris-loader-dot{0%,65%,100%{opacity:.25;transform:translateY(0) scale(.92)}35%{opacity:.95;transform:translateY(-1.5px) scale(1.15)}}
#hris-refresh-mask.hris-refresh-exit{opacity:0;pointer-events:none;transition:opacity .14s ease}
.global-loading-fade-enter-active,.global-loading-fade-leave-active{transition:opacity .12s ease}
.global-loading-fade-enter-from,.global-loading-fade-leave-to{opacity:0}
@media(prefers-reduced-motion:reduce){.hris-loading-dots i{animation:none;opacity:.65}}

.birthday-wrap{position:relative;display:flex;align-items:center}.birthday-btn{position:relative}.birthday-cake{font-size:17px;line-height:1;filter:saturate(.9)}.birthday-badge{position:absolute;right:-5px;top:-6px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#d95363;color:#fff;border:2px solid #fff;font-size:8px;font-weight:800;line-height:1}.birthday-popover{position:absolute;z-index:70;right:-6px;top:44px;width:min(390px,calc(100vw - 28px));max-height:430px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 18px 46px rgba(35,62,94,.2);overflow:hidden}.birthday-popover:before{content:"";position:absolute;right:16px;top:-7px;width:12px;height:12px;background:#fff;border-left:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}.birthday-popover-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 12px;border-bottom:1px solid var(--line2);background:#fff}.birthday-popover-head b,.birthday-popover-head small{display:block}.birthday-popover-head b{font-size:13px;color:#26384e}.birthday-popover-head small{margin-top:3px;font-size:10px;color:var(--muted)}.birthday-close{width:29px;height:29px}.birthday-list{max-height:365px;overflow:auto;padding:6px}.birthday-item{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 9px;border-radius:10px}.birthday-item:hover{background:#f6f9fc}.birthday-mini-cake{width:32px;height:32px;border-radius:9px;background:#fff3f5;display:grid;place-items:center;font-size:15px}.birthday-person{min-width:0}.birthday-person b,.birthday-person small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.birthday-person b{font-size:11.5px;color:#31445d}.birthday-person small{margin-top:3px;font-size:9.5px;color:var(--muted)}.birthday-item time{font-size:10px;font-weight:750;color:#b04c63;white-space:nowrap;background:#fff2f5;border:1px solid #f4dce2;border-radius:8px;padding:6px 7px}.birthday-empty{padding:30px 18px;text-align:center;color:var(--muted)}.birthday-empty span{display:block;font-size:26px;margin-bottom:8px}.birthday-empty b,.birthday-empty small{display:block}.birthday-empty b{font-size:12px;color:#526177}.birthday-empty small{font-size:10px;margin-top:4px;line-height:1.5}@media(max-width:700px){.birthday-popover{position:fixed;right:12px;left:12px;top:60px;width:auto}.birthday-popover:before{display:none}.userbox>div:not(.birthday-wrap):not(.avatar){display:none}}

/* Birthday topbar refinement */
.topbar{grid-template-columns:var(--sidebar) 1fr auto auto}
.topbar-birthday{height:100%;display:flex;align-items:center;justify-content:center;padding:0 8px 0 14px}.topbar-birthday .birthday-wrap{position:relative;display:flex;align-items:center}.birthday-avatar-btn{position:relative;border:0;padding:0;cursor:pointer;transition:.15s}.birthday-avatar-btn:hover{background:#dfeeff;color:var(--blue2)}.birthday-avatar-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(47,115,218,.16)}.birthday-avatar-icon,.birthday-mini-cake-icon,.birthday-empty-icon{display:inline-grid;place-items:center}.birthday-avatar-icon svg,.birthday-mini-cake-icon svg,.birthday-empty-icon svg{width:18px;height:18px;display:block;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.birthday-mini-cake{color:#b04c63}.birthday-mini-cake-icon svg{width:16px;height:16px}.birthday-empty{padding:30px 18px;text-align:center;color:var(--muted)}.birthday-empty-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 8px;border-radius:14px;background:#fff3f5;color:#b04c63}.birthday-empty-icon svg{width:22px;height:22px}.birthday-cake{display:none}.birthday-popover{right:auto;left:0}.userbox{padding-left:16px}.birthday-badge{right:-5px;top:-4px}@media(max-width:700px){.topbar{grid-template-columns:auto 1fr auto auto}.topbar-birthday{padding:0 6px 0 2px}.birthday-popover{position:fixed;right:12px;left:12px;top:60px;width:auto}.birthday-popover:before{display:none}}

/* Birthday popup date + click-away polish */
.birthday-item{grid-template-columns:32px minmax(0,1fr)}
.birthday-date{display:inline-flex;margin-top:5px;font-size:10px;font-weight:750;color:#4d6280;background:#f3f7fb;border:1px solid #e1e9f1;border-radius:7px;padding:4px 7px;line-height:1.15}
.birthday-item time{display:none}

/* Keep birthday popup scrolling isolated from the page */
.birthday-popover{overscroll-behavior:contain}
.birthday-list{overscroll-behavior:contain;scrollbar-gutter:stable}

/* Birthday popup native scroll fix */
.birthday-popover{overscroll-behavior-y:contain;touch-action:pan-y}
.birthday-list{max-height:365px;overflow-y:auto!important;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}

/* Birthday popup scroll layout - canonical fix */
.birthday-popover{display:flex;flex-direction:column;max-height:min(430px,calc(100vh - 84px));overflow:hidden!important;overscroll-behavior:contain}
.birthday-popover-head{flex:0 0 auto}
.birthday-list{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.birthday-list::-webkit-scrollbar{width:8px}
.birthday-list::-webkit-scrollbar-thumb{background:#cbd7e4;border-radius:8px;border:2px solid #fff}
.birthday-list::-webkit-scrollbar-track{background:transparent}
@media(max-width:700px){.birthday-popover{max-height:calc(100vh - 78px)}}

/* Birthday list guaranteed wheel scrolling */
.birthday-popover{display:block!important;max-height:none!important;overflow:visible!important}
.birthday-popover-head{position:relative;z-index:2}
.birthday-list{display:block!important;height:auto!important;max-height:320px!important;overflow-y:scroll!important;overflow-x:hidden!important;overscroll-behavior:contain!important;touch-action:pan-y!important;pointer-events:auto!important;scrollbar-gutter:stable!important}
@media(max-width:700px){.birthday-list{max-height:calc(100vh - 145px)!important}}

/* Final birthday scroll fix: inner list scrolls; page scroll stays isolated */
.birthday-popover{display:flex!important;flex-direction:column!important;max-height:min(430px,calc(100vh - 84px))!important;overflow:hidden!important}
.birthday-popover-head{flex:0 0 auto!important}
.birthday-list{display:block!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:360px!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;pointer-events:auto!important}
@media(max-width:700px){.birthday-popover{max-height:calc(100vh - 78px)!important}.birthday-list{max-height:calc(100vh - 145px)!important}}

/* Leave Log history/saldo controls */
.leave-log-section-block{margin-top:18px}.leave-log-history.leave-log-section-block{margin-top:22px}.annual-leave-toolbar-title{gap:14px;align-items:flex-end;flex-wrap:wrap}.annual-leave-table-tools{margin-left:auto}.annual-leave-count{display:inline-flex;align-items:center;height:30px;padding:0 9px;border-radius:8px;background:#f3f7fb;color:#66778c;font-size:10px;font-weight:750}.annual-leave-pagination{margin-top:10px}.annual-leave-history-wrap{max-height:none;overflow:auto}.annual-leave-history-table td:first-child{white-space:nowrap}.annual-leave-table-wrap{max-height:none;overflow:auto}
@media(max-width:700px){.annual-leave-toolbar-title{align-items:stretch}.annual-leave-table-tools{width:100%;margin-left:0;justify-content:flex-start}.annual-leave-count{margin-left:auto}}




/* Leave Center — unified Leave Log / Izin-Cuti / Holiday */
.leave-center-panel{overflow:hidden}
.leave-center-head{border-bottom:0}
.leave-center-tabs{padding:8px 22px 10px;background:#fbfdff;border-top:1px solid #edf2f7;border-bottom:1px solid #e3ebf4}
.leave-center-tabs button{min-width:120px}
.leave-center-entry-card{margin:18px 22px 0;padding:16px;border:1px solid #dce8f5;border-radius:13px;background:linear-gradient(180deg,#fbfdff,#f7faff)}
.leave-center-entry-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.leave-center-entry-head b,.leave-center-entry-head small{display:block}
.leave-center-entry-head b{font-size:13px;color:#213850}
.leave-center-entry-head small{margin-top:3px;font-size:10px;color:#7b8c9f}
.leave-center-entry-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 12px}
.leave-center-entry-form .span-two{grid-column:span 2}
.leave-center-entry-form label{margin-bottom:10px}
.leave-center-entry-form input,.leave-center-entry-form select{width:100%}
.leave-center-save{grid-column:4;align-self:end;margin:0 0 10px!important;padding:0!important;border:0!important;justify-content:flex-end!important}
.leave-center-save .btn{min-width:112px}
.annual-leave-quota-summary{display:grid;grid-template-columns:auto minmax(220px,1fr) auto auto;align-items:center;gap:14px;margin:14px 22px 0;padding:14px 16px;border:1px solid #dce8f5;border-radius:13px;background:linear-gradient(180deg,#f9fcff,#f5f9fd)}
.annual-leave-quota-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.annual-leave-quota-badge{min-width:145px;display:grid;gap:3px;padding:8px 11px;border:1px solid #d6e5f5;border-radius:10px;background:#edf5ff;color:#285f9d}
.annual-leave-quota-badge.uml{background:#f1efff;border-color:#dfd9fb;color:#644f9e}
.annual-leave-quota-badge small{font-size:9px;font-weight:700;color:inherit;opacity:.78}
.annual-leave-quota-badge b{font-size:12px;color:inherit}
.annual-leave-setting-editor{margin-top:10px}
.annual-leave-quota-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px}
.leave-center-subtools{margin:16px 22px 10px}
.leave-center-panel>.schedule-subtools+.table-wrap{border-top:1px solid #e6edf4}
@media(max-width:1000px){.leave-center-entry-form{grid-template-columns:repeat(2,minmax(0,1fr))}.leave-center-entry-form .span-two{grid-column:1/-1}.leave-center-save{grid-column:2}.annual-leave-quota-summary{grid-template-columns:auto 1fr}.annual-leave-quota-badges,.annual-leave-quota-summary>.btn{grid-column:1/-1}.annual-leave-quota-summary>.btn{width:100%}.annual-leave-setting-editor{grid-template-columns:auto 1fr}.annual-leave-setting-editor .annual-leave-group-quota,.annual-leave-setting-editor .annual-leave-quota-actions{grid-column:1/-1}}
@media(max-width:700px){.leave-center-tabs{padding:8px 12px}.leave-center-tabs button{min-width:auto}.leave-center-entry-card,.annual-leave-quota-summary{margin-left:12px;margin-right:12px}.leave-center-entry-form{grid-template-columns:1fr}.leave-center-entry-form .span-two,.leave-center-save{grid-column:1}.leave-center-save .btn{width:100%}.annual-leave-quota-summary{grid-template-columns:1fr}.annual-leave-quota-summary .annual-leave-setting-icon{display:none}.annual-leave-quota-badges{display:grid;grid-template-columns:1fr}.leave-center-subtools{margin-left:12px;margin-right:12px}}

/* Leave center compact entry and quota badge icons */
.leave-center-entry-compact{padding:13px 16px}.leave-center-entry-compact .leave-center-entry-head{margin-bottom:0;gap:14px}.leave-center-entry-compact .leave-center-entry-head>.btn{flex:0 0 auto}.annual-leave-quota-badge{display:inline-flex;align-items:center;gap:9px}.annual-leave-quota-badge>i{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:rgba(47,115,218,.09);color:var(--blue);font-size:13px}.annual-leave-quota-badge.uml>i{background:rgba(54,165,203,.1);color:var(--cyan)}.annual-leave-quota-badge>span{display:block;min-width:0}.annual-leave-quota-badge>span small,.annual-leave-quota-badge>span b{display:block}@media(max-width:700px){.leave-center-entry-compact .leave-center-entry-head{align-items:stretch;flex-direction:column}.leave-center-entry-compact .leave-center-entry-head>.btn{width:100%}}

/* Annual leave year-status clarity */
.annual-leave-year-status{display:inline-flex;align-items:center;gap:5px;width:max-content;margin-top:5px;padding:4px 8px;border-radius:999px;background:#fff7e6;border:1px solid #f3d49a;color:#9a6516;font-size:9.5px;font-weight:800;line-height:1.2}.annual-leave-year-status.partial{background:#fff8ed;border-color:#f1d4a8;color:#976420}.annual-leave-quota-badge.unset{border-color:#efd7aa;background:#fffaf0}.annual-leave-quota-badge.unset>b,.annual-leave-quota-badge.unset span>b{color:#9a6516}.annual-leave-quota-badge.unset>i{color:#c2872b}

.machine-mobile-list{display:none}

/* Leave Log visual polish — 2026-10-05 */
.annual-leave-setting-icon{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#eaf3ff 0%,#dfeeff 100%);
  border:1px solid #d5e6f8;
  color:#2f73da;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.annual-leave-setting-icon i{
  display:block;
  font-size:17px;
  line-height:1;
  color:#2f73da;
}

.annual-leave-year-select{
  position:relative;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease;
}
.annual-leave-year-select:hover{
  border-color:#b9d2ef;
  background:#fbfdff;
  box-shadow:0 4px 12px rgba(47,115,218,.07);
}
.annual-leave-year-select:focus-within{
  border-color:#8bb8ee;
  background:#fff;
  box-shadow:0 0 0 3px rgba(47,115,218,.09),0 4px 12px rgba(47,115,218,.06);
}
.annual-leave-year-select select,
.annual-leave-year-select select:hover,
.annual-leave-year-select select:focus,
.annual-leave-year-select select:focus-visible{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  border-radius:0!important;
}
.annual-leave-year-select>i:first-child{
  transition:color .16s ease,transform .16s ease;
}
.annual-leave-year-select:hover>i:first-child,
.annual-leave-year-select:focus-within>i:first-child{
  color:#2568c4;
}
.annual-leave-year-select>i:last-child{
  transition:transform .16s ease,color .16s ease;
}
.annual-leave-year-select:hover>i:last-child,
.annual-leave-year-select:focus-within>i:last-child{
  color:#4f6f91;
}


/* ===== 2026-10-05 UI POLISH: LEAVE TABS + GLOBAL SEARCH ===== */
/* Leave Center tabs use the same interaction language as Report tabs. */
.leave-center-panel .leave-center-tabs button{
  position:relative;
  overflow:hidden;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.leave-center-panel .leave-center-tabs button:not(.active):hover{
  background:linear-gradient(180deg,#e7efff,#f1edff)!important;
  border-color:#b9c9ef!important;
  color:#4f46b8!important;
  box-shadow:0 5px 13px rgba(76,74,175,.13),inset 0 -2px 0 #8b72df!important;
  transform:translateY(-1px)!important;
}
.leave-center-panel .leave-center-tabs button:not(.active):hover::after{
  content:"";
  position:absolute;
  left:9px;right:9px;bottom:2px;height:2px;
  border-radius:99px;
  background:linear-gradient(90deg,#4d83dd,#8b5cf6);
}
.leave-center-panel .leave-center-tabs button.active{cursor:default}

/* Global search fields: one clean focus surface, never a nested/double box. */
.searchbox,.legacy-search{
  position:relative;
  border:1px solid #d7e2ed!important;
  background:#fff!important;
  box-shadow:none!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.searchbox:hover,.legacy-search:hover{
  border-color:#bfd2e7!important;
  background:#fbfdff!important;
  box-shadow:0 3px 10px rgba(51,91,135,.055)!important;
}
.searchbox:focus-within,.legacy-search:focus-within{
  border-color:#8bb8ee!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(47,115,218,.085),0 4px 12px rgba(47,115,218,.05)!important;
}
.searchbox input,.legacy-search input,
.searchbox input:hover,.legacy-search input:hover,
.searchbox input:focus,.legacy-search input:focus,
.searchbox input:focus-visible,.legacy-search input:focus-visible{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  border-radius:0!important;
}
.searchbox>i,.legacy-search>i{
  transition:color .16s ease,transform .16s ease!important;
}
.searchbox:hover>i,.legacy-search:hover>i,
.searchbox:focus-within>i,.legacy-search:focus-within>i{
  color:#2f73da!important;
}
.searchbox:focus-within>i,.legacy-search:focus-within>i{transform:scale(1.04)}

/* ===== GLOBAL PATENT ICON BOX ===== */
.app-icon-box{
  --app-icon-box-size:38px;
  --app-icon-size:15px;
  width:var(--app-icon-box-size);height:var(--app-icon-box-size);min-width:var(--app-icon-box-size);flex:0 0 var(--app-icon-box-size);
  display:inline-block;position:relative;overflow:hidden;line-height:0!important;vertical-align:middle;
}
.app-icon-box>.pi{
  position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;
  margin:0!important;padding:0!important;line-height:0!important;font-size:0!important;transform:none!important;
}
.app-icon-box>.pi:before{
  position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  display:block!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;
  font-size:var(--app-icon-size)!important;line-height:1!important;text-align:center!important;
  font-family:"primeicons"!important;font-style:normal!important;font-weight:normal!important;
}

/* ===== DATABASE MAINTENANCE / SYSADMIN ===== */
.database-maintenance-panel{overflow:hidden}
.database-maintenance-panel .panel-head small{display:block;margin-top:3px;color:var(--muted);font-size:9px}
.db-maintenance-body{padding:12px}
.db-health-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.db-health-card{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #e1e9f2;border-radius:12px;background:linear-gradient(180deg,#fff,#fbfdff)}
.db-health-card.ok{border-color:#cae9de;background:linear-gradient(180deg,#fff,#f6fcf9)}
.db-health-card.warning{border-color:#f0d8ae;background:linear-gradient(180deg,#fff,#fffaf1)}
.db-health-icon{--app-icon-box-size:38px;--app-icon-size:15px;border-radius:10px;background:#edf5ff;color:#2f73da}
.db-health-card.ok .db-health-icon{background:#e8f7f1;color:#23956d}
.db-health-card.warning .db-health-icon{background:#fff4df;color:#b7791f}
.db-health-card small,.db-health-card b,.db-health-card span{display:block;min-width:0}
.db-health-card small{font-size:8.5px;color:#8897a8;text-transform:uppercase;letter-spacing:.04em}
.db-health-card b{margin-top:3px;font-size:14px;color:#263b53;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.db-health-card span{margin-top:3px;font-size:9px;color:#7c8b9d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.db-maintenance-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.db-maintenance-action{min-height:68px;display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #dfe8f1;border-radius:11px;background:#fff;color:#455970;text-align:left;transition:.15s ease}
.db-maintenance-action:hover:not(:disabled){border-color:#b9d1ec;background:#f8fbff;box-shadow:0 5px 14px rgba(47,85,122,.07);transform:translateY(-1px)}
.db-action-icon{--app-icon-box-size:32px;--app-icon-size:14px;border-radius:9px;background:#eef5fd;color:#2f73da}
.db-maintenance-action b,.db-maintenance-action small{display:block}
.db-maintenance-action b{font-size:10.5px}
.db-maintenance-action small{margin-top:3px;font-size:8.5px;line-height:1.35;color:#8796a8}
.db-table-size-wrap{margin-top:10px;border:1px solid #e2e9f1;border-radius:12px;overflow:hidden;background:#fff}
.db-table-size-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #edf2f7;background:#fbfcfe}
.db-table-size-head b{font-size:11px}.db-table-size-head span{font-size:9px;color:#8b99a9}
.db-size-table th,.db-size-table td{font-size:10px}
.database-maintenance-loading{min-height:120px;display:flex;align-items:center;justify-content:center;gap:8px;color:#8090a2;font-size:10px}

@media(max-width:1100px){.db-health-grid,.db-maintenance-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
  .db-maintenance-body{padding:8px}
  .db-health-grid{grid-template-columns:1fr 1fr;gap:7px}
  .db-health-card{padding:9px;gap:8px}.db-health-icon{width:34px;height:34px;flex-basis:34px}
  .db-health-card b{font-size:12px}
  .db-maintenance-actions{grid-template-columns:1fr;gap:7px}
  .db-maintenance-action{min-height:58px}
  .db-size-table tbody tr{grid-template-columns:1fr 1fr!important}
  .db-size-table tbody tr>td:first-child{grid-column:1/-1!important}
}

/* Database Maintenance — safe attendance archive */
.db-archive-card{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;margin-top:12px;padding:14px;border:1px solid #dbe6f1;border-radius:12px;background:linear-gradient(135deg,#fbfdff,#f8fbfe)}
.db-archive-icon{width:46px;height:46px;border-radius:12px;background:#edf5ff;color:#2f73da;font-size:17px}
.db-archive-copy{min-width:0}.db-archive-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.db-archive-title>b{font-size:12px;color:#263b54}.db-archive-title>span{font-size:9px;font-weight:750;color:#607995;background:#eef4fa;border-radius:999px;padding:5px 8px;white-space:nowrap}.db-archive-copy>p{margin:5px 0 11px;color:#7b8da1;font-size:9.5px;line-height:1.5}
.db-archive-controls{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(230px,1fr) auto;gap:9px;align-items:end}.db-archive-controls label{display:flex;flex-direction:column;gap:5px}.db-archive-controls label>span{font-size:8.5px;font-weight:800;letter-spacing:.055em;color:#8292a5;text-transform:uppercase}.db-archive-controls select{width:100%;height:38px}
.db-archive-preview{min-height:54px;padding:8px 10px;border:1px solid #e1e9f1;border-radius:10px;background:#fff;display:flex;flex-direction:column;justify-content:center}.db-archive-preview small,.db-archive-last small{font-size:7.8px;font-weight:800;letter-spacing:.06em;color:#91a0b1}.db-archive-preview b{font-size:11px;margin-top:2px;color:#344b65}.db-archive-preview span{font-size:8.5px;color:#8595a8;margin-top:2px}.db-archive-preview.is-loading{opacity:.58}.db-archive-run{height:54px!important;padding:0 14px!important}
.db-archive-empty{padding:10px 12px;border:1px dashed #dce6ef;border-radius:9px;color:#8a99aa;background:#fff;font-size:9.5px}.db-archive-last{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;padding:9px 10px;border:1px solid #e4ebf2;border-radius:10px;background:#fff}.db-archive-last>div{min-width:0}.db-archive-last b,.db-archive-last span{display:block}.db-archive-last b{margin-top:2px;font-size:9.5px;color:#41566e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.db-archive-last span{margin-top:2px;font-size:8.5px;color:#8a99aa}.db-archive-last .btn{flex:0 0 auto}
@media(max-width:900px){.db-archive-controls{grid-template-columns:1fr 1fr}.db-archive-run{grid-column:1/-1;width:100%}.db-archive-title{align-items:flex-start;flex-direction:column}.db-archive-last{align-items:stretch;flex-direction:column}.db-archive-last .btn{width:100%}}
@media(max-width:560px){.db-archive-card{grid-template-columns:38px minmax(0,1fr);padding:10px;gap:9px}.db-archive-icon{width:38px;height:38px;border-radius:10px}.db-archive-controls{grid-template-columns:1fr}.db-archive-run{grid-column:auto}.db-archive-preview{min-height:50px}}

/* HRIS brand source: use the same asset as the favicon everywhere. */
.brand-mark.brand-logo{background:transparent!important;box-shadow:none!important;overflow:hidden!important;padding:0!important}
.brand-mark.brand-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
.boot-card .brand-mark.brand-logo{width:44px!important;height:44px!important;border-radius:12px!important}

/* Employee Leaving modal final polish */
.employee-leaving-modal>.form-grid .leaving-reason{grid-column:1/-1!important}
.employee-leaving-modal>.form-grid .leaving-save-actions{grid-column:1/-1!important;display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:2px!important;padding-top:12px!important;border-top:1px solid #e7edf4!important;min-height:0!important}
.employee-leaving-modal>.form-grid .leaving-save-actions .btn{min-width:130px!important;height:42px!important}
@media(max-width:760px){.employee-leaving-modal>.form-grid .leaving-save-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.employee-leaving-modal>.form-grid .leaving-save-actions .btn{width:100%!important;min-width:0!important}}


/* Demo account: explicit read-only state. */
.demo-readonly-badge,.demo-readonly-inline{display:inline-flex;align-items:center;gap:7px;width:max-content;border:1px solid #d8e5f3;background:#f5f9fe;color:#4b6f97;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800;letter-spacing:.02em}
.workspace-head>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.demo-readonly-inline{margin:2px 0}

/* Leave request approval modal */
.leave-request-admin-modal{padding:16px}.leave-request-admin-list{display:grid;gap:10px}.leave-request-admin-item{border:1px solid #e0e8f1;border-radius:13px;padding:13px;background:#fbfdff}.leave-request-admin-item.approved{background:#f8fcfa}.leave-request-admin-item.rejected{opacity:.78}.leave-request-admin-main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.leave-request-admin-main b,.leave-request-admin-main small{display:block}.leave-request-admin-main b{font-size:12px;color:#30465e}.leave-request-admin-main small{margin-top:3px;font-size:9.5px;color:#8493a5}.leave-request-admin-period{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:11px}.leave-request-admin-period span{padding:8px 9px;border:1px solid #e7edf4;border-radius:9px;background:#fff}.leave-request-admin-period small,.leave-request-admin-period b{display:block}.leave-request-admin-period small{font-size:8px;color:#8a98a9;text-transform:uppercase}.leave-request-admin-period b{margin-top:3px;font-size:10.5px;color:#3b5069}.leave-request-admin-reason{margin-top:9px;padding:9px 10px;border-radius:9px;background:#f4f7fa}.leave-request-admin-reason small{display:block;font-size:8px;text-transform:uppercase;color:#8a98a9}.leave-request-admin-reason span{display:block;margin-top:4px;font-size:10.5px;color:#4f6176;white-space:normal}.leave-request-admin-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:11px;padding-top:10px;border-top:1px solid #e9eef4}@media(max-width:720px){.leave-request-admin-period{grid-template-columns:1fr 1fr}}

/* Leave request pending badge */
.leave-request-menu-btn{position:relative}.leave-request-menu-badge{position:absolute;right:-7px;top:-8px;min-width:18px;height:18px;padding:0 5px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#d95363;color:#fff;border:2px solid #fff;font-size:8px;font-weight:800;line-height:1;box-shadow:0 2px 7px rgba(185,58,75,.22)}


/* Field Attendance export — separate action row below Copy Link */
.field-attendance-export-row{display:flex;justify-content:flex-end;align-items:center;margin:12px 16px 10px;padding:0}
.field-attendance-export-btn{flex:0 0 auto;min-width:108px;min-height:36px;justify-content:center;gap:7px;background:#fff!important;border-color:#cbdced!important;color:#355979!important;box-shadow:none!important}
.field-attendance-export-btn:hover:not(:disabled){background:#eef6ff!important;border-color:#aac8e7!important;color:#2168b4!important}
.field-attendance-export-btn i{color:inherit!important}
@media(max-width:640px){.field-attendance-export-row{margin:10px 10px 10px}.field-attendance-export-btn{width:auto;min-width:104px}}


/* Attendance punch delete + sysadmin user management */
.attendance-delete-punch{width:auto;height:28px;margin-top:7px;padding:0 9px;border:1px solid #f0c9cd;border-radius:8px;background:#fff6f7;color:#b33e49;font-size:9.5px;font-weight:800;display:inline-flex;align-items:center;gap:5px}.attendance-delete-punch:hover{background:#fdebed;border-color:#e8afb5;color:#9d303b}.attendance-delete-punch i{font-size:10px}.admin-user-panel .panel-head small{display:block;margin-top:4px;color:#7d8da1}.admin-user-table th:last-child,.admin-user-table td:last-child{width:110px;text-align:right}.admin-user-actions{white-space:nowrap}.admin-user-actions .icon-btn{margin-left:5px}.admin-user-actions .icon-btn.danger{color:#b33e49}.admin-user-actions .icon-btn.danger:hover{background:#fff0f1}.admin-user-form .attendance-edit-note{grid-column:1/-1}

/* Field Attendance device binding */
.mobile-access-table th:nth-child(1),.mobile-access-table td:nth-child(1){width:11%}
.mobile-access-table th:nth-child(2),.mobile-access-table td:nth-child(2){width:28%}
.mobile-access-table th:nth-child(3),.mobile-access-table td:nth-child(3){width:21%}
.mobile-access-table th:nth-child(4),.mobile-access-table td:nth-child(4){width:16%}
.mobile-access-table th:nth-child(5),.mobile-access-table td:nth-child(5){width:12%;text-align:center}
.mobile-access-table th:nth-child(6),.mobile-access-table td:nth-child(6){width:12%;text-align:center}
@media(max-width:900px){.mobile-access-table{min-width:880px}}


/* ===== TGP Corporate Green Theme Override ===== */
:root{
  --bg:#f3f8f3 !important;
  --panel:#ffffff !important;
  --line:#d9e8dc !important;
  --line2:#eaf4ec !important;
  --text:#142533 !important;
  --muted:#708392 !important;
  --blue:#2cab4a !important;
  --blue2:#1f8b3b !important;
  --blue-soft:#eaf8ee !important;
  --cyan:#49bf63 !important;
  --green:#239b55 !important;
  --green-soft:#e9f8ef !important;
  --shadow:0 8px 28px rgba(33,88,47,.07) !important;
  --shadow-lg:0 22px 54px rgba(26,76,41,.14) !important;
}
html,body,#app{background:#f3f8f3 !important}
body{background:
  radial-gradient(circle at 86% 0,rgba(67,180,83,.10),transparent 28%),
  radial-gradient(circle at 18% 92%,rgba(103,202,111,.07),transparent 30%),
  #f3f8f3 !important}

/* Title accent */
.workspace-head>div:first-child:before{background:linear-gradient(180deg,#34b94b 0%,#25a147 52%,#1a7938 100%) !important;box-shadow:0 3px 10px rgba(42,165,70,.22) !important}

/* Login */
.boot{background:radial-gradient(circle at 20% 20%,#dff3e4,transparent 35%),#f5fbf6 !important}
.brand-mark,.brand .brand-mark{background:linear-gradient(145deg,#38c251,#1f8b3b) !important;box-shadow:0 8px 18px rgba(44,171,74,.24) !important}
.login-visual{background:linear-gradient(145deg,#eefaf1 0,#f7fcf8 48%,#eaf6ee 100%) !important;border-right-color:#d8eadc !important}
.login-visual:before{background-image:linear-gradient(rgba(44,171,74,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(44,171,74,.04) 1px,transparent 1px) !important}
.eyebrow,.login-copy h1 em,.login-features i,.mini-logo,.login-card-kicker{color:var(--blue) !important}
.mini-logo{background:#eaf8ee !important}
.orb-a{background:radial-gradient(circle,#8fe39a55,transparent 68%) !important}
.orb-b{background:radial-gradient(circle,#b7ef8f55,transparent 68%) !important}
input:focus,select:focus,.history-month-select:focus,.custom-select-trigger:focus,.input-shell input:focus{border-color:#76cb88 !important;box-shadow:0 0 0 3px rgba(44,171,74,.11) !important}
.btn.primary,.leave-request-actions .submit{background:linear-gradient(180deg,#36bb4d,#238f43) !important;color:#fff !important;box-shadow:0 8px 18px rgba(42,167,74,.18) !important}
.btn.primary:hover:not(:disabled){box-shadow:0 10px 20px rgba(42,167,74,.24) !important}

/* Top navigation */
.brand{background:linear-gradient(135deg,#eef9f0 0%,#f7fcf8 100%) !important}
.brand:after{background:linear-gradient(90deg,#34b94b,#27a347,#93d85d,transparent) !important;height:3px !important}
.menu-bar button:hover,.menu-bar button:nth-child(1):hover,.menu-bar button:nth-child(2):hover,.menu-bar button:nth-child(3):hover,.menu-bar button:nth-child(4):hover{background:#eef9f0 !important;color:#20773b !important;transform:translateY(-1px)}
.userbox{background:linear-gradient(180deg,#fff,#fbfefb) !important}
.userbox .avatar,.avatar{background:linear-gradient(145deg,#eaf8ee,#dff3e5) !important;color:#227c3e !important;box-shadow:inset 0 0 0 1px rgba(44,171,74,.08) !important}
.icon-btn:hover{background:#f2faf4 !important;color:#227c3e !important}

/* Sidebar */
.sidebar{background:linear-gradient(180deg,#2da14a 0%,#238941 48%,#196d34 100%) !important;border-right-color:#175f2e !important;box-shadow:8px 0 28px rgba(23,95,46,.14) !important}
.sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22) !important}
.nav-section{background:rgba(255,255,255,.055) !important;border-color:rgba(255,255,255,.13) !important}
.nav-section>span{color:#ddf4e3 !important}
.nav-section:nth-of-type(1){--nav-accent:#c6f36c;--nav-soft:rgba(198,243,108,.19)}
.nav-section:nth-of-type(2){--nav-accent:#8fe4a2;--nav-soft:rgba(143,228,162,.18)}
.nav-section:nth-of-type(3){--nav-accent:#e2f28f;--nav-soft:rgba(226,242,143,.18)}
.nav-section:nth-of-type(4){--nav-accent:#6ee2af;--nav-soft:rgba(110,226,175,.18)}
.nav-section:nth-of-type(5){--nav-accent:#9de5b7;--nav-soft:rgba(157,229,183,.18)}
.nav-section button{color:#effbf1 !important}
.nav-section button i{background:rgba(255,255,255,.10) !important;color:#edfef1 !important}
.nav-section button:hover{background:rgba(255,255,255,.10) !important;border-color:rgba(255,255,255,.13) !important;color:#fff !important}
.nav-section button:hover i{background:var(--nav-soft) !important;color:var(--nav-accent) !important}
.nav-section button.active{background:linear-gradient(90deg,var(--nav-soft),rgba(255,255,255,.12)) !important;border-color:rgba(255,255,255,.22) !important;color:#fff !important;box-shadow:none!important}
.nav-section button.active i{background:var(--nav-soft) !important;color:var(--nav-accent) !important}
.sidebar-collapsed .nav-section button.active{box-shadow:none!important}

/* Panels and cards */
.panel,.toolbar-card,.report-hero{border-color:#d6e7da !important;box-shadow:0 10px 28px rgba(35,84,49,.07) !important}
.toolbar-card{background:linear-gradient(120deg,#f4fbf5 0%,#fbfffc 50%,#f4fbf6 100%) !important;border-top:3px solid #2ba64a !important}
.panel{background:rgba(255,255,255,.97) !important}
.panel-head{background:linear-gradient(90deg,#f2faf4 0%,#f8fdfa 50%,#eff9f2 100%) !important}
.panel-head h2,.panel-head h3,.report-hero h2,.report-count b,.upload-info i,.upload-info a{color:#227c3e !important}
.action-tile:hover:not(:disabled){box-shadow:0 9px 20px rgba(36,104,54,.11) !important}
.action-tile.primary{background:#eaf8ee !important;border-color:#cfe8d6 !important}
.action-tile.primary>i{background:#dff3e6 !important;color:#239b55 !important}
.action-tile:nth-child(7n/**/+1){border-color:#cfe8d6 !important;background:linear-gradient(145deg,#eefaf1,#fff) !important}.action-tile:nth-child(7n/**/+1)>i{background:#dff3e5 !important;color:#239b55 !important}
.action-tile:nth-child(7n/**/+2){border-color:#d8edc7 !important;background:linear-gradient(145deg,#f4fbe9,#fff) !important}.action-tile:nth-child(7n/**/+2)>i{background:#e8f7d6 !important;color:#6ba332 !important}
.action-tile:nth-child(7n/**/+3){border-color:#cde7dd !important;background:linear-gradient(145deg,#ecfaf4,#fff) !important}.action-tile:nth-child(7n/**/+3)>i{background:#d6f3e8 !important;color:#1d8f67 !important}
.action-tile:nth-child(7n/**/+4){border-color:#e3efc7 !important;background:linear-gradient(145deg,#f8fce9,#fff) !important}.action-tile:nth-child(7n/**/+4)>i{background:#eef8d7 !important;color:#879f1f !important}
.action-tile:nth-child(7n/**/+5){border-color:#d4ead7 !important;background:linear-gradient(145deg,#eefbf2,#fff) !important}.action-tile:nth-child(7n/**/+5)>i{background:#dff4e6 !important;color:#2a9a52 !important}
.action-tile:nth-child(7n/**/+6){border-color:#d8ebd6 !important;background:linear-gradient(145deg,#f2fbef,#fff) !important}.action-tile:nth-child(7n/**/+6)>i{background:#e7f7df !important;color:#5d9a2d !important}
.action-tile:nth-child(7n){border-color:#cfe6d3 !important;background:linear-gradient(145deg,#eef9f0,#fff) !important}.action-tile:nth-child(7n)>i{background:#ddf2e3 !important;color:#258447 !important}

/* Interactive elements */
.radio-dot.on,.radio-dot.on:after,.device-icon,.department-node-icon,.department-root .department-node-icon,.report-tabs button.active,.custom-select-option:hover,.custom-select-option.active{color:var(--blue) !important}
.radio-dot.on{border-color:var(--blue) !important}
.radio-dot.on:after{background:var(--blue) !important}
.device-icon,.department-node-icon{background:#eaf8ee !important;color:#239b55 !important}
.department-root .department-node-icon{background:#e2f5e8 !important;color:#238f43 !important}
.data-table thead th{background:linear-gradient(180deg,#ebf5ee,#e3efe7) !important;color:#355b42 !important;border-bottom-color:#cfe0d5 !important}
.data-table thead th:first-child{box-shadow:inset 0 3px #2aa451 !important}
.data-table tbody tr:nth-child(even):not(.machine-row) td{background:#f9fdfa !important}
.data-table tbody tr:hover td{background:#eef8f1 !important}
.data-table tbody tr.selected,.machine-log-table tbody tr.selected,.data-table tbody tr.machine-row.selected{background:#eaf8ee !important;border-left-color:#2aa451 !important;box-shadow:inset 0 0 0 1px rgba(42,164,81,.12) !important}
.machine-log-panel{border-top:3px solid #2ba64a !important}
.machine-log-panel .panel-head{background:linear-gradient(90deg,#effaf1,#f6fcf7) !important}
.report-hero{background:linear-gradient(120deg,#effaf1,#fff 60%,#f4fcf6) !important}
.report-tabs button.active{background:#eaf8ee !important;border-color:#cae8d0 !important;color:#227c3e !important;box-shadow:inset 0 -2px 0 #2aa451 !important}
.summary-pills span{border-color:#dbe9df !important;background:#fff !important}
.note{background:#f5fce9 !important;border-color:#e4efbf !important;color:#6b7a22 !important}
.pager-number.active{background:#2aa451 !important;color:#fff !important;border-color:#2aa451 !important}
.pager-nav:hover:not(:disabled),.pager-number:hover:not(.active){background:#edf9f0 !important;color:#227c3e !important}
.tag.success{background:#e9f8ef !important;color:#239b55 !important}
.status-dot.online{color:#239b55 !important}.status-dot.online i{background:#32ad63 !important;box-shadow:0 0 0 4px #e4f8ea !important}
.upload-info{background:#eef9f0 !important;color:#49735a !important}

/* Strong primary buttons across dialogs */
button.btn.primary,
.modal-actions .btn.primary,
.head-actions .btn.primary,
.login-card .btn.primary,
.export-button,
.sync-btn,
[class*="save-sync"]{
  background:linear-gradient(180deg,#36bb4d,#238f43) !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(42,167,74,.18) !important;
}

/* ===== TGP Green Theme — interaction polish ===== */
/* Brand logo stays clean: no green tile/background behind the sidebar/topbar logo. */
.brand .brand-mark,
.brand .brand-mark.brand-logo{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
.brand .brand-mark img,.brand .brand-mark.brand-logo img{filter:none!important}

/* Neutral controls adopt the corporate green interaction language. */
.btn.ghost:hover:not(:disabled),.btn.soft:hover:not(:disabled),
.icon-btn:hover:not(.danger),.context-menu button:hover,.dropdown-menu button:hover,
.report-export-options button:hover,.birthday-item:hover,.db-maintenance-action:hover:not(:disabled){
  background:#eef9f1!important;
  border-color:#b9dec3!important;
  color:#227c3e!important;
  box-shadow:0 5px 14px rgba(37,124,62,.08)!important;
}

/* Keep destructive/error actions red by design. */
.icon-btn.danger:hover,.attendance-delete-punch:hover,.btn.danger-ghost:hover:not(:disabled){
  background:#fff0f1!important;
  border-color:#e8afb5!important;
  color:#a63b45!important;
}

/* Inputs, searches and selects. */
.searchbox:hover,.legacy-search:hover,.annual-leave-year-select:hover{
  border-color:#b9dec3!important;
  background:#fbfefc!important;
  box-shadow:0 3px 10px rgba(37,124,62,.06)!important;
}
.searchbox:focus-within,.legacy-search:focus-within,.annual-leave-year-select:focus-within{
  border-color:#76c98a!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(44,171,74,.10),0 4px 12px rgba(37,124,62,.06)!important;
}
.searchbox:hover>i,.legacy-search:hover>i,.searchbox:focus-within>i,.legacy-search:focus-within>i,
.annual-leave-year-select:hover>i:first-child,.annual-leave-year-select:focus-within>i:first-child{
  color:#2aa451!important;
}
.annual-leave-year-select:hover>i:last-child,.annual-leave-year-select:focus-within>i:last-child{color:#4d7658!important}

/* Report and Leave tabs — remove the remaining blue/violet hover. */
.report-panel .report-tabs button:not(.active):hover,
.report-panel .report-tabs.shift-exception-tabs button:not(.active):hover,
.leave-center-panel .leave-center-tabs button:not(.active):hover{
  background:linear-gradient(180deg,#eaf8ee,#f3fbf5)!important;
  border-color:#b9dec3!important;
  color:#227c3e!important;
  box-shadow:0 5px 13px rgba(37,124,62,.11),inset 0 -2px 0 #4fbd68!important;
  transform:translateY(-1px)!important;
}
.report-panel .report-tabs button:not(.active):hover::after,
.leave-center-panel .leave-center-tabs button:not(.active):hover::after{
  background:linear-gradient(90deg,#2aa451,#78cf70)!important;
}
.report-panel .report-tabs button.active,.leave-center-panel .leave-center-tabs button.active{
  background:#eaf8ee!important;
  border-color:#c3e3cb!important;
  color:#227c3e!important;
  box-shadow:inset 0 -2px 0 #2aa451!important;
}

/* Dropdown / menu surfaces. */
.report-export-options,.context-menu,.dropdown-menu,.select-menu,.custom-menu{
  border-color:#d8e8dc!important;
  box-shadow:0 14px 34px rgba(30,83,45,.15)!important;
}
.report-export-icon{background:#eef7f0!important;color:#4d7057!important}
.report-export-icon.xlsx{background:#e7f7ed!important;color:#247747!important}

/* Pagination / selectable rows. */
.pager-nav:focus-visible,.pager-number:focus-visible,.icon-btn:focus-visible,.btn:focus-visible,
.report-tabs button:focus-visible,.leave-center-tabs button:focus-visible{
  outline:none!important;
  box-shadow:0 0 0 3px rgba(44,171,74,.16)!important;
}
.log-pagination,.report-pagination{border-color:#e4efe6!important}

/* Global loader and small accents. */
.operation-dock{background:#173b27!important;border-color:#285b39!important;box-shadow:0 18px 42px rgba(20,65,34,.27)!important}
.operation-stage{background:rgba(88,205,111,.15)!important;color:#c9f0d0!important}

/* Header utility interactions. */
.birthday-avatar-btn:hover{background:#e6f6eb!important;color:#227c3e!important}
.birthday-avatar-btn:focus-visible{outline:none!important;box-shadow:0 0 0 3px rgba(44,171,74,.16)!important}
.birthday-popover{border-color:#d8e8dc!important;box-shadow:0 18px 46px rgba(30,78,43,.18)!important}
.birthday-date{background:#f2f8f3!important;border-color:#deebe1!important;color:#4f7059!important}

/* Leave visual components. */
.annual-leave-setting-icon{background:linear-gradient(145deg,#eaf8ee 0%,#dff3e5 100%)!important;border-color:#d1e9d7!important;color:#2aa451!important}
.annual-leave-setting-icon i{color:#2aa451!important}
.annual-leave-group.uml-dbp{background:#edf8ef!important;color:#397548!important}
.leave-center-entry-card{border-color:#d9e9dd!important;background:linear-gradient(180deg,#fcfffc,#f7fcf8)!important}
.annual-leave-quota-summary{border-color:#d9e9dd!important;background:linear-gradient(180deg,#fafefb,#f5fbf7)!important}
.annual-leave-quota-badge{border-color:#d3e8d8!important;background:#edf8ef!important;color:#2b7041!important}
.annual-leave-quota-badge.uml{background:#f2f9e9!important;border-color:#dce9c4!important;color:#597a32!important}
.annual-leave-quota-badge>i{background:rgba(44,171,74,.10)!important;color:#2aa451!important}
.annual-leave-quota-badge.uml>i{background:rgba(111,181,67,.10)!important;color:#669b38!important}

/* Field Attendance export follows the same neutral green hover. */
.field-attendance-export-btn:hover:not(:disabled){background:#eef9f1!important;border-color:#b9dec3!important;color:#227c3e!important}

/* Table / selection consistency. */
.radio-dot.on{border-color:#2aa451!important}.radio-dot.on:after{background:#2aa451!important}
.data-table tbody tr:hover,.legacy-report-table tbody tr:hover td{background:#eef8f1!important}
.legacy-report-table tbody tr:hover td{background:#eef8f1!important}
.legacy-report-table tbody tr:nth-child(even) td{background:#fbfefc!important}
.legacy-report-table thead th{background:#ebf4ed!important;color:#526b59!important;border-bottom-color:#cfdfd3!important}
.legacy-report-gridbar{background:#eef6f0!important;border-bottom-color:#d4e5d8!important;color:#405f49!important}
.legacy-report-summary{background:#fafdfb!important;border-color:#e0ece3!important}

/* Small blue-coded chips/badges that are informational, not semantic warnings. */
.tag:not(.success):not(.danger):not(.warning),.annual-leave-count{background:#f1f8f3!important;color:#587261!important}

/* Remaining form/menu hover and focus states */
.form-grid textarea:focus,.employee-leaving-modal>.form-grid input:focus,.employee-leaving-modal>.form-grid select:focus,
.global-select-search:focus,.field-log-month-filter select:focus{
  border-color:#76c98a!important;
  box-shadow:0 0 0 3px rgba(44,171,74,.10)!important;
  outline:none!important;
}
.global-select-option:hover,.global-select-option.active{
  background:#eaf8ee!important;
  color:#227c3e!important;
}
.global-select-option.selected::after{color:#2aa451!important}
.field-attendance-access-copy a{color:#278146!important}
.field-attendance-copy-btn:hover{background:#eef9f1!important;border-color:#b9dec3!important;color:#227c3e!important}
.field-log-month-filter select:hover{border-color:#b9dec3!important;background:#f8fcf9!important}
.leaving-list tbody tr:hover td{background:#f5fbf7!important}

/* Generic links and informational icons inherit corporate accent where safe. */
.panel a:not(.danger-link),.toolbar-card a:not(.danger-link){color:#278146}
.panel a:not(.danger-link):hover,.toolbar-card a:not(.danger-link):hover{color:#1f6e39}

/* Menu/action selection surfaces that previously used blue. */
.machine-quick-info>.device-icon{background:#eef8f1!important;color:#4d7758!important}
.quick-dock-action:hover{border-color:#b9dec3!important;box-shadow:0 4px 12px rgba(37,124,62,.09)!important}
.quick-dock-action.download{color:#227c3e!important;background:#effaf2!important;border-color:#cee8d5!important}
.quick-dock-action.download .quick-dock-icon{background:#ddf3e4!important}

/* Context menus / compact action items */
.context-menu-item:hover,.menu-popover button:hover,.popover-menu button:hover{
  background:#eef9f1!important;color:#227c3e!important
}

/* Selection accents */
::selection{background:#cdeed5;color:#173b27}


/* Department hierarchy emphasis in every searchable Department selector */
.global-select-option.department-root-option,
.global-select-option.department-branch-option{
  font-weight:800!important;
}
.global-select-option.department-root-option>span,
.global-select-option.department-branch-option>span{
  font-weight:800!important;
}


/* Daily Attendance Detail — widen Name & Department, tighten PIN */
.report-panel .legacy-report-table-wrap{overflow-x:auto!important;overflow-y:visible!important;scrollbar-gutter:stable!important}
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table){
  width:max-content!important;
  min-width:100%!important;
  table-layout:auto!important;
}
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) thead th,
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) tbody td{
  white-space:nowrap!important;
}
/* NO */
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) th:nth-child(1),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) td:nth-child(1){
  width:48px!important;min-width:48px!important;text-align:center!important;
}
/* TANGGAL */
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) th:nth-child(2),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) td:nth-child(2){
  width:118px!important;min-width:118px!important;
}
/* PIN */
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) th:nth-child(3),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) td:nth-child(3){
  width:92px!important;min-width:92px!important;max-width:92px!important;
}
/* NAMA */
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) th:nth-child(4),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) td:nth-child(4){
  min-width:230px!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;
}
/* DEPARTEMEN */
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) th:nth-child(5),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) td:nth-child(5){
  min-width:230px!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;
}
/* JAM DATANG, JAM PULANG, LATE */
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) th:nth-child(6),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) td:nth-child(6),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) th:nth-child(7),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) td:nth-child(7),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) th:nth-child(8),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) td:nth-child(8){
  width:112px!important;min-width:112px!important;
}
/* WORK TIME */
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) th:nth-child(9),
.legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.ot-report-table) td:nth-child(9){
  min-width:110px!important;
}

/* Upload User Info & FP */
.upload-center-panel{overflow:hidden}
.upload-center-head{align-items:center}
.upload-center-head>div:first-child small{display:block;margin-top:4px;color:var(--muted);font-size:10px}
.upload-center-count{min-width:78px;padding:8px 12px;border:1px solid #d7eadc;border-radius:11px;background:#f4fbf6;text-align:center}
.upload-center-count b,.upload-center-count small{display:block}.upload-center-count b{font-size:18px;color:#247d3e}.upload-center-count small{margin-top:2px;font-size:8.5px;color:#7b8e81;text-transform:uppercase;letter-spacing:.06em}
.upload-center-toolbar{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(260px,1.15fr) minmax(260px,1fr);gap:10px;align-items:end;padding:14px;border-bottom:1px solid var(--line2);background:#fbfefc}
.upload-center-machine,.upload-center-dept{display:flex;flex-direction:column;gap:5px;margin:0}.upload-center-machine>span,.upload-center-dept>span{font-size:8.5px;font-weight:800;letter-spacing:.06em;color:#75897a}.upload-center-machine select,.upload-center-dept select{width:100%}
.upload-center-toolbar .searchbox{min-width:0;width:100%;height:40px}
.upload-center-actions{display:flex;align-items:center;gap:8px;padding:11px 14px;border-bottom:1px solid var(--line2);background:#fff}.upload-center-spacer{flex:1}.upload-center-send span{font-size:10px;opacity:.85}
.upload-center-target{display:flex;align-items:center;gap:10px;margin:12px 14px 0;padding:10px 12px;border:1px solid #dfe8e2;border-radius:11px;background:#f9fcfa;color:#63756a}.upload-center-target>i{font-size:18px}.upload-center-target div{min-width:0}.upload-center-target small,.upload-center-target b,.upload-center-target span{display:block}.upload-center-target small{font-size:8px;text-transform:uppercase;letter-spacing:.055em;color:#839287}.upload-center-target b{margin-top:2px;font-size:11px;color:#304d39}.upload-center-target span{margin-top:2px;font-size:9px;color:#819087}.upload-center-target.online{border-color:#cfe8d6;background:#f2fbf4}.upload-center-target.online>i{color:#26974b}.upload-center-target.offline{border-color:#eadfc8;background:#fffaf1}.upload-center-target.offline>i{color:#ad7a28}
.upload-center-table-wrap{margin-top:12px}.upload-center-table{min-width:920px}.upload-center-table th:nth-child(2),.upload-center-table td:nth-child(2){width:90px}.upload-center-table th:nth-child(3),.upload-center-table td:nth-child(3){min-width:210px}.upload-center-table th:nth-child(4),.upload-center-table td:nth-child(4){min-width:240px}.upload-center-table th:nth-child(5),.upload-center-table td:nth-child(5){width:110px}.upload-center-table th:nth-child(6),.upload-center-table td:nth-child(6){min-width:190px}.upload-center-table tbody tr{cursor:pointer}.upload-center-table tbody tr.upload-selected td{background:#eef9f1!important}.upload-check-col{width:42px!important;min-width:42px!important;text-align:center!important}.upload-check-col input{width:15px;height:15px;accent-color:#2aa451;cursor:pointer}
.upload-fp-count{display:inline-flex;align-items:center;gap:5px;min-height:23px;padding:0 8px;border-radius:999px;font-size:9px;font-weight:750}.upload-fp-count.has-fp{background:#eaf8ee;color:#247c40}.upload-fp-count.no-fp{background:#f1f4f6;color:#7c8993}.upload-fp-count i{font-size:9px}
.upload-result{display:inline-flex;align-items:center;gap:5px;min-height:23px;padding:0 8px;border-radius:999px;font-size:9px;font-weight:800}.upload-result.success{background:#e9f8ef;color:#238646}.upload-result.partial{background:#fff7e7;color:#9b6b1d}.upload-result.failed{background:#fff0f1;color:#ad3f49}.upload-result.pending{background:#f2f5f7;color:#7b8996}.upload-result-note{display:block;margin-top:4px;max-width:260px;white-space:normal;color:#7f8d98;font-size:8.5px;line-height:1.35}
@media(max-width:980px){.upload-center-toolbar{grid-template-columns:1fr 1fr}.upload-center-toolbar .searchbox{grid-column:1/-1}.upload-center-actions{flex-wrap:wrap}.upload-center-spacer{display:none}.upload-center-send{margin-left:auto}}
@media(max-width:680px){.upload-center-toolbar{grid-template-columns:1fr}.upload-center-toolbar .searchbox{grid-column:auto}.upload-center-actions{align-items:stretch;flex-direction:column}.upload-center-actions .btn{width:100%}.upload-center-send{margin-left:0}.upload-center-target{margin-left:10px;margin-right:10px}.upload-center-count{min-width:62px}}

/* Upload User Info & FP — retry polish */
.upload-center-retry{background:#fff7e7!important;border-color:#ecd6a8!important;color:#8a641c!important}
.upload-center-retry:hover:not(:disabled){background:#fff2d8!important;border-color:#ddc287!important;color:#765313!important}
.upload-center-retry span{font-size:10px;opacity:.85}
.upload-center-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 14px 0;padding:9px 11px;border:1px solid #e1e9e3;border-radius:10px;background:#fbfefc}
.upload-center-summary>span{display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:0 8px;border-radius:999px;font-size:9px;font-weight:750}
.upload-center-summary>span b{font-size:10px}
.upload-center-summary .success{background:#e9f8ef;color:#238646}
.upload-center-summary .partial{background:#fff7e7;color:#9b6b1d}
.upload-center-summary .failed{background:#fff0f1;color:#ad3f49}
.upload-center-summary>small{margin-left:auto;color:#7a8b7f;font-size:9px;line-height:1.4}
@media(max-width:760px){.upload-center-summary>small{width:100%;margin-left:0}.upload-center-retry{width:100%}}

/* Upload User Info & FP — multi Department + direct employee picker */
.upload-center-toolbar{
  grid-template-columns:minmax(240px,.9fr) minmax(260px,1fr) minmax(280px,1.1fr)!important;
  align-items:end!important;
}
.upload-filter-block{display:flex;flex-direction:column;gap:5px;min-width:0}
.upload-filter-label{font-size:8.5px;font-weight:800;letter-spacing:.06em;color:#75897a}
.upload-multi-select{position:relative;min-width:0}
.upload-multi-select>summary{list-style:none;width:100%;height:40px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:0 11px;border:1px solid #d7e8db;border-radius:10px;background:#fff;color:#3b5844;font-size:11px;font-weight:700;cursor:pointer;user-select:none}
.upload-multi-select>summary::-webkit-details-marker{display:none}
.upload-multi-select[open]>summary{border-color:#7ec98d;box-shadow:0 0 0 3px rgba(42,164,81,.09)}
.upload-multi-select>summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.upload-multi-select>summary i{flex:0 0 auto;font-size:9px;color:#7c9182;transition:transform .14s ease}
.upload-multi-select[open]>summary i{transform:rotate(180deg)}
.upload-multi-menu{position:absolute;z-index:95;top:46px;left:0;width:max(100%,340px);max-width:min(440px,calc(100vw - 42px));padding:8px;border:1px solid #d9e7dc;border-radius:12px;background:#fff;box-shadow:0 18px 42px rgba(25,72,38,.18)}
.upload-employee-select .upload-multi-menu{width:max(100%,390px)}
.upload-multi-search{height:36px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid #dfeae1;border-radius:9px;background:#f9fcfa}
.upload-multi-search i{font-size:10px;color:#799080}
.upload-multi-search input{height:32px!important;min-width:0;flex:1;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:10.5px!important}
.upload-clear-choice{width:100%;height:32px;margin-top:6px;border:0;border-radius:8px;background:#f1f8f3;color:#39734b;display:flex;align-items:center;justify-content:flex-start;gap:6px;padding:0 9px;font-size:9.5px;font-weight:750}
.upload-clear-choice:hover{background:#e8f4eb;color:#27703d}
.upload-multi-list{max-height:300px;overflow:auto;margin-top:6px;padding:2px}
.upload-multi-option{min-height:34px;display:flex;align-items:center;gap:9px;padding:7px 8px;border-radius:8px;color:#506359;font-size:10.5px;cursor:pointer}
.upload-multi-option:hover{background:#f1f8f3;color:#2f6540}
.upload-multi-option input{width:14px!important;height:14px!important;min-width:14px;accent-color:#2aa451;margin:0}
.upload-multi-option.hierarchy-strong>span{font-weight:800;color:#294c34}
.upload-multi-option.employee-option{align-items:flex-start}
.upload-multi-option.employee-option>span{min-width:0;display:block}
.upload-multi-option.employee-option b,.upload-multi-option.employee-option small{display:block}
.upload-multi-option.employee-option b{font-size:10.5px;color:#334f3b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.upload-multi-option.employee-option small{margin-top:2px;font-size:8.5px;color:#85958a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.upload-multi-empty{padding:14px 10px;text-align:center;color:#89978d;font-size:9.5px}
.upload-center-global-search{grid-column:1/-1!important;width:100%!important;max-width:none!important}
.upload-center-global-search input{width:100%}
@media(max-width:980px){
  .upload-center-toolbar{grid-template-columns:1fr 1fr!important}
  .upload-center-machine{grid-column:1/-1}
  .upload-center-global-search{grid-column:1/-1!important}
}
@media(max-width:680px){
  .upload-center-toolbar{grid-template-columns:1fr!important}
  .upload-center-machine,.upload-center-global-search{grid-column:auto!important}
  .upload-multi-menu,.upload-employee-select .upload-multi-menu{position:fixed;left:12px;right:12px;top:118px;width:auto;max-width:none;max-height:calc(100vh - 145px)}
  .upload-multi-list{max-height:calc(100vh - 245px)}
}

/* Upload User picker normalization: one shared 40px control geometry. */
.upload-center-toolbar .upload-center-machine{display:flex;flex-direction:column;gap:5px;min-width:0}
.upload-machine-select{position:relative;width:100%;height:40px}
.upload-center-toolbar .upload-machine-select select{appearance:none;-webkit-appearance:none;width:100%;height:40px;min-height:40px;margin:0;padding:0 30px 0 11px;border:1px solid #d7e8db;border-radius:10px;background:#fff;color:#3b5844;font-size:11px;font-weight:700;box-shadow:none;outline:none;cursor:pointer}
.upload-machine-select>i{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:9px;color:#7c9182;pointer-events:none}
.upload-machine-select select:focus{border-color:#7ec98d;box-shadow:0 0 0 3px rgba(42,164,81,.09)}
/* Remove every browser-generated summary marker, including Firefox marker. */
.upload-center-toolbar details>summary{display:flex!important;list-style:none!important;list-style-type:none!important}
.upload-center-toolbar details>summary::marker{content:""!important;display:none!important;font-size:0!important}
.upload-center-toolbar details>summary::-webkit-details-marker{display:none!important}
.upload-center-toolbar details>summary::before{content:none!important;display:none!important}

/* Upload checkbox cells: no stray glyph, bullet, pseudo-element or browser default spacing. */
.upload-center-table th.upload-check-col,.upload-center-table td.upload-check-col{padding:0!important;width:42px!important;min-width:42px!important;max-width:42px!important;text-align:center!important;vertical-align:middle!important;overflow:hidden!important;font-size:0!important;line-height:0!important;list-style:none!important;list-style-type:none!important}
.upload-center-table .upload-check-col::before,.upload-center-table .upload-check-col::after,.upload-center-table .upload-check-only::before,.upload-center-table .upload-check-only::after{content:none!important;display:none!important}
.upload-center-table .upload-check-col::marker,.upload-center-table .upload-check-only::marker{content:""!important;font-size:0!important}
.upload-center-table .upload-check-only{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:35px!important;margin:0!important;padding:0!important;overflow:hidden!important;font-size:0!important;line-height:0!important;list-style:none!important}
.upload-center-table .upload-check-only input[type=checkbox]{display:block!important;flex:none!important;box-sizing:border-box!important;width:15px!important;height:15px!important;margin:0!important;padding:0!important;accent-color:#2aa451!important;cursor:pointer!important;appearance:auto!important;-webkit-appearance:checkbox!important}

/* Download biometrik: hasil inline, tidak menutupi halaman. */
.biometric-detail-panel{margin:0 0 14px;overflow:hidden;border:1px solid #d6e8dc;background:#fff}
.biometric-detail-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#f5fbf7;border-bottom:1px solid #e0eee4}
.biometric-detail-header h2{margin:0;font-size:13px;color:#216f42}.biometric-detail-header h2 i{margin-right:6px}.biometric-detail-header small{display:block;margin-top:5px;font-size:10px;color:#718878}
.biometric-detail-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:750;color:#227346;background:#e5f6eb;padding:7px 10px;border-radius:20px;white-space:nowrap}.biometric-detail-status.is-running{color:#357857;background:#eaf6ef}.biometric-detail-status.is-warning{color:#9b592a;background:#fff3e7}
.biometric-detail-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;padding:14px 18px}.biometric-detail-stats>span{min-width:0;background:#f8fbf9;border:1px solid #e5efe8;border-radius:10px;padding:10px}.biometric-detail-stats small{display:block;font-size:9px;color:#6a8375}.biometric-detail-stats b{display:block;margin-top:5px;color:#245b3a;font-size:17px;font-variant-numeric:tabular-nums}
.biometric-detail-message{margin:0 18px 13px;padding:9px 11px;border-radius:8px;background:#f4faf6;color:#4c6c58;font-size:10.5px;line-height:1.6;overflow-wrap:anywhere}.biometric-detail-message.has-error{background:#fff1f1;color:#ae3644}
.biometric-detail-list{padding:0 18px 15px;display:grid;gap:7px}.biometric-detail-entry{border:1px solid #e5eee7;border-radius:9px;padding:10px 12px;background:#fff}.biometric-detail-entry-head{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#283e31}.biometric-detail-entry-head span{font-size:9px;font-weight:750}.biometric-detail-entry-head .good{color:#27824a}.biometric-detail-entry-head .bad{color:#b74545}.biometric-detail-entry-count{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.biometric-detail-entry-count span{font-size:9px;color:#536d5c;background:#f1f8f3;border-radius:6px;padding:5px 7px}.biometric-detail-entry>small{display:block;margin-top:6px;color:#a05247;font-size:9.5px;overflow-wrap:anywhere}
@media(max-width:750px){.biometric-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.biometric-detail-header{align-items:flex-start}.biometric-detail-status{flex-shrink:0}}

/* Inline real-time biometric progress; no floating overlay */
.biometric-live-progress{margin:12px 16px;padding:11px 13px;background:#f4faf6;border:1px solid #d9e9de;border-radius:10px}
.biometric-live-info{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;color:#375b46;font-size:12px}
.biometric-live-info b{color:#188348;font-variant-numeric:tabular-nums}
.biometric-live-track{height:7px;border-radius:10px;overflow:hidden;background:#dcebe1;margin-top:9px}
.biometric-live-track span{display:block;height:100%;background:#24a257;transition:width .3s ease;border-radius:10px}

/* Biometric downloads: same bottom-right progress dock as Download Log. */
.operation-dock.biometric-operation-dock{width:440px;max-width:calc(100vw - 28px);align-items:flex-start;z-index:65}
.biometric-operation-dock .operation-copy{min-width:0}
.biometric-operation-dock .operation-copy>small{overflow-wrap:anywhere;line-height:1.45}
.biometric-dock-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:9px}
.biometric-dock-stats>span{min-width:0;padding:6px 3px;text-align:center;border-radius:7px;background:rgba(255,255,255,.08)}
.biometric-dock-stats b{font-size:12px;color:#effff4}.biometric-dock-stats small{font-size:8px!important;margin-top:3px}
.biometric-dock-entries{max-height:112px;overflow-y:auto;margin-top:9px;border-top:1px solid rgba(255,255,255,.12)}
.biometric-dock-entries>div{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.09);font-size:9px}
.biometric-dock-entries>div>b{flex:0 1 46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.biometric-dock-entries>div>span{color:#c6dfd0;overflow-wrap:anywhere;text-align:right}
.biometric-dock-result-icon{margin-top:3px;font-size:18px;color:#b1e5b8}
.biometric-dock-close{border:0;background:transparent;color:#d8eee0;cursor:pointer;padding:0 2px}
@media(max-width:540px){.operation-dock.biometric-operation-dock{right:12px;bottom:12px!important}}

/* 2026-10-09: Four secondary machine actions, consistent Department toolbar. */
.device-toolbar .toolbar-secondary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
.device-toolbar .toolbar-secondary>.btn{width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;margin:0!important;white-space:nowrap!important}
.department-panel .department-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.department-panel .department-heading{flex:0 0 auto}
.department-panel .department-toolbar-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:1 1 460px;flex-wrap:wrap;min-width:0}
.department-panel .department-searchbox{flex:1 1 230px;max-width:380px;min-width:190px;height:38px}
.department-panel .department-searchbox input{width:100%;height:34px;background:transparent;min-width:0}
.department-panel .department-toolbar-tools>.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;min-height:38px;margin:0;white-space:nowrap;flex:0 0 auto}
@media(max-width:720px){.device-toolbar .toolbar-secondary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.department-panel .department-panel-head{align-items:stretch}.department-panel .department-toolbar-tools{flex-basis:100%;justify-content:stretch}.department-panel .department-searchbox{max-width:none;flex:1 1 100%}.department-panel .department-toolbar-tools>.btn{flex:1 1 calc(50% - 5px)}}
@media(max-width:390px){.device-toolbar .toolbar-secondary{grid-template-columns:1fr!important}}

/* User Management role and device privilege settings */
.admin-context-row{cursor:context-menu}.admin-context-row:hover td{background:#f0f8f3!important}.access-machine-panel{border:1px solid #dceae0;background:#f8fcf9;border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:9px}.access-machine-panel>b{color:#19783d}.access-machine-panel>small{color:#728577}.access-machine-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:9px;margin-top:4px;max-height:245px;overflow-y:auto}.access-choice{display:flex!important;align-items:center;gap:9px;border:1px solid #dfebe3;background:white;border-radius:9px;padding:10px 12px;margin:0!important;font-size:13px;cursor:pointer;min-height:42px}.access-choice input{width:16px!important;height:16px!important;margin:0!important;flex:none;accent-color:#259c51}.access-choice-disabled{opacity:.5}.danger-text{color:#b64d4d!important}.admin-user-context-menu{min-width:205px}.admin-user-table .tag{white-space:nowrap}

/* User Management privilege refresh */
.modal-card.modal-rbac{width:min(880px,95vw)!important;max-width:95vw!important;max-height:92vh!important;border-top:4px solid #24a257!important;overflow:auto!important}
.modal-card.modal-rbac .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 16px}
.modal-card.modal-rbac .modal-head{background:#f7fcf8!important}
.hris-permission-section{border:1px solid #dce9e0;background:#fff;border-radius:12px;padding:14px 16px;min-width:0;display:flex;flex-direction:column;gap:12px}
.hris-permission-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#1b7040;font-size:14px}
.hris-permission-heading span{font-size:12px;font-weight:600;color:#718277}
.hris-permission-heading b i{margin-right:7px}
.hris-permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hris-permission-group{border:1px solid #e4eee7;border-radius:10px;padding:12px;background:#fafdfa;min-width:0}
.hris-permission-group-title{font-size:12px;font-weight:800;color:#36694b;margin-bottom:10px}
.hris-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-items:stretch}
.hris-permission-choice{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;text-transform:none!important;letter-spacing:normal!important;font-size:12px!important;line-height:1.35!important;font-weight:600!important;margin:0!important;border:1px solid #e1eae4;border-radius:8px;background:#fff;padding:9px 10px;cursor:pointer;min-width:0;min-height:40px}
.hris-permission-choice.is-selected{border-color:#a1d9b3;background:#f1faf4;color:#196d39!important}
.hris-permission-choice input,.hris-machine-mode input{width:16px!important;height:16px!important;min-width:16px!important;flex:none!important;margin:0!important;accent-color:#21a052}
.hris-permission-choice span{min-width:0;overflow-wrap:anywhere}
.hris-machine-mode{display:flex;gap:9px;flex-wrap:wrap}
.hris-machine-mode label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;cursor:pointer;padding:9px 13px;border:1px solid #e2ebe5;border-radius:9px;font-size:12px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important}
.hris-machine-mode label.is-selected{background:#effaf2;border-color:#a2d8b3;color:#197740}
.hris-machine-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:190px;overflow-y:auto}
.hris-machine-empty,.hris-machine-hint{font-size:12px;color:#748578}
@media(max-width:640px){.modal-card.modal-rbac .form-grid{grid-template-columns:1fr}.modal-card.modal-rbac .form-grid>.span-two{grid-column:1}.hris-permission-groups{grid-template-columns:1fr}.hris-machine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* RBAC modal layout refinement — isolate all overrides to User Management dialogs */
.modal-card.modal-rbac{width:min(1010px,calc(100vw - 38px))!important;max-width:calc(100vw - 38px)!important;max-height:min(90vh,860px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid #dce9df!important;border-top:3px solid #26a452!important;border-radius:17px!important}
.modal-card.modal-rbac>.modal-head{flex:0 0 auto!important;background:#fff!important;padding:17px 23px!important;border-bottom:1px solid #e6eee8!important}
.modal-card.modal-rbac>.modal-head h3{font-size:18px!important;color:#1c3045!important;margin:0!important}
.modal-card.modal-rbac>.hris-access-form,.modal-card.modal-rbac>.admin-user-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start!important;gap:14px 18px!important;padding:22px 24px 0!important;overflow-y:auto!important;overscroll-behavior:contain!important;min-height:0!important;margin:0!important;border:0!important}
.modal-card.modal-rbac .form-grid>label{min-width:0!important;margin:0!important;gap:8px!important;line-height:1.4!important}
.modal-card.modal-rbac .form-grid>label>input,.modal-card.modal-rbac .form-grid>label>select{width:100%!important;min-width:0!important;height:44px!important}
.modal-card.modal-rbac .form-grid>.span-two,.modal-card.modal-rbac .form-grid>.hris-permission-section{grid-column:1/-1!important}
.modal-card.modal-rbac .hris-permission-section{background:#fff!important;border:1px solid #e0eae3!important;border-radius:13px!important;padding:17px 18px!important;gap:14px!important;box-shadow:none!important}
.modal-card.modal-rbac .hris-permission-heading{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 18px!important;min-height:24px!important}
.modal-card.modal-rbac .hris-permission-heading b{font-size:14px!important;color:#187642!important}
.modal-card.modal-rbac .hris-permission-heading span{margin-left:auto!important;font-size:12px!important;color:#73877b!important}
.modal-card.modal-rbac .hris-permission-groups{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
.modal-card.modal-rbac .hris-permission-group{padding:13px!important;min-width:0!important;border:1px solid #e5ede7!important;border-radius:11px!important;background:#fafcfb!important}
.modal-card.modal-rbac .hris-permission-group-title{font-size:12px!important;margin:0 0 10px!important;color:#315c41!important}
.modal-card.modal-rbac .hris-permission-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important;width:100%!important}
.modal-card.modal-rbac .hris-permission-choice{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-height:43px!important;height:auto!important;padding:10px 11px!important;margin:0!important;font-size:12px!important;line-height:1.3!important;font-weight:600!important;white-space:normal!important;text-align:left!important;min-width:0!important;border-radius:9px!important}
.modal-card.modal-rbac .hris-permission-choice input{display:block!important;position:static!important;flex:0 0 17px!important;width:17px!important;min-width:17px!important;height:17px!important;margin:0!important;padding:0!important}
.modal-card.modal-rbac .hris-permission-choice span{display:block!important;flex:1 1 auto!important;min-width:0!important;word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important;text-align:left!important}
.modal-card.modal-rbac .hris-machine-mode{display:flex!important;flex-wrap:wrap!important;gap:9px!important}
.modal-card.modal-rbac .hris-machine-mode label{margin:0!important;min-height:39px!important;padding:9px 13px!important}
.modal-card.modal-rbac .hris-machine-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-height:205px!important;overflow-y:auto!important;padding:2px!important}
.modal-card.modal-rbac .modal-actions{grid-column:1/-1!important;position:sticky!important;bottom:0!important;z-index:3!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;background:#fff!important;border-top:1px solid #e4ece6!important;margin:4px -24px 0!important;padding:14px 24px 17px!important;min-height:70px!important}
.modal-card.modal-rbac .modal-actions .btn{height:40px!important;min-width:90px!important}
@media(max-width:760px){.modal-card.modal-rbac{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}.modal-card.modal-rbac>.hris-access-form,.modal-card.modal-rbac>.admin-user-form{padding:16px 15px 0!important;gap:12px!important}.modal-card.modal-rbac .hris-permission-groups{grid-template-columns:1fr!important}.modal-card.modal-rbac .hris-machine-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.modal-card.modal-rbac .modal-actions{margin:4px -15px 0!important;padding:12px 15px!important}}
@media(max-width:510px){.modal-card.modal-rbac .form-grid{grid-template-columns:1fr!important}.modal-card.modal-rbac .form-grid>label{grid-column:1/-1!important}.modal-card.modal-rbac .hris-permission-grid{grid-template-columns:1fr!important}.modal-card.modal-rbac .hris-machine-grid{grid-template-columns:1fr!important}}

/* Level & Privilege table: prioritise permission descriptions */
.hris-level-privilege-table{table-layout:fixed;width:100%}
.hris-level-privilege-table td{vertical-align:middle}
.hris-level-privilege-table td:nth-child(2){overflow-wrap:anywhere}
@media(max-width:600px){.hris-level-privilege-table col:first-child{width:32%!important}.hris-level-privilege-table col:last-child{width:68%!important}}

/* Employee & Field Attendance bulk selection */


/* Unified HRIS checkbox design and single contextual bulk-selection system. */
input[type="checkbox"]{box-sizing:border-box;appearance:auto;-webkit-appearance:checkbox;accent-color:#21834d;width:16px;height:16px;min-width:16px;margin:0;vertical-align:middle;cursor:pointer}
input[type="checkbox"]:focus-visible{outline:2px solid #2b995c;outline-offset:3px}
input[type="checkbox"]:disabled{cursor:not-allowed;opacity:.52}
.bulk-check-col{width:46px!important;min-width:46px!important;max-width:46px!important;text-align:center!important;vertical-align:middle!important;padding-left:10px!important;padding-right:10px!important}
.bulk-check-col input[type="checkbox"]{display:block;margin:auto!important;width:17px!important;height:17px!important;accent-color:#21834d!important}
.data-table tbody tr.bulk-row-selected>td{background:#edf8f0!important;border-bottom-color:#cfead6!important}
.data-table tbody tr.bulk-row-selected:hover>td{background:#e3f3e8!important}
.bulk-selection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;margin:0;background:#f2faf5;border-top:1px solid #d5e9dc;border-bottom:1px solid #d5e9dc}
.bulk-selection-count{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:650;color:#285b3a;white-space:nowrap}
.bulk-selection-count i{color:#21834d;font-size:16px}
.bulk-selection-count b{font-size:14px;color:#176b39;font-variant-numeric:tabular-nums}
.bulk-selection-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-left:auto}
.bulk-selection-toolbar .btn{min-height:33px;border-radius:8px;font-size:11px;white-space:nowrap}
.bulk-selection-toolbar .btn.bulk-danger{color:#ad3340!important;background:#fff4f3!important;border:1px solid #edc9c9!important}
.bulk-selection-toolbar .btn.bulk-danger:hover{background:#ffe9e9!important}
@media(max-width:700px){.bulk-selection-toolbar{align-items:stretch}.bulk-selection-count{width:100%}.bulk-selection-controls{margin-left:0;width:100%}.bulk-selection-controls .btn{flex:1 1 auto}}

/* Workspace retains its original stacking context; loader coordinates use the viewport. */
.workspace{position:relative;isolation:isolate}

/* Unified employee contract lifecycle alerts */
.employee-alert-popover{width:min(440px,calc(100vw - 20px));max-height:min(550px,80vh)}.employee-alert-popover .birthday-list{max-height:min(470px,68vh)}.employee-alert-group-title{position:sticky;top:0;z-index:1;background:#f4faf5;color:#236a43;font-size:11px;font-weight:750;padding:9px 11px;border-radius:7px;margin:5px 0}.employee-contract-alert .birthday-mini-cake{background:#fff5e5;color:#b67817}.employee-contract-alert.contract-expired .birthday-mini-cake{background:#fff0f0;color:#bf4550}.employee-contract-alert .birthday-date{display:block;font-size:10px;margin-top:5px;color:#996523;white-space:normal}.employee-contract-alert.contract-expired .birthday-date{color:#b13643}.employee-contract-help{grid-column:1/-1;padding:11px 13px;border-radius:10px;background:#eff8f1;color:#426b50;font-size:11px;line-height:1.55;border:1px solid #d4e9d8} 

/* Satu format tampilan tanggal untuk filter, form, dan periode kontrak. */
.hris-date-field{position:relative;display:flex;align-items:center;width:100%;min-width:0;height:40px}
.hris-date-field .hris-date-text{width:100%;min-width:0;height:100%;padding-right:42px;font-variant-numeric:tabular-nums}
.hris-date-field .hris-date-text::placeholder{color:#9aaaaf}
.hris-date-picker-button{position:absolute;right:4px;top:4px;bottom:4px;width:34px;display:grid;place-items:center;border-radius:7px;color:var(--green);background:#e9f7f0;overflow:hidden;cursor:pointer}
.hris-date-picker-button>input[type=date]{position:absolute;inset:0;opacity:0;width:100%;height:100%;padding:0;cursor:pointer;color:transparent}
.hris-date-picker-button>input[type=date]::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer;opacity:0}
.hris-date-invalid .hris-date-text{border-color:#d15b5b!important;box-shadow:0 0 0 2px rgba(209,91,91,.1)!important}
.hris-date-readonly .hris-date-text{background:#f5f9f7;color:#476056;padding-right:12px}
.legacy-time-range .hris-date-field{height:34px;min-width:125px}
.legacy-time-range .hris-date-field .hris-date-text{height:34px;min-width:0}

/* HRIS Employee Profile 360° – reuses existing green theme primitives. */
.hris-employee-profile-link{border:0;background:none;padding:2px 0;color:var(--primary,#16814b);font:inherit;font-weight:700;cursor:pointer;text-align:left}.hris-employee-profile-link:hover{text-decoration:underline}
.hris-profile-header{display:flex;gap:18px;align-items:center;padding:20px 4px}.hris-profile-header h3{margin:0 0 4px;font-size:20px}.hris-profile-header p{margin:0 0 9px;color:var(--text-muted,#738078)}.hris-profile-avatar{width:65px;height:65px;display:grid;place-items:center;border-radius:19px;background:#e7f5ed;color:#16814b;font-size:27px;flex-shrink:0}.hris-profile-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #e6ede9;padding-bottom:12px;margin-bottom:18px}.hris-profile-tabs button{padding:9px 13px;border-radius:9px;background:transparent;border:1px solid #e1e9e4;color:inherit;cursor:pointer}.hris-profile-tabs button.active{background:#e7f5ed;color:#11723c;border-color:#95d6b3;font-weight:700}.hris-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hris-profile-card{padding:18px;border:1px solid #e3eae5;border-radius:14px;display:flex;flex-direction:column;gap:8px}.hris-profile-card small,.hris-profile-hint{color:#66786c}.hris-profile-card strong{font-size:17px}.hris-profile-content{display:flex;flex-direction:column;gap:13px}.hris-profile-content h3{margin:14px 0 2px}.hris-profile-decision{border:1px solid #d8e8df;padding:18px;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}.hris-profile-decision textarea{display:block;width:min(600px,100%);margin-top:7px;padding:10px;border:1px solid #d5e2d9;border-radius:9px}.hris-profile-decision>label{width:100%}.hris-decision-options{display:flex;flex-wrap:wrap;gap:16px}.hris-decision-options label{display:flex;align-items:center;gap:6px}.hris-audit-code{display:block;max-width:280px;max-height:90px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}@media(max-width:780px){.hris-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.hris-profile-grid{grid-template-columns:1fr}.hris-profile-header{align-items:flex-start}}

/* Employee master data: single responsive grouped form, aligned with green HRIS theme. */
.hris-extended-fields{grid-column:1/-1;border-top:1px solid var(--border,#dde9e1);padding-top:18px;margin-top:8px}
.hris-extended-heading{font-size:1.05rem;font-weight:750;color:var(--text,#26392e)}
.hris-extended-hint{font-size:.83rem;color:var(--text-muted,#748277);margin:5px 0 14px}
.hris-extended-group{border:1px solid var(--border,#e2eae5);border-radius:14px;padding:15px;margin:12px 0;background:var(--card,#fff)}
.hris-extended-group h4{margin:0 0 13px;color:var(--primary,#188452);font-size:.93rem}
.hris-extended-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.hris-extended-grid label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:.85rem;font-weight:600}
.hris-extended-grid input,.hris-extended-grid textarea{width:100%;min-width:0;box-sizing:border-box}
.hris-extended-profile{margin:14px 0;padding:16px;border:1px solid var(--border,#e2eae5);border-radius:14px}
.hris-extended-profile h3{margin:0 0 12px}
.hris-extended-detail{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere;padding:8px 0;border-bottom:1px solid var(--border,#eef1ef)}
.hris-extended-detail small{color:var(--text-muted,#748277)}
@media(max-width:700px){.hris-extended-grid{grid-template-columns:minmax(0,1fr)}}
/* Employee biodata: one canonical name and clear, compact editing sections. */
.employee-edit-form>.hris-employee-basic,.employee-edit-form>.hris-extended-fields{grid-column:1/-1;min-width:0}
.hris-employee-basic{background:#fff;border:1px solid #e0ebe5;border-radius:14px;padding:15px}
.hris-employee-section-title{display:flex;align-items:center;gap:9px;font-weight:750;color:#167646;margin:0 0 14px}
.hris-employee-basic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}
.hris-employee-basic-grid>label{min-width:0}
.hris-employee-basic-grid>.employee-contract-help{grid-column:1/-1}
.employee-edit-form .hris-extended-fields{margin-top:2px;border-top:1px solid #e5eee9;padding-top:18px}
.employee-edit-form .hris-extended-heading{font-size:1rem;font-weight:750;color:#1b3440}
.employee-edit-form .hris-extended-hint{color:#738577;font-size:.83rem;margin:5px 0 12px}
.employee-edit-form details.hris-extended-group{padding:0;overflow:hidden;background:#fff;border:1px solid #e0eae4;border-radius:12px;margin:9px 0}
.employee-edit-form details.hris-extended-group>summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;padding:16px;font-weight:700;color:#245740;background:#f8fcf9}
.employee-edit-form details.hris-extended-group>summary::-webkit-details-marker{display:none}
.employee-edit-form details.hris-extended-group>summary>.pi-chevron-down{margin-left:auto;font-size:.8rem;transition:transform .15s}
.employee-edit-form details.hris-extended-group[open]>summary>.pi-chevron-down{transform:rotate(180deg)}
.employee-edit-form details.hris-extended-group>.hris-extended-grid{padding:15px;border-top:1px solid #e5eee7}
.employee-open-profile{cursor:pointer}
.employee-open-profile:hover td{background:rgba(30,153,89,.045)}
.hris-profile-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.hris-biodata-profile{margin:16px 0}
.hris-biodata-head{margin-bottom:12px}.hris-biodata-head h3{margin:0 0 3px}.hris-biodata-head span{font-size:.82rem;color:#748478}
.hris-biodata-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.hris-biodata-section{border:1px solid #e0ebe5;border-radius:14px;background:#fff;padding:16px;min-width:0}
.hris-biodata-section h4{display:flex;gap:8px;align-items:center;color:#147445;margin:0 0 12px;font-size:.96rem}
.hris-biodata-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.hris-biodata-field{display:flex;flex-direction:column;gap:5px;padding:10px 0;border-bottom:1px solid #edf2ef;min-width:0}
.hris-biodata-field small{color:#718278;font-size:.78rem}.hris-biodata-field strong{font-weight:600;color:#213b30;font-size:.88rem;overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:900px){.hris-biodata-sections{grid-template-columns:1fr}}
@media(max-width:600px){.hris-employee-basic-grid,.hris-biodata-grid{grid-template-columns:1fr}.hris-employee-basic{padding:12px}.hris-biodata-section{padding:13px}.hris-profile-toolbar .btn{width:auto}}


/* Employee workspace polish one consistent responsive design, no duplicate UI components. */
.employee-profile-panel{overflow:hidden;border:1px solid #dce9e1!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 32px rgba(18,65,40,.055)!important}
.employee-profile-panel>.panel-head{padding:20px 24px!important;margin:0!important;min-height:76px;align-items:center;gap:16px;border-bottom:1px solid #e5eee7;background:linear-gradient(110deg,#fcfefc,#f3faf5)!important}
.employee-profile-panel .hris-profile-toolbar>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;min-width:0}
.employee-profile-panel .hris-profile-toolbar h2{font-size:19px;line-height:1.25;letter-spacing:-.025em;margin:0;color:#203c2c}
.employee-profile-panel .hris-profile-toolbar .btn{min-height:40px}
.employee-profile-panel .hris-profile-header{margin:18px 24px 20px;padding:20px 22px;background:#f7fbf8;border:1px solid #e2eee5;border-radius:16px;align-items:center;min-width:0}
.employee-profile-panel .hris-profile-avatar{width:68px;height:68px;border-radius:18px;background:linear-gradient(135deg,#e0f5e8,#f1fbf5);border:1px solid #c9e7d4;color:#157d47}
.employee-profile-panel .hris-profile-header>div:last-child{min-width:0;flex:1}
.employee-profile-panel .hris-profile-header h3{font-size:clamp(18px,2vw,24px);font-weight:800;line-height:1.3;overflow-wrap:anywhere;color:#1d3829}
.employee-profile-panel .hris-profile-header p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.employee-profile-panel .hris-profile-tabs{margin:0 24px 22px;padding:4px;gap:5px;border:1px solid #e3ede6;border-radius:13px;background:#f7faf8;display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity}
.employee-profile-panel .hris-profile-tabs button{flex:0 0 auto;white-space:nowrap;min-height:41px;border:1px solid transparent;border-radius:9px;font-size:12px;font-weight:700;padding:9px 15px;scroll-snap-align:start;background:transparent;color:#51675a}
.employee-profile-panel .hris-profile-tabs button:hover{color:#116d3d;background:#eaf5ed}
.employee-profile-panel .hris-profile-tabs button.active{background:#fff!important;border-color:#d0e7d7!important;box-shadow:0 2px 7px rgba(16,77,43,.08);color:#167941!important}
.employee-profile-panel .hris-biodata-profile{margin:0 24px 22px}
.employee-profile-panel .hris-biodata-head{margin:0 0 13px}.employee-profile-panel .hris-biodata-head h3{font-size:16px;font-weight:800;color:#25432f}
.employee-profile-panel .hris-biodata-head span{line-height:1.5}
.employee-profile-panel .hris-biodata-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.employee-profile-panel .hris-biodata-section{padding:19px 20px;border-radius:14px;border-color:#e1ece5;box-shadow:0 2px 8px rgba(38,77,50,.025)}
.employee-profile-panel .hris-biodata-section h4{font-size:13px;padding-bottom:12px;border-bottom:1px solid #e9f1eb;margin-bottom:4px;color:#147a46}
.employee-profile-panel .hris-biodata-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.employee-profile-panel .hris-biodata-field{min-height:58px;gap:6px;padding:12px 0;justify-content:center}
.employee-profile-panel .hris-biodata-field small{line-height:1.4;font-size:11px}.employee-profile-panel .hris-biodata-field strong{font-size:12px;line-height:1.55;font-weight:650;word-break:normal;overflow-wrap:anywhere}
.employee-profile-panel .hris-profile-grid{padding:0 24px 24px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.employee-profile-panel .hris-profile-card{min-height:96px;border-color:#e0ece4;background:#f9fcfa;padding:16px;border-radius:13px;justify-content:center;gap:9px}
.employee-profile-panel .hris-profile-card small{font-size:11px;line-height:1.45}.employee-profile-panel .hris-profile-card strong{font-size:16px;line-height:1.4;word-break:normal;overflow-wrap:anywhere;color:#224b34}
.employee-profile-panel .hris-profile-content{padding:0 24px 26px;gap:14px;min-width:0}
.employee-profile-panel .hris-profile-content>h3{font-size:15px;color:#214831;margin:16px 0 0}
.employee-profile-panel .hris-profile-content .table-wrap{max-width:100%;border:1px solid #e1eae4;border-radius:12px;overflow-x:auto}
.employee-profile-panel .hris-profile-content .data-table{min-width:650px}
.employee-profile-panel .hris-profile-decision{align-items:stretch;border-color:#d7e9dc;background:#f8fcf9;padding:20px;gap:15px}
.employee-profile-panel .hris-profile-decision h3{margin:0;color:#1e6940;font-size:16px}
.employee-profile-panel .hris-decision-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.employee-profile-panel .hris-decision-options label{margin:0!important;padding:12px 13px;border:1px solid #dfeae2;border-radius:11px;background:#fff;align-items:flex-start;font-size:12px;line-height:1.45;cursor:pointer;min-width:0}
.employee-profile-panel .hris-decision-options input{width:17px;min-width:17px;height:17px;flex-shrink:0;margin:0}
.employee-profile-panel .hris-profile-decision textarea{width:100%;max-width:none;resize:vertical;min-height:75px}
.employee-profile-panel .hris-profile-decision>.btn{align-self:flex-start;min-height:42px}
/* Edit Employee modal: contained scrolling, clear sections, permanently reachable actions. */
.modal-card.modal-employee{display:flex!important;flex-direction:column!important;width:min(980px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;max-height:min(92dvh,940px)!important;overflow:hidden!important;border:1px solid #dbe8df!important;border-top:3px solid #23a057!important;border-radius:17px!important;box-shadow:0 26px 75px rgba(22,52,33,.18)!important}
.modal-card.modal-employee>.modal-head{flex:0 0 auto;padding:17px 24px!important;background:#f9fdfa!important;border-bottom:1px solid #e2ebe5!important;align-items:center}
.modal-card.modal-employee>.modal-head h3{font-size:18px!important;line-height:1.3;color:#203d2b!important;margin:0}
.modal-card.modal-employee>.modal-head span{font-size:11px;line-height:1.5;margin-top:4px;color:#748779}
.modal-card.modal-employee>.employee-edit-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;min-height:0!important;align-content:start;padding:20px 24px 0!important;margin:0!important}
.modal-card.modal-employee .hris-employee-basic{padding:19px 20px;border-color:#e0ece4;background:#fff;border-radius:14px}
.modal-card.modal-employee .hris-employee-section-title{margin-bottom:18px;font-size:14px;gap:10px}
.modal-card.modal-employee .hris-employee-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.modal-card.modal-employee .employee-edit-form label{margin:0;line-height:1.4;min-width:0;color:#4b6254;font-size:12px;font-weight:650}
.modal-card.modal-employee .employee-edit-form input:not([type=checkbox]):not([type=radio]),.modal-card.modal-employee .employee-edit-form select{width:100%;min-width:0;min-height:42px;border-color:#dce8df;border-radius:10px}
.modal-card.modal-employee .employee-edit-form textarea{width:100%;min-width:0;min-height:75px;padding:11px 12px;border:1px solid #dce8df;border-radius:10px;resize:vertical}
.modal-card.modal-employee .employee-edit-form :is(input,select,textarea):focus{border-color:#5dbb7e!important;box-shadow:0 0 0 3px rgba(39,157,89,.1)!important}
.modal-card.modal-employee .hris-extended-fields{padding:18px 0 0;margin:15px 0 0;border-color:#e4ede6}
.modal-card.modal-employee .hris-extended-heading{display:flex;align-items:center;gap:9px;font-size:15px!important;color:#23412f}
.modal-card.modal-employee .hris-extended-heading i{color:#238c52}
.modal-card.modal-employee .hris-extended-hint{font-size:12px;line-height:1.55;margin:6px 0 15px}
.modal-card.modal-employee details.hris-extended-group{border:1px solid #dfebe2;border-radius:12px;margin:10px 0;background:#fff;box-shadow:none}
.modal-card.modal-employee details.hris-extended-group>summary{min-height:54px;padding:15px 18px;font-size:13px;line-height:1.45;transition:background .15s;background:#f7fbf8;color:#255c3a}
.modal-card.modal-employee details.hris-extended-group>summary:hover{background:#eaf6ed}
.modal-card.modal-employee details.hris-extended-group[open]>summary{border-bottom:1px solid #e0ebe3;background:#eef8f1}
.modal-card.modal-employee details.hris-extended-group>.hris-extended-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px;padding:20px}
.modal-card.modal-employee .employee-contract-help{border-radius:10px;line-height:1.65}
.modal-card.modal-employee .employee-status-note{grid-column:1/-1;margin-top:12px;line-height:1.6}
.modal-card.modal-employee .modal-actions{position:sticky!important;bottom:0!important;z-index:5!important;grid-column:1/-1!important;display:flex!important;justify-content:flex-end!important;gap:9px!important;margin:18px -24px 0!important;padding:15px 24px calc(15px + env(safe-area-inset-bottom,0px))!important;background:#fff!important;border-top:1px solid #e4eee6!important;box-shadow:0 -7px 18px rgba(17,68,36,.035)}
.modal-card.modal-employee .modal-actions .btn{min-width:105px;min-height:42px}
@media(max-width:1000px){.employee-profile-panel .hris-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.employee-profile-panel .hris-decision-options{grid-template-columns:1fr}}
@media(max-width:760px){.employee-profile-panel .hris-biodata-sections{grid-template-columns:1fr}.employee-profile-panel .hris-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-profile-panel .hris-profile-content .data-table{min-width:560px}.modal-card.modal-employee{width:calc(100vw - 22px)!important;max-width:calc(100vw - 22px)!important;max-height:calc(100dvh - 22px)!important}.modal-card.modal-employee>.employee-edit-form{padding:15px 15px 0!important}.modal-card.modal-employee>.modal-head{padding:14px 16px!important}.modal-card.modal-employee .hris-employee-basic{padding:15px}.modal-card.modal-employee .hris-employee-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.modal-card.modal-employee .modal-actions{margin-left:-15px!important;margin-right:-15px!important;padding-left:15px!important;padding-right:15px!important}.modal-card.modal-employee details.hris-extended-group>.hris-extended-grid{padding:15px}}
@media(max-width:540px){.employee-profile-panel{border-radius:13px!important}.employee-profile-panel>.panel-head{padding:14px 15px!important;align-items:flex-start;gap:10px}.employee-profile-panel .hris-profile-toolbar>div{gap:8px;flex:1 1 100%}.employee-profile-panel .hris-profile-toolbar h2{font-size:16px}.employee-profile-panel .hris-profile-toolbar>.btn{width:100%;justify-content:center}.employee-profile-panel .hris-profile-header{margin:12px 14px 14px;padding:15px;gap:12px;align-items:flex-start}.employee-profile-panel .hris-profile-avatar{width:52px;height:52px;border-radius:14px;font-size:22px}.employee-profile-panel .hris-profile-header h3{font-size:17px;margin-bottom:5px}.employee-profile-panel .hris-profile-header p{font-size:11px;margin-bottom:8px}.employee-profile-panel .hris-profile-tabs{margin:0 14px 18px}.employee-profile-panel .hris-profile-tabs button{min-height:40px;padding:9px 12px}.employee-profile-panel .hris-biodata-profile{margin:0 14px 18px}.employee-profile-panel .hris-biodata-section{padding:14px}.employee-profile-panel .hris-biodata-grid{grid-template-columns:1fr;gap:0}.employee-profile-panel .hris-biodata-field{min-height:0;padding:11px 0}.employee-profile-panel .hris-profile-grid{padding:0 14px 18px;gap:9px}.employee-profile-panel .hris-profile-card{padding:12px;min-height:86px}.employee-profile-panel .hris-profile-card strong{font-size:14px}.employee-profile-panel .hris-profile-content{padding:0 14px 20px}.employee-profile-panel .hris-profile-decision{padding:14px}.employee-profile-panel .hris-profile-decision>.btn{width:100%}.modal-card.modal-employee .hris-employee-basic-grid,.modal-card.modal-employee details.hris-extended-group>.hris-extended-grid{grid-template-columns:1fr}.modal-card.modal-employee>.modal-head h3{font-size:16px!important}.modal-card.modal-employee .modal-actions{gap:9px!important}.modal-card.modal-employee .modal-actions .btn{flex:1;min-width:0;padding:0 8px;font-size:11px}}

/* Employee 360 improvements: reuse existing HRIS colors/components. */
.hris-profile-completeness,.hris-contract-preview{border:1px solid var(--border, #dce8df);background:var(--surface, #fff);border-radius:13px;padding:16px;margin:12px 0}
.hris-profile-completeness>div:first-child{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:baseline}
.hris-profile-completeness small,.hris-preview-grid small{color:var(--text-muted,#64746a);font-size:.82rem}
.hris-profile-completeness-track{height:8px;overflow:hidden;background:#e5eee8;border-radius:100px;margin-top:12px}
.hris-profile-completeness-track span{height:100%;display:block;border-radius:100px;background:#25834b;transition:width .2s}
.hris-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.hris-preview-grid>div{display:flex;flex-direction:column;gap:5px;min-width:0;border:1px solid var(--border,#e2e8e3);border-radius:10px;padding:12px}
.hris-preview-grid b{overflow-wrap:anywhere}
.hris-audit-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;margin:10px 0 14px}
.hris-audit-filters label{display:flex;flex-direction:column;gap:5px;min-width:0}
.hris-audit-filters input,.hris-audit-filters select{width:100%;min-width:0}
@media(max-width:680px){.hris-preview-grid{grid-template-columns:1fr}.hris-audit-filters{grid-template-columns:1fr}.hris-profile-completeness>div:first-child{display:block}}

/* Employee 360: compact seven-day attendance, shared green visual language. */
.employee-profile-panel .hris-attendance-week-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.employee-profile-panel .hris-attendance-week-title h3{margin:0;color:#204d34;font-size:17px}
.employee-profile-panel .hris-attendance-week-title p{margin:5px 0 0;color:#74857b;font-size:12px}
.employee-profile-panel .hris-week-period{font-size:11px;border-radius:99px;padding:6px 10px;background:#edf7f0;color:#287749;font-weight:700}
.employee-profile-panel .hris-attendance-week-list{border:1px solid #e1ece5;border-radius:14px;overflow:hidden;background:#fff}
.employee-profile-panel .hris-week-day{display:grid;grid-template-columns:minmax(120px,1fr) minmax(140px,1.2fr) minmax(124px,.9fr);align-items:center;gap:12px;padding:11px 15px;border-bottom:1px solid #ecf1ed}
.employee-profile-panel .hris-week-day:last-child{border-bottom:0}
.employee-profile-panel .hris-week-date,.employee-profile-panel .hris-week-times>div{display:flex;flex-direction:column;gap:4px}
.employee-profile-panel .hris-week-date strong,.employee-profile-panel .hris-week-times strong{font-size:13px;color:#284d37}
.employee-profile-panel .hris-week-date small,.employee-profile-panel .hris-week-times small{font-size:11px;color:#819287}
.employee-profile-panel .hris-week-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.employee-profile-panel .hris-week-status{font-size:11px;line-height:1.35;font-weight:650;background:#f3f6f4;color:#5e7064;border-radius:9px;padding:7px 9px;text-align:center}
.employee-profile-panel .hris-week-status.is-success{background:#e5f5e9;color:#157343}
.employee-profile-panel .hris-week-status.is-late{background:#fff2df;color:#a76a13}
.employee-profile-panel .hris-week-status.is-alert{background:#fff0ef;color:#a74138}
.employee-profile-panel .hris-week-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.employee-profile-panel .hris-week-summary>div{display:flex;flex-direction:column;gap:5px;border:1px solid #dcebe0;border-radius:12px;padding:13px;background:#f9fcfa}
.employee-profile-panel .hris-week-summary small{font-size:11px;color:#6c8172}
.employee-profile-panel .hris-week-summary strong{font-size:17px;color:#23583c}
.employee-profile-panel .hris-week-summary span{font-size:11px;color:#7b887f}
@media(max-width:800px){.employee-profile-panel .hris-week-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.employee-profile-panel .hris-week-day{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px}.employee-profile-panel .hris-week-times{grid-column:1;grid-row:2}.employee-profile-panel .hris-week-status{grid-column:2;grid-row:1 / span 2;max-width:138px}.employee-profile-panel .hris-week-summary{gap:8px}.employee-profile-panel .hris-week-summary>div{padding:11px}.employee-profile-panel .hris-week-summary strong{font-size:15px}}

/* Employee Schedule: tukar shift preview menggunakan gaya hijau existing. */
.schedule-swap-preview{padding:15px;border:1px solid #cfe6d6;border-radius:13px;background:#f5fbf7;display:grid;gap:12px}
.schedule-swap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.schedule-swap-grid>div{min-width:0;padding:12px;border:1px solid #dcebe0;border-radius:10px;background:white;display:grid;gap:6px}
.schedule-swap-grid small{color:#667b70;font-size:12px}.schedule-swap-grid strong{overflow-wrap:anywhere;font-size:14px}
.employee-schedule-table .schedule-context-row{cursor:pointer}
@media(max-width:700px){.schedule-swap-grid{grid-template-columns:1fr}.schedule-filter-tools{flex-wrap:wrap}}

.schedule-week-preview{padding:12px;border:1px solid #dcebe0;border-radius:12px;background:#f8fcfa;min-width:0}
.schedule-week-preview .temp-schedule-existing-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.schedule-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.schedule-week-day{display:grid;min-width:0;gap:5px;padding:10px 7px;border:1px solid #dcebe0;border-radius:9px;background:#fff}
.schedule-week-day b,.schedule-week-day span{font-size:12px;overflow-wrap:anywhere}
.schedule-week-day small{font-size:11px;color:#667b70}.schedule-week-day.is-off{background:#f0f3f1;color:#67756c}
@media(max-width:950px){.schedule-week-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:540px){.schedule-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Jadwal 7 hari: label otomatis, bukan tombol aksi. */
.schedule-week-auto-hint{display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary,#64748b);font-size:12px;font-weight:500;white-space:normal;}


/* Employee Schedule: single visual hierarchy for temporary overrides and 7-day preview. */
.modal-card.modal-temp-schedule{width:min(940px,calc(100vw - 44px))!important;max-width:calc(100vw - 44px)!important;max-height:min(92dvh,950px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:17px!important;border:1px solid #dcebe1!important}
.modal-card.modal-temp-schedule>.modal-head{flex-shrink:0;background:#f9fcfa;border-bottom:1px solid #e4eee6;padding:17px 23px!important}
.modal-card.modal-temp-schedule .schedule-override-form{min-height:0;overflow:auto;overscroll-behavior:contain;align-content:start;column-gap:16px;row-gap:6px;padding:20px 23px 0!important}
.modal-card.modal-temp-schedule .schedule-override-form>label{min-width:0;margin-bottom:10px}
.modal-card.modal-temp-schedule .schedule-override-form select,.modal-card.modal-temp-schedule .schedule-override-form input{width:100%;min-width:0}
.modal-card.modal-temp-schedule .attendance-edit-identity{grid-column:1/-1;margin:0 0 10px;border-radius:11px}
.modal-card.modal-temp-schedule .attendance-edit-note{grid-column:1/-1;margin:4px 0 14px;border-radius:10px}
.modal-card.modal-temp-schedule .schedule-override-section{min-width:0;margin:0 0 15px;padding:0;border:1px solid #e0ebe3;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 3px 12px rgba(28,91,53,.035)}
.modal-card.modal-temp-schedule .schedule-override-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 17px;border-bottom:1px solid #e7efe9;background:#f8fcf9}
.schedule-override-section-title{display:flex;align-items:center;gap:11px;min-width:0}
.schedule-override-section-icon{flex:0 0 34px;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e8f5ed;color:#26864e}
.schedule-override-section-title h4{margin:0;font-size:13px;line-height:1.4;color:#28553a}
.schedule-override-section-title p{margin:3px 0 0;font-size:11px;line-height:1.5;color:#76877b}
.schedule-override-head-pill,.schedule-override-count{white-space:nowrap;padding:6px 10px;border-radius:999px;background:#e9f5ed;color:#2b8150;font-weight:700;font-size:11px}
.schedule-override-head-pill i{margin-right:4px}
.modal-card.modal-temp-schedule .schedule-week-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:15px!important}
.modal-card.modal-temp-schedule .schedule-week-day{display:flex;flex-direction:column;gap:7px;min-width:0;min-height:94px;padding:12px 13px;border-radius:11px;border:1px solid #dfeae2;background:#fff}
.modal-card.modal-temp-schedule .schedule-week-day small{color:#7b897f;font-size:11px;font-weight:600}
.modal-card.modal-temp-schedule .schedule-week-day b{color:#294d37;font-size:12px;font-weight:700;line-height:1.4;overflow-wrap:break-word}
.modal-card.modal-temp-schedule .schedule-week-day span{margin-top:auto;display:flex;align-items:center;gap:6px;color:#27774a;font-size:11px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.modal-card.modal-temp-schedule .schedule-week-day.is-off{background:#f5f7f6;border-color:#e6ebe8}
.modal-card.modal-temp-schedule .schedule-week-day.is-off span{color:#78877c}
.schedule-override-loading,.schedule-override-empty{padding:22px 16px;color:#718475;font-size:12px;text-align:center;line-height:1.55}
.schedule-override-loading i,.schedule-override-empty i{color:#399662;margin-right:6px}
.modal-card.modal-temp-schedule .temp-schedule-existing-list{display:grid;gap:0;padding:0 15px}
.modal-card.modal-temp-schedule .temp-schedule-existing-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:13px 3px;border:0;border-bottom:1px solid #eef2ef;border-radius:0;background:#fff}
.modal-card.modal-temp-schedule .temp-schedule-existing-row:last-child{border-bottom:0}
.schedule-override-record{display:flex;flex-direction:column;min-width:0;gap:5px}
.schedule-override-record b{font-size:12px;color:#2d5039;font-weight:750;overflow-wrap:anywhere}
.schedule-override-record b i{font-size:10px;margin:0 6px;color:#8a9b90}
.schedule-override-record small{font-size:11px;color:#78877d;overflow-wrap:anywhere}
.modal-card.modal-temp-schedule .modal-actions{position:sticky!important;bottom:0!important;z-index:4;grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;background:#fff;border-top:1px solid #e2ebe5;margin:3px -23px 0!important;padding:14px 23px calc(14px + env(safe-area-inset-bottom,0px))!important;box-shadow:0 -6px 18px rgba(26,75,44,.035)}
@media(max-width:740px){.modal-card.modal-temp-schedule .schedule-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.modal-card.modal-temp-schedule .schedule-override-form{grid-template-columns:1fr!important}.modal-card.modal-temp-schedule .schedule-override-form>label{grid-column:1/-1!important}}
@media(max-width:480px){.modal-card.modal-temp-schedule{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}.modal-card.modal-temp-schedule .schedule-override-form{padding:15px 14px 0!important}.modal-card.modal-temp-schedule .schedule-override-section-head{padding:12px}.modal-card.modal-temp-schedule .schedule-week-grid{gap:8px!important;padding:11px!important}.modal-card.modal-temp-schedule .schedule-week-day{padding:10px;min-height:89px}.modal-card.modal-temp-schedule .schedule-override-section-title p{font-size:10px}.modal-card.modal-temp-schedule .modal-actions{margin:3px -14px 0!important;padding:12px 14px!important}}

/* Schedule layout correction: preview and saved overrides MUST be stacked,
   each spanning the full modal body (desktop and mobile). */
.modal-card.modal-temp-schedule form.schedule-override-form > section.schedule-week-preview,
.modal-card.modal-temp-schedule form.schedule-override-form > section.schedule-override-saved {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
  display: block !important;
  clear: both;
}
.modal-card.modal-temp-schedule form.schedule-override-form > section.schedule-week-preview {
  grid-row: auto;
  margin-bottom: 15px;
}
.modal-card.modal-temp-schedule form.schedule-override-form > section.schedule-override-saved {
  grid-row: auto;
  margin-bottom: 15px;
}

/* Employee detail footer: reuse existing closeEmployeeProfile behavior. */
.employee-profile-panel .hris-employee-profile-footer{display:flex;justify-content:flex-end;align-items:center;padding:16px 24px 20px;border-top:1px solid #e3ede6;background:#fbfdfb;margin-top:6px}
.employee-profile-panel .hris-employee-profile-close{min-width:124px;min-height:42px;display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid #d7e7dc;border-radius:10px}
@media(max-width:600px){.employee-profile-panel .hris-employee-profile-footer{padding:14px 16px 18px}.employee-profile-panel .hris-employee-profile-close{width:100%}}


/* AC Log date range: clear, explicit controls beneath Machine List. */
.machine-log-panel .panel-head{align-items:flex-start}
.machine-log-panel .panel-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}
.machine-log-panel .ac-log-period-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:9px;padding:8px 10px;background:#f4faf6;border:1px solid #d7eade;border-radius:12px;min-width:0}
.machine-log-panel .ac-log-period-date{display:flex;flex-direction:column;gap:5px;min-width:136px;margin:0;font-size:11px;font-weight:750;color:#476552}
.machine-log-panel .ac-log-period-date .hris-date-field{width:150px;max-width:100%}
.machine-log-panel .ac-log-period-date .hris-date-text{background:#fff}
.machine-log-panel .ac-log-period-apply{min-height:40px;background:#229566;border-color:#229566;color:#fff}
@media(max-width:700px){.machine-log-panel .panel-tools{width:100%;align-items:stretch}.machine-log-panel .ac-log-period-controls{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.machine-log-panel .ac-log-period-date{min-width:0}.machine-log-panel .ac-log-period-date .hris-date-field{width:100%}.machine-log-panel .ac-log-period-apply{grid-column:1/-1;width:100%}}

/* AC Log: one consistent, compact filter bar; dates reload automatically like Report. */
.machine-log-panel .ac-log-head{align-items:center;gap:14px;flex-wrap:wrap}
.machine-log-panel .ac-log-filterbar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;flex:1;min-width:0}
.machine-log-panel .ac-log-search{flex:1 1 185px;max-width:260px;min-width:160px;margin:0}
.machine-log-panel .ac-log-time-range{display:flex;align-items:center;gap:9px;padding:6px 11px;border:1px solid #d8e9de;border-radius:11px;background:#f5faf7;min-width:0}
.machine-log-panel .ac-log-range-title{font-size:11px;font-weight:750;color:#35714f;white-space:nowrap;display:flex;align-items:center;gap:6px}
.machine-log-panel .ac-log-period-date{display:flex;flex-direction:row;align-items:center;gap:7px;min-width:0;font-size:11px;font-weight:650;color:#576d60;margin:0}
.machine-log-panel .ac-log-period-date small{font-size:11px;font-weight:650;color:#667f6d}
.machine-log-panel .ac-log-period-date .hris-date-field{width:138px;max-width:100%;margin:0}
.machine-log-panel .ac-log-machine-select{flex:0 1 170px;min-width:145px;max-width:210px}
.machine-log-panel .ac-log-export{flex-shrink:0}
@media(max-width:1120px){.machine-log-panel .ac-log-head{align-items:stretch}.machine-log-panel .ac-log-filterbar{justify-content:flex-start}.machine-log-panel .ac-log-search{max-width:none;flex:1 1 220px}}
@media(max-width:700px){.machine-log-panel .ac-log-filterbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:9px;width:100%}.machine-log-panel .ac-log-search{grid-column:1/-1;width:100%;max-width:none;min-width:0}.machine-log-panel .ac-log-time-range{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;padding:10px}.machine-log-panel .ac-log-range-title{grid-column:1/-1}.machine-log-panel .ac-log-period-date{display:flex;flex-direction:column;align-items:stretch;gap:4px}.machine-log-panel .ac-log-period-date .hris-date-field{width:100%}.machine-log-panel .ac-log-machine-select{width:100%;max-width:none;min-width:0;flex:auto}.machine-log-panel .ac-log-export{width:auto;min-width:94px}}


/* HRIS Workspace Soft Premium | presentation only; no behavioral changes */
:root{--bg:#f5f8f6;--panel:#fff;--line:#e0eae4;--line2:#edf3ef;--text:#20382f;--muted:#718579;--blue:#19734f;--blue2:#115e41;--blue-soft:#eaf6ef;--green:#19875c;--green-soft:#e8f7ee;--shadow:0 7px 25px rgba(22,69,45,.045);--shadow-lg:0 20px 55px rgba(18,61,41,.13);--radius:17px}
html,body,#app{font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif}body{background:var(--bg)}
.boot{background:radial-gradient(circle at 15% 10%,#e0f3e7,transparent 40%),#f6faf7}
.brand-mark{background:linear-gradient(145deg,#2a9c6b,#126746);box-shadow:0 7px 18px rgba(25,117,78,.17)}
.login-shell{background:#f7faf8}.login-visual{background:radial-gradient(circle at 5% 85%,rgba(83,178,120,.18),transparent 40%),linear-gradient(135deg,#eaf7ef,#f6fbf8 55%,#e2f2e9);border-right-color:#dcebe1}.login-visual:before{background-image:linear-gradient(rgba(32,115,72,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(32,115,72,.025) 1px,transparent 1px)}.login-copy h1{letter-spacing:-.05em}.login-copy h1 em{color:#167c54}.login-copy p{color:#647f70}.login-features>div{border-color:#dcece1;background:rgba(255,255,255,.73);border-radius:17px;box-shadow:0 8px 25px rgba(21,79,48,.035)}.login-features i{color:#19865b}.login-panel{background:#fff}.login-card h2{color:#203b2d}.login-hint{background:#f5f9f6}.login-hint code,code{background:#eaf5ee;color:#276344}
.btn{border-radius:11px;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.btn.primary{background:linear-gradient(180deg,#248b60,#16714d);box-shadow:0 6px 15px rgba(20,111,73,.16)}.btn.primary:hover:not(:disabled){box-shadow:0 9px 19px rgba(20,111,73,.23)}.btn.ghost{border-color:#dce8e0;color:#4e6a59}.btn.soft{background:#f2f8f4;border-color:#e0ece3;color:#355d46}
.topbar{background:rgba(255,255,255,.97);border-bottom-color:#e5eee8;box-shadow:0 3px 18px rgba(20,70,42,.025)}.brand{border-right-color:#e7efe9}.menu-bar button{color:#577161;border-radius:10px}.menu-bar button:hover{background:#edf7f0;color:#17764f}.sidebar{background:#fbfdfb;border-right-color:#e3ede6}.sidebar-foot{border-color:#e1ece4;box-shadow:0 6px 20px rgba(23,78,44,.05)}.workspace-head h1{letter-spacing:-.04em;color:#203c2c}
.panel,.toolbar-card,.report-hero{border-color:#e2ece5;box-shadow:var(--shadow)}.panel-head{border-bottom-color:#edf2ee}.panel-head h2{color:#274b35}.panel,.toolbar-card,.report-hero,.login-features>div{transition:box-shadow .2s ease,border-color .2s ease}.panel:hover,.toolbar-card:hover{border-color:#d8e8dd}
input:not([type=checkbox]):not([type=radio]),select,textarea{transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}input:not([type=checkbox]):not([type=radio]):focus,select:focus,textarea:focus{outline-color:#54ac7a;box-shadow:0 0 0 3px rgba(32,139,87,.10)}
button:focus-visible,a:focus-visible,[role=button]:focus-visible{outline:2px solid #2d9b67;outline-offset:2px}
@media(max-width:900px){body{background:#f5f8f6}.topbar{background:rgba(255,255,255,.98)}.workspace{background:#f5f8f6}}
@media(prefers-reduced-motion:reduce){.btn,.panel,.toolbar-card,.report-hero,input,select,textarea{transition:none!important}}

/* Workspace 2.1 | unified surface polish; appearance only */
:root{--premium-ink:#263e32;--premium-border:#e1ebe4;--premium-wash:#f6faf7;--premium-ring:rgba(38,142,91,.13)}
.login-panel{background:linear-gradient(160deg,#fff 50%,#f8fcf9)}
.login-card{padding:clamp(8px,2vw,24px) 0}.login-card h2{font-weight:800;letter-spacing:-.045em}.login-card>p{line-height:1.7}.login-card .mini-logo{background:linear-gradient(145deg,#e3f5e9,#f2faf5);border:1px solid #d6e9dc;box-shadow:0 8px 22px rgba(34,111,67,.07)}
.nav-section>span{color:#879b8d}.nav-section button{border-radius:11px;color:#526b5b}.nav-section button i{color:#799487}.nav-section button:hover{background:#edf6ef;color:#206c48}.nav-section button.active{background:linear-gradient(90deg,#e2f3e7,#f1f9f3);color:#176c48;box-shadow:none!important}.nav-section button.active i{color:#218556}
.avatar,.device-icon{background:#e7f4eb;color:#257a51}.icon-btn{border-color:var(--premium-border);color:#607c6b}.icon-btn:hover{background:#edf7f0;color:#1c7c4d}
.searchbox{border-color:#dce9df;border-radius:11px}.searchbox:focus-within{border-color:#8acba5;box-shadow:0 0 0 3px var(--premium-ring)}
.data-table th{background:#f4f9f5;color:#648071;border-bottom-color:#e0ebe3}.data-table td{border-bottom-color:#edf2ee;color:#40574a}.data-table tbody tr:hover{background:#f5faf6}.data-table tbody tr.selected{background:#eaf6ee}.data-table b{color:#2d4938}
.report-hero{background:linear-gradient(115deg,#eaf6ee,#fff 65%,#f4faf6)}.report-count b{color:#18784f}.report-tabs button{border-color:#dce9e0;color:#577461;border-radius:10px}.report-tabs button:hover{background:#f0f8f2;border-color:#badac4}.report-tabs button.active{background:#e5f4e9;border-color:#b7dec5;color:#1c774d}
.summary-pills{background:#f8fbf9}.summary-pills span{border-color:#e1ece4;border-radius:10px}.department-node{border-color:#e0ebe3;border-radius:13px}.department-node:hover{border-color:#b9dbc5;background:#f9fdf9}.department-node.department-root{border-color:#d0e8d7;background:linear-gradient(180deg,#fff,#f5faf6)}.department-node-icon,.department-root .department-node-icon{background:#e6f4e9;color:#237e51}
.modal-backdrop{background:rgba(18,40,27,.38)}.modal-card{border-color:#dce9df;border-radius:18px;box-shadow:0 24px 65px rgba(18,53,32,.17)}.modal-head{background:#fbfdfb;border-bottom-color:#e8f0ea}.modal-head h3{color:#294734}.modal-actions{border-top-color:#e8f0ea}
.toast{border-color:#dce9df;border-radius:14px;box-shadow:0 14px 40px rgba(25,64,40,.12)}.operation-dock{background:#1c392a;border-color:#315541;box-shadow:0 18px 42px rgba(15,50,30,.23)}
.table-wrap{scrollbar-color:#bbd5c4 transparent}.table-wrap::-webkit-scrollbar-thumb{background:#bbd5c4}.table-wrap::-webkit-scrollbar-track{background:#f6faf7}
@media(max-width:700px){.modal-backdrop{padding:10px}.modal-card{max-height:calc(100dvh - 20px);border-radius:16px}.toast-stack{right:12px;top:76px;width:min(360px,calc(100vw - 24px))}}
@media(prefers-reduced-motion:reduce){.data-table tbody tr,.nav-section button,.toast{transition:none!important;animation:none!important}}



/* ============================================================
   HRIS MODERN ENTERPRISE — visual-only, reference-inspired
   No event handlers, business logic or API modifications.
   ============================================================ */
:root{--bg:#f3f5f7;--panel:#fff;--line:#e8ebee;--line2:#f0f2f4;--text:#29343c;--muted:#75818a;--blue:#00a675;--blue2:#008e66;--blue-soft:#e6f7ef;--green:#00a675;--green-soft:#e8f8f0;--shadow:0 2px 10px rgba(26,43,51,.025);--shadow-lg:0 16px 48px rgba(30,44,50,.10);--radius:14px}
html,body,#app{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#29343c;background:#f3f5f7}
body{background-image:none!important}
.app-shell{background:#f3f5f7!important}
.topbar{background:#fff!important;border-bottom:1px solid #ebedf0!important;box-shadow:none!important;backdrop-filter:none!important}
.topbar .brand strong{color:#25343c!important;letter-spacing:-.025em!important}
.topbar .brand small{color:#88949d!important}
.sidebar{background:#fff!important;background-image:none!important;border-right:1px solid #e8ecee!important;box-shadow:none!important;color:#49565f!important}
.sidebar .nav-section{margin-bottom:12px!important}
.sidebar .nav-section>span{color:#9ba5ab!important;letter-spacing:.07em!important;font-size:10px!important;font-weight:700!important;opacity:1!important}
.sidebar .nav-section>button{background:transparent!important;color:#52606a!important;border:0!important;box-shadow:none!important;border-radius:12px!important;min-height:41px!important;margin:2px 7px!important;font-weight:550!important;transform:none!important;transition:background .16s,color .16s!important}
.sidebar .nav-section>button i{color:#87939b!important}
.sidebar .nav-section>button:hover{background:#f0f6f3!important;color:#008d64!important;transform:none!important}
.sidebar .nav-section>button:hover i{color:#008d64!important}
.sidebar .nav-section>button.active{background:#00a675!important;color:#fff!important;box-shadow:none!important;font-weight:650!important}
.sidebar .nav-section>button.active i{color:#fff!important}
.sidebar .sidebar-collapse-btn{background:#f6f8f9!important;color:#61717b!important;border:1px solid #e8ecee!important;box-shadow:none!important}
.menu-bar button{border-radius:9px!important;color:#53636c!important;transition:background .16s!important}
.menu-bar button:hover{background:#edf7f2!important;color:#008e66!important}
.workspace{background:#f3f5f7!important;padding-top:23px!important;padding-bottom:32px!important}
.workspace-head h1,.workspace h1,.panel-head h2,.panel-head h1{color:#283740!important;letter-spacing:-.025em!important}
.workspace .panel,.workspace .card,.workspace .stat-card,.workspace .summary-card,.workspace .table-card,.toolbar-card{background:#fff!important;border:1px solid #e9edf0!important;border-radius:14px!important;box-shadow:0 2px 10px rgba(33,52,63,.025)!important}
.panel-head{border-bottom-color:#edf0f2!important}
.action-tile{border-radius:12px!important;box-shadow:none!important}
.action-tile:hover{transform:none!important}
input:not([type=checkbox]):not([type=radio]),select,textarea,.p-inputtext,.p-dropdown{border-radius:9px!important;border-color:#e0e6e9!important;box-shadow:none!important}
input:focus,textarea:focus,.p-inputtext:focus,.p-dropdown.p-focus{border-color:#00a675!important;box-shadow:0 0 0 3px rgba(0,166,117,.10)!important}
button.btn,.p-button{border-radius:9px!important;box-shadow:none!important;transform:none!important}
button.btn:not(:disabled):hover,.p-button:not(:disabled):hover{transform:none!important}
.btn.primary,.p-button.p-button-primary{background:#00a675!important;border-color:#00a675!important;color:white!important;box-shadow:none!important}
.btn.primary:hover,.p-button.p-button-primary:hover{background:#008e66!important;border-color:#008e66!important}
.table-wrap,.table-responsive{border-radius:10px!important}
table thead th{background:#f8fafb!important;color:#64737c!important;letter-spacing:0!important;font-size:12px!important;border-bottom:1px solid #e8ecef!important}
table tbody tr:hover{background:#f4faf7!important}
.p-dialog,.modal-card,.dialog-card{border-radius:15px!important;box-shadow:0 18px 60px rgba(30,45,53,.12)!important}
.p-dialog-header,.modal-header{background:#fff!important;border-bottom:1px solid #edf0f2!important}
.p-toast-message{border-radius:12px!important}
/* Minimal, balanced login with an editorial intro instead of dark branding */
.enterprise-login{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(410px,.85fr)!important;min-height:100dvh!important;background:#f4f6f7!important;position:relative}
.enterprise-login-intro{display:flex;flex-direction:column;justify-content:space-between;padding:clamp(34px,5vw,76px);min-height:100dvh;background:#f0f4f2!important;border-right:1px solid #e3eae6;color:#253e35}
.enterprise-login-brand{display:flex;align-items:center;gap:14px}.enterprise-login-brand img{width:48px;height:48px;object-fit:contain}.enterprise-login-brand b{display:block;font-size:20px;letter-spacing:-.035em}.enterprise-login-brand span{display:block;font-size:12px;color:#84948b;margin-top:3px}
.enterprise-login-message{max-width:550px}.enterprise-login-eyebrow,.enterprise-login-form-kicker{font-size:11px;letter-spacing:.13em;color:#008f67;font-weight:750}.enterprise-login-message h1{font-size:clamp(35px,3.5vw,56px);line-height:1.17;letter-spacing:-.05em;margin:20px 0 16px;font-weight:750}.enterprise-login-message p{font-size:15px;line-height:1.8;color:#75847d;max-width:460px}.enterprise-login-caption{font-size:11px;letter-spacing:.1em;color:#96a49b}.enterprise-login-caption span{margin:0 9px}
.enterprise-login .login-panel{display:flex!important;align-items:center;justify-content:center;padding:64px clamp(24px,5vw,90px)!important;min-height:100dvh!important;background:#fff!important;box-shadow:none!important}
.enterprise-login .login-card{width:min(100%,420px)!important;max-width:420px!important;margin:auto!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;transform:none!important}
.enterprise-login .mini-logo{width:54px!important;height:54px!important;display:grid!important;place-items:center;background:#eef7f2!important;border:1px solid #e4f0e9!important;border-radius:13px!important;margin-bottom:22px!important;box-shadow:none!important}
.enterprise-login .mini-logo img{width:34px;height:34px;object-fit:contain}
.enterprise-login .login-card-heading h2{font-size:clamp(25px,2.3vw,32px)!important;line-height:1.25!important;color:#293940!important;letter-spacing:-.035em!important;margin-top:10px!important}
.enterprise-login .login-card-heading p{font-size:13px!important;color:#8a959b!important;margin:10px 0 29px!important;line-height:1.7!important}
.enterprise-login .login-card label{font-size:12px!important;color:#4d5c64!important;font-weight:650!important}
.enterprise-login .input-icon{min-height:50px!important;border:1px solid #e2e7e9!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
.enterprise-login .input-icon:focus-within{border-color:#00a675!important;box-shadow:0 0 0 3px rgba(0,166,117,.09)!important}
.enterprise-login .input-icon input{min-height:48px!important;background:transparent!important}
.enterprise-login .btn.primary.full{min-height:50px!important;margin-top:23px!important;border-radius:10px!important;background:#00a675!important;box-shadow:none!important;font-weight:700!important}
.enterprise-login .login-system-footer{position:absolute;bottom:16px;right:0;width:46%;background:transparent!important;border:0!important;color:#a0aab0!important;font-size:11px!important}
@media(prefers-reduced-motion:reduce){.sidebar .nav-section>button,.menu-bar button{transition:none!important}}


/* HRIS Modern Enterprise — Unified content design (all desktop modules) */
:root{--hris-accent:#00a675;--hris-accent-soft:#e8f7f1;--hris-ink:#303943;--hris-muted:#71808a;--hris-border:#e7ebef;--hris-canvas:#f3f5f7;--hris-surface:#fff;--hris-radius:13px}
.app-shell{background:var(--hris-canvas)!important}
.workspace,.workspace-content{color:var(--hris-ink)}
.workspace :is(.panel,.card,.stat-card,.summary-card,.table-card,.report-card,.filter-card,.info-card,.metric-card,.form-card,.profile-card,.employee-profile-card){background:#fff;border:1px solid var(--hris-border);border-radius:var(--hris-radius);box-shadow:0 2px 9px rgba(30,48,56,.025)}
.workspace :is(.panel-head,.card-head,.section-head,.table-head,.report-head){border-bottom-color:#edf0f2}
.workspace :is(h1,h2,h3,h4){letter-spacing:-.022em;color:#2e3b44}
.workspace :is(.muted,small,.subtext,.hint,.field-hint){color:var(--hris-muted)}
.workspace :is(.btn,.icon-btn,.p-button,.p-button-sm){border-radius:9px;box-shadow:none;transition:background-color .16s,border-color .16s,color .16s}
.workspace :is(.btn.primary,.p-button-primary){background:var(--hris-accent);border-color:var(--hris-accent);color:#fff}
.workspace :is(.btn.ghost,.btn.secondary,.p-button-outlined){background:#fff;border-color:#e3e8eb;color:#51616a}
.workspace :is(.btn.ghost,.btn.secondary,.p-button-outlined):hover{background:#f3f8f5;border-color:#d3e9dd;color:#087953}
.workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.p-inputtext,.p-dropdown,.p-multiselect,.p-calendar,.p-inputnumber-input){background:#fff;border:1px solid #dfe6e9;border-radius:9px;color:#35434c;box-shadow:none}
.workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.p-inputtext):focus{border-color:var(--hris-accent);outline:0;box-shadow:0 0 0 3px rgba(0,166,117,.09)}
.workspace :is(.searchbox,.filter-bar,.filters,.toolbar,.panel-tools,.table-tools,.report-toolbar,.action-bar){border-color:#e8edef}
.workspace :is(.data-table,.simple-data-table,.employee-table,.ac-log-table,.machine-list-table,.p-datatable-table,table){border-color:#edf0f2}
.workspace table thead th,.workspace .p-datatable-thead>tr>th{background:#f7f9fa;color:#667680;border-bottom:1px solid #e8edf0;font-weight:650}
.workspace table tbody td,.workspace .p-datatable-tbody>tr>td{border-bottom-color:#eef1f3;color:#394851}
.workspace table tbody tr:hover td,.workspace .p-datatable-tbody>tr:hover>td{background:#f4faf7}
.workspace :is(.tabs,.tab-list,.report-tabs,.p-tabview-nav){border-color:#e9edf0}
.workspace :is(.badge,.status-badge,.pill,.chip,.p-tag){border-radius:999px}
.workspace :is(.pagination,.p-paginator){background:transparent;border-color:#e9edf0}
.workspace :is(.empty-state,.no-data,.empty-message){color:#75848e}
.workspace :is(.p-accordion-header-link,.p-panel-header,.p-fieldset-legend){background:#fafbfc;border-color:#e8edef;color:#384851}
:is(.modal-card,.dialog-card,.p-dialog,.p-overlaypanel,.p-dropdown-panel,.p-multiselect-panel,.p-datepicker){border:1px solid #e7ecef;border-radius:14px;background:#fff;box-shadow:0 15px 45px rgba(33,50,61,.11)}
:is(.modal-header,.p-dialog-header,.p-dialog-footer){background:#fff;border-color:#edf0f2}
:is(.p-toast-message,.toast){border-radius:11px}
.enterprise-login{grid-template-columns:minmax(0,1fr) minmax(430px,.9fr)!important}
.enterprise-login-intro{background:#f4f7f5!important}
.enterprise-login-message h1{font-size:clamp(32px,3vw,46px)!important;max-width:470px;line-height:1.2!important}
.enterprise-login-message p{max-width:410px!important}
.enterprise-login .login-panel{padding:54px clamp(30px,5vw,84px)!important}
.enterprise-login .login-card{max-width:390px!important}
.enterprise-login .mini-logo{margin-bottom:18px!important}
.enterprise-login .login-card-heading h2{font-size:29px!important;margin-top:0!important}
.enterprise-login .login-card-heading p{margin:8px 0 24px!important}
.enterprise-login .login-card label{display:block;margin:15px 0 7px!important}
.enterprise-login .login-system-footer{width:auto!important;right:25px!important;bottom:17px!important}
@media(max-width:900px){
 
 
 
 
 
 
 .workspace :is(.panel,.card,.stat-card,.summary-card,.table-card){border-radius:12px}
}


/* Enterprise visual system — module interiors, not just shell */
:root{
 --bg:#f3f5f7;--panel:#fff;--line:#e6eaee;--line2:#edf0f2;
 --text:#303943;--muted:#78858f;--blue:#009e72;--blue2:#008a62;
 --blue-soft:#e7f6ef;--green:#009e72;--green-soft:#e7f6ef;
 --shadow:0 2px 10px rgba(28,47,55,.035);--shadow-lg:0 14px 38px rgba(28,47,55,.12);--radius:13px;
 --hris-accent:#009e72;--hris-accent-soft:#e7f6ef
}
.workspace .toolbar-card,.workspace .panel,.workspace .report-hero,.workspace .report-filter,
.workspace .device-toolbar,.workspace .machine-log-panel,.workspace .department-node,
.workspace .department-node.department-root{
 background:#fff!important;border:1px solid #e6eaee!important;
 box-shadow:0 2px 10px rgba(28,47,55,.035)!important;border-radius:13px!important;
}
.workspace .report-hero{background:#fff!important}
.workspace .toolbar-main .action-tile,.workspace .action-tile.primary,
.workspace .action-tile,.workspace .action-tile>i{
 background:#f8faf9!important;border-color:#e6ece9!important;color:#52645e!important;
 box-shadow:none!important
}
.workspace .action-tile{border-radius:10px!important}
.workspace .action-tile:hover:not(:disabled){background:#eef8f3!important;border-color:#b9e5d0!important}
.workspace .action-tile.primary,.workspace .action-tile.primary>i{background:#e8f7ef!important;color:#008e65!important}
.workspace .action-tile b{color:#34443e!important}
.workspace .btn.primary,.workspace .btn:not(.ghost):not(.soft):not(.warning):not(.danger-ghost).primary{
 background:#009e72!important;border-color:#009e72!important;color:white!important;box-shadow:none!important
}
.workspace .btn.soft,.workspace .btn.ghost,.workspace .icon-btn,
.workspace .dock-btn,.workspace .mini-device-btn{
 background:#fff!important;border-color:#e1e8e5!important;color:#52665c!important;box-shadow:none!important
}
.workspace .btn.soft:hover,.workspace .btn.ghost:hover,.workspace .icon-btn:hover{
 background:#eff8f3!important;color:#008e65!important;border-color:#c8e6d5!important
}
.workspace .report-tabs button,.workspace .summary-pills span,
.workspace .department-node-stats>span{
 background:#fff!important;border-color:#e4ebe7!important;color:#56675f!important;
 box-shadow:none!important;border-radius:9px!important
}
.workspace .report-tabs button.active{
 background:#e7f6ef!important;border-color:#c6e7d4!important;color:#007e5b!important
}
.workspace .data-table thead th,.workspace .data-table thead td,
.workspace .p-datatable-thead>tr>th{
 background:#f5f8f7!important;color:#61726a!important;border-color:#e7ece9!important;
 box-shadow:none!important
}
.workspace .data-table tbody td,.workspace .data-table tbody tr:nth-child(even):not(.machine-row) td{
 background:#fff!important;border-color:#edf1ee!important
}
.workspace .data-table tbody tr:hover td,.workspace .data-table tbody tr.machine-row:hover td{
 background:#f1faf5!important
}
.workspace .data-table tbody tr.machine-row.selected td{background:#eaf7f0!important}
.workspace .device-icon,.workspace .department-node-icon,
.workspace .department-root .department-node-icon{
 background:#e8f7ef!important;color:#008e65!important;border-color:#d8efe3!important
}
.workspace .department-node:hover{background:#f7fbf8!important;border-color:#c6e7d4!important}
.workspace .summary-pills{background:#fff!important}
.workspace .report-count b{color:#009e72!important}
.workspace input:focus,.workspace select:focus,.workspace textarea:focus{
 border-color:#009e72!important;box-shadow:0 0 0 3px rgba(0,158,114,.09)!important
}
.workspace .status-online,.workspace .badge.success,.workspace .tag.success{color:#007e5b!important;background:#e8f7ef!important}
.workspace .machine-quick-dock{background:#fff!important;border-color:#e2eae5!important;box-shadow:0 10px 30px rgba(28,47,55,.10)!important}
.workspace .dock-btn.connect,.workspace .mini-device-btn.connect{
 background:#e8f7ef!important;color:#008e65!important;border-color:#cce9da!important
}
.workspace .dock-btn.download,.workspace .mini-device-btn.download{
 background:#f1f8f5!important;color:#168466!important;border-color:#dcece4!important
}
.workspace .report-hero,.workspace .report-tabs,.workspace .report-filter,
.workspace .summary-pills{border-bottom-color:#e8eeea!important}
.modal-card,.modal-card .modal-head,.modal-card .form-grid{background:#fff!important}
.modal-card .btn.primary{background:#009e72!important;box-shadow:none!important}
@media(max-width:900px){
 .workspace .toolbar-card,.workspace .panel,.workspace .report-hero{background:#fff!important;border-color:#e6eaee!important}
}


/* HRIS Emerald Workspace unified chromatic language, visual only */
:root{--hris-accent:#009e72;--hris-accent-soft:#e7f6ef;--hris-ink:#263e35;--hris-muted:#71867a;--hris-border:#dcebe2;--hris-canvas:#f0f6f2;--hris-surface:#fff;--green:#009e72;--green-soft:#e7f6ef;--blue:#009e72;--blue2:#008961;--blue-soft:#e7f6ef;--bg:#f0f6f2;--line:#dcebe2;--line2:#e8f1eb;--text:#263e35;--muted:#71867a}
body,.app-shell,.workspace{background:#f0f6f2!important}
/* Solid, luminous green navigation rather than dark gradients */
.sidebar{background:#148b68!important;background-image:none!important;border-right:1px solid #12815f!important;color:#f7fffb!important;box-shadow:3px 0 16px rgba(22,96,72,.08)!important}
.sidebar .nav-section>span{color:#c3e9d8!important;opacity:1!important}
.sidebar .nav-section>button{color:#e6f8ee!important;background:transparent!important;border:1px solid transparent!important;box-shadow:none!important}
.sidebar .nav-section>button i{color:#d4f0e1!important}
.sidebar .nav-section>button:hover{background:rgba(255,255,255,.13)!important;color:#fff!important}
.sidebar .nav-section>button:hover i{color:#fff!important}
.sidebar .nav-section>button.active{background:#fff!important;color:#087653!important;border-color:#fff!important;font-weight:750!important;box-shadow:0 3px 10px rgba(0,66,45,.08)!important}
.sidebar .nav-section>button.active i{color:#087653!important}
.sidebar .sidebar-collapse-btn{background:rgba(255,255,255,.16)!important;color:#fff!important;border-color:rgba(255,255,255,.25)!important}
.sidebar .sidebar-collapse-btn:hover{background:rgba(255,255,255,.24)!important;color:#fff!important}
.sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.27)!important}
.sidebar .mobile-sidebar-head{color:#fff!important}
.sidebar .mobile-sidebar-head .icon-btn{color:#fff!important;background:rgba(255,255,255,.15)!important;border-color:rgba(255,255,255,.2)!important}
/* Surface rhythm: pastel headers and gently colored content, not monochrome white */
.workspace .panel,.workspace .toolbar-card,.workspace .table-card,.workspace .report-card,.workspace .filter-card,.workspace .form-card,.workspace .stat-card,.workspace .summary-card,.workspace .info-card,.workspace .department-node{border-color:#dcebe2!important;box-shadow:0 3px 12px rgba(26,81,55,.035)!important}
.workspace .toolbar-card,.workspace .device-toolbar,.workspace .report-filter,.workspace .filter-card{background:#f4faf6!important}
.workspace .report-hero{background:#e8f6ee!important;border:1px solid #d5eadd!important;box-shadow:none!important}
.workspace .report-hero h2,.workspace .workspace-head h1{color:#1f503c!important}
.workspace .summary-pills{background:#f2f9f4!important}
.workspace .summary-pills span{background:#fff!important;border-color:#d8eadf!important}
.workspace .panel-head,.workspace .card-head,.workspace .section-head,.workspace .table-head,.workspace .report-head{background:#f5faf7!important;border-bottom:1px solid #e0eee5!important}
.workspace .toolbar-main .action-tile,.workspace .action-tile{background:#eef7f1!important;border-color:#d9e9dd!important;color:#3b6651!important}
.workspace .action-tile>i{background:#dff1e5!important;color:#158762!important}
.workspace .action-tile.primary,.workspace .action-tile.primary>i{background:#d8f2e4!important;color:#087b56!important}
.workspace .action-tile:hover:not(:disabled){background:#e0f4e8!important;border-color:#acd9c0!important}
.workspace .action-tile b{color:#28513c!important}
.workspace .device-toolbar .toolbar-main .action-tile:nth-child(3n/**/+2){background:#eff6fa!important;border-color:#dceaf0!important}
.workspace .device-toolbar .toolbar-main .action-tile:nth-child(3n/**/+2)>i{background:#e0edf5!important;color:#3c7890!important}
.workspace .device-toolbar .toolbar-main .action-tile:nth-child(3n){background:#f6f5ed!important;border-color:#ece8d5!important}
.workspace .device-toolbar .toolbar-main .action-tile:nth-child(3n)>i{background:#f0eddb!important;color:#8b8145!important}
/* Tinted data table header and soft zebra rhythm */
.workspace .data-table thead th,.workspace .data-table thead td,.workspace table thead th,.workspace .p-datatable-thead>tr>th{background:#e8f3ed!important;color:#315e49!important;border-color:#d7e7dc!important}
.workspace .data-table tbody tr:nth-child(even) td,.workspace table tbody tr:nth-child(even) td{background:#f8fbf9!important}
.workspace .data-table tbody tr:hover td,.workspace table tbody tr:hover td{background:#eaf6ee!important}
.workspace .data-table tbody tr.machine-row.selected td{background:#dff3e7!important}
.workspace .device-icon,.workspace .department-node-icon{background:#def2e5!important;color:#13845e!important}
.workspace .department-node.department-root{background:#edf8f1!important;border-color:#cfe8d7!important}
.workspace .department-node-stats>span{background:#f1f8f3!important;border-color:#dcebe1!important}
.workspace .report-tabs{background:#f5faf7!important}
.workspace .report-tabs button{background:#fff!important;border-color:#dcebe2!important}
.workspace .report-tabs button.active{background:#dff3e7!important;border-color:#bfe3ce!important;color:#087b56!important}
.workspace .btn.soft,.workspace .btn.ghost,.workspace .icon-btn{background:#f4faf6!important;border-color:#d8e9df!important;color:#426753!important}
.workspace .btn.primary{background:#009e72!important;border-color:#009e72!important;color:#fff!important}
.workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.workspace textarea{background:#fcfffd!important;border-color:#d5e6db!important}
.workspace :is(.badge,.status-badge,.pill,.chip,.p-tag){border-radius:999px}
.workspace .pagination,.workspace .p-paginator{background:#f6faf7!important}
.modal-card,.p-dialog{border-color:#dbeadf!important}
.modal-head,.p-dialog-header{background:#f3faf5!important;border-bottom-color:#dcebe2!important}
/* Keep text and alert colors meaningful: do not recolor destructive or warning actions */
@media(max-width:900px){.sidebar{background:#148b68!important}.workspace .toolbar-card,.workspace .report-filter{background:#f4faf6!important}.workspace .data-table thead th{background:#e8f3ed!important}}
/* coherent emerald navigation, responsive drawer and calm login */
:root{--hris-nav:#148b68;--hris-nav-deep:#117957;--hris-nav-hover:#1b9974;--hris-nav-active:#2ba27d}
.sidebar,.app-shell .sidebar{background:#148b68!important;background-image:none!important;border-right:1px solid #117957!important;color:#f2fff8!important}
.sidebar .nav-section>span{color:#bfe8d7!important}
.sidebar .nav-section>button{background:transparent!important;color:#eaf9f1!important;border:1px solid transparent!important;border-radius:10px!important;box-shadow:none!important}
.sidebar .nav-section>button i{color:#d5f0e3!important}
.sidebar .nav-section>button:hover:not(.active),.sidebar .nav-section>button:focus-visible:not(.active){background:#1b9974!important;color:#fff!important;border-color:rgba(255,255,255,.12)!important;box-shadow:none!important}
.sidebar .nav-section>button:hover:not(.active) i{color:#fff!important}
.sidebar .nav-section>button.active,.sidebar .nav-section>button.active:hover{background:#2ba27d!important;color:#fff!important;border-color:transparent!important;box-shadow:none!important}
.sidebar .nav-section>button.active i{color:#fff!important}
.sidebar .sidebar-collapse-btn,.sidebar .mobile-sidebar-head .icon-btn{background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.2)!important;color:#fff!important}
/* Header: unified emerald brand strip without overwhelming the working area */
.app-shell .topbar{background:#f5faf7!important;border-bottom:1px solid #d7e9df!important;box-shadow:0 2px 9px rgba(17,89,61,.035)!important}
.app-shell .topbar .brand{color:#16694f!important}
.app-shell .topbar .brand strong{color:#176d50!important}
.app-shell .topbar .brand small{color:#6b9380!important}
.app-shell .topbar .brand-mark{background:#e4f4eb!important;border:1px solid #d1e9db!important;box-shadow:none!important}
.app-shell .topbar .menu-bar button:hover{background:#e3f3ea!important;color:#087952!important}
.app-shell .topbar .avatar,.app-shell .topbar .icon-btn{background:#e6f5ed!important;border-color:#d3eadc!important;color:#14805e!important}
/* Login: less decoration, consistent alignment, calmer scale */
.enterprise-login{grid-template-columns:minmax(0,1fr) minmax(400px,.9fr)!important;background:#f5f8f6!important}
.enterprise-login-intro{background:#eaf5ef!important;border-right:1px solid #d7e9df!important;padding:clamp(30px,4.5vw,68px)!important}
.enterprise-login-message{max-width:500px!important}
.enterprise-login-message h1{font-size:clamp(30px,3.1vw,45px)!important;line-height:1.2!important;letter-spacing:-.038em!important;color:#194f3b!important}
.enterprise-login-message p{color:#688578!important;font-size:14px!important;line-height:1.75!important}
.enterprise-login-eyebrow{color:#208665!important;letter-spacing:.09em!important}
.enterprise-login .login-panel{background:#fff!important;padding:42px clamp(24px,5vw,75px)!important}
.enterprise-login .login-card{max-width:400px!important;width:100%!important}
.enterprise-login .mini-logo{background:#edf7f1!important;border-color:#dcece3!important}
.enterprise-login .login-card-heading h2{font-size:29px!important;letter-spacing:-.035em!important;color:#203f34!important}
.enterprise-login .login-card-heading p{font-size:13px!important;color:#73867d!important;margin:9px 0 25px!important}
.enterprise-login .login-card label{color:#405a4e!important;margin:15px 0 7px!important}
.enterprise-login .input-icon{background:#fbfdfb!important;border-color:#dce8e0!important;border-radius:11px!important}
.enterprise-login .btn.primary.full{background:#148b68!important;border-color:#148b68!important;border-radius:11px!important;box-shadow:none!important}
.enterprise-login .btn.primary.full:hover{background:#117957!important}
.enterprise-login .login-system-footer{color:#8a9d92!important}
@media(max-width:900px){
 .app-shell .sidebar,.app-shell.mobile-sidebar-open .sidebar,.sidebar{background:#148b68!important;background-image:none!important;color:#fff!important;border-right-color:#117957!important}
 .sidebar .mobile-sidebar-head{color:#fff!important;border-bottom-color:rgba(255,255,255,.15)!important}
 .sidebar .nav-section>button,.sidebar .nav-section>button i{color:#eaf9f1!important}
 .sidebar .nav-section>span{color:#bfe8d7!important}
 .app-shell .topbar{background:#f5faf7!important}
 .app-shell .topbar .mobile-nav-toggle{background:#e6f5ed!important;color:#14805e!important;border-color:#d3eadc!important}
 
 
 
 
 
 
 
}

/* Employee workspace scoped layout, preserve all controls and behavior */
.employee-workspace{--emp-ink:#263a48;--emp-muted:#6f7f8a;--emp-border:#e2e8ed;--emp-blue:#eaf3ff;--emp-peach:#fff4e7;--emp-mint:#eaf7f1;--emp-lilac:#f1efff;background:#fff!important;border:1px solid var(--emp-border)!important;border-radius:18px!important;overflow:hidden;box-shadow:0 9px 28px rgba(39,65,77,.045)!important}
.employee-workspace>.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:26px 27px 21px!important;background:linear-gradient(112deg,#edf7f3 0%,#f1f5fc 57%,#fff7ed 100%)!important;border-bottom:1px solid #e2eae9!important;flex-wrap:wrap}
.employee-heading{min-width:200px;display:flex;flex-direction:column;gap:6px}
.employee-eyebrow{font-size:10px;letter-spacing:.105em;font-weight:800;color:#27836d;display:flex;gap:8px;align-items:center}
.employee-heading h2{font-size:24px!important;letter-spacing:-.035em!important;line-height:1.2!important;color:var(--emp-ink)!important;margin:0!important}
.employee-heading p{font-size:12px;line-height:1.5;color:var(--emp-muted);margin:0}
.employee-workspace .employee-tools{align-items:center;gap:9px!important;flex:1;justify-content:flex-end}
.employee-workspace .employee-tools .searchbox{background:#fff!important;border:1px solid #dbe4e9!important;border-radius:11px!important;min-height:40px;box-shadow:0 2px 5px rgba(41,62,73,.025)}
.employee-workspace .employee-tools select{background:#fff!important;border:1px solid #dbe4e9!important;border-radius:11px!important;min-height:40px;box-shadow:none!important}
.employee-workspace .employee-tools .btn{min-height:40px;border-radius:11px!important;padding-inline:14px!important;font-weight:650}
.employee-workspace .employee-tools .btn.soft{background:#eaf3ff!important;color:#315f91!important;border:1px solid #d4e6fa!important}
.employee-workspace .employee-tools .btn.primary{background:#07966e!important;border-color:#07966e!important;color:white!important}
.employee-workspace .table-wrap{margin:19px 20px 0!important;border:1px solid #e4eaf0!important;border-radius:13px!important;overflow:auto;background:#fff!important}







.employee-workspace .bulk-selection-toolbar{margin:16px 20px 0!important;border-radius:12px!important;background:#f1efff!important;border-color:#e1dcfa!important;color:#4b4781!important}
.employee-profile-panel{border-color:#e0e8ee!important;box-shadow:0 8px 28px rgba(39,65,77,.045)!important}
.employee-profile-panel .hris-profile-header{background:linear-gradient(110deg,#e9f7f0,#edf4ff 65%,#fff7ec)!important;border-radius:14px!important}
.employee-profile-panel .hris-profile-card:nth-child(4n/**/+1){background:#edf7f2!important;border-color:#d8ece1!important}
.employee-profile-panel .hris-profile-card:nth-child(4n/**/+2){background:#eef4fd!important;border-color:#dae6f6!important}
.employee-profile-panel .hris-profile-card:nth-child(4n/**/+3){background:#fff5e9!important;border-color:#f2e4cf!important}
.employee-profile-panel .hris-profile-card:nth-child(4n){background:#f3f0ff!important;border-color:#e6e0fa!important}
@media(max-width:900px){.employee-workspace>.panel-head{padding:20px 16px!important;gap:16px}.employee-workspace .employee-tools{justify-content:flex-start;width:100%}.employee-workspace .employee-tools .searchbox.wide{min-width:min(100%,280px)}.employee-workspace .table-wrap{margin:12px 10px 0!important}.employee-heading h2{font-size:21px!important}}


/* HRIS Emerald Workspace restrained multicolor, one visual language.
   Colors convey hierarchy; do not alter component layout or interactions. */
:root{
 --hris-accent:#128e68;--hris-accent-soft:#e7f5ed;
 --hris-canvas:#f4f6f5;--hris-surface:#fff;
 --hris-ink:#34433f;--hris-muted:#71817b;--hris-border:#e3eae6;
 --hris-sage:#e9f1e9;--hris-sand:#f8f0e3;
 --hris-sky:#eaf1f5;--hris-lavender:#f1eef7;
 --hris-rose:#f8eeeb;
}
/* Employee: harmonize blue with a sage/sand/sky palette. */
.employee-workspace>.panel-head{background:linear-gradient(105deg,#e7f4eb 0%,#f6f1e7 55%,#f4f6f5 100%)!important;border-bottom:1px solid #e3eae6!important}
.employee-workspace .employee-eyebrow{color:#187d61!important}
.employee-workspace .employee-tools .btn.soft{background:#eaf1f5!important;border-color:#dbe6eb!important;color:#476578!important}
.employee-workspace .table-wrap{border-color:#e3eae6!important}




.employee-workspace .bulk-selection-toolbar{background:#f1eef7!important;border-color:#e5dff0!important;color:#625875!important}
.employee-profile-panel .hris-profile-header{background:linear-gradient(110deg,#e8f4eb,#f8f0e3 67%,#f4f6f5)!important}
.employee-profile-panel .hris-profile-card:nth-child(4n/**/+1){background:#eaf4ec!important;border-color:#dbe9df!important}
.employee-profile-panel .hris-profile-card:nth-child(4n/**/+2){background:#eaf1f5!important;border-color:#dce7ec!important}
.employee-profile-panel .hris-profile-card:nth-child(4n/**/+3){background:#f8f0e3!important;border-color:#eee3d2!important}
.employee-profile-panel .hris-profile-card:nth-child(4n){background:#f1eef7!important;border-color:#e7e0f0!important}
/* Muted color for content surfaces across departments, leave, schedules, field access, database. */
.workspace :is(.department-tree,.leave-log-section-block,.field-attendance-log-section,.schedule-override-record,.attendance-setting-group,.database-backup-card){border-color:#e3eae6!important}
.workspace :is(.department-heading,.leave-log-section-block>.panel-head,.schedule-override-section-head,.field-attendance-log-head){background:#edf4ee!important;border-color:#dfe9e1!important}
.workspace :is(.leave-center-entry-card,.schedule-override-record,.attendance-setting-item){background:#fbfaf7!important;border-color:#e9e6de!important}
.workspace :is(.department-node,.database-backup-card,.field-attendance-log-section){background:#f9fbfa!important;border-color:#e2eae6!important}
.workspace :is(.schedule-flow-note,.field-attendance-access-link){background:#eaf1f5!important;border-color:#dce7ec!important;color:#486a7a!important}
.workspace :is(.schedule-override-head-pill,.annual-leave-quota-badge){background:#f8f0e3!important;border-color:#eee1cb!important;color:#826942!important}
.workspace :is(.annual-leave-setting,.annual-leave-quota-summary){background:linear-gradient(110deg,#eaf4ec,#f8f1e6)!important;border-color:#e0e9df!important}
.workspace :is(.attendance-settings-form-group,.shift-form,.shift-pattern-grid){border-color:#e3eae6!important;background:#fbfcfa!important}
.workspace :is(.department-node-icon,.field-attendance-access-icon,.schedule-override-section-icon){background:#e4f2e8!important;color:#168563!important}
/* Functional colors retain meaning: error red, warning amber, success emerald. */
.workspace :is(.badge.info,.tag.info,.p-tag-info){background:#eaf1f5!important;color:#456b81!important}
.workspace :is(.badge.warning,.tag.warning,.p-tag-warning){background:#faf0dc!important;color:#8a672b!important}
.workspace :is(.badge.neutral,.tag.neutral){background:#eff1f0!important;color:#697873!important}
/* Subtle alternating backgrounds in tables without introducing high contrast. */
.workspace .data-table tbody tr:nth-child(even):not(.selected):not(.bulk-row-selected) td{background:#f9fbf9!important}
.workspace .data-table tbody tr:hover td{background:#eef7f1!important}
/* Keep machine and report layout intact; only quiet complementary color accents. */
.workspace :is(.report-filter,.device-toolbar){background:#f8faf8!important}
.workspace :is(.report-tabs,.summary-pills){background:#f3f6f2!important}
.workspace .report-tabs button.active{background:#e4f2e8!important;color:#147d5c!important}
/* Modal and popover details share the same restrained palette. */
:is(.modal-card,.dialog-card,.p-dialog){border-color:#e2eae6!important}
:is(.modal-head,.p-dialog-header){background:#f7faf7!important}
:is(.modal-footer,.p-dialog-footer){background:#fbfaf7!important}
@media(max-width:900px){
 .employee-workspace>.panel-head{background:linear-gradient(130deg,#e8f4eb,#f8f1e6)!important}
 .workspace :is(.leave-center-entry-card,.database-backup-card,.department-node){box-shadow:none!important}
}

/* REFINED WORKSPACE muted polychrome content design, emerald brand */
:root{--rw-emerald:#168b6a;--rw-slate:#758ba0;--rw-slate-ink:#52677a;--rw-slate-bg:#edf2f6;--rw-sand:#c3a577;--rw-sand-bg:#f7f1e8;--rw-mauve:#a694b3;--rw-mauve-bg:#f3eff6;--rw-clay:#bd9187;--rw-clay-bg:#f7f0ed;--rw-sage:#91aa9a;--rw-sage-bg:#eff3ef;--rw-line:#e5e8e8;--rw-ink:#35434a}
/* Neutral foundations: remove blanket green from content surfaces */
.workspace{background:#f1f3f4!important;color:var(--rw-ink)}
.workspace :is(.panel,.toolbar-card,.filter-card,.report-filter,.device-toolbar,.table-card,.form-card){border-color:var(--rw-line)!important;box-shadow:0 2px 9px rgba(37,52,62,.035)!important}
.workspace :is(.panel-head,.toolbar-main,.report-hero,.department-heading,.leave-log-section-block>.panel-head,.schedule-override-section-head,.field-attendance-log-head){background:#f0f2f4!important;border-color:#e2e7e9!important;color:#36434b!important}
.workspace :is(.panel-head h2,.panel-head h3,.report-hero h2){color:#36434b!important}
/* Slate-based data tables: header, borders and hover no longer green */
.workspace :is(.data-table,.employee-table,.p-datatable-table) thead th,.workspace .p-datatable-thead>tr>th{background:#eaf0f4!important;color:#4e6577!important;border-color:#dce5eb!important}
.workspace :is(.data-table,.employee-table) tbody tr:nth-child(even):not(.selected):not(.bulk-row-selected) td{background:#f6f8fa!important}
.workspace :is(.data-table,.employee-table) tbody tr:hover td,.workspace .p-datatable-tbody>tr:hover>td{background:#edf2f6!important}
.workspace :is(.data-table,.employee-table) tbody td{border-color:#e9edf0!important}
.workspace :is(.employee-pagination,.p-paginator){background:#eef2f5!important;border-color:#e1e7eb!important}
/* Employee: distinct warm neutral header and slate data region */
.workspace .employee-workspace>.panel-head{background:#f0f2f4!important;border-bottom:1px solid #e1e6e9!important}
.workspace .employee-workspace .employee-eyebrow{color:#667f91!important}
.workspace .employee-workspace .employee-tools .btn.soft{background:#e9eff4!important;color:#536c80!important;border-color:#dce5ec!important}
.workspace .employee-workspace .table-wrap{border-color:#dfe6eb!important}




.workspace .employee-workspace .bulk-selection-toolbar{background:#f3eff6!important;border-color:#e7dfee!important;color:#6d5d78!important}
/* Profile cards: gentle variation, one surface per category */
.workspace .employee-profile-panel .hris-profile-header{background:#edf2f6!important;border-color:#dce5eb!important}
.workspace .employee-profile-panel .hris-profile-card:nth-child(4n/**/+1){background:#eef2f6!important;border-color:#e0e7ec!important}
.workspace .employee-profile-panel .hris-profile-card:nth-child(4n/**/+2){background:#f7f1e8!important;border-color:#ece3d7!important}
.workspace .employee-profile-panel .hris-profile-card:nth-child(4n/**/+3){background:#f2eef5!important;border-color:#e7e0ed!important}
.workspace .employee-profile-panel .hris-profile-card:nth-child(4n){background:#eef3ef!important;border-color:#e0e9e1!important}
/* Functional modules get intentional subtle color families */
.workspace :is(.department-tree,.department-node,.department-heading){border-color:#e0e6eb!important}
.workspace .department-heading{background:#edf2f6!important}
.workspace .department-node{background:#f8f9fa!important}
.workspace .department-node:nth-child(even){background:#f2f5f7!important}
.workspace :is(.leave-center-entry-card,.annual-leave-setting,.annual-leave-quota-summary){background:#f7f1e8!important;border-color:#ebe1d3!important}
.workspace :is(.leave-log-section-block>.panel-head,.annual-leave-setting .panel-head){background:#f4ede3!important}
.workspace :is(.schedule-override-record,.schedule-flow-note,.shift-form,.shift-pattern-grid){background:#f3eff6!important;border-color:#e7e0ed!important}
.workspace :is(.attendance-setting-item,.attendance-settings-form-group,.database-backup-card){background:#edf2f6!important;border-color:#dfe6ec!important}
.workspace :is(.field-attendance-log-section,.field-attendance-access-link){background:#eff3ef!important;border-color:#e1e9e2!important}
.workspace :is(.schedule-override-head-pill,.annual-leave-quota-badge){background:#f5e9d7!important;border-color:#ebdbc3!important;color:#806647!important}
/* Keep machine/report structural layout, use neutral/slate surfaces */
.workspace :is(.report-filter,.device-toolbar){background:#f0f2f4!important}
.workspace :is(.report-tabs,.summary-pills){background:#edf1f3!important}
.workspace .report-tabs button:not(.active){background:#f5f6f7!important;color:#60707b!important;border-color:#e2e7ea!important}
.workspace .report-tabs button.active{background:#e5f2ea!important;color:#157a5e!important}
.workspace :is(.machine-list-panel,.machine-log-panel)>.panel-head{background:#edf2f6!important}
.workspace :is(.machine-list-panel,.machine-log-panel) .data-table thead th{background:#e9eff3!important;color:#506778!important}
/* Semantic accents, not decorative green repetition */
.workspace :is(.badge.info,.tag.info,.p-tag-info){background:#e8eff5!important;color:#4c687f!important}
.workspace :is(.badge.warning,.tag.warning,.p-tag-warning){background:#f6eddd!important;color:#84663c!important}
.workspace :is(.badge.danger,.tag.danger,.p-tag-danger){background:#f6eae7!important;color:#a16b61!important}
.workspace :is(.badge.neutral,.tag.neutral){background:#ebeff1!important;color:#65747e!important}
/* Dialogs and filters */
:is(.modal-head,.p-dialog-header){background:#edf2f6!important}
:is(.modal-footer,.p-dialog-footer){background:#f5f3f0!important}
.workspace :is(.searchbox,.filter-bar,.filters){border-color:#e0e6eb!important}
.workspace :is(.btn.soft,.btn.ghost){background:#f0f3f5!important;border-color:#dfe5e9!important;color:#506675!important}
.workspace :is(.btn.soft,.btn.ghost):hover{background:#e6edf2!important;border-color:#d2dee6!important;color:#3f5c70!important}
.workspace :is(.btn.primary,.p-button-primary){background:#168b6a!important;border-color:#168b6a!important;color:white!important}
/* Mobile: same tokens, preserve existing menu structure and table overflow */
@media(max-width:900px){.workspace .employee-workspace>.panel-head{background:#f0f2f4!important}.workspace :is(.panel-head,.report-filter,.device-toolbar){border-color:#e1e6e9!important}}


/* Machine & AC Log tables: restrained neutral slate, emerald only for actions/status */
.workspace .machine-list-panel .data-table thead th,
.workspace .machine-log-panel .data-table thead th,
.workspace .machine-log-panel .machine-log-table thead th{
 background:#e9edf1!important;background-image:none!important;color:#455666!important;
 border-color:#d9e0e6!important;box-shadow:none!important
}
.workspace .machine-list-panel .data-table thead th:first-child,
.workspace .machine-log-panel .data-table thead th:first-child{
 box-shadow:none!important;border-top:0!important
}
.workspace .machine-list-panel .data-table tbody td,
.workspace .machine-log-panel .data-table tbody td{
 background:#fff!important;border-bottom:1px solid #e9edf0!important;color:#394650!important
}
.workspace .machine-list-panel .data-table tbody tr:nth-child(even) td,
.workspace .machine-log-panel .data-table tbody tr:nth-child(even) td{
 background:#f5f7f9!important
}
.workspace .machine-list-panel .data-table tbody tr:hover td,
.workspace .machine-log-panel .data-table tbody tr:hover td{
 background:#eaf0f5!important
}
.workspace .machine-list-panel .data-table tbody tr.selected td,
.workspace .machine-log-panel .data-table tbody tr.selected td,
.workspace .machine-list-panel .data-table tbody tr.machine-row.selected td,
.workspace .machine-log-panel .data-table tbody tr.machine-row.selected td{
 background:#e1eaf2!important;border-bottom-color:#cbd8e3!important
}
.workspace .machine-list-panel .data-table tbody tr.selected,
.workspace .machine-log-panel .data-table tbody tr.selected{
 background:#e1eaf2!important;border-left-color:#718da6!important;
 box-shadow:inset 3px 0 #718da6!important
}
.workspace .machine-list-panel .table-wrap,
.workspace .machine-log-panel .table-wrap{border-color:#dfe5ea!important}
.workspace .machine-list-panel>.panel-head,
.workspace .machine-log-panel>.panel-head{
 background:#f0f2f5!important;background-image:none!important;
 border-bottom:1px solid #e0e5e9!important
}
.workspace .machine-log-panel .ac-log-period-controls,
.workspace .machine-log-panel .ac-log-time-range{
 background:#f1f3f6!important;border-color:#dfe5eb!important
}
.workspace .machine-log-panel .ac-log-period-date,
.workspace .machine-log-panel .ac-log-period-date small{color:#586875!important}
.workspace .machine-log-panel .ac-log-period-date .hris-date-text{
 background:#fff!important;border-color:#dce3e9!important
}

/* Machine & AC Log table details — neutral slate, preserve semantic online state */
.workspace .machine-list-panel .machine-name .device-icon,
.workspace .machine-list-panel .device-icon{
 background:#e7ebf0!important;color:#62788b!important;border:1px solid #d9e1e8!important;
 box-shadow:none!important;
}
.workspace .machine-list-panel .machine-name b{
 color:#344350!important;font-weight:650!important;
}
.workspace .machine-list-panel .data-table td code,
.workspace .machine-list-panel .data-table td .tag.neutral,
.workspace .machine-list-panel .data-table td .tag:not(.success):not(.danger):not(.warning){
 background:#eef1f4!important;color:#596c7c!important;border-color:#e1e6eb!important;
}
.workspace .machine-list-panel .mini-device-btn.download,
.workspace .machine-list-panel .mini-device-btn.connect,
.workspace .machine-list-panel .mini-device-btn{
 background:#edf1f5!important;color:#657d91!important;border:1px solid #dce4eb!important;
 box-shadow:none!important;
}
.workspace .machine-list-panel .mini-device-btn:hover{
 background:#e0e9f1!important;color:#435f76!important;border-color:#c9d7e2!important;
}
.workspace .machine-list-panel .page-btn.active,
.workspace .machine-list-panel .page-number.active,
.workspace .machine-list-panel .pagination .active,
.workspace .machine-list-panel .log-page-btn.active,
.workspace .machine-list-panel .log-page-number.active{
 background:#6f8599!important;color:#fff!important;border-color:#6f8599!important;
 box-shadow:none!important;
}
.workspace .machine-list-panel .data-table tbody tr:nth-child(even) td{background:#f6f8fa!important}
.workspace .machine-list-panel .data-table tbody tr:hover td{background:#eaf0f5!important}
.workspace .machine-list-panel .data-table tbody tr.selected td{background:#e5edf3!important}
/* Green intentionally reserved for online status and primary actions */


/* Machine & AC Log / balanced color harmony
   Slate blue for technical metadata, warm sand for protocol,
   emerald only for positive state/primary action, warm ivory for surfaces.
   Scoped to these two panels; no layout, API or behavioral changes. */
.workspace .machine-list-panel,
.workspace .machine-log-panel{
 background:#fffefa!important;
 border-color:#e8e8e3!important;
 box-shadow:0 3px 15px rgba(57,66,72,.045)!important;
}
.workspace .machine-list-panel>.panel-head,
.workspace .machine-log-panel>.panel-head{
 background:#fcfbf8!important;background-image:none!important;
 border-bottom:1px solid #e9e9e4!important;
}
.workspace .machine-list-panel .data-table thead th,
.workspace .machine-log-panel .data-table thead th,
.workspace .machine-log-panel .machine-log-table thead th{
 background:#e8eef3!important;background-image:none!important;
 color:#465c6c!important;border-color:#dfe6eb!important;
 box-shadow:none!important;
}
.workspace .machine-list-panel .data-table tbody td,
.workspace .machine-log-panel .data-table tbody td{
 background:#fffefa!important;color:#394651!important;
 border-bottom:1px solid #ecefeb!important;
}
.workspace .machine-list-panel .data-table tbody tr:nth-child(even) td,
.workspace .machine-log-panel .data-table tbody tr:nth-child(even) td{
 background:#fafbf9!important;
}
.workspace .machine-list-panel .data-table tbody tr:hover td,
.workspace .machine-log-panel .data-table tbody tr:hover td{
 background:#f0f5f8!important;
}
.workspace .machine-list-panel .data-table tbody tr.selected td,
.workspace .machine-list-panel .data-table tbody tr.machine-row.selected td,
.workspace .machine-log-panel .data-table tbody tr.selected td{
 background:#eaf2f6!important;border-bottom-color:#d6e3e9!important;
}
.workspace .machine-list-panel .data-table tbody tr.selected,
.workspace .machine-log-panel .data-table tbody tr.selected{
 border-left-color:#829fb1!important;
 box-shadow:inset 3px 0 #829fb1!important;
}
.workspace .machine-list-panel .device-icon,
.workspace .machine-list-panel .machine-name .device-icon{
 background:#e4eef4!important;color:#64859b!important;
 border:1px solid #d5e4ed!important;box-shadow:none!important;
}
.workspace .machine-list-panel .machine-name b{
 color:#344750!important;font-weight:650!important;
}
/* IP address = mist blue; protocol = warm sand, not a single gray badge */
.workspace .machine-list-panel .data-table td code{
 background:#eaf1f6!important;color:#526e82!important;
 border-color:#dfeaf0!important;
}
.workspace .machine-list-panel .data-table td .tag.neutral,
.workspace .machine-list-panel .data-table td .tag:not(.success):not(.danger):not(.warning){
 background:#f6eedf!important;color:#816d4d!important;
 border-color:#eee3d0!important;
}
.workspace .machine-list-panel .mini-device-btn,
.workspace .machine-list-panel .mini-device-btn.download,
.workspace .machine-list-panel .mini-device-btn.connect{
 background:#e9f1f5!important;color:#5b8297!important;
 border:1px solid #dce9ef!important;box-shadow:none!important;
}
.workspace .machine-list-panel .mini-device-btn:hover{
 background:#dcebf2!important;color:#3f6b82!important;
 border-color:#c9dee9!important;
}
/* Keep semantic colors where they communicate meaning */
.workspace .machine-list-panel .page-btn.active,
.workspace .machine-list-panel .page-number.active,
.workspace .machine-list-panel .pagination .active,
.workspace .machine-list-panel .log-page-btn.active,
.workspace .machine-list-panel .log-page-number.active{
 background:#168f70!important;border-color:#168f70!important;color:#fff!important;
}
.workspace .machine-log-panel .ac-log-period-controls,
.workspace .machine-log-panel .ac-log-time-range{
 background:#f7f2e9!important;border-color:#ece3d7!important;
}
.workspace .machine-log-panel .ac-log-period-date,
.workspace .machine-log-panel .ac-log-period-date small{color:#766953!important}
.workspace .machine-log-panel .ac-log-period-date .hris-date-text{
 background:#fffefa!important;border-color:#e9e3d9!important;
}
.workspace .machine-list-panel .table-wrap,
.workspace .machine-log-panel .table-wrap{border-color:#e6e9e6!important}
@media(max-width:900px){
 .workspace .machine-list-panel,.workspace .machine-log-panel{
  background:#fffefa!important;border-color:#e8e8e3!important;
 }
}


/* coherent hierarchy for Machine & AC Log.
   One warm-neutral surface system, slate technical metadata, restrained emerald actions. */
.workspace .machine-list-panel,.workspace .machine-log-panel{
 background:#fff!important;border:1px solid #e5e9e7!important;
 box-shadow:0 4px 16px rgba(44,65,63,.045)!important;
}
.workspace .machine-list-panel>.panel-head,.workspace .machine-log-panel>.panel-head{
 background:#fafbf9!important;border-bottom:1px solid #e7ece9!important;
}
.workspace .machine-list-panel .data-table thead th,
.workspace .machine-log-panel .data-table thead th,
.workspace .machine-log-panel .machine-log-table thead th{
 background:#edf2f2!important;color:#52666c!important;
 border-color:#e1e9e8!important;
}
.workspace .machine-list-panel .data-table tbody td,
.workspace .machine-log-panel .data-table tbody td{
 background:#fff!important;color:#34474c!important;border-bottom-color:#edf0ef!important;
}
.workspace .machine-list-panel .data-table tbody tr:nth-child(even) td,
.workspace .machine-log-panel .data-table tbody tr:nth-child(even) td{
 background:#fafcfb!important;
}
.workspace .machine-list-panel .data-table tbody tr:hover td,
.workspace .machine-log-panel .data-table tbody tr:hover td{
 background:#edf5f2!important;
}
.workspace .machine-list-panel .data-table tbody tr.selected td,
.workspace .machine-list-panel .data-table tbody tr.machine-row.selected td,
.workspace .machine-log-panel .data-table tbody tr.selected td{
 background:#e8f1ed!important;border-bottom-color:#dce8e2!important;
}
.workspace .machine-list-panel .data-table tbody tr.selected,
.workspace .machine-log-panel .data-table tbody tr.selected{
 border-left-color:#729c8e!important;box-shadow:inset 3px 0 #729c8e!important;
}
.workspace .machine-list-panel .device-icon,.workspace .machine-list-panel .machine-name .device-icon{
 background:#e8eff0!important;color:#607e88!important;border-color:#dce6e8!important;
}
.workspace .machine-list-panel .machine-name b{color:#30464a!important}
.workspace .machine-list-panel .data-table td code{
 background:#edf2f4!important;color:#58717c!important;border-color:#e1e9ed!important;
}
.workspace .machine-list-panel .data-table td .tag.neutral,
.workspace .machine-list-panel .data-table td .tag:not(.success):not(.danger):not(.warning){
 background:#f3efe7!important;color:#7b715f!important;border-color:#eae3d8!important;
}
.workspace .machine-list-panel .mini-device-btn,
.workspace .machine-list-panel .mini-device-btn.download,
.workspace .machine-list-panel .mini-device-btn.connect{
 background:#eaf1f1!important;color:#577b82!important;border-color:#dce8e7!important;
}
.workspace .machine-list-panel .mini-device-btn:hover{
 background:#dcebea!important;color:#3e6e71!important;border-color:#cbdedc!important;
}
.workspace .machine-log-panel .ac-log-period-controls,
.workspace .machine-log-panel .ac-log-time-range{
 background:#f5f7f5!important;border-color:#e5ebe7!important;
}
.workspace .machine-log-panel .ac-log-period-date,
.workspace .machine-log-panel .ac-log-period-date small{color:#5d706b!important}
.workspace .machine-log-panel .ac-log-period-date .hris-date-text{
 background:#fff!important;border-color:#e2e9e5!important;
}
.workspace .machine-list-panel .table-wrap,.workspace .machine-log-panel .table-wrap{
 border-color:#e5eae8!important;
}
.workspace .machine-list-panel .page-btn.active,
.workspace .machine-list-panel .page-number.active,
.workspace .machine-list-panel .pagination .active,
.workspace .machine-list-panel .log-page-btn.active,
.workspace .machine-list-panel .log-page-number.active{
 background:#168f70!important;border-color:#168f70!important;color:#fff!important;
}

/* Login: focused, compact enterprise authentication composition */
main.enterprise-login.login-shell{
 --login-emerald:#158866;--login-ink:#203c34;--login-muted:#71837e;
 box-sizing:border-box!important;display:grid!important;
 grid-template-columns:minmax(0,0.94fr) minmax(0,1.06fr)!important;
 width:min(1120px,calc(100% - 72px))!important;
 min-height:0!important;height:min(650px,calc(100dvh - 100px))!important;
 margin:max(40px,calc((100dvh - 690px)/2)) auto 60px!important;
 padding:0!important;gap:0!important;overflow:visible!important;
 background:#fff!important;border:1px solid #e3ebe6!important;
 border-radius:22px!important;box-shadow:0 24px 65px rgba(33,68,54,.075)!important;
 position:relative!important
}
body:has(main.enterprise-login){background:#f5f7f5!important}
main.enterprise-login .enterprise-login-intro{
 min-width:0!important;height:100%!important;min-height:0!important;
 background:linear-gradient(150deg,#e6f2ec 0%,#f0f5f0 60%,#e7eee8 100%)!important;
 border-radius:21px 0 0 21px!important;padding:46px 46px 40px!important;
 display:flex!important;flex-direction:column!important;justify-content:space-between!important;
 position:relative!important;overflow:hidden!important
}
main.enterprise-login .enterprise-login-intro:after{
 content:"";position:absolute;right:-130px;bottom:-180px;width:430px;height:430px;
 border-radius:50%;border:72px solid rgba(34,139,100,.055);pointer-events:none
}
main.enterprise-login .enterprise-login-brand{
 display:flex!important;align-items:center!important;gap:13px!important;position:relative;z-index:1
}
main.enterprise-login .enterprise-login-brand img{width:44px!important;height:44px!important;object-fit:contain!important}
main.enterprise-login .enterprise-login-brand b{font-size:19px!important;letter-spacing:-.035em;color:#203c34!important}
main.enterprise-login .enterprise-login-brand span{font-size:12px!important;color:#788a81!important;line-height:1.5}
main.enterprise-login .enterprise-login-message{position:relative;z-index:1;margin:0!important;max-width:430px!important}
main.enterprise-login .enterprise-login-eyebrow{
 color:#168866!important;font-size:11px!important;letter-spacing:.12em!important;font-weight:750!important
}
main.enterprise-login .enterprise-login-message h1{
 font-size:clamp(29px,3vw,39px)!important;line-height:1.19!important;
 letter-spacing:-.045em!important;color:#214b3b!important;margin:18px 0 14px!important;font-weight:750!important
}
main.enterprise-login .enterprise-login-message p{
 font-size:14px!important;line-height:1.8!important;color:#667f73!important;max-width:340px!important;margin:0!important
}
main.enterprise-login .enterprise-login-caption{
 position:relative;z-index:1;color:#80938a!important;font-size:11px!important;letter-spacing:.09em!important
}
main.enterprise-login .login-panel{
 min-height:0!important;height:100%!important;display:flex!important;align-items:center!important;
 justify-content:center!important;padding:48px clamp(35px,5vw,76px)!important;
 background:#fff!important;border-radius:0 21px 21px 0!important
}
main.enterprise-login .login-card{
 background:transparent!important;border:0!important;box-shadow:none!important;
 padding:0!important;width:100%!important;max-width:385px!important;margin:0 auto!important
}
main.enterprise-login .mini-logo{
 width:48px!important;height:48px!important;margin:0 0 23px!important;
 display:grid!important;place-items:center!important;border-radius:13px!important;
 background:#eaf4ee!important;border:1px solid #dbece2!important
}
main.enterprise-login .mini-logo img{width:29px!important;height:29px!important;object-fit:contain!important}
main.enterprise-login .login-card-heading{text-align:left!important;margin-bottom:30px!important}
main.enterprise-login .login-card-heading h2{
 font-size:30px!important;font-weight:750!important;letter-spacing:-.045em!important;
 line-height:1.2!important;margin:0 0 8px!important;color:#213d33!important
}
main.enterprise-login .login-card-heading p{
 font-size:13.5px!important;line-height:1.6!important;color:#7b8a82!important;margin:0!important
}
main.enterprise-login .login-card label{
 display:block!important;color:#455d51!important;font-size:12.5px!important;
 font-weight:650!important;margin:0 0 8px!important
}
main.enterprise-login .login-card .input-icon{margin:0 0 21px!important;position:relative!important}
main.enterprise-login .login-card .input-icon input{
 width:100%!important;min-height:49px!important;background:#f8faf9!important;
 border:1px solid #dfe7e2!important;border-radius:11px!important;
 padding:0 14px 0 44px!important;color:#263e35!important;font-size:14px!important;
 box-shadow:none!important;outline:0!important
}
main.enterprise-login .login-card .input-icon i{
 color:#8b9d95!important;left:16px!important;font-size:16px!important
}
main.enterprise-login .login-card .input-icon input:focus{
 background:#fff!important;border-color:#4da989!important;
 box-shadow:0 0 0 3px rgba(21,136,102,.10)!important
}
main.enterprise-login .login-card .btn.primary.full{
 min-height:49px!important;width:100%!important;margin-top:9px!important;
 border-radius:11px!important;background:#168a68!important;border:1px solid #168a68!important;
 box-shadow:none!important;font-size:14px!important;font-weight:700!important;
 transition:background .18s,transform .18s!important
}
main.enterprise-login .login-card .btn.primary.full:hover{background:#0e7658!important;transform:translateY(-1px)}
main.enterprise-login .login-system-footer{
 position:absolute!important;left:0!important;right:0!important;bottom:-40px!important;
 width:100%!important;padding:0 3px!important;display:flex!important;
 justify-content:space-between!important;background:transparent!important;
 color:#8d9d95!important;font-size:11px!important
}
main.enterprise-login .login-system-footer small{color:#8d9d95!important}
@media(max-width:800px){
 
 
 
 
 
 
 
 
 
}
@media(max-width:390px){
 
 
}

/* Login fitted to viewport; no negative-positioned footer */
html:has(main.enterprise-login),body:has(main.enterprise-login){min-height:100%;height:100%;margin:0!important;overflow-x:hidden}
body:has(main.enterprise-login) #app{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;padding:clamp(12px,2.4vh,24px) 20px!important}
main.enterprise-login.login-shell{
 width:min(1120px,100%)!important;height:min(690px,calc(100dvh - 48px))!important;
 min-height:0!important;margin:0 auto!important;display:grid!important;
 grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)!important;
 position:relative!important;overflow:hidden!important
}
main.enterprise-login .enterprise-login-intro{padding:clamp(22px,4vh,46px) clamp(24px,3.4vw,46px)!important}
main.enterprise-login .login-panel{padding:clamp(18px,3.4vh,42px) clamp(24px,4vw,65px)!important}
main.enterprise-login .login-system-footer{
 position:absolute!important;left:0!important;right:0!important;bottom:0!important;
 width:100%!important;padding:10px 22px!important;margin:0!important;
 box-sizing:border-box!important;z-index:2!important;display:flex!important;
 justify-content:space-between!important;align-items:center!important;
 border-top:1px solid #e8eee9!important;background:rgba(255,255,255,.93)!important
}
main.enterprise-login .login-card{padding-bottom:0!important}
@media(max-height:720px) and (min-width:801px){
 main.enterprise-login .mini-logo{width:38px!important;height:38px!important;margin-bottom:12px!important}
 main.enterprise-login .mini-logo img{width:24px!important;height:24px!important}
 main.enterprise-login .login-card-heading{margin-bottom:15px!important}
 main.enterprise-login .login-card-heading h2{font-size:26px!important}
 main.enterprise-login .login-card .input-icon{margin-bottom:12px!important}
 main.enterprise-login .login-card .input-icon input{min-height:43px!important}
 main.enterprise-login .login-card .btn.primary.full{min-height:44px!important;margin-top:2px!important}
 main.enterprise-login .enterprise-login-message h1{font-size:clamp(26px,3vw,36px)!important}
}
@media(max-width:800px){
 
 
 
 
 
 
 
 
 
}
@media(max-height:570px) and (max-width:800px){
 
 
 
}


/* unified login canvas, decorative form surface, dedicated footer row */
body:has(main.enterprise-login){background:linear-gradient(135deg,#f4f7f4,#edf3ef)!important}
main.enterprise-login.login-shell{
 grid-template-rows:minmax(0,1fr) auto!important;
 height:min(690px,calc(100dvh - 36px))!important;
 border:1px solid #dce7df!important;
 box-shadow:0 18px 54px rgba(26,62,46,.075)!important;
 background:#fff!important
}
main.enterprise-login .enterprise-login-intro{
 grid-column:1!important;grid-row:1!important;
 border-radius:21px 0 0 0!important;
 padding-bottom:28px!important
}
main.enterprise-login .enterprise-login-intro:after{
 width:310px!important;height:310px!important;right:-150px!important;bottom:-160px!important;
 border-width:55px!important;opacity:.45!important
}
main.enterprise-login .enterprise-login-caption{display:none!important}
main.enterprise-login .login-panel{
 grid-column:2!important;grid-row:1!important;
 border-radius:0 21px 0 0!important;
 position:relative!important;isolation:isolate!important;
 background:
 radial-gradient(circle at 91% 12%,rgba(171,201,183,.22) 0,rgba(171,201,183,0) 32%),
 radial-gradient(circle at 4% 95%,rgba(218,204,181,.15) 0,rgba(218,204,181,0) 40%),
 linear-gradient(150deg,#ffffff 15%,#f9fbf9 62%,#f6f9f7 100%)!important;
 overflow:hidden!important
}
main.enterprise-login .login-panel:before{
 content:"";position:absolute!important;top:-125px;right:-130px;
 width:360px;height:360px;border-radius:50%;
 border:1px solid rgba(64,135,102,.11);box-shadow:0 0 0 36px rgba(71,143,108,.023),0 0 0 74px rgba(71,143,108,.018);
 z-index:-1;pointer-events:none
}
main.enterprise-login .login-card{
 position:relative!important;z-index:1!important;
 padding:clamp(24px,3.4vh,36px)!important;
 max-width:440px!important;
 background:rgba(255,255,255,.78)!important;
 border:1px solid rgba(221,233,224,.9)!important;
 border-radius:19px!important;
 box-shadow:0 16px 38px rgba(40,76,57,.045)!important;
 backdrop-filter:blur(8px)
}
main.enterprise-login .login-card .input-icon input{
 background:#f7faf8!important;border-color:#dce7df!important
}
main.enterprise-login .login-card .input-icon input:focus{background:#fff!important}
main.enterprise-login .login-system-footer{
 grid-column:1 / -1!important;grid-row:2!important;
 position:relative!important;bottom:auto!important;left:auto!important;right:auto!important;
 min-height:43px!important;padding:11px 25px!important;
 border-top:1px solid #e2eae4!important;
 background:#f8faf8!important;border-radius:0 0 21px 21px!important;
 color:#87978e!important;line-height:1.35!important;
}
main.enterprise-login .login-system-footer small{white-space:nowrap!important}
@media(min-width:801px) and (max-height:680px){
 main.enterprise-login .login-card{padding:18px 25px!important}
 main.enterprise-login .login-card-heading{margin-bottom:14px!important}
 main.enterprise-login .mini-logo{margin-bottom:12px!important}
 main.enterprise-login .login-card .input-icon{margin-bottom:12px!important}
}
@media(max-width:800px){
 
 
 
 
 
}
@media(max-height:620px) and (max-width:800px){
 
 
}

/* mascot-led login, coherent enterprise visual system */
body:has(main.enterprise-login){background:#f2f6f2!important}
main.enterprise-login.login-shell{width:min(1220px,calc(100% - 64px))!important;height:min(720px,calc(100dvh - 40px))!important;min-height:0!important;margin:20px auto!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) 43px!important;gap:0!important;border:1px solid #dce7e0!important;border-radius:22px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 16px 55px rgba(33,68,54,.065)!important}
main.enterprise-login .enterprise-login-intro{grid-column:1!important;grid-row:1!important;position:relative!important;display:block!important;padding:34px 40px!important;border-radius:21px 0 0 0!important;overflow:hidden!important;background:linear-gradient(140deg,#e5f0e9 0%,#edf4ee 56%,#e1ede6 100%)!important}
main.enterprise-login .enterprise-login-intro:after{content:none!important}
main.enterprise-login .enterprise-login-brand{position:relative!important;z-index:3!important}
main.enterprise-login .enterprise-login-message{position:absolute!important;z-index:3!important;left:40px!important;top:26%!important;max-width:62%!important;margin:0!important}
main.enterprise-login .enterprise-login-message h1{font-size:clamp(26px,2.4vw,35px)!important;line-height:1.2!important;margin:13px 0!important;letter-spacing:-.04em!important}
main.enterprise-login .enterprise-login-message p{font-size:13px!important;line-height:1.7!important;max-width:290px!important}
main.enterprise-login .enterprise-login-eyebrow{font-size:10px!important;letter-spacing:.10em!important}
main.enterprise-login .enterprise-login-mascot{position:absolute!important;z-index:2!important;right:-18px!important;bottom:-12px!important;height:66%!important;width:auto!important;max-width:59%!important;object-fit:contain!important;object-position:bottom right!important;filter:drop-shadow(-8px 12px 14px rgba(22,66,41,.12))!important;pointer-events:none!important}
main.enterprise-login .login-panel{grid-column:2!important;grid-row:1!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:38px 46px!important;border-radius:0 21px 0 0!important;background:linear-gradient(155deg,#fcfdfb 0%,#f6f9f6 100%)!important;overflow:hidden!important}
main.enterprise-login .login-panel:before{content:""!important;position:absolute!important;z-index:0!important;width:330px!important;height:330px!important;right:-180px!important;top:-190px!important;border:1px solid #e5efe7!important;border-radius:50%!important;box-shadow:0 0 0 45px rgba(225,237,228,.28)!important}
main.enterprise-login .login-card{position:relative!important;z-index:1!important;max-width:410px!important;width:100%!important;padding:30px 32px!important;border:1px solid #e1e9e3!important;border-radius:17px!important;background:#fff!important;box-shadow:0 10px 28px rgba(35,71,51,.055)!important;backdrop-filter:none!important}
main.enterprise-login .mini-logo{margin-bottom:16px!important}
main.enterprise-login .login-card-heading{margin-bottom:23px!important}
main.enterprise-login .login-card-heading h2{font-size:28px!important}
main.enterprise-login .login-card .input-icon{margin-bottom:17px!important}
main.enterprise-login .login-card .input-icon input{background:#f7f9f7!important;border:1px solid #dbe5dd!important;color:#263b32!important;min-height:48px!important;box-shadow:none!important}
main.enterprise-login .login-card .input-icon input:focus{background:#fff!important;border-color:#25956e!important;box-shadow:0 0 0 3px rgba(30,143,100,.10)!important}
main.enterprise-login .login-card .input-icon i{color:#81958a!important}
main.enterprise-login .login-card .btn.primary.full{min-height:49px!important;background:#168a68!important;border-color:#168a68!important;margin-top:6px!important}
main.enterprise-login .login-system-footer{grid-column:1 / -1!important;grid-row:2!important;position:relative!important;inset:auto!important;bottom:auto!important;left:auto!important;right:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:43px!important;padding:0 27px!important;border-top:1px solid #e4ebe6!important;border-radius:0 0 21px 21px!important;background:#fafcf9!important;color:#91a198!important;line-height:1.3!important;white-space:nowrap!important}
@media(min-width:801px) and (max-height:680px){main.enterprise-login .enterprise-login-message{top:23%!important}main.enterprise-login .login-card{padding:20px 26px!important}main.enterprise-login .mini-logo{margin-bottom:9px!important}main.enterprise-login .login-card-heading{margin-bottom:13px!important}main.enterprise-login .login-card .input-icon{margin-bottom:10px!important}}
@media(max-width:800px){}
@media(max-width:380px){}


/* LOGIN REBUILD — isolated grid, never overlapping copy and mascot */
body:has(> #app > main.enterprise-login){
 background-color:#f5f8f6!important;
 background-image:url("./workspace-pattern.svg"),linear-gradient(180deg,#f5f8f6 0%,#f3f6f5 100%)!important;
 background-repeat:repeat,no-repeat!important;
 background-size:360px auto,100% 100%!important;
 background-position:0 0,0 0!important;
 background-attachment:fixed,fixed!important
}
#app:has(> main.enterprise-login){min-height:100dvh!important;display:grid!important;place-items:center!important;padding:16px!important;box-sizing:border-box!important;background:transparent!important}
#app > main.enterprise-login.login-shell{
 box-sizing:border-box!important;display:grid!important;
 width:min(1180px,100%)!important;height:min(700px,calc(100dvh - 32px))!important;
 min-height:0!important;margin:0!important;padding:0!important;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 grid-template-rows:minmax(0,1fr) 44px!important;
 border:1px solid #dce7df!important;border-radius:22px!important;
 overflow:hidden!important;gap:0!important;background:#fff!important;
 box-shadow:0 18px 50px rgba(29,67,49,.07)!important
}
#app > main.enterprise-login .enterprise-login-intro{
 box-sizing:border-box!important;grid-column:1!important;grid-row:1!important;
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.88fr)!important;
 grid-template-rows:auto minmax(0,1fr)!important;
 gap:0 8px!important;align-items:center!important;
 padding:35px 0 0 37px!important;position:relative!important;
 border-radius:0!important;overflow:hidden!important;
 background:linear-gradient(145deg,#e6f1e9 0%,#edf3eb 72%,#e5eee7 100%)!important
}
#app > main.enterprise-login .enterprise-login-intro:after{display:none!important}
#app > main.enterprise-login .enterprise-login-brand{
 grid-column:1 / -1!important;grid-row:1!important;align-self:start!important;
 display:flex!important;gap:12px!important;align-items:center!important;
 position:relative!important;z-index:2!important;margin:0 24px 0 0!important
}
#app > main.enterprise-login .enterprise-login-brand img{width:42px!important;height:42px!important}
#app > main.enterprise-login .enterprise-login-message{
 grid-column:1!important;grid-row:2!important;align-self:center!important;
 position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
 width:100%!important;max-width:none!important;min-width:0!important;
 z-index:2!important;margin:0!important;padding:0 0 34px!important
}
#app > main.enterprise-login .enterprise-login-eyebrow{
 display:block!important;font-size:10px!important;letter-spacing:.09em!important;
 line-height:1.6!important;color:#168967!important
}
#app > main.enterprise-login .enterprise-login-message h1{
 font-size:clamp(26px,2.1vw,34px)!important;line-height:1.2!important;
 letter-spacing:-.04em!important;margin:16px 0 16px!important;
 color:#214e3b!important;overflow-wrap:normal!important
}
#app > main.enterprise-login .enterprise-login-message p{
 font-size:13px!important;line-height:1.7!important;
 max-width:240px!important;color:#71867b!important;margin:0!important
}
#app > main.enterprise-login .enterprise-login-mascot{
 grid-column:2!important;grid-row:2!important;
 position:relative!important;inset:auto!important;right:auto!important;bottom:auto!important;
 display:block!important;align-self:end!important;justify-self:end!important;
 width:100%!important;height:100%!important;max-width:100%!important;max-height:490px!important;
 object-fit:contain!important;object-position:bottom right!important;
 filter:drop-shadow(-7px 10px 12px rgba(34,69,45,.08))!important;
 z-index:1!important;pointer-events:none!important
}
#app > main.enterprise-login .login-panel{
 box-sizing:border-box!important;grid-column:2!important;grid-row:1!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:35px clamp(24px,4vw,62px)!important;min-height:0!important;
 border-radius:0!important;overflow:hidden!important;
 background:radial-gradient(circle at 100% 0%,#edf4ef 0%,transparent 38%),#fbfcfa!important
}
#app > main.enterprise-login .login-panel:before{display:none!important}
#app > main.enterprise-login .login-card{
 box-sizing:border-box!important;position:relative!important;max-width:410px!important;
 width:100%!important;padding:30px!important;margin:0!important;
 background:#fff!important;border:1px solid #e1e9e3!important;border-radius:16px!important;
 box-shadow:0 14px 36px rgba(35,68,52,.055)!important
}
#app > main.enterprise-login .login-card .input-icon input{
 background:#f8faf8!important;border:1px solid #dce6df!important;
 border-radius:10px!important;box-shadow:none!important
}
#app > main.enterprise-login .login-card .input-icon input:focus{
 background:#fff!important;border-color:#168a68!important;
 box-shadow:0 0 0 3px rgba(22,138,104,.1)!important
}
#app > main.enterprise-login .login-system-footer{
 box-sizing:border-box!important;grid-column:1 / -1!important;grid-row:2!important;
 position:relative!important;inset:auto!important;margin:0!important;
 width:100%!important;min-height:44px!important;display:flex!important;
 align-items:center!important;justify-content:space-between!important;
 padding:0 25px!important;background:#f8faf8!important;
 border-top:1px solid #e4ebe6!important;border-radius:0!important;
 color:#82948a!important;white-space:normal!important
}
@media(min-width:801px) and (max-width:1080px){
 #app > main.enterprise-login .enterprise-login-intro{padding-left:25px!important;grid-template-columns:minmax(0,1fr) minmax(0,.7fr)!important}
 #app > main.enterprise-login .enterprise-login-message h1{font-size:26px!important}
}
@media(min-width:801px) and (max-height:640px){
 #app > main.enterprise-login .enterprise-login-intro{padding-top:20px!important}
 #app > main.enterprise-login .enterprise-login-message h1{font-size:25px!important;margin:8px 0!important}
 #app > main.enterprise-login .login-card{padding:18px 24px!important}
 #app > main.enterprise-login .login-card-heading{margin-bottom:12px!important}
 #app > main.enterprise-login .mini-logo{margin-bottom:10px!important}
 #app > main.enterprise-login .login-card .input-icon{margin-bottom:10px!important}
}
@media(max-width:800px){
 
 
 
 
 
 
 
 
 
 
 
 
}
@media(max-width:370px){
 
 
}


/* viewport-locked desktop, balanced mascot composition */
@media(min-width:801px){
 html:has(main.enterprise-login),body:has(main.enterprise-login){
  height:100%!important;min-height:0!important;overflow:hidden!important;margin:0!important
 }
 body:has(main.enterprise-login) #app,
 #app:has(> main.enterprise-login){
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  padding:clamp(12px,2.2vh,22px)!important;
  margin:0!important;overflow:hidden!important;box-sizing:border-box!important;
  display:grid!important;place-items:center!important;
  background:transparent!important
 }
 #app > main.enterprise-login.login-shell{
  height:100%!important;max-height:720px!important;min-height:0!important;
  width:min(1180px,100%)!important;margin:0!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr) 44px!important
 }
 #app > main.enterprise-login .enterprise-login-intro{
  padding:clamp(22px,4vh,38px) 0 0 clamp(27px,3vw,42px)!important;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr)!important;
  align-items:center!important
 }
 #app > main.enterprise-login .enterprise-login-message{
  align-self:center!important;padding:0 0 8px!important;
  transform:translateY(-8px)!important
 }
 #app > main.enterprise-login .enterprise-login-message h1{
  font-size:clamp(26px,2.1vw,34px)!important;
  line-height:1.22!important;margin:14px 0!important
 }
 #app > main.enterprise-login .enterprise-login-mascot{
  align-self:end!important;justify-self:center!important;
  width:100%!important;height:86%!important;max-height:510px!important;
  object-fit:contain!important;object-position:center bottom!important;
  transform:translate(-7px,-10px)!important;
  filter:drop-shadow(0 13px 16px rgba(24,65,42,.10))!important
 }
 #app > main.enterprise-login .login-panel{padding:clamp(18px,3vw,44px)!important}
}
@media(min-width:801px) and (max-height:660px){
 #app > main.enterprise-login .enterprise-login-mascot{height:83%!important;transform:translate(-6px,-6px)!important}
 #app > main.enterprise-login .enterprise-login-message h1{font-size:26px!important}
}
@media(max-width:800px){
 
 
 
 
}

/* single geometrically aligned focus/hover outline for login inputs */
#app > main.enterprise-login .login-card .input-icon{
 box-sizing:border-box!important;display:flex!important;align-items:center!important;
 position:relative!important;width:100%!important;max-width:100%!important;
 border:1px solid #dce6df!important;border-radius:11px!important;
 background:#f8faf8!important;box-shadow:none!important;
 transition:border-color .18s ease,background .18s ease,box-shadow .18s ease!important
}
#app > main.enterprise-login .login-card .input-icon:hover{
 border-color:#a6bdb1!important;background:#fff!important
}
#app > main.enterprise-login .login-card .input-icon:focus-within{
 border-color:#168a68!important;background:#fff!important;
 box-shadow:0 0 0 3px rgba(22,138,104,.11)!important
}
#app > main.enterprise-login .login-card .input-icon input,
#app > main.enterprise-login .login-card .input-icon input:hover,
#app > main.enterprise-login .login-card .input-icon input:focus{
 box-sizing:border-box!important;display:block!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 margin:0!important;outline:none!important;border:0!important;
 border-radius:10px!important;background:transparent!important;
 box-shadow:none!important;-webkit-appearance:none!important;appearance:none!important
}
#app > main.enterprise-login .login-card .input-icon > i{
 position:absolute!important;left:16px!important;top:50%!important;
 transform:translateY(-50%)!important;z-index:1!important;pointer-events:none!important
}
#app > main.enterprise-login .login-card .login-password-field > input{
 padding-right:49px!important
}
#app > main.enterprise-login .login-card .login-password-toggle{
 position:absolute!important;right:8px!important;top:50%!important;
 transform:translateY(-50%)!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;
 border:0!important;border-radius:9px!important;background:transparent!important;
 color:#718d80!important;box-shadow:none!important;z-index:2!important;
 transition:background-color .18s ease,color .18s ease!important
}
#app > main.enterprise-login .login-card .login-password-toggle i{
 position:static!important;left:auto!important;top:auto!important;
 transform:none!important;font-size:17px!important;color:inherit!important;
 pointer-events:none!important
}
#app > main.enterprise-login .login-card .login-password-toggle:hover{
 background:#eaf2ed!important;color:#246b52!important
}
#app > main.enterprise-login .login-card .login-password-toggle:focus-visible{
 outline:2px solid #168a68!important;outline-offset:2px!important
}

/* clearer left-panel typographic hierarchy, without colliding with mascot */
@media(min-width:1081px) and (min-height:660px){
 #app > main.enterprise-login .enterprise-login-intro{
  grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr)!important;
  padding-left:clamp(30px,3.2vw,46px)!important
 }
 #app > main.enterprise-login .enterprise-login-message{
  transform:translateY(-13px)!important;padding-right:0!important
 }
 #app > main.enterprise-login .enterprise-login-eyebrow{
  font-size:12px!important;letter-spacing:.075em!important;
  line-height:1.55!important;font-weight:750!important
 }
 #app > main.enterprise-login .enterprise-login-message h1{
  font-size:clamp(31px,2.25vw,36px)!important;
  line-height:1.2!important;letter-spacing:-.035em!important;
  margin:17px 0 16px!important;font-weight:750!important
 }
 #app > main.enterprise-login .enterprise-login-message p{
  max-width:285px!important;font-size:14.5px!important;line-height:1.75!important;
  color:#657d71!important
 }
 #app > main.enterprise-login .enterprise-login-mascot{
  width:100%!important;height:82%!important;
  transform:translate(-2px,-10px)!important
 }
}
@media(min-width:801px) and (max-width:1080px){
 #app > main.enterprise-login .enterprise-login-message h1{
  font-size:clamp(25px,2.6vw,30px)!important;line-height:1.22!important
 }
 #app > main.enterprise-login .enterprise-login-eyebrow{font-size:10.5px!important}
 #app > main.enterprise-login .enterprise-login-message p{font-size:13.5px!important}
}


/* align login form to the exact center of the right panel */
@media(min-width:801px){
 #app > main.enterprise-login .login-panel.login-panel-compact{
  display:grid!important;place-items:center!important;
  padding:clamp(20px,3vw,44px)!important;
  align-content:center!important;justify-content:center!important;
 }
 #app > main.enterprise-login .login-panel.login-panel-compact > form.login-card{
  width:min(100%,410px)!important;max-width:410px!important;
  margin:0!important;justify-self:center!important;align-self:center!important;
  transform:none!important;position:relative!important;inset:auto!important;
 }
}


/* restore usable form width and field proportions; avoid grid intrinsic shrink */
@media(min-width:801px){
 #app > main.enterprise-login .login-panel.login-panel-compact{
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  padding:clamp(20px,3vw,44px)!important;
  width:100%!important;min-width:0!important;box-sizing:border-box!important;
 }
 #app > main.enterprise-login .login-panel.login-panel-compact > form.login-card{
  display:block!important;flex:none!important;
  box-sizing:border-box!important;width:100%!important;
  max-width:490px!important;min-width:0!important;
  margin:0 auto!important;transform:none!important;
  padding:clamp(24px,2.2vw,34px)!important;
 }
 #app > main.enterprise-login .login-card .input-icon{
  width:100%!important;min-height:54px!important;height:54px!important;
  box-sizing:border-box!important;flex:none!important
 }
 #app > main.enterprise-login .login-card .input-icon input{
  height:100%!important;min-height:0!important;
  padding:0 15px 0 46px!important;font-size:14px!important
 }
 #app > main.enterprise-login .login-card .btn.primary.full{
  min-height:54px!important;height:54px!important
 }
}

/* machine identity cell and sidebar hover polish; no functional changes */
.workspace .machine-list-table .machine-name{
 display:flex!important;align-items:center!important;gap:11px!important;
 min-width:0!important;line-height:1.3!important;
}
.workspace .machine-list-table .machine-name .device-icon{
 flex:0 0 34px!important;width:34px!important;height:34px!important;
 border-radius:11px!important;background:#e7f1f0!important;
 border:1px solid #d7e7e4!important;color:#4b797b!important;
 box-shadow:inset 0 1px rgba(255,255,255,.75)!important;
}
.workspace .machine-list-table .machine-name b{
 display:block!important;font-size:12.5px!important;line-height:1.3!important;
 font-weight:700!important;letter-spacing:-.012em!important;color:#253e41!important;
 white-space:nowrap!important;
}
.workspace .machine-list-table .machine-name small{
 display:block!important;margin-top:3px!important;font-size:10px!important;
 line-height:1.25!important;letter-spacing:.01em!important;color:#82928e!important;
}
.workspace .machine-list-table tbody tr:hover .device-icon{
 background:#dfece9!important;border-color:#c9ded8!important;color:#356e6e!important;
}
/* Sidebar: same alignment for resting, hovered and selected items. No sideways jump. */
.sidebar .nav-section>button{
 box-sizing:border-box!important;width:calc(100% - 12px)!important;
 margin:2px 6px!important;padding-left:12px!important;padding-right:10px!important;
 border:1px solid transparent!important;border-radius:10px!important;
 transform:none!important;translate:none!important;
 transition:background-color .16s ease,border-color .16s ease,color .16s ease!important;
}
.sidebar .nav-section>button:hover:not(.active),
.sidebar .nav-section>button:focus-visible:not(.active){
 background:rgba(255,255,255,.095)!important;
 border-color:rgba(255,255,255,.09)!important;
 box-shadow:none!important;transform:none!important;translate:none!important;
}
.sidebar .nav-section>button.active,
.sidebar .nav-section>button.active:hover{
 background:rgba(255,255,255,.15)!important;
 border-color:transparent!important;
 box-shadow:none!important;
 transform:none!important;translate:none!important;
}
.sidebar .nav-section>button i{
 flex-shrink:0!important;transform:none!important;translate:none!important;
}
.sidebar .nav-section>button:hover i{transform:none!important;translate:none!important}
@media(max-width:800px){
 .sidebar .nav-section>button{width:calc(100% - 12px)!important;margin:2px 6px!important}
}
@media(min-width:801px){
 .sidebar-collapsed .nav-section>button{
  width:calc(100% - 8px)!important;margin:2px 4px!important;padding:0!important;
 }
}

/* Machine List: restrained enterprise table styling, scoped exclusively to Machine List */
.workspace .machine-list-panel .machine-list-table{border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important}
.workspace .machine-list-panel .machine-list-table thead th{background:#f2f5f5!important;color:#52636a!important;font-size:11px!important;font-weight:700!important;letter-spacing:.035em!important;border-bottom:1px solid #e1e8e7!important}
.workspace .machine-list-panel .machine-list-table tbody tr{background:#fff!important;transition:background-color .16s ease!important}
.workspace .machine-list-panel .machine-list-table tbody tr:nth-child(even){background:#f8fafb!important}
.workspace .machine-list-panel .machine-list-table tbody tr:hover{background:#eef5f4!important}
.workspace .machine-list-panel .machine-list-table tbody tr.selected{background:#eaf4f1!important}
.workspace .machine-list-panel .machine-list-table tbody td{height:52px!important;padding-top:7px!important;padding-bottom:7px!important;vertical-align:middle!important;border-bottom:1px solid #e9eeee!important}
.workspace .machine-list-panel .machine-list-table .machine-name{display:flex!important;align-items:center!important;gap:12px!important;min-height:36px!important;padding:0!important;line-height:normal!important}
.workspace .machine-list-panel .machine-list-table .machine-name .device-icon{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;border-radius:9px!important;background:#f1f5f6!important;border:1px solid #e0e8e9!important;color:#607d84!important;box-shadow:none!important}
.workspace .machine-list-panel .machine-list-table .machine-name .device-icon i{display:block!important;font-size:14px!important;line-height:1!important;color:inherit!important}
.workspace .machine-list-panel .machine-list-table .machine-name > div{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;gap:2px!important}
.workspace .machine-list-panel .machine-list-table .machine-name b{display:block!important;margin:0!important;font-size:13px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:-.01em!important;color:#233c45!important;white-space:nowrap!important}
.workspace .machine-list-panel .machine-list-table .machine-name small{display:block!important;margin:0!important;font-size:10.5px!important;line-height:1.3!important;font-weight:500!important;color:#89999f!important;letter-spacing:0!important}
.workspace .machine-list-panel .machine-list-table tbody tr:hover .machine-name .device-icon{background:#e4efee!important;border-color:#d4e3e1!important;color:#3d7375!important}
.workspace .machine-list-panel .machine-list-table tbody tr:hover .machine-name b{color:#1e4a4c!important}
.workspace .machine-list-panel .machine-list-table td code{font-size:11px!important;color:#527384!important;background:#f0f5f7!important;border-radius:5px!important;padding:3px 6px!important;white-space:nowrap!important}
.workspace .machine-list-panel .machine-list-table .tag.neutral{background:#f5f1eb!important;color:#7c6b56!important;border-radius:7px!important}
@media(max-width:700px){.workspace .machine-list-panel .machine-list-table .machine-name{gap:9px!important}.workspace .machine-list-panel .machine-list-table .machine-name .device-icon{flex-basis:30px!important;width:30px!important;min-width:30px!important;height:30px!important}}

/* continuous rectangular table headers, no isolated rounded corners */
.workspace .table-wrap{border-radius:0!important;}
.workspace .data-table thead,.workspace .legacy-report-table thead{border-radius:0!important;overflow:visible!important;}
.workspace .data-table thead tr,.workspace .legacy-report-table thead tr{border-radius:0!important;}
.workspace .data-table thead th,.workspace .legacy-report-table thead th{border-radius:0!important;background-clip:border-box!important;}
.workspace .data-table thead th:first-child,.workspace .legacy-report-table thead th:first-child{border-top-left-radius:0!important;border-bottom-left-radius:0!important;}
.workspace .data-table thead th:last-child,.workspace .legacy-report-table thead th:last-child{border-top-right-radius:0!important;border-bottom-right-radius:0!important;}
/* Machine: left aligned identity; centered all other column headers and values */
.workspace .machine-list-panel .machine-list-table thead th:first-child{text-align:left!important;padding-left:20px!important;}
.workspace .machine-list-panel .machine-list-table tbody td:first-child{text-align:left!important;padding-left:20px!important;}
.workspace .machine-list-panel .machine-list-table thead th:not(:first-child),.workspace .machine-list-panel .machine-list-table tbody td:not(:first-child){text-align:center!important;}
.workspace .machine-list-panel .machine-list-table .machine-name{justify-content:flex-start!important;}
.workspace .machine-list-panel .machine-list-table .machine-name>div{text-align:left!important;align-items:flex-start!important;}
.workspace .machine-list-panel .machine-list-table .machine-name b,.workspace .machine-list-panel .machine-list-table .machine-name small{text-align:left!important;padding-left:0!important;margin-left:0!important;}
.workspace .machine-list-panel .machine-list-table tbody td:not(:first-child) .cell-sub{display:block!important;text-align:center!important;}
.workspace .machine-list-panel .machine-list-table .machine-row-actions{display:flex!important;align-items:center!important;justify-content:center!important;}
.workspace .machine-list-panel .machine-list-table .status-dot{display:inline-flex!important;justify-content:center!important;align-items:center!important;}

/* canonical pagination palette and Machine List typography alignment */
:root{--hris-pagination-accent:#168f70;--hris-pagination-hover:#e7f3ef;--hris-pagination-border:#b9dcd0;--hris-pagination-ink:#226b58}
/* All table headings centered; first Machine column values remain left aligned. */
.workspace .data-table thead th,.workspace .legacy-report-table thead th,.workspace .machine-list-panel .machine-list-table thead th:first-child{text-align:center!important}
.workspace .machine-list-panel .machine-list-table tbody td:first-child{text-align:left!important}
/* Status and secondary Auto check share precisely the same horizontal center. */
.workspace .machine-list-panel .machine-list-table tbody td.machine-status-col{text-align:center!important}
.workspace .machine-list-panel .machine-list-table tbody td.machine-status-col .status-dot{display:flex!important;width:max-content!important;max-width:100%!important;margin-inline:auto!important;align-items:center!important;justify-content:center!important}
.workspace .machine-list-panel .machine-list-table tbody td.machine-status-col .status-auto{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;text-align:center!important;margin:4px 0 0!important;white-space:nowrap!important}
/* Shared canonical palette for pagination across all modules. */
.workspace :is(.log-pagination,.employee-pagination,.pagination,.p-paginator) :is(.pager-number,.pager-nav,.page-btn,.page-number,.log-page-btn,.log-page-number,.p-paginator-page,.p-paginator-next,.p-paginator-prev):hover:not(:disabled):not(.active):not(.p-highlight){background:var(--hris-pagination-hover)!important;color:var(--hris-pagination-ink)!important;border-color:var(--hris-pagination-border)!important;box-shadow:none!important}
.workspace :is(.log-pagination,.employee-pagination,.pagination,.p-paginator) :is(.pager-number,.page-btn,.page-number,.log-page-btn,.log-page-number,.p-paginator-page).active,
.workspace :is(.log-pagination,.employee-pagination,.pagination,.p-paginator) .p-highlight{background:var(--hris-pagination-accent)!important;border-color:var(--hris-pagination-accent)!important;color:#fff!important}
.workspace :is(.log-pagination,.employee-pagination,.pagination,.p-paginator) :is(.pager-number,.pager-nav,.page-btn,.page-number,.log-page-btn,.log-page-number,.p-paginator-page):focus-visible{outline:2px solid var(--hris-pagination-accent)!important;outline-offset:2px!important}
/* Native pagination page-size selectors: consistent border and focus, without modifying menu logic. */
.workspace :is(.log-pagination,.employee-pagination,.pagination,.p-paginator) select:hover{border-color:var(--hris-pagination-border)!important;background-color:#f6fbf9!important}
.workspace :is(.log-pagination,.employee-pagination,.pagination,.p-paginator) select:focus{border-color:var(--hris-pagination-accent)!important;box-shadow:0 0 0 3px rgba(22,143,112,.12)!important}

/* unified header controls and dialog visual language */
.topbar .birthday-avatar-btn{background:#e8f3f0!important;color:#14826b!important;border:1px solid #d0e9e1!important;border-radius:13px!important;box-shadow:none!important;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s!important}
.topbar .birthday-avatar-btn:hover{background:#d8eee6!important;border-color:#9cd6c2!important;color:#096c56!important;transform:translateY(-1px)!important;box-shadow:0 5px 14px rgba(15,112,89,.11)!important}
.topbar .birthday-avatar-btn:focus-visible,.topbar .userbox .icon-btn:focus-visible{outline:2px solid #159675!important;outline-offset:3px!important}
.topbar .userbox>.avatar{background:#edf2f8!important;color:#476e96!important;border:1px solid #d9e4f1!important;border-radius:13px!important;box-shadow:none!important}
.topbar .userbox>.avatar i{color:#476e96!important}
.topbar .userbox>.icon-btn{background:#fff1ee!important;color:#b65c4b!important;border:1px solid #f1d8d1!important;border-radius:13px!important;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s!important;box-shadow:none!important}
.topbar .userbox>.icon-btn i{color:inherit!important}
.topbar .userbox>.icon-btn:hover{background:#fbe0d9!important;border-color:#eeb8a9!important;color:#9e382c!important;transform:translateY(-1px)!important;box-shadow:0 5px 14px rgba(170,73,52,.1)!important}
.topbar .userbox>.icon-btn:active,.topbar .birthday-avatar-btn:active{transform:translateY(0)!important}
/* All app modal cards share one surface, consistent header, controls, and actions. */
.modal-backdrop{background:rgba(19,35,43,.44)!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important}
.modal-backdrop .modal-card{background:#fff!important;border:1px solid #dce8e5!important;border-radius:17px!important;box-shadow:0 24px 70px rgba(17,41,47,.19)!important;overflow:hidden}
.modal-backdrop .modal-head{background:#f8fbfa!important;border-bottom:1px solid #e4eeeb!important;border-radius:0!important}
.modal-backdrop .modal-head h3{color:#213e43!important;letter-spacing:-.018em!important}
.modal-backdrop .modal-head .icon-btn{background:#fff!important;color:#637b80!important;border:1px solid #e1eae8!important;border-radius:10px!important;transition:background .16s,border-color .16s,color .16s!important}
.modal-backdrop .modal-head .icon-btn:hover{background:#e9f3f0!important;border-color:#bcded2!important;color:#126d58!important}
.modal-backdrop .modal-actions{border-top-color:#edf1f0!important}
.modal-backdrop .modal-actions .btn{transition:background-color .17s,border-color .17s,color .17s,box-shadow .17s,transform .17s!important}
.modal-backdrop .modal-actions .btn:hover:not(:disabled){transform:translateY(-1px)!important}
.modal-backdrop .modal-actions .btn:focus-visible{outline:2px solid #139374!important;outline-offset:2px!important}
.modal-backdrop .modal-actions .btn.danger-solid{background:#c84f49!important;border-color:#c84f49!important;color:#fff!important}
.modal-backdrop .modal-actions .btn.danger-solid:hover:not(:disabled){background:#a82f2d!important;border-color:#a82f2d!important;color:#fff!important;box-shadow:0 7px 17px rgba(177,52,47,.22)!important}
.modal-backdrop .modal-actions .btn.warning-solid:hover:not(:disabled){filter:brightness(.89)!important;box-shadow:0 7px 17px rgba(127,95,27,.16)!important}
.modal-backdrop .modal-actions .btn.ghost:hover:not(:disabled){background:#edf4f2!important;border-color:#c5dcd5!important;color:#24584c!important}
.modal-backdrop .modal-actions .btn.primary:hover:not(:disabled){background:#087b61!important;border-color:#087b61!important;box-shadow:0 7px 17px rgba(9,117,90,.16)!important}
@media(prefers-reduced-motion:reduce){.topbar .birthday-avatar-btn,.topbar .userbox>.icon-btn,.modal-backdrop .modal-actions .btn{transition:none!important;transform:none!important}}


/* focused refinements; refresh bootstrap left intact. */
/* AC Log: balanced, centered date and time with clear typographic hierarchy. */
.workspace .ac-log-table th:first-child,.workspace .ac-log-table td.ac-log-datetime{text-align:center!important}
.workspace .ac-log-table td.ac-log-datetime{vertical-align:middle!important;white-space:nowrap!important}
.workspace .ac-log-table .ac-log-datetime-parts{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:30px;white-space:nowrap}
.workspace .ac-log-table .ac-log-date-part{display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;letter-spacing:.005em;color:#304b55;font-variant-numeric:tabular-nums}
.workspace .ac-log-table .ac-log-time-part{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:7px;background:#eef3f6;border:1px solid #dce6eb;color:#476b7c;font-size:11px;font-weight:750;letter-spacing:.025em;font-variant-numeric:tabular-nums;line-height:1.2}
/* Field Attendance: PIN is content-sized, not a percentage of the table. */
.workspace .mobile-access-table{table-layout:auto!important}
.workspace .mobile-access-table th.field-pin-col,.workspace .mobile-access-table td.field-pin-col{width:1%!important;min-width:0!important;max-width:none!important;white-space:nowrap!important;text-align:center!important;padding-left:11px!important;padding-right:11px!important}
.workspace .mobile-access-table td.field-pin-col code{display:inline-block;white-space:nowrap!important;min-width:0!important;max-width:none!important;font-variant-numeric:tabular-nums}
.workspace .mobile-access-table th:not(.field-pin-col){max-width:none}
/* Employee: compact Kode, give remaining space to names and departments. */



/* Notification popover: integrated header, calmer cards, clear close hover. */
.birthday-popover.employee-alert-popover{border:1px solid #dce8e6!important;border-radius:15px!important;background:#fff!important;box-shadow:0 18px 48px rgba(26,52,55,.16),0 4px 12px rgba(26,52,55,.055)!important;overflow:hidden!important}
.employee-alert-popover .birthday-popover-head{padding:16px 16px 14px!important;background:#f7faf9!important;border-bottom:1px solid #e5eeec!important}
.employee-alert-popover .birthday-popover-head b{font-size:13px!important;letter-spacing:-.012em!important;color:#264249!important}
.employee-alert-popover .birthday-popover-head small{line-height:1.5!important;color:#72868a!important}
.employee-alert-popover .birthday-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid transparent!important;border-radius:9px!important;transition:background .16s ease,color .16s ease,border-color .16s ease!important}
.employee-alert-popover .birthday-close:hover{background:#e8f1ef!important;color:#206c58!important;border-color:#d3e5df!important}
.employee-alert-popover .birthday-list{padding:7px!important;background:#fff!important}
.employee-alert-popover .employee-alert-group-title{margin:6px 5px!important;color:#57716f!important}
.employee-alert-popover .birthday-item{margin:2px 3px!important;padding:11px 10px!important;border-radius:10px!important;border:1px solid transparent!important;transition:background-color .15s ease,border-color .15s ease!important}
.employee-alert-popover .birthday-item:hover{background:#f5faf8!important;border-color:#e4efeb!important}
.employee-alert-popover .birthday-person b{color:#2b464e!important}
.employee-alert-popover .birthday-empty{padding:24px 14px!important}
/* Transient notifications: consistent visual language and functional button hover. */
.toast-stack .toast{border-radius:12px!important;border:1px solid #e0eae8!important;background:#fff!important;box-shadow:0 12px 32px rgba(29,54,57,.13)!important;padding:13px 14px!important;gap:11px!important}
.toast-stack .toast.success{border-left:3px solid #289879!important}
.toast-stack .toast.error,.toast-stack .toast.danger{border-left:3px solid #cf665d!important}
.toast-stack .toast .toast-copy{min-width:0!important}
.toast-stack .toast .toast-copy b{font-size:12px!important;line-height:1.45!important;color:#29454c!important}
.toast-stack .toast .toast-copy span{line-height:1.5!important;overflow-wrap:anywhere!important}
.toast-stack .toast .toast-actions button{border-radius:8px!important;transition:background-color .16s ease,border-color .16s ease,color .16s ease!important}
.toast-stack .toast .toast-action-btn:hover:not(:disabled){background:#e6f3ed!important;border-color:#bbdbce!important;color:#176b51!important}
.toast-stack .toast .toast-close-btn:hover:not(:disabled){background:#eef3f4!important;border-color:#d8e4e5!important;color:#314f57!important}
@media(max-width:700px){.workspace .ac-log-table .ac-log-datetime-parts{gap:5px}.workspace .ac-log-table .ac-log-time-part{padding:4px 6px}}


/* coherent, explicit column sizing; restores Employee KODE visibility. */
.workspace .employee-table,.workspace .mobile-access-table{table-layout:fixed!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important}
.workspace .employee-table th,.workspace .mobile-access-table th{text-align:center!important;background:#eaf0f3!important;color:#49606f!important;border-radius:0!important;font-size:11px!important;font-weight:700!important}
.workspace .employee-table td,.workspace .mobile-access-table td{vertical-align:middle!important;color:#344953!important;border-bottom:1px solid #e8eef0!important;font-size:12px!important;overflow:hidden!important;text-overflow:ellipsis!important}
.workspace .employee-table tbody tr:nth-child(even),.workspace .mobile-access-table tbody tr:nth-child(even){background:#f7f9fa!important}
.workspace .employee-table tbody tr:hover,.workspace .mobile-access-table tbody tr:hover{background:#eef5f6!important}
.workspace .employee-table .bulk-check-col,.workspace .mobile-access-table .bulk-check-col{padding:7px 4px!important;text-align:center!important}
.workspace .employee-table .bulk-check-col input,.workspace .mobile-access-table .bulk-check-col input{width:15px!important;height:15px!important;margin:auto!important}





.workspace .employee-table td code,.workspace .mobile-access-table td.field-pin-col code{color:#4a6872!important;background:#edf3f4!important;border-radius:5px!important;padding:3px 5px!important;font-size:11px!important;font-weight:550!important}
.workspace .employee-table td .tag.success,.workspace .mobile-access-table td .tag.success{background:#eaf6ef!important;color:#267b5e!important}

.workspace .mobile-access-table td .access-code-cell{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important}
.workspace .mobile-access-table td .access-code-cell code{width:65px!important;min-width:0!important;text-align:center!important}
.workspace .mobile-access-table td .access-code-cell .icon-btn{flex:0 0 26px!important;width:26px!important;height:26px!important}
.workspace .mobile-access-table td .tag{display:inline-flex!important;align-items:center!important;justify-content:center!important;max-width:100%!important;padding:4px 6px!important;font-size:10.5px!important;font-weight:600!important;white-space:nowrap!important}















.workspace .mobile-access-table.has-bulk th:nth-child(1),.workspace .mobile-access-table.has-bulk td:nth-child(1){width:4%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table.has-bulk th:nth-child(2),.workspace .mobile-access-table.has-bulk td:nth-child(2){width:11%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table.has-bulk th:nth-child(3),.workspace .mobile-access-table.has-bulk td:nth-child(3){width:25%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table.has-bulk th:nth-child(4),.workspace .mobile-access-table.has-bulk td:nth-child(4){width:27%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table.has-bulk th:nth-child(5),.workspace .mobile-access-table.has-bulk td:nth-child(5){width:16%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table.has-bulk th:nth-child(6),.workspace .mobile-access-table.has-bulk td:nth-child(6){width:10%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table.has-bulk th:nth-child(7),.workspace .mobile-access-table.has-bulk td:nth-child(7){width:7%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(1),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(1){width:12%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(2),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(2){width:26%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(3),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(3){width:28%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(4),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(4){width:16%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(5),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(5){width:11%!important;min-width:0!important;max-width:none!important;}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(6),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(6){width:7%!important;min-width:0!important;max-width:none!important;}
/* Body alignment distinct from universally centered headings. */


.workspace .mobile-access-table.has-bulk td:nth-child(3),.workspace .mobile-access-table.has-bulk td:nth-child(4),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(2),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(3){text-align:left!important}
@media(max-width:1050px){.workspace .mobile-access-table{min-width:900px!important}}

/* Employee table proportions: give Status breathing room, keep KODE visible. */






/* Employee Profile: compact, distinct but quiet informational notices. */
.hris-profile-completeness{border-color:#e2e9eb!important;background:#fbfcfc!important;box-shadow:none!important}
.hris-profile-completeness>div:first-child strong{color:#304851!important;font-size:13px!important;letter-spacing:.005em!important}
.hris-profile-completeness>div:first-child small{font-size:11.5px!important;color:#74858b!important;line-height:1.45!important}
.hris-profile-completeness .hris-profile-hint{display:flex!important;align-items:flex-start!important;gap:7px!important;margin:10px 0 0!important;padding:9px 11px!important;border:1px solid #e3e9eb!important;border-left:3px solid #8ba5b0!important;border-radius:7px!important;background:#f4f7f8!important;color:#637780!important;font-size:11.5px!important;line-height:1.55!important;font-style:italic!important;font-weight:400!important;letter-spacing:0!important;overflow-wrap:anywhere!important}
.hris-profile-completeness .hris-profile-hint::before{content:"i";display:inline-flex;align-items:center;justify-content:center;flex:0 0 14px;width:14px;height:14px;margin-top:1px;border:1px solid #91a6af;border-radius:50%;font:normal 700 10px/1 Arial,sans-serif;color:#69818c}
.hris-profile-completeness-track{height:6px!important;background:#e5ecee!important}
.hris-profile-completeness-track span{background:#418a77!important}
@media(max-width:1050px){}

/* Employee header: unified, predictable toolbar geometry. */
.workspace .employee-workspace > .panel-head{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:flex-start!important;gap:17px!important;
  padding:22px 24px 20px!important;min-height:0!important;
}
.workspace .employee-workspace .employee-heading{width:100%!important;min-width:0!important;max-width:none!important;flex:none!important;margin:0!important}
.workspace .employee-workspace .employee-heading h2{margin:0!important}
.workspace .employee-workspace .employee-tools{
  display:grid!important;grid-template-columns:minmax(230px,1fr) minmax(155px,.65fr) minmax(125px,.42fr) auto auto!important;
  align-items:stretch!important;justify-content:stretch!important;gap:10px!important;
  width:100%!important;min-width:0!important;max-width:none!important;flex:none!important;margin:0!important;
}
.workspace .employee-workspace .employee-tools > *{box-sizing:border-box!important;min-width:0!important;max-width:none!important;width:100%!important;margin:0!important;height:42px!important;min-height:42px!important;align-self:stretch!important}
.workspace .employee-workspace .employee-tools .searchbox.wide{min-width:0!important;display:flex!important;align-items:center!important}
.workspace .employee-workspace .employee-tools .searchbox input{min-width:0!important;width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
.workspace .employee-workspace .employee-tools select{padding-left:12px!important;padding-right:28px!important;white-space:nowrap!important;text-overflow:ellipsis!important}
.workspace .employee-workspace .employee-tools .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;white-space:nowrap!important;padding:0 15px!important}
.workspace .employee-workspace .employee-tools .btn.soft{min-width:105px!important}
.workspace .employee-workspace .employee-tools .btn.primary{min-width:150px!important}
@media(max-width:1180px){
 .workspace .employee-workspace .employee-tools{grid-template-columns:minmax(220px,1fr) minmax(145px,.75fr) minmax(115px,.5fr) auto!important}
 .workspace .employee-workspace .employee-tools .btn.primary{grid-column:4!important;grid-row:2!important;justify-self:end!important;width:auto!important}
}
@media(max-width:800px){
 .workspace .employee-workspace > .panel-head{padding:18px 16px!important;gap:14px!important}
 .workspace .employee-workspace .employee-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important}
 .workspace .employee-workspace .employee-tools .searchbox.wide{grid-column:1 / -1!important}
 .workspace .employee-workspace .employee-tools .btn.primary{grid-column:auto!important;grid-row:auto!important;width:100%!important}
}
@media(max-width:480px){
 .workspace .employee-workspace .employee-tools{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 .workspace .employee-workspace .employee-tools select:nth-of-type(2){grid-column:1!important}
 .workspace .employee-workspace .employee-tools .btn.soft{min-width:0!important}
 .workspace .employee-workspace .employee-tools .btn.primary{min-width:0!important}
}


/* Shared dropdown selection states for HRIS: calm mint hover, distinct saved choice. */
:root{--hris-select-active:#f0f4f2;--hris-select-ink:#35584b;--hris-select-ring:#a4d5c0;--hris-select-hover:#e4f5eb;--hris-select-hover-ink:#126f4d;--hris-select-hover-selected:#d8efe1}
.global-select-option,.custom-select-option{transition:background-color .15s ease,color .15s ease}
.global-select-option.active,.global-select-option.selected,.global-select-option[aria-selected="true"],.custom-select-option.active{background:var(--hris-select-active)!important;color:var(--hris-select-ink)!important}
.global-select-option.active:not(.selected),.global-select-option:focus-visible,.custom-select-option:focus-visible{background:var(--hris-select-hover)!important;color:var(--hris-select-hover-ink)!important;outline:1px solid #a8d9bd!important;outline-offset:-1px!important;box-shadow:none!important}
.global-select-option:hover:not(.disabled),.global-select-option.department-root-option:hover,.global-select-option.department-branch-option:hover,.custom-select-option:hover{background:var(--hris-select-hover)!important;color:var(--hris-select-hover-ink)!important;box-shadow:none!important}
.global-select-option.selected:hover,.global-select-option.active.selected:hover,.global-select-option[aria-selected="true"]:hover,.custom-select-option.active:hover{background:var(--hris-select-hover-selected)!important;color:#0e6645!important}
.global-select-option.selected::after{color:#168a60!important}
.global-select-search:focus,.global-select-search input:focus,.global-select-trigger:focus-visible{border-color:var(--hris-select-ring)!important;outline:0!important;box-shadow:none!important}
/* PrimeVue list options follow the same hover affordance when present. */
:is(.p-dropdown-panel .p-dropdown-item,.p-multiselect-panel .p-multiselect-item,.p-listbox .p-listbox-item):not(.p-disabled):hover{background:var(--hris-select-hover)!important;color:var(--hris-select-hover-ink)!important}
:is(.p-dropdown-panel .p-dropdown-item,.p-multiselect-panel .p-multiselect-item,.p-listbox .p-listbox-item).p-highlight:hover{background:var(--hris-select-hover-selected)!important;color:#0e6645!important}
/* Employee: align the Status header, contents and badge to one central axis */



/* Profile notices: contained, quiet, clearly informational; no contact with card borders */
.hris-profile-completeness{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;padding:15px 16px!important;border-radius:12px!important}
.hris-profile-completeness>div:first-child{min-width:0!important;gap:5px 14px!important}
.hris-profile-completeness>div:first-child small{min-width:0!important;overflow-wrap:anywhere!important}
.hris-profile-completeness .hris-profile-hint{box-sizing:border-box!important;display:flex!important;max-width:100%!important;width:100%!important;min-width:0!important;margin:12px 0 0!important;padding:10px 12px!important;gap:9px!important;border:1px solid #e1e8eb!important;border-left:2px solid #8aa8b1!important;border-radius:8px!important;background:#f5f8f9!important;color:#617580!important;font-size:11px!important;font-style:italic!important;line-height:1.6!important;overflow-wrap:anywhere!important;word-break:normal!important}
.hris-profile-completeness .hris-profile-hint::before{flex:0 0 15px!important;width:15px!important;height:15px!important;margin-top:1px!important}
.hris-profile-completeness-track{box-sizing:border-box!important;max-width:100%!important;margin-top:11px!important}
/* Attendance calculation explanation is a footnote, not a warning banner */
.hris-profile-content>.hris-profile-hint{box-sizing:border-box!important;display:block!important;max-width:100%!important;margin:12px 0 0!important;padding:9px 12px!important;border:0!important;border-left:2px solid #b4c6cd!important;border-radius:0 7px 7px 0!important;background:#f3f6f8!important;color:#71818b!important;font-size:11px!important;line-height:1.65!important;font-weight:400!important;font-style:italic!important;overflow-wrap:anywhere!important}
.hris-profile-content>.hris-profile-hint::before{content:none!important}
@media(max-width:700px){.hris-profile-completeness{padding:12px!important}.hris-profile-completeness .hris-profile-hint{padding:9px 10px!important}.hris-profile-content>.hris-profile-hint{padding:9px 10px!important}}

/* profile completeness inset: preserve breathing room inside profile container */
.employee-profile-panel .hris-profile-completeness{
  box-sizing:border-box!important;
  width:calc(100% - 48px)!important;
  max-width:calc(100% - 48px)!important;
  margin:20px 24px 18px!important;
  padding:18px 20px!important;
  border:1px solid #dfe8eb!important;
  border-radius:12px!important;
  background:#fafcfc!important;
  overflow:visible!important;
}
.employee-profile-panel .hris-profile-completeness .hris-profile-hint{
  width:100%!important;max-width:100%!important;
  box-sizing:border-box!important;margin:13px 0 0!important;
  padding:11px 13px!important;border-radius:8px!important;
  overflow-wrap:anywhere!important;
}
.employee-profile-panel .hris-profile-completeness-track{width:100%!important;max-width:100%!important}
/* Center Status on the column's actual axis, not by badge margins alone. */



@media(max-width:700px){
 .employee-profile-panel .hris-profile-completeness{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;margin:12px!important;padding:14px!important}
}

/* canonical single-surface search focus; remove legacy double-ring hover/focus */
:root{--hris-search-border:#dbe4e9;--hris-search-border-hover:#b8cbd1;--hris-search-border-focus:#85afa6}
.searchbox,.legacy-search{
  box-sizing:border-box!important;
  outline:0!important;
  outline-offset:0!important;
  box-shadow:none!important;
  transition:border-color .16s ease,background-color .16s ease!important;
}
.searchbox:hover,.legacy-search:hover{
  border-color:var(--hris-search-border-hover)!important;
  box-shadow:none!important;
  outline:0!important;
}
.searchbox:focus-within,.legacy-search:focus-within,
.searchbox:focus,.legacy-search:focus{
  border-color:var(--hris-search-border-focus)!important;
  box-shadow:none!important;
  outline:0!important;
  background:#fff!important;
}
.searchbox input,.legacy-search input,
.searchbox input:hover,.legacy-search input:hover,
.searchbox input:focus,.legacy-search input:focus,
.searchbox input:focus-visible,.legacy-search input:focus-visible{
  border:0!important;
  outline:0!important;
  outline-offset:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  background:transparent!important;
}
.searchbox:focus-within>i,.legacy-search:focus-within>i{
  color:#527c7a!important;
  transform:none!important;
}
/* Employee toolbar: both outer wrapper and input must never draw separate focus rings */
.workspace .employee-workspace .employee-tools .searchbox,
.workspace .employee-workspace .employee-tools .searchbox:hover,
.workspace .employee-workspace .employee-tools .searchbox:focus-within{
  outline:0!important;
  box-shadow:none!important;
}
.workspace .employee-workspace .employee-tools .searchbox input:focus,
.workspace .employee-workspace .employee-tools .searchbox input:focus-visible{
  outline:0!important;
  box-shadow:none!important;
  border:0!important;
}

/* schedule modal sections retain their content and empty/loading states. */
.modal-card.modal-temp-schedule form.schedule-override-form > section.schedule-override-section{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;align-self:stretch!important}
.modal-card.modal-temp-schedule .schedule-override-section > .schedule-week-grid,.modal-card.modal-temp-schedule .schedule-override-section > .temp-schedule-existing-list,.modal-card.modal-temp-schedule .schedule-override-section > .schedule-override-empty,.modal-card.modal-temp-schedule .schedule-override-section > .schedule-override-loading{display:grid!important;position:relative!important;visibility:visible!important;opacity:1!important;height:auto!important;max-height:none!important;overflow:visible!important}
.modal-card.modal-temp-schedule .schedule-override-section > .schedule-override-empty,.modal-card.modal-temp-schedule .schedule-override-section > .schedule-override-loading{display:block!important;min-height:48px!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-list{display:block!important;max-height:240px!important;overflow-y:auto!important}


/* schedule modal is a single scrolling column, no overlapping grid children. */
.modal-card.modal-temp-schedule{width:min(1040px,calc(100vw - 36px))!important;max-height:calc(100dvh - 40px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.modal-card.modal-temp-schedule>.modal-head{flex:0 0 auto!important}
.modal-card.modal-temp-schedule form.schedule-override-form{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:22px 26px 0!important;scrollbar-gutter:stable!important}
.modal-card.modal-temp-schedule form.schedule-override-form>*{flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;grid-column:auto!important;margin:0!important}
.modal-card.modal-temp-schedule form.schedule-override-form>label{display:block!important}
.modal-card.modal-temp-schedule .schedule-override-date-range{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:end!important}
.modal-card.modal-temp-schedule .schedule-override-date-range>label{min-width:0!important;margin:0!important;display:block!important}
.modal-card.modal-temp-schedule .schedule-override-date-range hris-date{display:block!important;width:100%!important;min-width:0!important}
.modal-card.modal-temp-schedule .schedule-override-section{display:block!important;position:relative!important;overflow:hidden!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;border-radius:13px!important;background:#fff!important;border:1px solid #e0e8e8!important}
.modal-card.modal-temp-schedule .schedule-override-section-head{display:flex!important;position:relative!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:15px 18px!important;background:#f5f8f8!important;border-bottom:1px solid #e4ebeb!important}
.modal-card.modal-temp-schedule .schedule-override-section-title{min-width:0!important;flex:1!important}
.modal-card.modal-temp-schedule .schedule-week-grid{display:grid!important;position:relative!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:15px!important;height:auto!important;max-height:none!important;overflow:visible!important;align-items:stretch!important}
.modal-card.modal-temp-schedule .schedule-week-day{position:relative!important;min-width:0!important;min-height:104px!important;box-sizing:border-box!important;padding:13px!important;border:1px solid #e4ebed!important;border-radius:10px!important;background:#fff!important;overflow-wrap:anywhere!important}
.modal-card.modal-temp-schedule .schedule-week-day.is-off{background:#f8faf9!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-list{display:block!important;position:relative!important;padding:0 16px!important;margin:0!important;height:auto!important;max-height:250px!important;overflow-y:auto!important;overflow-x:hidden!important}
.modal-card.modal-temp-schedule .temp-schedule-existing-row{display:flex!important;position:relative!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:58px!important;padding:12px 2px!important;margin:0!important;box-sizing:border-box!important;overflow:hidden!important}
.modal-card.modal-temp-schedule .temp-schedule-existing-row .schedule-override-record{min-width:0!important;flex:1!important;overflow-wrap:anywhere!important}
.modal-card.modal-temp-schedule .temp-schedule-existing-row .icon-btn{flex:0 0 auto!important}
.modal-card.modal-temp-schedule .modal-actions{display:flex!important;position:relative!important;inset:auto!important;z-index:1!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;min-height:70px!important;margin:4px 0 0!important;padding:14px 0 16px!important;border-top:1px solid #e3ebea!important;background:#fff!important;box-shadow:none!important}
.workspace .employee-schedule-table{table-layout:auto!important}
.workspace .employee-schedule-table th:first-child,.workspace .employee-schedule-table td:first-child{text-align:left!important;padding-left:18px!important}
.workspace .employee-schedule-table th:not(:first-child),.workspace .employee-schedule-table td:not(:first-child){text-align:center!important}
@media(max-width:740px){.modal-card.modal-temp-schedule{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}.modal-card.modal-temp-schedule form.schedule-override-form{padding:15px 14px 0!important;gap:12px!important}.modal-card.modal-temp-schedule .schedule-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:11px!important}.modal-card.modal-temp-schedule .schedule-override-section-head{padding:12px!important}.modal-card.modal-temp-schedule .modal-actions{padding:12px 0!important}}
@media(max-width:460px){.modal-card.modal-temp-schedule .schedule-override-date-range{grid-template-columns:1fr!important;gap:10px!important}}

/* Employee Schedule: unified, task-oriented information hierarchy */
.workspace .schedule-panel:has(.employee-schedule-guide) .employee-schedule-head{align-items:flex-start!important;gap:18px!important;flex-wrap:wrap!important;padding-bottom:20px!important}
.workspace .schedule-panel:has(.employee-schedule-guide) .employee-schedule-head>div:first-child{min-width:230px;flex:1 1 290px}
.workspace .schedule-panel:has(.employee-schedule-guide) .employee-schedule-head h2{margin-bottom:6px!important}
.workspace .schedule-panel:has(.employee-schedule-guide) .employee-schedule-head small{line-height:1.5!important;color:#73818a!important}
.workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools{display:flex!important;flex:2 1 580px!important;align-items:center!important;justify-content:flex-end!important;gap:9px!important;flex-wrap:wrap!important}
.workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools .searchbox{flex:1 1 210px!important;min-width:180px!important;max-width:none!important}
.workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools>select{flex:1 1 185px!important;min-width:170px!important;max-width:260px!important}
.workspace .employee-schedule-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 22px 22px!important}
.workspace .employee-schedule-guide-item{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:16px 15px;border:1px solid #e1e9eb;border-radius:13px;background:#f8fafb}
.workspace .employee-schedule-guide-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#e9f0f2;color:#527785}
.workspace .employee-schedule-guide-item:nth-child(2) .employee-schedule-guide-icon{background:#e8f3ee;color:#26846a}
.workspace .employee-schedule-guide-item:nth-child(3) .employee-schedule-guide-icon{background:#f2eee7;color:#9b7b4d}
.workspace .employee-schedule-guide-item strong{display:block;font-size:13px;line-height:1.4;color:#253e49;margin-bottom:5px}
.workspace .employee-schedule-guide-item small{display:block;font-size:11.5px;line-height:1.6;color:#71818a}
.workspace .employee-schedule-guide-item small b{font-weight:650;color:#536975}
.workspace .employee-schedule-list-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 22px 12px!important}
.workspace .employee-schedule-list-head h3{margin:0 0 4px;font-size:15px;font-weight:750;color:#283f49}
.workspace .employee-schedule-list-head small{font-size:11.5px;color:#7a8991;line-height:1.5}
.workspace .employee-schedule-total{flex-shrink:0;padding:7px 11px;background:#f0f4f5;border:1px solid #e3eaec;border-radius:9px;color:#60727b;font-size:11px;font-weight:700}
.workspace .employee-schedule-table th{background:#eaf0f3!important;color:#4e6470!important;font-size:11px!important;text-align:center!important;white-space:nowrap!important}
.workspace .employee-schedule-table td{vertical-align:middle!important;font-size:12px!important;color:#334c56!important}
.workspace .employee-schedule-table td:first-child{text-align:left!important;padding-left:18px!important}
.workspace .employee-schedule-table td:first-child b{color:#263f4a!important;font-size:12.5px!important}
.workspace .employee-schedule-table td:nth-child(2){text-align:left!important}
.workspace .employee-schedule-table td:nth-child(n/**/+3){text-align:center!important}
.workspace .employee-schedule-table tbody tr{cursor:pointer;transition:background .15s ease}
.workspace .employee-schedule-table tbody tr:hover{background:#eff6f4!important}
.workspace .employee-schedule-temp-count{display:inline-flex;justify-content:center;align-items:center;min-width:88px;padding:5px 9px;border-radius:8px;background:#f1f4f5;color:#72828a;font-size:11px;font-weight:600}
.workspace .employee-schedule-temp-count.has-items{background:#e9f3ef;color:#287b65}
@media(max-width:1000px){.workspace .employee-schedule-guide{grid-template-columns:1fr!important}.workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools{justify-content:flex-start!important}}
@media(max-width:640px){.workspace .employee-schedule-guide{margin:14px 12px!important}.workspace .employee-schedule-list-head{margin:0 12px 12px!important;align-items:flex-start!important}.workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools>select{max-width:none!important}.workspace .employee-schedule-list-head small{max-width:260px}}

/* Employee Schedule: name-first column proportions, without wrapping names */
.workspace .schedule-panel .schedule-table-wrap{overflow-x:auto!important;max-width:100%!important}
.workspace .schedule-panel .employee-schedule-table{width:100%!important;min-width:1030px!important;table-layout:fixed!important}
.workspace .schedule-panel .employee-schedule-table th:nth-child(1),.workspace .schedule-panel .employee-schedule-table td:nth-child(1){width:24%!important;min-width:0!important;text-align:left!important;padding-left:18px!important}
.workspace .schedule-panel .employee-schedule-table th:nth-child(2),.workspace .schedule-panel .employee-schedule-table td:nth-child(2){width:20%!important}
.workspace .schedule-panel .employee-schedule-table th:nth-child(3),.workspace .schedule-panel .employee-schedule-table td:nth-child(3){width:16%!important}
.workspace .schedule-panel .employee-schedule-table th:nth-child(4),.workspace .schedule-panel .employee-schedule-table td:nth-child(4){width:14%!important}
.workspace .schedule-panel .employee-schedule-table th:nth-child(5),.workspace .schedule-panel .employee-schedule-table td:nth-child(5){width:14%!important}
.workspace .schedule-panel .employee-schedule-table th:nth-child(6),.workspace .schedule-panel .employee-schedule-table td:nth-child(6){width:12%!important}
.workspace .schedule-panel .employee-schedule-table td.schedule-name-cell{white-space:nowrap!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important}
.workspace .schedule-panel .employee-schedule-table td.schedule-name-cell b{display:block!important;white-space:nowrap!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.45!important}
.workspace .schedule-panel .employee-schedule-table td:nth-child(2){text-align:left!important;overflow-wrap:break-word!important}
.workspace .schedule-panel .employee-schedule-table td:nth-child(4),.workspace .schedule-panel .employee-schedule-table td:nth-child(5){white-space:nowrap!important;font-size:11.5px!important;font-variant-numeric:tabular-nums!important}
@media(max-width:1100px){.workspace .schedule-panel .employee-schedule-table{min-width:1030px!important}}

/* Leave Log visual hierarchy and universal button affordance */
.workspace .leave-center-panel{background:#fff!important;border:1px solid #e1e8ec!important;border-radius:15px!important;overflow:hidden!important;box-shadow:0 5px 24px rgba(25,55,65,.045)!important}
.workspace .leave-center-panel .leave-center-head{padding:20px 24px!important;min-height:74px!important;border-bottom:1px solid #e5ebee!important;background:#fff!important}
.workspace .leave-center-panel .leave-center-head h2{font-size:20px!important;font-weight:750!important;letter-spacing:-.025em!important;color:#233e4b!important}
.workspace :is(.leave-center-panel,.mobile-access-panel) .leave-center-tabs{padding:11px 23px!important;gap:8px!important;background:#f8fafb!important;border-bottom:1px solid #e5ebee!important}
.workspace :is(.leave-center-panel,.mobile-access-panel) .leave-center-tabs button{border-radius:9px!important;padding:9px 16px!important;min-height:35px!important;box-shadow:none!important;transition:background-color .17s ease,color .17s ease,border-color .17s ease!important}
.workspace :is(.leave-center-panel,.mobile-access-panel) .leave-center-tabs button:not(.active):hover{background:#e9f1f0!important;color:#245c54!important;border-color:#d6e5e1!important}
.workspace :is(.leave-center-panel,.mobile-access-panel) .leave-center-tabs button.active{background:#fff!important;color:#11785f!important;border:1px solid #cfe5dc!important;box-shadow:0 2px 7px rgba(29,83,72,.06)!important}
.workspace .leave-center-panel .leave-center-entry-card{margin:17px 22px 12px!important;border-radius:12px!important;border:1px solid #e5ebe9!important;background:#f8faf9!important;padding:12px 14px!important}
.workspace .leave-center-panel .annual-leave-quota-summary{margin:0 22px 20px!important;padding:14px 16px!important;border:1px solid #e5eae8!important;border-radius:12px!important;background:#fff!important;gap:12px!important}
.workspace .leave-center-panel .annual-leave-quota-badge{border-radius:9px!important;background:#f3f7f7!important;border:1px solid #e5eceb!important}
.workspace .leave-center-panel .annual-leave-quota-badge.uml{background:#f6f7f3!important}
.workspace .leave-center-panel .leave-log-section-block{margin:0 22px 22px!important;border:1px solid #e1e8eb!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 2px 9px rgba(29,52,65,.025)!important}
.workspace .leave-center-panel .annual-leave-toolbar-title{padding:15px 16px!important;min-height:64px!important;background:#fff!important;border-bottom:1px solid #e5ebee!important;gap:12px!important}
.workspace .leave-center-panel .annual-leave-toolbar-title b{color:#263f4b!important;font-size:13px!important;font-weight:750!important}
.workspace .leave-center-panel .annual-leave-table-tools{gap:9px!important;flex-wrap:wrap!important}
.workspace .leave-center-panel .annual-leave-table-tools .searchbox{border-radius:9px!important;background:#fff!important}
.workspace .leave-center-panel .annual-leave-table-tools select{border-radius:9px!important;min-height:37px!important}
.workspace .leave-center-panel .annual-leave-history-table,.workspace .leave-center-panel .annual-leave-table{border-collapse:collapse!important;width:100%!important}
.workspace .leave-center-panel .annual-leave-history-table thead th,.workspace .leave-center-panel .annual-leave-table thead th{background:#edf2f5!important;color:#526878!important;text-align:center!important;font-size:11px!important;letter-spacing:.035em!important;border-bottom:1px solid #dfe7eb!important}
.workspace .leave-center-panel .annual-leave-history-table tbody td,.workspace .leave-center-panel .annual-leave-table tbody td{padding:11px 12px!important;border-bottom:1px solid #ebeff1!important;vertical-align:middle!important;color:#344c59!important}
.workspace .leave-center-panel .annual-leave-history-table tbody tr:nth-child(even),.workspace .leave-center-panel .annual-leave-table tbody tr:nth-child(even){background:#f8fafb!important}
.workspace .leave-center-panel .annual-leave-history-table tbody tr:hover,.workspace .leave-center-panel .annual-leave-table tbody tr:hover{background:#edf5f3!important}
.workspace .leave-center-panel .annual-leave-history-table td:nth-child(3),.workspace .leave-center-panel .annual-leave-table td:nth-child(2){color:#263d49!important}
.workspace .leave-center-panel .annual-leave-history-table td:nth-child(5),.workspace .leave-center-panel .annual-leave-table td:nth-child(n/**/+6){text-align:center!important}
.workspace .leave-center-panel .annual-leave-history-table td:last-child{max-width:280px!important;white-space:normal!important;overflow-wrap:anywhere!important}
.workspace .leave-center-panel .annual-leave-pagination{background:#f8fafb!important;border-top:1px solid #e5ebee!important;padding:11px 14px!important}
/* All actionable buttons: visible, restrained hover. Preserve disabled and active state. */
button:not(:disabled),.btn:not(:disabled),[role="button"]:not([aria-disabled="true"]){transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease!important}
button:not(:disabled):hover,.btn:not(:disabled):hover,[role="button"]:not([aria-disabled="true"]):hover{filter:brightness(.965);box-shadow:0 3px 11px rgba(27,62,64,.11)!important}
button.primary:not(:disabled):hover,.btn.primary:not(:disabled):hover,button[class*="primary"]:not(:disabled):hover{filter:brightness(.91);box-shadow:0 5px 14px rgba(0,125,94,.18)!important}
button.danger:not(:disabled):hover,.btn.danger:not(:disabled):hover{filter:brightness(.93);box-shadow:0 4px 13px rgba(180,64,64,.13)!important}
button:disabled,.btn:disabled{cursor:not-allowed!important;box-shadow:none!important}
@media(max-width:760px){.workspace .leave-center-panel .leave-center-head{padding:16px!important}.workspace :is(.leave-center-panel,.mobile-access-panel) .leave-center-tabs{padding:10px 13px!important;overflow-x:auto!important}.workspace .leave-center-panel .leave-center-entry-card,.workspace .leave-center-panel .annual-leave-quota-summary,.workspace .leave-center-panel .leave-log-section-block{margin-left:12px!important;margin-right:12px!important}.workspace .leave-center-panel .annual-leave-toolbar-title{align-items:flex-start!important;flex-wrap:wrap!important}.workspace .leave-center-panel .annual-leave-table-tools{width:100%!important}}
@media(prefers-reduced-motion:reduce){button,.btn,[role="button"]{transition:none!important}}

/* Leave Log history: compact day count, readable notes. */
.workspace .leave-center-panel .annual-leave-history-table{table-layout:fixed!important;width:100%!important;min-width:780px!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(1),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(1){width:17%!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(2),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(2){width:11%!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(3),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(3){width:19%!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(4),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(4){width:14%!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(5),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(5){width:6%!important;text-align:center!important;padding-left:5px!important;padding-right:5px!important;white-space:nowrap!important;font-variant-numeric:tabular-nums}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(6),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(6){width:33%!important;text-align:left!important;padding-left:15px!important;padding-right:15px!important;max-width:none!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;line-height:1.45!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(6){text-align:center!important}


/* Leave Log period selector and quota editor — unified, responsive layout */
.workspace .leave-center-panel .leave-center-head .annual-leave-year{
 display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important
}
.workspace .leave-center-panel .leave-center-head .annual-leave-year>span{
 font-size:11px!important;font-weight:700!important;letter-spacing:.055em!important;color:#718393!important
}
.workspace .leave-center-panel .leave-center-head .annual-leave-year-select{
 position:relative!important;display:flex!important;align-items:center!important;gap:9px!important;
 width:144px!important;min-width:144px!important;height:43px!important;min-height:43px!important;
 padding:0 13px!important;border:1px solid #dbe5e9!important;border-radius:11px!important;
 background:#fff!important;box-shadow:0 2px 7px rgba(27,58,68,.035)!important;box-sizing:border-box!important
}
.workspace .leave-center-panel .leave-center-head .annual-leave-year-select>i{
 position:static!important;transform:none!important;flex:0 0 auto!important;font-size:15px!important;color:#58778a!important
}
.workspace .leave-center-panel .leave-center-head .annual-leave-year-select>i:last-child{
 margin-left:auto!important;font-size:11px!important;color:#8396a2!important
}
.workspace .leave-center-panel .leave-center-head .annual-leave-year-select select{
 position:relative!important;flex:1 1 auto!important;min-width:0!important;width:100%!important;
 padding:0!important;margin:0!important;height:100%!important;border:0!important;outline:0!important;
 background:transparent!important;box-shadow:none!important;font-size:15px!important;
 font-weight:650!important;color:#284555!important;appearance:none!important
}
.workspace .leave-center-panel .leave-center-head .annual-leave-year-select:hover{
 border-color:#a8c9c4!important;background:#f9fcfb!important;box-shadow:0 2px 9px rgba(30,80,75,.06)!important
}
.workspace .leave-center-panel .leave-center-head .annual-leave-year-select:focus-within{
 border-color:#69ab9a!important;box-shadow:0 0 0 2px rgba(28,139,109,.09)!important
}
.workspace .leave-center-panel .annual-leave-setting-editor{
 display:grid!important;grid-template-columns:44px minmax(175px,1fr) minmax(320px,1.55fr) auto!important;
 align-items:center!important;gap:16px!important;padding:19px 20px!important;
 background:#f8f7f3!important;border:1px solid #e8e5db!important;border-radius:14px!important;
 box-sizing:border-box!important
}
.workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-setting-icon{
 grid-column:1!important;grid-row:1!important;margin:0!important;width:44px!important;height:44px!important
}
.workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-setting-copy{
 grid-column:2!important;grid-row:1!important;min-width:0!important;margin:0!important
}
.workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-setting-copy b{
 font-size:14px!important;line-height:1.4!important;color:#27414d!important
}
.workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-group-quota{
 grid-column:3!important;grid-row:1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:12px!important;width:100%!important;min-width:0!important;margin:0!important
}
.workspace .leave-center-panel .annual-leave-setting-editor .annual-leave-group-quota label{
 min-width:0!important;display:flex!important;flex-direction:column!important;gap:6px!important;margin:0!important
}
.workspace .leave-center-panel .annual-leave-setting-editor .annual-leave-group-quota label>span{
 font-size:11px!important;letter-spacing:.015em!important;color:#63788a!important
}
.workspace .leave-center-panel .annual-leave-setting-editor .annual-leave-quota-field{
 display:flex!important;align-items:center!important;width:100%!important;min-width:0!important;
 height:44px!important;min-height:44px!important;overflow:hidden!important;
 border:1px solid #d8e3e6!important;border-radius:10px!important;background:#fff!important;
 box-shadow:none!important;box-sizing:border-box!important
}
.workspace .leave-center-panel .annual-leave-setting-editor .annual-leave-quota-field input{
 min-width:0!important;flex:1!important;width:100%!important;height:100%!important;
 padding:0 12px!important;margin:0!important;border:0!important;outline:0!important;
 box-shadow:none!important;background:transparent!important;font-size:17px!important;color:#294555!important
}
.workspace .leave-center-panel .annual-leave-setting-editor .annual-leave-quota-field>span{
 flex:0 0 auto!important;padding:0 11px!important;color:#7a8c98!important;font-size:12px!important
}
.workspace .leave-center-panel .annual-leave-setting-editor .annual-leave-quota-field:focus-within{
 border-color:#73ad9d!important;box-shadow:0 0 0 2px rgba(35,147,113,.08)!important
}
.workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-quota-actions{
 grid-column:4!important;grid-row:1!important;display:flex!important;align-items:end!important;
 gap:9px!important;white-space:nowrap!important;margin:0!important
}
.workspace .leave-center-panel .annual-leave-setting-editor .annual-leave-quota-actions .btn{
 height:44px!important;min-height:44px!important;border-radius:10px!important;padding:0 16px!important
}
@media(max-width:1250px){
 .workspace .leave-center-panel .annual-leave-setting-editor{
  grid-template-columns:44px minmax(0,1fr) auto!important
 }
 .workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-group-quota{
  grid-column:1/3!important;grid-row:2!important
 }
 .workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-quota-actions{
  grid-column:3!important;grid-row:2!important
 }
}
@media(max-width:760px){
 .workspace .leave-center-panel .leave-center-head{flex-wrap:wrap!important}
 .workspace .leave-center-panel .annual-leave-setting-editor{grid-template-columns:40px minmax(0,1fr)!important;padding:15px!important;gap:12px!important}
 .workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-setting-icon{grid-column:1!important;grid-row:1!important}
 .workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-setting-copy{grid-column:2!important;grid-row:1!important}
 .workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-group-quota{grid-column:1/-1!important;grid-row:2!important}
 .workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-quota-actions{grid-column:1/-1!important;grid-row:3!important;justify-content:flex-end!important}
}
@media(max-width:430px){
 .workspace .leave-center-panel .annual-leave-setting-editor>.annual-leave-group-quota{grid-template-columns:1fr!important}
}


/* Leave Log / Saldo Cuti: prioritize full employee name and department. */
.workspace .leave-center-panel .annual-leave-table-wrap{overflow-x:auto!important;max-width:100%!important}
.workspace .leave-center-panel table.annual-leave-table{
 width:100%!important;min-width:1180px!important;table-layout:fixed!important
}
.workspace .leave-center-panel .annual-leave-table th:nth-child(1),
.workspace .leave-center-panel .annual-leave-table td:nth-child(1){width:9%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(2),
.workspace .leave-center-panel .annual-leave-table td:nth-child(2){width:22%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(3),
.workspace .leave-center-panel .annual-leave-table td:nth-child(3){width:23%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(4),
.workspace .leave-center-panel .annual-leave-table td:nth-child(4){width:12%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(5),
.workspace .leave-center-panel .annual-leave-table td:nth-child(5){width:10%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(6),
.workspace .leave-center-panel .annual-leave-table td:nth-child(6){width:8%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(7),
.workspace .leave-center-panel .annual-leave-table td:nth-child(7){width:8%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(8),
.workspace .leave-center-panel .annual-leave-table td:nth-child(8){width:8%!important}
.workspace .leave-center-panel .annual-leave-table tbody td:nth-child(2),
.workspace .leave-center-panel .annual-leave-table tbody td:nth-child(3){
 text-align:left!important;white-space:normal!important;overflow:visible!important;
 text-overflow:clip!important;overflow-wrap:break-word!important;word-break:normal!important;
 line-height:1.45!important;max-width:none!important
}
.workspace .leave-center-panel .annual-leave-table tbody td:nth-child(2) b{
 display:inline!important;max-width:none!important;white-space:normal!important;
 overflow:visible!important;text-overflow:clip!important;overflow-wrap:break-word!important
}
.workspace .leave-center-panel .annual-leave-table tbody td:nth-child(1),
.workspace .leave-center-panel .annual-leave-table tbody td:nth-child(n/**/+4){text-align:center!important}
.workspace .leave-center-panel .annual-leave-table tbody td:nth-child(n/**/+4){white-space:nowrap!important}
@media(max-width:800px){.workspace .leave-center-panel table.annual-leave-table{min-width:1100px!important}}

/* Saldo Cuti desktop: fit container without horizontal scroll; keep mobile overflow only. */
@media(min-width:801px){
.workspace .leave-center-panel .annual-leave-table-wrap{overflow-x:hidden!important}
.workspace .leave-center-panel table.annual-leave-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
}
.workspace .leave-center-panel .annual-leave-table th:nth-child(1),.workspace .leave-center-panel .annual-leave-table td:nth-child(1){width:9%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(2),.workspace .leave-center-panel .annual-leave-table td:nth-child(2){width:19%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(3),.workspace .leave-center-panel .annual-leave-table td:nth-child(3){width:20%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(4),.workspace .leave-center-panel .annual-leave-table td:nth-child(4){width:13%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(5),.workspace .leave-center-panel .annual-leave-table td:nth-child(5){width:11%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(6),.workspace .leave-center-panel .annual-leave-table td:nth-child(6){width:9%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(7),.workspace .leave-center-panel .annual-leave-table td:nth-child(7){width:9%!important}
.workspace .leave-center-panel .annual-leave-table th:nth-child(8),.workspace .leave-center-panel .annual-leave-table td:nth-child(8){width:10%!important}
.workspace .leave-center-panel .annual-leave-table tbody td:nth-child(2),.workspace .leave-center-panel .annual-leave-table tbody td:nth-child(3){min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;overflow:visible!important;text-overflow:clip!important}
@media(max-width:800px){.workspace .leave-center-panel .annual-leave-table-wrap{overflow-x:auto!important}.workspace .leave-center-panel table.annual-leave-table{min-width:950px!important}}

/* Center employee Active/Inactive badge text vertically and horizontally.
   Overrides legacy display:table that displaced the label upward. */



/* mobile dashboard safeguards: desktop remains unchanged */
@media(max-width:767px){
 html,body,#app{max-width:100%;min-width:0}
 html{overflow-x:clip;-webkit-text-size-adjust:100%}
 body{overflow-x:clip}
 #app{min-width:0}
 input,textarea,select{font-size:16px}
 img,svg,video,canvas{max-width:100%}
 .p-dialog,.p-drawer,.p-overlaypanel{max-width:calc(100vw - 16px)}
 .p-dialog{max-height:calc(100dvh - 24px)}
 .p-dialog-content{max-height:calc(100dvh - 130px);overflow-y:auto;overscroll-behavior:contain}
 .p-button,.p-select,.p-inputtext{min-height:40px}
 .p-datatable-wrapper,.p-datatable-table-container{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media(max-width:390px){.p-dialog{width:calc(100vw - 16px)!important;margin-inline:8px}}

/* HRIS Dashboard — ; desktop + mobile native workspace */
.db70{display:grid;gap:16px;padding-bottom:20px;max-width:1580px;margin:0 auto}
.db70 button{font:inherit;cursor:pointer}.db70 button:disabled{opacity:.55;cursor:not-allowed}
.db70-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;border-radius:18px;background:linear-gradient(120deg,#15573d,#21815c);color:#fff;box-shadow:0 12px 25px rgba(15,91,61,.12)}
.db70-overline,.db70-eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em}.db70-overline{color:#c8efda}.db70-hero h2{color:#fff;font-size:25px;line-height:1.25;margin:8px 0}.db70-hero p{color:#e3f4e9;font-size:12px;max-width:620px;line-height:1.6;margin:0}
.db70-hero-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.db70-hero-actions small{color:#d3f1df;font-size:11px}
.db70-btn{border:0;border-radius:10px;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 15px;font-size:12px!important;font-weight:750!important;min-height:41px;white-space:nowrap}
.db70-btn-light{background:#fff;color:#17583d}.db70-btn-primary{background:#fff;color:#166448}.db70-btn-outline{background:#eff8f2;color:#176747;border:1px solid #c8e4d1}
.db70-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.db70-kpi{min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:8px;text-align:left;padding:18px;background:#fff;border:1px solid #e1ebe4;border-radius:15px;box-shadow:0 3px 12px rgba(31,68,48,.04);color:#254633}.db70-kpi:hover:not(:disabled){border-color:#91c6a6;transform:translateY(-1px)}.db70-kpi-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e9f5ec;color:#23845b;font-size:17px}.db70-kpi-label{font-size:12px;color:#647d6e;font-weight:650}.db70-kpi strong{font-size:28px;font-weight:800;color:#173f2d;line-height:1.2;font-variant-numeric:tabular-nums}.db70-kpi-suffix{font-size:14px;color:#8ca496}.db70-kpi small{font-size:11px;color:#568269}.db70-kpi small i{font-size:10px}
.db70-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:13px;align-items:start}.db70-right{display:grid;gap:13px;min-width:0}.db70-panel{background:#fff;border:1px solid #e1ebe4;border-radius:16px;padding:20px;min-width:0;box-shadow:0 3px 12px rgba(31,68,48,.035)}.db70-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.db70-panel-head>i{font-size:20px;color:#56a177}.db70-eyebrow{color:#5c9d76}.db70-panel-head h3{font-size:17px;margin:5px 0;color:#224c36}.db70-panel-head p{font-size:12px;color:#849789;margin:4px 0 0}
.db70-primary-action{display:flex;align-items:center;gap:14px;border-radius:14px;background:linear-gradient(120deg,#1c7852,#27946a);color:#fff;padding:16px;margin-bottom:16px}.db70-primary-icon{width:45px;height:45px;flex:none;border-radius:12px;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:21px}.db70-primary-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.db70-primary-copy b{font-size:14px}.db70-primary-copy span{font-size:11px;line-height:1.5;color:#e1f4e8}.db70-operation-hint{padding:10px;margin-bottom:12px;border-radius:10px;background:#eaf7ee;color:#236849;font-size:12px}
.db70-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.db70-shortcuts button{display:flex;align-items:center;gap:10px;min-width:0;padding:13px;border:1px solid #e4ede6;border-radius:12px;background:#f8fbf9;color:#2a5039;text-align:left}.db70-shortcuts button:hover{border-color:#9bcbb0;background:#eff8f2}.db70-shortcuts button>i:first-child{font-size:19px;color:#26855b;width:23px}.db70-shortcuts button>i:last-child{color:#92aa9a;font-size:12px}.db70-shortcuts button span{flex:1;min-width:0}.db70-shortcuts button b,.db70-shortcuts button small{display:block}.db70-shortcuts button b{font-size:12px}.db70-shortcuts button small{font-size:10px;line-height:1.5;color:#7d9183;margin-top:3px}
.db70-date{display:grid;gap:10px}.db70-date label{font-size:12px;color:#617d6a;font-weight:700}.db70-date input{width:100%;max-width:100%;border:1px solid #d7e6da;border-radius:10px;padding:11px;font:inherit;min-height:44px;color:#234b35}.db70-disclaimer{font-size:11px;line-height:1.6;color:#849589;margin:13px 0 0}.db70-alert{display:flex;width:100%;align-items:center;gap:11px;text-align:left;border:1px solid #e6efe7;border-radius:11px;background:#f8fbf9;padding:12px;margin-top:8px;color:#2c533c}.db70-alert>i:first-child{color:#2d9466;font-size:19px}.db70-alert>i:last-child{color:#89a596;font-size:11px}.db70-alert span{flex:1}.db70-alert b,.db70-alert small{display:block}.db70-alert b{font-size:12px}.db70-alert small{font-size:10px;color:#849688;margin-top:4px}.db70-alert-static{cursor:default}.db70-text-action{border:0;background:none;color:#218057;font-size:11px!important;font-weight:700!important}.db70-machine-summary{display:flex;gap:16px;margin-bottom:10px;font-size:12px;color:#587864}.db70-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#9aa8a0;margin-right:6px}.db70-dot-green{background:#2caf70}.db70-dot-red{background:#e67e70}.db70-machine-list{display:grid;gap:4px}.db70-machine-list button{display:flex;justify-content:space-between;gap:10px;align-items:center;border:0;border-radius:9px;background:#f8fbf9;padding:10px 12px;color:#385c45;text-align:left;font-size:12px}.db70-machine-list small{color:#83998b}.db70-empty{font-size:12px;color:#86978b;padding:12px}
@media(max-width:1150px){.db70-grid{grid-template-columns:1fr}.db70-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.db70{gap:11px}.db70-hero{padding:20px;border-radius:15px;align-items:flex-start;flex-direction:column;gap:14px}.db70-hero h2{font-size:22px}.db70-hero-actions{width:100%;align-items:stretch}.db70-hero-actions small{text-align:center}.db70-kpis{gap:9px}.db70-kpi{padding:13px;border-radius:12px;gap:7px}.db70-kpi strong{font-size:23px}.db70-kpi-icon{width:34px;height:34px}.db70-panel{padding:15px;border-radius:14px}.db70-primary-action{flex-wrap:wrap;padding:14px}.db70-primary-copy{flex-basis:calc(100% - 65px)}.db70-primary-action>.db70-btn{width:100%}.db70-shortcuts{grid-template-columns:1fr}.db70-shortcuts button{min-height:53px}.db70-panel-head h3{font-size:16px}}

/* actionable attendance dashboard */
.db71-attendance{min-width:0}.db71-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:15px 0}
.db71-stats button{border:1px solid #e3eee7;border-radius:12px;background:#f5faf7;padding:12px 9px;display:flex;flex-direction:column;gap:5px;cursor:pointer;text-align:left;color:#23573e}
.db71-stats button:hover{background:#eaf7ef;border-color:#a8d5b7}.db71-stats b{font-size:22px;font-variant-numeric:tabular-nums}.db71-stats span{font-size:10px;line-height:1.3;color:#627c6b}
.db71-departments{margin-top:16px}.db71-department-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;font-size:12px;color:#23573e}.db71-department-head input{width:min(180px,55%);border:1px solid #dcebe1;border-radius:9px;padding:8px 10px;font:inherit;font-size:12px}
.db71-table-scroll{overflow:auto;max-height:250px}.db71-table-scroll table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}.db71-table-scroll th,.db71-table-scroll td{padding:9px 8px;border-bottom:1px solid #eaf0eb;text-align:left}.db71-table-scroll th{background:#f1f8f3;color:#406d52;position:sticky;top:0}.db71-table-scroll td{color:#466455}.db71-error{color:#a24b20;background:#fff5ec;border-radius:9px;padding:10px;font-size:12px}.db71-open-report{margin-top:14px}
@media(max-width:650px){.db71-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.db71-stats b{font-size:20px}}

/* dashboard: unobtrusive brand mascot and machine-level activity */
.db70-hero{position:relative;overflow:hidden;isolation:isolate;min-height:155px}
.db70-hero-copy{position:relative;z-index:2;flex:1;min-width:0}
.db70-hero-actions{position:relative;z-index:2}
.db72-hero-mascot{width:100px;height:132px;object-fit:contain;object-position:center bottom;align-self:flex-end;opacity:.76;filter:drop-shadow(0 7px 12px rgba(0,0,0,.12));pointer-events:none;flex:none;margin:-18px 4px -25px 0}
.db72-machines .db71-department-head>div{display:grid;gap:5px}
.db72-machines .db71-department-head small{font-size:11px;color:#7b9184;font-weight:400;line-height:1.45}
.db72-machines td:first-child small{display:block;font-size:10px;color:#82998b;margin-top:3px}
.db72-status{font-size:11px;font-weight:700;border-radius:30px;padding:5px 9px;background:#fcecec;color:#b54242;white-space:nowrap}
.db72-status.is-online{background:#e7f6ec;color:#238052}
.db72-machine-note{font-size:11px;color:#829487;line-height:1.6;margin:12px 0 0}
@media(max-width:800px){.db72-hero-mascot{width:75px;height:100px;opacity:.65;margin:0 -5px -25px 0}}
@media(max-width:620px){.db70-hero{padding-right:85px}.db72-hero-mascot{position:absolute;right:6px;bottom:0;width:78px;height:105px;margin:0;opacity:.38}.db70-hero-actions{width:100%}.db72-machines .db71-department-head{align-items:flex-start;flex-direction:column}.db72-machines .db71-department-head input{width:100%}}

/* dashboard interactive analytics controls */
.db73-date-presets{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 5px}
.db73-date-presets button{border:1px solid #dcece1;background:#f5faf6;color:#416a50;padding:8px 12px;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer;transition:.16s ease}
.db73-date-presets button:hover,.db73-date-presets button.db73-active{background:#e2f3e8;border-color:#82bf9a;color:#17633f}
.db73-insights{margin:15px 0;padding:17px;border:1px solid #e1ece4;border-radius:15px;background:linear-gradient(130deg,#f8fcf9,#fff)}
.db73-insight-title{display:flex;align-items:center;gap:9px;color:#23563a;font-size:13px;margin-bottom:13px;flex-wrap:wrap}
.db73-insight-title>i{color:#2d9762}.db73-insight-title small{margin-left:auto;color:#85978a;font-size:11px;font-weight:400}
.db73-bars{display:grid;gap:8px}.db73-bars button{width:100%;display:grid;grid-template-columns:minmax(80px,1.3fr) minmax(50px,3fr) 48px 15px;align-items:center;gap:11px;border:1px solid transparent;background:transparent;border-radius:10px;padding:9px 8px;text-align:left;cursor:pointer;color:#355d44;transition:.15s ease}
.db73-bars button:hover{background:#edf8f0;border-color:#cde7d4;transform:translateX(2px)}.db73-bars button:disabled{cursor:default;opacity:.65;transform:none}.db73-bar-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.db73-bar-track{height:10px;background:#e7f1e9;border-radius:20px;overflow:hidden}.db73-bar-track span{display:block;height:100%;background:linear-gradient(90deg,#55b881,#198253);border-radius:20px;transition:width .3s ease}.db73-bars strong{font-size:12px;text-align:right;font-variant-numeric:tabular-nums}.db73-bars i{font-size:11px;color:#78a68b}
.db73-machine-controls{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.db73-machine-controls select,.db73-machine-controls input{border:1px solid #dce7df;background:#fff;color:#31583e;border-radius:9px;padding:9px 10px;font:inherit;font-size:12px;min-width:0}.db73-machine-controls input{width:155px}
.db73-quick-note{display:flex;gap:9px;align-items:flex-start;background:#f0f8f3;color:#56806a;border-radius:11px;padding:11px 13px;font-size:11px;line-height:1.5;margin-bottom:12px}.db73-quick-note i{margin-top:2px;color:#28885a}
.db70-kpi,.db71-stats button{transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease}.db70-kpi:not(:disabled):hover,.db71-stats button:hover{transform:translateY(-3px);box-shadow:0 9px 23px rgba(25,112,69,.12);border-color:#9bd4ae}
@media(max-width:650px){.db73-insight-title small{margin-left:0;width:100%}.db73-bars button{grid-template-columns:minmax(65px,1fr) minmax(40px,1.5fr) 40px 12px;gap:6px;padding:8px 3px}.db73-machine-controls{width:100%}.db73-machine-controls select{flex:1}.db73-machine-controls input{width:100%;flex-basis:100%}}

/* interactive dashboard command center */
.db74-explorer{padding:20px 23px;border:1px solid #cae5d2;background:linear-gradient(115deg,#f4fbf6,#fff);animation:db74-in .18s ease}
@keyframes db74-in{from{opacity:.5;transform:translateY(-6px)}to{opacity:1;transform:none}}
.db74-explorer-head,.db74-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.db74-explorer-head h3{font-size:17px;margin:4px 0 5px;color:#24583b}.db74-explorer-head p{font-size:12px;color:#799082;margin:0}
.db74-close,.db74-detail-head>button{border:0;background:#e9f5ed;color:#306c47;border-radius:9px;width:32px;height:32px;cursor:pointer}
.db74-explorer-body{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.db74-explorer-body p{font-size:12px;color:#6e8776;max-width:430px}
.db74-big-number{font-size:30px;font-weight:800;color:#21613e;margin-right:12px}.db74-big-number small{font-size:12px;font-weight:600;color:#7b9383}.db74-submetric{font-size:12px;color:#607a68;margin-right:auto}
.db74-meter{height:10px;width:130px;background:#e4eee7;border-radius:15px;overflow:hidden}.db74-meter span{display:block;height:100%;background:#2b9d65;border-radius:15px}
.db74-detail{margin:15px 0;border:1px solid #cfe8d7;border-radius:14px;background:#fbfefc;padding:16px}.db74-detail-head b{font-size:14px;color:#27563c}.db74-detail-head small{display:block;color:#829588;font-size:11px;margin-top:4px}
.db74-detail-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.db74-detail-tools input{flex:1;min-width:160px;border:1px solid #d4e6d9;border-radius:9px;padding:10px 12px;background:white;font:inherit;font-size:12px}.db74-detail-tools span{font-size:11px;color:#7c9082}
.db74-table{overflow:auto;max-height:310px;border:1px solid #e4eee7;border-radius:10px}.db74-table table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.db74-table th,.db74-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #e8f0eb}.db74-table th{background:#eff8f2;position:sticky;top:0;color:#376c4b}.db74-table td{color:#4b6655}
.db71-stats button{position:relative}.db71-stats button>i{position:absolute;right:10px;top:10px;font-size:11px;color:#72a88a;opacity:.7}
@media(max-width:650px){.db74-explorer{padding:15px}.db74-explorer-body{align-items:stretch}.db74-explorer-body .db70-btn{flex:1}.db74-detail{padding:11px}.db74-detail-tools .db70-btn{width:100%}}

/* semantic dashboard analytics palette, scoped to dashboard only */
.db70{--db75-green:#20815b;--db75-amber:#b8790e;--db75-red:#c44550;--db75-blue:#3269b3;--db75-purple:#7751b4;--db75-orange:#c86c2b}
.db70-kpi{position:relative;overflow:hidden;border-top:3px solid var(--db75-accent,#20815b);background:linear-gradient(160deg,var(--db75-tint,#f5fbf7),#fff 60%)}
.db70-kpi-icon{background:var(--db75-icon-bg,#e9f5ec);color:var(--db75-accent,#20815b)}
.db70-kpi strong{color:var(--db75-number,#173f2d)}
.db75-kpi-employees{--db75-accent:#23855c;--db75-tint:#f0faf4;--db75-icon-bg:#e0f4e7}
.db75-kpi-departments{--db75-accent:#3878b6;--db75-tint:#f1f7fd;--db75-icon-bg:#e3effc;--db75-number:#244e77}
.db75-kpi-machines.db75-state-success{--db75-accent:#23855c;--db75-tint:#f0faf4;--db75-icon-bg:#e0f4e7}
.db75-kpi-machines.db75-state-warning{--db75-accent:#c58218;--db75-tint:#fff8ed;--db75-icon-bg:#fff0d7;--db75-number:#8d590d}
.db75-kpi-logs{--db75-accent:#7656b2;--db75-tint:#f8f4ff;--db75-icon-bg:#f0e9fc;--db75-number:#62419b}
.db71-stats button{--db75-accent:#25835c;--db75-bg:#f0faf4;--db75-border:#d7ecdf;--db75-label:#456e56;background:var(--db75-bg);border-color:var(--db75-border);color:var(--db75-accent);border-left:3px solid var(--db75-accent)}
.db71-stats button span{color:var(--db75-label)}.db71-stats button>i{color:var(--db75-accent)}
.db71-stats .db75-success{--db75-accent:#20855c;--db75-bg:#effaf3;--db75-border:#cbead7;--db75-label:#47745b}
.db71-stats .db75-warning{--db75-accent:#a66d0a;--db75-bg:#fff8e9;--db75-border:#f1dfb5;--db75-label:#8b6b37}
.db71-stats .db75-danger{--db75-accent:#ba3d49;--db75-bg:#fff1f2;--db75-border:#f3d0d4;--db75-label:#9b5860}
.db71-stats .db75-orange{--db75-accent:#b96325;--db75-bg:#fff4eb;--db75-border:#f0d8c6;--db75-label:#98684a}
.db71-stats .db75-info{--db75-accent:#306fb5;--db75-bg:#edf5ff;--db75-border:#d2e2f6;--db75-label:#50749e}
.db71-stats .db75-purple{--db75-accent:#7751b4;--db75-bg:#f7f1ff;--db75-border:#e6d7f7;--db75-label:#78619c}
.db71-stats .db75-neutral{--db75-accent:#657687;--db75-bg:#f3f6f8;--db75-border:#dce4ea;--db75-label:#667787}
.db71-stats button:hover{background:var(--db75-bg);border-color:var(--db75-accent);filter:saturate(1.13);box-shadow:0 7px 19px rgba(36,48,65,.09)}
.db70-alert{transition:background .17s ease,border-color .17s ease}
.db75-alert-pending{background:#fff9ec;border-color:#f1dfb7}.db75-alert-pending>i:first-child{color:#b77b13}.db75-alert-pending:hover{background:#fff3d9}
.db75-alert-contract{background:#fff3f0;border-color:#f3d7d0}.db75-alert-contract>i:first-child{color:#bf5947}.db75-alert-contract:hover{background:#ffebe6}
.db75-alert-birthday{background:#f6f1ff;border-color:#e8ddf8}.db75-alert-birthday>i:first-child{color:#8158b9}
.db73-bar-track span{background:linear-gradient(90deg,#65a4dd,#3877b7)}.db73-bar-track.db75-bar-empty{background:#f2e4e5}.db73-bar-track.db75-bar-empty span{background:#cb6871}
.db74-explorer{border-top:3px solid #3878b6}
@media(prefers-reduced-motion:reduce){.db70-kpi,.db71-stats button,.db70-alert{transition:none!important}}

/* quiet premium analytical KPI design: neutral cards, semantic data accents only */
.db70 .db76-kpis{gap:14px}
.db70 .db76-kpi{display:flex;flex-direction:column;gap:0;padding:19px 20px 17px;border:1px solid #e2e9e5;border-radius:16px;background:#fff;box-shadow:0 3px 14px rgba(28,57,42,.035);border-top:1px solid #e2e9e5;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;min-height:224px}
.db70 .db76-kpi:hover:not(:disabled){border-color:#b8d3c3;box-shadow:0 9px 25px rgba(35,67,50,.085);transform:translateY(-2px)}
.db76-kpi-head{display:flex;width:100%;align-items:center;justify-content:space-between;margin-bottom:15px}
.db70 .db76-kpi .db70-kpi-icon{width:38px;height:38px;border-radius:11px;background:#f0f5f2;color:#3b7658;font-size:16px}
.db76-kpi-open{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;color:#a4b2a9;font-size:12px}
.db70 .db76-kpi .db70-kpi-label{font-size:12px;letter-spacing:.005em;font-weight:650;color:#718477;margin-bottom:5px}
.db70 .db76-kpi strong{font-size:30px;letter-spacing:-.04em;line-height:1.12;color:#233e30;font-weight:760;margin-bottom:8px}
.db70 .db76-kpi .db70-kpi-suffix{font-size:15px;letter-spacing:0;color:#8b9c91;font-weight:550}
.db76-kpi-insight{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.45;color:#7a8e80;font-weight:550;min-height:17px}
.db76-kpi-insight.db76-attention{color:#9c7539}
.db76-kpi-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#a0b5a6}
.db76-dot-positive{background:#56a47a}.db76-dot-warning{background:#c69c58}
.db76-kpi-meter{display:block;width:100%;height:5px;border-radius:10px;overflow:hidden;background:#edf1ee;margin-top:auto;margin-bottom:10px}
.db76-kpi-meter>span{display:block;height:100%;border-radius:10px;background:#5e9c78;transition:width .25s ease}
.db76-kpi-divider{display:block;width:100%;height:1px;background:#eef1ef;margin-top:auto;margin-bottom:12px}
.db76-kpi-footer{font-size:10.5px;color:#8b9a90;line-height:1.4;white-space:normal}
.db76-kpi-disclaimer{font-size:10.5px;color:#91a097;margin:-6px 2px 1px;line-height:1.5}
.db70 .db71-stats button{background:#fff;border:1px solid #e3ebe5;border-left:1px solid #e3ebe5;color:#315b42;box-shadow:none;transition:border-color .2s ease,background .2s ease}
.db70 .db71-stats button:hover{background:#f8faf9;border-color:#bbd3c3;filter:none;box-shadow:0 4px 14px rgba(34,61,43,.05)}
.db70 .db71-stats .db75-warning strong,.db70 .db71-stats .db75-warning>i{color:#a87d3d}
.db70 .db71-stats .db75-danger strong,.db70 .db71-stats .db75-danger>i{color:#b46869}
.db70 .db71-stats .db75-orange strong,.db70 .db71-stats .db75-orange>i{color:#af815b}
.db70 .db71-stats .db75-info strong,.db70 .db71-stats .db75-info>i{color:#628aa9}
.db70 .db71-stats .db75-purple strong,.db70 .db71-stats .db75-purple>i{color:#8575a5}
.db70 .db75-alert-pending,.db70 .db75-alert-contract,.db70 .db75-alert-birthday{background:#fbfcfb;border-color:#e4ebe5}
.db70 .db75-alert-pending:hover,.db70 .db75-alert-contract:hover,.db70 .db75-alert-birthday:hover{background:#f6f9f7}
.db70 .db73-bar-track span{background:#669e7f}
.db70 .db74-explorer{border:1px solid #dce9df;border-top:1px solid #dce9df;background:#fff}
@media(max-width:650px){.db70 .db76-kpi{padding:15px;min-height:208px}.db70 .db76-kpi strong{font-size:26px}.db76-kpi-footer{font-size:10px}}

/* mobile-first premium dashboard, stable data refresh */
.db78-update-status{display:inline-flex!important;align-items:center;gap:7px;color:#fff!important;opacity:.95;font-weight:600;font-size:12px!important;text-shadow:0 1px 2px rgba(0,0,0,.22)}
.db78-update-status i{color:#e0f5e9}
.db78-period{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;background:#f3f7f4;border-radius:12px;border:1px solid #e3ebe5}
.db78-period button{min-width:0!important;padding:10px 8px!important;border-radius:8px!important;white-space:nowrap;font-weight:650}
.db78-period-caption{display:flex;align-items:center;gap:7px;margin:9px 0 13px;font-size:12px;color:#72867a;flex-wrap:wrap}.db78-period-caption span{margin-left:auto;color:#28734f}
.db78-attendance-skeleton{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.db78-attendance-skeleton span{height:76px;border-radius:12px;background:linear-gradient(100deg,#edf2ee 25%,#f8faf8 50%,#edf2ee 75%);background-size:220% 100%;animation:db78shimmer 1.8s ease-in-out infinite}@keyframes db78shimmer{to{background-position-x:-220%}}
@media(max-width:700px){
 .db70{min-width:0;width:100%;overflow:visible;gap:13px!important}
 .db70-hero{padding:19px!important;padding-right:19px!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;border-radius:17px!important}
 .db70-hero-copy{padding-right:60px;min-width:0}.db70-hero h2{font-size:21px!important;letter-spacing:-.35px}.db70-hero p{font-size:12px!important;line-height:1.55}
 .db72-hero-mascot{right:7px!important;top:12px!important;bottom:auto!important;width:57px!important;height:79px!important;opacity:.45!important;object-fit:contain}
 .db70-hero-actions{width:100%!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap;gap:10px!important}
 .db70-hero-actions .db70-btn{width:auto!important;min-height:38px;flex:0 0 auto}.db78-update-status{margin-left:auto;text-align:right!important;font-size:11px!important}
 .db70-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .db76-kpi{padding:13px!important;min-height:158px!important;gap:7px!important;border-radius:14px!important;overflow:hidden}
 .db76-kpi-head{width:100%;display:flex;justify-content:space-between}.db76-kpi strong{font-size:clamp(22px,6vw,29px)!important;line-height:1.1}.db76-kpi-footer{font-size:10px!important;line-height:1.4;overflow-wrap:anywhere}.db76-kpi-insight{font-size:10px!important;line-height:1.35}
 .db70-grid,.db70-right,.db70-panels{grid-template-columns:minmax(0,1fr)!important;min-width:0!important}
 .db70-panel{padding:15px!important;min-width:0!important;border-radius:15px!important}.db70-panel-head{align-items:flex-start!important}.db70-panel-head h3{font-size:16px!important}
 .db71-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.db71-stats button{min-width:0;min-height:87px;padding:12px!important}
 .db70-primary-action{display:grid!important;grid-template-columns:42px minmax(0,1fr);gap:10px!important}.db70-primary-icon{grid-column:1}.db70-primary-copy{grid-column:2;min-width:0;flex-basis:auto!important}.db70-primary-action>.db70-btn{grid-column:1/-1;width:100%!important}
 .db70-shortcuts{grid-template-columns:minmax(0,1fr)!important}.db74-explorer-body,.db74-detail-tools{min-width:0;flex-wrap:wrap}.db74-detail-tools input{max-width:100%;min-width:0}
 .db78-attendance-skeleton{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:370px){.db70-kpis{grid-template-columns:1fr!important}.db76-kpi{min-height:0!important}.db70-hero-actions{align-items:stretch!important;flex-direction:column!important}.db78-update-status{margin-left:0}}
@media(prefers-reduced-motion:reduce){.db78-attendance-skeleton span{animation:none}}

/* dashboard tables inherit HRIS native data-table visual language */
.workspace .db70 .db74-table,.workspace .db70 .db71-table-scroll{border:1px solid var(--line,#e4eae7);border-radius:12px;overflow:auto;background:var(--surface,#fff);max-width:100%}
.workspace .db70 .db74-table .data-table,.workspace .db70 .db71-table-scroll .data-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;white-space:nowrap}
.workspace .db70 .db74-table .data-table thead th,.workspace .db70 .db71-table-scroll .data-table thead th{background:#f5f7f6!important;color:#52615b!important;border-bottom:1px solid #e2e9e5!important;padding:12px 14px!important;font-size:11px;font-weight:700;letter-spacing:.015em;text-align:left}
.workspace .db70 .db74-table .data-table tbody td,.workspace .db70 .db71-table-scroll .data-table tbody td{background:#fff;color:#35473c;border-bottom:1px solid #edf1ee;padding:12px 14px!important;transition:background .15s}
.workspace .db70 .db74-table .data-table tbody tr:hover td,.workspace .db70 .db71-table-scroll .data-table tbody tr:hover td{background:#f6faf7!important}
.db79-intelligence{margin:18px 0;padding:18px;border:1px solid #e6ebe8;border-radius:14px;background:linear-gradient(135deg,#fff,#fafcfb)}
.db79-intelligence-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.db79-intelligence-heading h4{margin:3px 0 4px;font-size:15px;color:#273b31}.db79-intelligence-heading p{margin:0;font-size:11px;color:#849088;line-height:1.5}.db79-intelligence-heading>i{color:#8b9b90;font-size:18px}
.db79-insight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.db79-insight-grid button{display:flex;align-items:center;gap:11px;min-width:0;text-align:left;border:1px solid #e9eeea;background:#fff;border-radius:11px;padding:13px;cursor:pointer;transition:box-shadow .2s,border-color .2s,transform .2s}.db79-insight-grid button:hover:not(:disabled){border-color:#b6cdc0;box-shadow:0 5px 16px #203c2a0c;transform:translateY(-1px)}.db79-insight-grid button:disabled{cursor:default;opacity:.65}.db79-insight-grid button>span:nth-child(2){flex:1;min-width:0}.db79-insight-grid b,.db79-insight-grid small{display:block;overflow-wrap:anywhere}.db79-insight-grid b{font-size:12px;color:#304339}.db79-insight-grid small{font-size:11px;color:#7b8980;margin-top:4px;line-height:1.45}.db79-insight-grid button>i{font-size:12px;color:#9aa89e}.db79-insight-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#f1f4f2;color:#677d6f;flex-shrink:0}.db79-insight-icon.is-amber{background:#fbf4e9;color:#ad8148}.db79-insight-icon.is-red{background:#fbefee;color:#b16c67}.db79-insight-icon.is-slate{background:#f0f3f4;color:#71838b}
@media(max-width:700px){.db79-insight-grid{grid-template-columns:1fr}.db79-intelligence{padding:14px}.db79-insight-grid button{min-height:62px}}

/* dashboard tables stay real, horizontally scrollable tables on mobile.
   Scope overrides to dashboard only, never alter mobile Employee/Report card layouts. */
@media(max-width:800px){
.workspace .db70 .db74-table.table-wrap,.workspace .db70 .db71-table-scroll.table-wrap{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain;border:1px solid #e4eae7!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
.workspace .db70 .db74-table.table-wrap>table.data-table,.workspace .db70 .db71-table-scroll.table-wrap>table.data-table{display:table!important;width:max-content!important;min-width:100%!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important}
.workspace .db70 .db74-table.table-wrap>table.data-table>thead,.workspace .db70 .db71-table-scroll.table-wrap>table.data-table>thead{display:table-header-group!important}
.workspace .db70 .db74-table.table-wrap>table.data-table>tbody,.workspace .db70 .db71-table-scroll.table-wrap>table.data-table>tbody{display:table-row-group!important;width:auto!important}
.workspace .db70 .db74-table.table-wrap>table.data-table tr,.workspace .db70 .db71-table-scroll.table-wrap>table.data-table tr,.workspace .db70 .db74-table.table-wrap>table.data-table tbody tr,.workspace .db70 .db71-table-scroll.table-wrap>table.data-table tbody tr{display:table-row!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.workspace .db70 .db74-table.table-wrap>table.data-table :is(th,td),.workspace .db70 .db71-table-scroll.table-wrap>table.data-table :is(th,td){display:table-cell!important;width:auto!important;max-width:none!important;min-width:0!important;vertical-align:middle!important;white-space:nowrap!important;padding:11px 13px!important;border-radius:0!important;float:none!important}
.workspace .db70 .db74-table.table-wrap>table.data-table td::before,.workspace .db70 .db71-table-scroll.table-wrap>table.data-table td::before{display:none!important;content:none!important}
.workspace .db70 .db74-table.table-wrap>table.data-table td:first-child,.workspace .db70 .db71-table-scroll.table-wrap>table.data-table td:first-child{border-bottom:1px solid #edf1ee!important;font-weight:inherit!important}
.workspace .db70 .db74-table.table-wrap>table.data-table td[colspan],.workspace .db70 .db71-table-scroll.table-wrap>table.data-table td[colspan]{display:table-cell!important;text-align:center!important}
.workspace .db70 .db74-table.table-wrap>table.data-table td :is(button,a),.workspace .db70 .db71-table-scroll.table-wrap>table.data-table td :is(button,a){white-space:nowrap!important;min-height:32px!important}
.db70 .db71-department-head{display:flex!important;flex-wrap:wrap;align-items:flex-start;gap:12px}
.db70 .db73-machine-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;width:100%!important;align-items:stretch!important}
.db70 .db73-machine-controls select{width:100%!important;min-width:0!important;max-width:100%!important;flex:auto!important;margin:0!important}
.db70 .db73-machine-controls input{grid-column:1/-1;width:100%!important;min-width:0!important;max-width:100%!important;flex:auto!important;margin:0!important}
.db70 .db78-update-status{font-size:11px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:break-word;max-width:100%;text-align:left!important;margin-left:0!important}
}
@media(min-width:801px){.db70 .db73-machine-controls{justify-content:flex-end}.db70 .db73-machine-controls :is(select,input){min-height:37px}.db70 .db73-machine-controls select{max-width:180px}}

/* understated full-date dashboard refresh indicator */
.db70 .db82-update-status{display:inline-flex!important;align-items:center;justify-content:flex-end;gap:7px!important;max-width:100%;font-size:10px!important;line-height:1.35!important;color:#74877e!important;white-space:normal!important;text-align:right!important}
.db70 .db82-update-status>i{font-size:11px!important;color:#729785!important;flex-shrink:0}
.db70 .db82-update-copy{display:flex;flex-direction:column;gap:1px;min-width:0}
.db70 .db82-update-label{font-size:10px;font-weight:600;letter-spacing:.01em}
.db70 .db82-update-datetime{font-size:10px;font-weight:400;opacity:.9;font-variant-numeric:tabular-nums}
@media(max-width:800px){.db70 .db82-update-status{justify-content:flex-start!important;text-align:left!important;margin-left:0!important}.db70 .db82-update-datetime{font-size:10px}}
/* dashboard timestamp contrast on dark hero (desktop and mobile). */
.db70 .db70-hero .db82-update-status{color:#f3fff8!important;opacity:1!important;text-shadow:0 1px 2px rgba(0,0,0,.18)!important}
.db70 .db70-hero .db82-update-status>i{color:#dcf6e6!important}
.db70 .db70-hero .db82-update-label{color:#ffffff!important;opacity:1!important;font-size:11px!important;font-weight:700!important}
.db70 .db70-hero .db82-update-datetime{color:#e0f4e8!important;opacity:1!important;font-size:10px!important}

/* clear, compact dashboard last-updated timestamp; override legacy small styles */
.db70 .db70-hero .db70-hero-actions .db82-update-status{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;gap:8px!important;padding:7px 10px!important;margin:0!important;max-width:100%;min-height:34px;border:1px solid rgba(255,255,255,.24)!important;border-radius:9px;background:rgba(8,48,31,.24)!important;color:#fff!important;text-align:left!important;text-shadow:none!important;box-sizing:border-box}
.db70 .db70-hero .db82-update-copy{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0}
.db70 .db70-hero .db82-update-label{display:block!important;visibility:visible!important;color:#fff!important;font-size:11px!important;line-height:1.35!important;font-weight:700!important;opacity:1!important}
.db70 .db70-hero .db82-update-datetime{display:block!important;color:#e7f4ed!important;font-size:10px!important;line-height:1.4!important;font-weight:500!important;opacity:1!important;font-variant-numeric:tabular-nums}
.db70 .db70-hero .db82-update-status>i{color:#d5f3e3!important;font-size:13px!important}
@media(max-width:620px){.db70 .db70-hero .db70-hero-actions .db82-update-status{width:auto;max-width:100%;align-self:flex-start}.db70 .db70-hero .db82-update-datetime{font-size:10px!important}}

/* Balanced command center, no narrow nested machine tables */
.db70-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:16px!important}
.db70-right{display:contents!important}
.db70-grid>.db70-actions-panel,.db70-grid>.db70-right>.db71-attendance{grid-column:auto;min-width:0}
.db84-monitor{min-width:0}.db84-monitor .db73-insights{margin:12px 0 20px}.db84-monitor .db71-departments{margin-top:14px}
.db84-monitor .db71-table-scroll{max-height:380px;overflow:auto;-webkit-overflow-scrolling:touch}
.db84-monitor .db71-table-scroll table{min-width:620px}
.db84-machine-counts{display:flex;flex-wrap:wrap;gap:15px;font-size:12px;color:#607969;border-bottom:1px solid #e8eee9;padding:0 0 13px}
.db84-machine-pending{padding:22px;color:#82958a;font-size:12px}
.db84-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.db84-bottom>.db70-panel{min-width:0}.db84-intelligence .db79-intelligence{margin:0;border:0;padding:0;background:transparent}
.db84-bottom .db79-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.db84-monitor .db73-machine-controls{display:grid;grid-template-columns:150px 150px minmax(160px,1fr);gap:8px;align-items:center}
.db84-monitor .db73-machine-controls>*{width:100%;min-width:0;max-width:none}
@media(max-width:1100px){.db70-grid,.db84-bottom{grid-template-columns:1fr!important}.db70-grid>.db70-actions-panel,.db70-grid>.db70-right>.db71-attendance{grid-column:1}}
@media(max-width:680px){.db84-monitor .db73-machine-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.db84-monitor .db73-machine-controls input{grid-column:1/-1}.db84-bottom .db79-insight-grid{grid-template-columns:1fr}.db84-monitor .db71-department-head{align-items:stretch;flex-direction:column}.db84-monitor .db70-panel-head{align-items:flex-start;flex-wrap:wrap}.db84-monitor .db71-table-scroll table{min-width:620px}}

/* KPI and attendance drilldowns float over dashboard instead of extending the page. */
.db85-modal-backdrop{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(15,35,27,.48);backdrop-filter:blur(3px);animation:db85-backdrop .16s ease-out;overflow:hidden}
.db85-kpi-modal,.db85-detail-modal{width:min(100%,660px);max-height:min(86vh,860px);overflow:auto;overscroll-behavior:contain;margin:0!important;background:#fff!important;border:1px solid #e0e9e3!important;border-radius:18px!important;box-shadow:0 22px 70px rgba(12,38,25,.22)!important;animation:db85-pop .2s ease-out}
.db85-kpi-modal{padding:25px!important}
.db85-detail-modal{width:min(100%,1050px);padding:24px!important;display:flex;flex-direction:column;min-height:0}
.db85-detail-modal .db74-detail-head{flex-shrink:0}
.db85-detail-modal .db74-table{max-height:min(52vh,540px);overflow:auto;min-height:0;overscroll-behavior:contain}
.db85-detail-modal .db74-table table{min-width:720px}
.db85-detail-modal .db74-detail-tools{flex-shrink:0}
.db85-modal-backdrop .db74-close,.db85-modal-backdrop .db74-detail-head>button{flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#f0f5f1;color:#426a53;display:grid;place-items:center}
.db85-modal-backdrop .db74-close:hover,.db85-modal-backdrop .db74-detail-head>button:hover{background:#e0ede4;color:#194d31}
@keyframes db85-backdrop{from{opacity:0}to{opacity:1}}@keyframes db85-pop{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:650px){.db85-modal-backdrop{padding:12px;align-items:center}.db85-kpi-modal,.db85-detail-modal{max-height:calc(100dvh - 24px);border-radius:15px!important;padding:16px!important}.db85-detail-modal .db74-table{max-height:48dvh}.db85-detail-modal .db74-detail-tools{gap:8px}.db85-detail-modal .db74-detail-tools input{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.db85-modal-backdrop,.db85-kpi-modal,.db85-detail-modal{animation:none}}

/* actionable, information-rich KPI dialogs */
.db85-kpi-modal{width:min(100%,760px)!important}.db86-modal-content{display:grid;gap:18px;margin-top:18px}.db86-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.db86-summary-grid.db86-three{grid-template-columns:repeat(3,minmax(0,1fr))}.db86-highlight{display:flex;flex-direction:column;gap:7px;padding:16px;background:#f7faf8;border:1px solid #e7eee9;border-radius:12px}.db86-highlight>span{font-size:12px;color:#6b8072;font-weight:650}.db86-highlight strong{font-size:28px;line-height:1.1;color:#234d37;font-variant-numeric:tabular-nums}.db86-highlight small{font-size:11px;color:#829387;line-height:1.5}.db86-section-title{font-size:13px;font-weight:750;color:#244c38;padding-bottom:9px;border-bottom:1px solid #e7eee9}.db86-help{margin:0;font-size:12px;line-height:1.7;color:#788b7f}.db86-action-list{display:grid;gap:8px}.db86-action-list button,.db86-machine-list button{display:flex;align-items:center;gap:12px;text-align:left;padding:13px;background:#fff;border:1px solid #e3ebe5;border-radius:11px;cursor:pointer;color:#29503b;font:inherit}.db86-action-list button:hover,.db86-machine-list button:hover{background:#f4f9f5;border-color:#b6d3c0}.db86-action-list button>i:first-child{color:#31865d;font-size:17px}.db86-action-list button>span{flex:1;display:grid;gap:4px}.db86-action-list button b{font-size:12px}.db86-action-list button small{font-size:11px;color:#7b8c80}.db86-action-list button>i:last-child{color:#94a69a}.db86-machine-list{display:grid;gap:6px;max-height:235px;overflow:auto}.db86-machine-list button{padding:10px 12px;font-size:12px}.db86-machine-list button>span:nth-child(2){flex:1;font-weight:650}.db86-machine-list button small{color:#708677}.db86-status-dot{height:8px;width:8px;border-radius:50%;background:#c98678}.db86-status-dot.is-online{background:#399369}.db86-attendance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.db86-attendance-grid button{display:grid;gap:7px;padding:12px 8px;border:1px solid #e3ebe5;border-radius:11px;background:#fafcfb;cursor:pointer;text-align:center}.db86-attendance-grid button strong{font-size:22px;color:#244d38}.db86-attendance-grid button span{font-size:11px;color:#718477}.db86-actions{display:flex;gap:9px;flex-wrap:wrap}.db86-actions .db70-btn{min-height:37px}
@media(max-width:650px){.db86-summary-grid,.db86-summary-grid.db86-three{grid-template-columns:repeat(2,minmax(0,1fr))}.db86-attendance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.db86-highlight{padding:12px}.db86-highlight strong{font-size:23px}.db86-actions .db70-btn{flex:1}}

/* modals teleported to document body, immune to dashboard layout transforms. */
body > .db85-modal-backdrop{position:fixed!important;inset:0!important;z-index:2147483000!important;box-sizing:border-box;width:100vw;max-width:100vw;min-height:100dvh;padding:clamp(12px,3vw,28px);overflow-y:auto;overflow-x:hidden;align-items:center;justify-content:center}
body > .db85-modal-backdrop .db85-detail-modal{width:min(100%,1100px)!important;max-width:100%;max-height:calc(100dvh - 32px);margin:auto!important;overflow:auto}
body > .db85-modal-backdrop .db85-kpi-modal{max-width:100%;margin:auto!important}
body > .db85-modal-backdrop .db74-table{width:100%;max-width:100%;overflow-x:auto}
@media(max-width:650px){body > .db85-modal-backdrop{padding:10px}body > .db85-modal-backdrop .db85-detail-modal{max-height:calc(100dvh - 20px)}}

/* compact refresh, clear username, actionable reminders */
.db70-hero-copy .db88-user-name{font-weight:800;text-transform:uppercase;letter-spacing:.025em;color:#fff}
.db70-hero-actions{display:flex;align-items:center;gap:9px!important}
.db88-refresh-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid rgba(255,255,255,.24);border-radius:10px;background:rgba(255,255,255,.13);color:#fff;cursor:pointer;transition:background .16s,border-color .16s}
.db88-refresh-icon:hover:not(:disabled){background:rgba(255,255,255,.24);border-color:rgba(255,255,255,.4)}
.db88-refresh-icon:disabled{opacity:.6;cursor:default}
.db70-alert:disabled{cursor:default!important;opacity:.78;transform:none!important;box-shadow:none!important}
body>.db88-alert-backdrop{z-index:2147483001!important}
.db88-alert-modal{width:min(100%,730px)!important;max-height:calc(100dvh - 36px);overflow:hidden!important;display:flex;flex-direction:column;padding:0!important;background:#fff;border-radius:18px!important;box-shadow:0 24px 80px rgba(12,37,24,.24)}
.db88-alert-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:23px 26px 17px;border-bottom:1px solid #e7eee9}
.db88-alert-modal-head h3{font-size:19px;color:#204c36;margin:6px 0}
.db88-alert-modal-head p{font-size:12px;color:#7d8d82;margin:0;line-height:1.5}
.db88-alert-list{overflow:auto;min-height:0;padding:12px 26px 18px;display:grid;gap:9px}
.db88-alert-item{display:flex;align-items:flex-start;gap:13px;border:1px solid #e5ece7;border-radius:12px;padding:14px;background:#fbfcfb}
.db88-alert-item-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#edf5ef;color:#34845b;flex:0 0 34px}
.db88-alert-item>div{min-width:0;display:grid;gap:5px}.db88-alert-item b{font-size:13px;color:#294b39}.db88-alert-item small{font-size:11px;color:#708478;line-height:1.5;overflow-wrap:anywhere}
.db88-alert-item-contract{width:100%;text-align:left;font:inherit;cursor:pointer;align-items:center;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease}
.db88-alert-item-contract:hover:not(:disabled){background:#f1faf4;border-color:#a4d8bb;box-shadow:0 3px 10px rgba(34,112,72,.07)}
.db88-alert-item-contract:focus-visible{outline:2px solid #119d6a;outline-offset:2px}
.db88-alert-item-contract:disabled{cursor:default;opacity:.65}
.db88-contract-arrow{margin-left:auto;flex:none;color:#5a9473;font-size:13px}
.db88-alert-footer{padding:14px 26px;border-top:1px solid #e7eee9;display:flex;justify-content:space-between;align-items:center;gap:12px;color:#809184;font-size:12px}
.db88-alert-loading,.db88-alert-empty{padding:28px;text-align:center;color:#718577;font-size:13px}
@media(max-width:650px){.db88-alert-modal{max-height:calc(100dvh - 20px);border-radius:14px!important}.db88-alert-modal-head{padding:18px 16px 14px}.db88-alert-list{padding:12px 16px}.db88-alert-footer{padding:12px 16px;flex-wrap:wrap}.db70-hero-actions{justify-content:flex-start!important}}

/* Contract history — premium compact HRD entry */
.hris-history-entry{border:1px solid #dce9e0;background:#f8fbf9;border-radius:14px;padding:20px;margin:20px 0}.hris-history-entry h3{margin:0 0 5px}.hris-history-entry p{font-size:12px;color:#6d8074;margin:0 0 15px}.hris-history-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.hris-history-entry-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600}.hris-history-entry-grid input,.hris-history-entry-grid select{width:100%;min-width:0}.hris-contract-override{display:flex;align-items:center;gap:7px;font-size:11px;color:#3b7154;margin-top:7px;font-weight:500}.hris-contract-override input{width:auto!important}@media(max-width:640px){.hris-history-entry-grid{grid-template-columns:1fr}.hris-history-entry{padding:14px}}

/* compact three-column contract dates; mobile remains readable. */
.modal-card.modal-employee .hris-employee-basic-grid>.hris-contract-date-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px 18px;min-width:0}
.modal-card.modal-employee .hris-contract-date-row>label{min-width:0}
.modal-card.modal-employee .hris-contract-date-row .hris-contract-override{line-height:1.35;align-items:flex-start}
.modal-card.modal-employee .hris-contract-date-row .hris-contract-override input{flex:0 0 auto;margin-top:1px}
@media(max-width:760px){.modal-card.modal-employee .hris-employee-basic-grid>.hris-contract-date-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:520px){.modal-card.modal-employee .hris-employee-basic-grid>.hris-contract-date-row{grid-template-columns:1fr}}

/* precise inline end-date annotation, same baseline as other date fields. */
.modal-card.modal-employee .hris-contract-date-row>label{display:flex;flex-direction:column;align-items:stretch;min-width:0}
.modal-card.modal-employee .hris-contract-date-row .hris-contract-end-heading{display:flex;align-items:baseline;gap:7px;min-height:0;white-space:nowrap;line-height:inherit}
.modal-card.modal-employee .hris-contract-date-row .hris-contract-end-heading>small{display:inline!important;position:static!important;margin:0!important;padding:0!important;line-height:inherit!important;font-size:11px;font-weight:500;color:#789083;white-space:nowrap}
.modal-card.modal-employee .hris-contract-date-row .hris-contract-end-field>hris-date{display:block;width:100%;margin-top:0}

/* Employee Audit Trail: consistent typography and native HRIS table presentation */
.employee-profile-panel .hris-audit-panel{color:#244b37}
.employee-profile-panel .hris-audit-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
.employee-profile-panel .hris-audit-heading h3{font-size:16px;font-weight:750;line-height:1.4;margin:0 0 5px;color:#204b35}
.employee-profile-panel .hris-audit-heading p{font-size:12px;line-height:1.5;margin:0;color:#71847a}
.employee-profile-panel .hris-audit-count{flex-shrink:0;border:1px solid #dce9e1;background:#f3f8f5;color:#3d7256;font-size:11px;font-weight:700;padding:7px 11px;border-radius:9px}
.employee-profile-panel .hris-audit-filters{grid-template-columns:minmax(0,1.75fr) minmax(210px,1fr);gap:14px;margin:0 0 14px;align-items:end}
.employee-profile-panel .hris-audit-filters label{font-size:12px;font-weight:650;color:#355744;gap:7px}
.employee-profile-panel .hris-audit-filters input,.employee-profile-panel .hris-audit-filters select{height:43px;border:1px solid #dce9e0;border-radius:10px;background:#fff;color:#345444;padding:0 13px;font-size:12px;font-weight:500;box-shadow:none;outline:none}
.employee-profile-panel .hris-audit-filters input:focus,.employee-profile-panel .hris-audit-filters select:focus{border-color:#87b79a;box-shadow:0 0 0 3px rgba(40,131,75,.09)}
.employee-profile-panel .hris-audit-filters input::placeholder{color:#91a39a}
.employee-profile-panel .hris-audit-results{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;margin:0 0 10px;padding:8px 12px;background:#f5f8f6;border:1px solid #e6eee9;border-radius:9px;color:#6b8274;font-size:11px;font-weight:550}
.employee-profile-panel .hris-audit-reset{border:0;background:transparent;color:#20764b;font-weight:700;font-size:11px;cursor:pointer}
.employee-profile-panel .hris-audit-table-wrap{border:1px solid #e1eae4;border-radius:11px;overflow-x:auto;overflow-y:hidden}
.employee-profile-panel .hris-audit-table{width:100%;min-width:760px;border-collapse:collapse}
.employee-profile-panel .hris-audit-table thead th{background:#edf2f4;color:#496477;font-size:11px;font-weight:750;text-align:left;letter-spacing:.025em;padding:13px 15px;white-space:nowrap}
.employee-profile-panel .hris-audit-table tbody td{padding:13px 15px;font-size:12px;vertical-align:top;color:#405a4b;line-height:1.5}
.employee-profile-panel .hris-audit-table tbody tr:hover td{background:#f8fbf9}
.employee-profile-panel .hris-audit-time{white-space:nowrap;color:#667c70!important;font-variant-numeric:tabular-nums}
.employee-profile-panel .hris-audit-actor{font-weight:650;color:#31523d!important}
.employee-profile-panel .hris-audit-action{display:inline-block;padding:4px 8px;border-radius:7px;background:#edf6f0;color:#31734e;font-size:11px;font-weight:650;white-space:nowrap}
.employee-profile-panel .hris-audit-table .hris-audit-code{display:block;max-width:340px;max-height:140px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.55;color:#52675b;background:#f7f9f8;border:1px solid #e8efea;border-radius:7px;padding:7px 9px}
.employee-profile-panel .hris-audit-empty{text-align:center!important;padding:38px 18px!important;background:#fff!important;color:#8b9e92!important;font-size:12px!important}
.employee-profile-panel .hris-audit-empty-title{font-size:13px;font-weight:700;color:#486754;margin-bottom:5px}
@media(max-width:680px){.employee-profile-panel .hris-audit-heading{align-items:flex-start;flex-wrap:wrap}.employee-profile-panel .hris-audit-filters{grid-template-columns:1fr;gap:12px}.employee-profile-panel .hris-audit-table{min-width:760px}}

/* editable end date inside HRD contract decision preview */
.hris-contract-preview .hris-decision-end{min-width:0}.hris-contract-preview .hris-decision-date{display:block;width:100%;max-width:240px;min-height:38px;margin-top:5px;padding:6px 10px;border:1px solid #cddfd3;border-radius:8px;background:#fff;color:#264b36;font:inherit;font-size:13px}.hris-contract-preview .hris-decision-date:focus{outline:2px solid #b5d7c2;outline-offset:1px}.hris-contract-preview .hris-decision-date-toggle{display:flex;align-items:center;gap:9px;margin-top:12px;font-size:12px;font-weight:550;color:#42684e;cursor:pointer}.hris-contract-preview .hris-decision-date-toggle input{width:16px;height:16px;flex-shrink:0;accent-color:#21875b}

/* Refresh control: timestamp left, refresh icon right, never stacked. */
.db70 .db70-hero .db70-hero-actions.db95-refresh-row{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-width:0;max-width:100%;width:auto!important}
.db70 .db70-hero .db95-refresh-row .db82-update-status{order:0!important;flex:0 1 auto!important;min-width:0;max-width:calc(100% - 48px);width:auto!important;margin:0!important;align-self:center!important;text-align:left!important;justify-content:flex-start!important}
.db70 .db70-hero .db95-refresh-row .db88-refresh-icon{order:1!important;flex:0 0 38px!important;width:38px!important;height:38px!important;align-self:center!important;margin:0!important}
@media(max-width:620px){.db70 .db70-hero .db70-hero-actions.db95-refresh-row{flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;width:100%!important}.db70 .db70-hero .db95-refresh-row .db82-update-status{max-width:calc(100% - 48px)!important;align-self:center!important}}

/* Download Log progress - premium, compact operational panel */
.operation-dock.download-active{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;align-items:start!important;column-gap:12px!important;row-gap:0!important;width:min(490px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;padding:17px 18px!important;border-radius:17px!important;background:#193e2d!important;border:1px solid #3a644b!important;box-shadow:0 18px 50px rgba(15,47,29,.25)!important;color:#f5faf7!important}
.operation-dock.download-all-active{width:min(490px,calc(100vw - 28px))!important}
.operation-dock.download-active .operation-dock-indicator{display:flex;align-items:center;justify-content:center;height:25px}
.operation-dock.download-active .operation-dock-indicator .spinner{width:19px;height:19px;flex-shrink:0;border-width:2px}
.operation-dock.download-active .operation-copy{width:100%;min-width:0;flex:initial!important}
.operation-dock.download-active .operation-title-row{min-height:25px;align-items:center;gap:10px}
.operation-dock.download-active .operation-title-row>b{font-size:13px!important;font-weight:750;letter-spacing:.01em;color:#fff}
.operation-dock.download-active .operation-percent{padding:4px 9px;border-radius:7px;background:rgba(255,255,255,.10);color:#e2f5e9!important;font-size:12px!important;font-weight:750;font-variant-numeric:tabular-nums}
.operation-dock.download-active .operation-stage{display:inline-flex;align-items:center;max-width:100%;margin-top:5px;padding:4px 9px;border-radius:7px;background:rgba(120,193,147,.17);color:#c9f0d8!important;font-size:10px;font-weight:700;line-height:1.4}
.operation-dock.download-active .operation-hint{display:block;margin-top:7px!important;color:#bdd1c5!important;font-size:10.5px!important;line-height:1.55;overflow-wrap:anywhere}
.operation-dock.download-active .download-progress-track{height:7px!important;margin-top:13px!important;background:rgba(255,255,255,.13)!important;border-radius:999px;overflow:hidden}
.operation-dock.download-active .download-progress-track>span{background:linear-gradient(90deg,#6acb9b,#b4ead0)!important}
.operation-dock.download-active .download-all-current{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-top:13px!important;padding:11px 12px!important;background:rgba(255,255,255,.065)!important;border:1px solid rgba(255,255,255,.11)!important;border-radius:10px!important}
.operation-dock.download-active .download-all-current>span{font-size:10px!important;color:#b7d2c2!important;font-weight:600;white-space:nowrap}
.operation-dock.download-active .download-all-current>b{font-size:12px!important;color:#fff!important;font-weight:750;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.operation-dock.download-active .download-progress-meta{margin-top:9px!important;display:flex!important;flex-direction:row!important;justify-content:space-between!important;gap:10px!important;color:#b7d2c2!important;font-size:10px!important;line-height:1.4}
.operation-dock.download-active .operation-duration{white-space:nowrap;font-variant-numeric:tabular-nums}
.operation-dock.download-active .operation-duration i{font-size:10px;margin-right:3px}
.operation-dock.download-active .download-all-stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;margin-top:14px!important;width:100%!important}
.operation-dock.download-active .download-all-stats>span{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:62px!important;margin:0!important;padding:9px 3px!important;border-radius:10px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.11)!important;text-align:center!important}
.operation-dock.download-active .download-all-stats b{display:block!important;margin:0!important;font-size:16px!important;line-height:1.3!important;font-weight:800!important;color:#fff!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.operation-dock.download-active .download-all-stats small{display:block!important;margin-top:5px!important;font-size:9px!important;line-height:1.25!important;font-weight:550!important;color:#b8d0c1!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.operation-dock.download-active .download-all-stats .ok b{color:#a3e5bc!important}
.operation-dock.download-active .download-all-stats .fail b{color:#ffb5b5!important}
@media(max-width:540px){.operation-dock.download-active{right:10px!important;bottom:12px!important;padding:14px!important;width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;grid-template-columns:20px minmax(0,1fr)!important;column-gap:9px!important}.operation-dock.download-active .download-all-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.operation-dock.download-active .download-all-stats>span{min-height:54px!important}.operation-dock.download-active .download-all-stats b{font-size:14px!important}.operation-dock.download-active .download-all-current{padding:9px!important}}

/* Download progress heading: title left, spinner directly after title; percentage right. */
.operation-dock.download-active{display:block!important}
.operation-dock.download-active .operation-copy{width:100%!important;min-width:0!important}
.operation-dock.download-active .operation-title-row{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important}
.operation-dock.download-active .operation-title-inline{display:inline-flex!important;align-items:center!important;gap:9px!important;min-width:0!important}
.operation-dock.download-active .operation-title-inline>b{font-size:13px!important;font-weight:750!important;color:#fff!important;white-space:nowrap}
.operation-dock.download-active .operation-inline-spinner{display:inline-block!important;position:static!important;flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0!important;border-width:2px!important}
.operation-dock.download-active .operation-percent{margin-left:auto!important;flex-shrink:0!important}
@media(max-width:540px){.operation-dock.download-active{display:block!important}.operation-dock.download-active .operation-title-inline{gap:8px!important}}

/* Employee profile history pagination */
.hris-profile-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 2px;color:#607487;font-size:12px}
.hris-profile-page-actions{display:flex;align-items:center;gap:10px}
.hris-profile-page-actions .btn{min-width:32px;height:32px;padding:6px 9px}

/* Dashboard-only card geometry: paired panels match in width and height. */
@media (min-width:1101px) {
  .db70 .db70-grid, .db70 .db84-bottom {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
  }
  .db70 .db70-grid > .db70-actions-panel,
  .db70 .db70-grid > .db70-right > .db71-attendance,
  .db70 .db84-bottom > .db70-panel {
    height:100%;min-width:0;box-sizing:border-box;
  }
  .db70 .db70-grid > .db70-right > .db71-attendance {
    display:flex;flex-direction:column;
  }
  .db70 .db71-attendance > .db71-open-report {margin-top:auto;}
}
.db70 .db70-kpis {align-items:stretch;}
.db70 .db70-kpis > .db70-kpi {height:100%;box-sizing:border-box;}
.db70 .db84-bottom > .db70-panel {box-sizing:border-box;}

/* Dashboard detail modal: separated, neutral result-limit notice. */
.db85-detail-modal .db71-error{display:block;margin:16px 0 0!important;padding:12px 15px!important;border:1px solid #e3ece6!important;border-radius:10px!important;background:#f5f8f6!important;color:#52705e!important;font-size:12px!important;line-height:1.6!important;font-weight:500!important;box-sizing:border-box!important;flex-shrink:0}
@media(max-width:650px){.db85-detail-modal .db71-error{margin-top:12px!important;padding:11px 12px!important}}

/* Field Attendance: existing search and Export share one balanced table toolbar. */
.mobile-access-panel > .field-access-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:8px 16px 11px;background:#fff;border-bottom:1px solid #e2eae6}
.mobile-access-panel .field-access-search{flex:1.35 1 360px;width:auto;max-width:none;min-width:0;min-height:40px;margin:0;display:flex;align-items:center}
.mobile-access-panel .field-access-search input{width:100%;min-width:0}
.mobile-access-panel .field-access-table-toolbar>.ui-org-picker{flex:1 1 245px;width:auto;min-width:180px}
.mobile-access-panel .field-access-table-toolbar>.ui-org-picker .ui-org-trigger{height:40px;min-height:40px;width:100%;box-sizing:border-box}
.mobile-access-panel .field-access-table-toolbar .field-attendance-export-btn{flex:0 0 auto;margin-left:auto;min-height:40px}
@media(max-width:800px){.mobile-access-panel>.field-access-table-toolbar{flex-wrap:wrap}.mobile-access-panel .field-access-search{flex:1 1 52%;max-width:none}.mobile-access-panel .field-access-table-toolbar>.ui-org-picker{flex:1 1 35%;min-width:170px;width:auto}}
@media(max-width:600px){.mobile-access-panel > .field-access-table-toolbar{padding:8px 10px 11px;gap:10px;flex-wrap:wrap}.mobile-access-panel .field-access-search{flex:1 1 100%;max-width:none}.mobile-access-panel .field-access-table-toolbar>.ui-org-picker{flex:1 1 100%;width:100%}.mobile-access-panel .field-access-table-toolbar .field-attendance-export-btn{margin-left:auto}}

/* Shift Exception: keep the existing form scrollable with its save actions visible. */
.modal-card.modal-shift-exception{display:flex!important;flex-direction:column!important;max-height:calc(100dvh - 36px)!important;overflow:hidden!important}
.modal-card.modal-shift-exception>.modal-head{flex:0 0 auto!important}
.modal-card.modal-shift-exception>.shift-exception-edit-form{overflow-y:auto!important;min-height:0!important;flex:1 1 auto!important;align-content:start!important;padding-bottom:0!important}
.modal-card.modal-shift-exception .modal-actions{grid-column:1/-1!important;position:sticky!important;bottom:0!important;z-index:5!important;background:#fff!important;padding:15px 0!important;margin:12px 0 0!important;border-top:1px solid #e2eae5!important;display:flex!important;justify-content:flex-end!important;gap:10px!important}
@media(max-width:640px){.modal-card.modal-shift-exception{max-height:calc(100dvh - 16px)!important;width:calc(100vw - 16px)!important}.modal-card.modal-shift-exception .shift-exception-edit-form{grid-template-columns:1fr!important}}

/* Login card visual alignment — presentation only, retains original login form and behavior. */
#app > main.enterprise-login .login-card .mini-logo{margin:0 auto 20px!important;}
#app > main.enterprise-login .login-card .login-card-heading{text-align:center!important;margin-bottom:28px!important;}
#app > main.enterprise-login .login-card .login-card-heading h2{font-size:clamp(22px,2vw,29px)!important;line-height:1.28!important;letter-spacing:-.035em!important;text-wrap:balance!important;margin:0 0 11px!important;}
#app > main.enterprise-login .login-card .login-card-heading .login-brand-highlight{color:#168967!important;}
#app > main.enterprise-login .login-card .login-card-heading p{margin:0!important;line-height:1.55!important;}
#app > main.enterprise-login .login-card > label{display:block!important;margin:0 0 9px!important;font-size:12px!important;font-weight:700!important;letter-spacing:.01em!important;color:#294b3e!important;}
#app > main.enterprise-login .login-card .input-icon{margin-bottom:22px!important;}
#app > main.enterprise-login .login-card .btn.primary.full{margin-top:8px!important;}
@media(max-width:800px){
 
 
 
}

/* Harmonized green surfaces — login brand green #168a68. */
.db70 .db70-hero{background:linear-gradient(120deg,#126d54,#168a68)!important;box-shadow:0 12px 28px rgba(22,138,104,.13)!important}
.db70 .db70-primary-action{background:linear-gradient(120deg,#127a5b,#168a68)!important}
.operation-dock.download-active{background:#12634c!important;border-color:#258b6c!important;box-shadow:0 18px 50px rgba(14,94,71,.24)!important}
.operation-dock.download-active .operation-stage{background:rgba(101,211,165,.18)!important;color:#d4f5e4!important}
.operation-dock.download-active .download-progress-track>span{background:linear-gradient(90deg,#44c597,#a6ebcb)!important}
.operation-dock.download-active .download-all-stats .ok b{color:#a6ebcb!important}
/* Raw punch exception states; preserves existing report table layout. */
.legacy-report-table .clock-exception-repeat td{background:#e6f6eb!important}
.legacy-report-table .clock-exception-invalid td{background:#fff0eb!important}

/* Clock In/Out Log Exceptions — fit all columns to the report width. */
.workspace .legacy-report-table-wrap:has(.clock-exception-table){scrollbar-gutter:auto!important}
.workspace .legacy-report-table.clock-exception-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important}
.workspace .legacy-report-table.clock-exception-table th,.workspace .legacy-report-table.clock-exception-table td{min-width:0!important;max-width:none!important;width:auto!important;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;padding-left:8px!important;padding-right:8px!important}
.workspace .clock-exception-table th:nth-child(1){width:4%!important}
.workspace .clock-exception-table th:nth-child(2){width:11%!important}
.workspace .clock-exception-table th:nth-child(3){width:7%!important}
.workspace .clock-exception-table th:nth-child(4){width:17%!important}
.workspace .clock-exception-table th:nth-child(5){width:24%!important}
.workspace .clock-exception-table th:nth-child(6){width:8%!important}
.workspace .clock-exception-table th:nth-child(7){width:9%!important}
.workspace .clock-exception-table th:nth-child(8){width:11%!important}
.workspace .clock-exception-table th:nth-child(9){width:9%!important}
.workspace .clock-exception-table td.clock-exception-time-cell{overflow:visible!important}
.workspace .clock-exception-table .ac-log-datetime-parts{display:inline-flex;align-items:center;gap:7px;max-width:100%;white-space:nowrap}
.workspace .clock-exception-table .ac-log-date-part{font-size:11px;font-weight:700;color:#304b55;font-variant-numeric:tabular-nums}
.workspace .clock-exception-table .ac-log-time-part{display:inline-flex;align-items:center;padding:5px 7px;border:1px solid #dce6eb;border-radius:7px;background:#eef3f6;color:#476b7c;font-size:11px;font-weight:750;font-variant-numeric:tabular-nums;line-height:1.2}
.workspace .clock-exception-table .clock-status,.clock-exception-legend .clock-status{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:4px 9px;font-size:11px;font-weight:750;line-height:1.2;white-space:nowrap}
.clock-status-ok{background:#edf6f0;color:#28734e}
.clock-status-repeat{background:#ddf4e4;color:#137345}
.clock-status-invalid{background:#fff0e8;color:#ad4d2a}
.clock-exception-legend{display:flex;flex-wrap:wrap;align-items:center;gap:7px 9px;padding:10px 13px;border:1px solid #e2ebe5;border-radius:9px;background:#f8fbf9;margin:8px 0 10px;color:#657c72;font-size:11px}
.clock-exception-legend .clock-legend-label{font-weight:750;color:#2e5c48;margin-right:4px}
.clock-exception-legend .clock-status:not(:first-of-type){margin-left:10px}
@media(max-width:900px){.workspace .legacy-report-table.clock-exception-table{min-width:820px!important}.workspace .legacy-report-table-wrap:has(.clock-exception-table){overflow-x:auto!important}}

/* report tables fill the panel without a reserved scrollbar lane. */
.workspace .legacy-report-table-wrap{scrollbar-gutter:auto!important}
.workspace .legacy-report-table:not(.shift-exception-table):not(.calculated-item-table):not(.psy-package-table):not(.psy-participant-table):not(.clock-exception-table):not(.ot-report-table){width:100%!important;min-width:max-content!important;max-width:none!important;table-layout:auto!important}
.workspace .legacy-report-table.shift-exception-table,.workspace .legacy-report-table.calculated-item-table{width:100%!important;max-width:none!important}
.workspace .legacy-report-table.clock-exception-table{width:100%!important;min-width:100%!important}

/* Report navigation: square, flush outer edges; retain rounded individual tabs. */
.workspace .report-panel > .report-tabs{
  border-radius:0!important;
  background:#f5faf7!important;
  background-clip:border-box;
  margin-left:0!important;
  margin-right:0!important;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
.workspace .report-panel > .report-tabs::before,
.workspace .report-panel > .report-tabs::after{border-radius:0!important}

/* reuse existing Upload User Info multi-select, no new dropdown styling source. */
/* Employee Schedule multiple selector, scoped to the existing schedule modal. */
.modal-card.modal-schedule:has(.schedule-picker-field){display:flex;flex-direction:column;max-height:calc(100dvh - 32px);overflow:hidden}
.modal-card.modal-schedule:has(.schedule-picker-field)>.employee-schedule-form{min-height:0;overflow-y:auto;align-content:start;row-gap:15px;scrollbar-gutter:stable}
.modal-card.modal-schedule .schedule-picker-field{grid-column:1/-1;min-width:0;display:flex;flex-direction:column;gap:7px;margin:0 0 3px}
.modal-card.modal-schedule .schedule-picker-label{font-size:13px;font-weight:700;color:#40566d;line-height:1.35}
.modal-card.modal-schedule .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-schedule .schedule-picker-trigger:focus-visible{outline:2px solid #91c8ac;outline-offset:2px}
.modal-card.modal-schedule .schedule-picker-trigger i{font-size:12px;color:#647e73}
.modal-card.modal-schedule .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-schedule .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-schedule .schedule-picker-search i{color:#8ba49a;font-size:13px}
.modal-card.modal-schedule .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-schedule .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-schedule .schedule-picker-tools button{border:0;background:transparent;color:#15845a;font:inherit;font-weight:700;cursor:pointer;padding:4px}
.modal-card.modal-schedule .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-schedule .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-schedule .schedule-picker-item:hover{background:#f5faf7}
.modal-card.modal-schedule .schedule-picker-item input{flex:0 0 auto;width:16px;height:16px;accent-color:#15936a;margin:0}
.modal-card.modal-schedule .schedule-picker-person{display:flex;flex-direction:column;gap:3px;min-width:0;line-height:1.3}
.modal-card.modal-schedule .schedule-picker-person b{color:#244c39;font-size:12px;font-weight:700}
.modal-card.modal-schedule .schedule-picker-person small{color:#71897c;font-size:10.5px;font-weight:400;overflow-wrap:anywhere}
.modal-card.modal-schedule .schedule-picker-empty{padding:24px;text-align:center;color:#81978a;font-size:12px}
.modal-card.modal-schedule .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-schedule .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-schedule .schedule-picker-list{height:160px;max-height:25dvh}.modal-card.modal-schedule .schedule-picker-tools{flex-wrap:wrap}}
/* OT Report: preserve the original report grid and sort; adjust Date/Name only. */
.workspace .legacy-report-table-wrap:has(>.ot-report-table){width:100%;max-width:100%;overflow-x:auto;scrollbar-gutter:auto}
.workspace .legacy-report-table.ot-report-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;margin:0!important}
.workspace .legacy-report-table.ot-report-table th,.workspace .legacy-report-table.ot-report-table td{min-width:0!important;max-width:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:7px!important;padding-right:7px!important}
@media(max-width:800px){.workspace .legacy-report-table.ot-report-table{min-width:880px!important;max-width:none!important}}
/* All Report 'To' native date pickers: anchor the popup farther inside the viewport.
   Keep the visible calendar icon at the original location. */
.workspace .legacy-time-range>label:last-child .hris-date-picker-button{overflow:visible!important}
.workspace .legacy-time-range>label:last-child .hris-date-picker-button>input[type=date]{inset:auto 0 0 auto!important;right:0!important;top:0!important;width:200px!important;height:100%!important;opacity:0!important;pointer-events:none!important}
.workspace .legacy-time-range>label:last-child .hris-date-picker-button>input[type=date]::-webkit-calendar-picker-indicator{position:absolute!important;right:0!important;left:auto!important;top:0!important;width:34px!important;height:100%!important;pointer-events:auto!important;opacity:0!important}

/* Employee Schedule: department filter scoped to the multiple picker. */
.modal-card.modal-schedule .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-schedule .schedule-picker-filters .schedule-picker-search{margin:0;min-width:0}
.modal-card.modal-schedule .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-schedule .schedule-picker-filters{grid-template-columns:1fr}}

/* Employee: symmetric panel gutters; no right-side overflow.
   Width accounts for the existing 20px margins on BOTH sides. */



@media(max-width:900px){
  
}

/* Round only inset/framed tables. Full-bleed tables (Machine List,
   AC Log, Report, Schedule, etc.) keep square header corners to align with
   their panel edges. No change to table layout, scrolling, or pagination. */



/* Profile audit tables have their own inset bordered frame. */
.workspace .hris-audit-table-wrap:has(> table){
  border-radius:11px!important;
  clip-path:inset(0 round 11px);
}

/* shared Department dropdown presentation. The same department list
   and option labels are used throughout HRIS, without changing bound IDs. */
.hris-department-select,
.form-grid select.hris-department-select,
.panel-tools select.hris-department-select,
.schedule-picker-filters select.hris-department-select{
  font-family:inherit;
  font-weight:400!important;
  font-size:11px;
  letter-spacing:normal;
  color:#3c5068;
}
.hris-department-select option{font-weight:400;color:#3c5068}
.upload-multi-option.hierarchy-strong>span{font-weight:400;color:inherit}

/* Catatan keputusan kontrak - ringkas dan konsisten dengan tema HRIS */
.hris-contract-decision-note{display:flex;align-items:flex-start;gap:8px;width:100%;box-sizing:border-box;margin-top:2px;padding:8px 11px;border:1px solid #e5ebe7;border-radius:8px;background:#fafcfb;color:#65796f;font-size:11px;line-height:1.46}.hris-contract-decision-note>.pi{font-size:12px;color:#819c8b;margin-top:2px;flex:none}.hris-contract-decision-note>div{min-width:0;flex:1}.hris-contract-decision-note strong{display:block;font-size:11px;font-weight:650;color:#486756;margin-bottom:2px}.hris-contract-decision-note p{margin:0;color:#6c7e73;max-width:100%;white-space:normal;font-size:10.75px;line-height:1.48}@media(max-width:600px){.hris-contract-decision-note{padding:8px 10px;gap:7px}}

/* Rounded corners for inset/framed tables only.
   Override the legacy global square-corner rules without changing full-bleed
   Machine List, AC Log, Report and other edge-to-edge tables. */
.workspace .employee-profile-panel .hris-profile-content > .table-wrap,
.workspace .employee-profile-panel .hris-audit-table-wrap,
.workspace .db70 .db74-table.table-wrap,
.workspace .db70 .db71-table-scroll.table-wrap{
  border-radius:12px!important;
  clip-path:inset(0 round 12px);
  background:#fff;
}
.workspace .employee-profile-panel .hris-profile-content > .table-wrap > .data-table,
.workspace .employee-profile-panel .hris-audit-table-wrap > table,
.workspace .employee-workspace #employee-table-top > .employee-table{
  border-collapse:separate;
  border-spacing:0;
}
.workspace .employee-profile-panel .hris-profile-content > .table-wrap > .data-table > thead > tr:first-child > th:first-child,
.workspace .employee-profile-panel .hris-audit-table-wrap > table > thead > tr:first-child > th:first-child,
.workspace .db70 .db74-table.table-wrap > table > thead > tr:first-child > th:first-child,
.workspace .db70 .db71-table-scroll.table-wrap > table > thead > tr:first-child > th:first-child{
  border-top-left-radius:11px!important;
}
.workspace .employee-profile-panel .hris-profile-content > .table-wrap > .data-table > thead > tr:first-child > th:last-child,
.workspace .employee-profile-panel .hris-audit-table-wrap > table > thead > tr:first-child > th:last-child,
.workspace .db70 .db74-table.table-wrap > table > thead > tr:first-child > th:last-child,
.workspace .db70 .db71-table-scroll.table-wrap > table > thead > tr:first-child > th:last-child{
  border-top-right-radius:11px!important;
}

/* balanced notification spacing from viewport edge, without shifting content. */
@media (min-width: 701px) {
  .toast-stack { right: clamp(32px, 3.2vw, 56px) !important; width: min(360px, calc(100vw - 96px)) !important; }
  .p-toast.p-toast-top-right { right: clamp(32px, 3.2vw, 56px) !important; }
}
@media (max-width: 700px) {
  .toast-stack { right: 18px !important; width: min(360px, calc(100vw - 36px)) !important; }
  .p-toast.p-toast-top-right { right: 18px !important; }
}

/* notification panel: isolated header/tabs and scrollable content. */
.birthday-popover.employee-alert-popover{position:absolute!important;right:-7px!important;left:auto!important;top:48px!important;display:flex!important;flex-direction:column!important;width:min(410px,calc(100vw - 24px))!important;max-height:min(530px,calc(100dvh - 94px))!important;overflow:hidden!important;border-radius:16px!important;z-index:120!important}
.employee-alert-popover .birthday-popover-head{position:relative!important;z-index:2!important;flex:0 0 auto!important;display:flex!important;gap:12px!important;align-items:center!important;padding:15px 16px 13px!important}
.employee-alert-popover .birthday-popover-head>div{min-width:0;flex:1}
.employee-alert-popover .birthday-popover-head b{font-size:14px!important}
.employee-alert-popover .birthday-popover-head small{font-size:11px!important;line-height:1.5!important;white-space:normal!important}
.employee-alert-popover .birthday-close{flex:0 0 30px!important;display:flex!important;opacity:1!important;visibility:visible!important;color:#52726a!important}
.employee-alert-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;flex:0 0 auto;padding:10px 12px;background:#fff;border-bottom:1px solid #e5eeeb;z-index:1}
.employee-alert-tabs button{font:inherit;cursor:pointer;display:flex;gap:7px;align-items:center;justify-content:center;min-width:0;padding:9px 8px;border:1px solid #e0e9e4;border-radius:9px;background:#f7faf8;color:#526c63;font-size:11.5px;font-weight:700;transition:background .15s,border-color .15s}
.employee-alert-tabs button.active{background:#eaf7ef;border-color:#91cbae;color:#08754b}
.employee-alert-tabs button em{font-style:normal;border-radius:7px;padding:2px 6px;background:#e5eeeb;font-size:10px}
.employee-alert-tabs button.active em{background:#d0ecdc}
.employee-alert-popover .birthday-list.employee-alert-scroll{position:relative!important;z-index:0!important;display:block!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important;padding:10px!important;overscroll-behavior:contain}
.employee-alert-popover .birthday-item{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;padding:12px 9px!important;border-bottom:1px solid #edf2ef!important;border-radius:9px!important}
.employee-alert-popover .birthday-mini-cake{width:34px;height:34px;border-radius:10px}
.employee-alert-popover .birthday-person{min-width:0!important}
.employee-alert-popover .birthday-person b{font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important}
.employee-alert-popover .birthday-person small{margin-top:4px!important;font-size:10.5px!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.4!important}
.employee-alert-popover .birthday-date{display:inline-block!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:10.5px!important;line-height:1.5!important;margin-top:6px!important}
.employee-alert-popover .birthday-empty{display:flex;align-items:center;flex-direction:column;gap:8px;padding:30px 14px!important}
.employee-alert-popover .birthday-empty b{font-size:12px}.employee-alert-popover .birthday-empty small{font-size:11px;line-height:1.5}
@media(max-width:700px){.birthday-popover.employee-alert-popover{position:fixed!important;left:12px!important;right:12px!important;top:65px!important;width:auto!important;max-height:calc(100dvh - 82px)!important}}

/* approval identity in Leave Log */
.annual-leave-history-table .leave-approver-date{display:block;margin-top:3px;color:#80918a;font-size:10px;font-weight:500}.annual-leave-history-table .leave-approver-empty{color:#a3ada7}.leave-request-approver{display:flex;align-items:flex-start;gap:9px;padding:9px 11px;margin-top:9px;border:1px solid #dcece0;border-radius:10px;background:#f6fbf7;color:#315b41;font-size:11px}.leave-request-approver i{margin-top:2px}.leave-request-approver small{display:block;margin-top:3px;color:#698274}

/* jenis filter and approver in employee leave history */
.leave-center-subtools .leave-category-filter{min-width:155px;max-width:230px;height:38px;border:1px solid #dbe7e1;border-radius:9px;padding:0 12px;background:#fff;color:#30534b;font:inherit;font-size:12px;cursor:pointer}
.leave-table .leave-history-approval-cell{min-width:165px;white-space:normal;line-height:1.4}
.leave-table .leave-history-approval-cell b{display:block;font-weight:650;color:#284e3e}
.leave-table .leave-approver-date{display:block;margin-top:3px;color:#80918a;font-size:10px;font-weight:500}
.leave-table .leave-approver-empty{color:#a3ada7}
@media(max-width:700px){.leave-center-subtools .leave-category-filter{min-width:125px;max-width:100%;flex:1}}

/* compact Leave History rows and correctly sized seventh User column. */
.workspace .schedule-panel .schedule-table-wrap:has(>table.leave-table){height:auto!important;min-height:0!important;max-height:none!important;overflow-x:auto!important;overflow-y:visible!important;}
.workspace .schedule-panel table.leave-table{width:100%!important;min-width:1010px!important;table-layout:fixed!important;height:auto!important;}
.workspace .schedule-panel table.leave-table th:nth-child(1){width:9%!important}
.workspace .schedule-panel table.leave-table th:nth-child(2){width:20%!important}
.workspace .schedule-panel table.leave-table th:nth-child(3){width:11%!important}
.workspace .schedule-panel table.leave-table th:nth-child(4),.workspace .schedule-panel table.leave-table th:nth-child(5){width:15%!important}
.workspace .schedule-panel table.leave-table th:nth-child(6){width:15%!important}
.workspace .schedule-panel table.leave-table th:nth-child(7){width:15%!important}
.workspace .schedule-panel table.leave-table tbody tr{height:auto!important;min-height:0!important;max-height:none!important;}
.workspace .schedule-panel table.leave-table tbody td{height:auto!important;min-height:0!important;max-height:none!important;padding:10px 9px!important;vertical-align:middle!important;line-height:1.4!important;}
.workspace .schedule-panel table.leave-table .leave-history-approval-cell{min-width:0!important;white-space:normal!important;overflow-wrap:break-word!important;}
.workspace .schedule-panel table.leave-table .leave-history-approval-cell b{line-height:1.4!important;}

/* Standalone history table, deliberately not inheriting Schedule table layout. */
.workspace .leave-center-panel .leave-history-table-wrap{width:100%;max-width:100%;min-height:0;height:auto;max-height:none;overflow-x:auto;overflow-y:visible;border-radius:0;}
.workspace .leave-center-panel table.leave-history-grid{display:table!important;width:100%!important;min-width:940px!important;height:auto!important;table-layout:fixed!important;border-collapse:collapse!important;border-spacing:0!important;}
.workspace .leave-center-panel .leave-history-grid thead{display:table-header-group!important;height:auto!important;}
.workspace .leave-center-panel .leave-history-grid tbody{display:table-row-group!important;height:auto!important;min-height:0!important;max-height:none!important;}
.workspace .leave-center-panel .leave-history-grid tr{display:table-row!important;height:auto!important;min-height:0!important;max-height:none!important;}
.workspace .leave-center-panel .leave-history-grid th,.workspace .leave-center-panel .leave-history-grid td{display:table-cell!important;height:auto!important;min-height:0!important;max-height:none!important;padding:10px 9px!important;vertical-align:middle!important;font-size:11px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;}
.workspace .leave-center-panel .leave-history-grid th{padding-top:12px!important;padding-bottom:12px!important;background:#eaf0f2!important;text-align:center!important;font-weight:750!important;color:#345768!important;}
.workspace .leave-center-panel .leave-history-grid th:nth-child(1){width:10%!important;}
.workspace .leave-center-panel .leave-history-grid th:nth-child(2){width:20%!important;}
.workspace .leave-center-panel .leave-history-grid th:nth-child(3){width:10%!important;}
.workspace .leave-center-panel .leave-history-grid th:nth-child(4),.workspace .leave-center-panel .leave-history-grid th:nth-child(5){width:16%!important;}
.workspace .leave-center-panel .leave-history-grid th:nth-child(6){width:14%!important;}
.workspace .leave-center-panel .leave-history-grid th:nth-child(7){width:14%!important;}
.workspace .leave-center-panel .leave-history-grid td:nth-child(2),.workspace .leave-center-panel .leave-history-grid td:nth-child(6),.workspace .leave-center-panel .leave-history-grid td:nth-child(7){text-align:left!important;}
.workspace .leave-center-panel .leave-history-grid td:nth-child(4),.workspace .leave-center-panel .leave-history-grid td:nth-child(5){white-space:nowrap!important;font-variant-numeric:tabular-nums;}
.workspace .leave-center-panel .leave-history-grid .leave-history-approval-cell{min-width:0!important;max-width:none!important;}
.workspace .leave-center-panel .leave-history-grid .leave-history-approval-cell b{display:block;white-space:normal!important;}
.workspace .leave-center-panel .leave-history-grid tbody tr:nth-child(even){background:#f6f8f9!important;}
.workspace .leave-center-panel .leave-history-grid tbody tr:nth-child(odd){background:#fff!important;}
.workspace .leave-center-panel .leave-history-grid tbody tr:hover{background:#edf6f1!important;}

/* Psikotest uses the same persistent sidebar/topbar workspace as HRIS modules. */


/* Timetable edit: footer actions always visible for Admin and Sysadmin. */
.modal-backdrop .modal-card.modal-timetable{
  display:flex!important;flex-direction:column!important;
  width:min(690px,calc(100vw - 28px))!important;
  max-height:calc(100dvh - 32px)!important;
  overflow:hidden!important;
}
.modal-backdrop .modal-card.modal-timetable>.modal-head{
  flex:0 0 auto!important;position:relative!important;z-index:2;
  background:#fff!important;border-bottom:1px solid #e4eee9!important;
}
.modal-backdrop .modal-card.modal-timetable>.timetable-form{
  min-height:0!important;flex:1 1 auto!important;display:flex!important;
  flex-direction:column!important;overflow:hidden!important;
}
.modal-backdrop .modal-card.modal-timetable .timetable-form-scroll{
  flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;
  overscroll-behavior:contain;align-content:start;
  padding:18px 22px 12px!important;scrollbar-gutter:stable;
}
.modal-backdrop .modal-card.modal-timetable .timetable-form-scroll>.attendance-edit-note{
  grid-column:1/-1!important;
}
.modal-backdrop .modal-card.modal-timetable .timetable-footer{
  flex:0 0 auto!important;display:flex!important;justify-content:flex-end!important;
  align-items:center!important;gap:10px!important;
  margin:0!important;padding:13px 22px calc(13px + env(safe-area-inset-bottom,0px))!important;
  min-height:68px!important;background:#fff!important;
  border-top:1px solid #e4eee9!important;position:relative!important;
  bottom:auto!important;z-index:3!important;
}
.modal-backdrop .modal-card.modal-timetable .timetable-footer .btn{min-width:112px;min-height:40px}
@media(max-width:600px){
  .modal-backdrop .modal-card.modal-timetable{max-height:calc(100dvh - 16px)!important;width:calc(100vw - 16px)!important}
  .modal-backdrop .modal-card.modal-timetable .timetable-form-scroll{padding:14px!important;grid-template-columns:1fr!important}
  .modal-backdrop .modal-card.modal-timetable .timetable-footer{padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px))!important}
  .modal-backdrop .modal-card.modal-timetable .timetable-footer .btn{flex:1;min-width:0}
}

/* history edit keeps actions visible on small screens */
.workspace .modal-card:has(.leave-history-edit-modal){max-height:min(90dvh,760px);display:flex;flex-direction:column;overflow:hidden}
.workspace .modal-card:has(.leave-history-edit-modal) .leave-history-edit-modal{min-height:0;flex:1 1 auto;display:flex;overflow:hidden}
.workspace .modal-card:has(.leave-history-edit-modal) .leave-history-edit-modal>form{min-height:0;flex:1 1 auto;overflow-y:auto;display:grid;align-content:start;padding-bottom:0}
.workspace .modal-card:has(.leave-history-edit-modal) .leave-history-edit-modal .leaving-save-actions{position:sticky;bottom:0;z-index:2;background:#fff;border-top:1px solid #e1e9e4;margin:5px -2px 0;padding:13px 2px;display:flex;justify-content:flex-end;gap:9px}
.leave-history-employee-readonly{background:#f3f7f5!important;color:#4f655b!important;opacity:1!important}
@media(max-width:700px){.workspace .modal-card:has(.leave-history-edit-modal){max-height:calc(100dvh - 26px)}.workspace .modal-card:has(.leave-history-edit-modal) .leave-history-edit-modal .leaving-save-actions{padding:12px 2px}}


/* native-feel handphone navigation. Never affects tablets/desktop. */
.phone-bottom-nav{display:none}
.phone-app-home{display:none}
@media(max-width:600px){
  :root{--phone-bottom-bar:66px}
  .app-shell .workspace{min-width:0;width:100%;padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important}
  .phone-bottom-nav{position:fixed!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:2px;left:0;right:0;bottom:0;z-index:65;min-height:calc(var(--phone-bottom-bar) + env(safe-area-inset-bottom,0px));padding:5px 5px calc(5px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.98);border-top:1px solid #dce9e1;box-shadow:0 -5px 22px rgba(20,64,42,.09);backdrop-filter:blur(16px)}
  .phone-bottom-nav>button{min-width:0;min-height:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;border-radius:12px;background:none;color:#84968b;font-size:9px;line-height:1.15;font-weight:700;text-align:center;padding:4px 1px;cursor:pointer}
  .phone-bottom-nav>button i{font-size:19px;line-height:1}
  .phone-bottom-nav>button.active:not(.phone-nav-center){color:#168155;background:#edf8f1}
  .phone-bottom-nav>button:disabled{opacity:.35}
  .phone-bottom-nav .phone-nav-center{position:relative;color:#19784e;font-size:10px;gap:4px}
  .phone-nav-orb{display:grid;place-items:center;width:53px;height:53px;margin-top:-22px;border:4px solid #fff;border-radius:17px;background:linear-gradient(155deg,#269d6c,#087548);box-shadow:0 6px 15px rgba(11,118,72,.26);color:#fff}
  .phone-nav-orb i{font-size:22px!important}
  .phone-bottom-nav .phone-nav-center.active .phone-nav-orb{background:linear-gradient(155deg,#1b8b5e,#075b3d)}
  .phone-app-home{display:block;min-width:0;padding:2px 0 18px}
  .phone-app-welcome{padding:23px 20px 24px;border-radius:18px;background:linear-gradient(125deg,#125b3e,#23845d);color:#fff;box-shadow:0 9px 23px rgba(22,108,72,.15)}
  .phone-app-kicker{font-size:9px;letter-spacing:.11em;font-weight:800;color:#c8ecda}
  .phone-app-welcome h2{margin:9px 0 6px;font-size:21px;line-height:1.3;color:#fff;overflow-wrap:anywhere}
  .phone-app-welcome p{margin:0;color:#e1f4e8;font-size:12px}
  .phone-app-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 2px 13px}
  .phone-app-section-title h3{margin:0;font-size:16px;color:#244b37}
  .phone-app-section-title span{font-size:11px;color:#819489}
  .phone-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .phone-app-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:109px;padding:13px 6px;border:1px solid #e1ebe5;border-radius:15px;background:#fff;box-shadow:0 2px 10px rgba(18,72,41,.035);font-size:11px;line-height:1.4;font-weight:700;text-align:center;color:#365545;overflow-wrap:anywhere;cursor:pointer}
  .phone-app-tile:active{background:#f1faf4;transform:scale(.98)}
  .phone-app-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#e9f7ee;color:#188457}
  .phone-app-icon i{font-size:21px}
  /* Preserve genuine desktop tables: swipe on the table itself (not the scrollbar). */
  .workspace .table-wrap,.workspace .psy-overflow,.workspace .p-datatable-wrapper,.workspace .p-datatable-table-container{overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;max-width:100%!important}
  .workspace .table-wrap>.data-table,.workspace .table-wrap>table{min-width:max(760px,100%)!important;width:max-content!important;max-width:none!important;table-layout:auto!important;border-collapse:separate}
  .workspace .table-wrap>table thead{display:table-header-group!important}
  .workspace .table-wrap>table tbody{display:table-row-group!important}
  .workspace .table-wrap>table tr{display:table-row!important}
  .workspace .table-wrap>table th,.workspace .table-wrap>table td{display:table-cell!important;vertical-align:middle!important;white-space:nowrap!important;max-width:none!important}
  .workspace .table-wrap>table td::before,.workspace .table-wrap>table td::after{content:none!important;display:none!important}
  .workspace .machine-mobile-list{display:none!important}
  .workspace .machine-list-table{display:table!important}
  /* Headline and forms may wrap, but no panel widens the entire phone viewport. */
  .workspace>section,.workspace>.panel,.workspace .panel,.workspace .report-panel{max-width:100%;min-width:0}
  .workspace .table-wrap{min-width:0}
}
@media(min-width:601px){.phone-bottom-nav,.phone-app-home{display:none!important}}


/* recovery: revert experimental native psychotest host; preserve behavior. */

/* Psikotest administration uses existing HRIS panel/tab/table/button/modal styles. Only unique content layouts below. */
.hris-psychotest-native{min-width:0}
.hris-psychotest-native .psy-tab-pane[hidden],.psy-native-modal[hidden],#psyContextMenu[hidden]{display:none!important}
.hris-psychotest-native .psy-tab-pane{min-width:0}
.hris-psychotest-native .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.hris-psychotest-native .data-table{min-width:680px}
.hris-psychotest-native .psy-result-summary{font-size:12px;line-height:1.6}
.hris-psychotest-native .psy-chip{display:inline-block;margin:2px 4px 2px 0;padding:3px 7px;border-radius:6px;background:var(--green-soft);color:var(--green);font-size:11px}
.hris-psychotest-native .psy-status{display:inline-block;padding:4px 8px;border-radius:7px;background:var(--green-soft);color:var(--green)}
/* Psikotest uses the same HRIS modal/card/buttons and the global HRIS select picker.
   Only layout for test-specific content is set here. */
.psy-native-modal{z-index:2147483200!important;pointer-events:auto!important}
.psy-native-modal:not([hidden])>.modal-card{display:flex;flex-direction:column;overflow:hidden;min-height:0;max-height:min(88dvh,780px);width:min(670px,calc(100vw - 32px));border-top:0!important}
.psy-native-modal:not([hidden])>.modal-card.modal-wide{width:min(880px,calc(100vw - 32px))}
.psy-native-modal .modal-head{flex:0 0 auto;padding:17px 22px;background:#fff}
.psy-native-modal .modal-head h3{font-size:17px;line-height:1.3}
.psy-native-modal .modal-card>form{display:flex;flex-direction:column;min-height:0;flex:1}
.psy-native-modal .form-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px 14px;gap:2px}
.psy-native-modal .form-grid label{min-width:0;display:flex;flex-direction:column;gap:8px}
.psy-native-modal .modal-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:14px 22px;margin:0;border-top:1px solid var(--line2);background:#fff}
.psy-native-modal .modal-actions .btn{min-height:39px}
.psy-native-modal .psy-test-order{display:grid;gap:8px}
.psy-native-modal .psy-order-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:9px}
.psy-native-modal .psy-order-row strong{flex:1}
.psy-native-modal .psy-order-no{font-weight:700;color:var(--muted)}
.psy-native-modal .psy-order-arrows{display:flex;gap:6px}
.psy-native-modal .psy-order-arrows button{border:1px solid var(--line);background:var(--panel);border-radius:8px;min-width:36px;height:36px;cursor:pointer}
.psy-native-modal .psy-offline-note,.psy-native-modal .psy-field-hint{color:var(--muted);font-size:12px;line-height:1.5}
.psy-native-modal .psy-link-dialog-body,.psy-native-modal .psy-result-body{flex:1 1 auto;min-height:0;padding:18px 24px;overflow-y:auto;overscroll-behavior:contain}
.psy-native-modal .psy-link-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.psy-native-modal .psy-share-layout{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:24px;align-items:center;margin-top:16px}
.psy-native-modal .psy-qr-panel{min-width:0;display:grid;place-items:center;gap:8px}
.psy-native-modal .psy-qr svg{display:block;width:min(100%,260px);height:auto;max-height:260px}
.psy-native-modal .psy-share-info{min-width:0;display:grid;align-content:center;gap:11px}
.psy-native-modal .psy-share-info input{width:100%;min-width:0}
.psy-native-modal .psy-share-actions{display:flex;gap:9px;flex-wrap:wrap}
.psy-native-modal .psy-result-body table{width:100%;border-collapse:collapse}
.psy-native-modal .psy-result-body th,.psy-native-modal .psy-result-body td{border-bottom:1px solid var(--line);padding:9px}
.psy-native-modal .psy-result-test{margin:12px 0;border:1px solid var(--line);border-radius:9px;padding:12px}
.psy-native-modal .psy-result-test summary{cursor:pointer}
.psy-native-modal .psy-review-foot{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between}
/* The global picker must render above modal content and outside the scrollable form. */
.psy-native-modal>.global-select-picker{z-index:20!important;pointer-events:auto;max-height:min(370px,60dvh);overflow:hidden}
.psy-native-modal>.global-select-picker .global-select-options{max-height:min(280px,43dvh)}
@media(max-width:600px){.psy-native-modal:not([hidden])>.modal-card{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.psy-native-modal .psy-share-layout{grid-template-columns:1fr;gap:12px}.psy-native-modal .psy-link-dialog-body,.psy-native-modal .psy-result-body{padding:14px}.psy-native-modal .psy-qr svg{width:min(100%,200px)}.psy-native-modal .form-grid{padding:14px}.psy-native-modal .modal-actions{padding:12px 14px}}

/* HRIS Psikotest lists use the existing HRIS table surface, without inner cards. */
.hris-psychotest-native .psy-table-subline{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-weight:400}
.hris-psychotest-native .psy-chip{white-space:nowrap}
.hris-psychotest-native .psy-status{text-transform:none;white-space:nowrap;font-weight:600}
.hris-psychotest-native .psy-status[data-status="draft"],.hris-psychotest-native .psy-status[data-status="pending"]{background:var(--panel2,#f0f3f2);color:var(--muted)}
.hris-psychotest-native .psy-status[data-status="closed"]{background:#f5eeee;color:#885858}
.hris-psychotest-native .psy-result-clickable{cursor:pointer}

.hris-psychotest-native .data-table th,.hris-psychotest-native .data-table td{vertical-align:middle}


/* Psikotest participant toolbar: HRIS standard input and table controls. */
.psy-participant-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;flex-wrap:wrap}.psy-participant-toolbar .input-icon{width:min(100%,480px)}.psy-participant-toolbar .input-icon input{width:100%;min-width:0}.psy-participant-toolbar #psyParticipantCount{font-size:12px;color:var(--text-muted,#60746c)}

/* Psikotest: layouts rely on existing Report tables and HRIS modal surfaces. */
/* Psikotest uses the existing Report table surface; its five/seven columns
   must not inherit Daily Attendance Detail positional column widths. */
.workspace .legacy-report-table.psy-package-table,
.workspace .legacy-report-table.psy-participant-table{
  display:table!important;width:100%!important;min-width:0!important;max-width:100%!important;
  table-layout:fixed!important;border-collapse:separate;border-spacing:0;
}
.workspace .legacy-report-table.psy-package-table :is(th,td),
.workspace .legacy-report-table.psy-participant-table :is(th,td){
  width:auto!important;min-width:0!important;max-width:none!important;
  padding:12px 9px!important;box-sizing:border-box;
  overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap!important;
  vertical-align:middle;height:auto!important;
}
.workspace .legacy-report-table.psy-participant-table :is(th,td):first-child{
  text-align:center!important;padding-left:4px!important;padding-right:4px!important;
}
.workspace .legacy-report-table.psy-package-table td:nth-child(3),
.workspace .legacy-report-table.psy-participant-table td:nth-child(5){
  white-space:normal!important;overflow-wrap:normal;line-height:1.5;
}
.workspace .legacy-report-table.psy-package-table .psy-chip{display:inline-block;white-space:nowrap;margin:2px 5px 2px 0}
.workspace .legacy-report-table.psy-participant-table td:nth-child(5)>span{
  display:block;line-height:1.35;margin:2px 0;font-size:11px;
}
.workspace .legacy-report-table.psy-participant-table td:nth-child(5)>span small{
  display:block;color:var(--muted);font-size:10px;
}
.workspace .hris-psychotest-native .table-wrap:has(>.psy-package-table),
.workspace .hris-psychotest-native .table-wrap:has(>.psy-participant-table){
  width:100%;max-width:100%;max-height:none!important;overflow-x:auto!important;overflow-y:visible!important;
  scrollbar-gutter:auto!important;
}
@media(max-width:800px){
 .workspace .legacy-report-table.psy-package-table{min-width:670px!important;max-width:none!important}
 .workspace .legacy-report-table.psy-participant-table{min-width:940px!important;max-width:none!important}
}

.psy-native-modal .psy-result-body{padding:18px 22px!important;font-size:13px;line-height:1.5}
.psy-native-modal .psy-detail-identity,.psy-native-modal .psy-detail-overview{border:1px solid var(--line);border-radius:11px;padding:16px;margin-bottom:15px;background:#fff}
.psy-native-modal .psy-detail-identity-main{display:flex;justify-content:space-between;align-items:center;gap:14px}
.psy-native-modal .psy-detail-identity-main small,.psy-native-modal .psy-detail-identity dt{font-size:11px;color:var(--muted);font-weight:500}
.psy-native-modal .psy-detail-identity h3{margin:4px 0 0;font-size:19px}
.psy-native-modal .psy-detail-identity dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 0}
.psy-native-modal .psy-detail-identity dd{margin:3px 0 0;font-weight:650;overflow-wrap:anywhere}
.psy-native-modal .psy-detail-overview h3,.psy-native-modal .psy-detail-section-title{font-size:15px;margin:0 0 12px}
.psy-native-modal .psy-detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.psy-native-modal .psy-detail-metric{border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:6px;min-width:0}
.psy-native-modal .psy-detail-metric>b{font-size:12px}
.psy-native-modal .psy-detail-metric>strong{font-size:19px;color:var(--text)}
.psy-native-modal .psy-detail-metric>strong small{font-size:11px;font-weight:500}
.psy-native-modal .psy-detail-metric>small{font-size:11px;line-height:1.45;color:var(--muted)}
.psy-native-modal .psy-detail-disclaimer{margin:13px 0 0;color:var(--muted);font-size:11px;line-height:1.55}
.psy-native-modal .psy-result-test{padding:0!important;overflow:hidden}
.psy-native-modal .psy-result-test>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;background:#f7faf8;list-style:revert;cursor:pointer}
.psy-native-modal .psy-result-test>summary strong{font-size:13px}
.psy-native-modal .psy-result-test>summary span{font-size:11px;color:var(--muted);text-align:right}
.psy-native-modal .psy-detail-test-inner{padding:14px 15px}
.psy-native-modal .psy-detail-test-inner .psy-objective-card{padding:12px}
@media(max-width:600px){.psy-native-modal .psy-detail-identity dl{grid-template-columns:1fr}.psy-native-modal .psy-detail-metrics{grid-template-columns:1fr}.psy-native-modal .psy-result-body{padding:12px!important}}

/* Compact test-type markers in the existing Report table; no separate table/card UI. */
.psy-inline-test-types{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px;white-space:normal}
.psy-test-type-label{display:inline-flex;align-items:center;justify-content:center;min-width:43px;padding:4px 9px;border-radius:6px;font-size:12px;font-weight:650;color:#7c8983;background:#f1f4f2;border:1px solid #e1e8e3}
.psy-test-type-label.is-complete{background:#e9f6ee;border-color:#d4eadc;color:#167b53}
.psy-inline-test-summary{display:inline-flex;align-items:center;gap:8px;flex-wrap:nowrap;white-space:nowrap;font-weight:700;color:#244736;letter-spacing:.01em}
.psy-inline-test-summary .psy-inline-separator{color:#89a195;font-weight:600}

/* HRIS psychotest review form: main HRIS form-grid/select/button components. */
.psy-native-modal .psy-result-body .psy-review-form{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:15px;margin:14px 0 18px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.psy-native-modal .psy-result-body .psy-review-form>label{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;font-size:12px;font-weight:700;color:var(--text)}
.psy-native-modal .psy-result-body .psy-review-form select,.psy-native-modal .psy-result-body .psy-review-form textarea{display:block;width:100%;min-width:0;max-width:100%;margin:0;font:inherit;font-size:13px;color:var(--text);background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:none}
.psy-native-modal .psy-result-body .psy-review-form select{height:42px;padding:0 12px}
.psy-native-modal .psy-result-body .psy-review-form textarea{height:auto;min-height:94px;padding:11px 12px;line-height:1.55;resize:vertical}
.psy-native-modal .psy-result-body .psy-review-form :is(select,textarea):focus{outline:0;border-color:var(--green);box-shadow:0 0 0 3px rgba(35,149,109,.11)}
.psy-native-modal .psy-result-body .psy-review-form .psy-review-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:2px 0 0;padding-top:12px;border-top:1px solid var(--line2)}
.psy-native-modal .psy-result-body .psy-review-form .psy-review-foot small{font-size:11px;color:var(--muted);line-height:1.5}
.psy-native-modal .psy-result-body .psy-review-form .psy-review-foot button{margin-left:auto;min-height:40px}
@media(max-width:600px){.psy-native-modal .psy-result-body .psy-review-form{padding:12px}.psy-native-modal .psy-result-body .psy-review-form .psy-review-foot button{width:100%}}

/* Psikotest readable result detail, reusing HRIS Report tables and existing modal. */
.psy-native-modal .psy-test-explainer{padding:14px 16px;background:var(--panel2,#f7faf8);border:1px solid var(--line);border-radius:9px;margin-bottom:13px;line-height:1.6}
.psy-native-modal .psy-test-explainer h4,.psy-native-modal .psy-test-group h4{margin:0 0 8px;font-size:13px;font-weight:750;color:var(--text)}
.psy-native-modal .psy-test-explainer p{margin:7px 0;color:var(--muted)}
.psy-native-modal .psy-factor-rank{list-style:none;margin:11px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.psy-native-modal .psy-factor-rank li{display:flex;justify-content:space-between;gap:8px;min-width:0;border:1px solid var(--line);border-radius:8px;padding:9px 11px;background:var(--panel,#fff)}
.psy-native-modal .psy-factor-rank li span{min-width:0;overflow-wrap:anywhere}.psy-native-modal .psy-factor-rank li b{white-space:nowrap;color:var(--green)}
.psy-native-modal .psy-factor-rank li small{font-weight:normal;color:var(--muted)}
.psy-native-modal .psy-test-group{margin:14px 0;padding-top:12px;border-top:1px solid var(--line)}
.psy-native-modal .psy-test-group .psy-objective-card{border:0;background:transparent;padding:0!important;margin:0}
.psy-native-modal .psy-answer-audit{margin:16px 0;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.psy-native-modal .psy-answer-audit>summary{padding:12px 14px;background:var(--panel2,#f7faf8);font-weight:650;cursor:pointer}
.psy-native-modal .psy-answer-audit>.table-wrap{margin:10px}
.psy-native-modal .psy-wpt-readout{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:8px 0}
.psy-native-modal .psy-wpt-readout strong{font-size:23px;color:var(--text)}
.psy-native-modal .psy-wpt-readout span{color:var(--muted)}
@media(max-width:600px){.psy-native-modal .psy-factor-rank{grid-template-columns:1fr}.psy-native-modal .psy-test-explainer{padding:12px}}

/* Psikotest uses the shared HRIS Search, modal and Report controls. */
.workspace .hris-psychotest-native .psy-participant-toolbar{display:flex;align-items:center;padding:12px 20px;margin:0;background:transparent;border:0;box-shadow:none;min-height:62px}
.workspace .hris-psychotest-native .psy-participant-toolbar .searchbox{margin:0;max-width:360px;width:100%;background:#fff}
.psy-native-modal .psy-hrd-overview{padding:18px 19px}
.psy-native-modal .psy-hrd-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.psy-native-modal .psy-hrd-section-heading h3{margin:0;font-size:15px}
.psy-native-modal .psy-hrd-review-badge{background:#edf5f0;color:#226345;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:650}
.psy-native-modal .psy-hrd-intro{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 16px}
.psy-native-modal .psy-hrd-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.psy-native-modal .psy-hrd-profile-panel{min-width:0;padding:14px;border:1px solid var(--line);border-radius:9px;background:#fff}
.psy-native-modal .psy-hrd-profile-panel:last-child{grid-column:1/-1}
.psy-native-modal .psy-hrd-panel-head{display:flex;align-items:center;gap:11px;padding-bottom:11px;margin-bottom:11px;border-bottom:1px solid var(--line2)}
.psy-native-modal .psy-hrd-index{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:8px;background:#e7f3ec;color:#166943;font-weight:800;font-size:12px}
.psy-native-modal .psy-hrd-panel-head h4{margin:0 0 2px;color:var(--text);font-size:13px}
.psy-native-modal .psy-hrd-panel-head small{font-size:11px;color:var(--muted)}
.psy-native-modal .psy-hrd-score-list{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.psy-native-modal .psy-hrd-score-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line2);padding:5px 0;font-size:12px}
.psy-native-modal .psy-hrd-score-list li:last-child{border:0}
.psy-native-modal .psy-hrd-score-list li span{min-width:0;overflow-wrap:anywhere}
.psy-native-modal .psy-hrd-score-list li span small,.psy-native-modal .psy-hrd-score-list li b small{font-size:10px;color:var(--muted);font-weight:500}
.psy-native-modal .psy-hrd-score-list li b{flex:0 0 auto;color:var(--green);font-size:14px}
.psy-native-modal .psy-hrd-disc-row{display:flex;align-items:flex-start;gap:9px;padding:9px 0;border-bottom:1px solid var(--line2)}
.psy-native-modal .psy-hrd-disc-row>b{display:grid;place-items:center;flex:0 0 27px;height:27px;background:#e7f3ec;border-radius:6px;color:#166943}
.psy-native-modal .psy-hrd-disc-row>div{display:flex;flex-direction:column;gap:3px}
.psy-native-modal .psy-hrd-disc-row strong{font-size:12px}
.psy-native-modal .psy-hrd-disc-row small{color:var(--muted);font-size:11px}
.psy-native-modal .psy-hrd-support{font-size:11px;color:var(--muted);line-height:1.55;margin:10px 0 0}
.psy-native-modal .psy-hrd-wpt-result{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.psy-native-modal .psy-hrd-wpt-result strong{font-size:19px;color:var(--text)}
.psy-native-modal .psy-hrd-wpt-result span{font-size:12px;color:var(--muted)}
.psy-native-modal .psy-hrd-conclusion{border-left:3px solid #2e9266;background:#f3f8f5;border-radius:0 7px 7px 0;padding:11px 13px;margin:15px 0 0;line-height:1.6;font-size:12px;color:var(--text)}
@media(max-width:700px){.workspace .hris-psychotest-native .psy-participant-toolbar{padding:10px 12px}.psy-native-modal .psy-hrd-profile-grid{grid-template-columns:1fr}.psy-native-modal .psy-hrd-profile-panel:last-child{grid-column:auto}.psy-native-modal .psy-hrd-overview{padding:13px}}
/* Keep the existing HRIS result modal readable for long answers and detailed score tables. */
.psy-native-modal .psy-result-body .psy-detail-test-inner{min-width:0;overflow-wrap:break-word}
.psy-native-modal .psy-result-body .psy-test-group{min-width:0}
.psy-native-modal .psy-result-body .psy-test-group>.table-wrap,
.psy-native-modal .psy-result-body .psy-test-group .table-wrap,
.psy-native-modal .psy-result-body .psy-answer-audit .table-wrap{max-width:100%;overflow-x:auto;overflow-y:visible}
.psy-native-modal .psy-result-body .psy-test-group table{width:100%;table-layout:auto;min-width:0}
.psy-native-modal .psy-result-body .psy-test-group :is(th,td){white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.psy-native-modal .psy-result-body .psy-result-test>summary{min-width:0}
.psy-native-modal .psy-result-body .psy-result-test>summary span{min-width:0;overflow-wrap:anywhere}


/* Global Soft Professional semantic accents. Keep HRIS green as the primary identity.
   Restrained semantic accents, not gradients or full-card recoloring. */
:root {
 --hris-tone-green:#3c8b6c;--hris-tone-green-bg:#eaf5ee;
 --hris-tone-blue:#547fa3;--hris-tone-blue-bg:#edf4f9;
 --hris-tone-cyan:#558c96;--hris-tone-cyan-bg:#eaf5f5;
 --hris-tone-amber:#a17b47;--hris-tone-amber-bg:#faf3e8;
 --hris-tone-red:#af6b69;--hris-tone-red-bg:#faeeee;
 --hris-tone-violet:#8578a4;--hris-tone-violet-bg:#f2eff8;
 --hris-tone-neutral:#74828a;--hris-tone-neutral-bg:#f0f3f4;
}
/* Consistent, low-saturation feedback components across all HRIS menus. */
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).success,
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).active,
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).approved,
.workspace :is(.p-tag-success,.status-online){color:#317d5e!important;background:#ebf6ee!important;border-color:#d2e9d9!important}
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).info,
.workspace :is(.p-tag-info){color:#537e9e!important;background:#edf4f9!important;border-color:#d9e6f0!important}
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).warning,
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).pending,
.workspace :is(.p-tag-warning){color:#997345!important;background:#faf3e8!important;border-color:#efe0c9!important}
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).danger,
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).error,
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).rejected,
.workspace :is(.p-tag-danger,.status-offline){color:#a66563!important;background:#faeeee!important;border-color:#f0dada!important}
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).neutral,
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).inactive{color:#6c7c83!important;background:#f0f3f4!important;border-color:#e1e8e9!important}
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).analysis,
.workspace :is(.badge,.tag,.status-badge,.status-pill,.chip,.p-tag).report{color:#786d9a!important;background:#f2eff8!important;border-color:#e7e0f1!important}
/* Delicate contextual markers for controls, not solid blocks of color. */
.workspace :is(.btn.warning,.btn-warning,.p-button-warning){background:#faf3e8!important;border-color:#efe0c9!important;color:#977044!important;box-shadow:none!important}
.workspace :is(.btn.danger-ghost,.btn-danger-ghost,.p-button-danger.p-button-outlined){background:#fff9f8!important;border-color:#eedbd9!important;color:#a96966!important;box-shadow:none!important}
.workspace :is(.btn.info,.btn-info,.p-button-info.p-button-outlined){background:#edf4f9!important;border-color:#dce8ef!important;color:#547c9c!important;box-shadow:none!important}
.workspace :is(.panel,.card,.stat-card,.summary-card,.table-card,.report-card,.filter-card,.info-card,.metric-card,.form-card){transition:border-color .16s ease,box-shadow .16s ease}
.workspace :is(.panel,.card,.stat-card,.summary-card,.table-card,.report-card,.filter-card,.info-card,.metric-card,.form-card):hover{border-color:#dce8e1!important}
/* Download Log (single/all) and biometric progress: one calm consistent white panel.
   Current phase is expressed by the stage marker, small numeric accents and progress fill. */
.operation-dock.download-active{--progress-accent:#668fa8;--progress-soft:#eaf2f8;--progress-ink:#4e7591;
 background:#fff!important;color:#2d443a!important;border:1px solid #dce8e2!important;box-shadow:0 16px 44px rgba(32,59,47,.14)!important}
.operation-dock.download-active.progress-tone-blue{--progress-accent:#668fa8;--progress-soft:#eaf2f8;--progress-ink:#4e7591}
.operation-dock.download-active.progress-tone-cyan{--progress-accent:#6b9da0;--progress-soft:#eaf5f5;--progress-ink:#4d8185}
.operation-dock.download-active.progress-tone-amber{--progress-accent:#b39763;--progress-soft:#faf3e8;--progress-ink:#967442}
.operation-dock.download-active.progress-tone-green{--progress-accent:#6aab85;--progress-soft:#eaf5ee;--progress-ink:#398060}
.operation-dock.download-active.progress-tone-red{--progress-accent:#c58a86;--progress-soft:#faeeee;--progress-ink:#a66764}
.operation-dock.download-active .operation-title-inline>b,.operation-dock.download-active .operation-title-row>b{color:#2a4539!important}
.operation-dock.download-active .operation-inline-spinner{border-color:#dde9e2!important;border-top-color:var(--progress-accent)!important}
.operation-dock.download-active .operation-percent{background:var(--progress-soft)!important;color:var(--progress-ink)!important}
.operation-dock.download-active .operation-stage{background:var(--progress-soft)!important;color:var(--progress-ink)!important}
.operation-dock.download-active .operation-hint,
.operation-dock.download-active .download-progress-meta{color:#76877e!important}
.operation-dock.download-active .download-progress-track{background:#e8eeeb!important}
.operation-dock.download-active .download-progress-track>span{background:var(--progress-accent)!important;transition:width .35s ease,background-color .2s ease!important}
.operation-dock.download-active .download-all-current{background:#f8faf9!important;border:1px solid #e7ede9!important}
.operation-dock.download-active .download-all-current>span{color:#7a8a82!important}
.operation-dock.download-active .download-all-current>b{color:#32493e!important}
.operation-dock.download-active .download-all-stats>span{background:#f8faf9!important;border-color:#e7ede9!important}
.operation-dock.download-active .download-all-stats b{color:#587b92!important}
.operation-dock.download-active .download-all-stats small{color:#75877d!important}
.operation-dock.download-active .download-all-stats .ok{background:#f0f8f3!important;border-color:#dcecdf!important}
.operation-dock.download-active .download-all-stats .ok b{color:#3a8861!important}
.operation-dock.download-active .download-all-stats .fail{background:#fbf1ef!important;border-color:#f2e0dd!important}
.operation-dock.download-active .download-all-stats .fail b{color:#b46f6b!important}
.operation-dock.download-active .download-all-stats>span:nth-child(4){background:#f0f6f9!important;border-color:#e1ebef!important}
.operation-dock.download-active .download-all-stats>span:nth-child(5){background:#f1f6f2!important;border-color:#e0ebe2!important}
.operation-dock.download-active .download-all-stats>span:nth-child(5) b{color:#538d73!important}
.operation-dock.download-active.biometric-operation-dock .biometric-dock-stats>span{background:#f8faf9!important;border-color:#e7ede9!important}
.operation-dock.download-active.biometric-operation-dock .biometric-dock-stats>span:nth-child(1) b{color:#527e9e!important}
.operation-dock.download-active.biometric-operation-dock .biometric-dock-stats>span:nth-child(2) b{color:#806fa3!important}
.operation-dock.download-active.biometric-operation-dock .biometric-dock-stats>span:nth-child(3) b{color:#3d8968!important}
.operation-dock.download-active.biometric-operation-dock .biometric-dock-stats>span:nth-child(4) b{color:#b16d69!important}
@media(prefers-reduced-motion:reduce){.operation-dock.download-active .download-progress-track>span{transition:none!important}}
/* biometric detail labels must remain legible on the light dock. */
.operation-dock.download-active.biometric-operation-dock .operation-copy>small,
.operation-dock.download-active.biometric-operation-dock .biometric-dock-stats small{color:#788980!important}
.operation-dock.download-active.biometric-operation-dock .biometric-dock-entries{background:#f8faf9!important;border-color:#e4ebe7!important;color:#445d51!important}
.operation-dock.download-active.biometric-operation-dock .biometric-dock-entries :is(b,span){color:#526c5e!important}
.operation-dock.download-active.biometric-operation-dock .biometric-dock-close{color:#637b70!important}

/* Psikotest package order and consistent centered operational columns. */
.workspace .psy-package-table th:first-child,.workspace .psy-package-table td:first-child{width:5%;min-width:48px;max-width:68px;text-align:center!important;font-variant-numeric:tabular-nums}
.workspace .psy-package-table td:nth-child(2){text-align:left!important}
.workspace .psy-package-table td:nth-child(n/**/+3),.workspace .psy-package-table th:nth-child(n/**/+3){text-align:center!important}
.workspace .psy-package-table td:nth-child(4) .psy-chip{display:inline-flex}
.workspace .leave-center-panel .leave-history-grid td:not(:nth-child(2)){text-align:center!important}
.workspace .leave-center-panel .leave-history-grid td:nth-child(2){text-align:left!important}
.workspace .leave-center-panel .leave-history-grid .leave-history-approval-cell{text-align:center!important}
.workspace .admin-user-table td:not(:nth-child(2)),.workspace .admin-user-table th:not(:nth-child(2)){text-align:center!important}
.workspace .admin-user-table td:nth-child(2),.workspace .admin-user-table th:nth-child(2){text-align:left!important}
.hris-admin-password-wrap{display:flex;position:relative;align-items:center;width:100%}
.hris-admin-password-wrap input{width:100%;padding-right:48px!important}
.hris-admin-password-eye{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:34px;height:34px;color:#66817a}
.hris-admin-password-help{display:block;color:#788b83;font-size:11px;margin-top:5px}

/* User Management numbered rows and secure password action */
.workspace .admin-user-table .hris-admin-number{width:52px!important;min-width:52px!important;max-width:52px!important;text-align:center!important;white-space:nowrap}
.workspace .admin-user-table th:nth-child(3),.workspace .admin-user-table td:nth-child(3){text-align:left!important}
.workspace .admin-user-table th:nth-child(2),.workspace .admin-user-table td:nth-child(2){text-align:center!important}
.workspace .admin-user-table .hris-admin-password-col{width:94px!important;text-align:center!important}
.hris-admin-password-table-eye{border:1px solid #ddeae3!important;border-radius:9px;color:#467967;background:#f8fcf9;display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;cursor:pointer}
.hris-admin-password-table-eye:hover{background:#eaf5ee;color:#167747}

/* compact ordinal column in Leave Log > Histori Izin/Cuti. */
.workspace .leave-center-panel .leave-history-grid th:first-child,
.workspace .leave-center-panel .leave-history-grid td:first-child{width:52px!important;min-width:52px!important;max-width:52px!important;padding-left:5px!important;padding-right:5px!important;text-align:center!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important;}
.workspace .leave-center-panel .leave-history-grid th:nth-child(2){width:calc(20% + 3%)!important;}
.workspace .leave-center-panel .leave-history-grid td.leave-history-number{font-weight:650!important;color:#5d7280!important;}

/* Field Attendance: no PIN and no NO columns. Keep checkbox and other columns. */
.workspace .mobile-access-table.has-bulk th:nth-child(1),.workspace .mobile-access-table.has-bulk td:nth-child(1){width:5%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table.has-bulk th:nth-child(2),.workspace .mobile-access-table.has-bulk td:nth-child(2){width:28%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table.has-bulk th:nth-child(3),.workspace .mobile-access-table.has-bulk td:nth-child(3){width:27%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table.has-bulk th:nth-child(4),.workspace .mobile-access-table.has-bulk td:nth-child(4){width:20%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table.has-bulk th:nth-child(5),.workspace .mobile-access-table.has-bulk td:nth-child(5){width:11%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table.has-bulk th:nth-child(6),.workspace .mobile-access-table.has-bulk td:nth-child(6){width:9%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(1),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(1){width:30%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(2),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(2){width:29%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(3),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(3){width:21%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(4),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(4){width:11%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table:not(.has-bulk) th:nth-child(5),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(5){width:9%!important;min-width:0!important;max-width:none!important}
.workspace .mobile-access-table.has-bulk td:nth-child(2),.workspace .mobile-access-table.has-bulk td:nth-child(3),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(1),.workspace .mobile-access-table:not(.has-bulk) td:nth-child(2){text-align:left!important}


/* unified Soft Professional section heading typography.
   Presentation only: no table dimensions, data or app interactions changed. */
.workspace :is(.panel-head,.field-attendance-log-head,.department-heading,.leave-log-section-block>.panel-head,.report-hero,.annual-leave-head,.section-head,.card-head) > div:first-child{min-width:0}
.workspace :is(.panel-head,.field-attendance-log-head,.department-heading,.leave-log-section-block>.panel-head,.annual-leave-head) :is(h2,h3){
  margin:0!important;font-family:inherit;font-size:17px!important;font-weight:750!important;
  line-height:1.35!important;letter-spacing:-.025em!important;color:#293e38!important;
  text-wrap:pretty;overflow-wrap:break-word;
}
.workspace :is(.panel-head,.annual-leave-head) h2{font-size:18px!important}
.workspace :is(.panel-head,.field-attendance-log-head,.department-heading,.leave-log-section-block>.panel-head,.annual-leave-head) small{
  display:block;margin:6px 0 0!important;font-size:12.5px!important;font-weight:400!important;
  line-height:1.65!important;letter-spacing:0!important;color:#70837b!important;
  max-width:78ch;white-space:normal;
}
.workspace .field-attendance-log-head{padding:18px 22px!important;background:#f8faf9!important;
  border-bottom:1px solid #e5ece8!important;min-height:76px;align-items:center;
}
.workspace .field-attendance-log-head h3{font-size:17px!important}
.workspace .field-attendance-log-head small{font-size:12.5px!important}
.workspace :is(.panel-head,.leave-log-section-block>.panel-head,.annual-leave-head){
  column-gap:16px;row-gap:12px;
}
.workspace :is(.panel-head,.field-attendance-log-head,.annual-leave-head)>div:first-child > :is(h2,h3) + small{margin-top:6px!important}
.workspace .report-hero :is(h2,h3),.workspace .db70-hero-copy h2{
  letter-spacing:-.025em;line-height:1.3;text-wrap:pretty;
}
@media (max-width:760px){
  .workspace .field-attendance-log-head{padding:15px 16px!important;min-height:0}
  .workspace :is(.panel-head,.field-attendance-log-head,.annual-leave-head) :is(h2,h3){font-size:16px!important}
  .workspace :is(.panel-head,.field-attendance-log-head,.annual-leave-head) small{font-size:12px!important;line-height:1.6!important}
}

/* read-only anomaly inspection on Daily Attendance Detail */
.attendance-verify-badge{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;border:1px solid #f0d5d5;border-radius:9px;background:#fdf0f0;color:#a94f56;padding:3px 6px;font-size:10px;font-weight:650;cursor:pointer;transition:background .15s,border-color .15s}
.attendance-verify-badge:hover,.attendance-verify-badge:focus-visible{background:#fae7e8;border-color:#e7bec2;outline-offset:2px}
.attendance-verify-backdrop{position:fixed;inset:0;z-index:11000;background:rgba(22,35,29,.36);display:flex;align-items:center;justify-content:center;padding:18px}
.attendance-verify-dialog{width:min(100%,480px);max-height:min(80vh,650px);display:flex;flex-direction:column;background:#fff;border-radius:14px;box-shadow:0 18px 60px rgba(24,38,34,.18);overflow:hidden;color:#25382e}
.attendance-verify-header{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:18px 20px 14px;border-bottom:1px solid #e9efeb}
.attendance-verify-header h3{margin:0 0 5px;font-size:17px;font-weight:700}.attendance-verify-header small{color:#66776d;font-size:12px}
.attendance-verify-close{background:transparent;border:0;color:#6b7c73;cursor:pointer;padding:5px}
.attendance-verify-content{padding:16px 20px;overflow-y:auto;min-height:0;overscroll-behavior:contain}
.attendance-verify-hint{font-size:12px;color:#78867e;line-height:1.5;margin:0 0 12px}
.attendance-verify-list{border:1px solid #ecf0ed;border-radius:10px;overflow:hidden}
.attendance-verify-item{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 14px;border-bottom:1px solid #edf1ee;font-size:12px}.attendance-verify-item:last-child{border-bottom:0}
.attendance-verify-time{font-variant-numeric:tabular-nums;font-weight:650;flex:1;min-width:130px}
.attendance-verify-status{background:#fdf3e5;color:#977143;border-radius:6px;padding:4px 7px;font-size:11px}
.attendance-verify-status.is-matched{background:#eaf5ee;color:#357d59}.attendance-verify-repeat{font-size:11px;color:#ae6d56}
.attendance-verify-footer{padding:12px 20px;border-top:1px solid #e9efeb;display:flex;justify-content:flex-end}

.attendance-verify-type{color:#697b70;font-size:11px}


/* refined verification modal + semantic report accents */
.legacy-report-summary{gap:10px!important;padding-top:10px!important;padding-bottom:10px!important;background:#f8fcf9!important;border-color:#dfeae4!important}
.legacy-report-summary span{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:#ffffff;border:1px solid #e4ece7;color:#63786d;font-size:11px;line-height:1.2;box-shadow:0 1px 0 rgba(34,55,45,.03)}
.legacy-report-summary b{color:#274135!important}
.legacy-report-gridbar{padding-top:10px!important;padding-bottom:10px!important;background:linear-gradient(180deg,#eef8f1,#e8f2eb)!important;border-bottom-color:#d3e2d8!important;color:#385444!important}
.legacy-report-gridbar>span{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.01em}
.legacy-report-gridbar>span::before{content:"";display:inline-block;width:8px;height:8px;border-radius:999px;background:#1d9f67;box-shadow:0 0 0 4px rgba(29,159,103,.14)}
.legacy-report-gridbar small{font-size:10px;color:#6a7f71;background:#f8fcf9;border:1px solid #dfeae4;border-radius:999px;padding:4px 9px}
.legacy-report-table tbody td.report-cell-datetime,.legacy-report-table tbody td.report-cell-metric,.legacy-report-table tbody td.report-cell-badge,.legacy-report-table tbody td.report-cell-verify{text-align:center}
.legacy-report-table tbody td.report-cell-datetime .report-datetime-chips,.legacy-report-table tbody td.report-cell-verify .report-datetime-chips{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;min-height:30px}
.legacy-report-table .report-date-chip,.legacy-report-table .report-time-chip,.legacy-report-table .report-meridiem-chip,.legacy-report-table .report-metric-chip,.legacy-report-table .report-info-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid transparent;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}
.legacy-report-table .report-date-chip{padding:5px 9px;background:#f4f7f9;border-color:#dce7eb;color:#56707f}
.legacy-report-table .report-time-chip{padding:5px 9px;background:#ecf5fb;border-color:#d4e6f3;color:#2f6f8b;font-variant-numeric:tabular-nums}
.legacy-report-table .report-meridiem-chip{padding:4px 7px;background:#f0f6ec;border-color:#dce9d5;color:#4e7f54;letter-spacing:.04em}
.legacy-report-table .report-metric-chip{padding:5px 9px;font-variant-numeric:tabular-nums}
.legacy-report-table .report-metric-chip.is-ok{background:#edf7ef;border-color:#d6e9db;color:#2f7a50}
.legacy-report-table .report-metric-chip.is-warning{background:#fff5e8;border-color:#ecd9b7;color:#9a6a27}
.legacy-report-table .report-metric-chip.is-danger{background:#fff0ee;border-color:#edd6d1;color:#a25145}
.legacy-report-table .report-metric-chip.is-accent{background:#f2f0ff;border-color:#ddd8fb;color:#6654b4}
.legacy-report-table .report-metric-chip.is-info{background:#edf6fb;border-color:#d7e8f2;color:#376f8a}
.legacy-report-table .report-metric-chip.is-muted{background:#f4f6f7;border-color:#e3eaed;color:#6d7d87}
.legacy-report-table .report-info-badge{padding:5px 9px}
.legacy-report-table .report-info-badge.is-success{background:#ebf7ef;border-color:#d6eadc;color:#2f7f57}
.legacy-report-table .report-info-badge.is-info{background:#edf6fb;border-color:#d8e8f2;color:#366f89}
.legacy-report-table .report-info-badge.is-warning{background:#fff5e8;border-color:#ecdab9;color:#996a2a}
.legacy-report-table .report-info-badge.is-danger{background:#fff0ed;border-color:#edd6d2;color:#a25248}
.legacy-report-table .report-info-badge.is-neutral{background:#f2f5f3;border-color:#e0e7e3;color:#5d7266}
.legacy-report-table .report-info-badge.is-leave{background:#eff6e8;border-color:#dce8cf;color:#597a33}
.legacy-report-table .attendance-verify-badge{box-shadow:0 1px 0 rgba(63,47,24,.04)}
.attendance-verify-dialog{width:min(100%,560px)!important;border-radius:18px!important;box-shadow:0 24px 60px rgba(24,38,34,.2)!important}
.attendance-verify-header{padding:20px 24px 15px!important;background:linear-gradient(180deg,#fcfefd,#f8fbf9)!important}
.attendance-verify-header h3{font-size:18px!important;letter-spacing:-.015em}
.attendance-verify-header small{display:inline-flex;align-items:center;gap:7px;font-size:12px!important;color:#738278!important}
.attendance-verify-header small::before{content:"";display:inline-block;width:8px;height:8px;border-radius:999px;background:#1d9f67;box-shadow:0 0 0 4px rgba(29,159,103,.12)}
.attendance-verify-content{padding:18px 24px!important;background:#fcfefd}
.attendance-verify-list{border:1px solid #e5ede8!important;border-radius:14px!important;background:#fff;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.attendance-verify-item{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:14px 16px!important;border-bottom:1px solid #edf2ef!important}
.attendance-verify-item:last-child{border-bottom:0!important}
.attendance-verify-datetime{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.attendance-verify-date,.attendance-verify-time,.attendance-verify-meridiem{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid transparent;font-weight:750;line-height:1.2;white-space:nowrap}
.attendance-verify-date{padding:5px 9px;background:#f4f7f9;border-color:#dde7eb;color:#546f7e;font-size:11px}
.attendance-verify-time{padding:6px 10px;background:#ecf5fb;border-color:#d5e5f2;color:#2f6e8a;font-size:12px;font-variant-numeric:tabular-nums;min-width:84px}
.attendance-verify-meridiem{padding:5px 8px;background:#eef5eb;border-color:#dbe8d3;color:#4f7d56;font-size:11px;letter-spacing:.04em}
.attendance-verify-badges{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.attendance-verify-type,.attendance-verify-status,.attendance-verify-repeat{display:inline-flex!important;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;border:1px solid transparent;font-size:11px!important;font-weight:700;line-height:1.2;white-space:nowrap}
.attendance-verify-type.is-in{background:#ebf7ef;border-color:#d6eadc;color:#2f7f57}
.attendance-verify-type.is-out{background:#edf6fb;border-color:#d8e8f2;color:#376f8a}
.attendance-verify-type.is-neutral{background:#f2f5f3;border-color:#e0e7e3;color:#607368}
.attendance-verify-status{background:#fdf0f0!important;border-color:#f0d5d5!important;color:#a94f56!important}
.attendance-verify-status.is-matched{background:#eaf6ee!important;border-color:#d6e9dc!important;color:#337b55!important}
.attendance-verify-repeat{background:#fff0ed;border-color:#edd6d2;color:#a05146}
.attendance-verify-footer{padding:14px 24px!important;background:#fbfdfc!important}
@media(max-width:640px){
  .legacy-report-summary span{font-size:10.5px;padding:5px 9px}
  .legacy-report-gridbar{flex-direction:column;align-items:flex-start}
  .attendance-verify-dialog{width:min(100%,96vw)!important}
  .attendance-verify-item{align-items:flex-start!important;flex-direction:column!important}
  .attendance-verify-badges{justify-content:flex-start}
}


/* smoother report semantics and cleaner verification modal */
.legacy-report-summary{gap:8px!important;background:#fbfdfb!important;border-color:#e6eee9!important}
.legacy-report-summary span{padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid #e8efeb;color:#6d7f75;font-size:10.5px;box-shadow:none}
.legacy-report-summary b{font-weight:700;color:#315342!important}
.legacy-report-gridbar{background:linear-gradient(180deg,#f5faf6,#edf5f0)!important;border-bottom-color:#dfe9e2!important;color:#456153!important}
.legacy-report-gridbar>span::before{width:7px;height:7px;background:#45a777;box-shadow:0 0 0 3px rgba(69,167,119,.10)}
.legacy-report-gridbar small{background:rgba(255,255,255,.84);border-color:#e4ece7;color:#74867c}
.legacy-report-table tbody tr:hover td{background:#f7fbf8!important}
.legacy-report-table tbody tr:nth-child(even) td{background:#fcfefd!important}
.legacy-report-table tbody td.report-cell-datetime,.legacy-report-table tbody td.report-cell-metric,.legacy-report-table tbody td.report-cell-badge,.legacy-report-table tbody td.report-cell-verify{text-align:center!important}
.legacy-report-table .report-date-chip,.legacy-report-table .report-time-chip,.legacy-report-table .report-metric-chip,.legacy-report-table .report-info-badge{border-radius:999px;font-weight:650;box-shadow:none;transition:background .18s ease,border-color .18s ease,color .18s ease}
.legacy-report-table .report-date-chip{padding:5px 10px;background:#f6f8f7;border-color:#e4ece8;color:#6a7d75}
.legacy-report-table .report-time-chip{padding:5px 10px;background:#f2f7f9;border-color:#dfeaed;color:#557584}
.legacy-report-table .report-metric-chip{padding:5px 10px}
.legacy-report-table .report-metric-chip.is-ok{background:#eff8f2;border-color:#deece2;color:#46745a}
.legacy-report-table .report-metric-chip.is-warning{background:#fcf6eb;border-color:#eee1c7;color:#9a7740}
.legacy-report-table .report-metric-chip.is-danger{background:#fcf1ef;border-color:#eedddb;color:#a5655c}
.legacy-report-table .report-metric-chip.is-accent{background:#f4f1fb;border-color:#e5def6;color:#7867a6}
.legacy-report-table .report-metric-chip.is-info{background:#f0f6f9;border-color:#dde9ee;color:#547487}
.legacy-report-table .report-metric-chip.is-muted{background:#f5f7f7;border-color:#e5ecec;color:#728088}
.legacy-report-table .report-info-badge{padding:5px 10px;font-weight:650}
.legacy-report-table .report-info-badge.is-success{background:#eff8f3;border-color:#deece3;color:#47765d}
.legacy-report-table .report-info-badge.is-info{background:#f0f6f9;border-color:#dde9ee;color:#547487}
.legacy-report-table .report-info-badge.is-warning{background:#fcf6eb;border-color:#efe1c8;color:#9a7740}
.legacy-report-table .report-info-badge.is-danger{background:#fcf1ef;border-color:#efdddb;color:#a5665c}
.legacy-report-table .report-info-badge.is-neutral{background:#f5f8f6;border-color:#e5ece8;color:#6f8078}
.legacy-report-table .report-info-badge.is-leave{background:#f2f7ee;border-color:#e2ebd8;color:#67814d}
.legacy-report-table .attendance-verify-badge{border-radius:999px;background:#fdf0f0;border-color:#f0d5d5;color:#a94f56;padding:3px 6px;font-weight:650}
.legacy-report-table .attendance-verify-badge:hover,.legacy-report-table .attendance-verify-badge:focus-visible{background:#fae7e8;border-color:#e7bec2}
.attendance-verify-backdrop{background:rgba(25,38,32,.30)!important}
.attendance-verify-dialog{border-radius:20px!important;box-shadow:0 28px 70px rgba(26,40,34,.16)!important;background:#fcfefd!important}
.attendance-verify-header{background:linear-gradient(180deg,#fdfefd,#f9fbfa)!important;border-bottom-color:#e8efea!important}
.attendance-verify-header h3{font-size:18px!important;font-weight:700;color:#243d32}
.attendance-verify-header small{color:#7a8981!important}
.attendance-verify-header small::before{background:#68b18a;box-shadow:0 0 0 4px rgba(104,177,138,.10)}
.attendance-verify-content{background:#fcfefd!important;padding-top:16px!important;padding-bottom:18px!important}
.attendance-verify-list{border-color:#e8efea!important;border-radius:16px!important;box-shadow:none!important;background:rgba(255,255,255,.88)!important}
.attendance-verify-item{padding:13px 15px!important;gap:12px!important}
.attendance-verify-date,.attendance-verify-time{border-radius:999px;box-shadow:none}
.attendance-verify-date{background:#f6f8f7!important;border-color:#e5ece8!important;color:#6a7d75!important}
.attendance-verify-time{background:#f2f7f9!important;border-color:#dfeaed!important;color:#557584!important;min-width:86px}
.attendance-verify-type,.attendance-verify-status,.attendance-verify-repeat{border-radius:999px!important;font-weight:650!important;box-shadow:none!important}
.attendance-verify-type.is-in{background:#eff8f3!important;border-color:#deece3!important;color:#47765d!important}
.attendance-verify-type.is-out{background:#f0f6f9!important;border-color:#dde9ee!important;color:#557487!important}
.attendance-verify-type.is-neutral{background:#f5f8f6!important;border-color:#e5ece8!important;color:#6f8078!important}
.attendance-verify-status{background:#fdf0f0!important;border-color:#f0d5d5!important;color:#a94f56!important;padding:7px 12px!important;line-height:1.3!important}
.attendance-verify-status.is-matched{background:#eff8f3!important;border-color:#deece3!important;color:#47765d!important}
.attendance-verify-repeat{background:#fcf1ef!important;border-color:#efdddb!important;color:#a5665c!important}
.attendance-verify-footer{background:#fbfcfb!important;border-top-color:#e8efea!important}
@media(max-width:640px){
  .legacy-report-gridbar small{padding:4px 8px}
}


/* dashboard hero, mint Soft Professional composition matching approved reference.
   Restricted to .db255-* to preserve all other HRIS pages and widgets. */
.db70 .db70-hero.db255-hero{
  --db255-ink:#153d37;position:relative;isolation:isolate;display:grid!important;
  grid-template-columns:minmax(245px,1.2fr) minmax(180px,.78fr) minmax(140px,.60fr) minmax(180px,.8fr);
  gap:16px!important;align-items:center!important;min-height:170px!important;
  padding:24px 24px 22px 28px!important;border-radius:17px!important;overflow:hidden;
  background:linear-gradient(108deg,#e1f5e9 0%,#d7f1e3 46%,#cfeddb 100%)!important;
  color:var(--db255-ink)!important;box-shadow:0 8px 27px rgba(46,116,83,.08)!important;
  border:1px solid #d9ece0;
}
.db255-hero::before,.db255-hero::after{content:"";position:absolute;pointer-events:none;z-index:-1;border-radius:50%}
.db255-hero::before{width:520px;height:440px;top:-330px;right:60px;border:70px solid rgba(97,178,130,.095);transform:rotate(-20deg)}
.db255-hero::after{width:400px;height:330px;right:-195px;bottom:-245px;border:55px solid rgba(70,165,117,.10);transform:rotate(25deg)}
.db255-ornament{position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:.42;background:
  radial-gradient(ellipse at 37% 10%,rgba(255,255,255,.85),transparent 30%),
  radial-gradient(ellipse at 86% 80%,rgba(110,184,135,.25),transparent 38%),
  linear-gradient(155deg,transparent 62%,rgba(255,255,255,.20) 62%,transparent 78%)}
.db70 .db255-hero-copy{position:relative;z-index:3;flex:none;padding:0!important;max-width:none;color:var(--db255-ink)}
.db70 .db255-hero-copy .db70-overline{font-size:10px;font-weight:800;letter-spacing:.07em;color:#17554b!important}
.db70 .db255-hero-copy h2{margin:9px 0 7px!important;color:#0f3238!important;font-size:clamp(22px,2vw,30px)!important;font-weight:800;line-height:1.12!important;letter-spacing:-.035em}
.db70 .db255-hero-copy p{color:#426c62!important;font-size:12px!important;line-height:1.5!important;max-width:340px;margin:0!important;font-weight:450}
.db255-welcome{grid-column:2;position:relative;z-index:4;align-self:center;min-height:86px;padding:15px 15px 13px;border:1px solid rgba(255,255,255,.7);border-radius:15px;background:rgba(255,255,255,.69);box-shadow:0 7px 20px rgba(38,109,81,.045);backdrop-filter:blur(3px)}
.db255-welcome strong{display:block;color:#135246;font-size:12px;font-weight:800;line-height:1.35;margin-bottom:6px}
.db255-welcome p{color:#567a72;font-size:10.5px;line-height:1.52;margin:0;padding-bottom:8px}
.db255-welcome-accent{display:block;width:25px;height:4px;border-radius:5px;background:#18a471}
.db255-mascot{position:absolute;z-index:3;width:158px;height:auto;top:4px;left:calc(66% - 75px);pointer-events:none;object-fit:contain;filter:drop-shadow(0 4px 4px rgba(14,66,45,.06))}
.db70 .db70-hero .db70-hero-actions.db255-refresh-row.db95-refresh-row{grid-column:4;align-self:start;justify-self:end;position:relative;z-index:5;width:100%!important;display:flex!important;flex-wrap:nowrap!important;align-items:flex-start!important;justify-content:flex-end!important;gap:8px!important}
.db70 .db255-refresh-row .db82-update-status{flex:1 1 auto!important;min-width:0;max-width:none!important;align-items:center!important;background:rgba(255,255,255,.7)!important;border:1px solid rgba(255,255,255,.86)!important;border-radius:13px!important;padding:10px!important;min-height:48px!important;color:#295f50!important;text-shadow:none!important;box-shadow:0 5px 15px rgba(41,104,72,.045)}
.db70 .db255-refresh-row .db82-update-status>i{color:#14835d!important;font-size:16px!important;padding:7px;border-radius:9px;background:#e5f5eb}
.db70 .db255-refresh-row .db82-update-label{color:#1d5849!important;font-size:10px!important;font-weight:800!important}
.db70 .db255-refresh-row .db82-update-datetime{color:#537b6d!important;font-size:10px!important;line-height:1.4!important;white-space:normal}
.db70 .db255-refresh-row .db88-refresh-icon{flex:0 0 39px!important;width:39px!important;height:39px!important;border-radius:12px!important;background:rgba(255,255,255,.73)!important;border:1px solid rgba(255,255,255,.9)!important;color:#0c805a!important;box-shadow:0 4px 12px rgba(41,104,72,.04)}
.db70 .db255-refresh-row .db88-refresh-icon:hover{background:#fff!important;border-color:#bedfcb!important}
@media (max-width:1250px){
  .db70 .db70-hero.db255-hero{grid-template-columns:minmax(210px,1.1fr) minmax(170px,.85fr) minmax(100px,.48fr) minmax(165px,.78fr);gap:10px!important}
  .db255-mascot{width:140px;left:calc(66% - 66px);top:10px}
  .db255-welcome{padding:12px}
}
@media (max-width:920px){
  .db70 .db70-hero.db255-hero{grid-template-columns:minmax(0,1.12fr) minmax(0,.9fr);gap:14px!important;padding:20px 22px!important;min-height:180px!important}
  .db255-welcome{grid-column:2;margin-right:85px}
  .db255-mascot{width:117px;left:auto;right:8px;top:20px;opacity:.92}
  .db70 .db70-hero .db70-hero-actions.db255-refresh-row.db95-refresh-row{grid-column:2;justify-self:start;align-self:end;justify-content:flex-start!important}
}
@media (max-width:650px){
  .db70 .db70-hero.db255-hero{display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px!important;padding:20px 17px 17px!important;min-height:0!important;border-radius:16px!important;align-items:start!important}
  .db70 .db255-hero-copy{grid-column:1;max-width:calc(100% - 86px);padding:0!important}
  .db70 .db255-hero-copy h2{font-size:22px!important;line-height:1.18!important;margin:7px 0 5px!important}
  .db70 .db255-hero-copy p{font-size:11.5px!important}
  .db255-mascot{width:107px;top:30px;right:-8px;left:auto;opacity:.93}
  .db255-welcome{grid-column:1;max-width:calc(100% - 90px);width:100%;min-height:0;margin:0;padding:11px 12px}
  .db255-welcome p{font-size:10px}
  .db70 .db70-hero .db70-hero-actions.db255-refresh-row.db95-refresh-row{grid-column:1;width:100%!important;align-self:stretch;justify-self:stretch;justify-content:space-between!important;align-items:center!important;gap:8px!important}
  .db70 .db255-refresh-row .db82-update-status{max-width:calc(100% - 48px)!important;padding:8px!important}
}
@media (max-width:385px){.db255-mascot{width:92px;top:49px}.db70 .db255-hero-copy,.db255-welcome{max-width:calc(100% - 75px)}.db70 .db255-hero-copy h2{font-size:20px!important}}

/* Field Attendance search and aligned actions */
.mobile-access-panel .field-access-table-toolbar .field-access-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:9px;margin-left:auto}
.mobile-access-panel .field-access-table-toolbar .field-attendance-export-btn{margin-left:0}
.mobile-access-panel .field-access-table-toolbar .field-attendance-add-btn{min-height:40px;white-space:nowrap}
@media(max-width:650px){
  .mobile-access-panel .field-access-table-toolbar .field-access-toolbar-actions{width:100%;margin-left:0;justify-content:flex-end;flex-wrap:wrap}
  .mobile-access-panel .field-access-table-toolbar .field-access-toolbar-actions .btn{flex:0 1 auto;width:auto}
}

/* User Management table has five columns: No, Username, Nama, Level, Status. */
.workspace .admin-user-table th:last-child,.workspace .admin-user-table td:last-child{width:auto;text-align:center!important}
.workspace .admin-user-table th:nth-child(3),.workspace .admin-user-table td:nth-child(3){text-align:left!important}

/* Unified Notifications — compact, calm, readable workplace styling */
.birthday-popover.employee-alert-popover.notify-panel{width:min(465px,calc(100vw - 24px))!important;max-height:min(570px,calc(100dvh - 95px))!important;border:1px solid #dfeae4!important;border-radius:20px!important;box-shadow:0 22px 64px rgba(24,65,48,.16)!important;background:#fff!important}
.notify-bell{position:relative!important;display:grid!important;place-items:center!important;background:#eaf6ef!important;border:1px solid #d5e9dd!important;border-radius:14px!important;transition:background .18s,transform .18s!important}
.notify-bell:hover{background:#dff1e6!important;transform:translateY(-1px)}
.notify-bell>.pi{font-size:19px!important;color:#187c59!important}
.notify-bell .birthday-badge{top:-5px!important;right:-6px!important;min-width:19px!important;height:19px!important;font-size:10px!important;background:#d95665!important;border:2px solid #fff!important}
.notify-panel .notify-header{padding:17px 18px 12px!important;border-bottom:0!important;background:linear-gradient(120deg,#f5fbf7 0%,#fff 80%)!important}
.notify-heading{display:flex;align-items:center;gap:11px}
.notify-heading-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;color:#078052;background:#e0f4e8;border:1px solid #d2e9db;border-radius:12px;font-size:17px}
.notify-panel .birthday-popover-head b{font-size:15px!important;color:#174534!important;letter-spacing:-.2px}
.notify-panel .birthday-popover-head small{font-size:11px!important;color:#779087!important}
.notify-panel .birthday-close{border:1px solid #e0eae4!important;background:#fff!important;border-radius:10px!important;width:32px!important;height:32px!important}
.notify-summary{padding:0 18px 13px;display:flex;flex-wrap:wrap;gap:7px;background:linear-gradient(120deg,#f5fbf7 0%,#fff 80%)}
.notify-summary span{font-size:10.5px;color:#587568;background:#fff;border:1px solid #e3ece6;padding:5px 8px;border-radius:20px;white-space:nowrap}
.notify-summary i{color:#2b9470;margin-right:3px}
.notify-panel .notify-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;padding:12px 15px!important;background:#fff!important}
.notify-panel .notify-tabs button{gap:5px!important;padding:11px 6px!important;min-height:42px!important;font-size:10.5px!important;border-radius:11px!important;background:#f8faf9!important;border:1px solid #e4ece7!important;color:#577366!important;white-space:nowrap!important}
.notify-panel .notify-tabs button:first-child:nth-last-child(2),.notify-panel .notify-tabs button:first-child:nth-last-child(2)~button{grid-column:auto}
.notify-panel .notify-tabs button.active{color:#067348!important;background:#e8f6ed!important;border-color:#a8d8ba!important;box-shadow:inset 0 0 0 1px rgba(14,120,71,.04)!important}
.notify-panel .notify-tabs button em{padding:2px 5px!important;min-width:17px!important;text-align:center;background:#e7efea!important;color:#557568!important}
.notify-panel .notify-tabs button.active em{background:#cbedda!important;color:#067348!important}
.notify-panel .notify-content{padding:6px 13px 12px!important;scrollbar-width:thin;scrollbar-color:#bfd9c9 transparent}
.notify-panel .notify-item{padding:13px 10px!important;gap:11px!important;border-radius:11px!important;border-bottom:1px solid #edf2ef!important}
.notify-panel .notify-item:hover{background:#f6fbf8!important}
.notify-panel .notify-item .birthday-mini-cake{width:38px!important;height:38px!important;border-radius:12px!important;background:#fff0ee!important;color:#c35d50!important;font-size:16px!important}
.notify-panel .notify-leave .birthday-mini-cake{background:#fff5e7!important;color:#b77a21!important}
.notify-panel .notify-birthday .birthday-mini-cake{background:#eff4ff!important;color:#627db9!important}
.notify-panel .notify-item .birthday-person b{font-size:12.5px!important;color:#24483b!important}
.notify-panel .notify-item .birthday-person small{font-size:10.5px!important;color:#768b80!important}
.notify-status{display:inline-block;margin-top:7px;padding:4px 8px;border-radius:7px;background:#fff5e6;color:#996416;font-size:10px;font-weight:700}
.notify-panel .notify-item .birthday-date{font-size:10.5px!important;color:#567362!important;background:#f2f7f3!important;border:1px solid #e0eae2!important;border-radius:7px!important;padding:5px 7px!important}
.notify-panel .birthday-empty{padding:32px 18px!important}
.notify-panel .birthday-empty>i{font-size:25px!important;color:#8fbda6!important}
.notify-footer{padding:10px 15px 14px;border-top:1px solid #edf1ee;background:#fff}
.notify-see-all{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:10px!important;font-size:11.5px!important;padding:10px!important}
@media(max-width:700px){.birthday-popover.employee-alert-popover.notify-panel{position:fixed!important;top:68px!important;left:12px!important;right:12px!important;width:auto!important;max-height:calc(100dvh - 88px)!important}.notify-panel .notify-tabs{padding:9px!important;gap:5px!important}.notify-panel .notify-tabs button{font-size:10px!important;gap:4px!important}}

.notify-panel .notify-tabs.notify-two-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* Notification center visual refresh; one count per category, no duplicate summary. */
.notify-panel.notify{width:min(448px,calc(100vw - 24px))!important;max-height:min(580px,calc(100dvh - 94px))!important;border:1px solid #dfe9e3!important;border-radius:19px!important;background:#fff!important;box-shadow:0 24px 70px rgba(27,56,43,.14),0 4px 18px rgba(27,56,43,.045)!important}
.notify .notify-header{min-height:76px;padding:18px 20px 14px!important;align-items:center!important;background:#fff!important;border-bottom:1px solid #eef2ef!important}
.notify .notify-heading{gap:12px!important}
.notify .notify-heading-icon{width:40px;height:40px;flex-basis:40px;border-radius:13px;background:#edf7f0;color:#16845a;border:1px solid #d9ebdf;font-size:17px}
.notify .notify-heading-icon .pi{font-size:17px}
.notify .birthday-popover-head b{font-size:15px!important;letter-spacing:-.22px!important;font-weight:750!important;line-height:1.4!important}
.notify .birthday-popover-head small{display:block;margin-top:3px;font-size:11px!important;color:#819187!important;line-height:1.4!important}
.notify .birthday-close{width:33px!important;height:33px!important;border-radius:10px!important;border:1px solid #e5ece7!important;background:#f8faf9!important;color:#547164!important;flex-shrink:0}
.notify .birthday-close:hover{background:#edf5ef!important;color:#176a4a!important}
.notify .notify-tabs{padding:13px 16px 14px!important;gap:8px!important;border-bottom:1px solid #ecf1ed!important;background:#fff!important}
.notify .notify-tabs button{min-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:9px 7px!important;border:1px solid #e6ede8!important;border-radius:12px!important;background:#f8faf9!important;color:#5b7266!important;font-size:11px!important;font-weight:650!important;transition:background .15s,border-color .15s,color .15s!important}
.notify .notify-tabs button .pi{font-size:14px!important;opacity:.9}
.notify .notify-tabs button em{font-style:normal!important;border-radius:7px!important;padding:2px 6px!important;font-weight:750!important;min-width:20px!important;background:#ebf0ec!important;color:#526b5d!important}
.notify .notify-tabs button:hover{background:#f0f7f2!important;border-color:#cfdfd3!important;color:#176747!important}
.notify .notify-tabs button.active{background:#ebf7ef!important;border-color:#98d3ac!important;color:#087848!important;box-shadow:0 0 0 1px rgba(13,125,73,.04)!important}
.notify .notify-tabs button.active em{background:#d0efdc!important;color:#087848!important}
.notify .notify-content{padding:12px 15px 14px!important;min-height:205px;scrollbar-width:thin!important;scrollbar-color:#bfd8c8 transparent!important}
.notify .notify-item{margin:0!important;padding:13px 10px!important;gap:12px!important;border-radius:12px!important;border-bottom:1px solid #eff2ef!important;transition:background .15s!important}
.notify .notify-item:last-child{border-bottom-color:transparent!important}
.notify .notify-item:hover{background:#f7faf8!important}
.notify .notify-item .birthday-mini-cake{width:39px!important;height:39px!important;flex:0 0 39px!important;border-radius:12px!important;display:grid!important;place-items:center!important;font-size:16px!important}
.notify .notify-leave .birthday-mini-cake{background:#fff6e9!important;color:#ac7827!important}
.notify .notify-birthday .birthday-mini-cake{background:#f0f4fc!important;color:#617aaa!important}
.notify .notify-item .birthday-person{min-width:0!important;line-height:1.5!important}
.notify .notify-item .birthday-person b{font-size:12.5px!important;color:#23463a!important;font-weight:750!important}
.notify .notify-item .birthday-person small{font-size:11px!important;color:#768a80!important;line-height:1.5!important}
.notify .notify-item .birthday-date{display:inline-block;margin-top:6px!important;font-size:10.5px!important;line-height:1.5!important;max-width:100%!important;white-space:normal!important}
.notify .notify-status{font-size:10.5px!important;border-radius:7px!important}
.notify .birthday-empty{min-height:195px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:28px 18px!important;text-align:center!important}
.notify .birthday-empty>i{display:grid!important;place-items:center!important;width:50px!important;height:50px!important;border-radius:50%!important;background:#edf8f1!important;color:#57a981!important;font-size:23px!important}
.notify .birthday-empty b{margin-top:3px!important;font-size:12.5px!important;color:#34564a!important;font-weight:750!important}
.notify .birthday-empty small{max-width:275px!important;font-size:11px!important;color:#83938b!important;line-height:1.65!important}
.notify .notify-footer{padding:12px 16px 16px!important;border-top:1px solid #edf1ee!important}
.notify .notify-see-all{height:41px!important;padding:9px 13px!important;border:1px solid #dce9e0!important;border-radius:11px!important;background:#f7faf8!important;color:#235f45!important;font-size:11.5px!important;font-weight:750!important;gap:12px!important;transition:background .15s,border-color .15s!important}
.notify .notify-see-all:hover{background:#ebf7ee!important;border-color:#bddcc8!important}
.notify .notify-see-all .pi{font-size:13px!important}
@media(max-width:700px){.birthday-popover.employee-alert-popover.notify-panel.notify{left:10px!important;right:10px!important;top:65px!important;width:auto!important;max-height:calc(100dvh - 79px)!important;border-radius:17px!important}.notify .notify-header{padding:15px 14px 12px!important;min-height:69px}.notify .notify-tabs{padding:10px 11px 12px!important;gap:6px!important}.notify .notify-tabs button{font-size:10px!important;gap:4px!important;padding:8px 3px!important;min-height:43px!important}.notify .notify-tabs button .pi{font-size:12px!important}.notify .notify-tabs button em{padding:2px 4px!important;min-width:17px!important}.notify .notify-content{padding:9px 10px 12px!important}.notify .notify-footer{padding:10px 12px 13px!important}}

/* Employee filters: a single balanced desktop toolbar. */
@media (min-width: 901px){
  .workspace .employee-workspace .employee-tools{
    display:grid!important;
    grid-template-columns:minmax(280px,2.3fr) minmax(185px,1.25fr) minmax(190px,1.05fr) minmax(105px,.58fr) 122px 154px!important;
    column-gap:10px!important;row-gap:0!important;
    align-items:center!important;justify-content:stretch!important;
    flex-wrap:nowrap!important;width:100%!important;
    overflow-x:auto!important;overflow-y:visible!important;
    padding:2px 1px 5px!important;
  }
  .workspace .employee-workspace .employee-tools > *{
    grid-column:auto!important;grid-row:auto!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    margin:0!important;height:46px!important;min-height:46px!important;
  }
  .workspace .employee-workspace .employee-tools .searchbox.wide{min-width:0!important}
  .workspace .employee-workspace .employee-tools .searchbox input{min-width:0!important}
  .workspace .employee-workspace .employee-tools .employee-export-menu{min-width:0!important}
  .workspace .employee-workspace .employee-tools .btn.primary{min-width:0!important;grid-column:auto!important;grid-row:auto!important;justify-self:stretch!important}
  .workspace .employee-workspace .employee-tools .btn.soft{min-width:0!important}
}
@media (max-width: 900px){
  .workspace .employee-workspace .employee-tools{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:9px!important;overflow:visible!important;
  }
  .workspace .employee-workspace .employee-tools .searchbox.wide{grid-column:1 / -1!important}
  .workspace .employee-workspace .employee-tools > *{height:44px!important;min-height:44px!important}
  .workspace .employee-workspace .employee-tools .btn.primary{grid-column:auto!important;grid-row:auto!important;width:100%!important;min-width:0!important}
  .workspace .employee-workspace .employee-tools .btn.soft{min-width:0!important}
}


/* Employee toolbar size harmonization: equal control sizing and cleaner spacing. */
@media (min-width: 901px){
  .workspace .employee-workspace .employee-tools{
    grid-template-columns:minmax(320px,2.35fr) minmax(185px,1.18fr) minmax(185px,1.18fr) minmax(120px,.72fr) minmax(120px,.72fr) minmax(170px,.96fr)!important;
    column-gap:12px!important;
    row-gap:0!important;
    padding:2px 0 4px!important;
  }
  .workspace .employee-workspace .employee-tools > *{
    height:48px!important;
    min-height:48px!important;
  }
  .workspace .employee-workspace .employee-tools .searchbox.wide,
  .workspace .employee-workspace .employee-tools > select,
  .workspace .employee-workspace .employee-tools .employee-export-menu,
  .workspace .employee-workspace .employee-tools .btn.primary{
    align-self:stretch!important;
  }
  .workspace .employee-workspace .employee-tools .searchbox.wide{
    height:48px!important;
    border-radius:14px!important;
    padding-inline:14px!important;
  }
  .workspace .employee-workspace .employee-tools .searchbox.wide input{
    font-size:14px!important;
  }
  .workspace .employee-workspace .employee-tools > select,
  .workspace .employee-workspace .employee-tools .employee-export-menu > summary,
  .workspace .employee-workspace .employee-tools .btn.primary{
    width:100%!important;
    height:48px!important;
    min-height:48px!important;
    border-radius:14px!important;
    box-sizing:border-box!important;
  }
  .workspace .employee-workspace .employee-tools > select{
    padding:0 16px!important;
  }
  .workspace .employee-workspace .employee-tools .employee-export-menu{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }
  .workspace .employee-workspace .employee-tools .employee-export-menu > summary{
    list-style:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    padding:0 16px!important;
  }
  .workspace .employee-workspace .employee-tools .employee-export-menu > summary > .pi:first-child{
    margin-right:2px!important;
  }
  .workspace .employee-workspace .employee-tools .employee-export-menu .report-export-chevron{
    margin-left:auto!important;
  }
  .workspace .employee-workspace .employee-tools .btn.primary{
    justify-content:center!important;
    padding:0 18px!important;
  }
}
@media (max-width: 900px){
  .workspace .employee-workspace .employee-tools{
    gap:10px!important;
  }
  .workspace .employee-workspace .employee-tools > *,
  .workspace .employee-workspace .employee-tools .employee-export-menu > summary{
    height:44px!important;
    min-height:44px!important;
    border-radius:13px!important;
    box-sizing:border-box!important;
  }
  .workspace .employee-workspace .employee-tools .employee-export-menu{
    width:100%!important;
  }
  .workspace .employee-workspace .employee-tools .employee-export-menu > summary{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:0 14px!important;
  }
}

/* refined — align with Department's 38px controls; restore Search's complete border. */
@media (min-width:901px){
 .app-shell .workspace .employee-workspace .employee-tools{column-gap:10px!important;padding:4px 2px 5px!important;align-items:center!important}
 .app-shell .workspace .employee-workspace .employee-tools > *,
 .app-shell .workspace .employee-workspace .employee-tools > select,
 .app-shell .workspace .employee-workspace .employee-tools .searchbox.wide,
 .app-shell .workspace .employee-workspace .employee-tools .employee-export-menu,
 .app-shell .workspace .employee-workspace .employee-tools .employee-export-menu > summary,
 .app-shell .workspace .employee-workspace .employee-tools .btn.primary{height:38px!important;min-height:38px!important;max-height:38px!important;border-radius:10px!important;box-sizing:border-box!important}
 .app-shell .workspace .employee-workspace .employee-tools .searchbox.wide{display:flex!important;align-items:center!important;border:1px solid #dbe4e9!important;background:#fff!important;background-clip:padding-box!important;overflow:visible!important;margin:0!important;padding:0 12px!important;box-shadow:none!important;outline:0!important}
 .app-shell .workspace .employee-workspace .employee-tools .searchbox.wide input{height:34px!important;min-height:0!important;max-height:34px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:0!important}
 .app-shell .workspace .employee-workspace .employee-tools .employee-export-menu > summary,
 .app-shell .workspace .employee-workspace .employee-tools .btn.primary{padding:0 13px!important}
}


/* Employee search placeholder typography matches HRIS filters. */
.workspace .employee-workspace .employee-tools .searchbox.wide input,
.workspace .employee-workspace .employee-tools .searchbox.wide input::placeholder{
  font-size:12px!important;
  font-weight:400!important;
  letter-spacing:0!important;
  line-height:normal!important;
}
.workspace .employee-workspace .employee-tools .searchbox.wide input::placeholder{
  color:#7b8996!important;
  opacity:1!important;
}
/* Selected count belongs to the page title card, not the upload panel. */
.workspace .fm27-module-upload_users .upload-heading-selection{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
  padding:10px 15px!important;
  border:1px solid #cbe7d6!important;
  border-radius:12px!important;
  background:#f8fdfa!important;
  color:#286a4d!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
.workspace .fm27-module-upload_users .upload-heading-selection .pi{font-size:13px!important;color:#239566!important}
.workspace .fm27-module-upload_users .upload-heading-selection b{font-weight:800!important;font-size:13px!important}
.workspace .fm27-module-upload_users .upload-heading-selection span{font-weight:550!important}
@media(max-width:700px){
  .workspace .fm27-module-upload_users .upload-heading-selection{gap:5px!important;padding:8px 10px!important;font-size:11px!important}
  .workspace .fm27-module-upload_users .upload-heading-selection b{font-size:12px!important}
}


/* clearer dropdown chevrons and unified Upload User Info & FP dropdown styling */
.app-shell .workspace :is(.panel-tools select,.employee-tools select,.db73-machine-controls select,.ac-log-machine-select,.attendance-filter-select,.annual-leave-head select,.upload-center-toolbar .upload-machine-select select){
  -webkit-appearance:none!important;
  appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 5.25 7 8.75l3.5-3.5' fill='none' stroke='%235f7187' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:14px 14px!important;
  padding-right:36px!important;
}

.app-shell .workspace .upload-center-toolbar{
  align-items:end!important;
}
.app-shell .workspace .upload-filter-label{
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  color:#7a8e84!important;
}
.app-shell .workspace .upload-machine-select{
  height:38px!important;
}
.app-shell .workspace .upload-center-toolbar .upload-machine-select select,
.app-shell .workspace .upload-center-toolbar .upload-multi-select>summary{
  height:38px!important;
  min-height:38px!important;
  border:1px solid #d6e2d9!important;
  border-radius:10px!important;
  background-color:#fff!important;
  color:#365247!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1!important;
  box-shadow:none!important;
}
.app-shell .workspace .upload-center-toolbar .upload-machine-select select{
  padding:0 36px 0 12px!important;
}
.app-shell .workspace .upload-machine-select>i{
  display:none!important;
}
.app-shell .workspace .upload-center-toolbar .upload-multi-select>summary{
  padding:0 12px!important;
  gap:10px!important;
}
.app-shell .workspace .upload-center-toolbar .upload-multi-select>summary span{
  font-size:12px!important;
  font-weight:600!important;
  color:#365247!important;
}
.app-shell .workspace .upload-center-toolbar .upload-multi-select>summary i{
  font-size:10px!important;
  color:#6f8278!important;
}
.app-shell .workspace .upload-center-toolbar :is(.upload-machine-select select,.upload-multi-select>summary):hover{
  border-color:#c5d9cd!important;
  background-color:#fcfefd!important;
}
.app-shell .workspace .upload-center-toolbar :is(.upload-machine-select select,.upload-multi-select[open]>summary):focus,
.app-shell .workspace .upload-center-toolbar .upload-multi-select[open]>summary{
  border-color:#89b59a!important;
  box-shadow:0 0 0 3px rgba(32,132,89,.08)!important;
}
.app-shell .workspace .upload-center-toolbar .upload-multi-menu{
  border:1px solid #dce7df!important;
  border-radius:12px!important;
  box-shadow:0 18px 40px rgba(30,67,49,.12)!important;
}
@media (max-width:900px){
  .app-shell .workspace .upload-center-toolbar .upload-machine-select select,
  .app-shell .workspace .upload-center-toolbar .upload-multi-select>summary{
    height:40px!important;
    min-height:40px!important;
  }
}


/* Export Employee hotfix — allow CSV/XLSX dropdown to extend below toolbar. */
.workspace .employee-workspace,
.workspace .employee-workspace > .panel-head,
.workspace .employee-workspace .employee-tools{
  overflow:visible!important;
}
.workspace .employee-workspace > .panel-head{
  position:relative!important;
  z-index:5!important;
}
.workspace .employee-workspace .employee-tools .employee-export-menu{
  position:relative!important;
  z-index:6!important;
  overflow:visible!important;
}
.workspace .employee-workspace .employee-tools .employee-export-menu[open]{
  z-index:60!important;
}
.workspace .employee-workspace .employee-tools .employee-export-menu > summary{
  cursor:pointer!important;
  list-style:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  white-space:nowrap!important;
}
.workspace .employee-workspace .employee-tools .employee-export-menu > summary::-webkit-details-marker{display:none!important}
.workspace .employee-workspace .employee-tools .employee-export-menu .report-export-options{
  position:absolute!important;
  top:calc(100% + 8px)!important;
  right:0!important;
  left:auto!important;
  width:230px!important;
  max-width:calc(100vw - 32px)!important;
  z-index:100!important;
  display:block!important;
  overflow:visible!important;
  border-radius:12px!important;
  border:1px solid #dce8df!important;
  background:#fff!important;
  padding:7px!important;
  box-shadow:0 14px 35px rgba(29,67,47,.16)!important;
}
.workspace .employee-workspace .employee-tools .employee-export-menu:not([open]) > .report-export-options{
  display:none!important;
}
.workspace .employee-workspace .employee-tools .employee-export-menu .report-export-options button{
  width:100%!important;
  min-height:40px!important;
  height:auto!important;
  border-radius:8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  padding:8px 10px!important;
}
.workspace .employee-workspace .employee-tools .employee-export-menu .report-export-options button:hover{
  background:#eef8f1!important;
}
@media(max-width:900px){
  .workspace .employee-workspace .employee-tools .employee-export-menu .report-export-options{
    left:auto!important;right:0!important;width:min(230px,calc(100vw - 32px))!important;
  }
}

/* Employee Schedule filters and multi-picker use the same HRIS control sizing. */
.workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools>select{min-width:170px!important;max-width:245px!important;flex:1 1 185px!important}
.modal-card.modal-schedule .schedule-picker-panel .schedule-picker-filters{grid-template-columns:minmax(0,1.25fr) minmax(140px,1fr) minmax(155px,1fr)!important;gap:9px!important}
.modal-card.modal-schedule .schedule-picker-filters .schedule-picker-employment{min-width:0;width:100%;height:38px;min-height:38px;border:1px solid #d6e2d9;border-radius:10px;background-color:#fff;color:#365247;font-size:11px;padding:0 33px 0 11px}
@media(max-width:700px){.modal-card.modal-schedule .schedule-picker-panel .schedule-picker-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.modal-card.modal-schedule .schedule-picker-panel .schedule-picker-search{grid-column:1/-1!important}}
@media(max-width:420px){.modal-card.modal-schedule .schedule-picker-panel .schedule-picker-filters{grid-template-columns:minmax(0,1fr)!important}.modal-card.modal-schedule .schedule-picker-panel .schedule-picker-search{grid-column:auto!important}}

/* Bulk Employee Department reassignment follows existing toolbar styling. */
.workspace .employee-bulk-department-group{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.workspace .employee-bulk-department-select{min-width:190px;max-width:270px;width:auto;height:36px;min-height:36px;border-radius:10px;font-size:11px;padding-left:11px;flex:1 1 190px}
.workspace .employee-bulk-move{min-height:36px;height:36px;white-space:nowrap;display:inline-flex;align-items:center;gap:7px;border-radius:10px}
@media(max-width:700px){.workspace .employee-bulk-department-group{width:100%}.workspace .employee-bulk-department-select{max-width:none;flex:1 1 190px}.workspace .employee-bulk-move{flex:1 1 auto;justify-content:center}}

/* constrain Employee and Employee Schedule search controls to panel edges.
   Visual-only: keep all filter bindings and export interactions untouched. */
@media (min-width:901px){
  .app-shell .workspace .employee-workspace > .panel-head,
  .app-shell .workspace .schedule-panel:has(.employee-schedule-guide) > .employee-schedule-head{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }
  .app-shell .workspace .employee-workspace .employee-tools{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:4px 2px 5px!important;
    grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.8fr)!important;
    gap:10px!important;
  }
  .app-shell .workspace .schedule-panel:has(.employee-schedule-guide) .employee-schedule-head{
    display:block!important;
  }
  .app-shell .workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools{
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:minmax(0,2fr) minmax(0,1.15fr) minmax(0,1.35fr) minmax(0,.95fr) minmax(0,.95fr)!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:2px!important;
    gap:10px!important;
    align-items:center!important;
    justify-content:stretch!important;
  }
  .app-shell .workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools > *{
    box-sizing:border-box!important;
    grid-column:auto!important;
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    margin:0!important;
    flex:none!important;
  }
}
.app-shell .workspace .employee-workspace .employee-tools .searchbox.wide,
.app-shell .workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools .searchbox{
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  overflow:hidden!important;
}
.app-shell .workspace .employee-workspace .employee-tools .searchbox.wide input,
.app-shell .workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools .searchbox input{
  box-sizing:border-box!important;
  min-width:0!important;
  max-width:100%!important;
  width:100%!important;
  flex:1 1 auto!important;
  margin:0!important;
  padding-left:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
@media (max-width:900px){
  .app-shell .workspace .employee-workspace .employee-tools,
  .app-shell .workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
  }
}


/* Employee Schedule cleanup: remove guide/list heading and move total to module header */
.fm67-schedule-summary{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid #dce8df;border-radius:16px;background:rgba(255,255,255,.62);box-shadow:inset 0 1px 0 rgba(255,255,255,.55)}
.fm67-schedule-summary .fm29-machine-item{display:inline-flex;align-items:center;gap:8px;color:#48655a;font-size:13px;font-weight:700}
.fm67-schedule-summary .fm29-machine-item i{font-size:13px;color:#5c8b74}
.fm67-schedule-summary .fm29-machine-item b{color:#1e4133}
.workspace .schedule-panel .employee-schedule-head{align-items:center!important;gap:14px!important;padding-bottom:18px!important}
.workspace .schedule-panel .employee-schedule-head .fm28-redundant-title{display:none!important}
.workspace .schedule-panel .schedule-filter-tools{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;flex-wrap:wrap!important;width:100%!important}
.workspace .schedule-panel .schedule-filter-tools .searchbox{flex:1 1 250px!important;min-width:220px!important;max-width:none!important}
.workspace .schedule-panel .schedule-filter-tools>select{flex:1 1 190px!important;min-width:175px!important;max-width:255px!important}
.workspace .schedule-panel .schedule-filter-tools .btn{flex:0 0 auto!important}
.workspace .schedule-panel .employee-schedule-table{margin-top:0!important}
@media (max-width:1000px){
  .workspace .schedule-panel .schedule-filter-tools{justify-content:flex-start!important}
}
@media (max-width:640px){
  .fm67-schedule-summary{width:100%;justify-content:flex-start;padding:9px 12px;border-radius:14px}
  .workspace .schedule-panel .employee-schedule-head{padding-bottom:14px!important}
  .workspace .schedule-panel .schedule-filter-tools .searchbox,
  .workspace .schedule-panel .schedule-filter-tools>select{max-width:none!important}
}

/* Employee name links: no enlargement, movement or hover elevation. */



/* Report action buttons grouped with Sort controls. */
.app-shell .workspace .report-panel .legacy-sort-row{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;
  gap:9px 14px!important;min-height:54px!important;padding:8px 12px!important;
  overflow:visible!important;
}
.app-shell .workspace .report-panel .legacy-sort-row>label,
.app-shell .workspace .report-panel .legacy-sort-row>.legacy-sort-title{
  flex:0 0 auto!important;
}
.app-shell .workspace .report-panel .legacy-sort-row .legacy-report-actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:9px!important;flex-wrap:nowrap!important;margin:0 0 0 auto!important;
  min-width:0!important;position:relative!important;overflow:visible!important;
}
.app-shell .workspace .report-panel .legacy-sort-row .legacy-report-actions .btn,
.app-shell .workspace .report-panel .legacy-sort-row .legacy-report-actions .report-export-menu>summary{
  height:38px!important;min-height:38px!important;border-radius:10px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;white-space:nowrap!important;padding:0 14px!important;
}
.app-shell .workspace .report-panel .legacy-sort-row .report-export-menu{
  position:relative!important;overflow:visible!important;flex:0 0 auto!important;
}
.app-shell .workspace .report-panel .legacy-sort-row .report-export-options{
  z-index:90!important;
}
@media(max-width:1100px){
  .app-shell .workspace .report-panel .legacy-sort-row .legacy-report-actions{
    margin-left:auto!important;
  }
}
@media(max-width:690px){
  .app-shell .workspace .report-panel .legacy-sort-row{gap:10px 12px!important}
  .app-shell .workspace .report-panel .legacy-sort-row .legacy-report-actions{
    flex-wrap:wrap!important;width:100%!important;justify-content:flex-end!important;
    margin-top:3px!important;
  }
}


/* move report summary metrics into workspace header */
.fm68-report-summary-head{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:min(62vw,900px);padding:6px 8px!important;border:none!important;background:transparent!important;box-shadow:none!important}
.fm68-report-summary-head .fm68-report-summary-item,
.fm68-report-summary-head .fm29-machine-item{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:14px;background:rgba(255,255,255,.78);border:1px solid #d9e7de;color:#5c7065;font-size:12px;font-weight:600;line-height:1.2;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)}
.fm68-report-summary-head .fm68-report-summary-item b,
.fm68-report-summary-head .fm29-machine-item b{color:#234235;font-weight:800}
.fm68-report-summary-head .fm29-machine-item i{color:#5c8b74}
.workspace .legacy-report-panel>.legacy-report-summary{display:none!important}
@media (max-width:1280px){
  .fm68-report-summary-head{max-width:min(68vw,760px)}
  .fm68-report-summary-head .fm68-report-summary-item,
  .fm68-report-summary-head .fm29-machine-item{font-size:11.5px;padding:7px 10px}
}
@media (max-width:900px){
  .fm68-report-summary-head{width:100%;max-width:none;justify-content:flex-start;padding:0!important;margin-top:10px}
}

/* compact, soft report statistics in module title */
.app-shell .workspace .fm27-module-report .fm68-report-summary-head{
  gap:6px!important;padding:0!important;max-width:min(64vw,780px)!important;
  flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;
}
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm68-report-summary-item,
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm29-machine-item{
  box-sizing:border-box!important;min-height:27px!important;
  gap:5px!important;padding:5px 9px!important;border-radius:9px!important;
  background:rgba(255,255,255,.54)!important;border:1px solid rgba(167,197,178,.35)!important;
  color:#688075!important;font-size:10.5px!important;font-weight:450!important;
  line-height:1.3!important;letter-spacing:0!important;box-shadow:none!important;
  white-space:nowrap!important;
}
.app-shell .workspace .fm27-module-report .fm68-report-summary-head :is(.fm68-report-summary-item,.fm29-machine-item) b{
  font-size:10.5px!important;font-weight:650!important;color:#426653!important;
}
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm29-machine-item i{font-size:11px!important;color:#79a18b!important}
@media(max-width:950px){
 .app-shell .workspace .fm27-module-report .fm68-report-summary-head{max-width:100%!important;justify-content:flex-start!important;gap:5px!important}
}

/* V330r — full-width contract note and actionable staged contract reminders. */
.modal-card.modal-employee .hris-contract-date-row > .hris-contract-note-full{grid-column:1/-1!important;width:100%!important;max-width:none!important;display:block!important}
.modal-card.modal-employee .hris-contract-date-row > .hris-contract-note-full textarea{width:100%!important;max-width:none!important;min-height:90px!important;box-sizing:border-box!important;resize:vertical!important}
.notify-panel .hris-contract-alert-link{width:100%;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer;display:flex;align-items:center}
.notify-panel .hris-contract-alert-link:hover{background:#f2f8f4!important}
.notify-panel .hris-contract-alert-link.contract-urgent .birthday-mini-cake{background:#fff1df!important;color:#b36c13!important}
.notify-panel .hris-contract-alert-link.contract-urgent .birthday-date{color:#a6600a!important;font-weight:750!important}
.notify-panel .hris-contract-alert-link:focus-visible{outline:2px solid #43a77b;outline-offset:-2px}

/* remove distracting arrow from contract notification items */
.notify-panel .hris-contract-alert-link{padding-right:10px!important}
.notify-panel .hris-contract-alert-link .birthday-person{padding-right:0!important}

/* historical contract editor notice and readable note column */
.modal-card .hris-contract-history-edit .hris-history-edit-notice{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;width:100%;min-width:0;box-sizing:border-box;padding:11px 13px;margin:2px 0 4px;border:1px solid #ddebe1;border-radius:10px;background:#f4faf6;color:#566f60;font-size:12px;font-weight:400;line-height:1.55;letter-spacing:0;overflow-wrap:anywhere}
.modal-card .hris-contract-history-edit .hris-history-edit-notice i{color:#288a63;font-size:15px;flex:0 0 auto;margin-top:2px}
.modal-card .hris-contract-history-edit .hris-history-edit-notice strong{color:#325949;font-weight:650}
.employee-profile-panel .hris-contract-history-note{max-width:310px;min-width:130px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
/* retain the existing HRIS controls, rhythm and green theme. */
.hris-duration-field select{width:100%;min-height:42px}
.hris-leave-field{display:flex;flex-direction:column;justify-content:center;gap:9px;min-width:0}
.hris-leave-choice,.hris-permanent-leave{display:flex;align-items:center;gap:10px;min-height:42px;padding:10px 12px;border:1px solid #d7e7dd;border-radius:11px;background:#f5faf7;color:#276347;font-weight:500;line-height:1.4}
.hris-leave-choice input{accent-color:#28875c;width:17px;height:17px;flex:none;margin:0}
.hris-permanent-leave i{color:#28875c;font-size:17px}
.hris-permanent-field small{font-size:11px;line-height:1.45;color:#60736a}
@media(max-width:640px){.hris-leave-field{grid-column:1/-1}.hris-duration-field{grid-column:1/-1}}

/* calendar action belongs to HRIS, not native Chromium icon hover. */
.hris-date-picker-button{overflow:visible}
.hris-date-picker-button>.hris-calendar-trigger{position:relative;z-index:2;display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;cursor:pointer;transition:background .16s ease,color .16s ease}
.hris-date-picker-button>.hris-calendar-trigger:hover{background:#d9f0e2;color:#166f46}
.hris-date-picker-button>.hris-calendar-trigger:focus-visible{outline:2px solid #249264;outline-offset:1px}
.hris-date-picker-button>input.hris-date-native-picker{position:absolute!important;inset:auto 0 0 auto!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;z-index:0!important;border:0!important;padding:0!important}
.hris-date-picker-button>input.hris-date-native-picker::-webkit-calendar-picker-indicator{pointer-events:none!important;opacity:0!important}
/* HRD contract/permanent helper typography follows the current green theme. */
.employee-edit-form .hris-field-label{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-weight:550;line-height:1.4}
.employee-edit-form .hris-required-pill,.employee-edit-form .hris-optional-pill{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;font-size:10px!important;line-height:1.55;font-weight:550;letter-spacing:.01em;white-space:nowrap}
.employee-edit-form .hris-required-pill{background:#edf6ef;color:#36734d;border:1px solid #d9e9de}
.employee-edit-form .hris-optional-pill{background:#f1f4f2;color:#6c7c72;border:1px solid #e4e9e5}
.employee-edit-form .hris-form-hint{display:block;color:#819088!important;font-size:11px!important;line-height:1.5!important;font-weight:400!important;letter-spacing:0;margin-top:1px}
.employee-edit-form .hris-contract-note-field textarea{font-weight:400!important;letter-spacing:0;line-height:1.55;min-height:72px}
.employee-edit-form .hris-contract-note-field textarea::placeholder{color:#9baaa2!important;opacity:1;font-size:12px;font-weight:400!important;letter-spacing:0;line-height:1.5}
.employee-edit-form .hris-contract-date-row :is(input,select,textarea)::placeholder{color:#9baaa2;font-weight:400;opacity:1}

/* human-readable two-level department hierarchy, no clipped labels. */




/* permanent employment form uses a single predictable layout. */
.modal-card.modal-employee .hris-employee-basic-grid>.hris-contract-date-row.hris-permanent-dates{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px;align-items:start}
.modal-card.modal-employee .hris-permanent-dates>label{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0}
.modal-card.modal-employee .hris-permanent-dates>label>hris-date{display:block;width:100%;max-width:100%}
.modal-card.modal-employee .hris-permanent-dates .hris-date,.modal-card.modal-employee .hris-permanent-dates .hris-date-field{max-width:100%;width:100%}
.modal-card.modal-employee .hris-permanent-leave-variant{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;min-width:0}
.modal-card.modal-employee .hris-permanent-leave-variant .hris-permanent-leave{width:100%;box-sizing:border-box;min-height:45px;font-size:12px;font-weight:500}
.modal-card.modal-employee .hris-permanent-note{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;min-width:0;width:100%}
.modal-card.modal-employee .hris-permanent-note textarea{width:100%;max-width:100%;box-sizing:border-box;min-height:82px;resize:vertical}
.modal-card.modal-employee .hris-permanent-dates .hris-form-hint{margin:0;color:#83948a!important;font-size:11px!important;font-weight:400!important}
@media(max-width:600px){.modal-card.modal-employee .hris-employee-basic-grid>.hris-contract-date-row.hris-permanent-dates{grid-template-columns:1fr;gap:13px}}

/* consistent form grid rhythm for Contract and Permanent employment. */
.modal-card.modal-employee .hris-employee-basic-grid>.hris-contract-date-row{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px 20px!important;align-items:start!important;grid-auto-flow:row;
}
.modal-card.modal-employee .hris-contract-date-row > label,
.modal-card.modal-employee .hris-contract-date-row > .hris-permanent-leave-variant{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:flex-start!important;gap:7px!important;margin:0!important;min-width:0;
  font-size:12px;line-height:1.4;
}
.modal-card.modal-employee .hris-contract-date-row > label > .hris-field-label,
.modal-card.modal-employee .hris-contract-date-row > label > .hris-contract-end-heading,
.modal-card.modal-employee .hris-contract-date-row > .hris-permanent-leave-variant > .hris-field-label{
  display:flex!important;align-items:center!important;flex-wrap:wrap;
  gap:7px!important;min-height:20px!important;line-height:20px!important;
  margin:0!important;
}
.modal-card.modal-employee .hris-contract-date-row :is(hris-date,select,.hris-leave-choice,.hris-permanent-leave){
  margin:0!important;min-width:0;width:100%;box-sizing:border-box;
}
.modal-card.modal-employee .hris-contract-date-row :is(.hris-leave-choice,.hris-permanent-leave){
  min-height:46px;display:flex;align-items:center;
}
.modal-card.modal-employee .hris-contract-date-row .hris-leave-field{justify-content:flex-start!important;gap:7px!important}
.modal-card.modal-employee .hris-contract-date-row .hris-leave-field>span:first-child{
  display:flex;align-items:center;min-height:20px;line-height:20px;
}
.modal-card.modal-employee .hris-contract-date-row>.hris-contract-note-field{
  grid-column:1/-1!important;width:100%!important;
}
.modal-card.modal-employee .hris-contract-date-row>.hris-contract-note-field textarea{
  width:100%!important;box-sizing:border-box;min-height:84px;
}
.modal-card.modal-employee .hris-contract-date-row .hris-form-hint{
  font-weight:400!important;line-height:1.45!important;margin:1px 0 0!important;
}
.modal-card.modal-employee .hris-contract-date-row .hris-required-pill,
.modal-card.modal-employee .hris-contract-date-row .hris-optional-pill{
  display:inline-flex;align-items:center;line-height:1.2;min-height:19px;vertical-align:middle;
}
.modal-card.modal-employee .hris-contract-date-row .hris-contract-end-field .hris-contract-override{
  margin-top:3px!important;min-height:25px;line-height:1.5;
}
.modal-card.modal-employee .hris-contract-date-row .hris-contract-end-heading>small{line-height:20px!important}
@media(max-width:640px){
 .modal-card.modal-employee .hris-employee-basic-grid>.hris-contract-date-row{grid-template-columns:1fr!important;gap:13px!important}
}


/* compact single-line department path: restores employee row density. */







/* compact department hierarchy; status is filtered from toolbar rather than duplicated in the table. */




















@media(max-width:700px){
  
  
}

/* Both renewal dates can be adjusted separately, using existing HRIS date picker. */
.hris-contract-preview .hris-decision-adjustments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin-top:12px}
.hris-contract-preview .hris-decision-adjustments .hris-decision-date-toggle{margin-top:0;min-width:0;line-height:1.4}
.hris-contract-preview .hris-decision-start,.hris-contract-preview .hris-decision-end{min-width:0}
.hris-contract-preview .hris-preview-grid .hris-date-field,.hris-contract-preview .hris-preview-grid .hris-date-picker{max-width:100%}
@media(max-width:720px){.hris-contract-preview .hris-decision-adjustments{grid-template-columns:1fr}}

/* one compact control for adjusting both renewal dates. */
.hris-contract-preview .hris-decision-adjustments.hris-single-adjustment{display:flex!important;grid-template-columns:none!important;align-items:center;justify-content:flex-start;margin-top:11px;padding:11px 13px;border:1px solid #e0ece4;border-radius:10px;background:#f7fbf8}
.hris-contract-preview .hris-single-adjustment .hris-decision-date-toggle{display:inline-flex!important;align-items:center;gap:10px;margin:0!important;font-size:12px!important;line-height:1.4!important;font-weight:550;color:#386550}
.hris-contract-preview .hris-single-adjustment .hris-decision-date-toggle input{accent-color:#079e72;width:16px;height:16px}

/* Decision history editor: fixed heading and actions, independently scrollable content. */
.app-shell .modal-backdrop .modal-card.modal-decision-history-edit{
  display:flex!important;flex-direction:column!important;
  width:min(760px,calc(100vw - 28px))!important;
  max-height:calc(100dvh - 32px)!important;min-height:0!important;
  overflow:hidden!important;
}
.app-shell .modal-card.modal-decision-history-edit>.modal-head{flex:0 0 auto!important;}
.app-shell .modal-card.modal-decision-history-edit>.hris-decision-history-edit-form{
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
  min-height:0!important;overflow:hidden!important;gap:0!important;
  padding:0!important;margin:0!important;
}
.app-shell .modal-card.modal-decision-history-edit .hris-decision-history-scroll{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start!important;
  gap:13px!important;flex:1 1 auto!important;min-height:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:#bdd7c8 transparent;
  padding:20px 22px 16px!important;
}
.app-shell .modal-card.modal-decision-history-edit .hris-decision-history-scroll>label{
  min-width:0!important;margin:0!important;
}
.app-shell .modal-card.modal-decision-history-edit .hris-decision-history-footer{
  display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-end!important;
  gap:10px!important;position:relative!important;inset:auto!important;
  margin:0!important;padding:14px 22px calc(14px + env(safe-area-inset-bottom,0px))!important;
  min-height:70px!important;background:#fff!important;border-top:1px solid #e3eee7!important;
  box-shadow:0 -5px 18px rgba(27,80,46,.045)!important;z-index:2!important;
}
@media(max-width:600px){
  .app-shell .modal-backdrop .modal-card.modal-decision-history-edit{width:calc(100vw - 18px)!important;max-height:calc(100dvh - 18px)!important;}
  .app-shell .modal-card.modal-decision-history-edit .hris-decision-history-scroll{padding:15px 14px!important;}
  .app-shell .modal-card.modal-decision-history-edit .hris-decision-history-footer{padding:12px 14px!important;}
}

/* checkbox OT tepat di bawah pemilihan tanggal jadwal sementara. */
.schedule-override-form .schedule-ot-option{grid-column:1 / -1;margin:-2px 0 4px;}
.schedule-override-form .schedule-ot-checkbox{display:flex;align-items:flex-start;gap:11px;padding:12px 14px;border:1px solid #dae9df;border-radius:10px;background:#f6faf7;cursor:pointer;}
.schedule-override-form .schedule-ot-checkbox input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0;accent-color:#11966e;cursor:pointer;}
.schedule-override-form .schedule-ot-copy{display:flex;flex-direction:column;gap:3px;min-width:0;}
.schedule-override-form .schedule-ot-copy strong{color:#285d48;font-size:12px;font-weight:700;line-height:1.35;}
.schedule-override-form .schedule-ot-copy small{font-size:10.5px;color:#7c8f83;line-height:1.45;}
.schedule-override-form .schedule-ot-saved-label{font-weight:700;color:#138461;}

/* compact and aligned OT option in daily schedule override. */
.schedule-override-form .schedule-ot-option{grid-column:1 / -1!important;margin:0 0 4px!important;}
.schedule-override-form .schedule-ot-checkbox{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  gap:12px!important;min-height:64px;padding:12px 16px!important;
  background:#f7fbf8!important;border:1px solid #deebe2!important;
  border-radius:11px!important;cursor:pointer;transition:background .16s,border-color .16s;
}
.schedule-override-form .schedule-ot-checkbox:hover{background:#f0f8f3!important;border-color:#bfdfca!important;}
.schedule-override-form .schedule-ot-checkbox.is-checked{background:#ebf7ef!important;border-color:#a8d9b9!important;}
.schedule-override-form .schedule-ot-checkbox input[type=checkbox]{
  appearance:auto!important;flex:0 0 17px!important;width:17px!important;height:17px!important;
  margin:0!important;align-self:center!important;accent-color:#0d966a!important;
}
.schedule-override-form .schedule-ot-icon{
  flex:0 0 35px;display:grid;place-items:center;width:35px;height:35px;
  border-radius:9px;background:#e8f5ed;color:#108a5e;font-size:16px;
}
.schedule-override-form .schedule-ot-copy{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;}
.schedule-override-form .schedule-ot-copy strong{font-size:12.5px!important;font-weight:700!important;line-height:1.35!important;color:#285744!important;}
.schedule-override-form .schedule-ot-copy small{font-size:11px!important;font-weight:400!important;color:#819188!important;line-height:1.45!important;}
.employee-edit-form .employee-basic-save-button{white-space:nowrap;}
@media(max-width:640px){
 .schedule-override-form .schedule-ot-checkbox{padding:12px!important;gap:9px!important;}
 .schedule-override-form .schedule-ot-icon{flex-basis:30px;width:30px;height:30px;}
 .employee-edit-form .employee-basic-save-button{white-space:normal;}
}


/* OT opsi pada pengaturan Shift massal Outsourching Bulanan */
.employee-schedule-form .schedule-bulk-ot-option{grid-column:1/-1;min-width:0;}
.employee-schedule-form .schedule-bulk-ot-card{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid #dfebe3;border-radius:10px;background:#f8fbf9;cursor:pointer;transition:background .16s,border-color .16s;}
.employee-schedule-form .schedule-bulk-ot-card:hover{background:#f2f9f5;border-color:#c6decf;}
.employee-schedule-form .schedule-bulk-ot-card.is-checked{background:#edf7f0;border-color:#add6bc;}
.employee-schedule-form .schedule-bulk-ot-card input[type=checkbox]{flex:0 0 17px;width:17px;height:17px;appearance:auto;accent-color:#11966e;margin:0;}
.employee-schedule-form .schedule-bulk-ot-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:9px;background:#e8f5ed;color:#168b61;}
.employee-schedule-form .schedule-bulk-ot-copy{display:flex;flex-direction:column;gap:3px;min-width:0;}
.employee-schedule-form .schedule-bulk-ot-copy strong{font-size:12px;line-height:1.35;font-weight:700;color:#2a5744;}
.employee-schedule-form .schedule-bulk-ot-copy small{font-size:10.5px;line-height:1.45;color:#7b8f83;font-weight:400;}

/* compact horizontal OT control in bulk Employee Schedule.
   Explicitly override generic .form-grid label column layout. */
.app-shell .modal-card .employee-schedule-form .schedule-bulk-ot-option{
  grid-column:1 / -1!important;
  display:block!important;
  min-width:0!important;
  margin:0 0 8px!important;
}
.app-shell .modal-card .employee-schedule-form label.schedule-bulk-ot-card{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  width:100%!important;
  min-height:62px!important;
  margin:0!important;
  padding:10px 13px!important;
  border:1px solid #dce9df!important;
  border-radius:10px!important;
  background:#f7faf8!important;
  cursor:pointer;
  transition:background-color .15s,border-color .15s;
}
.app-shell .modal-card .employee-schedule-form label.schedule-bulk-ot-card:hover{
  background:#f2f8f4!important;
  border-color:#c9e2d2!important;
}
.app-shell .modal-card .employee-schedule-form label.schedule-bulk-ot-card.is-checked{
  background:#eaf7ee!important;
  border-color:#a9d9ba!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-bulk-ot-card > input[type=checkbox]{
  display:block!important;
  position:static!important;
  flex:0 0 17px!important;
  width:17px!important;
  height:17px!important;
  padding:0!important;
  margin:0!important;
  accent-color:#11966e!important;
  align-self:center!important;
  appearance:auto!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-bulk-ot-icon{
  flex:0 0 31px!important;
  width:31px!important;
  height:31px!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  border-radius:8px!important;
  background:#e6f4eb!important;
  color:#168b61!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-bulk-ot-icon i{font-size:14px!important;}
.app-shell .modal-card .employee-schedule-form .schedule-bulk-ot-copy{
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  text-align:left!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-bulk-ot-copy strong{
  display:block!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.3!important;
  color:#285744!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-bulk-ot-copy small{
  display:block!important;
  font-size:10.5px!important;
  font-weight:400!important;
  line-height:1.35!important;
  color:#7b9084!important;
}
@media(max-width:600px){
  .app-shell .modal-card .employee-schedule-form label.schedule-bulk-ot-card{padding:10px!important;gap:9px!important;}
  .app-shell .modal-card .employee-schedule-form .schedule-bulk-ot-icon{width:28px!important;height:28px!important;flex-basis:28px!important;}
}

/* compact decision history; period dates remain fully readable. */
.employee-profile-panel .hris-decision-history-table{width:100%;table-layout:fixed;border-collapse:collapse}
.employee-profile-panel .hris-decision-history-table th,.employee-profile-panel .hris-decision-history-table td{padding:9px 7px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis}
.employee-profile-panel .hris-decision-history-table th:nth-child(1),.employee-profile-panel .hris-decision-history-table td:nth-child(1){width:32px;min-width:32px;max-width:32px;text-align:center;padding-left:3px;padding-right:3px;font-variant-numeric:tabular-nums}
.employee-profile-panel .hris-decision-history-table th:nth-child(2){width:17%}
.employee-profile-panel .hris-decision-history-table th:nth-child(3){width:13%}
.employee-profile-panel .hris-decision-history-table th:nth-child(4){width:32%}
.employee-profile-panel .hris-decision-history-table th:nth-child(5){width:18%}
.employee-profile-panel .hris-decision-history-table th:nth-child(6){width:12%}
.employee-profile-panel .hris-decision-history-table .hris-contract-history-period{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:normal;word-break:normal;line-height:1.45;font-variant-numeric:tabular-nums}
.employee-profile-panel .hris-decision-history-table .hris-contract-history-note{min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){.employee-profile-panel .hris-decision-history-table{min-width:570px}.employee-profile-panel .hris-decision-history-table th,.employee-profile-panel .hris-decision-history-table td{padding:8px 5px;font-size:11px}.employee-profile-panel .hris-decision-history-table th:nth-child(1),.employee-profile-panel .hris-decision-history-table td:nth-child(1){width:26px;min-width:26px;max-width:26px;padding-left:2px;padding-right:2px}.employee-profile-panel .hris-decision-history-table th:nth-child(4){width:34%}}

/* contract history content-width columns */
.employee-profile-panel .hris-decision-history-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.employee-profile-panel .hris-decision-history-table{width:max-content!important;min-width:100%;table-layout:auto!important}
.employee-profile-panel .hris-decision-history-table th,.employee-profile-panel .hris-decision-history-table td{width:auto!important;min-width:max-content!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
.employee-profile-panel .hris-decision-history-table th:first-child,.employee-profile-panel .hris-decision-history-table td:first-child{width:1%!important;min-width:24px!important;text-align:center}
.employee-profile-panel .hris-decision-history-table .hris-contract-history-period,.employee-profile-panel .hris-decision-history-table .hris-contract-history-note{white-space:nowrap!important}
.hris-contract-note-badge{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#e6f5ec;color:#16764e;border:1px solid #c8e8d6;font-weight:600;white-space:nowrap}
.hris-contract-note-select{width:100%;min-height:38px}

/* preserve full User names, with scroll instead of clipping. */
.employee-profile-panel .hris-decision-history-wrap{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.employee-profile-panel .hris-decision-history-table{table-layout:auto!important;width:max-content!important;min-width:100%!important;max-width:none!important}
.employee-profile-panel .hris-decision-history-table th,.employee-profile-panel .hris-decision-history-table td{width:auto!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.employee-profile-panel .hris-decision-history-table th:last-child,.employee-profile-panel .hris-decision-history-table td:last-child{min-width:max-content!important;max-width:none!important;width:auto!important;padding-right:18px!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.employee-profile-panel .hris-decision-history-table th:first-child,.employee-profile-panel .hris-decision-history-table td:first-child{min-width:26px!important;width:26px!important}
.hris-contract-note-select+textarea{display:block;margin-top:9px;width:100%}

/* display original contract-decision input timestamp below actor. */
.hris-decision-history-table .hris-contract-history-user{min-width:max-content!important;white-space:nowrap!important;padding-right:18px!important}
.hris-contract-user-name{display:block;white-space:nowrap;font-weight:500}
.hris-contract-user-timestamp{display:block;white-space:nowrap;font-size:10px;line-height:1.5;color:#73847d;margin-top:2px;font-weight:400}

/* two-column contract edit layout, periods above leave and notes. */
.modal-card.modal-employee .hris-contract-date-row:has(.hris-period-start){grid-template-columns:repeat(2,minmax(0,1fr))!important}
.modal-card.modal-employee .hris-contract-date-row .hris-period-start{grid-column:1!important}
.modal-card.modal-employee .hris-contract-date-row .hris-period-end{grid-column:2!important}
.modal-card.modal-employee .hris-contract-date-row .hris-leave{grid-column:1!important}
.modal-card.modal-employee .hris-contract-date-row .hris-note{grid-column:2!important;width:100%!important}
.modal-card.modal-employee .hris-contract-date-row .hris-note select{width:100%;min-width:0}
@media(max-width:420px){.modal-card.modal-employee .hris-contract-date-row:has(.hris-period-start){column-gap:10px!important;row-gap:13px!important}.modal-card.modal-employee .hris-contract-date-row .hris-contract-override{font-size:10px}}

/* permanent appointment form spacing and hierarchy */
.hris-permanent-appointment{display:flex;flex-direction:column;gap:14px;padding:15px!important}
.hris-permanent-appointment .hris-permanent-heading{display:flex;align-items:center;gap:9px;padding-bottom:11px;border-bottom:1px solid #e1ebe5;color:#276b51;font-size:13px;line-height:1.5}
.hris-permanent-appointment .hris-permanent-heading i{font-size:15px;color:#11996d}
.hris-permanent-appointment .hris-permanent-date{display:flex;flex-direction:column;gap:7px;min-width:0}
.hris-permanent-appointment .hris-permanent-date>label{font-size:12px;font-weight:600;line-height:1.5;color:#3d574b;margin:0}
.hris-permanent-appointment .hris-permanent-date .hris-date-field{width:100%;max-width:100%}
.hris-permanent-appointment .hris-permanent-adjust{display:flex!important;align-items:flex-start!important;gap:9px!important;margin:0!important;padding:10px 11px;border:1px solid #e0ece4;border-radius:9px;background:#f7fbf8;font-size:12px;line-height:1.5;white-space:normal}
.hris-permanent-appointment .hris-permanent-adjust input{flex:0 0 auto;margin:2px 0 0;accent-color:#079e72}
.hris-permanent-appointment .hris-permanent-hint{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.55;color:#73867b}
.hris-permanent-appointment .hris-permanent-hint i{margin-top:2px;flex:0 0 auto}

/* renewal preview consistent with permanent appointment form */
.hris-renewal-preview{display:flex;flex-direction:column;gap:14px;padding:15px!important}
.hris-renewal-preview .hris-renewal-heading{display:flex;align-items:center;gap:9px;padding-bottom:11px;border-bottom:1px solid #e1ebe5;color:#276b51;font-size:13px;line-height:1.5}
.hris-renewal-preview .hris-renewal-heading i{font-size:15px;color:#11996d}
.hris-renewal-preview .hris-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.hris-renewal-preview .hris-preview-grid>div{min-width:0;padding:11px 12px;gap:7px;border:1px solid #e0eae3;border-radius:9px;background:#fff}
.hris-renewal-preview .hris-preview-grid>div.hris-renewal-status{grid-column:1/-1;background:#f7fbf8}
.hris-renewal-preview .hris-preview-grid small{font-size:11px;line-height:1.5;color:#64766c}
.hris-renewal-preview .hris-preview-grid b{font-size:13px;font-weight:600;color:#304a3b;line-height:1.5;overflow-wrap:normal;word-break:normal}
.hris-renewal-preview .hris-preview-grid .hris-date-field{width:100%;min-width:0}
.hris-renewal-preview .hris-renewal-adjust{margin:0!important}
.hris-renewal-preview .hris-renewal-adjust .hris-decision-date-toggle{display:flex!important;align-items:flex-start!important;gap:9px!important;margin:0!important;padding:10px 11px!important;border:1px solid #e0ece4;border-radius:9px;background:#f7fbf8;font-size:12px;line-height:1.5;white-space:normal}
.hris-renewal-preview .hris-renewal-adjust .hris-decision-date-toggle input{flex:0 0 auto;margin:2px 0 0;accent-color:#079e72}
@media(max-width:420px){.hris-renewal-preview .hris-preview-grid{gap:8px}.hris-renewal-preview .hris-preview-grid>div{padding:10px 9px}}

/* schedule override visual rhythm and bulk selection */
.schedule-override-form{row-gap:17px!important;column-gap:18px!important}
.schedule-override-form>label{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important}
.schedule-override-form .schedule-override-date-range{gap:18px!important}
.schedule-override-form .schedule-override-date-range label{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0}
.schedule-override-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}
.schedule-override-section-title{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
.schedule-override-section-title h4{margin:0!important;line-height:1.4!important;white-space:normal!important}
.temp-schedule-bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;border-bottom:1px solid #e1eae5}
.temp-schedule-bulk-toolbar label{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600}
.temp-schedule-bulk-toolbar input,.temp-schedule-select{width:16px;height:16px;accent-color:#11966e;flex-shrink:0}
.temp-schedule-bulk-toolbar .btn{margin-left:auto;font-size:12px;padding:8px 12px}
.temp-schedule-existing-row{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
.temp-schedule-existing-row .schedule-override-record{flex:1;min-width:0}
@media(max-width:640px){.schedule-override-form .schedule-override-date-range{gap:10px!important}.temp-schedule-bulk-toolbar{padding:10px;gap:8px}}

/* weekly copy preview and accessible bulk selection */
.modal-card.modal-temp-schedule .schedule-week-head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.modal-card.modal-temp-schedule .schedule-copy-btn{font-size:12px;white-space:nowrap;padding:8px 11px}
.modal-card.modal-temp-schedule .week-copy-preview{padding:15px;border-top:1px solid #e4eee8;background:#fcfefd}
.week-copy-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#245641}
.week-copy-summary span,.week-copy-preview p{font-size:12px;color:#647e70}
.week-copy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:9px;margin:12px 0}
.week-copy-day{display:flex;flex-direction:column;gap:4px;border:1px solid #e1ebe5;border-radius:10px;padding:11px;min-width:0;background:white}
.week-copy-day span,.week-copy-day small{font-size:11px;color:#657b70}.week-copy-day b{font-size:12px;overflow-wrap:anywhere}
.week-copy-day em{font-style:normal;font-size:10px;font-weight:700;margin-top:3px}.week-copy-day em.is-ready{color:#078554}.week-copy-day em.is-skipped{color:#9a7131}
.week-copy-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.modal-card.modal-temp-schedule .temp-schedule-bulk-toolbar{display:flex!important;align-items:center!important;gap:12px!important;padding:12px 16px!important;min-height:62px!important;background:#fff!important}
.modal-card.modal-temp-schedule .temp-select-all{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;min-width:0!important;width:auto!important;cursor:pointer}
.modal-card.modal-temp-schedule .temp-select-all input,.modal-card.modal-temp-schedule .temp-schedule-select{appearance:auto!important;width:17px!important;height:17px!important;min-width:17px!important;margin:0!important;accent-color:#0c9b72!important;position:static!important;opacity:1!important;visibility:visible!important}
.modal-card.modal-temp-schedule .temp-selection-count{font-size:12px;color:#647c71;white-space:nowrap}
.modal-card.modal-temp-schedule .temp-bulk-delete{margin-left:auto!important;min-width:max-content!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-list{display:flex!important;flex-direction:column!important;gap:0!important;height:auto!important;min-height:0!important;max-height:280px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 16px!important;scrollbar-gutter:stable!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row{display:flex!important;flex:0 0 auto!important;position:relative!important;align-items:center!important;gap:13px!important;min-height:64px!important;height:auto!important;max-height:none!important;padding:12px 9px!important;margin:0!important;width:100%!important;background:#fff!important;cursor:pointer!important;border-bottom:1px solid #e9f0eb!important;overflow:visible!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row.is-selected{background:#f0faf5!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .schedule-override-record{display:flex!important;flex:1!important;flex-direction:column!important;gap:5px!important;min-width:0!important;overflow:visible!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .schedule-override-record b{font-size:12px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .schedule-override-record small{font-size:11px!important;line-height:1.5!important}
@media(max-width:640px){.modal-card.modal-temp-schedule .schedule-week-head-actions{width:100%;justify-content:space-between}.modal-card.modal-temp-schedule .temp-schedule-bulk-toolbar{gap:8px!important}.modal-card.modal-temp-schedule .temp-bulk-delete{font-size:11px!important;padding:8px!important}.week-copy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* compact horizontal rows; neutralize legacy form label grid styling */
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-list{display:block!important;overflow-y:auto!important;overflow-x:auto!important;max-height:310px!important;padding:0 12px!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-list .temp-schedule-existing-row{display:grid!important;grid-template-columns:22px minmax(0,1fr) 38px!important;align-items:center!important;gap:14px!important;min-height:58px!important;padding:10px 8px!important;width:100%!important;margin:0!important;box-sizing:border-box!important;float:none!important;position:relative!important;transform:none!important;text-align:left!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .temp-schedule-select{grid-column:1!important;justify-self:center!important;position:static!important;margin:0!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .schedule-override-record{grid-column:2!important;display:flex!important;flex-direction:column!important;gap:4px!important;align-items:flex-start!important;text-align:left!important;min-width:0!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .icon-btn{grid-column:3!important;justify-self:center!important;margin:0!important;position:static!important}
.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-row .schedule-override-record b{white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
.week-copy-settings{margin:14px 16px;padding:16px;border:1px solid #dcebe3;background:#f8fcfa;border-radius:12px;display:grid;gap:14px}
.week-copy-settings h5{font-size:14px;margin:0;color:#165e43;display:flex;align-items:center;gap:8px}
.week-copy-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.week-copy-setting-grid label{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;font-size:12px;font-weight:600}
.week-copy-setting-grid select{width:100%;min-width:0}
.week-copy-holiday{display:flex!important;align-items:center!important;flex-direction:row!important;gap:10px!important;font-size:12px}
.week-copy-holiday input{width:16px!important;height:16px!important;margin:0!important;flex:none!important}
@media(max-width:640px){.week-copy-setting-grid{grid-template-columns:1fr}.modal-card.modal-temp-schedule .schedule-override-saved .temp-schedule-existing-list .temp-schedule-existing-row{gap:8px!important}}

/* Field Attendance Log: match AC Log centered date/time typography. */
.workspace .field-attendance-log-table th:first-child,
.workspace .field-attendance-log-table td.field-log-datetime{text-align:center!important}
.workspace .field-attendance-log-table td.field-log-datetime{vertical-align:middle!important;white-space:nowrap!important}
.workspace .field-attendance-log-table .ac-log-datetime-parts{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:30px;white-space:nowrap}
.workspace .field-attendance-log-table .ac-log-date-part{display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#304b55;font-variant-numeric:tabular-nums}
.workspace .field-attendance-log-table .ac-log-time-part{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:7px;background:#eef3f6;border:1px solid #dce6eb;color:#476b7c;font-size:11px;font-weight:750;font-variant-numeric:tabular-nums;line-height:1.2}
@media(max-width:700px){.workspace .field-attendance-log-table .ac-log-datetime-parts{gap:5px}.workspace .field-attendance-log-table .ac-log-time-part{padding:4px 6px}}

/* organization controls, retaining panel and table styles */
.ui-department-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px;border-bottom:1px solid #e1e9e5;padding-bottom:10px}.ui-department-tabs button{border:1px solid #dce7df;background:#fff;border-radius:9px;padding:10px 15px;font-weight:650;color:#4a6254;cursor:pointer}.ui-department-tabs button.active{background:#e6f4e9;border-color:#8bc89c;color:#176b3a}.ui-jobs-panel,.ui-sort-panel{padding:12px 4px 22px}.ui-brand-note{padding:12px 14px;background:#f0f8f2;border-radius:10px;margin-bottom:14px}.ui-jobs-form{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.ui-jobs-form label{display:grid;gap:5px;flex:1;min-width:180px}.ui-jobs-form input,.ui-jobs-form select{height:40px;border:1px solid #d9e4dd;border-radius:8px;padding:0 10px}.ui-job-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.ui-sort-row{display:flex;gap:8px;align-items:center;min-height:45px;border-bottom:1px solid #edf1ee}.ui-sort-name{flex:1}.ui-sort-name .pi{color:#9bad9e;margin-right:8px}

/* focused organization management, visually separated from the hierarchy. */
.department-panel .ui-department-tabs{display:flex;align-items:center;gap:6px;padding:12px 18px!important;background:#fff;border-bottom:1px solid #e7eee9}
.department-panel .ui-department-tabs button{padding:9px 15px!important;border-radius:9px!important;font-weight:650;font-size:12px;transition:background .15s,color .15s}
.department-panel .ui-department-tabs button.active{background:#e6f5ed!important;color:#08764f!important;border-color:#c5e9d5!important}
.department-panel .ui-structure-tree{padding:17px 18px 22px!important;background:#fbfdfc;display:flex;flex-direction:column;gap:6px}
.ui-org-hero{display:flex;align-items:center;gap:13px;background:linear-gradient(110deg,#e7f6ed,#f5fbf7);border:1px solid #cfe9d9;border-radius:13px;padding:16px 18px;margin-bottom:13px}
.ui-org-hero-icon{height:39px;width:39px;display:grid;place-items:center;border-radius:11px;background:#d0eddd;color:#108257;font-size:19px;flex:none}
.ui-org-hero-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.ui-org-eyebrow{font-size:9px;font-weight:800;letter-spacing:.1em;color:#348969}
.ui-org-hero-copy strong{font-size:15px;color:#16583f}
.ui-org-hero-copy small{font-size:11px;color:#658375}
.ui-org-hero-tag{font-size:10px;color:#137e55;background:#fff;border:1px solid #cce6d7;padding:6px 10px;border-radius:20px;white-space:nowrap}
.ui-org-list-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 9px;padding:0 1px;position:relative}
.ui-org-list-heading>div:first-child{display:flex;flex-direction:column;gap:4px}
.ui-org-list-heading strong{font-size:13px;color:#263c32}
.ui-org-list-heading small{font-size:11px;color:#809087}
.ui-org-manage{position:relative;flex:none}
.ui-org-manage>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;border:1px solid #cce4d7;border-radius:9px;padding:10px 12px;background:white;color:#167651;font-weight:700;font-size:11px;user-select:none}
.ui-org-manage>summary::-webkit-details-marker{display:none}
.ui-org-manage[open]>summary{background:#eaf6ef}
.ui-org-manage-content{position:absolute;right:0;top:calc(100% + 8px);width:min(440px,85vw);max-height:70vh;overflow-y:auto;background:#fff;z-index:20;border:1px solid #d9e8de;box-shadow:0 15px 45px #153d2924;border-radius:13px;padding:17px;display:grid;gap:16px}
.ui-org-manage-block{display:flex;flex-direction:column;gap:9px}
.ui-org-manage-block>label{font-size:12px;font-weight:700;color:#315544}
.ui-org-manage-block input:not([type=checkbox]),.ui-org-manage-block select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #d7e5dd;border-radius:9px;padding:10px 12px;background:white}
.ui-org-input-row{display:flex;gap:8px}.ui-org-input-row input{flex:1}.ui-org-input-row button{white-space:nowrap}
.ui-org-manage-block .ui-company-dept-checklist{max-height:220px;overflow:auto;border:1px solid #e2eee6;border-radius:9px;padding:8px}
.ui-company-dept-checklist label{display:flex;align-items:center;gap:10px;padding:8px!important;margin:0!important;border-bottom:1px solid #eff4f0;font-size:12px}
.ui-company-dept-checklist label:last-child{border-bottom:0}
.ui-company-dept-checklist label input{flex:none;accent-color:#16845b}
.ui-company-dept-checklist label span{display:flex;flex-direction:column;gap:2px}
.ui-company-dept-checklist label small{font-size:10px;color:#91a197}
.ui-org-hint{font-size:10px;color:#7a9385}
.department-panel .ui-structure-tree .department-node{margin:0!important;min-height:55px!important;border:1px solid #e5ece8!important;background:#fff!important;border-radius:10px!important;box-shadow:none!important;transition:border-color .15s,background .15s}
.department-panel .ui-structure-tree .department-node:hover{border-color:#b9dec9!important;background:#f7fcf9!important}
.department-panel .ui-structure-tree .department-node.department-root{margin-top:8px!important;background:#eef7f1!important;border-color:#d3e8da!important;min-height:60px!important}
.department-panel .ui-structure-tree .department-node.department-root .department-node-title b{color:#165a3e!important;font-size:12px!important}
.department-panel .ui-structure-tree .department-node-copy small{font-size:10px!important;color:#8c9c93!important}
.department-panel .ui-structure-tree .department-node-stats{min-width:66px}
@media(max-width:700px){.department-panel .ui-structure-tree{padding:12px!important}.ui-org-hero{padding:12px;gap:10px}.ui-org-hero-tag{display:none}.ui-org-list-heading{align-items:flex-start}.ui-org-list-heading small{max-width:220px}.ui-org-manage-content{right:0;width:min(340px,88vw)}.ui-org-input-row{flex-wrap:wrap}}

/* Department refinement: one clear visual hierarchy, compact workspaces. */
.department-panel .department-panel-head{min-height:64px!important;padding:12px 20px!important}
.department-panel .ui-department-tabs{margin:0!important;padding:13px 20px!important;gap:8px!important}
.department-panel .ui-department-tabs button{font-size:13px!important;padding:10px 17px!important}
.department-panel .ui-structure-tree{background:#fff!important;padding:18px 20px 28px!important;gap:5px!important}
.department-panel .ui-org-hero{margin-bottom:17px!important;padding:14px 17px!important}
.department-panel .ui-structure-tree .department-node{min-height:59px!important;border-radius:10px!important}
.department-panel .ui-structure-tree .department-node.department-root{margin-top:12px!important;background:#f0f8f3!important;border:1px solid #cae5d5!important;min-height:65px!important}
.department-panel .ui-structure-tree .department-node.department-root .department-node-icon{background:#d9eee2!important;color:#08784f!important}
.department-panel .ui-structure-tree .department-node.department-root .department-node-title b{font-size:14px!important}
.department-panel .ui-structure-tree .department-node:not(.department-root) .department-node-title b{font-size:12px!important;font-weight:650!important}
.ui-company-toggle,.ui-expand-button{border:0;background:transparent;cursor:pointer;color:#3d8162;display:grid;place-items:center;flex:none;width:24px;height:28px;border-radius:6px}
.ui-company-toggle:hover,.ui-expand-button:hover{background:#d9eee2}
.department-panel .ui-structure-tree .department-node:not(.department-root) .ui-company-toggle{display:none}
.ui-content-pane{padding:24px!important;background:#fff!important;min-height:0!important}
.ui-pane-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #e8efea}
.ui-pane-intro h3{font-size:17px;margin:4px 0 5px;color:#183d2c}.ui-pane-intro p{margin:0!important;color:#75897d;font-size:12px;line-height:1.6}
.ui-kicker{font-size:10px;letter-spacing:.12em;color:#12875a;font-weight:800}
.ui-pane-icon{height:44px;width:44px;border-radius:12px;background:#e7f5ed;color:#12875a;display:grid;place-items:center;font-size:19px;flex:none}
.ui-jobs-workspace{max-width:1000px}.ui-jobs-form{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(200px,1.4fr) auto;gap:12px!important;align-items:end!important}
.ui-jobs-form label{font-size:12px;color:#355c46;font-weight:700;min-width:0!important}.ui-jobs-form input,.ui-jobs-form select{height:44px!important;font-size:13px}
.ui-jobs-form .btn{height:44px;white-space:nowrap}.ui-job-results{border:1px solid #e0ece4;border-radius:12px;padding:18px;margin-top:22px;background:#fbfdfb}
.ui-results-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.ui-results-heading b{font-size:13px;color:#214b34}.ui-results-heading small{color:#87978c;font-size:11px}
.ui-job-list{margin-top:16px!important}.ui-job-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #d7eadd;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:600;background:white;color:#2b6246}.ui-job-pill .pi{font-size:12px;color:#209666}.ui-job-other{background:#e9f5ed;border-style:dashed}
.ui-sort-root{display:flex;gap:10px;align-items:center;background:#eaf6ee;border:1px solid #d1e8d9;padding:15px 16px;border-radius:12px;color:#19583b;margin-bottom:15px}.ui-sort-root small{margin-left:auto;color:#648a72}
.ui-sort-groups{display:grid;gap:12px}.ui-sort-group{border:1px solid #dce9e0;border-radius:12px;overflow:hidden;background:#fff}
.ui-sort-company{display:flex;align-items:center;gap:11px;padding:10px 14px;background:#f2f8f4;color:#225a3d;min-height:44px}.ui-sort-company b{font-size:13px}.ui-sort-company small{font-size:11px;color:#819b89}
.ui-sort-actions{margin-left:auto;display:flex;gap:7px}.ui-sort-actions .icon-btn{height:31px;width:32px;flex:none}
.ui-sort-child{display:flex;align-items:center;gap:12px;padding:9px 16px 9px 53px;min-height:36px;border-top:1px solid #edf2ee;font-size:12px;color:#435c4b}.ui-sort-child>.pi{color:#9eb8a5}
@media(max-width:750px){.ui-content-pane{padding:15px!important}.ui-jobs-form{grid-template-columns:1fr!important}.ui-pane-intro{align-items:flex-start}.ui-sort-child{padding-left:24px}.ui-sort-root small{display:none}.department-panel .ui-structure-tree{padding:12px!important}}

/* unified Department: company cards, clean header and aligned controls */
.fm27-module-departments .ui-header-brand{display:inline-flex;align-items:center;gap:8px;margin-left:12px;font-size:13px;font-weight:650;color:#25845d;vertical-align:middle}
.fm27-module-departments .ui-header-brand .pi{font-size:11px;color:#9bb9a6}
.fm27-module-departments .ui-header-brand small{font-size:10px;font-weight:500;color:#7a9988;border-left:1px solid #c7ddce;padding-left:9px}
.department-panel .department-panel-head{min-height:0!important;padding:0!important;border:0!important}
.department-panel .department-toolbar-tools{padding:12px 20px 0!important;width:100%!important;justify-content:flex-end!important}
.department-panel .department-searchbox{width:min(100%,380px)!important}
.department-panel .ui-department-tabs{padding:12px 20px 14px!important;border-bottom:1px solid #e9f0ec!important}
.department-panel .ui-structure-tree{padding:16px 20px 24px!important;gap:0!important;background:#fff!important}
.department-panel .ui-org-list-heading{margin:0 0 14px!important;padding:0 0 12px!important;border-bottom:1px solid #edf2ef!important}
.department-panel .ui-structure-tree .department-node{box-sizing:border-box!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:12px!important;position:relative!important;width:auto!important;min-height:50px!important;margin:0 0 3px 20px!important;padding:8px 12px!important;background:#fff!important;border:0!important;border-bottom:1px solid #edf1ee!important;border-radius:0!important;box-shadow:none!important}
.department-panel .ui-structure-tree .department-node:not(.department-root):before{content:'';position:absolute;left:-11px;top:0;bottom:0;border-left:1px solid #d7e8dd}
.department-panel .ui-structure-tree .department-node.department-root{margin:14px 0 4px!important;padding:11px 14px!important;min-height:64px!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:12px!important;background:#f0f8f3!important;border:1px solid #d4e8db!important;border-radius:11px!important}
.department-panel .ui-structure-tree .department-node.department-root:first-of-type{margin-top:0!important}
.department-panel .ui-structure-tree .department-node .department-node-icon{flex:0 0 31px!important;width:31px!important;height:31px!important;display:grid!important;place-items:center!important;margin:0!important}
.department-panel .ui-structure-tree .department-node .department-node-copy{min-width:0!important;flex:1 1 auto!important;display:block!important;margin:0!important;text-align:left!important}
.department-panel .ui-structure-tree .department-node .department-node-title{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.department-panel .ui-structure-tree .department-node .department-node-title b{font-size:13px!important;font-weight:650!important}
.department-panel .ui-structure-tree .department-node .department-node-copy small{display:block!important;font-size:10px!important;line-height:1.4!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.department-panel .ui-structure-tree .department-node .department-node-stats{margin-left:auto!important;flex:0 0 76px!important;min-width:76px!important;order:3!important}
.department-panel .ui-structure-tree .department-node .department-node-stats>span{padding:4px 8px!important;min-height:37px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
.department-panel .ui-structure-tree .department-node .department-node-actions{flex:0 0 auto!important;display:flex!important;gap:5px!important;align-items:center!important;order:4!important;margin:0!important}
.department-panel .ui-structure-tree .department-node .department-node-actions .icon-btn{height:32px!important;width:32px!important}
.department-panel .ui-structure-tree .department-node.department-root .ui-company-toggle{order:0!important;flex:0 0 30px!important;width:30px!important;height:30px!important;background:#e0f1e6!important;border-radius:8px!important;margin:0!important}
.department-panel .ui-structure-tree .department-node.department-root .department-node-icon{order:1!important}
.department-panel .ui-structure-tree .department-node.department-root .department-node-copy{order:2!important}
.department-panel .ui-structure-tree .department-node:not(.department-root) .department-node-icon{margin-left:12px!important}
.department-panel .ui-sort-panel .ui-sort-groups{gap:9px!important}
.department-panel .ui-sort-company{min-height:53px!important}
.department-panel .ui-sort-child{min-height:43px!important}
@media(max-width:700px){.fm27-module-departments .ui-header-brand small{display:none}.fm27-module-departments .ui-header-brand{font-size:11px;margin-left:4px}.department-panel .ui-structure-tree{padding:10px!important}.department-panel .ui-structure-tree .department-node{margin-left:8px!important;padding:7px 5px!important;gap:6px!important}.department-panel .ui-structure-tree .department-node.department-root{padding:8px!important;gap:7px!important}.department-panel .ui-structure-tree .department-node .department-node-stats{flex-basis:48px!important;min-width:48px!important}.department-panel .ui-structure-tree .department-node .department-node-actions .icon-btn{width:27px!important;height:29px!important}.department-panel .ui-structure-tree .department-node .department-node-copy small{font-size:9px!important}}

/* Department — consolidated hierarchy with context actions */
.department-panel .ui-structure-tree .ui-company-list{display:flex;flex-direction:column;gap:11px;padding:0 16px 20px}
.department-panel .ui-company-card{border:1px solid #dce9e1;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 2px 9px rgba(21,77,52,.035)}
.department-panel .ui-company-heading{display:flex;align-items:center;gap:12px;padding:13px 15px;background:#f0f8f3;cursor:pointer;min-height:67px;user-select:none}
.department-panel .ui-company-heading:hover{background:#e9f5ee}
.department-panel .ui-hierarchy-chevron{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#e0efe6;color:#16734e;flex-shrink:0}
.department-panel .ui-company-symbol,.department-panel .ui-department-symbol{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:#dff1e6;color:#17855c;flex-shrink:0}
.department-panel .ui-department-symbol{width:28px;height:28px;background:#f0f7f2}
.department-panel .ui-hierarchy-name{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;text-align:left}
.department-panel .ui-hierarchy-name b{font-size:13px;font-weight:700;color:#174b3a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.department-panel .ui-hierarchy-name small{font-size:10px;color:#7a9689}
.department-panel .ui-child-count{color:#718b7c;font-size:11px;margin-right:10px;white-space:nowrap}
.department-panel .ui-employee-total{min-width:66px;display:flex;flex-direction:column;align-items:center;gap:1px;padding:5px 8px;border:1px solid #dce9e0;border-radius:9px;background:#fff}
.department-panel .ui-employee-total b{font-size:13px;color:#20533c}
.department-panel .ui-employee-total small{font-size:9px;color:#7c9286}
.department-panel .ui-company-children{padding:4px 12px 8px 40px;border-top:1px solid #e7efe9}
.department-panel .ui-department-item{display:flex;align-items:center;gap:12px;min-height:49px;padding:8px 11px;border-bottom:1px solid #eef3ef;border-radius:7px}
.department-panel .ui-department-item:last-child{border-bottom:0}
.department-panel .ui-department-item:hover{background:#f7fbf8}
.department-panel .ui-department-item .ui-employee-total{background:#f7faf8;min-width:60px;padding:3px 7px}
.department-panel .ui-empty-children{font-size:12px;color:#8b9d91;padding:17px 11px}
.ui-context-dismiss{position:fixed;inset:0;z-index:9997;background:transparent}
.ui-organization-context{position:fixed;z-index:9998;width:178px;background:#fff;border:1px solid #dce7df;border-radius:11px;box-shadow:0 12px 32px rgba(19,61,42,.16);padding:5px}
.ui-organization-context .ui-context-title{font-size:11px;font-weight:700;color:#668477;padding:9px 10px;border-bottom:1px solid #edf1ed;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ui-organization-context button{width:100%;display:flex;align-items:center;gap:10px;padding:10px;border:0;background:transparent;border-radius:7px;text-align:left;color:#1d5540;cursor:pointer;font-size:12px}
.ui-organization-context button:hover{background:#edf8f0}
.ui-organization-context button.ui-context-danger{color:#b44343}
.ui-organization-context button.ui-context-danger:hover{background:#fff0f0}
@media(max-width:700px){.department-panel .ui-structure-tree .ui-company-list{padding:0 9px 14px;gap:8px}.department-panel .ui-company-heading{gap:7px;padding:10px 8px;min-height:57px}.department-panel .ui-company-children{padding:3px 5px 6px 14px}.department-panel .ui-department-item{gap:8px;padding:7px 5px}.department-panel .ui-child-count{display:none}.department-panel .ui-hierarchy-name b{font-size:12px}.department-panel .ui-employee-total{min-width:48px}.department-panel .ui-company-symbol{width:28px;height:28px}}

/* Department streamlined: remove search and sort, polish job management */
.department-panel .ui-department-tabs{padding:15px 22px!important;gap:8px!important}
.department-panel .ui-jobs{padding:23px 26px 30px!important;background:#fff}
.ui-jobs-heading{border-bottom:1px solid #e7efe9;padding-bottom:17px;margin-bottom:22px}
.ui-jobs-heading h3{margin:5px 0 4px;font-size:19px;color:#163f2b}.ui-jobs-heading p{margin:0;color:#789184;font-size:13px}
.ui-jobs-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(265px,.85fr);align-items:start;gap:22px;max-width:1120px}
.ui-jobs-main,.ui-jobs-aside{min-width:0}.ui-field-label{display:block;font-size:12px;font-weight:700;color:#315842;margin-bottom:8px}
.ui-job-select,.ui-jobs-aside input{display:block;width:100%;height:44px;border:1px solid #d7e6dc;border-radius:9px;background:#fff;padding:0 12px;font-size:13px;color:#204a34;box-sizing:border-box;outline:none}
.ui-job-select:focus,.ui-jobs-aside input:focus{border-color:#4ba67a;box-shadow:0 0 0 3px #e5f5ec}
.ui-jobs-list-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 9px;font-size:13px;color:#214d35}.ui-jobs-list-header span{font-size:11px;color:#7d9788;background:#f0f6f2;padding:5px 9px;border-radius:20px}
.ui-job-rows{border:1px solid #e0ebe3;border-radius:11px;overflow:hidden;background:#fff}.ui-job-row{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:46px;box-sizing:border-box;border-bottom:1px solid #edf2ee}.ui-job-row:last-child{border-bottom:0}
.ui-job-index{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:7px;background:#eef6f0;color:#598b6b;font-size:11px;font-weight:700}.ui-job-name{flex:1;font-size:13px;font-weight:600;color:#2c513c}.ui-job-row>.pi{font-size:13px;color:#46a375}.ui-job-row-other{background:#fafcfb}
.ui-jobs-aside{border:1px solid #e0ebe3;border-radius:12px;background:#f8fbf9;padding:20px}.ui-aside-heading{display:flex;align-items:center;gap:11px;margin-bottom:24px}.ui-aside-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#e3f3e9;color:#13835b}.ui-aside-heading strong{display:block;font-size:14px;color:#214b34}.ui-aside-heading small{display:block;font-size:11px;color:#819588;margin-top:3px}.ui-job-submit{width:100%;justify-content:center;margin-top:12px;min-height:42px}.ui-jobs-aside p{font-size:11px;line-height:1.6;color:#83968b;margin:13px 0 0}
@media(max-width:800px){.ui-jobs-layout{grid-template-columns:1fr}.department-panel .ui-jobs{padding:18px!important}.ui-jobs-aside{padding:17px}}

/* compact summary in title card and structured management popover */
.fm27-module-departments .fm27-heading-main{min-width:0;flex:1}
.fm27-module-departments .ui-header-stats{display:flex;align-items:center;gap:7px;margin-left:auto;flex:none}
.fm27-module-departments .ui-header-stat{display:flex;align-items:center;gap:7px;min-height:34px;padding:5px 11px;background:rgba(255,255,255,.66);border:1px solid #d5e9dc;border-radius:9px;white-space:nowrap}
.fm27-module-departments .ui-header-stat b{font-size:14px;color:#126a48;font-weight:800;font-variant-numeric:tabular-nums}
.fm27-module-departments .ui-header-stat small{font-size:10px;color:#618873;font-weight:600}
.department-panel .ui-org-manage-content.ui-manage-content{width:min(460px,calc(100vw - 40px));padding:0;gap:0;overflow-y:auto;max-height:min(78vh,700px);border-radius:14px;box-shadow:0 16px 48px rgba(27,70,44,.17);border-color:#dbe9df}
.department-panel .ui-manage-header{display:flex;align-items:center;gap:11px;padding:16px 18px;background:#f3faf5;border-bottom:1px solid #e0eee4}
.department-panel .ui-manage-header-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#e0f2e6;color:#17865c;flex:none}
.department-panel .ui-manage-header strong{display:block;color:#1b5337;font-size:14px}
.department-panel .ui-manage-header small{display:block;margin-top:3px;color:#769384;font-size:11px}
.department-panel .ui-manage-section{padding:17px 18px 20px;gap:9px}
.department-panel .ui-manage-section+.ui-manage-section{border-top:1px solid #e8efe9}
.department-panel .ui-section-title{display:flex;gap:10px;align-items:center;margin-bottom:7px}
.department-panel .ui-section-number{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;background:#eaf6ed;color:#16805b;font-weight:800;font-size:11px}
.department-panel .ui-section-title strong{display:block;color:#244e37;font-size:13px}
.department-panel .ui-section-title small{display:block;color:#84998b;font-size:11px;margin-top:2px}
.department-panel .ui-manage-section>label{font-size:11px;font-weight:650;color:#456653}
.department-panel .ui-manage-section>input,.department-panel .ui-manage-section>select{height:42px!important;border-radius:9px!important;font-size:13px!important}
.department-panel .ui-add-company{height:39px;align-self:flex-end;display:inline-flex;justify-content:center;align-items:center;gap:7px;font-size:12px;min-width:158px}
.department-panel .ui-manage-section .ui-org-hint{font-size:10px;line-height:1.6;color:#6c9279}
.department-panel .ui-manage-section .ui-company-dept-checklist{max-height:185px}
@media(max-width:1150px){.fm27-module-departments .ui-header-stats{gap:5px}.fm27-module-departments .ui-header-stat{padding:5px 8px}.fm27-module-departments .ui-header-stat small{font-size:9px}}
@media(max-width:780px){.fm27-module-departments .ui-header-stats{width:100%;margin:8px 0 0;flex-wrap:wrap}.fm27-module-departments .ui-header-stat{flex:1;justify-content:center}.department-panel .ui-org-manage-content.ui-manage-content{width:min(410px,calc(100vw - 38px))}}

/* Department refinement: one-column jobs and polished manage popover */
.department-panel .ui-jobs-layout{display:flex!important;flex-direction:column!important;gap:22px!important;max-width:860px!important;margin:0 auto!important}
.department-panel .ui-jobs-main,.department-panel .ui-jobs-aside{width:100%!important;box-sizing:border-box!important}
.department-panel .ui-jobs-aside{background:#f8fbf9!important;padding:20px 22px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:14px!important;align-items:end!important}
.department-panel .ui-aside-heading{grid-column:1/-1;margin:0 0 12px!important}
.department-panel .ui-jobs-aside .ui-field-label{grid-column:1/-1;margin-bottom:6px!important}
.department-panel .ui-jobs-aside input{grid-column:1;height:44px!important}
.department-panel .ui-job-submit{grid-column:2;width:auto!important;min-width:170px;margin:0!important;height:44px!important}
.department-panel .ui-jobs-aside p{grid-column:1/-1;margin-top:10px!important}
.department-panel .ui-jobs-heading{max-width:860px;margin-left:auto;margin-right:auto}
.department-panel .ui-org-manage-content.ui-manage-content{width:min(430px,calc(100vw - 35px))!important;max-height:min(75vh,650px)!important;border-radius:13px!important;box-shadow:0 22px 56px rgba(20,63,42,.16)!important}
.department-panel .ui-manage-header{padding:17px 20px!important}
.department-panel .ui-manage-section{padding:18px 20px!important}
.department-panel .ui-manage-section .ui-add-company{align-self:stretch!important;width:100%!important;justify-content:center!important}
.fm27-module-departments .ui-header-stats{display:flex!important;gap:7px!important;align-items:center!important}
.fm27-module-departments .ui-header-stat{display:flex!important;align-items:center!important;gap:6px!important;border:1px solid #d9e9df!important;border-radius:9px!important;background:#fff!important;padding:8px 11px!important;white-space:nowrap!important}
.fm27-module-departments .ui-header-stat b{font-size:15px!important;color:#118157!important}
.fm27-module-departments .ui-header-stat small{font-size:11px!important;color:#577a66!important}
@media(max-width:650px){.department-panel .ui-jobs-aside{display:block!important}.department-panel .ui-job-submit{width:100%!important;margin-top:10px!important}.fm27-module-departments .ui-header-stat{padding:6px 8px!important}}

/* compact on-demand job creation above the job list */
.department-panel .ui-jobs-actions{max-width:860px;margin:0 auto 16px;display:flex;justify-content:flex-end}
.department-panel .ui-open-job{min-height:39px;display:inline-flex;align-items:center;gap:8px}
.department-panel .ui-add-job-panel{max-width:860px;margin:0 auto 20px;padding:17px 19px;border:1px solid #dcebe1;border-radius:12px;background:#f7fbf8;box-sizing:border-box}
.department-panel .ui-add-job-caption{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}
.department-panel .ui-add-job-caption strong{font-size:13px;color:#245039}
.department-panel .ui-add-job-caption small{font-size:11px;color:#7e9888}
.department-panel .ui-add-job-controls{display:flex;gap:10px;align-items:center}
.department-panel .ui-add-job-controls input{height:42px;min-width:0;flex:1;border:1px solid #d6e5db;border-radius:9px;padding:0 13px;background:#fff;box-sizing:border-box}
.department-panel .ui-add-job-controls .btn{min-height:42px;white-space:nowrap}
@media(max-width:600px){.department-panel .ui-add-job-controls{flex-direction:column;align-items:stretch}.department-panel .ui-add-job-controls input,.department-panel .ui-add-job-controls .btn{width:100%}.department-panel .ui-add-job-caption{flex-direction:column;gap:3px}}

/* Kelola Struktur as an accessible centered modal, no dropdown arrow */
.department-panel .ui-manage-trigger{position:static!important}
.department-panel .ui-open-manage{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 17px;background:#eaf6ee;border:1px solid #cbe5d4;border-radius:10px;color:#086a47;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.department-panel .ui-open-manage:hover{background:#dff1e6;border-color:#a9d7b9}
.ui-manage-dialog{position:fixed!important;inset:0!important;margin:auto!important;padding:0!important;border:0!important;border-radius:16px!important;width:min(510px,calc(100vw - 30px))!important;max-width:none!important;max-height:min(86vh,760px)!important;overflow:auto!important;background:#fff!important;box-shadow:0 25px 85px rgba(11,51,32,.23)!important;color:#214834;z-index:99999!important}
.ui-manage-dialog::backdrop{background:rgba(12,37,26,.48);backdrop-filter:blur(2px)}
.ui-dialog-shell{position:relative}
.ui-dialog-close{position:absolute;top:17px;right:16px;z-index:3;width:32px;height:32px;border:1px solid #dceae1;border-radius:9px;background:#fff;color:#527763;cursor:pointer;display:grid;place-items:center}
.ui-dialog-close:hover{background:#eaf6ee}
.department-panel .ui-manage-dialog .ui-dialog-body{position:static!important;display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border:0!important;margin:0!important;padding:0!important;border-radius:0!important}
.department-panel .ui-manage-dialog .ui-manage-header{padding:21px 56px 20px 22px!important;background:#f1f9f4}
.department-panel .ui-manage-dialog .ui-manage-section{padding:22px!important}
.department-panel .ui-manage-dialog .ui-manage-section .ui-add-company{width:100%!important}
.department-panel .ui-manage-dialog .ui-company-dept-checklist{max-height:210px!important;overflow:auto}
@media(max-width:550px){.ui-manage-dialog{width:calc(100vw - 20px)!important}.department-panel .ui-manage-dialog .ui-manage-section{padding:17px!important}}

/* lock background while modal open; compact jobs tab */
html:has(dialog.ui-manage-dialog[open]),body:has(dialog.ui-manage-dialog[open]){overflow:hidden!important;overscroll-behavior:none!important}
dialog.ui-manage-dialog[open]{overscroll-behavior:contain;max-height:min(88dvh,800px);overflow-y:auto}
.department-panel .ui-department-tabs{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;padding:14px 20px!important;margin:0!important}
.department-panel .ui-department-tabs .ui-job-top-action{margin-left:auto!important;min-height:39px!important;padding:9px 16px!important;font-size:12px!important;border-radius:9px!important;white-space:nowrap}
.department-panel .ui-jobs{padding-top:18px!important}
.department-panel .ui-add-job-panel{margin-top:0!important;margin-bottom:17px!important}
@media(max-width:560px){.department-panel .ui-department-tabs .ui-job-top-action{margin-left:auto!important;padding:9px 11px!important}.department-panel .ui-department-tabs{padding:11px!important}}

/* contextual job actions and aligned Department heading */
.fm27-module-departments .fm27-heading-copy h1.ui-department-title{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:0;line-height:1.35!important}
.fm27-module-departments .ui-department-title .ui-header-brand{display:inline-flex!important;align-items:center!important;vertical-align:baseline!important;margin-left:12px!important;line-height:inherit!important;transform:none!important;position:static!important}
.ui-job-action-row{cursor:context-menu}
.ui-job-action-row:hover{background:#f5faf6}
.ui-context-backdrop{position:fixed;inset:0;z-index:10998;background:transparent}
.ui-job-context{position:fixed;z-index:10999;min-width:195px;padding:6px;background:#fff;border:1px solid #dbe9df;border-radius:11px;box-shadow:0 12px 32px rgba(17,65,42,.16)}
.ui-context-heading{padding:8px 10px;color:#72917e;font-size:11px;font-weight:700;border-bottom:1px solid #edf2ef;margin-bottom:4px;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ui-job-context button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;background:transparent;text-align:left;border-radius:7px;color:#24583c;font:inherit;font-size:12px;cursor:pointer}
.ui-job-context button:hover{background:#eef7f0}
.ui-job-context button.ui-context-delete{color:#b44343}
.ui-job-context button.ui-context-delete:hover{background:#fff0ef}
@media(max-width:700px){.fm27-module-departments .ui-department-title .ui-header-brand{margin-left:6px!important}}

/* integrated job editor dialog */
.ui-job-modal-backdrop{position:fixed;inset:0;z-index:100050;background:rgba(12,34,24,.47);display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.ui-job-modal{background:#fff;border:1px solid #dbe9df;border-radius:16px;box-shadow:0 22px 65px #0a332537;width:min(100%,465px);overflow:hidden}
.ui-job-modal-header{display:flex;align-items:center;gap:12px;padding:19px 22px;background:#f1f8f3;border-bottom:1px solid #e2eee5}
.ui-job-modal-symbol{width:38px;height:38px;display:grid;place-items:center;background:#def1e5;border-radius:10px;color:#078b5a}
.ui-job-modal-header h3{font-size:16px;margin:0;color:#194b32}.ui-job-modal-header p{font-size:12px;margin:4px 0 0;color:#789386}
.ui-job-modal-close{margin-left:auto;border:1px solid #d6e8dc;border-radius:9px;background:#fff;color:#52745e;width:33px;height:33px;cursor:pointer}
.ui-job-modal-body{padding:24px 22px 20px}.ui-job-modal-body label{display:block;font-size:13px;font-weight:700;color:#25533b;margin-bottom:9px}
.ui-job-modal-body input{width:100%;height:45px;box-sizing:border-box;border:1px solid #cfe2d5;border-radius:9px;padding:0 12px;color:#19432e;outline:none}
.ui-job-modal-body input:focus{border-color:#159d6c;box-shadow:0 0 0 3px #e2f5ea}
.ui-job-modal-body p{margin:0 0 12px;line-height:1.6;color:#31513e}.ui-job-modal-body small{display:block;margin-top:11px;color:#7d9386;line-height:1.5}
.ui-job-modal-actions{padding:14px 22px 20px;display:flex;justify-content:flex-end;gap:9px}
.ui-job-modal-actions button{border-radius:9px;padding:11px 17px;font-weight:700;font-size:12px;cursor:pointer}
.ui-job-cancel{border:1px solid #d7e6dc;background:#fff;color:#42614f}.ui-job-save{border:1px solid #00996c;background:#00996c;color:white}.ui-job-save.is-danger{background:#c74949;border-color:#c74949}
.ui-job-modal-actions button:disabled{opacity:.5;cursor:not-allowed}

/* Department title, jobs section, add-job dialog */
.fm27-module-departments .fm27-heading-copy h1.ui-department-title{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;line-height:1.2!important;min-height:26px}
.fm27-module-departments .ui-department-title .ui-header-brand{display:inline-flex!important;align-items:center!important;gap:10px!important;margin:0!important;padding:0!important;line-height:1.2!important;vertical-align:middle!important;transform:translateY(0)!important;font-size:14px!important}
.fm27-module-departments .ui-department-title .ui-header-brand .pi{display:inline-flex;align-items:center;font-size:12px!important;line-height:1!important}
.department-panel .ui-jobs-section-title{display:flex;flex-direction:column;gap:5px;max-width:1040px;margin:0 auto 19px;padding-bottom:14px;border-bottom:1px solid #e8f0ea}
.department-panel .ui-jobs-section-title strong{font-size:14px;color:#224b36;font-weight:750}
.department-panel .ui-jobs-section-title small{font-size:12px;color:#83988a}
.department-panel .ui-add-job-dialog{width:min(530px,calc(100vw - 28px))!important;max-width:530px!important;max-height:calc(100dvh - 32px)!important;border:0!important;border-radius:16px!important;padding:0!important;overflow:auto!important;background:white;box-shadow:0 20px 65px #0e38292b}
.department-panel .ui-add-job-dialog::backdrop{background:rgba(16,48,36,.48);backdrop-filter:blur(3px)}
.department-panel .ui-add-job-dialog .ui-dialog-shell{width:100%;position:relative}
.department-panel .ui-add-job-body{display:flex;flex-direction:column;padding:23px 24px 25px;gap:9px}
.department-panel .ui-add-job-body label{font-size:12px;font-weight:700;color:#315b42;margin-top:8px}
.department-panel .ui-job-department-variant{padding:12px 13px;border:1px solid #dceae0;border-radius:9px;background:#f6faf7;color:#3c6c51;font-size:13px}
.department-panel .ui-add-job-body input{width:100%;height:45px;box-sizing:border-box;padding:0 13px;border:1px solid #d3e6d9;border-radius:9px;outline:none;background:#fff}
.department-panel .ui-add-job-body input:focus{border-color:#54aa80;box-shadow:0 0 0 3px #e7f6ed}
.department-panel .ui-add-job-save{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:44px;margin-top:12px}
@media(max-width:600px){.fm27-module-departments .fm27-heading-copy h1.ui-department-title{gap:7px!important}.fm27-module-departments .ui-department-title .ui-header-brand{font-size:11px!important;gap:6px!important}.department-panel .ui-add-job-body{padding:18px}}

/* consistent structure/jobs heading and precisely aligned title */
.fm27-module-departments .fm27-heading-copy h1.ui-department-title{display:flex!important;align-items:center!important;gap:0!important;flex-wrap:nowrap!important;line-height:1.25!important}
.fm27-module-departments .ui-heading-main{display:inline-flex;align-items:center;white-space:nowrap;line-height:1.25!important}
.fm27-module-departments .ui-department-title .ui-header-brand{display:inline-flex!important;align-items:center!important;gap:13px!important;margin-left:13px!important;line-height:1.25!important;white-space:nowrap;transform:none!important;vertical-align:middle!important}
.fm27-module-departments .ui-department-title .ui-header-brand .pi{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;font-size:12px!important;flex:0 0 12px}
.department-panel .ui-jobs-heading-variant{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;max-width:none!important;margin:0 0 24px!important;padding:0 0 13px!important;border-bottom:1px solid #edf2ef!important}
.department-panel .ui-jobs-heading-variant>div:first-child{display:flex!important;flex-direction:column!important;gap:5px!important}
.department-panel .ui-jobs-heading-variant strong{font-size:13px!important;color:#263c32!important}
.department-panel .ui-jobs-heading-variant small{font-size:11px!important;color:#809087!important}
.department-panel .ui-job-add-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;background:#009d70!important;color:white!important;border-color:#009d70!important;padding:10px 18px!important}
.department-panel .ui-job-add-button:hover{background:#00855f!important}
@media(max-width:600px){.department-panel .ui-jobs-heading-variant{align-items:flex-start!important}.department-panel .ui-job-add-button{padding:9px 11px!important;font-size:11px!important}.fm27-module-departments .ui-department-title .ui-header-brand{gap:6px!important;margin-left:7px!important}}

/* one clean baseline for Department and brand */
.fm27-module-departments .fm27-heading-copy h1.ui-department-title{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;flex-wrap:nowrap!important;margin:0!important;min-height:28px!important;line-height:28px!important}
.fm27-module-departments .ui-department-title .ui-heading-main{display:block!important;flex:none!important;line-height:28px!important;font-size:20px!important;font-weight:750!important;white-space:nowrap!important}
.fm27-module-departments .ui-department-title .ui-title-separator{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important;width:30px!important;height:28px!important;margin:0 8px!important;font-family:Arial,sans-serif!important;font-size:22px!important;font-weight:400!important;line-height:1!important;color:#91b7a1!important}
.fm27-module-departments .ui-department-title .ui-title-brand{display:block!important;flex:none!important;font-size:16px!important;font-weight:650!important;line-height:28px!important;color:#13885f!important;white-space:nowrap!important}
@media(max-width:650px){.fm27-module-departments .ui-department-title .ui-heading-main{font-size:17px!important}.fm27-module-departments .ui-department-title .ui-title-separator{flex-basis:18px!important;width:18px!important;margin:0 5px!important;font-size:18px!important}.fm27-module-departments .ui-department-title .ui-title-brand{font-size:13px!important}}

/* compact, native HRIS styling for organization manager */
.ui-manage-dialog{width:min(480px,calc(100vw - 28px))!important;border-radius:14px!important;overflow:hidden!important}
.department-panel .ui-manage-dialog .ui-manage-header{padding:19px 58px 18px 22px!important;background:#f3faf5!important;border-bottom:1px solid #e0ede5!important}
.ui-manage-dialog .ui-manage-header strong{font-size:15px!important;font-weight:750!important;color:#174e36!important}
.ui-manage-dialog .ui-manage-header small{font-size:11px!important;color:#789587!important}
.ui-manage-dialog .ui-mode-tabs{display:flex!important;gap:5px!important;margin:20px 22px 0!important;padding:4px!important;background:#f3f7f4!important;border:1px solid #e2ece5!important;border-radius:10px!important}
.ui-manage-dialog .ui-mode-tabs button{flex:1!important;min-height:38px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#597365!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer!important;transition:background .15s,border-color .15s!important}
.ui-manage-dialog .ui-mode-tabs button.active{background:#fff!important;color:#087a54!important;border-color:#d8e9dd!important;box-shadow:0 1px 4px rgba(12,65,38,.07)!important}
.ui-manage-dialog .ui-mode-tabs button:not(.active):hover{background:#e9f2eb!important}
.ui-manage-dialog .ui-manage-form{display:flex!important;flex-direction:column!important;gap:0!important;padding:23px 22px 22px!important}
.ui-manage-dialog .ui-manage-form label{font-size:12px!important;font-weight:700!important;color:#28543c!important;margin:0 0 8px!important}
.ui-manage-dialog .ui-manage-form input,.ui-manage-dialog .ui-manage-form select{display:block!important;width:100%!important;min-height:43px!important;height:43px!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #d5e6da!important;border-radius:9px!important;padding:0 13px!important;font-size:13px!important;color:#244c37!important;outline:none!important;box-shadow:none!important;margin:0!important}
.ui-manage-dialog .ui-manage-form input:focus,.ui-manage-dialog .ui-manage-form select:focus{border-color:#42a77a!important;box-shadow:0 0 0 3px rgba(20,152,97,.09)!important}
.ui-manage-dialog .ui-manage-form label:not(:first-child){margin-top:17px!important}
.ui-manage-dialog .ui-manage-form small{font-size:11px!important;line-height:1.5!important;color:#83998b!important;margin:9px 0 0!important}
.ui-manage-dialog .ui-manage-form>.btn{align-self:flex-end!important;width:auto!important;min-width:160px!important;min-height:40px!important;margin-top:20px!important;padding:9px 17px!important;border-radius:9px!important;background:#009e71!important;border:1px solid #009e71!important;color:#fff!important;font-size:12px!important;font-weight:700!important}
.ui-manage-dialog .ui-manage-form>.btn:disabled{opacity:.48!important;cursor:not-allowed!important}
.ui-manage-dialog .ui-dialog-close{top:18px!important;right:18px!important;width:32px!important;height:32px!important}
@media(max-width:540px){.ui-manage-dialog .ui-mode-tabs{margin:16px 16px 0!important}.ui-manage-dialog .ui-manage-form{padding:20px 16px!important}.ui-manage-dialog .ui-manage-form>.btn{width:100%!important}}

/* compact schedule period control; scoped to existing modal. */
.employee-schedule-form .schedule-period-variant{display:flex;flex-direction:column;gap:7px;margin:2px 0 4px}
.schedule-period-label{font-weight:650;font-size:13px;color:var(--text,#234b3d)}
.schedule-period-options{display:flex;flex-wrap:wrap;gap:8px}
.schedule-period-options label{display:inline-flex;align-items:center;gap:8px;border:1px solid #d7e7df;border-radius:10px;padding:9px 13px;font-size:13px;cursor:pointer;background:#fff}
.schedule-period-options label.selected{border-color:#91d2b5;background:#eaf7f0;color:#006d4d}
.schedule-period-options input{accent-color:#009c70}
.schedule-period-variant small{font-size:12px;color:#637c70;line-height:1.45}
@media(max-width:480px){.schedule-period-options label{flex:1;justify-content:center;padding:9px 8px}}

/* compact, consistent schedule-period selector (all Employee Schedule dialogs). */
.employee-schedule-form .schedule-period-variant{gap:8px!important;margin:0 0 3px!important;align-self:start!important}
.employee-schedule-form .schedule-period-label{font-size:13px!important;font-weight:650!important;line-height:1.3!important;color:#3c5e50!important}
.employee-schedule-form .schedule-period-options{display:inline-flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;width:100%!important}
.employee-schedule-form .schedule-period-options label{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:44px!important;flex:1 1 0!important;max-width:none!important;padding:9px 12px!important;margin:0!important;border:1px solid #d8e6de!important;border-radius:9px!important;background:#fff!important;color:#526b60!important;font-size:13px!important;font-weight:600!important;line-height:1.25!important;white-space:nowrap!important;box-shadow:none!important;cursor:pointer!important;transition:background .15s,border-color .15s!important}
.employee-schedule-form .schedule-period-options label.selected{background:#eaf6ef!important;border-color:#8ccfb0!important;color:#007c56!important}
.employee-schedule-form .schedule-period-options label:hover{border-color:#91cbb0!important;background:#f5fbf7!important}
.employee-schedule-form .schedule-period-options input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.employee-schedule-form .schedule-period-options label:focus-within{outline:2px solid #65b895!important;outline-offset:2px!important}
.employee-schedule-form .schedule-period-check{display:none!important;font-size:11px!important}
.employee-schedule-form .schedule-period-options label.selected .schedule-period-check{display:inline-block!important}
@media(max-width:540px){.employee-schedule-form .schedule-period-options label{padding:9px 7px!important;min-height:42px!important;font-size:12px!important}}

/* compact temporary-schedule period matching regular schedule dialogs */
.employee-schedule-form.schedule-override-form .schedule-temp-period{grid-column:1/-1;max-width:100%;margin:0!important}
.employee-schedule-form.schedule-override-form .schedule-temp-period .schedule-period-options{max-width:440px}
.employee-schedule-form.schedule-override-form .schedule-temp-period-hint{display:block;color:#70877c;font-size:12px;line-height:1.4}
.employee-schedule-form.schedule-override-form .schedule-period-options label{min-height:42px!important}
@media(max-width:540px){.employee-schedule-form.schedule-override-form .schedule-temp-period .schedule-period-options{max-width:none}}


/* restrained schedule modal controls; no changes to schedule calculations. */
.app-shell .modal-card .employee-schedule-form{row-gap:12px!important;column-gap:14px!important}
.app-shell .modal-card .employee-schedule-form>label{gap:5px!important;margin:0!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-variant{grid-column:auto!important;gap:5px!important;margin:0!important;align-self:stretch!important;min-width:0}
.app-shell .modal-card .employee-schedule-form .schedule-period-options{display:inline-flex!important;width:auto!important;max-width:100%!important;gap:0!important;padding:3px!important;background:#f4f8f5!important;border:1px solid #dae8df!important;border-radius:9px!important;align-self:flex-start!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-options label{flex:0 0 auto!important;width:108px!important;min-height:33px!important;height:33px!important;padding:5px 11px!important;border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;color:#536b5e!important;font-size:12px!important;font-weight:600!important;box-shadow:none!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-options label.selected{background:#fff!important;border-color:#a6d9be!important;color:#007f5b!important;box-shadow:0 1px 3px rgba(21,83,53,.07)!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-check{display:none!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-options label.selected .schedule-period-check{display:none!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-options label:focus-within{outline:2px solid #71bda0!important;outline-offset:1px!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-label{font-size:12px!important;line-height:1.3!important}
.app-shell .modal-card .employee-schedule-form .schedule-temp-period{grid-column:1/-1!important;gap:5px!important}
.app-shell .modal-card .employee-schedule-form .schedule-temp-period-hint{font-size:11px!important;line-height:1.35!important;margin:0!important}
.app-shell .modal-card .schedule-override-form{row-gap:12px!important;column-gap:14px!important}
.app-shell .modal-card .schedule-override-form .schedule-override-date-range{gap:12px!important}
.app-shell .modal-card .schedule-override-form .schedule-override-employee{padding:9px 12px!important;margin:0!important}
.app-shell .modal-card .schedule-override-form .attendance-edit-note{padding:9px 11px!important;margin:0!important}
.app-shell .modal-card .schedule-override-form .schedule-override-section{margin-top:2px!important}
@media(max-width:640px){.app-shell .modal-card .employee-schedule-form .schedule-period-variant{grid-column:1/-1!important}.app-shell .modal-card .employee-schedule-form .schedule-period-options{width:100%!important}.app-shell .modal-card .employee-schedule-form .schedule-period-options label{flex:1 1 0!important;width:auto!important}.app-shell .modal-card .schedule-override-form .schedule-override-date-range{gap:10px!important}}


/* Shift/Timetable is the primary control; period selection is secondary. */
@media (min-width:641px){
  .app-shell .modal-card .employee-schedule-form:not(.schedule-override-form){grid-template-columns:minmax(0,1.75fr) minmax(235px,1fr)!important}
  .app-shell .modal-card .employee-schedule-form:not(.schedule-override-form) > label:has(select[v-model\.number="employeeScheduleForm.shift_id"]){min-width:0!important}
  .app-shell .modal-card .employee-schedule-form:not(.schedule-override-form) > label:has(select[v-model\.number="employeeScheduleForm.shift_id"]) select{width:100%!important}
  .app-shell .modal-card .employee-schedule-form .schedule-period-options label{width:82px!important;padding:5px 7px!important}
  .app-shell .modal-card .employee-schedule-form.schedule-override-form .schedule-override-timetable{grid-column:1/-1!important;width:100%!important}
  .app-shell .modal-card .employee-schedule-form.schedule-override-form .schedule-temp-period{grid-column:1/-1!important}
}
@media (max-width:640px){
  .app-shell .modal-card .employee-schedule-form .schedule-period-options{width:auto!important;max-width:100%!important}
  .app-shell .modal-card .employee-schedule-form .schedule-period-options label{width:92px!important;flex:0 0 auto!important}
}

/* full-width Shift/Timetable, independent compact period row, aligned date pair. */
.app-shell .modal-card .employee-schedule-form.schedule-regular{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  column-gap:14px!important;row-gap:13px!important;
}
.app-shell .modal-card .schedule-regular > .schedule-employee,
.app-shell .modal-card .schedule-regular > .schedule-shift,
.app-shell .modal-card .schedule-regular > .schedule-period-row{
  grid-column:1/-1!important;width:100%!important;min-width:0!important;
}
.app-shell .modal-card .schedule-regular > .schedule-shift select,
.app-shell .modal-card .schedule-regular > .schedule-employee select{width:100%!important;max-width:100%!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-row{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;gap:14px!important;min-height:40px!important;
  padding:2px 0!important;margin:0!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-label{
  flex:0 0 128px!important;white-space:nowrap!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options{
  flex:0 0 auto!important;margin:0!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label{
  width:94px!important;min-height:33px!important;height:33px!important;
}
.app-shell .modal-card .schedule-regular > label:has(hris-date){min-width:0!important;width:100%!important}
.app-shell .modal-card .schedule-override .schedule-period-row{grid-column:1/-1!important}
.app-shell .modal-card .schedule-override .schedule-temp-period-hint{
  margin-left:auto!important;max-width:330px!important;font-size:11px!important;
}
.app-shell .modal-card .schedule-override .schedule-override-date-range{
  grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important;width:100%!important;
}
@media(max-width:640px){
  .app-shell .modal-card .employee-schedule-form.schedule-regular{grid-template-columns:minmax(0,1fr)!important}
  .app-shell .modal-card .schedule-regular > label:has(hris-date){grid-column:1/-1!important}
  .app-shell .modal-card .employee-schedule-form .schedule-period-row{flex-wrap:wrap!important;gap:7px 12px!important}
  .app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-label{flex:0 0 100%!important}
  .app-shell .modal-card .schedule-override .schedule-temp-period-hint{margin-left:0!important;max-width:none!important;flex:0 0 100%!important}
  .app-shell .modal-card .schedule-override .schedule-override-date-range{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
}

/* pilihan bulan rata kiri, ringkas, tanggal mulai/akhir sejajar. */
.app-shell .modal-card .employee-schedule-form .schedule-period-row{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:12px!important;min-height:42px!important;padding:0!important;margin:0!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-label{flex:0 0 160px!important;width:160px!important;min-width:0!important;margin:0!important;text-align:left!important;white-space:nowrap!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;max-width:100%!important;margin:0!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label{flex:0 0 96px!important;width:96px!important;height:36px!important;min-height:36px!important;padding:6px 9px!important}
.app-shell .modal-card .schedule-override .schedule-temp-period-hint{margin-left:auto!important}
@media(max-width:640px){.app-shell .modal-card .employee-schedule-form .schedule-period-row{flex-wrap:wrap!important;gap:7px!important}.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-label{flex:0 0 100%!important;width:100%!important}.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label{flex:0 0 92px!important;width:92px!important}.app-shell .modal-card .schedule-override .schedule-temp-period-hint{flex:0 0 100%!important;margin-left:0!important}}

/* empat pilihan periode dalam baris ringkas */
.app-shell .modal-card .employee-schedule-form .schedule-period-row{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;flex-wrap:wrap!important;min-height:44px!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-label{flex:0 0 155px!important;width:155px!important;white-space:normal!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options{display:inline-flex!important;flex:0 1 auto!important;width:auto!important;max-width:100%!important;gap:2px!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label{flex:0 0 auto!important;width:auto!important;min-width:88px!important;height:36px!important;min-height:36px!important;padding:7px 12px!important;white-space:nowrap!important}
@media(max-width:640px){.app-shell .modal-card .employee-schedule-form .schedule-period-row{align-items:stretch!important;gap:8px!important}.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-label{flex:0 0 100%!important;width:100%!important}.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important}.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label{width:100%!important;min-width:0!important;padding:6px 2px!important;font-size:11px!important}}


/* keseragaman susunan periode dengan field lain dalam modal jadwal */
.app-shell .modal-card .employee-schedule-form .schedule-period-row{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 justify-content:flex-start!important;gap:8px!important;min-height:0!important;
 width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-label{
 display:block!important;flex:none!important;width:100%!important;min-width:0!important;
 margin:0!important;padding:0!important;text-align:left!important;
 font-size:inherit!important;line-height:1.35!important;white-space:normal!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 flex:none!important;gap:4px!important;box-sizing:border-box!important;
 padding:4px!important;margin:0!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 flex:none!important;height:38px!important;min-height:38px!important;
 margin:0!important;padding:7px 4px!important;box-sizing:border-box!important;
 text-align:center!important;white-space:nowrap!important;
}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label span{
 white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
@media(max-width:640px){
 .app-shell .modal-card .employee-schedule-form .schedule-period-row{gap:7px!important}
 .app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options{gap:2px!important;padding:3px!important}
 .app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label{
  height:36px!important;min-height:36px!important;font-size:11px!important;padding:5px 2px!important;
 }
}

/* tanpa judul periode, empat pilihan lebih ringkas; hover jelas tetapi lembut. */
.app-shell .modal-card .employee-schedule-form .schedule-period-row{gap:0!important;margin:2px 0 4px!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options{gap:4px!important;padding:4px!important}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label{cursor:pointer!important;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important}
@media(hover:hover){
 .app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label:not(.selected):hover{background:#e4f4ed!important;border-color:#8bcfb0!important;color:#087d58!important;box-shadow:inset 0 0 0 1px #8bcfb0!important}
 .app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label.selected:hover{background:#d9f3e7!important;border-color:#55bc92!important;color:#087d58!important}
}
.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label:focus-within{outline:2px solid #1d9b70!important;outline-offset:1px!important}
@media(prefers-reduced-motion:reduce){.app-shell .modal-card .employee-schedule-form .schedule-period-row .schedule-period-options label{transition:none!important}}

/* Keep contract employee name on its own line; place organization beside contract date. */
.hris-contract-details{display:block;line-height:1.55;overflow-wrap:anywhere}
.hris-contract-org{color:#71857c;font-weight:500}

/* Report search uses Employee's single, clean focus surface. */
.workspace .legacy-report-action-row .hris-report-search,
.workspace .legacy-report-action-row .hris-report-search:hover,
.workspace .legacy-report-action-row .hris-report-search:focus-within,
.workspace .legacy-report-action-row .hris-report-search.active {
  box-shadow:none!important;-webkit-box-shadow:none!important;outline:0!important;
  filter:none!important;transform:none!important;
}
.workspace .legacy-report-action-row .hris-report-search input,
.workspace .legacy-report-action-row .hris-report-search input:focus,
.workspace .legacy-report-action-row .hris-report-search input:focus-visible {
  box-shadow:none!important;-webkit-box-shadow:none!important;outline:0!important;
  border:0!important;background:transparent!important;
}
/* two lines within the existing department column; no row/column growth. */
.hris-org-cell{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0;max-width:100%;overflow:hidden;line-height:1.15;white-space:nowrap}
.hris-org-cell strong,.hris-org-cell small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:500}
.hris-org-cell strong{font-size:inherit;color:inherit}
.hris-org-cell small{font-size:10px;color:#788b83;font-weight:400}

/* breathing room between Report sort controls and result heading. */
.app-shell .workspace .report-panel .legacy-sort-row{margin-bottom:12px!important}
.app-shell .workspace .report-panel .legacy-report-controls{padding-bottom:14px!important}
/* same compact organization presentation across AC Log and Employee Schedule. */
.app-shell .workspace .ac-log-table td .hris-org-cell,
.app-shell .workspace .employee-schedule-table td .employee-schedule-department-content{min-width:0;max-width:100%;overflow:hidden;line-height:1.15}
.app-shell .workspace .employee-schedule-table td .employee-schedule-department-content strong,
.app-shell .workspace .employee-schedule-table td .employee-schedule-department-content small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.app-shell .workspace .employee-schedule-table td .employee-schedule-department-content small{font-size:10px;color:#788b83;font-weight:400}

/* spacing belongs BETWEEN filter row and Sort, not below Sort. */
.app-shell .workspace .report-panel .legacy-filter-grid + .legacy-sort-row{margin-top:16px!important}
.app-shell .workspace .report-panel .legacy-sort-row{margin-top:16px!important;margin-bottom:0!important}
.app-shell .workspace .report-panel .legacy-report-controls{padding-bottom:10px!important}
/* Employee Schedule uses exactly the same two-line organization cell as Report. */
.app-shell .workspace .employee-schedule-table td.employee-schedule-department .hris-org-cell{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:1px!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;line-height:1.15!important;white-space:nowrap!important}
.app-shell .workspace .employee-schedule-table td.employee-schedule-department .hris-org-cell strong{font-size:inherit!important;font-weight:500!important;color:inherit!important}
.app-shell .workspace .employee-schedule-table td.employee-schedule-department .hris-org-cell small{font-size:10px!important;font-weight:400!important;color:#788b83!important}

/* keep two-line department cells readable without changing table dimensions. */
.app-shell .workspace .hris-org-cell{line-height:1.15!important;gap:1px!important;overflow:visible!important;}
.app-shell .workspace .hris-org-cell strong{line-height:1.22!important;min-height:0;}
.app-shell .workspace .hris-org-cell small,
.app-shell .workspace .employee-schedule-table td.employee-schedule-department .hris-org-cell small{
  font-size:10px!important;line-height:1.2!important;min-height:0;
  letter-spacing:0!important;overflow:hidden!important;text-overflow:ellipsis!important;
  white-space:nowrap!important;max-width:100%!important;
}
.app-shell .workspace .employee-schedule-table td.employee-schedule-department .hris-org-cell{
  line-height:1.15!important;gap:1px!important;overflow:visible!important;
}

/* stronger employee names in Report and AC Log only */
.hris-employee-name{font-weight:700!important;}

/* compact dashboard machine table; full row opens machine detail. */
.db72-machines .db456-machine-row{cursor:pointer;transition:background-color .15s ease}
.db72-machines .db456-machine-row:hover{background-color:#f0f8f3}
.db72-machines .db456-machine-row:focus-visible{outline:2px solid #75b99b;outline-offset:-2px;background-color:#f0f8f3}

/* OT: remove redundant columns and fit the working hours on desktop. */
.workspace .legacy-report-table.ot-report-table th,
.workspace .legacy-report-table.ot-report-table td{
  padding-left:5px!important;
  padding-right:5px!important;
  font-size:11px;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-employee{
  display:flex;flex-direction:column;align-items:flex-start;gap:3px;
  min-width:0;white-space:normal;text-align:left;overflow-wrap:anywhere;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-employee strong{
  color:#244c39;font-size:12px;font-weight:750;line-height:1.3;white-space:normal;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-employee small{
  display:block;color:#768a7d;font-size:10px;font-weight:400;line-height:1.3;
  white-space:normal;overflow-wrap:anywhere;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-employee small:first-of-type{
  color:#4b715c;font-weight:600;
}
.workspace .legacy-report-table.ot-report-table td:nth-child(4){
  white-space:normal!important;line-height:1.35;overflow-wrap:anywhere;
}
.workspace .legacy-report-table.ot-report-table .report-date-chip,
.workspace .legacy-report-table.ot-report-table .report-time-chip,
.workspace .legacy-report-table.ot-report-table .report-metric-chip{
  padding:5px 6px;font-size:10.5px;
}

/* OT-specific widths: Date first, full names, narrow time cells.
   Legacy Daily Attendance column sizing explicitly excludes .ot-report-table. */
.workspace .legacy-report-table.ot-report-table{
  width:100%!important;min-width:0!important;max-width:100%!important;
  table-layout:fixed!important;
}
.workspace .legacy-report-table.ot-report-table thead th,
.workspace .legacy-report-table.ot-report-table tbody td{
  min-width:0!important;max-width:none!important;width:auto!important;
  box-sizing:border-box;
}
.workspace .legacy-report-table.ot-report-table thead th:nth-child(3),
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(3){
  text-align:left!important;
}
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(3){
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere;
}
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(2),
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(n+5){
  text-align:center!important;white-space:nowrap!important;
}
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(4){
  white-space:normal!important;overflow-wrap:anywhere;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-employee{
  width:100%;max-width:100%;gap:3px;
}
@media(max-width:900px){
  .workspace .legacy-report-table.ot-report-table{min-width:940px!important;max-width:none!important}
}

/* compact two-line names and a consistent timetable badge. */
.workspace .legacy-report-table.ot-report-table .hris-ot-employee{
  gap:4px;justify-content:center;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-meta{
  display:block!important;width:100%;max-width:100%;min-width:0;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  color:#72877b;font-size:10px;font-weight:450;line-height:1.3;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-timetable{
  display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;
  max-width:100%;min-width:0;box-sizing:border-box;padding:6px 8px;
  border:1px solid #dcece3;border-radius:9px;background:#f0f8f3;
  color:#3e6a51;font-size:10px;font-weight:650;line-height:1.35;text-align:left;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-timetable .pi{
  flex:none;color:#46a57c;font-size:10px;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-timetable>span{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  min-width:0;overflow:hidden;overflow-wrap:anywhere;white-space:normal;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-start{
  display:inline-flex;align-items:center;justify-content:center;gap:3px;
  padding:5px 6px;border:1px solid #dceee4;border-radius:9px;
  background:#f0faf4;color:#25835f;font-size:10.5px;font-weight:700;
  font-variant-numeric:tabular-nums;
}
.workspace .legacy-report-table.ot-report-table .hris-ot-start sup{
  font-size:8px;color:#a16c31;font-weight:800;line-height:1;
}
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(4){
  text-align:center!important;
}
.workspace .legacy-report-table.ot-report-table thead th:nth-child(n+5){
  padding-left:3px!important;padding-right:3px!important;
  white-space:normal!important;font-size:10px;line-height:1.25;
}
.workspace .legacy-report-table.ot-report-table tbody td{
  padding-top:9px!important;padding-bottom:9px!important;
}

/* headings centered; Name gives space to six equal-width time columns. */
.workspace .legacy-report-table.ot-report-table thead th,
.workspace .legacy-report-table.ot-report-table thead th:nth-child(3){
  text-align:center!important;vertical-align:middle!important;
}
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(n+5) .report-time-chip,
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(n+5) .report-metric-chip{
  padding-left:8px;padding-right:8px;
}

/* four semantic OT groups: shift, overtime start, punches, duration. */
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(5) .report-time-chip,
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(6) .report-time-chip{
  background:#edf5ff!important;border-color:#d8e8fa!important;color:#316d97!important;
}
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(7) .hris-ot-start{
  background:#ecf9f1!important;border-color:#d5ebdc!important;color:#187e58!important;
}
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(8) .report-time-chip,
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(9) .report-time-chip{
  background:#eaf9fa!important;border-color:#d2eded!important;color:#237e85!important;
}
.workspace .legacy-report-table.ot-report-table tbody td:nth-child(10) .report-metric-chip{
  background:#f3effd!important;border-color:#e5dbf9!important;color:#7955a5!important;
}

/* four concise dashboard reminders and a dedicated BPJS notification. */
.db70 .hris-reminder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.db70 .hris-reminder-grid>.db70-alert{margin:0!important;min-width:0;min-height:74px;box-sizing:border-box;padding:11px 10px;gap:9px;align-items:center}
.db70 .hris-reminder-grid>.db70-alert>span{min-width:0;overflow-wrap:anywhere}
.db70 .hris-reminder-grid>.db70-alert b{font-size:11.5px!important;line-height:1.38!important;font-weight:700!important}
.db70 .hris-reminder-grid>.db70-alert small{font-size:10px!important;line-height:1.4!important}
.db70 .hris-reminder-grid>.db70-alert>i:first-child{font-size:18px;flex:0 0 auto}
.db70 .hris-alert-bpjs{background:#f0f8f8!important;border-color:#d9eaea!important;color:#205f62!important}
.db70 .hris-alert-bpjs>i:first-child{color:#258a89!important}
.db70 .hris-alert-bpjs:not(:disabled):hover{background:#e8f6f5!important;border-color:#b3dedd!important}
.notify-panel.notify .notify-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
.notify-panel.notify .notify-tabs.notify-three-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.notify-panel.notify .notify-tabs button{min-width:0!important;padding:9px 3px!important;font-size:10px!important;white-space:normal!important;gap:4px!important}
.notify-panel.notify .notify-tabs button span{min-width:0;line-height:1.1}
.notify-panel.notify .notify-tabs button em{min-width:17px!important;padding:2px 4px!important}
.notify-panel .hris-bpjs-item{align-items:flex-start!important;gap:12px!important}
.notify-panel .hris-bpjs-item .birthday-person{min-width:0!important;flex:1}
.notify-panel .hris-bpjs-item .birthday-person small{overflow-wrap:anywhere}
.db88-alert-list .hris-bpjs-dashboard-row .db88-alert-item-icon{color:#238f88;background:#ecf8f6}
@media(max-width:680px){.db70 .hris-reminder-grid{grid-template-columns:1fr}.db70 .hris-reminder-grid>.db70-alert{min-height:67px}}
@media(max-width:440px){.notify-panel.notify .notify-tabs button{flex-direction:column!important;min-height:64px!important;gap:4px!important}.notify-panel.notify .notify-tabs button em{font-size:10px!important}.notify-panel.notify .notify-tabs button .pi{font-size:12px!important}}

/* align all four notification categories and keep BPJS rows compact. */
.notify-panel.notify .notify-tabs{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:50px!important;
  gap:6px!important;
  align-items:stretch!important;
}
.notify-panel.notify .notify-tabs.notify-three-tabs{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.notify-panel.notify .notify-tabs>button{
  box-sizing:border-box!important;
  min-width:0!important;
  width:100%!important;
  height:50px!important;
  min-height:50px!important;
  padding:8px 3px!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  white-space:nowrap!important;
  font-size:10px!important;
}
.notify-panel.notify .notify-tabs>button .pi,
.notify-panel.notify .notify-tabs>button em{flex:0 0 auto!important}
.notify-panel.notify .notify-tabs>button span{white-space:nowrap!important;line-height:1!important;min-width:0!important}
.notify-panel.notify .notify-content .hris-bpjs-item-variant{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  align-items:start!important;
  gap:12px!important;
  width:100%!important;
  padding:15px 12px!important;
  margin:0!important;
  border-radius:11px!important;
  box-sizing:border-box!important;
}
.notify-panel.notify .hris-bpjs-item-variant .birthday-mini-cake{
  width:42px!important;height:42px!important;border-radius:12px!important;
  background:#edf7f4!important;color:#24856b!important;
}
.notify-panel.notify .hris-bpjs-item-variant.contract-expired .birthday-mini-cake{
  background:#fff0ed!important;color:#ce6254!important;
}
.notify-panel.notify .hris-bpjs-item-variant .birthday-person{
  min-width:0!important;width:100%!important;max-width:100%!important;padding:0!important;
}
.notify-panel.notify .hris-bpjs-item-variant .birthday-person>b{font-size:12.5px!important;line-height:1.4!important}
.notify-panel.notify .hris-bpjs-item-variant .birthday-person>small:first-of-type{
  white-space:normal!important;overflow:hidden!important;text-overflow:clip!important;
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  line-height:1.45!important;margin-top:4px!important;
}
.notify-panel.notify .hris-bpjs-item-variant .birthday-person>.birthday-date{
  display:table!important;width:fit-content!important;margin:7px 0 3px!important;
}
.notify-panel.notify .hris-bpjs-item-variant .birthday-person>small:last-child{
  white-space:normal!important;line-height:1.45!important;margin-top:5px!important;
}
@media(max-width:480px){
  .notify-panel.notify .notify-tabs{grid-auto-rows:66px!important;gap:5px!important}
  .notify-panel.notify .notify-tabs>button{
    height:66px!important;min-height:66px!important;
    flex-direction:column!important;gap:3px!important;padding:7px 2px!important;
  }
  .notify-panel.notify .notify-content .hris-bpjs-item-variant{padding:13px 9px!important;gap:10px!important}
}

/* long attendance duration should not overpower the compact KPI cards. */
.db70 .db71-stats .db-late-total{justify-content:flex-start;gap:8px}
.db70 .db71-stats .db-late-total>b{
  display:block;
  max-width:100%;
  font-size:clamp(14px,1.1vw,17px)!important;
  line-height:1.35!important;
  font-weight:700!important;
  letter-spacing:-.015em!important;
  white-space:normal;
  overflow-wrap:break-word;
  text-wrap:balance;
}

/* combined birthday/retirement reminders and annual retirement age. */
.notify-panel .hris-alert-section-label{
 display:flex;align-items:center;gap:7px;margin:10px 10px 3px;padding:5px 2px;
 color:#39775e;font-size:11px;font-weight:750;letter-spacing:.01em
}
.notify-panel .hris-alert-section-label>span{margin-left:auto;color:#668a7a;font-variant-numeric:tabular-nums}
.notify-panel .hris-retirement-label{border-top:1px solid #e7eeeb;margin-top:16px;padding-top:13px;color:#8a6840}
.notify-panel .hris-other-row{
 display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;
 width:calc(100% - 6px)!important;text-align:left!important;cursor:pointer;
 appearance:none;background:transparent;min-height:79px
}
.notify-panel .hris-other-row:disabled{cursor:default;opacity:1}
.notify-panel .hris-other-row .birthday-person{min-width:0;overflow-wrap:anywhere}
.notify-panel .hris-other-row .birthday-date{display:inline-block;max-width:100%;white-space:normal;line-height:1.4}
.notify-panel .hris-retirement-row .birthday-mini-cake{background:#fff4e7!important;color:#a77b43!important}
.notify-panel .hris-retirement-row .birthday-date{color:#805f34!important;background:#fff7ed!important;border-color:#f0e0c8!important}
.workspace .leave-center-panel .hris-retirement-setting{margin-top:-7px!important;padding:12px 16px!important;background:#fbfdfb!important}
.workspace .leave-center-panel .hris-retirement-setting .annual-leave-setting-copy small{
 display:block;margin-top:3px;color:#7e9488;font-size:11px;font-weight:450
}
.workspace .leave-center-panel .hris-retirement-age-badge{
 margin-left:auto;border:1px solid #d9e7df;border-radius:10px;
 background:#eef7f0;color:#2b644e;padding:10px 14px;
 font-size:12px;white-space:nowrap
}
.workspace .leave-center-panel .hris-retirement-age-badge b{font-size:16px;font-weight:750;font-variant-numeric:tabular-nums}
.workspace .leave-center-panel .hris-retirement-editor{grid-template-columns:44px minmax(175px,1fr) minmax(120px,180px) auto!important}
.workspace .leave-center-panel .hris-retirement-editor>.hris-retirement-input{
 grid-column:3!important;grid-row:1!important;display:flex;align-items:center;gap:9px;margin:0;
 color:#466657;font-size:12px;font-weight:650;white-space:nowrap
}
.workspace .leave-center-panel .hris-retirement-editor>.hris-retirement-input input{
 width:72px;min-width:0;height:42px;padding:0 9px;border-radius:9px;
 border:1px solid #cfe1d7;background:#fff;color:#204738;font-size:16px;
 text-align:center;font-weight:700;box-sizing:border-box
}
.workspace .leave-center-panel .hris-retirement-editor>.hris-retirement-input small{font-size:11px;color:#81958a}
@media(max-width:1150px){
 .workspace .leave-center-panel .hris-retirement-editor{grid-template-columns:44px minmax(0,1fr) auto!important}
 .workspace .leave-center-panel .hris-retirement-editor>.hris-retirement-input{grid-column:2!important;grid-row:2!important}
 .workspace .leave-center-panel .hris-retirement-editor>.annual-leave-quota-actions{grid-column:3!important;grid-row:2!important}
}
@media(max-width:760px){
 .workspace .leave-center-panel .hris-retirement-setting{flex-wrap:wrap!important}
 .workspace .leave-center-panel .hris-retirement-age-badge{margin-left:0}
 .workspace .leave-center-panel .hris-retirement-setting>.btn{margin-left:auto}
 .workspace .leave-center-panel .hris-retirement-editor{grid-template-columns:40px minmax(0,1fr)!important}
 .workspace .leave-center-panel .hris-retirement-editor>.hris-retirement-input{grid-column:1/-1!important;grid-row:2!important}
 .workspace .leave-center-panel .hris-retirement-editor>.annual-leave-quota-actions{grid-column:1/-1!important;grid-row:3!important}
}

/* restore Employee Export's original size, shape and icon; direct XLSX on click. */
.workspace .employee-workspace .employee-tools .employee-export-menu > .employee-export-action{
  width:100%!important; height:100%!important; min-height:0!important;max-height:100%!important;
  box-sizing:border-box!important; padding:0 13px!important;
  border-radius:10px!important;display:flex!important;align-items:center!important;
  justify-content:center!important;gap:10px!important;white-space:nowrap!important;
}
@media(max-width:900px){
  .workspace .employee-workspace .employee-tools .employee-export-menu > .employee-export-action{
    padding:0 14px!important;border-radius:13px!important;
  }
}


/* Employee Leaving: single-employee picker grouped by company/branch. */
.modal-card.modal-employee-leaving .leaving-employee-picker{min-width:0;display:flex;flex-direction:column;gap:6px;grid-column:1/2}
.modal-card.modal-field-access .leaving-employee-picker{min-width:0;display:flex;flex-direction:column;gap:6px;margin-bottom:8px;grid-column:1/-1}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-picker.is-open{grid-column:1/-1}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-label{font-size:10px;font-weight:700;letter-spacing:.035em;text-transform:uppercase;color:#63758b}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-trigger{width:100%;min-width:0;min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 11px;border:1px solid #d8e3ee;border-radius:8px;background:#fff;color:#33475f;text-align:left;font:inherit;font-size:12px;cursor:pointer}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-trigger>i{flex:0 0 auto;font-size:11px;color:#80948a}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-trigger:focus-visible{border-color:#c4d2db;outline:1px solid #c4d2db;outline-offset:1px}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-selected{min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;line-height:1.3}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-selected small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:400;color:#698375}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-placeholder{color:#7e8e9d;font-weight:400}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-panel{min-width:0;border:1px solid #dce9e1;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 6px 18px rgba(20,70,43,.06)}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-filters{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:9px;padding:10px 11px}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-search{min-width:0;height:39px;display:flex;align-items:center;gap:9px;padding:0 10px;border:1px solid #dce7e1;border-radius:8px;background:#fff}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-search>i{color:#8ba49a;font-size:12px}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-search input{flex:1;min-width:0;width:100%;height:100%;border:none!important;background:transparent!important;box-shadow:none!important;outline:none!important;padding:0!important;color:#2d4939;font-size:12px;letter-spacing:normal;font-weight:400}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-company{min-width:0;width:100%;height:39px!important;margin:0;padding:0 30px 0 10px!important;border:1px solid #dce7e1!important;border-radius:8px!important;background-color:#fff;color:#435a72;font-family:inherit;font-size:11px!important;font-weight:400!important;letter-spacing:normal!important}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-count{padding:2px 12px 8px;color:#698173;font-size:10.5px;font-weight:500;letter-spacing:normal}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-list{height:190px;max-height:28dvh;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #edf2ee}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-option{display:flex;align-items:center;justify-content:space-between;gap:11px;width:100%;min-height:50px;padding:9px 12px;border:0;border-bottom:1px solid #f0f3f0;background:#fff;text-align:left;font:inherit;cursor:pointer}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-option{transition:background-color .15s ease}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-option:hover{background:#e4f5eb}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-option.is-selected{background:#f0f4f2}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-option.is-selected:hover{background:#d8efe1}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-option>span{min-width:0;display:flex;flex-direction:column;gap:3px}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-option b{font-size:12px;font-weight:700;color:#244c39}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-option small{font-size:10.5px;font-weight:400;color:#71897c;overflow-wrap:anywhere}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-option>i{flex:0 0 auto;color:#647786;font-size:12px}
.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-empty{padding:24px 10px;text-align:center;font-size:12px;color:#81978a}
@media(max-width:760px){.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-picker{grid-column:1/-1}.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-list{height:170px;max-height:25dvh}}
@media(max-width:420px){.modal-card:is(.modal-employee-leaving,.modal-field-access) .leaving-employee-filters{grid-template-columns:1fr}}

/* Leave Log: cuti period, input user, and content-sized Jenis column. */
.workspace .leave-center-panel .annual-leave-history-table{min-width:865px!important;}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(1),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(1){width:15%!important;}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(2),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(2){width:10%!important;}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(3),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(3){width:18%!important;}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(4),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(4){width:11%!important;white-space:nowrap!important;}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(5),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(5){width:6%!important;}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(6),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(6){width:25%!important;}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(7),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(7){width:15%!important;white-space:normal!important;overflow-wrap:break-word!important;}
.workspace .leave-center-panel .annual-leave-history-table .annual-leave-input-cell b{display:block;font-weight:700;}
.workspace .leave-center-panel .annual-leave-history-table .annual-leave-period-end{display:block;margin-top:3px;color:#80918a;font-size:10px;}

/* Center the leave date and range, including the heading. */
.workspace .leave-center-panel .annual-leave-history-table th:first-child,
.workspace .leave-center-panel .annual-leave-history-table td.annual-leave-date-cell{text-align:center!important;vertical-align:middle!important;}

/* consumption-only leave history; department identical to leave balance. */
.workspace .leave-center-panel .annual-leave-history-table{min-width:850px!important;table-layout:fixed!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(1),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(1){width:13%!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(2),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(2){width:9%!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(3),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(3){width:18%!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(4),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(4){width:24%!important;text-align:left!important;white-space:normal!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(5),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(5){width:12%!important;white-space:nowrap!important;text-align:center!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(6),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(6){width:6%!important;text-align:center!important;padding-left:5px!important;padding-right:5px!important}
.workspace .leave-center-panel .annual-leave-history-table th:nth-child(7),.workspace .leave-center-panel .annual-leave-history-table td:nth-child(7){width:18%!important;text-align:center!important;white-space:normal!important}


/* Prevent expanded employee picker from overlapping period/date controls. */
.app-shell .modal-card.modal-schedule .employee-schedule-form.schedule-regular{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-rows:max-content!important;
  align-content:start!important;
  align-items:start!important;
  row-gap:16px!important;
  column-gap:14px!important;
  min-height:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding-bottom:16px!important;
}
.app-shell .modal-card.modal-schedule .schedule-regular > .schedule-employee,
.app-shell .modal-card.modal-schedule .schedule-regular > .schedule-shift,
.app-shell .modal-card.modal-schedule .schedule-regular > .schedule-period-row,
.app-shell .modal-card.modal-schedule .schedule-regular > .attendance-edit-note,
.app-shell .modal-card.modal-schedule .schedule-regular > .modal-actions,
.app-shell .modal-card.modal-schedule .schedule-regular > .schedule-bulk-ot-option{
  grid-column:1/-1!important;
  position:static!important;
  min-width:0!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  transform:none!important;
}
.app-shell .modal-card.modal-schedule .schedule-regular > label:has(hris-date){
  position:static!important;display:flex!important;flex-direction:column!important;
  grid-column:auto!important;align-self:start!important;
  min-width:0!important;width:100%!important;height:auto!important;
  margin:0!important;gap:6px!important;transform:none!important;
}
.app-shell .modal-card.modal-schedule .schedule-regular > label:has(hris-date) hris-date{
  display:block!important;width:100%!important;min-width:0!important;
}
.app-shell .modal-card.modal-schedule .schedule-regular > .schedule-period-row{
  display:block!important;align-self:start!important;clear:both!important;
  padding:0!important;margin:0!important;overflow:visible!important;
}
.app-shell .modal-card.modal-schedule .schedule-regular > .schedule-period-row .schedule-period-options{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;box-sizing:border-box!important;
}
.app-shell .modal-card.modal-schedule .schedule-regular > .schedule-period-row .schedule-period-options label{
  width:100%!important;min-width:0!important;max-width:none!important;
  box-sizing:border-box!important;
}
.app-shell .modal-card.modal-schedule .schedule-regular .schedule-picker-panel{
  position:relative!important;inset:auto!important;z-index:auto!important;
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
}
@media(max-width:640px){
 .app-shell .modal-card.modal-schedule .employee-schedule-form.schedule-regular{
   grid-template-columns:minmax(0,1fr)!important;row-gap:13px!important;
 }
 .app-shell .modal-card.modal-schedule .schedule-regular > label:has(hris-date){grid-column:1/-1!important}
}

/* Report status dropdown consistent with native filters; no apply button. */
.report-multi-status-field{min-width:0}
.report-status-multi{position:relative;min-width:0;width:100%}
.report-status-trigger.legacy-select-shell{
 display:flex;align-items:center;gap:9px;width:100%;min-width:0;height:44px;
 padding:0 12px;text-align:left;cursor:pointer;font:inherit;color:#405b66;
 background:#fbfefd;border:1px solid #d6e5e3;border-radius:12px;
 box-shadow:none;transition:border-color .15s,background-color .15s
}
.report-status-trigger.legacy-select-shell:hover{background:#f7fbf8;border-color:#b7d7cc}
.report-status-trigger.legacy-select-shell:focus-visible{outline:2px solid #a9d9c7;outline-offset:2px}
.report-status-trigger.legacy-select-shell>i:first-child{flex:0 0 auto;color:#8da8b7}
.report-status-trigger .report-status-summary{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400}
.report-status-chevron{font-size:11px;color:#52787b;flex-shrink:0}
.report-status-options{
 position:absolute;left:0;top:calc(100% + 5px);z-index:180;
 width:max(100%,250px);max-width:min(320px,90vw);background:#fff;
 border:1px solid #dbe9e2;border-radius:11px;box-shadow:0 12px 24px rgba(28,57,62,.10);
 padding:5px;max-height:310px;overflow-y:auto
}
.report-status-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:37px;padding:8px 11px;border-radius:8px;cursor:pointer;color:#425b65;font-size:12px;font-weight:500}
.report-status-option{transition:background-color .15s ease,color .15s ease}
.report-status-option:hover{background:#e4f5eb;color:#126f4d}
.report-status-option.is-active{background:#eaf5ef;color:#126d51;font-weight:700}
.report-status-option.is-active:hover{background:#d8efe1;color:#0e6645}
.report-status-option input{width:15px;height:15px;flex:0 0 auto;accent-color:#0b9b75;cursor:pointer}
/* Preserve space for numeric columns to the right; wrap only exceptionally long names. */
.workspace .calculated-item-table{min-width:1040px!important;table-layout:auto!important}
.workspace .calculated-item-table th:nth-child(2),.workspace .calculated-item-table td:nth-child(2){min-width:205px!important;width:205px!important;max-width:225px!important}
.workspace .calculated-item-table td:nth-child(2){white-space:normal!important;overflow-wrap:break-word}
.workspace .calculated-item-table td:nth-child(2) .hris-employee-name{white-space:normal!important;overflow-wrap:break-word}
.workspace .calculated-item-table td:nth-child(2) .calculated-name-cell>span{overflow:visible;text-overflow:clip;white-space:normal}
@media(max-width:767px){.report-status-options{max-width:min(310px,85vw)}.workspace .calculated-item-table th:nth-child(2),.workspace .calculated-item-table td:nth-child(2){min-width:180px!important;width:180px!important;max-width:205px!important}}

/* Report multi-status: match Department and Name filter sizing exactly. */
.legacy-report-controls .report-multi-status-field .report-status-multi{width:100%;min-width:0}
.legacy-report-controls .report-multi-status-field .report-status-trigger.legacy-select-shell{
  display:flex!important;position:relative!important;align-items:center!important;
  height:34px!important;min-height:34px!important;max-height:34px!important;
  padding:0 28px 0 29px!important;margin:0!important;
  width:100%!important;min-width:0!important;
  background:#fff!important;border:1px solid #d7e2ed!important;border-radius:8px!important;
  color:#3c5068!important;font-family:inherit!important;font-size:10.5px!important;
  font-weight:400!important;line-height:normal!important;letter-spacing:normal!important;
  box-shadow:none!important;appearance:none!important;outline:0;
}
.legacy-report-controls .report-multi-status-field .report-status-trigger.legacy-select-shell>i:first-child{
  position:absolute!important;left:10px!important;top:50%!important;
  transform:translateY(-50%)!important;z-index:1!important;
  color:#8a9aae!important;font-size:10px!important;line-height:1!important;
}
.legacy-report-controls .report-multi-status-field .report-status-trigger .report-status-summary{
  display:block!important;flex:1 1 auto!important;min-width:0!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font:inherit!important;text-align:left!important;
}
.legacy-report-controls .report-multi-status-field .report-status-trigger .report-status-chevron{
  position:absolute!important;right:10px!important;left:auto!important;top:50%!important;
  transform:translateY(-50%)!important;font-size:9px!important;
  line-height:1!important;color:#8a9aae!important
}
.legacy-report-controls .report-multi-status-field .report-status-trigger.legacy-select-shell:hover{
  border-color:#b9cde1!important;background:#fff!important
}
.legacy-report-controls .report-multi-status-field .report-status-trigger.legacy-select-shell:focus-visible{
  border-color:#8eb8e6!important;box-shadow:0 0 0 3px rgba(64,128,201,.08)!important
}
.legacy-report-controls .report-multi-status-field .report-status-trigger.legacy-select-shell.selected{
  border-color:#a9c9ea!important;background:#f4f9ff!important
}
.legacy-report-controls .report-status-options{
  top:calc(100% + 4px)!important;padding:4px!important;
  border:1px solid #d7e2ed!important;border-radius:8px!important;
  font-size:10.5px!important;max-height:290px!important;
  box-shadow:0 9px 20px rgba(34,62,76,.10)!important
}
.legacy-report-controls .report-status-option{
  min-height:34px!important;padding:6px 9px!important;
  border-radius:6px!important;gap:12px!important;
  font-size:10.5px!important;font-weight:400!important;line-height:1.3!important;
  color:#3c5068!important
}
.legacy-report-controls .report-status-option.is-active{
  color:#246a57!important;background:#eaf5ef!important;font-weight:600!important
}
.legacy-report-controls .report-status-option input[type=checkbox]{
  width:14px!important;height:14px!important;margin:0!important;
  accent-color:#0b9b75!important;flex-shrink:0!important
}

/* Employee employment status multi-picker, matching native Employee filters.
   Keep the dropdown above the employee table without resizing its toolbar cell. */
.workspace .employee-workspace>.panel-head{overflow:visible!important}
.workspace .employee-workspace .employee-tools .employee-employment-multi{
  position:relative!important;min-width:0!important;width:100%!important;height:38px!important;
  min-height:38px!important;max-height:38px!important;align-self:stretch!important;z-index:45!important
}
.workspace .employee-workspace .employee-employment-trigger{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:9px!important;width:100%!important;height:38px!important;min-height:38px!important;max-height:38px!important;
  padding:0 12px!important;margin:0!important;box-sizing:border-box!important;
  font-family:inherit!important;font-size:12px!important;font-weight:400!important;
  background:#fff!important;color:#40566a!important;border:1px solid #dbe4e9!important;
  border-radius:10px!important;box-shadow:none!important;cursor:pointer!important
}
.workspace .employee-workspace .employee-employment-trigger:hover{border-color:#bdd6ca!important;background:#fbfefd!important}
.workspace .employee-workspace .employee-employment-trigger:focus-visible{outline:2px solid #a9d9c7!important;outline-offset:2px!important}
.workspace .employee-workspace .employee-employment-label{
  display:block;min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left
}
.workspace .employee-workspace .employee-employment-trigger>i{
  font-size:10px!important;flex:0 0 auto;color:#657e8c!important
}
.workspace .employee-workspace .employee-employment-options.report-status-options{
  display:block!important;position:absolute!important;top:calc(100% + 5px)!important;
  right:0!important;left:auto!important;width:max(100%,245px)!important;
  max-width:min(330px,90vw)!important;max-height:295px!important;height:auto!important;
  min-height:0!important;overflow-y:auto!important;box-sizing:border-box!important;
  margin:0!important;padding:5px!important;background:#fff!important;
  border:1px solid #dbe4e9!important;border-radius:11px!important;
  box-shadow:0 12px 24px rgba(29,65,64,.12)!important;z-index:1200!important
}
.workspace .employee-workspace .employee-employment-options .report-status-option{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;width:100%!important;height:auto!important;min-height:36px!important;
  margin:0!important;padding:7px 10px!important;border-radius:7px!important;
  font-family:inherit!important;font-size:11.5px!important;font-weight:400!important;
  color:#40566a!important;line-height:1.3!important;cursor:pointer!important
}
.workspace .employee-workspace .employee-employment-options .report-status-option:hover{background:#f1f8f4!important}
.workspace .employee-workspace .employee-employment-options .report-status-option.is-active{
  background:#eaf5ef!important;color:#176d55!important;font-weight:600!important
}
.workspace .employee-workspace .employee-employment-options input[type=checkbox]{
  width:15px!important;height:15px!important;flex:0 0 15px!important;
  margin:0!important;accent-color:#07966e!important;cursor:pointer!important
}
@media(max-width:767px){
 .workspace .employee-workspace .employee-employment-options.report-status-options{
   width:max(100%,210px)!important;max-width:min(310px,90vw)!important
 }
}

/* Employee multi-status control matches native Employee filter geometry.
   Desktop: 38px; mobile/tablet: 44px, same as Department and Active. */
@media(max-width:900px){
 .app-shell .workspace .employee-workspace .employee-tools .employee-employment-multi,
 .app-shell .workspace .employee-workspace .employee-tools .employee-employment-trigger{
   height:44px!important;min-height:44px!important;max-height:44px!important;
   border-radius:13px!important;
 }
}

/* company and department are separate readable columns in the Department master. */
.ui-structure-tree .ui-structure-columns{display:grid;grid-template-columns:minmax(165px,1fr) 24px minmax(180px,1.25fr) 92px;align-items:center;gap:10px;padding:10px 15px;margin-top:6px;color:#728b80;font-size:10.5px;font-weight:800;letter-spacing:.04em;border-bottom:1px solid #e8eee9}
.ui-structure-tree .ui-department-item{display:grid!important;grid-template-columns:minmax(165px,1fr) 24px minmax(180px,1.25fr) 92px;column-gap:10px;align-items:center;padding:11px 15px}
.ui-structure-tree .ui-department-company{display:flex;flex-direction:column;min-width:0;grid-column:1;gap:3px;color:#426055;font-size:11.5px}
.ui-structure-tree .ui-department-company b{white-space:normal;font-weight:600}
.ui-structure-tree .ui-department-company small{font-size:10px;color:#83978c}
.ui-structure-tree .ui-department-item>.ui-department-symbol{grid-column:2}
.ui-structure-tree .ui-department-item>.ui-hierarchy-name{grid-column:3;min-width:0}
.ui-structure-tree .ui-department-item>.ui-employee-total{grid-column:4;text-align:center}
@media(max-width:700px){.ui-structure-tree .ui-structure-columns{display:none}.ui-structure-tree .ui-department-item{grid-template-columns:minmax(0,1fr) 20px minmax(0,1.2fr) 62px;gap:5px;padding:10px 8px}.ui-structure-tree .ui-department-company{font-size:10px}.ui-structure-tree .ui-department-company small{font-size:9px}}

/* legal company shown beside department, no duplicate company subtitle. */
.hris-people-table col.people-width-company{width:175px;min-width:155px}
.hris-people-table td.ui-employee-company{font-size:11px;line-height:1.4;color:#37564a;white-space:normal}
.hris-people-table td.ui-employee-company strong{font-weight:600}
.hris-people-table .people-department strong{white-space:normal;overflow-wrap:anywhere}
@media(max-width:767px){.hris-people-table col.people-width-company{width:148px;min-width:135px}.hris-people-table td.ui-employee-company{font-size:10px}}

/* Vendor Outsourching lives beside the legal-company structure, not in it. */
.ui-structure-tree .ui-vendor-section{padding:7px 0 22px;border-top:1px solid #e6efe9;margin-top:10px}
.ui-structure-tree .ui-vendor-title{display:flex;align-items:center;gap:12px;margin:3px 16px 15px;color:#0b6952}
.ui-vendor-title>i{background:#e8f6ee;padding:12px;border-radius:11px;font-size:17px}
.ui-vendor-title>div{display:flex;flex:1;flex-direction:column;gap:4px}
.ui-vendor-title strong{font-size:14px}
.ui-vendor-title small{font-size:11px;color:#84998f}
.ui-vendor-title>span{font-size:11px;color:#587868;background:#f4faf6;border:1px solid #dbece2;border-radius:8px;padding:7px 10px}
.ui-structure-tree .ui-vendor-list{padding-bottom:0}
.ui-vendor-columns,.ui-vendor-department{display:grid;grid-template-columns:minmax(155px,1fr) minmax(180px,1.2fr) 90px;gap:12px;align-items:center;padding:10px 14px}
.ui-vendor-columns{font-size:10.5px;color:#728b80;font-weight:800;letter-spacing:.04em;border-bottom:1px solid #e8eee9}
.ui-vendor-department{min-height:52px;border-bottom:1px solid #edf3ef;font-size:12px}
.ui-vendor-department:last-child{border-bottom:0}
.ui-vendor-department:hover{background:#f7fbf8}
.ui-vendor-dept-name{display:flex;align-items:center;gap:10px;min-width:0;color:#215f49}
.ui-vendor-dept-name i{color:#09936f;background:#e8f6ef;padding:8px;border-radius:8px}
.ui-vendor-dept-name b{overflow-wrap:anywhere}
.ui-vendor-dept-company{color:#73897f;font-size:11px;overflow-wrap:anywhere}
.ui-vendor-department .ui-employee-total{text-align:center;min-width:60px;background:#f7faf8;padding:4px 8px;border:1px solid #ddeae2;border-radius:9px}
.ui-vendor-department .ui-employee-total b,.ui-vendor-department .ui-employee-total small{display:block}
.ui-vendor-department .ui-employee-total small{font-size:9.5px;color:#799287}
@media(max-width:700px){.ui-vendor-columns{display:none}.ui-vendor-department{grid-template-columns:minmax(0,1fr) 60px;gap:4px 8px;padding:10px}.ui-vendor-dept-company{grid-column:1;grid-row:2;padding-left:37px}.ui-vendor-department .ui-employee-total{grid-column:2;grid-row:1 / span 2;align-self:center}}
/* Portal to <body> prevents filter dropdown clipping on empty Employee tables or scroll. */
.ui-status-floating-menu{display:block;position:fixed;z-index:100000!important;overflow-y:auto;box-sizing:border-box;background:#fff;border:1px solid #dce7e2;border-radius:10px;box-shadow:0 10px 24px rgba(30,70,56,.10);padding:5px;max-height:min(300px,65vh);overscroll-behavior:contain}
.ui-status-floating-menu .report-status-option{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:35px;padding:7px 11px;margin:0;border-radius:7px;cursor:pointer;color:#405b50;font-size:11.5px;font-weight:400;line-height:1.35;transition:background-color .18s ease,color .18s ease}
.ui-status-floating-menu .report-status-option:hover{background:#f3f8f5;color:#216a51}
.ui-status-floating-menu .report-status-option.is-active{color:#176c51;background:#f0f7f2;font-weight:600}
.ui-status-floating-menu .report-status-option.is-active:hover{background:#e9f3ed}
.ui-status-floating-menu input[type=checkbox]{margin:0;flex:0 0 14px;width:14px;height:14px;accent-color:#07966e;cursor:pointer}

/* Separate Company, Outsourching and Job tabs; vendor is no longer below Company. */
.department-panel .ui-structure-tree .ui-outsourcing-tab{border-top:0!important;margin-top:0!important;padding-top:8px!important}
.department-panel .ui-structure-tree .ui-company-tab{min-width:0}
.department-panel .ui-structure-tree .ui-outsourcing-tab .ui-vendor-title{margin-top:0}
@media(max-width:700px){.department-panel .ui-department-tabs{flex-wrap:nowrap!important}.department-panel .ui-department-tabs button{flex:1 1 0;min-width:0;padding:10px 7px!important;font-size:12px!important}}

/* Align organization action with the three tabs; no redundant section heading. */
.department-panel .ui-department-tabs{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important}
.department-panel .ui-department-tabs .ui-manage-toolbar{margin-left:auto!important;display:flex;align-items:center;position:relative;flex:0 0 auto}
.department-panel .ui-department-tabs .ui-manage-toolbar .ui-open-manage{margin:0!important;min-height:40px;white-space:nowrap}
.department-panel .ui-structure-tree .ui-company-tab>.ui-company-list{margin-top:0}
/* Company/vendor headers and all matching filter selectors in Employee, Report, Schedule. */
.hris-department-select optgroup{font-weight:800!important;color:#176448!important}
.hris-department-select option{font-weight:400;color:#37534b}
.hris-department-select option.ui-org-root{font-weight:800!important;color:#144f3d}
.hris-department-select.ui-org-selected{font-weight:750!important;color:#0d5943!important}
.legacy-filter-grid .dept-field .legacy-select-shell:has(.ui-org-filter){border-radius:11px!important;border:1px solid #dbe4e9!important;background:#fff!important;min-height:44px;box-shadow:none}
.legacy-filter-grid .dept-field .legacy-select-shell .ui-org-filter{font-family:inherit!important;font-size:11px!important;min-height:42px!important;max-width:100%;text-overflow:ellipsis}
@media(max-width:700px){.department-panel .ui-department-tabs{flex-wrap:wrap!important}.department-panel .ui-department-tabs button:not(.ui-open-manage){flex:1 1 26%;min-width:0}.department-panel .ui-department-tabs .ui-manage-toolbar{flex:0 0 100%;justify-content:flex-end;margin-left:0!important}.department-panel .ui-department-tabs .ui-manage-toolbar .ui-open-manage{flex:0 0 auto}}
@media(max-width:1100px){.fm27-module-departments .ui-header-stats{flex-wrap:wrap;max-width:100%;justify-content:flex-end}}

/* one cross-browser hierarchy renderer for Employee / Report / Schedule. */
.ui-org-picker{position:relative;width:100%;min-width:0;display:flex;align-items:center;min-height:38px}
.ui-org-trigger{display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;height:40px;padding:0 12px 0 16px;background:#fff;border:1px solid #d5e0e7;border-radius:10px;color:#355165;text-align:left;cursor:pointer;font-family:inherit;font-size:12px;line-height:1.3;font-weight:400;min-width:0}
.ui-org-trigger>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:400}
.ui-org-trigger.ui-is-root>span{font-weight:700;color:#405666}
.ui-org-trigger>i{flex:none;font-size:11px;color:#6a8996}
.ui-org-trigger:hover,.ui-org-trigger.ui-open{border-color:#d5e0e7;background:#fff}
.ui-org-trigger:focus-visible{outline:1px solid #c4d2db;outline-offset:2px}
.ui-org-popup{display:flex;flex-direction:column;min-width:210px;padding:8px;background:#fff;border:1px solid #cedfd8;border-radius:13px;box-shadow:0 14px 36px rgba(19,62,52,.19);color:#365565;overflow:hidden;box-sizing:border-box}
.ui-org-search{padding:0 0 7px;flex:none}
.ui-org-search input{width:100%;height:43px;border:1px solid #d5e0e7;border-radius:9px;padding:0 12px;background:#fff;color:#344e5b;font-family:inherit;font-size:12px;line-height:1.3;font-weight:400;box-sizing:border-box;outline:none}
.ui-org-search input:focus{border-color:#c4d2db;box-shadow:none}
.ui-org-scroll{overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;padding-right:2px}
.ui-org-kind{padding:11px 11px 5px;color:#7c9591;font-size:10px;letter-spacing:.08em;font-weight:700}
.ui-org-option{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;width:100%;min-height:35px;border-radius:8px;background:transparent;color:#405666;text-align:left;padding:8px 11px;cursor:pointer;font-family:inherit;font-size:12px;line-height:1.35;font-weight:400!important;transition:background-color .15s ease,color .15s ease}
.ui-org-option span{font-weight:inherit;min-width:0;overflow-wrap:anywhere}
.ui-org-option>i{flex:none;color:#647786;font-size:11px}
.ui-org-option.ui-org-parent{font-weight:750!important;color:#354e60;background:transparent}
.ui-org-option.ui-org-child{font-weight:400!important;padding-left:24px}
.ui-org-option.ui-org-all{font-weight:650!important;color:#405666}
.ui-org-option.ui-active{background:var(--hris-select-active);color:var(--hris-select-ink)}
.ui-org-option:hover,.ui-org-option.ui-org-parent:hover,.ui-org-option:focus-visible{background:var(--hris-select-hover);color:var(--hris-select-hover-ink);outline:none}
.ui-org-option:focus-visible{outline:1px solid #a8d9bd;outline-offset:-1px}
.ui-org-option.ui-active:hover{background:var(--hris-select-hover-selected);color:#0e6645}
.ui-org-empty{padding:14px 12px;font-size:12px;color:#68817b}
/* Report wraps the control in its own fixed-height shell. The floating menu is teleported to body. */
.legacy-filter-grid .dept-field .legacy-select-shell:has(.ui-org-picker){overflow:visible!important;min-height:43px!important}
.legacy-filter-grid .dept-field .legacy-select-shell .ui-org-picker{min-height:42px;flex:1;min-width:0}
.legacy-filter-grid .dept-field .legacy-select-shell .ui-org-trigger{border:0!important;background:transparent!important;box-shadow:none!important;height:41px;padding-left:29px;font-size:11px}
.legacy-filter-grid .dept-field .legacy-select-shell>.pi{z-index:1;pointer-events:none}
.schedule-filter-tools .ui-org-picker{min-width:165px;max-width:230px}
.schedule-filter-tools .ui-org-trigger{height:41px}
.employee-filters .ui-org-picker{min-width:0}
@media(max-width:720px){.ui-org-trigger{height:44px}.ui-org-option{min-height:40px}.ui-org-search input{height:44px}}
/* Keep filter triggers aligned to the existing 38px desktop / 44px mobile controls. */
.app-shell .workspace .employee-workspace .employee-tools>.ui-org-picker{height:38px!important;min-height:38px!important;max-height:38px!important}
.app-shell .workspace .employee-workspace .employee-tools>.ui-org-picker>.ui-org-trigger{height:100%!important;min-height:0!important;max-height:100%!important;border-color:#dbe4e9!important;border-radius:10px!important}
.app-shell .workspace .schedule-panel .schedule-filter-tools>.ui-org-picker>.ui-org-trigger{height:100%!important;min-height:0!important;max-height:100%!important}
@media(max-width:900px){.app-shell .workspace .employee-workspace .employee-tools>.ui-org-picker{height:44px!important;min-height:44px!important;max-height:44px!important}}

/* Employee Schedule: the organization picker must be the same full-height
   control as the neighboring status filter. Percentage height previously resolved
   to auto inside the auto-sized picker, collapsing the trigger to text height. */
.app-shell .workspace .schedule-panel .schedule-filter-tools > .ui-org-picker{
  box-sizing:border-box!important;
  flex:1 1 190px!important;
  width:auto!important;
  min-width:175px!important;
  max-width:255px!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  margin:0!important;
  align-self:center!important;
}
.app-shell .workspace .schedule-panel .schedule-filter-tools > .ui-org-picker > .ui-org-trigger{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  height:36px!important;
  min-height:36px!important;
  max-height:36px!important;
  padding:0 12px!important;
  border:1px solid #dbe4e9!important;
  border-radius:10px!important;
  line-height:1.3!important;
  font-size:11px!important;
}
@media (min-width:901px){
  .app-shell .workspace .schedule-panel:has(.employee-schedule-guide) .schedule-filter-tools > .ui-org-picker{
    flex:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
}
@media (max-width:900px){
  .app-shell .workspace .schedule-panel .schedule-filter-tools > .ui-org-picker{
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
  }
  .app-shell .workspace .schedule-panel .schedule-filter-tools > .ui-org-picker > .ui-org-trigger{
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
  }
}
@media (max-width:640px){
  .app-shell .workspace .schedule-panel .schedule-filter-tools > .ui-org-picker{
    flex:1 1 190px!important;
    min-width:0!important;
    max-width:none!important;
    width:100%!important;
  }
}
@media (max-width:640px){
  .app-shell .workspace .schedule-panel .schedule-filter-tools > .ui-org-picker,
  .app-shell .workspace .schedule-panel .schedule-filter-tools > .ui-org-picker > .ui-org-trigger{
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
  }
}


/* Calculated Item: use the same compact, two-line Department cell
   as Employee Schedule / other reports, NOT Employee's long inline job summary.
   First line: Jabatan; second line: Departemen · Company / real Vendor.
   Full information stays available in the existing row-cell tooltip. */
.app-shell .workspace .calculated-item-table{min-width:1240px!important;}
.app-shell .workspace .calculated-item-table thead th:nth-child(3){
  min-width:200px!important;width:220px!important;text-align:center!important;
}
.app-shell .workspace .calculated-item-table tbody td:nth-child(3){
  min-width:200px!important;width:220px!important;max-width:250px!important;
  text-align:left!important;vertical-align:middle!important;
}
.app-shell .workspace .calculated-item-table th:nth-child(n+4),
.app-shell .workspace .calculated-item-table td:nth-child(n+4){
  min-width:62px!important;text-align:center!important;
  font-variant-numeric:tabular-nums;
}
.app-shell .workspace .calculated-item-table td:nth-child(3) .hris-calculated-department{
  display:flex!important;flex-direction:column!important;
  flex-wrap:nowrap!important;align-items:stretch!important;
  justify-content:center!important;gap:2px!important;
  min-width:0!important;max-width:100%!important;overflow:hidden!important;
  white-space:nowrap!important;line-height:normal!important;
}
.app-shell .workspace .calculated-item-table td:nth-child(3) .hris-calculated-department > strong{
  display:block!important;flex:none!important;width:100%!important;
  min-width:0!important;max-width:100%!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  font-size:11.5px!important;line-height:1.22!important;
  font-weight:500!important;color:#294e3e!important;
}
.app-shell .workspace .calculated-item-table td:nth-child(3) .hris-calculated-department > small{
  display:block!important;flex:none!important;width:100%!important;
  min-width:0!important;max-width:100%!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  font-size:10px!important;line-height:1.45!important;
  font-weight:400!important;color:#788b83!important;
}
@media(max-width:767px){
  .app-shell .workspace .calculated-item-table thead th:nth-child(3),
  .app-shell .workspace .calculated-item-table tbody td:nth-child(3){
    min-width:185px!important;width:205px!important;max-width:225px!important;
  }
}


/* Calculated Item only: make NAMA substantially narrower to free
   space for the metric columns.  Keep the approved 2-line Department.
   The 1240px table minimum previously cancelled out narrower cells. */
.app-shell .workspace .calculated-item-table{
  width:100%!important;
  min-width:1020px!important;
  table-layout:fixed!important;
}
.app-shell .workspace .calculated-item-table thead th:nth-child(1),
.app-shell .workspace .calculated-item-table tbody td:nth-child(1){
  width:78px!important;min-width:78px!important;max-width:78px!important;
}
.app-shell .workspace .calculated-item-table thead th:nth-child(2),
.app-shell .workspace .calculated-item-table tbody td:nth-child(2){
  width:125px!important;min-width:125px!important;max-width:125px!important;
}
.app-shell .workspace .calculated-item-table tbody td:nth-child(2),
.app-shell .workspace .calculated-item-table tbody td:nth-child(2) .hris-employee-name{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  line-height:1.3!important;
}
.app-shell .workspace .calculated-item-table thead th:nth-child(3),
.app-shell .workspace .calculated-item-table tbody td:nth-child(3){
  width:205px!important;min-width:200px!important;max-width:205px!important;
}
.app-shell .workspace .calculated-item-table thead th:nth-child(n+4),
.app-shell .workspace .calculated-item-table tbody td:nth-child(n+4){
  min-width:55px!important;
  padding-left:4px!important;padding-right:4px!important;
}
/* TERLAMBAT needs a little extra room for its longer heading. */
.app-shell .workspace .calculated-item-table thead th:nth-child(8),
.app-shell .workspace .calculated-item-table tbody td:nth-child(8){
  width:70px!important;min-width:70px!important;
}
.app-shell .workspace .calculated-item-table thead th:nth-child(n+4){
  font-size:9px!important;letter-spacing:0!important;
}

/* interactive three-month employee attendance evaluation */
.hris-evaluation .hris-evaluation-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:12px 0 18px}.hris-evaluation .hris-evaluation-card{display:flex;flex-direction:column;text-align:left;gap:7px;padding:16px;border:1px solid #deebe2;border-radius:13px;background:#f9fcfa;color:#305541;cursor:pointer;font:inherit;min-width:0;transition:border-color .15s,background .15s}.hris-evaluation-card:hover,.hris-evaluation-card.active{border-color:#15965c;background:#e8f7ed}.hris-evaluation-card small{font-size:12px;font-weight:650}.hris-evaluation-card strong{font-size:25px;color:#16653d}.hris-evaluation-card strong span{font-size:12px;font-weight:500}.hris-evaluation-card em{font-size:11px;font-style:normal}.hris-evaluation-categories{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}.hris-evaluation-categories .btn.active{background:#e4f5e9;border-color:#16945b;color:#16653d}.hris-evaluation-table-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.hris-evaluation-table-heading span{font-size:12px;color:#647769}.hris-evaluation .data-table th{text-align:center}.hris-evaluation .data-table td{white-space:nowrap}.hris-evaluation .data-table td:nth-child(7){white-space:normal}@media(max-width:760px){.hris-evaluation .hris-evaluation-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hris-evaluation .hris-evaluation-card{padding:12px}.hris-evaluation .hris-evaluation-card strong{font-size:21px}}

/* Employee Profile 360: refined three-month evaluation only.
   Preserve attendance classification, clickable filters and 20-row pagination. */
.employee-profile-panel .hris-evaluation{min-width:0}
.employee-profile-panel .hris-evaluation .hris-attendance-week-title{
  margin:0 0 15px;padding:0 0 14px;border-bottom:1px solid #e8f0eb;
}
.employee-profile-panel .hris-evaluation .hris-attendance-week-title h3{
  font-size:16px;line-height:1.35;letter-spacing:-.01em;
}
.employee-profile-panel .hris-evaluation .hris-attendance-week-title p{
  margin-top:6px;line-height:1.55;font-size:11px;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-cards{
  gap:10px;margin:0 0 15px;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-card{
  position:relative;justify-content:center;gap:5px;
  min-height:91px;padding:13px 15px;border-radius:11px;
  background:#fbfdfb;border-color:#e0eae3;
  transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-card:hover{
  background:#f2faf4;border-color:#9ecdb0;box-shadow:0 3px 12px rgba(24,99,58,.05);
}
.employee-profile-panel .hris-evaluation .hris-evaluation-card.active{
  border-color:#6ab78a;background:#e9f7ee;box-shadow:inset 0 0 0 1px rgba(41,145,88,.12);
}
.employee-profile-panel .hris-evaluation .hris-evaluation-card:focus-visible,
.employee-profile-panel .hris-evaluation .hris-evaluation-categories button:focus-visible{
  outline:2px solid #209764;outline-offset:2px;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-card small{
  font-size:11px;font-weight:650;line-height:1.35;color:#587064;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-card strong{
  font-size:24px;font-weight:750;line-height:1.12;color:#17633e;font-variant-numeric:tabular-nums;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-card strong span{
  font-size:11px;font-weight:500;color:#648071;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-card em{
  font-size:10px;line-height:1.2;color:#6f8277;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-categories{
  display:flex;align-items:center;gap:7px;margin:0 0 17px;padding:0;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-categories .btn{
  min-height:30px;height:30px;padding:0 11px;border-radius:8px;font-size:10.5px;
  background:#f6f8f7;border-color:#e5ebe7;color:#536b5d;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-categories .btn.active{
  background:#e7f5ea;border-color:#b3dabe;color:#176a42;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table-heading{
  gap:10px;min-height:40px;margin:0 0 8px;padding-top:0;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table-heading h3{
  margin:0;font-size:14px;font-weight:750;line-height:1.4;color:#284c39;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table-heading>span{
  flex-shrink:0;background:#f3f7f4;border:1px solid #e5ede7;
  border-radius:7px;padding:5px 9px;font-size:10.5px;color:#698174;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table-wrap{
  border:1px solid #e1ebe5;border-radius:11px;overflow-x:auto;overflow-y:hidden;
}
.employee-profile-panel .hris-evaluation table.hris-evaluation-table{
  width:100%;min-width:650px;table-layout:fixed;border-collapse:collapse;
  margin:0;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table col.hris-eval-col-no{width:42px}
.employee-profile-panel .hris-evaluation .hris-evaluation-table col.hris-eval-col-date{width:110px}
.employee-profile-panel .hris-evaluation .hris-evaluation-table col.hris-eval-col-day{width:90px}
.employee-profile-panel .hris-evaluation .hris-evaluation-table col.hris-eval-col-time{width:76px}
.employee-profile-panel .hris-evaluation .hris-evaluation-table col.hris-eval-col-late{width:98px}
.employee-profile-panel .hris-evaluation .hris-evaluation-table col.hris-eval-col-status{width:auto}
.employee-profile-panel .hris-evaluation .hris-evaluation-table thead th{
  padding:10px 7px!important;font-size:10px!important;font-weight:750!important;
  letter-spacing:.015em;text-align:center!important;white-space:nowrap;
  background:#eaf5ee;color:#35664d;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table tbody td{
  padding:8px 8px!important;font-size:11px;line-height:1.35;
  vertical-align:middle;border-bottom:1px solid #edf2ee;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table tbody tr:last-child td{border-bottom:0}
.employee-profile-panel .hris-evaluation .hris-evaluation-table th:first-child,
.employee-profile-panel .hris-evaluation .hris-evaluation-table td.hris-eval-no{
  width:42px!important;min-width:42px!important;max-width:42px!important;
  padding-left:4px!important;padding-right:4px!important;
  text-align:center!important;font-variant-numeric:tabular-nums;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table td:nth-child(4),
.employee-profile-panel .hris-evaluation .hris-evaluation-table td:nth-child(5),
.employee-profile-panel .hris-evaluation .hris-evaluation-table td:nth-child(6){text-align:center}
.employee-profile-panel .hris-evaluation .hris-evaluation-table td:last-child{text-align:center}
.employee-profile-panel .hris-evaluation .hris-evaluation-table .hris-week-status{
  display:inline-block;max-width:100%;padding:5px 8px;font-size:10px;
  white-space:normal;line-height:1.3;border-radius:7px;
}
.employee-profile-panel .hris-evaluation .hris-profile-pagination{
  margin-top:12px;padding-top:10px;border-top:1px solid #edf2ee;
}
.employee-profile-panel .hris-evaluation>.hris-profile-hint:last-child{
  margin:17px 0 0;padding:10px 12px;border-radius:8px;
  background:#f7faf8;color:#7a8a80;font-size:10.5px;line-height:1.6;
}
@media(max-width:760px){
  .employee-profile-panel .hris-evaluation .hris-evaluation-cards{gap:8px}
  .employee-profile-panel .hris-evaluation .hris-evaluation-card{min-height:84px;padding:11px 12px}
  .employee-profile-panel .hris-evaluation .hris-evaluation-card strong{font-size:21px}
  .employee-profile-panel .hris-evaluation .hris-evaluation-table-heading{align-items:center}
}
@media(max-width:420px){
  .employee-profile-panel .hris-evaluation .hris-evaluation-card small{font-size:10px}
  .employee-profile-panel .hris-evaluation .hris-evaluation-card strong{font-size:20px}
  .employee-profile-panel .hris-evaluation .hris-evaluation-table-heading h3{font-size:12px}
}

/* canonical HRIS grid proportions and standard HRIS pagination in Profile 360. */
.employee-profile-panel .hris-evaluation .hris-evaluation-table-wrap{
  border:1px solid #e1ebe5;border-radius:11px 11px 0 0;overflow-x:auto;
}
.employee-profile-panel .hris-evaluation table.hris-evaluation-table{
  width:100%;min-width:740px;table-layout:fixed;border-spacing:0;
}
/* Set every column explicitly. No remaining space is donated to STATUS. */
.employee-profile-panel .hris-evaluation table.hris-evaluation-table col.hris-eval-col-no{width:5%!important}
.employee-profile-panel .hris-evaluation table.hris-evaluation-table col.hris-eval-col-date{width:17%!important}
.employee-profile-panel .hris-evaluation table.hris-evaluation-table col.hris-eval-col-day{width:14%!important}
.employee-profile-panel .hris-evaluation table.hris-evaluation-table col.hris-eval-col-time{width:12%!important}
.employee-profile-panel .hris-evaluation table.hris-evaluation-table col.hris-eval-col-late{width:16%!important}
.employee-profile-panel .hris-evaluation table.hris-evaluation-table col.hris-eval-col-status{width:24%!important}
.employee-profile-panel .hris-evaluation .hris-evaluation-table thead th,
.employee-profile-panel .hris-evaluation .hris-evaluation-table tbody td{
  box-sizing:border-box!important;overflow-wrap:normal;white-space:nowrap;
  text-align:center!important;vertical-align:middle;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table thead th{
  padding:12px 8px!important;background:#e9f4ee!important;
  border-bottom:1px solid #dfece3;font-size:10.5px!important;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table tbody td{
  padding:10px 8px!important;line-height:1.4;border-right:1px solid #eff3f0;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table tbody td:last-child{
  border-right:0;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table th:first-child,
.employee-profile-panel .hris-evaluation .hris-evaluation-table td.hris-eval-no{
  width:auto!important;min-width:0!important;max-width:none!important;
  padding-left:5px!important;padding-right:5px!important;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table tbody tr:nth-child(even){background:#f9fcfa}
.employee-profile-panel .hris-evaluation .hris-evaluation-table tbody tr:hover{background:#eef8f1}
.employee-profile-panel .hris-evaluation .hris-evaluation-table .hris-week-status{white-space:nowrap;font-size:10.5px}
.employee-profile-panel .hris-evaluation .hris-eval-pagination{
  border:1px solid #e1ebe5!important;border-top:0!important;
  border-radius:0 0 11px 11px;margin:0!important;padding:11px 13px!important;
  background:#fff!important;min-height:53px!important;
}
.employee-profile-panel .hris-evaluation .hris-eval-pagination .log-page-actions{
  display:flex;align-items:center;flex-wrap:wrap;gap:5px!important;
}
.employee-profile-panel .hris-evaluation .hris-eval-pagination .pager-nav,
.employee-profile-panel .hris-evaluation .hris-eval-pagination .pager-number{
  cursor:pointer;font:inherit;font-size:11px!important;min-height:31px!important;
}
.employee-profile-panel .hris-evaluation .hris-eval-pagination .pager-number.active{
  background:var(--hris-pagination-accent,#168f70)!important;
  border-color:var(--hris-pagination-accent,#168f70)!important;color:#fff!important;
}
.employee-profile-panel .hris-evaluation .hris-evaluation-table-heading{margin:10px 0 9px}
@media(max-width:760px){
  .employee-profile-panel .hris-evaluation .hris-eval-pagination{
    gap:9px;align-items:flex-start;flex-direction:column;
  }
  .employee-profile-panel .hris-evaluation .hris-eval-pagination .log-page-actions{width:100%;justify-content:flex-end}
  .employee-profile-panel .hris-evaluation .hris-eval-pagination .pager-nav{padding:0 7px!important}
}

/* OT Report: keep employee name and the job/department caption close.
   Scoped to OT's Name cell only; no changes to table widths or other reports. */
.app-shell .workspace .legacy-report-table.ot-report-table .hris-ot-employee{
  gap:1px!important;
  justify-content:center;
  line-height:1.2!important;
}
.app-shell .workspace .legacy-report-table.ot-report-table .hris-ot-employee>strong{
  display:block;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
}
.app-shell .workspace .legacy-report-table.ot-report-table .hris-ot-employee>.hris-ot-meta{
  display:block!important;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
}

/* OT Report only: keep the job/department subtitle lightweight.
   Override the old 600-weight small:first-of-type rule without changing names. */
.app-shell .workspace .legacy-report-table.ot-report-table .hris-ot-employee>small.hris-ot-meta{
  font-weight:400!important;
}

@media(max-width:800px){
 body:has(> #app > main.enterprise-login){
  background-color:#f5f8f6!important;
  background-image:url("./workspace-pattern.svg"),linear-gradient(180deg,#f5f8f6 0%,#f3f6f5 100%)!important;
  background-repeat:repeat,no-repeat!important;
  background-size:320px auto,100% 100%!important;
  background-position:0 0,0 0!important;
  background-attachment:fixed,fixed!important
 }
}

/* Kelola Struktur: unified Perusahaan / Outsourcing / Jabatan master controls. */
.department-panel .ui-manage-dialog{width:min(560px,calc(100vw - 28px))!important;max-height:min(90dvh,780px)!important;overflow:auto!important}
.ui-manage-dialog .ui-mode-tabs{gap:5px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.ui-manage-dialog .ui-mode-tabs button{min-width:0!important;padding:9px 5px!important;white-space:nowrap!important}
.ui-manage-dialog .ui-manage-form{gap:0!important;padding:19px 22px 22px!important}
.ui-manage-dialog .ui-manage-form input{min-width:0!important}
.ui-manage-dialog .ui-manage-subtabs{display:flex;gap:8px;margin-bottom:18px}
.ui-manage-dialog .ui-manage-subtabs button{flex:1;min-height:36px;border-radius:9px;border:1px solid #dceae2;background:#fff;color:#597565;font-size:11.5px;font-weight:700;cursor:pointer}
.ui-manage-dialog .ui-manage-subtabs button.active{background:#ecf8f0;color:#078257;border-color:#9dd9b7}
.ui-manage-dialog .ui-manage-vendor-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
.ui-manage-dialog .ui-manage-vendor-actions .btn{min-height:40px;font-size:12px;border-radius:9px;padding:9px 17px}
.ui-manage-dialog .ui-manage-vendor-actions .btn.primary{background:#009e71;color:#fff;border-color:#009e71}
.ui-manage-dialog .ui-manage-vendor-actions .btn:disabled{opacity:.48;cursor:not-allowed}
.ui-manage-dialog .ui-manage-catalog{margin-top:22px;padding-top:17px;border-top:1px solid #e7efe9;max-height:215px;overflow:auto}
.ui-manage-dialog .ui-manage-catalog-heading{font-size:11.5px;font-weight:750;color:#365d49;margin-bottom:7px}
.ui-manage-dialog .ui-manage-vendor-row{display:flex;align-items:center;gap:9px;padding:10px 2px;border-bottom:1px solid #f0f4f1;font-size:12px;min-height:37px}
.ui-manage-dialog .ui-manage-vendor-row:last-child{border-bottom:none}
.ui-manage-dialog .ui-manage-vendor-name{flex:1;min-width:0;overflow-wrap:anywhere;color:#305440}
.ui-manage-dialog .ui-manage-vendor-used{color:#849889;font-size:11px;white-space:nowrap}
.ui-manage-dialog .ui-manage-vendor-tools{display:flex;align-items:center;gap:5px}
.ui-manage-dialog .ui-manage-vendor-tools button{border:1px solid #e0e9e2;background:white;color:#4a7b62;border-radius:7px;min-width:30px;height:30px;cursor:pointer}
.ui-manage-dialog .ui-manage-vendor-tools button.danger{color:#b34c4c}
.ui-manage-dialog .ui-manage-vendor-tools button:hover{background:#edf8f1}
@media(max-width:540px){.ui-manage-dialog .ui-manage-form{padding:18px 16px 19px!important}.ui-manage-dialog .ui-manage-subtabs{flex-wrap:wrap}.ui-manage-dialog .ui-manage-subtabs button{font-size:11px}.ui-manage-dialog .ui-manage-vendor-actions .btn.primary{flex:1}}


/* Department visual palette — soft multicolor accents and neutral surfaces.
   Unified soft accents for company, department, vendor and job views.
   Compact dimensions inherited from the existing Department layout. */
.fm27-module-departments .ui-header-stat{
  min-height:39px!important;gap:7px!important;background:#fff!important;
  border-color:#e5ece7!important;box-shadow:none!important;
}
.fm27-module-departments .ui-header-stat>i.pi{
  display:grid;place-items:center;flex:none;
  width:27px!important;height:27px!important;font-size:12px!important;
  border:0!important;border-radius:8px!important;
  background:var(--dept-bg,#edf5f0)!important;color:var(--dept-ink,#4b8067)!important;
}
/* Restrained, recognizable accents in the four summary statistics. */
.fm27-module-departments .ui-header-stat:nth-child(4n+1){--dept-bg:#e7f5ed;--dept-ink:#268466}
.fm27-module-departments .ui-header-stat:nth-child(4n+2){--dept-bg:#fff2df;--dept-ink:#b27a32}
.fm27-module-departments .ui-header-stat:nth-child(4n+3){--dept-bg:#f0eafd;--dept-ink:#8464b6}
.fm27-module-departments .ui-header-stat:nth-child(4n){--dept-bg:#e9f2fd;--dept-ink:#497fb5}
.fm27-module-departments .ui-header-stat>b{color:#25473a!important}
.fm27-module-departments .ui-header-stat>small{color:#758a7f!important}
.department-panel .ui-department-tabs{
  background:#fff!important;border-bottom-color:#edf1ee!important;
  padding:10px 14px!important;gap:7px!important;
}
.department-panel .ui-department-tabs button[role="tab"]{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;padding:8px 12px!important;min-height:34px!important;
  font-size:12px!important;border-radius:9px!important;
  background:#fff!important;border-color:#e4ece7!important;color:#536d60!important;
  box-shadow:none!important;
}
.department-panel .ui-department-tabs button[role="tab"]>i.pi{
  font-size:12px!important;color:#658878!important;
}
 .department-panel .ui-department-tabs button[role="tab"]:nth-of-type(2)>i.pi{color:#a87837!important}
.department-panel .ui-department-tabs button[role="tab"]:nth-of-type(3)>i.pi{color:#8669b4!important}
.department-panel .ui-department-tabs button[role="tab"].active{
  background:#edf5f0!important;border-color:#d7e8dd!important;color:#276c50!important;
}
.department-panel .ui-department-tabs button[role="tab"].active>i.pi{color:#276c50!important}
.department-panel .ui-department-tabs button[role="tab"]:hover:not(.active){background:#f8faf9!important;border-color:#dce9e0!important}
.department-panel .ui-department-tabs button[role="tab"]:focus-visible,
.department-panel .ui-company-heading:focus-visible{outline:2px solid #8cbfa2;outline-offset:2px}
.department-panel .ui-structure-tree{background:#fff!important}
.department-panel .ui-company-card,
.department-panel .ui-company-tab .ui-company-card,
.department-panel .ui-outsourcing-tab .ui-company-card{
  --org-accent:#54816b;--org-icon-bg:#edf5f0;--org-border:#dcece1;
  background:#fff!important;border-color:#e7eee9!important;
  border-radius:11px!important;box-shadow:none!important;
}
/* Keep every company card white; vary only its compact icon accents. */
.department-panel .ui-company-tab .ui-company-card:nth-child(5n+2),
.department-panel .ui-outsourcing-tab .ui-company-card:nth-child(5n+2){--org-accent:#527faf;--org-icon-bg:#eaf3fc;--org-border:#d6e7f7}
.department-panel .ui-company-tab .ui-company-card:nth-child(5n+3),
.department-panel .ui-outsourcing-tab .ui-company-card:nth-child(5n+3){--org-accent:#8970b4;--org-icon-bg:#f2edfc;--org-border:#e4d9f8}
.department-panel .ui-company-tab .ui-company-card:nth-child(5n+4),
.department-panel .ui-outsourcing-tab .ui-company-card:nth-child(5n+4){--org-accent:#ad7b3d;--org-icon-bg:#fff4e4;--org-border:#f2e3c9}
.department-panel .ui-company-tab .ui-company-card:nth-child(5n),
.department-panel .ui-outsourcing-tab .ui-company-card:nth-child(5n){--org-accent:#b1697b;--org-icon-bg:#fceff2;--org-border:#f4dce4}

.department-panel .ui-company-heading{
  background:#fff!important;box-shadow:none!important;
  padding:9px 11px!important;min-height:53px!important;
  gap:9px!important;transition:background-color .2s ease;
}
.department-panel .ui-company-heading:hover{background:#fafcfb!important;box-shadow:none!important}
.department-panel .ui-company-heading .ui-company-symbol,
.department-panel .ui-company-symbol{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:30px!important;height:30px!important;min-width:30px!important;
  border-radius:8px!important;background:var(--org-icon-bg,#edf5f0)!important;
  color:var(--org-accent,#54816b)!important;border:1px solid var(--org-border,#dcece1)!important;box-shadow:none!important;
}
.department-panel .ui-company-symbol>.pi{font-size:14px!important;line-height:1!important}
.department-panel .ui-company-heading .ui-hierarchy-chevron,
.department-panel .ui-hierarchy-chevron{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:26px!important;height:26px!important;min-width:26px!important;
  border-radius:7px!important;background:#f2f6f3!important;color:#779586!important;
}
.department-panel .ui-hierarchy-chevron>.pi{font-size:11px!important;line-height:1!important}
.department-panel .ui-hierarchy-name b{color:#29483b!important}
.department-panel .ui-hierarchy-name small{color:#85988d!important}
.department-panel .ui-child-count{
  background:#f8faf9!important;border:1px solid #edf1ee!important;
  border-radius:7px!important;padding:5px 9px!important;
  margin-right:2px!important;color:#7a9082!important;
}
.department-panel .ui-employee-total{
  min-width:56px!important;padding:3px 7px!important;
  border-radius:9px!important;border-color:#e7eee9!important;
  background:#fff!important;box-shadow:none!important;
}
.department-panel .ui-employee-total b{color:#315444!important}
.department-panel .ui-employee-total small{color:#879c90!important}
.department-panel .ui-company-children{
  background:#fff!important;border-top-color:#edf1ee!important;
  padding:2px 11px 7px 19px!important;
}
.department-panel .ui-structure-tree .ui-structure-columns{
  background:#fbfcfb!important;color:#7e9185!important;
  border-bottom-color:#edf1ee!important;
  font-size:10px!important;padding-top:8px!important;padding-bottom:8px!important;
}
.department-panel .ui-structure-tree .ui-department-item{
  --row-accent:#54816b;--row-icon-bg:#edf5f0;--row-border:#dcece1;
  min-height:48px!important;padding:7px 9px!important;gap:9px!important;
  border-bottom-color:#edf2ee!important;
}
/* Department rows: varied low-saturation category icons, never tinted full rows. */
.department-panel .ui-structure-tree .ui-department-item:nth-child(5n+2){--row-accent:#4e85b7;--row-icon-bg:#eaf3fc;--row-border:#d7e8f7}
.department-panel .ui-structure-tree .ui-department-item:nth-child(5n+3){--row-accent:#8a6db7;--row-icon-bg:#f1ecfa;--row-border:#e5d9f6}
.department-panel .ui-structure-tree .ui-department-item:nth-child(5n+4){--row-accent:#ad7d3e;--row-icon-bg:#fff3e2;--row-border:#f4e0c2}
.department-panel .ui-structure-tree .ui-department-item:nth-child(5n){--row-accent:#b56d7a;--row-icon-bg:#fceff1;--row-border:#f3dce2}
.department-panel .ui-structure-tree .ui-department-item:hover{background:#fafcfb!important}
.department-panel .ui-structure-tree .ui-department-item>.ui-department-symbol,
.department-panel .ui-structure-tree .ui-department-symbol{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:28px!important;height:28px!important;min-width:28px!important;
  border-radius:8px!important;background:var(--row-icon-bg,#edf5f0)!important;
  color:var(--row-accent,#54816b)!important;border:1px solid var(--row-border,#dcece1)!important;box-shadow:none!important;
}
.department-panel .ui-department-symbol>.pi{font-size:13px!important;line-height:1!important}
.department-panel .ui-structure-tree .ui-department-company{color:#61786b!important}
.department-panel .ui-structure-tree .ui-department-company small{color:#90a198!important}
.department-panel .ui-outsourcing-tab .ui-vendor-card{
  --org-accent:#54816b;--org-icon-bg:#edf5f0;--org-border:#dcece1;
}
.department-panel .ui-outsourcing-tab .ui-company-heading{
  padding:9px 11px!important;min-height:53px!important;
  background:#fff!important;box-shadow:none!important;
}
.department-panel .ui-outsourcing-tab .ui-company-heading:hover{background:#fafcfb!important}
.department-panel .ui-outsourcing-tab .ui-vendor-title>i,
.department-panel .ui-outsourcing-tab .ui-vendor-dept-name i{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:28px!important;height:28px!important;padding:0!important;
  font-size:13px!important;line-height:1!important;border-radius:8px!important;
  background:#fff2df!important;color:#a57940!important;
}
.department-panel .ui-outsourcing-tab .ui-vendor-title{color:#3a5a4c!important}
.department-panel .ui-outsourcing-tab .ui-vendor-title>span{
  color:#628476!important;background:#f6faf8!important;border-color:#e5eee9!important;
}
.department-panel .ui-outsourcing-tab .ui-vendor-department:hover{background:#fafcfb!important}
.department-panel .ui-jobs-panel .ui-job-rows{border-color:#e5ebe7!important}
.department-panel .ui-jobs-panel .ui-job-row{
  min-height:43px!important;padding:8px 10px!important;border-bottom-color:#edf1ee!important;
}
.department-panel .ui-jobs-panel .ui-job-action-row:hover{background:#fafcfb!important}
.department-panel .ui-jobs-panel .ui-job-index,
.department-panel .ui-jobs-panel .ui-jobs-list-header span{
  background:#f0ecf8!important;color:#8068ac!important;
  border-radius:8px!important;
}
.department-panel .ui-jobs-panel .ui-job-row>.pi{color:#8068ac!important}
.department-panel .ui-jobs-panel .ui-job-name{color:#3d5347!important}
.department-panel .ui-jobs-panel .ui-job-row-other{background:#fafcfb!important}
.ui-manage-dialog .ui-org-manage-content .ui-manage-header-icon{
  background:#eaf3fc!important;color:#527faf!important;
}
.ui-manage-dialog .ui-org-manage-content .ui-mode-tabs button:not(.active){color:#627e6e!important}
@media (min-width:701px){
 .department-panel .ui-structure-tree .ui-department-item{
   grid-template-columns:minmax(165px,1fr) 28px minmax(180px,1.25fr) 92px!important;
 }
}
@media (max-width:700px){
 .department-panel .ui-structure-tree .ui-department-item{
   grid-template-columns:minmax(0,1fr) 28px minmax(0,1.2fr) 62px!important;
 }
 .department-panel .ui-company-heading{gap:7px!important;padding:10px 8px!important}
}
@media (max-width:520px){
 .department-panel .ui-department-tabs button[role="tab"]>i.pi{display:none!important}
 .fm27-module-departments .ui-header-stat{padding:6px 9px!important;gap:6px!important;box-shadow:none!important}
 .fm27-module-departments .ui-header-stat>i.pi{width:26px!important;height:26px!important}
 .department-panel .ui-child-count{display:none!important}
}

/* Report recolor only — preserve existing layout and structure.
   Goal: reduce green dominance and align palette with Dashboard/Department.
   Scope: Report tabs, summary chips, filter shells, buttons, table accents, pagination. */
.app-shell .workspace .report-panel{
  background:#ffffff!important;
  border-color:#e4ece7!important;
  box-shadow:0 10px 24px rgba(39,63,52,.05)!important;
}
.app-shell .workspace .report-panel > .report-tabs{
  background:#fbfcfb!important;
  border-bottom:1px solid #e7eeea!important;
}
.app-shell .workspace .report-panel .report-tabs button{
  background:#ffffff!important;
  border:1px solid #e3ebe7!important;
  color:#677970!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
.app-shell .workspace .report-panel .report-tabs button:not(.active):hover,
.app-shell .workspace .report-panel .report-tabs.shift-exception-tabs button:not(.active):hover{
  background:#f7faf8!important;
  border-color:#d8e6df!important;
  color:#49665a!important;
}
.app-shell .workspace .report-panel .report-tabs button.active,
.app-shell .workspace :is(.leave-center-panel,.mobile-access-panel) .leave-center-tabs button.active{
  background:#e8f4ec!important;
  border-color:#cfe3d7!important;
  color:#1c7d59!important;
  box-shadow:inset 0 -2px 0 #2ea171!important;
}
.app-shell .workspace .fm27-module-report .fm68-report-summary-head{
  gap:10px!important;
}
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm68-report-summary-item,
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm29-machine-item{
  background:#ffffff!important;
  border:1px solid #e3ebe7!important;
  color:#5f7268!important;
  box-shadow:0 1px 2px rgba(32,51,41,.03)!important;
}
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm68-report-summary-item:nth-child(1),
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm29-machine-item:nth-child(1){
  background:#f2f8f4!important;
  border-color:#dceadf!important;
  color:#47715c!important;
}
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm68-report-summary-item:nth-child(2),
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm29-machine-item:nth-child(2){
  background:#fbf5ea!important;
  border-color:#efe1c5!important;
  color:#927046!important;
}
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm68-report-summary-item:nth-child(3),
.app-shell .workspace .fm27-module-report .fm68-report-summary-head .fm29-machine-item:nth-child(3){
  background:#f1f6f9!important;
  border-color:#dde8ed!important;
  color:#567587!important;
}
.app-shell .workspace .fm27-module-report .fm68-report-summary-head :is(.fm68-report-summary-item,.fm29-machine-item) b{
  color:#203c31!important;
}
.app-shell .workspace .report-panel .legacy-report-controls{
  background:#fcfdfc!important;
  border-bottom:1px solid #e8efeb!important;
}
.app-shell .workspace .report-panel :is(.legacy-field input,.legacy-field select,.legacy-select-shell,.report-status-trigger.legacy-select-shell){
  background:#ffffff!important;
  border-color:#dfe9e3!important;
  color:#566b63!important;
  box-shadow:none!important;
}
.app-shell .workspace .report-panel :is(.legacy-field input,.legacy-field select,.legacy-select-shell,.report-status-trigger.legacy-select-shell):focus,
.app-shell .workspace .report-panel .report-status-trigger.legacy-select-shell:focus-visible{
  border-color:#bddbcf!important;
  box-shadow:0 0 0 3px rgba(74,158,116,.10)!important;
}
.app-shell .workspace .report-panel .legacy-sort-row{
  border-top-color:#e8efeb!important;
}
.app-shell .workspace .report-panel .legacy-report-actions .btn.primary{
  background:#11a36a!important;
  border-color:#109663!important;
  color:#fff!important;
  box-shadow:0 8px 16px rgba(17,163,106,.16)!important;
}
.app-shell .workspace .report-panel .legacy-report-actions .btn.soft,
.app-shell .workspace .report-panel .legacy-report-actions .report-export-menu>summary{
  background:#ffffff!important;
  border-color:#dfe8e4!important;
  color:#5f7369!important;
  box-shadow:none!important;
}
.app-shell .workspace .report-panel .legacy-report-actions .btn.soft:hover,
.app-shell .workspace .report-panel .legacy-report-actions .report-export-menu>summary:hover{
  background:#f7faf8!important;
  border-color:#d4e2db!important;
}
.app-shell .workspace .report-panel .legacy-report-gridbar{
  background:linear-gradient(180deg,#fafcfb,#f5f9f7)!important;
  border-bottom-color:#e6ede9!important;
  color:#445f52!important;
}
.app-shell .workspace .report-panel .legacy-report-gridbar>span::before{
  background:#62b38c!important;
  box-shadow:0 0 0 3px rgba(98,179,140,.11)!important;
}
.app-shell .workspace .report-panel .legacy-report-gridbar small{
  background:#ffffff!important;
  border-color:#e3ebe7!important;
  color:#73857b!important;
}
.app-shell .workspace .report-panel .legacy-report-table thead th{
  background:#f3f8f5!important;
  border-bottom-color:#e0e8e3!important;
  color:#5b7267!important;
}
.app-shell .workspace .report-panel .legacy-report-table tbody tr:nth-child(even) td{
  background:#fcfefd!important;
}
.app-shell .workspace .report-panel .legacy-report-table tbody tr:hover td{
  background:#f8fbf9!important;
}
.app-shell .workspace .report-panel .legacy-report-table .report-date-chip{
  background:#f6f8f7!important;
  border-color:#e5ece8!important;
  color:#6d7d76!important;
}
.app-shell .workspace .report-panel .legacy-report-table .report-time-chip{
  background:#f0f6f9!important;
  border-color:#dce8ed!important;
  color:#587687!important;
}
.app-shell .workspace .report-panel .legacy-report-table .report-metric-chip.is-ok,
.app-shell .workspace .report-panel .legacy-report-table .report-info-badge.is-success{
  background:#eff8f3!important;
  border-color:#deece3!important;
  color:#4b7661!important;
}
.app-shell .workspace .report-panel .legacy-report-table .report-metric-chip.is-warning,
.app-shell .workspace .report-panel .legacy-report-table .report-info-badge.is-warning{
  background:#fbf4e8!important;
  border-color:#ecdcbc!important;
  color:#957247!important;
}
.app-shell .workspace .report-panel .legacy-report-table .attendance-verify-badge{
  background:#fdf0f0!important;
  border-color:#f0d5d5!important;
  color:#a94f56!important;
  border-radius:999px;
  padding:5px 6px!important;
  gap:3px!important;
  font-size:10px!important;
  line-height:1.25!important;
  box-shadow:none;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
}
.app-shell .workspace .report-panel .legacy-report-table .attendance-verify-badge i{font-size:10px!important}
.app-shell .workspace .report-panel .legacy-report-table .attendance-verify-badge:hover,
.app-shell .workspace .report-panel .legacy-report-table .attendance-verify-badge:focus-visible{
  background:#fae7e8!important;
  border-color:#e7bec2!important;
  color:#99424a!important;
}
.app-shell .workspace .report-panel .legacy-report-table .report-metric-chip.is-danger,
.app-shell .workspace .report-panel .legacy-report-table .report-info-badge.is-danger,
.app-shell .workspace .report-panel .attendance-absence-badge{
  background:#fcf1ef!important;
  border-color:#efddda!important;
  color:#a4655a!important;
}
.app-shell .workspace .report-panel .legacy-report-table .report-metric-chip.is-info,
.app-shell .workspace .report-panel .legacy-report-table .report-info-badge.is-info{
  background:#f0f6f9!important;
  border-color:#dde9ee!important;
  color:#567487!important;
}
.app-shell .workspace .report-panel .legacy-report-table .report-metric-chip.is-accent{
  background:#f4f1fb!important;
  border-color:#e4ddf6!important;
  color:#7a68a8!important;
}
.app-shell .workspace .report-panel .legacy-report-table .report-info-badge.is-neutral,
.app-shell .workspace .report-panel .legacy-report-table .report-metric-chip.is-muted{
  background:#f5f8f6!important;
  border-color:#e5ece8!important;
  color:#708079!important;
}
.app-shell .workspace .report-panel .log-pagination.report-pagination{
  border-top:1px solid #e8efeb!important;
  background:#fbfcfb!important;
}
.app-shell .workspace .report-panel .log-pagination .pager-nav,
.app-shell .workspace .report-panel .log-pagination .pager-number{
  background:#ffffff!important;
  border:1px solid #e1e9e4!important;
  color:#6a7d74!important;
  box-shadow:none!important;
}
.app-shell .workspace .report-panel .log-pagination .pager-nav:hover:not(:disabled),
.app-shell .workspace .report-panel .log-pagination .pager-number:hover:not(.active){
  background:#f7faf8!important;
  border-color:#d6e3dc!important;
  color:#4c685c!important;
}
.app-shell .workspace .report-panel .log-pagination .pager-number.active{
  background:#e8f4ec!important;
  border-color:#cee1d5!important;
  color:#177b58!important;
}

/* Employee contract decision cleanup: visual only; no layout changes elsewhere. */
.hris-contract-from-letter-note{grid-column:1/-1;color:#6b8175;font-size:12px;line-height:1.5;padding:1px 0 2px}
.employee-decision-history-context-menu .hris-legacy-contract-delete{color:#b45150!important}
.employee-decision-history-context-menu .hris-legacy-contract-delete:hover{background:#fcf1ef!important}


/* Calculated Item: compact Department organization matching Daily Attendance Detail.
   Visual only; no report columns, metrics, queries or responsive navigation change. */
.app-shell .workspace .calculated-item-table thead th:nth-child(3),
.app-shell .workspace .calculated-item-table tbody td:nth-child(3){
  width:240px!important;
  min-width:225px!important;
  max-width:255px!important;
}
.app-shell .workspace .calculated-item-table td:nth-child(3) .hris-calculated-department{
  gap:0!important;
  line-height:1.17!important;
}
.app-shell .workspace .calculated-item-table td:nth-child(3) .hris-calculated-department>strong{
  margin:0!important;
  line-height:1.2!important;
}
.app-shell .workspace .calculated-item-table td:nth-child(3) .hris-calculated-department>small{
  margin:0!important;
  line-height:1.22!important;
}
@media(max-width:767px){
  .app-shell .workspace .calculated-item-table thead th:nth-child(3),
  .app-shell .workspace .calculated-item-table tbody td:nth-child(3){
    min-width:220px!important;width:235px!important;max-width:245px!important;
  }
}


/* ========================================================
   SIDEBAR SINGLE SOURCE OF TRUTH
   All sidebar-specific styles, desktop + responsive, live
   in app.css; do not duplicate these in theme/mobile CSS.
   ======================================================== */

/* Sidebar rules consolidated from mobile.css; managed here only. */
.mobile-nav-toggle,.mobile-sidebar-backdrop,.mobile-sidebar-head{display:none}@media (min-width:601px) and (max-width:900px){.mobile-nav-toggle{
    display:inline-grid;place-items:center;
    width:36px;height:36px;flex:0 0 36px;
    border:1px solid #d7e3ef;border-radius:9px;
    background:#fff;color:#486079;font-size:15px;
  }.mobile-sidebar-backdrop{
    display:block;position:fixed;z-index:54;inset:var(--topbar) 0 0;
    border:0;background:rgba(14,30,48,.36);backdrop-filter:blur(2px);
    opacity:0;pointer-events:none;transition:opacity .18s ease;
  }.mobile-sidebar-open .mobile-sidebar-backdrop{opacity:1;pointer-events:auto}.sidebar{
    display:block!important;z-index:60;top:var(--topbar);bottom:0;
    width:min(310px,86vw)!important;padding:12px 10px 22px!important;
    background:radial-gradient(circle at 18% 4%,rgba(160,235,177,.14),transparent 23%),linear-gradient(180deg,#2da14a 0%,#238941 48%,#196d34 100%)!important;
    border-right:1px solid rgba(23,95,46,.52);box-shadow:18px 0 42px rgba(18,77,38,.22);
    transform:translateX(-105%);transition:transform .2s ease;
    overscroll-behavior:contain;
  }.mobile-sidebar-open .sidebar{transform:translateX(0)}.mobile-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 4px 10px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.12)}.mobile-sidebar-head b{font-size:11px;color:#f3f8ff}.mobile-sidebar-head .icon-btn{width:32px;height:32px;background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.14);color:#f2f8ff}.nav-section{padding:8px 6px 7px;margin-bottom:9px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09);border-radius:11px}.nav-section>span{display:block!important;padding:0 7px;margin-bottom:5px;font-size:8px!important;color:rgba(231,242,255,.68)}.nav-section button{height:39px!important;justify-content:flex-start!important;padding:0 8px!important;font-size:11px!important;color:rgba(244,249,255,.9);background:transparent}.nav-section button i{width:27px!important;height:27px;display:grid;place-items:center;font-size:13px!important;border-radius:7px;background:rgba(255,255,255,.09);color:#d9ebff}.nav-section button.active i{background:rgba(255,255,255,.14);color:#fff}.sidebar-collapse-btn,.sidebar-foot{display:none!important}.app-shell.sidebar-collapsed .sidebar{width:min(310px,86vw)!important;padding:12px 10px 22px!important}.app-shell.sidebar-collapsed .nav-section>span{display:block!important}.app-shell.sidebar-collapsed .nav-section button{font-size:11px!important;justify-content:flex-start!important;padding:0 8px!important}.app-shell.sidebar-collapsed .workspace{margin-left:0!important}.app-shell.mobile-sidebar-open{height:100vh;overflow:hidden}.workspace,.app-shell.sidebar-collapsed .workspace{margin-left:0!important;min-width:0;padding:calc(var(--topbar) + 15px) 12px 38px}}@media (min-width:601px) and (max-width:720px){.mobile-nav-toggle{width:34px;height:34px;flex-basis:34px;border-radius:8px}}@media (min-width:601px) and (max-width:720px){.brand .mobile-nav-toggle{width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:11px!important}.sidebar{width:min(330px,90vw)!important;padding:12px 10px 26px!important}.mobile-sidebar-head{min-height:46px!important;padding:4px 5px 10px!important}.nav-section{padding:7px!important;margin-bottom:8px!important;border-radius:13px!important}.nav-section button{min-height:44px!important;height:44px!important;border-radius:10px!important;font-size:12px!important;gap:10px!important}.nav-section button i{width:30px!important;height:30px!important;border-radius:9px!important;font-size:14px!important}.workspace,.app-shell.sidebar-collapsed .workspace{
    padding:calc(56px + var(--mf-page)) var(--mf-page) 42px!important;
    margin-left:0!important;background:#f4f7fb!important;
  }}@media (min-width:601px) and (max-width:900px){.sidebar{background:#fbfdfb}}@media(prefers-reduced-motion:reduce){.mobile-nav-toggle,.mobile-sidebar-backdrop{transition:none!important}}@media (min-width:601px) and (max-width:900px){.sidebar{border-right-color:#e0ebe3!important}.nav-section button.active{background:linear-gradient(90deg,#e2f3e7,#f1f9f3)!important;color:#176c48!important}}@media (min-width:601px) and (max-width:900px){.sidebar{background:#fff!important;background-image:none!important;color:#4c5b64!important}.sidebar .nav-section>span{color:#98a3aa!important}.sidebar .nav-section>button{color:#51616a!important}.sidebar .nav-section>button.active{background:#00a675!important;color:#fff!important}.sidebar .nav-section>button.active i{color:#fff!important}}:root{--hris-nav:#148b68;--hris-nav-deep:#117957;--hris-nav-hover:#1b9974;--hris-nav-active:#2ba27d}.sidebar,.app-shell .sidebar{background:#148b68!important;background-image:none!important;border-right:1px solid #117957!important;color:#f2fff8!important}.sidebar .nav-section>span{color:#bfe8d7!important}.sidebar .nav-section>button{background:transparent!important;color:#eaf9f1!important;border:1px solid transparent!important;border-radius:10px!important;box-shadow:none!important}.sidebar .nav-section>button i{color:#d5f0e3!important}.sidebar .nav-section>button:hover:not(.active),.sidebar .nav-section>button:focus-visible:not(.active){background:#1b9974!important;color:#fff!important;border-color:rgba(255,255,255,.12)!important;box-shadow:none!important}.sidebar .nav-section>button:hover:not(.active) i{color:#fff!important}.sidebar .nav-section>button.active,.sidebar .nav-section>button.active:hover{background:#2ba27d!important;color:#fff!important;border-color:transparent!important;box-shadow:none!important}.sidebar .nav-section>button.active i{color:#fff!important}.sidebar .sidebar-collapse-btn,.sidebar .mobile-sidebar-head .icon-btn{background:rgba(255,255,255,.11)!important;border:1px solid rgba(255,255,255,.2)!important;color:#fff!important}@media (min-width:601px) and (max-width:900px){.app-shell .sidebar,.app-shell.mobile-sidebar-open .sidebar,.sidebar{background:#148b68!important;background-image:none!important;color:#fff!important;border-right-color:#117957!important}.sidebar .mobile-sidebar-head{color:#fff!important;border-bottom-color:rgba(255,255,255,.15)!important}.sidebar .nav-section>button,.sidebar .nav-section>button i{color:#eaf9f1!important}.sidebar .nav-section>span{color:#bfe8d7!important}.app-shell .topbar .mobile-nav-toggle{background:#e6f5ed!important;color:#14805e!important;border-color:#d3eadc!important}}@media (min-width:601px) and (max-width:900px){.app-shell .mobile-nav-toggle{height:42px!important;width:42px!important;border-radius:13px!important;background:#eaf5ef!important;color:#176c4d!important}.app-shell .sidebar{max-width:min(320px,86vw)!important;box-shadow:16px 0 40px rgba(13,40,28,.18)!important}}@media screen and (max-width:600px){.topbar .mobile-nav-toggle{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;flex:0 0 38px!important;border:1px solid #e0ece4!important;border-radius:11px!important;background:#edf7f1!important;color:#137a51!important}.mobile-sidebar-backdrop{display:block!important;position:fixed!important;inset:56px 0 0!important;z-index:111!important;opacity:0;pointer-events:none;border:0;background:rgba(10,30,22,.4);transition:opacity .2s}.mobile-sidebar-open .mobile-sidebar-backdrop{opacity:1!important;pointer-events:auto!important}.app-shell .sidebar,.app-shell.sidebar-collapsed .sidebar{display:block!important;position:fixed!important;top:56px!important;bottom:0!important;left:0!important;width:min(300px,85vw)!important;max-width:85vw!important;height:auto!important;min-height:0!important;z-index:112!important;overflow-y:auto!important;transform:translateX(-105%)!important;transition:transform .2s!important;background:#13865e!important;padding:12px!important;box-sizing:border-box!important}.app-shell.mobile-sidebar-open .sidebar{transform:translateX(0)!important}.sidebar .mobile-sidebar-head{display:flex!important;align-items:center;justify-content:space-between;padding:4px 5px 12px;color:#fff}.sidebar .nav-section>span{display:block!important;color:#d8f3e4!important}.sidebar .nav-section button{display:flex!important;align-items:center!important;justify-content:flex-start!important;font-size:13px!important}.sidebar-collapse-btn,.sidebar-foot{display:none!important}.app-shell>.workspace,.app-shell.sidebar-collapsed>.workspace{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;margin:0!important;padding:65px 12px calc(94px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important}}@media screen and (max-width:600px){.topbar .mobile-nav-toggle{width:39px!important;height:39px!important;flex:0 0 39px!important;border-radius:12px!important;background:#edf6f0!important;border:1px solid #dbece1!important;color:#11724d!important;box-shadow:none!important}.mobile-sidebar-backdrop{top:58px!important}.app-shell .sidebar,.app-shell.sidebar-collapsed .sidebar{top:58px!important}.app-shell>.workspace,.app-shell.sidebar-collapsed>.workspace{padding-top:65px!important}}@media screen and (max-width:600px){.topbar .mobile-nav-toggle{width:38px!important;height:38px!important;flex:0 0 38px!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:11px!important;color:#263e34!important}.topbar .birthday-avatar-btn:active,.topbar .userbox>button.icon-btn:active,.topbar .mobile-nav-toggle:active{background:#f0f5f1!important}.app-shell>.workspace,.app-shell.sidebar-collapsed>.workspace{padding-top:calc(var(--topbar) + 12px)!important}}@media screen and (max-width:600px){#app .app-shell>.topbar :is(.brand,.brand-mark,.mobile-nav-toggle,.birthday-avatar-btn,.userbox,.icon-btn){background-image:none!important;box-shadow:none!important}}@media only screen and (max-width:600px){#app .app-shell>.topbar .mobile-nav-toggle,#app .app-shell>.topbar .birthday-avatar-btn,#app .app-shell>.topbar .userbox button.icon-btn{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:10px!important;color:#304a3c!important}#app .app-shell>.topbar .mobile-nav-toggle:active,#app .app-shell>.topbar .birthday-avatar-btn:active,#app .app-shell>.topbar .userbox button.icon-btn:active{background:#eff7f2!important}}
/* Sidebar rules consolidated from fresh-mint.css; managed here only. */
.app-shell :is(.btn,.icon-btn,.nav-section button,.report-tabs button):focus-visible{outline:2px solid #7abd99;outline-offset:2px}.app-shell .sidebar{background:#148b68!important;border-right-color:#128360!important;box-shadow:3px 0 18px rgba(13,81,55,.075)!important}.app-shell .sidebar .nav-section{border-color:rgba(219,255,237,.13)!important;border-radius:14px!important;background:rgba(255,255,255,.065)!important;box-shadow:none!important}.app-shell .sidebar .nav-section button{border-radius:11px!important;transition:background .18s var(--fm-ease),border-color .18s var(--fm-ease),box-shadow .18s var(--fm-ease)}.app-shell .sidebar .nav-section button:not(.active):hover{background:rgba(234,255,242,.13)!important;border-color:rgba(255,255,255,.15)!important;transform:none!important}.app-shell .sidebar .nav-section button.active{background:rgba(236,255,242,.16)!important;border-color:transparent!important;box-shadow:none!important}.app-shell .sidebar .nav-section button.active i{background:rgba(243,255,249,.15)!important;color:#e3ffed!important}.app-shell .sidebar .nav-section button:not(.active) i{background:rgba(231,255,241,.12)!important;color:#d8f8e6!important}
/* Sidebar rules consolidated from ui-polish.css; managed here only. */
.app-shell .sidebar .nav-section>button{
  transition:background-color var(--hris-ui-duration) var(--hris-ui-ease),
             border-color var(--hris-ui-duration) var(--hris-ui-ease),
             color var(--hris-ui-duration) var(--hris-ui-ease),
             box-shadow var(--hris-ui-duration) var(--hris-ui-ease)!important;
  transform:none!important;
  letter-spacing:0!important;
  -webkit-font-smoothing:antialiased;
}.app-shell .sidebar .nav-section>button:hover:not(.active){
  background:rgba(255,255,255,.135)!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:none!important;
  transform:none!important;
}.app-shell .sidebar .nav-section>button.active,
.app-shell .sidebar .nav-section>button.active:hover{
  background:rgba(255,255,255,.19)!important;
  border-color:transparent!important;
  box-shadow:none!important;
}.app-shell .sidebar .nav-section>button i{
  transition:color var(--hris-ui-duration) var(--hris-ui-ease),
             background-color var(--hris-ui-duration) var(--hris-ui-ease),
             border-color var(--hris-ui-duration) var(--hris-ui-ease)!important;
  transform:none!important;
  vertical-align:middle;
}.app-shell .sidebar .nav-section>button:focus-visible{
  outline:2px solid #c7f2d8!important;outline-offset:2px;
}@media(prefers-reduced-motion:reduce){.app-shell .sidebar .nav-section>button,
  .app-shell .sidebar .nav-section>button i,
  .app-shell .menu-bar button,.app-shell .icon-btn,.app-shell .btn,
  .app-shell .workspace :is(.report-tabs button,.leave-tabs button,.pager-number,.pager-nav),
  .app-shell .workspace :is(.action-tile,.panel,.toolbar-card),
  .app-shell .p-button,.app-shell .p-dropdown,.app-shell .p-inputtext,
  .app-shell .workspace :is(.data-table,.legacy-report-table,.simple-data-table,.schedule-data-table) tbody td{
    transition-duration:0.01ms!important;
  }}
/* Data-table focus indicator (global, single source).
   Inset accent does not change column widths or move cell content. */
@media screen {
  .app-shell .workspace :is(.table-wrap,.ui-leaving-table-scroll) table > tbody > tr > td:first-child,
  .app-shell .workspace table.hris-people-table > tbody > tr > td:first-child {
    transition:box-shadow 180ms ease;
  }
  .app-shell .workspace :is(.table-wrap,.ui-leaving-table-scroll) table > tbody > tr:is(:hover,:focus-within,.selected,.bulk-row-selected,.upload-selected) > td:first-child,
  .app-shell .workspace table.hris-people-table > tbody > tr:is(:hover,:focus-within,.selected,.bulk-row-selected) > td:first-child {
    box-shadow:inset 3px 0 0 #1b9b6a !important;
  }
}
@media (prefers-reduced-motion:reduce){
  .app-shell .workspace :is(.table-wrap,.ui-leaving-table-scroll) table > tbody > tr > td:first-child,
  .app-shell .workspace table.hris-people-table > tbody > tr > td:first-child {transition:none!important}
}

/* Compact, shared per-table page-size selector. Keep the pagination control unobtrusive. */
.hris-page-size{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;white-space:nowrap;font-size:10px;font-weight:500;color:#7b9187;line-height:1.2}
.hris-page-size>span{color:#82978e}
.hris-page-size>select{appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;width:51px!important;min-width:51px!important;max-width:51px!important;height:29px!important;min-height:29px!important;padding:3px 17px 3px 8px!important;margin:0!important;border:1px solid #e0e9e4!important;border-radius:7px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%236b8879' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 5px center/12px 12px!important;color:#526e61!important;font:500 11px/1.2 'Open Sans',sans-serif!important;box-shadow:none!important;cursor:pointer;transition:border-color .18s ease,background-color .18s ease}
.hris-page-size>select:hover{background-color:#f7faf8!important;border-color:#c8dcd1!important}
.hris-page-size>select:focus-visible{outline:2px solid #a1cbb5!important;outline-offset:1px!important}
/* Native select remains the data source; three Show values use the HRIS picker without search. */
.global-select-picker.page-size-picker{width:82px;max-width:calc(100vw - 20px);padding:4px;border:1px solid #d9e7de;border-radius:9px;box-shadow:0 8px 25px rgba(30,72,50,.12);background:#fff}
.global-select-picker.page-size-picker .global-select-search{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important;left:0;top:0}
.global-select-picker.page-size-picker .global-select-options{margin-top:0;max-height:135px;overflow-y:auto;padding:0}
.global-select-picker.page-size-picker .global-select-option{min-height:31px;padding:6px 9px;border-radius:6px;color:#476358;font-size:11px;font-weight:500;line-height:1.25;transition:background-color .17s ease,color .17s ease}
.global-select-picker.page-size-picker .global-select-option:hover,.global-select-picker.page-size-picker .global-select-option.active{background:#f1f7f3;color:#287b56}
.global-select-picker.page-size-picker .global-select-option.selected{background:#eaf5ee;color:#176a4c;font-weight:700}
.global-select-picker.page-size-picker .global-select-option.selected::after{color:#139568}

.log-pagination>.hris-page-size{margin-left:auto}
@media(max-width:600px){.hris-page-size{gap:4px;font-size:10px}.log-pagination>.hris-page-size{margin-left:0}}

