
:root{--hrme-bg:#f4f6fa;--hrme-card:#fff;--hrme-text:#151b2c;--hrme-muted:#788196;--hrme-line:#e7eaf0;--hrme-brand:#1148dc;--hrme-brand2:#3267e8;--hrme-green:#15966f;--hrme-red:#d14b5a;--hrme-shadow:0 12px 35px rgba(22,31,55,.06)}
body.toplevel_page_hrme-enterprise #wpcontent{padding-left:0}body.toplevel_page_hrme-enterprise #wpbody-content{padding-bottom:0}.hrme-app{direction:rtl;display:flex;min-height:calc(100vh - 32px);background:var(--hrme-bg);color:var(--hrme-text);font-family:Vazirmatn,IRANSansX,Tahoma,Arial,sans-serif}.hrme-front{min-height:100vh}.hrme-app *{box-sizing:border-box}.hrme-side{width:282px;background:#11162a;color:#e7eaf6;display:flex;flex-direction:column;position:sticky;top:32px;height:calc(100vh - 32px);z-index:50;flex:0 0 282px}.hrme-front .hrme-side{top:0;height:100vh}.hrme-brand{display:flex;gap:11px;align-items:center;padding:23px 20px 18px;border-bottom:1px solid rgba(255,255,255,.07)}.hrme-brand-mark{width:40px;height:40px;border-radius:13px;background:linear-gradient(135deg,#7c6cff,#4b39e6);display:grid;place-items:center;font-size:20px;font-weight:900;box-shadow:0 8px 28px rgba(91,74,238,.35)}.hrme-brand b,.hrme-brand small{display:block}.hrme-brand b{font-size:15px}.hrme-brand small{font-size:10px;color:#969db4;margin-top:4px}.hrme-side-search{display:flex;align-items:center;margin:13px 14px 8px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:0 10px}.hrme-side-search input{width:100%;height:38px;background:transparent!important;border:0!important;color:white!important;box-shadow:none!important;font-size:12px}.hrme-side-search input::placeholder{color:#8e95aa}.hrme-side-search .dashicons{color:#7e879e}.hrme-nav{overflow:auto;padding:4px 10px 18px;flex:1;scrollbar-width:thin}.hrme-nav-home{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:11px;color:#b7bdd0;text-decoration:none;margin:3px 0;font-size:12px}.hrme-nav-home:hover,.hrme-nav-home.active{background:rgba(101,84,255,.18);color:#fff}.hrme-nav-home .dashicons{font-size:17px}.hrme-nav-group{margin:4px 0}.hrme-nav-group-title{width:100%;border:0;background:transparent;color:#aeb5c8;display:flex;justify-content:space-between;align-items:center;padding:10px 11px;border-radius:10px;cursor:pointer;text-align:right;font:inherit;font-size:12px;font-weight:700}.hrme-nav-group-title:hover{background:rgba(255,255,255,.05);color:white}.hrme-nav-group-title i{font-size:14px;transition:.2s}.hrme-nav-group.open .hrme-nav-group-title i{transform:rotate(180deg)}.hrme-nav-children{display:none;padding:2px 12px 5px 0;border-right:1px solid rgba(255,255,255,.09);margin-right:14px}.hrme-nav-group.open .hrme-nav-children{display:block}.hrme-nav-children a{display:block;color:#8f97ad;text-decoration:none;padding:7px 9px;border-radius:8px;font-size:11px;line-height:1.7}.hrme-nav-children a:hover,.hrme-nav-children a.active{color:white;background:rgba(255,255,255,.06)}.hrme-side-foot{padding:12px;border-top:1px solid rgba(255,255,255,.07)}.hrme-side-foot a{color:#9ea6bd;text-decoration:none;display:flex;gap:8px;align-items:center;padding:8px;font-size:11px}.hrme-main{flex:1;min-width:0;min-height:100vh}.hrme-topbar{height:70px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--hrme-line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:32px;z-index:30}.hrme-front .hrme-topbar{top:0}.hrme-menu-toggle{display:none;border:0;background:transparent;cursor:pointer}.hrme-breadcrumb span,.hrme-breadcrumb b{display:block}.hrme-breadcrumb span{font-size:10px;color:var(--hrme-muted);margin-bottom:3px}.hrme-breadcrumb b{font-size:14px}.hrme-top-actions{display:flex;align-items:center;gap:12px}.hrme-icon{width:38px;height:38px;border-radius:12px;border:1px solid var(--hrme-line);background:white;display:grid;place-items:center;cursor:pointer}.hrme-userchip{display:flex;align-items:center;gap:9px}.hrme-avatar{width:37px;height:37px;border-radius:12px;background:#eeeefe;color:var(--hrme-brand);display:grid;place-items:center;font-weight:900}.hrme-userchip b,.hrme-userchip small{display:block}.hrme-userchip b{font-size:12px}.hrme-userchip small{font-size:9px;color:var(--hrme-muted);margin-top:3px}.hrme-content{padding:24px;max-width:1500px;margin:auto}.hrme-hero{display:flex;align-items:center;justify-content:space-between;padding:28px 30px;background:linear-gradient(135deg,#171d35 0%,#282454 60%,#4936b9 100%);border-radius:25px;color:white;box-shadow:0 18px 45px rgba(43,35,119,.18);margin-bottom:16px;overflow:hidden;position:relative}.hrme-hero:after{content:"";position:absolute;width:270px;height:270px;border-radius:50%;border:60px solid rgba(255,255,255,.05);left:-80px;top:-120px}.hrme-hero h1{font-size:25px;margin:7px 0 8px;color:white}.hrme-hero p{margin:0;color:#c8c7e8;max-width:620px;font-size:12px;line-height:2}.hrme-eyebrow{font-size:10px;color:#bdb8ff;background:rgba(255,255,255,.08);padding:5px 9px;border-radius:99px}.hrme-hero-badge{width:105px;height:105px;border-radius:28px;background:rgba(255,255,255,.11);backdrop-filter:blur(8px);display:grid;place-content:center;text-align:center;z-index:1}.hrme-hero-badge b{font-size:34px}.hrme-hero-badge span{font-size:10px;color:#d7d4ef}.hrme-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}.hrme-kpi{background:var(--hrme-card);border:1px solid var(--hrme-line);border-radius:18px;padding:17px;box-shadow:var(--hrme-shadow);display:flex;gap:13px;align-items:center;min-height:100px}.hrme-kpi>.dashicons{width:43px;height:43px;border-radius:13px;background:#f0efff;color:var(--hrme-brand);display:grid;place-items:center;font-size:20px}.hrme-kpi small,.hrme-kpi b,.hrme-kpi em{display:block}.hrme-kpi small{color:var(--hrme-muted);font-size:10px}.hrme-kpi b{font-size:23px;margin:3px 0;font-style:normal}.hrme-kpi em{font-size:9px;color:#949bad;font-style:normal}.hrme-kpi.skeleton{background:linear-gradient(90deg,#fff,#f6f7fb,#fff);background-size:200% 100%;animation:hrmeSh 1.3s infinite}.hrme-layout-2{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin-bottom:14px}.hrme-card{background:var(--hrme-card);border:1px solid var(--hrme-line);border-radius:20px;padding:18px;box-shadow:var(--hrme-shadow);margin-bottom:14px}.hrme-card-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.hrme-card-head small{display:block;font-size:9px;color:var(--hrme-muted);margin-bottom:4px}.hrme-card-head h2,.hrme-card-head h3{margin:0;font-size:16px}.hrme-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:99px;background:#f0f1f5;color:#737c91;font-size:9px;font-weight:800}.hrme-pill.green{background:#eaf9f4;color:var(--hrme-green)}.hrme-health{min-height:190px;display:flex;align-items:center;gap:30px}.hrme-health-ring{--p:0;width:130px;height:130px;border-radius:50%;background:conic-gradient(var(--hrme-brand) calc(var(--p)*1%),#eceef5 0);display:grid;place-items:center;position:relative;flex:0 0 auto}.hrme-health-ring:after{content:"";position:absolute;width:94px;height:94px;border-radius:50%;background:#fff}.hrme-health-ring b{z-index:1;font-size:23px}.hrme-health-lines{flex:1}.hrme-health-lines p{display:flex;justify-content:space-between;gap:10px;padding:8px 0;margin:0;border-bottom:1px dashed var(--hrme-line);font-size:10px}.hrme-health-lines span{color:var(--hrme-muted)}.good{color:var(--hrme-green)!important}.bad{color:var(--hrme-red)!important}.hrme-quick-grid{display:grid;gap:9px}.hrme-quick-grid a{border:1px solid var(--hrme-line);padding:12px;border-radius:13px;display:flex;align-items:center;gap:9px;color:var(--hrme-text);text-decoration:none;background:#fafbfe}.hrme-quick-grid a:hover{border-color:#c9c5ff;background:#f7f6ff}.hrme-quick-grid .dashicons{color:var(--hrme-brand)}.hrme-coverage{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.hrme-coverage div{padding:14px;border-radius:14px;background:#f8f9fc;border:1px solid var(--hrme-line);text-align:center}.hrme-coverage b,.hrme-coverage span{display:block}.hrme-coverage b{font-size:19px}.hrme-coverage span{font-size:9px;color:var(--hrme-muted);margin-top:4px}.hrme-page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.hrme-page-head h1{margin:4px 0 0;font-size:24px}.hrme-page-head small{color:var(--hrme-muted);font-size:10px}.hrme-back{font-size:10px;color:var(--hrme-brand);text-decoration:none}.hrme-legacy-tag{font-size:9px;background:#f3f1ff;color:var(--hrme-brand);padding:6px 10px;border-radius:99px}.hrme-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px}.hrme-searchbox{height:42px;display:flex;align-items:center;gap:7px;border:1px solid var(--hrme-line);background:white;border-radius:12px;padding:0 11px;flex:1;max-width:470px}.hrme-searchbox input{border:0!important;box-shadow:none!important;background:transparent!important;width:100%;height:40px!important}.hrme-toolbar select,.hrme-explorer-controls select{height:42px;border:1px solid var(--hrme-line);border-radius:12px;background:white;min-width:150px}.hrme-table-wrap{overflow:auto;border-radius:13px}.hrme-table{width:100%;border-collapse:collapse;font-size:10px}.hrme-table th,.hrme-table td{text-align:right;padding:11px 10px;border-bottom:1px solid var(--hrme-line);vertical-align:middle;white-space:nowrap}.hrme-table th{font-size:9px;color:var(--hrme-muted);font-weight:800;background:#fafbfc;position:sticky;top:0}.hrme-table tr:hover td{background:#fcfcff}.hrme-person{display:flex;align-items:center;gap:9px}.hrme-person>span{width:34px;height:34px;border-radius:11px;background:#f1f0ff;color:var(--hrme-brand);display:grid;place-items:center;font-weight:900}.hrme-person b,.hrme-person small{display:block}.hrme-person small{color:var(--hrme-muted);font-size:8px;margin-top:2px}.hrme-block{display:block;font-size:8px;color:var(--hrme-muted);margin-top:3px}.hrme-status{padding:5px 8px;border-radius:99px;font-size:8px;font-weight:800}.hrme-status.active{background:#e9f9f2;color:#14825f}.hrme-status.inactive{background:#fff0f1;color:#c94b5d}.hrme-row-open{color:var(--hrme-brand);text-decoration:none;font-weight:800}.hrme-pager{display:flex;align-items:center;justify-content:center;gap:10px;padding-top:14px}.hrme-pager button{border:1px solid var(--hrme-line);background:#fff;border-radius:9px;padding:6px 10px;cursor:pointer}.hrme-pager button:disabled{opacity:.4;cursor:not-allowed}.hrme-pager span{font-size:9px;color:var(--hrme-muted)}.hrme-profile-hero{background:linear-gradient(135deg,#1d243d,#3d347b);border-radius:22px;padding:24px;color:white;display:flex;gap:16px;align-items:center;margin-bottom:14px}.hrme-profile-avatar{width:72px;height:72px;border-radius:22px;background:#7568ff;display:grid;place-items:center;font-size:30px;font-weight:900}.hrme-profile-hero h2{margin:0 0 4px;color:white}.hrme-profile-hero p{margin:0;color:#c9c8df}.hrme-profile-tags{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.hrme-profile-tags span{padding:5px 8px;border-radius:8px;background:rgba(255,255,255,.09);font-size:9px}.hrme-profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hrme-info-list p{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed var(--hrme-line);padding:8px 0;margin:0;font-size:10px}.hrme-info-list span{color:var(--hrme-muted)}.hrme-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.hrme-related-grid>div{border:1px solid var(--hrme-line);border-radius:12px;padding:10px;background:#fafbfe}.hrme-related-grid b,.hrme-related-grid span{display:block}.hrme-related-grid b{font-size:9px;word-break:break-all}.hrme-related-grid span{font-size:8px;color:var(--hrme-muted);margin-top:5px}.hrme-context-card{display:flex;gap:30px;align-items:center}.hrme-context-card>div{display:flex;gap:8px;align-items:center;font-size:9px}.hrme-context-card b{color:var(--hrme-muted)}.hrme-context-card code{direction:ltr}.hrme-tabs{display:flex;gap:7px;overflow:auto;margin-bottom:10px;padding-bottom:2px}.hrme-tabs button{white-space:nowrap;border:1px solid var(--hrme-line);background:#fff;border-radius:10px;padding:8px 12px;cursor:pointer;font-size:9px}.hrme-tabs button.active{background:var(--hrme-brand);border-color:var(--hrme-brand);color:white}.hrme-empty,.hrme-loading{text-align:center;padding:35px;color:var(--hrme-muted);font-size:10px}.hrme-empty-state{text-align:center;padding:45px 20px}.hrme-empty-state .dashicons{font-size:35px;width:35px;height:35px;color:#9ca3b8}.hrme-empty-state h2{font-size:16px}.hrme-empty-state p{font-size:10px;color:var(--hrme-muted);line-height:2}.hrme-code-list{display:flex;flex-wrap:wrap;gap:7px}.hrme-code-list code{font-size:9px;background:#f5f6fa;padding:6px 8px;border-radius:8px}.hrme-code-list.scroll{display:block;max-height:540px;overflow:auto}.hrme-code-list details{border-bottom:1px solid var(--hrme-line);padding:7px}.hrme-code-list summary{cursor:pointer;font-size:10px;font-weight:700}.hrme-code-list pre{direction:ltr;text-align:left;white-space:pre-wrap;font-size:9px;line-height:1.7;background:#171b2b;color:#d5d8e7;border-radius:10px;padding:12px;overflow:auto}.hrme-logic-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hrme-warning{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:12px;background:#fff9e9;border:1px solid #f3e3a3;margin-bottom:14px;font-size:9px}.hrme-warning span{color:#746d5b}.hrme-explorer-controls{display:flex;gap:10px}.hrme-explorer-controls select{flex:1}.hrme-meta-strip{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:8px;margin-bottom:12px}.hrme-meta-strip>div{padding:11px;border-radius:11px;background:#f8f9fb}.hrme-meta-strip small,.hrme-meta-strip b{display:block}.hrme-meta-strip small{font-size:8px;color:var(--hrme-muted)}.hrme-meta-strip b{font-size:10px;margin-top:3px}.hrme-rel-btn{border:0;background:#f0efff;color:var(--hrme-brand);padding:5px 8px;border-radius:8px;font-size:8px;cursor:pointer}.hrme-signature{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.hrme-signature>div{text-align:center;background:#f8f9fc;border-radius:14px;padding:14px}.hrme-signature b,.hrme-signature span{display:block}.hrme-signature b{font-size:20px}.hrme-signature span{font-size:8px;color:var(--hrme-muted)}.hrme-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1.5px dashed #cfd3df;border-radius:16px;padding:30px;cursor:pointer;background:#fbfcff;margin-bottom:12px}.hrme-drop:hover{border-color:#938bff;background:#f8f7ff}.hrme-drop input{display:none}.hrme-drop .dashicons{font-size:28px;width:28px;height:28px;color:var(--hrme-brand);margin-bottom:9px}.hrme-drop b{font-size:11px}.hrme-drop small{font-size:8px;color:var(--hrme-muted);margin-top:5px}.hrme-btn{border:1px solid var(--hrme-line);background:#fff;color:var(--hrme-text);padding:9px 13px;border-radius:10px;cursor:pointer;font-weight:800;font-size:10px}.hrme-btn.primary{background:var(--hrme-brand);color:#fff;border-color:var(--hrme-brand)}.hrme-btn:disabled{opacity:.45;cursor:not-allowed}.hrme-field{display:block;margin:10px 0}.hrme-field span{display:block;font-size:9px;font-weight:700;margin-bottom:5px}.hrme-field input{width:100%;height:42px;border:1px solid var(--hrme-line);border-radius:10px;padding:0 10px;direction:ltr;text-align:left}.hrme-muted{color:var(--hrme-muted);font-size:9px;line-height:1.9}.hrme-progress-box{margin-top:12px}.hrme-progress{height:8px;background:#eceef4;border-radius:99px;overflow:hidden}.hrme-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--hrme-brand),#8b7cff);border-radius:99px;transition:.25s}.hrme-progress-box span{display:block;font-size:8px;color:var(--hrme-muted);margin-top:5px}.hrme-pipeline{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.hrme-pipeline>div{display:flex;align-items:center;gap:7px;background:#f8f9fc;border:1px solid var(--hrme-line);padding:10px;border-radius:12px;color:#9aa1b0}.hrme-pipeline i{width:26px;height:26px;border-radius:50%;background:#eceef3;display:grid;place-items:center;font-size:9px;font-style:normal}.hrme-pipeline span{font-size:9px}.hrme-pipeline .done,.hrme-pipeline .current{color:var(--hrme-text)}.hrme-pipeline .done i{background:#e7f8f1;color:var(--hrme-green)}.hrme-pipeline .current{border-color:#c9c5ff;background:#f7f6ff}.hrme-pipeline .current i{background:var(--hrme-brand);color:white}.hrme-import-meter{display:grid;grid-template-columns:1fr 220px;align-items:center;gap:15px;margin-top:16px}.hrme-import-meter>div:last-child b,.hrme-import-meter>div:last-child span{display:block}.hrme-import-meter>div:last-child b{font-size:16px}.hrme-import-meter>div:last-child span{font-size:8px;color:var(--hrme-muted);margin-top:3px}.hrme-import-numbers{display:flex;gap:15px;flex-wrap:wrap;margin-top:12px;font-size:9px}.hrme-modal{position:fixed;inset:0;background:rgba(11,15,27,.55);z-index:100000;display:grid;place-items:center;padding:20px}.hrme-modal-box{position:relative;background:#fff;border-radius:20px;padding:20px;width:min(720px,94vw);max-height:80vh;overflow:auto;box-shadow:0 30px 90px rgba(0,0,0,.3)}.hrme-modal-x{position:absolute;left:14px;top:12px;width:31px;height:31px;border:0;border-radius:50%;background:#eff1f5;cursor:pointer;font-size:20px}.hrme-toast{position:fixed;left:20px;bottom:20px;z-index:100001;background:#172033;color:white;padding:11px 14px;border-radius:12px;font-size:10px;transform:translateY(20px);opacity:0;transition:.2s}.hrme-toast.show{transform:none;opacity:1}.hrme-toast.err{background:#b33d4c}.hrme-mobile-nav{display:none}.hrme-login-required{max-width:600px;margin:70px auto;padding:25px;border-radius:18px;background:#fff;border:1px solid #eee;text-align:center;font-family:Tahoma}
@keyframes hrmeSh{to{background-position:-200% 0}}
@media(max-width:1180px){.hrme-kpis{grid-template-columns:repeat(2,1fr)}.hrme-coverage{grid-template-columns:repeat(3,1fr)}.hrme-profile-grid{grid-template-columns:1fr 1fr}.hrme-related-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.hrme-app{min-height:100vh}.hrme-side{position:fixed;right:0;top:0;height:100vh;transform:translateX(105%);transition:.25s;box-shadow:-20px 0 50px rgba(0,0,0,.25)}.hrme-app.side-open .hrme-side{transform:none}.hrme-main{width:100%}.hrme-topbar{top:0;height:62px;padding:0 13px}.hrme-menu-toggle{display:block}.hrme-breadcrumb{margin-left:auto;margin-right:8px}.hrme-userchip>div{display:none}.hrme-content{padding:13px 13px 82px}.hrme-hero{padding:20px;border-radius:19px}.hrme-hero h1{font-size:20px}.hrme-hero-badge{width:80px;height:80px;border-radius:20px}.hrme-hero-badge b{font-size:26px}.hrme-layout-2,.hrme-logic-grid{grid-template-columns:1fr}.hrme-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);bottom:0;right:0;left:0;height:64px;background:rgba(255,255,255,.96);border-top:1px solid var(--hrme-line);z-index:40;padding-bottom:env(safe-area-inset-bottom)}.hrme-mobile-nav a,.hrme-mobile-nav button{border:0;background:transparent;text-decoration:none;color:#71798c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:9px}.hrme-mobile-nav .dashicons{font-size:19px}.hrme-mobile-nav small{font-size:8px}.hrme-profile-grid{grid-template-columns:1fr}.hrme-related-grid{grid-template-columns:repeat(2,1fr)}.hrme-signature{grid-template-columns:repeat(2,1fr)}.hrme-pipeline{grid-template-columns:1fr 1fr}.hrme-import-meter{grid-template-columns:1fr}.hrme-context-card{display:block}.hrme-context-card>div{margin:7px 0}.hrme-explorer-controls{display:block}.hrme-explorer-controls select,.hrme-explorer-controls .hrme-searchbox{width:100%;max-width:none;margin-bottom:8px}}
@media(max-width:600px){.hrme-kpis{grid-template-columns:1fr 1fr;gap:8px}.hrme-kpi{padding:12px;min-height:85px}.hrme-kpi>.dashicons{display:none}.hrme-kpi b{font-size:19px}.hrme-hero-badge{display:none}.hrme-hero p{font-size:10px}.hrme-coverage{grid-template-columns:repeat(2,1fr)}.hrme-health{display:block}.hrme-health-ring{margin:0 auto 15px;width:110px;height:110px}.hrme-health-ring:after{width:80px;height:80px}.hrme-page-head h1{font-size:20px}.hrme-related-grid{grid-template-columns:1fr}.hrme-meta-strip{grid-template-columns:1fr 1fr}.hrme-pipeline{grid-template-columns:1fr}.hrme-toolbar{align-items:stretch;flex-direction:column}.hrme-searchbox{max-width:none;width:100%}}

/* v0.3 Front login + operational modules */
.hrme-login-page{min-height:720px;display:grid;place-items:center;background:radial-gradient(circle at 15% 20%,rgba(99,82,255,.15),transparent 28%),linear-gradient(135deg,#f6f7fb,#eef1f7);padding:28px;font-family:Vazirmatn,IRANSansX,Tahoma,Arial,sans-serif;color:#171b2c}.hrme-login-shell{width:min(980px,96vw);display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border:1px solid #e7eaf0;border-radius:30px;overflow:hidden;box-shadow:0 35px 90px rgba(20,28,55,.14)}.hrme-login-brand{background:linear-gradient(145deg,#11162a,#272357 65%,#4736b7);color:#fff;padding:52px;position:relative;overflow:hidden}.hrme-login-brand:after{content:"";position:absolute;width:340px;height:340px;border-radius:50%;border:70px solid rgba(255,255,255,.05);left:-150px;bottom:-170px}.hrme-login-logo{width:56px;height:56px;border-radius:18px;background:linear-gradient(135deg,#887cff,#5c49e8);display:grid;place-items:center;font-size:26px;font-weight:900;box-shadow:0 14px 40px rgba(96,75,237,.4)}.hrme-login-brand>span{display:block;margin-top:18px;font-size:12px;color:#aaa8d0;letter-spacing:.5px}.hrme-login-brand h1{font-size:29px;line-height:1.5;margin:10px 0;color:#fff}.hrme-login-brand p{font-size:12px;line-height:2.1;color:#c8c7dc;max-width:430px}.hrme-login-features{display:grid;gap:9px;margin-top:28px}.hrme-login-features span{display:flex;align-items:center;gap:8px;font-size:10px;color:#dfdeef}.hrme-login-features span:before{content:"✓";width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.09);display:grid;place-items:center;color:#a99dff}.hrme-login-card{padding:50px 45px;background:#fff}.hrme-login-card>div:first-child small{color:#6455e7;font-size:10px;font-weight:800}.hrme-login-card h2{font-size:27px;margin:6px 0;color:#171b2c}.hrme-login-card>div:first-child p{font-size:10px;color:#81899a;margin:0 0 25px}.hrme-login-card form{display:grid;gap:15px}.hrme-login-card form>label>span{display:block;font-size:10px;font-weight:800;margin-bottom:6px}.hrme-login-card input[type=text],.hrme-login-card input[type=password]{width:100%;height:48px;border:1px solid #dfe3ea!important;border-radius:13px!important;padding:0 13px!important;background:#fbfcfe!important;box-shadow:none!important}.hrme-password-wrap{position:relative}.hrme-password-toggle{position:absolute;left:7px;top:7px;height:34px;border:0;background:#f0f1f6;border-radius:9px;padding:0 10px;font-size:9px;cursor:pointer}.hrme-remember{display:flex!important;align-items:center;gap:7px}.hrme-remember span{margin:0!important;color:#71798a}.hrme-login-submit{height:49px;border:0;border-radius:13px;background:linear-gradient(135deg,#5747df,#7364ef);color:#fff;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 12px 28px rgba(84,67,218,.24)}.hrme-login-error{background:#fff0f2;color:#b53f50;border:1px solid #f1c8cf;padding:10px 12px;border-radius:11px;font-size:10px;margin-bottom:14px}.hrme-login-note{margin-top:18px;padding-top:15px;border-top:1px solid #eef0f4;color:#8991a1;font-size:9px;line-height:1.9}.hrme-logout{font-size:9px;text-decoration:none;color:#b04655;border:1px solid #efcdd2;border-radius:9px;padding:7px 10px;background:#fff7f8}.hrme-nav-children a{display:flex;align-items:center;gap:7px}.hrme-nav-children a .dashicons{font-size:14px;width:14px;height:14px}.hrme-module-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.hrme-module-cards a{border:1px solid var(--hrme-line);border-radius:15px;padding:14px;text-decoration:none;color:var(--hrme-text);background:linear-gradient(180deg,#fff,#fafbff);transition:.18s}.hrme-module-cards a:hover{transform:translateY(-2px);border-color:#c9c5ff;box-shadow:0 12px 26px rgba(56,44,150,.08)}.hrme-module-cards a .dashicons{width:38px;height:38px;border-radius:11px;background:#f0efff;color:var(--hrme-brand);display:grid;place-items:center;font-size:18px;margin-bottom:10px}.hrme-module-cards a b,.hrme-module-cards a small{display:block}.hrme-module-cards a b{font-size:10px}.hrme-module-cards a small{font-size:8px;color:var(--hrme-muted);margin-top:5px}.hrme-span-2{grid-column:span 2}.hrme-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;margin-top:14px}.hrme-form-grid label>span{display:block;font-size:9px;font-weight:800;margin-bottom:5px}.hrme-form-grid input,.hrme-form-grid select,.hrme-form-grid textarea{width:100%;min-height:42px;border:1px solid #dfe3ea!important;border-radius:11px!important;padding:8px 10px!important;background:#fbfcfe!important;box-shadow:none!important}.hrme-form-grid textarea{min-height:105px;resize:vertical}.hrme-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.hrme-row-actions{display:flex;gap:5px}.hrme-row-actions button{border:0;border-radius:8px;padding:6px 8px;font-size:8px;cursor:pointer;background:#f0efff;color:var(--hrme-brand)}.hrme-row-actions button.danger{background:#fff0f2;color:#b64252}.hrme-modal[hidden]{display:none}.hrme-account-hint{font-size:8px;color:var(--hrme-muted)}
@media(max-width:1100px){.hrme-module-cards{grid-template-columns:repeat(3,1fr)}.hrme-login-brand{padding:38px}.hrme-login-card{padding:38px 30px}}
@media(max-width:760px){.hrme-login-page{padding:0;min-height:100vh}.hrme-login-shell{width:100%;min-height:100vh;border-radius:0;grid-template-columns:1fr}.hrme-login-brand{padding:30px 24px 24px}.hrme-login-brand h1{font-size:23px}.hrme-login-brand p,.hrme-login-features{display:none}.hrme-login-card{padding:30px 22px}.hrme-login-card h2{font-size:24px}.hrme-module-cards{grid-template-columns:repeat(2,1fr)}.hrme-form-grid{grid-template-columns:1fr}.hrme-span-2{grid-column:auto}.hrme-top-actions{gap:7px}.hrme-logout{padding:6px 8px}}
.hrme-inline-password{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;max-width:780px}.hrme-inline-password input{height:42px;border:1px solid var(--hrme-line);border-radius:11px;padding:0 11px;background:#fbfcfe}.hrme-password-card{margin-top:14px}@media(max-width:700px){.hrme-inline-password{grid-template-columns:1fr}}
.hrme-diag-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hrme-diag{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--hrme-line,#e7eaf0);border-radius:14px;padding:12px;background:#fff}.hrme-diag>i{font-style:normal;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;font-weight:900}.hrme-diag.ok>i{background:#ecfdf5;color:#047857}.hrme-diag.bad>i{background:#fef2f2;color:#b91c1c}.hrme-diag b,.hrme-diag small{display:block}.hrme-diag small{margin-top:4px;color:#7a8499;line-height:1.7}.hrme-pill.red{background:#fef2f2!important;color:#b91c1c!important}@media(max-width:900px){.hrme-diag-grid{grid-template-columns:1fr}}

/* v0.4 Personnel Center */
.hrme-personnel-head p{margin:7px 0 0;color:var(--hrme-muted);font-size:10px;line-height:1.9}.hrme-head-actions{display:flex;gap:8px}.hrme-personnel-kpis{grid-template-columns:repeat(5,1fr)}.hrme-personnel-card{padding:0;overflow:hidden}.hrme-personnel-toolbar{display:flex;align-items:center;gap:10px;padding:15px 16px;border-bottom:1px solid var(--hrme-line);background:#fff}.hrme-personnel-toolbar .hrme-searchbox{max-width:560px}.hrme-personnel-toolbar select{height:42px;border:1px solid var(--hrme-line);border-radius:12px;background:#fff;padding:0 10px;min-width:150px}.hrme-cell-sub{display:block;color:var(--hrme-muted);font-size:8px;margin-top:4px}.hrme-status.neutral{background:#f1f3f7;color:#737c91}.hrme-personnel-table td:first-child{min-width:220px}.hrme-personnel-table td:nth-child(3){min-width:150px}.hrme-row-open{border:1px solid #dcd9ff;background:#f7f6ff;color:var(--hrme-brand);border-radius:9px;padding:7px 11px;font-size:9px;font-weight:800;cursor:pointer}.hrme-row-open:hover{background:#ece9ff}.hrme-pagination{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px;border-top:1px solid var(--hrme-line);background:#fafbfc}.hrme-pagination span{font-size:9px;color:var(--hrme-muted)}.hrme-drawer[hidden]{display:none}.hrme-drawer{position:fixed;z-index:100000;inset:0;display:flex;justify-content:flex-start;direction:rtl}.hrme-drawer-backdrop{position:absolute;inset:0;background:rgba(13,18,34,.46);backdrop-filter:blur(2px)}.hrme-drawer-panel{position:relative;width:min(980px,92vw);height:100%;background:#f6f7fb;box-shadow:30px 0 80px rgba(0,0,0,.22);overflow:hidden;display:flex;flex-direction:column;animation:hrmeDrawerIn .22s ease}.hrme-drawer-head{background:#fff;padding:22px 24px 18px;border-bottom:1px solid var(--hrme-line);position:relative}.hrme-drawer-close{position:absolute;left:18px;top:18px;width:36px;height:36px;border:0;border-radius:50%;background:#f0f2f6;color:#333;font-size:24px;cursor:pointer;z-index:3}.hrme-dossier-profile{display:flex;align-items:center;gap:14px;padding-left:45px}.hrme-dossier-avatar{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#eeeefe,#e1defe);color:var(--hrme-brand);display:grid;place-items:center;font-size:24px;font-weight:900;flex:0 0 auto}.hrme-dossier-profile>div:nth-child(2){flex:1}.hrme-dossier-profile small{font-size:9px;color:var(--hrme-muted)}.hrme-dossier-profile h2{margin:3px 0 5px;font-size:21px}.hrme-dossier-profile p{margin:0;font-size:9px;color:var(--hrme-muted)}.hrme-dossier-head-badges{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.hrme-dossier-tabs{display:flex;gap:5px;padding:10px 14px;background:#fff;border-bottom:1px solid var(--hrme-line);overflow:auto;scrollbar-width:thin}.hrme-dossier-tabs button{white-space:nowrap;border:1px solid transparent;background:transparent;border-radius:9px;padding:8px 10px;font-size:9px;color:#6f778b;cursor:pointer}.hrme-dossier-tabs button:hover{background:#f6f7fb}.hrme-dossier-tabs button.active{background:#efedff;border-color:#d7d2ff;color:var(--hrme-brand);font-weight:900}.hrme-drawer-body{padding:16px;overflow:auto;flex:1}.hrme-dossier-metrics{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-bottom:12px}.hrme-dossier-metrics>div{background:#fff;border:1px solid var(--hrme-line);border-radius:14px;padding:14px;text-align:center}.hrme-dossier-metrics b,.hrme-dossier-metrics span{display:block}.hrme-dossier-metrics b{font-size:21px}.hrme-dossier-metrics span{font-size:8px;color:var(--hrme-muted);margin-top:4px}.hrme-dossier-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hrme-dossier-section{background:#fff;border:1px solid var(--hrme-line);border-radius:17px;padding:15px;margin-bottom:12px;box-shadow:0 9px 25px rgba(22,31,55,.035)}.hrme-dossier-section .hrme-card-head{margin-bottom:11px}.hrme-dossier-section .hrme-card-head>span{font-size:8px;color:var(--hrme-muted)}.hrme-dossier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.hrme-dossier-grid>div,.hrme-raw-grid>div{padding:10px 11px;border:1px solid #edf0f5;border-radius:11px;background:#fbfcfe;min-width:0}.hrme-dossier-grid small,.hrme-dossier-grid b,.hrme-raw-grid small,.hrme-raw-grid b{display:block}.hrme-dossier-grid small,.hrme-raw-grid small{font-size:8px;color:var(--hrme-muted);margin-bottom:4px}.hrme-dossier-grid b,.hrme-raw-grid b{font-size:10px;overflow-wrap:anywhere;white-space:normal}.hrme-empty-soft{padding:20px;border:1px dashed #dfe3eb;background:#fafbfc;border-radius:12px;text-align:center;color:var(--hrme-muted);font-size:9px}.hrme-table.hrme-compact th,.hrme-table.hrme-compact td{padding:9px 8px}.hrme-raw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hrme-account-hero{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #dedaff;background:linear-gradient(135deg,#faf9ff,#f2f0ff);border-radius:14px;margin-bottom:12px}.hrme-account-hero>.dashicons{width:42px;height:42px;border-radius:12px;background:#e8e4ff;color:var(--hrme-brand);display:grid;place-items:center;font-size:20px}.hrme-account-hero>div{flex:1}.hrme-account-hero small,.hrme-account-hero h3,.hrme-account-hero p{display:block;margin:0}.hrme-account-hero h3{font-size:15px;margin:3px 0}.hrme-account-hero p{font-size:9px;color:var(--hrme-muted)}.hrme-section-actions{display:flex;justify-content:flex-end;margin-top:12px}.hrme-empty-state.compact{padding:35px 20px}.hrme-drawer-open{overflow:hidden}@keyframes hrmeDrawerIn{from{transform:translateX(-30px);opacity:.5}to{transform:none;opacity:1}}
@media(max-width:1180px){.hrme-personnel-kpis{grid-template-columns:repeat(3,1fr)}.hrme-dossier-metrics{grid-template-columns:repeat(3,1fr)}.hrme-dossier-grid,.hrme-raw-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.hrme-personnel-toolbar{flex-wrap:wrap}.hrme-personnel-toolbar .hrme-searchbox{max-width:none;flex-basis:100%}.hrme-drawer-panel{width:100vw}.hrme-dossier-profile{align-items:flex-start;flex-wrap:wrap}.hrme-dossier-head-badges{width:100%;padding-right:72px}.hrme-dossier-columns{grid-template-columns:1fr}.hrme-dossier-grid,.hrme-raw-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.hrme-personnel-kpis{grid-template-columns:1fr 1fr}.hrme-dossier-metrics{grid-template-columns:repeat(2,1fr)}.hrme-dossier-grid,.hrme-raw-grid{grid-template-columns:1fr}.hrme-drawer-head{padding:16px}.hrme-drawer-body{padding:10px}.hrme-dossier-profile h2{font-size:18px}.hrme-dossier-avatar{width:50px;height:50px;border-radius:15px}.hrme-dossier-head-badges{padding-right:64px}}


/* Module 2 — Recruitment Center */
.hrme-recruit-head p{max-width:760px}.hrme-recruit-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.hrme-pipeline-card{overflow:hidden}.hrme-recruit-pipeline{display:grid;grid-template-columns:repeat(10,minmax(130px,1fr));gap:8px;overflow-x:auto;padding:4px 0 10px}.hrme-recruit-pipeline button{position:relative;min-width:130px;border:1px solid var(--line);background:#fafbff;border-radius:15px;padding:12px 10px;cursor:pointer;text-align:right;color:var(--text);transition:.18s}.hrme-recruit-pipeline button:hover,.hrme-recruit-pipeline button.active{border-color:#8d87ff;background:#f1efff;transform:translateY(-1px)}.hrme-recruit-pipeline button i{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:24px;padding:0 7px;border-radius:8px;background:#eceafd;color:#5148db;font-style:normal;font-weight:800;font-size:10px}.hrme-recruit-pipeline button span{display:block;margin-top:8px;font-size:12px;font-weight:800;white-space:nowrap}.hrme-recruit-pipeline button b{display:block;margin-top:8px;font-size:12px;color:#5148db;background:#f0efff;border-radius:9px;padding:5px 8px;text-align:center}.hrme-recruit-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:14px}.hrme-recruit-toolbar .hrme-searchbox{flex:1}.hrme-recruit-toolbar select,.hrme-recruit-actions select{min-height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 12px;min-width:170px}.hrme-recruit-stage{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}.hrme-recruit-stage.new{background:#eef2ff;color:#4338ca}.hrme-recruit-stage.progress{background:#fff7ed;color:#c2410c}.hrme-recruit-stage.hired{background:#ecfdf5;color:#047857}.hrme-recruit-stage.rejected{background:#fef2f2;color:#b91c1c}.hrme-recruit-stage.archive{background:#f3f4f6;color:#4b5563}.hrme-recruit-actions{display:flex;gap:8px;padding:12px 20px;border-bottom:1px solid var(--line);background:#fbfcff;align-items:center;flex-wrap:wrap}.hrme-recruit-drawer-panel{width:min(980px,94vw)}.hrme-recruit-modal-box{width:min(960px,96vw)}.hrme-modal-title small{color:var(--muted);font-weight:700}.hrme-modal-title h2{margin:4px 0 18px}.hrme-form-section{padding:16px 0;border-bottom:1px solid var(--line)}.hrme-form-section:last-of-type{border-bottom:0}.hrme-form-section h3{margin:0 0 12px;font-size:15px}.hrme-long-text{line-height:2;color:#475569;white-space:pre-wrap}.hrme-timeline{display:grid;gap:14px;position:relative}.hrme-timeline:before{content:"";position:absolute;right:17px;top:20px;bottom:20px;width:2px;background:#e7e8f2}.hrme-timeline article{display:grid;grid-template-columns:36px 1fr;gap:12px;position:relative}.hrme-timeline article>i{z-index:1;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#f0efff;color:#5148db}.hrme-timeline article>div{border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff}.hrme-timeline article>div>div{display:flex;justify-content:space-between;gap:10px}.hrme-timeline article b{font-size:13px}.hrme-timeline article span,.hrme-timeline article small{font-size:11px;color:var(--muted)}.hrme-timeline article strong{display:inline-block;margin-top:8px;background:#f4f6fa;border-radius:8px;padding:4px 8px;font-size:11px}.hrme-timeline article p{margin:8px 0;line-height:1.8;color:#475569}.hrme-resume-card{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:16px;padding:16px;background:#fafbff}.hrme-resume-card>span{font-size:34px;width:42px;height:42px;color:#5148db}.hrme-resume-card>div{flex:1}.hrme-resume-card b,.hrme-resume-card small{display:block}.hrme-resume-card small{margin-top:4px;color:var(--muted)}.hrme-resume-upload{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;margin-top:14px}.hrme-resume-upload input{border:1px dashed #cfd4e5;border-radius:12px;padding:12px;background:#fff}.hrme-resume-upload small{grid-column:1/-1;color:var(--muted)}.hrme-btn.danger{border-color:#fecaca;color:#b91c1c;background:#fff7f7}.hrme-event-modal-box{width:min(680px,94vw)}
@media(max-width:1200px){.hrme-recruit-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:782px){.hrme-recruit-kpis{grid-template-columns:repeat(2,1fr)}.hrme-recruit-toolbar{flex-wrap:wrap}.hrme-recruit-toolbar .hrme-searchbox{flex-basis:100%}.hrme-recruit-toolbar select{flex:1;min-width:0}.hrme-recruit-actions{position:sticky;top:0;z-index:3}.hrme-recruit-actions select{flex-basis:100%}.hrme-recruit-drawer-panel{width:100vw}.hrme-resume-card{flex-wrap:wrap}.hrme-resume-card>div{min-width:200px}.hrme-resume-upload{grid-template-columns:1fr}.hrme-resume-upload small{grid-column:auto}}

.hrme-recruit-data-note{display:flex;gap:12px;align-items:flex-start;margin:0 0 16px;padding:14px 16px;border:1px solid #fde68a;background:#fffbeb;border-radius:16px;color:#854d0e}.hrme-recruit-data-note>span{font-size:22px;width:24px;height:24px}.hrme-recruit-data-note b{display:block;margin-bottom:4px}.hrme-recruit-data-note p{margin:0;line-height:1.8;font-size:12px}.hrme-recruit-data-note code{direction:ltr;display:inline-block}


/* Missions Center */
.hrme-mission-head p{max-width:800px}.hrme-mission-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.hrme-mission-flow-card{overflow:hidden}.hrme-mission-flow{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 4px 4px}.hrme-mission-flow>div{flex:1;max-width:210px;min-height:90px;border:1px solid var(--line);background:#fafbff;border-radius:16px;padding:14px;display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center}.hrme-mission-flow>div i{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#eceafd;color:#5148db;font-style:normal;font-weight:900}.hrme-mission-flow>div b{font-size:13px}.hrme-mission-flow>div span{font-size:11px;color:var(--muted)}.hrme-mission-flow>em{width:38px;height:2px;background:linear-gradient(90deg,#d9dcf0,#746bf6);position:relative}.hrme-mission-flow>em:after{content:"";position:absolute;left:0;top:-3px;border:4px solid transparent;border-right-color:#746bf6}.hrme-mission-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:14px}.hrme-mission-toolbar .hrme-searchbox{flex:1}.hrme-mission-toolbar select{min-height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 12px;min-width:190px}.hrme-mission-status{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:900;white-space:nowrap}.hrme-mission-status.pending{background:#fff7ed;color:#c2410c}.hrme-mission-status.hr-pending{background:#eff6ff;color:#1d4ed8}.hrme-mission-status.approved{background:#ecfdf5;color:#047857}.hrme-mission-status.done{background:#f0fdf4;color:#166534}.hrme-mission-status.rejected{background:#fef2f2;color:#b91c1c}.hrme-mission-drawer-panel{width:min(980px,95vw)}.hrme-mission-modal-box{width:min(920px,96vw)}.hrme-mission-action-modal-box{width:min(600px,94vw)}.hrme-mission-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 20px;background:#fbfcff;border-bottom:1px solid var(--line)}.hrme-mission-actions[hidden]{display:none}.hrme-approval-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:16px}.hrme-approval-grid>section{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fafbff;display:flex;gap:13px;align-items:flex-start}.hrme-approval-grid>section>i{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eeecff;color:#5148db;font-size:22px}.hrme-approval-grid small,.hrme-approval-grid b,.hrme-approval-grid span,.hrme-approval-grid time{display:block}.hrme-approval-grid small,.hrme-approval-grid span,.hrme-approval-grid time{color:var(--muted);font-size:11px}.hrme-approval-grid b{font-size:14px;margin:3px 0}.hrme-approval-grid p{margin:8px 0 0;line-height:1.8;font-size:12px}.hrme-dossier-avatar .dashicons{font-size:28px;width:28px;height:28px}
@media(max-width:1200px){.hrme-mission-kpis{grid-template-columns:repeat(3,1fr)}.hrme-mission-flow{justify-content:flex-start;overflow:auto}.hrme-mission-flow>div{min-width:180px}.hrme-mission-flow>em{min-width:25px}}
@media(max-width:782px){.hrme-mission-kpis{grid-template-columns:repeat(2,1fr)}.hrme-mission-toolbar{flex-wrap:wrap}.hrme-mission-toolbar .hrme-searchbox{flex-basis:100%}.hrme-mission-toolbar select{flex:1;min-width:0}.hrme-mission-flow{padding-bottom:10px}.hrme-approval-grid{grid-template-columns:1fr}.hrme-mission-drawer-panel{width:100vw}.hrme-mission-actions{position:sticky;top:0;z-index:4}}


/* Contracts & Insurance Center */
.hrme-kpis-six{grid-template-columns:repeat(6,minmax(0,1fr))}.hrme-insurance-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--hrme-border,#e7eaf0)}.hrme-insurance-tabs button{border:1px solid #e4e7ef;background:#f8f9fc;color:#667085;border-radius:12px;padding:10px 14px;font-weight:700;white-space:nowrap;cursor:pointer}.hrme-insurance-tabs button.active{background:#4f46e5;color:#fff;border-color:#4f46e5;box-shadow:0 8px 18px rgba(79,70,229,.18)}.hrme-insurance-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hrme-ins-plan{border:1px solid #e6e9f0;border-radius:18px;padding:18px;background:linear-gradient(180deg,#fff,#fafbff)}.hrme-ins-plan>div:first-child{display:flex;align-items:center;justify-content:space-between;color:#667085}.hrme-ins-plan>div:first-child .dashicons{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eeecff;color:#4f46e5;font-size:20px}.hrme-ins-plan h3{margin:14px 0;font-size:16px;min-height:44px}.hrme-ins-plan-metrics{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.hrme-ins-plan-metrics span{display:block;text-align:center;background:#f4f6fa;border-radius:10px;padding:9px 4px;font-size:11px}.hrme-ins-plan-metrics b{display:block;font-size:17px;color:#111827}.hrme-ins-plan p{display:flex;justify-content:space-between;margin:8px 0;color:#667085}.hrme-ins-plan .hrme-row-open{width:100%;margin-top:10px}.hrme-ins-toolbar{align-items:center}.hrme-ins-toolbar select{min-width:170px}
@media(max-width:1280px){.hrme-kpis-six{grid-template-columns:repeat(3,1fr)}.hrme-insurance-plan-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:782px){.hrme-kpis-six{grid-template-columns:repeat(2,1fr)}.hrme-insurance-plan-grid{grid-template-columns:1fr}.hrme-ins-toolbar{flex-wrap:wrap}.hrme-ins-toolbar .hrme-searchbox{flex-basis:100%}.hrme-ins-toolbar select{width:100%}}

/* Organization Chart Center */
.hrme-org-head p{max-width:880px}.hrme-org-kpis{grid-template-columns:repeat(7,minmax(0,1fr))}.hrme-org-card{overflow:hidden}.hrme-org-card-head{align-items:flex-end}.hrme-org-tabs{display:flex;gap:7px;flex-wrap:wrap}.hrme-org-tabs button{border:1px solid var(--hrme-line);background:#f8f9fc;color:#667085;border-radius:11px;padding:9px 13px;font-weight:800;cursor:pointer}.hrme-org-tabs button.active{background:var(--hrme-brand);color:#fff;border-color:var(--hrme-brand);box-shadow:0 8px 18px rgba(67,56,202,.18)}.hrme-org-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:15px}.hrme-org-toolbar .hrme-searchbox{flex:1;max-width:none}.hrme-org-toolbar select{height:42px;border:1px solid var(--hrme-line);border-radius:12px;background:#fff;padding:0 11px;min-width:180px}.hrme-org-content{min-height:260px}.hrme-org-root{display:grid;gap:14px}.hrme-org-root-title{display:flex;align-items:center;gap:12px;padding:16px 18px;border-radius:16px;background:linear-gradient(135deg,#171d35,#312b72);color:#fff}.hrme-org-root-title>.dashicons{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:21px}.hrme-org-root-title>div{flex:1}.hrme-org-root-title small,.hrme-org-root-title h2{display:block;margin:0}.hrme-org-root-title small{color:#bbb9df;font-size:10px}.hrme-org-root-title h2{font-size:17px;margin-top:3px;color:#fff}.hrme-org-root-title>b{padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.1);font-size:11px}.hrme-org-units{display:grid;gap:12px}.hrme-org-unit{border:1px solid var(--hrme-line);border-radius:17px;background:#fff;overflow:hidden}.hrme-org-unit-head,.hrme-org-office-head{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:12px;text-align:right;cursor:pointer;color:var(--hrme-text)}.hrme-org-unit-head{padding:14px 16px;background:#fafbff}.hrme-org-unit-head>.dashicons,.hrme-org-office-head>.dashicons{transition:.2s;color:#858ca0}.hrme-org-unit:not(.open) .hrme-org-unit-head>.dashicons,.hrme-org-office:not(.open) .hrme-org-office-head>.dashicons{transform:rotate(90deg)}.hrme-org-unit-head>div:nth-of-type(1){min-width:190px}.hrme-org-unit-head>div:nth-of-type(1) small,.hrme-org-unit-head>div:nth-of-type(1) h3{display:block;margin:0}.hrme-org-unit-head>div:nth-of-type(1) small{font-size:9px;color:var(--hrme-muted)}.hrme-org-unit-head>div:nth-of-type(1) h3{font-size:15px;margin-top:3px}.hrme-org-unit-head>div:nth-of-type(2){flex:1}.hrme-org-unit-head>i,.hrme-org-office-head>i{font-style:normal;background:#f0efff;color:var(--hrme-brand);border-radius:9px;padding:5px 8px;font-size:10px;font-weight:800}.hrme-org-unit-body{display:none;padding:12px}.hrme-org-unit.open>.hrme-org-unit-body{display:grid;gap:10px}.hrme-org-office{border:1px solid #eceef4;border-radius:14px;background:#fff;overflow:hidden}.hrme-org-office-head{padding:11px 13px;background:#fcfcfe}.hrme-org-office-head>div{flex:1}.hrme-org-office-head b,.hrme-org-office-head small{display:block}.hrme-org-office-head b{font-size:12px}.hrme-org-office-head small{font-size:9px;color:var(--hrme-muted);margin-top:3px}.hrme-org-office-body{display:none;padding:10px}.hrme-org-office.open>.hrme-org-office-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hrme-org-post{border:1px solid #eceef5;border-radius:13px;padding:11px;background:#fafbfc}.hrme-org-post-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;padding-bottom:9px;border-bottom:1px dashed #e4e6ed}.hrme-org-post-head b,.hrme-org-post-head small{display:block}.hrme-org-post-head b{font-size:11px}.hrme-org-post-head small{font-size:8px;color:var(--hrme-muted);margin-top:3px}.hrme-org-post-head>span{font-size:9px;background:#fff;border:1px solid var(--hrme-line);padding:4px 7px;border-radius:8px;color:#667085}.hrme-org-positions{display:grid;gap:7px;margin-top:9px}.hrme-org-position{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid var(--hrme-line);background:#fff;border-radius:11px;padding:9px 10px;text-align:right;cursor:pointer}.hrme-org-position:hover{border-color:#c6c0ff;box-shadow:0 6px 15px rgba(67,56,202,.07)}.hrme-org-position>span{min-width:0}.hrme-org-position b,.hrme-org-position small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hrme-org-position b{font-size:10px}.hrme-org-position small{font-size:8px;color:var(--hrme-muted);margin-top:2px}.hrme-org-position>i{font-style:normal;min-width:42px;text-align:center;padding:5px 7px;border-radius:8px;font-size:9px;font-weight:900}.hrme-org-position.has-vacancy>i{background:#fff1f2;color:#be123c}.hrme-org-position.is-full>i{background:#ecfdf5;color:#047857}.hrme-org-person{display:flex;align-items:center;gap:8px}.hrme-org-person>span{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#eeecff;color:#4f46e5;font-weight:900}.hrme-org-person b,.hrme-org-person small{display:block}.hrme-org-person b{font-size:10px}.hrme-org-person small{font-size:8px;color:var(--hrme-muted);margin-top:2px}.hrme-org-people-mini{display:flex;align-items:center}.hrme-org-people-mini span,.hrme-org-people-mini i{width:27px;height:27px;border-radius:9px;display:grid;place-items:center;border:2px solid #fff;margin-left:-5px;background:#eeeefe;color:#4f46e5;font-style:normal;font-size:9px;font-weight:900}.hrme-org-people-mini i{background:#f1f2f5;color:#667085}.hrme-status.warning{background:#fff7ed;color:#c2410c}.hrme-org-manager-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hrme-org-manager-grid article{border:1px solid var(--hrme-line);border-radius:15px;padding:14px;background:#fafbfe;display:grid;gap:11px}.hrme-org-manager-level{width:max-content;background:#eeecff;color:#4f46e5;border-radius:9px;padding:5px 8px;font-size:9px;font-weight:900}.hrme-org-manager-place{padding-top:10px;border-top:1px dashed #e5e7ee}.hrme-org-manager-place b,.hrme-org-manager-place small{display:block}.hrme-org-manager-place b{font-size:11px}.hrme-org-manager-place small{font-size:8px;color:var(--hrme-muted);margin-top:3px}.hrme-org-drawer-panel{width:min(900px,94vw)}.hrme-org-slot-list{display:grid;gap:8px}.hrme-org-slot-list>div{display:flex;align-items:center;gap:10px;border:1px solid var(--hrme-line);border-radius:12px;padding:10px 12px;background:#fff}.hrme-org-slot-list>div>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center}.hrme-org-slot-list>div.occupied>span{background:#ecfdf5;color:#047857}.hrme-org-slot-list>div.vacant>span{background:#fff1f2;color:#be123c}.hrme-org-slot-list>div>div{flex:1}.hrme-org-slot-list b,.hrme-org-slot-list small{display:block}.hrme-org-slot-list b{font-size:11px}.hrme-org-slot-list small{font-size:9px;color:var(--hrme-muted);margin-top:3px}.hrme-org-slot-list i{font-style:normal;font-size:9px;font-weight:900;padding:5px 8px;border-radius:8px;background:#f3f4f6}.hrme-org-slot-list .occupied i{background:#ecfdf5;color:#047857}.hrme-org-slot-list .vacant i{background:#fff1f2;color:#be123c}
@media(max-width:1300px){.hrme-org-kpis{grid-template-columns:repeat(4,1fr)}.hrme-org-office.open>.hrme-org-office-body{grid-template-columns:1fr}.hrme-org-manager-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:782px){.hrme-org-kpis{grid-template-columns:repeat(2,1fr)}.hrme-org-card-head{align-items:flex-start;flex-direction:column}.hrme-org-tabs{width:100%;overflow:auto;flex-wrap:nowrap}.hrme-org-toolbar{flex-wrap:wrap}.hrme-org-toolbar .hrme-searchbox{flex-basis:100%}.hrme-org-toolbar select{flex:1;min-width:0}.hrme-org-unit-head{align-items:flex-start;flex-wrap:wrap}.hrme-org-unit-head>div:nth-of-type(1){min-width:0;flex:1}.hrme-org-unit-head>div:nth-of-type(2){flex-basis:100%;order:4}.hrme-org-manager-grid{grid-template-columns:1fr}.hrme-org-drawer-panel{width:100vw}}


/* Jobs & Classification Center */
.hrme-jobs-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.hrme-jobs-card{overflow:visible}
.hrme-jobs-card-head{gap:18px;flex-wrap:wrap}
.hrme-jobs-toolbar{flex-wrap:wrap}
.hrme-job-title{display:flex;align-items:center;gap:10px;min-width:220px}
.hrme-job-title>span{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5;font-weight:900}
.hrme-job-title div{display:flex;flex-direction:column;gap:3px}.hrme-job-title small{color:var(--muted)}
.hrme-status.warning{background:#fff7ed;color:#c2410c;border-color:#fed7aa}
.hrme-job-description{background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:16px;line-height:2}
.hrme-job-description p{margin:0 0 10px}.hrme-job-description p:last-child{margin-bottom:0}
.hrme-job-bullets{display:grid;gap:8px}
.hrme-job-bullets>div{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.hrme-job-bullets>div>i{font-style:normal;width:28px;height:28px;border-radius:9px;background:#f1f5f9;display:grid;place-items:center;font-size:11px;color:#475569}
.hrme-job-bullets>div>span{line-height:1.8}.hrme-job-bullets>div>em{font-style:normal;font-size:11px;background:#eef2ff;color:#4338ca;border-radius:999px;padding:4px 8px}
.hrme-job-position-cards{display:grid;gap:12px}
.hrme-job-position-cards>article{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}
.hrme-job-position-cards>article>header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line)}
.hrme-job-position-cards>article>header div{display:flex;flex-direction:column;gap:4px}.hrme-job-position-cards>article>header small{color:var(--muted)}
.hrme-job-position-cards>article>header>span{background:#eef2ff;color:#4338ca;font-weight:800;padding:7px 10px;border-radius:10px}
.hrme-job-position-cards>article>div:not(.hrme-job-position-meta):not(.hrme-table-wrap){display:flex;justify-content:space-between;gap:10px;padding:10px 0}
.hrme-job-position-cards small{color:var(--muted)}
.hrme-job-position-meta{display:flex;gap:8px;flex-wrap:wrap;padding:8px 0 12px}
.hrme-job-position-meta span{font-size:11px;background:#f8fafc;border:1px solid var(--line);border-radius:999px;padding:5px 9px}
.hrme-eval-wrap{display:grid;gap:16px}
.hrme-eval-version{border:1px solid var(--line);border-radius:18px;padding:18px;background:#fff}
.hrme-eval-version.active{border-color:#c7d2fe;box-shadow:0 10px 30px rgba(79,70,229,.06)}
.hrme-eval-version>header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.hrme-eval-version h3{margin:8px 0 4px;font-size:19px}.hrme-eval-version p{margin:0;color:var(--muted)}
.hrme-eval-meta{text-align:left}.hrme-eval-meta small{display:block;color:var(--muted);margin-bottom:3px}
.hrme-eval-factors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hrme-eval-factors>section{border:1px solid var(--line);border-radius:14px;padding:13px;background:#fafbff}
.hrme-eval-factor-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.hrme-eval-factor-head strong{color:#4f46e5}
.hrme-eval-subfactors{display:grid;gap:7px}.hrme-eval-subfactors>span{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr auto;gap:8px;padding:7px 9px;border-radius:9px;background:#fff;border:1px solid #eef0f4}
.hrme-eval-subfactors>span>i{position:absolute;inset:0 auto 0 0;background:#eef2ff;z-index:0}.hrme-eval-subfactors b,.hrme-eval-subfactors em{position:relative;z-index:1;font-size:11px}.hrme-eval-subfactors em{font-style:normal}
.hrme-eval-ranges{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.hrme-eval-ranges h4{margin:0 0 10px}.hrme-eval-ranges>div{display:flex;gap:8px;flex-wrap:wrap}
.hrme-eval-ranges span{display:flex;flex-direction:column;gap:2px;border:1px solid var(--line);border-radius:10px;padding:7px 10px;background:#fff}.hrme-eval-ranges small{color:var(--muted)}
@media(max-width:1100px){.hrme-jobs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-eval-factors{grid-template-columns:1fr}}
@media(max-width:782px){.hrme-jobs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-jobs-toolbar .hrme-searchbox{flex-basis:100%}.hrme-eval-version>header{flex-direction:column}.hrme-job-bullets>div{grid-template-columns:28px minmax(0,1fr)}.hrme-job-bullets>div>em{grid-column:2}}

/* Education & Learning Center */
.hrme-edu-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-edu-card-head{gap:18px;flex-wrap:wrap}.hrme-edu-tabs{flex-wrap:wrap}
.hrme-edu-toolbar{flex-wrap:wrap}.hrme-edu-toolbar .hrme-searchbox{min-width:320px;flex:1}
.hrme-mini-tag{display:inline-block;font-size:10px;padding:3px 7px;border-radius:999px;background:#eef2ff;color:#4338ca;margin:2px}
.hrme-edu-eval{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hrme-edu-eval>article{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}
.hrme-edu-eval>article>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:10px}
.hrme-edu-eval>article h3{margin:0 0 4px;font-size:15px}.hrme-edu-eval>article small{color:var(--muted)}
.hrme-edu-eval>article>header>b{background:#eef2ff;color:#4338ca;padding:6px 9px;border-radius:10px}
.hrme-edu-eval>article>div{display:grid;gap:7px}.hrme-edu-eval>article>div>span{display:flex;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid #eef0f4;border-radius:10px;background:#fafbff}
.hrme-edu-eval em{font-style:normal;color:var(--muted);font-size:11px}
.hrme-edu-weight{grid-column:1/-1}.hrme-edu-weight>div{display:flex;gap:8px;flex-wrap:wrap}.hrme-edu-weight span{display:flex;gap:12px;align-items:center;border:1px solid var(--line);padding:8px 11px;border-radius:10px}
.hrme-session-list{display:grid;gap:10px}.hrme-session-list article{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:13px}
.hrme-session-list article>i{font-style:normal;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eef2ff;color:#4338ca;font-weight:800}
.hrme-session-list article>div{display:flex;flex-direction:column;gap:3px}.hrme-session-list article>div span{color:var(--muted);font-size:12px}.hrme-session-list article>strong{font-size:12px}
@media(max-width:1200px){.hrme-edu-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.hrme-edu-eval{grid-template-columns:1fr}.hrme-edu-toolbar .hrme-searchbox{min-width:100%;flex-basis:100%}}
@media(max-width:600px){.hrme-edu-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Exam & Assessment Center */
.hrme-exam-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-exam-card-head{gap:16px;flex-wrap:wrap}.hrme-exam-toolbar{flex-wrap:wrap}
.hrme-exam-editor-box{width:min(980px,96vw)}
.hrme-exam-builder-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 12px;padding-top:18px;border-top:1px solid var(--line)}
.hrme-exam-builder-head h3{margin:0 0 4px}.hrme-exam-builder-head small{color:var(--muted)}
.hrme-question-item{border:1px solid var(--line);border-radius:16px;padding:15px;margin-bottom:12px;background:#fafbff}
.hrme-question-item>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.hrme-question-remove{border:0;background:#fff0f0;color:#dc2626;width:30px;height:30px;border-radius:9px;font-size:20px;cursor:pointer}
.q-option-row{display:grid;grid-template-columns:1fr 28px;gap:8px;align-items:center}.q-option-row input[type=radio]{width:18px;height:18px}
.q-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px}.q-truefalse{display:flex;gap:16px;margin-top:12px}.q-truefalse[hidden],.q-options[hidden]{display:none!important}
.hrme-row-actions{display:flex;gap:6px}.hrme-btn.mini{padding:7px 10px;font-size:11px}.hrme-score-ring{display:inline-grid;place-items:center;width:52px;height:34px;border-radius:12px;background:#eef2ff;color:#4338ca}
.hrme-exam-take-box{width:min(900px,96vw)}.hrme-exam-live-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:16px}.hrme-exam-live-head h2{margin:4px 0}.hrme-exam-live-head p{margin:0;color:var(--muted)}
.hrme-exam-timer{font-size:22px;font-weight:900;background:#111827;color:#fff;border-radius:13px;padding:10px 14px;min-width:92px;text-align:center;direction:ltr}
.hrme-live-question{border:1px solid var(--line);border-radius:16px;padding:16px;margin-bottom:12px;background:#fff}.hrme-live-question header{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px}.hrme-live-question header>span{width:30px;height:30px;border-radius:9px;background:#eef2ff;color:#4338ca;display:grid;place-items:center;font-weight:800}.hrme-live-question h3{margin:2px 0;font-size:15px;line-height:1.8}
.hrme-live-question>div{display:grid;gap:8px}.hrme-live-question label{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:11px;padding:10px 12px;cursor:pointer}.hrme-live-question label:hover{background:#f8fafc}.hrme-live-question input{width:18px;height:18px}
.hrme-btn.wide{width:100%;padding:13px}
.hrme-exam-result-final{text-align:center;padding:50px 20px}.hrme-exam-result-final>span{font-size:64px;width:64px;height:64px}.hrme-exam-result-final.pass>span,.hrme-exam-result-final.pass>b{color:#059669}.hrme-exam-result-final.fail>span,.hrme-exam-result-final.fail>b{color:#dc2626}.hrme-exam-result-final h2{font-size:28px;margin:12px 0 6px}.hrme-exam-result-final>b{font-size:48px;display:block}.hrme-exam-result-final p{color:var(--muted)}
.hrme-status.danger{background:#fef2f2;color:#b91c1c;border-color:#fecaca}
@media(max-width:1200px){.hrme-exam-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-exam-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.q-options{grid-template-columns:1fr}.hrme-exam-live-head{flex-direction:column}.hrme-exam-timer{align-self:stretch}.hrme-exam-tabs{overflow:auto;flex-wrap:nowrap}.hrme-exam-tabs button{white-space:nowrap}}


/* HSE & PPE Center */
.hrme-hse-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-hse-card-head{gap:16px;flex-wrap:wrap}.hrme-hse-toolbar{flex-wrap:wrap}
.hrme-hse-tabs{overflow:auto}.hrme-hse-tabs button{white-space:nowrap}
.hrme-legacy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hrme-legacy-grid>section{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}.hrme-legacy-grid>section:last-child{grid-column:1/-1}
.hrme-hse-legacy-stat{display:flex;align-items:center;gap:14px;padding:18px;background:#f8fafc;border-radius:14px}.hrme-hse-legacy-stat b{font-size:30px;color:#4f46e5}.hrme-hse-legacy-stat span{color:var(--muted)}
.hrme-hse-incident-card{border:1px solid var(--line);border-radius:13px;padding:12px;margin-bottom:8px;background:#fafbff}.hrme-hse-incident-card b{display:block;margin-bottom:4px}.hrme-hse-incident-card span{display:block;color:var(--muted);font-size:12px}.hrme-hse-incident-card p{margin:8px 0 0;line-height:1.8}
@media(max-width:1200px){.hrme-hse-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-hse-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-legacy-grid{grid-template-columns:1fr}.hrme-legacy-grid>section:last-child{grid-column:auto}}


/* Suggestion & Innovation Center */
.hrme-ideas-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-ideas-card-head{gap:16px;flex-wrap:wrap}.hrme-ideas-tabs{overflow:auto}.hrme-ideas-tabs button{white-space:nowrap}
.hrme-idea-editor{width:min(850px,96vw)}
.hrme-idea-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.hrme-idea-card{border:1px solid var(--line);border-radius:18px;padding:15px;background:#fff;cursor:pointer;transition:.18s ease;display:flex;flex-direction:column;min-height:245px}.hrme-idea-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(15,23,42,.08);border-color:#c7d2fe}
.hrme-idea-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.hrme-idea-card h3{margin:4px 0 0;font-size:15px;line-height:1.7}.hrme-idea-card header small{color:var(--muted)}
.hrme-idea-card>p{color:#475569;line-height:1.9;flex:1}.hrme-idea-tags{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 13px}.hrme-idea-tags span{font-size:10px;border-radius:999px;padding:4px 8px;background:#f1f5f9;color:#475569}
.hrme-idea-card>footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:11px}.hrme-idea-card>footer>div:first-child{display:flex;flex-direction:column}.hrme-idea-card footer small{color:var(--muted)}
.hrme-idea-score{width:44px;height:44px;border-radius:13px;background:#eef2ff;color:#4338ca;display:flex;flex-direction:column;align-items:center;justify-content:center}.hrme-idea-score b{font-size:18px}.hrme-idea-score small{font-size:8px}
.hrme-rich-text{white-space:pre-wrap;line-height:2;color:#334155}.hrme-danger-text{color:#b91c1c!important}
@media(max-width:1200px){.hrme-ideas-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hrme-idea-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){.hrme-ideas-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-idea-grid{grid-template-columns:1fr}}


/* Recognition & Discipline Center */
.hrme-discipline-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-discipline-card-head{gap:16px;flex-wrap:wrap}.hrme-discipline-tabs{overflow:auto}.hrme-discipline-tabs button{white-space:nowrap}
.hrme-disc-type{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.hrme-disc-type.reward{background:#ecfdf5;color:#047857}.hrme-disc-type.punishment{background:#fef2f2;color:#b91c1c}.hrme-disc-type .dashicons{font-size:15px;width:15px;height:15px}
@media(max-width:1200px){.hrme-discipline-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-discipline-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-discipline-tabs{flex-wrap:nowrap}}

/* Meetings & Committees */
.hrme-meeting-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-meeting-card-head{gap:16px;flex-wrap:wrap}.hrme-meeting-tabs{overflow:auto}.hrme-meeting-tabs button{white-space:nowrap}.hrme-meeting-editor{width:min(900px,96vw)}
.hrme-meeting-members{display:flex;gap:8px;flex-wrap:wrap}.hrme-meeting-members>span{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:6px 10px;background:#fff}.hrme-meeting-members i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#eef2ff;color:#4338ca;font-style:normal;font-weight:800}.hrme-meeting-members b{font-size:11px}
@media(max-width:1200px){.hrme-meeting-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-meeting-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-meeting-tabs{flex-wrap:nowrap}}


/* v1.5.1 — Universal module drawer fix */
.hrme-drawer{
    align-items:stretch;
}
.hrme-drawer>aside{
    position:relative;
    z-index:2;
    width:min(860px,92vw);
    max-width:92vw;
    height:100dvh;
    min-height:100vh;
    margin:0;
    background:#f6f7fb;
    box-shadow:-24px 0 70px rgba(15,23,42,.20);
    overflow:hidden;
    display:flex;
    flex-direction:column;
    animation:hrmeUniversalDrawerIn .22s ease;
    direction:rtl;
    text-align:right;
}
.hrme-drawer>aside>.hrme-drawer-head{
    flex:0 0 auto;
    min-height:92px;
    padding:22px 24px 18px 64px;
    background:#fff;
    border-bottom:1px solid var(--hrme-line);
    position:relative;
    overflow:hidden;
}
.hrme-drawer>aside>.hrme-drawer-head h2{
    margin:5px 0 6px;
    font-size:21px;
    line-height:1.55;
    color:var(--hrme-text);
    overflow-wrap:anywhere;
}
.hrme-drawer>aside>.hrme-drawer-head p,
.hrme-drawer>aside>.hrme-drawer-head small{
    margin:0;
    color:var(--hrme-muted);
    line-height:1.8;
    overflow-wrap:anywhere;
}
.hrme-drawer>aside>.hrme-drawer-body{
    flex:1 1 auto;
    min-height:0;
    width:100%;
    max-width:100%;
    padding:16px;
    overflow-y:auto;
    overflow-x:hidden;
    box-sizing:border-box;
}
.hrme-drawer>aside .hrme-dossier-section,
.hrme-drawer>aside .hrme-dossier-metrics,
.hrme-drawer>aside .hrme-dossier-columns,
.hrme-drawer>aside .hrme-table-wrap{
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
}
.hrme-drawer>aside .hrme-table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}
.hrme-drawer>aside .hrme-table{
    width:100%;
}
.hrme-drawer>aside .hrme-rich-text,
.hrme-drawer>aside p,
.hrme-drawer>aside b,
.hrme-drawer>aside span,
.hrme-drawer>aside small{
    overflow-wrap:anywhere;
    word-break:normal;
}
.hrme-drawer>aside>.hrme-drawer-close{
    position:absolute;
    z-index:10;
    left:16px;
    top:16px;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid #e3e6ed;
    border-radius:50%;
    background:#fff;
    color:#334155;
    box-shadow:0 5px 16px rgba(15,23,42,.08);
    font-size:25px;
    line-height:1;
    cursor:pointer;
}
.hrme-drawer>aside>.hrme-drawer-close:hover{
    background:#f1f5f9;
}
.hrme-drawer>aside .hrme-dossier-metrics{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.hrme-drawer>aside .hrme-dossier-columns{
    grid-template-columns:1fr 1fr;
}
body.hrme-drawer-open{
    overflow:hidden!important;
}
@keyframes hrmeUniversalDrawerIn{
    from{transform:translateX(36px);opacity:.6}
    to{transform:translateX(0);opacity:1}
}
@media(max-width:900px){
    .hrme-drawer>aside{
        width:min(720px,96vw);
        max-width:96vw;
    }
    .hrme-drawer>aside .hrme-dossier-columns{
        grid-template-columns:1fr;
    }
}
@media(max-width:600px){
    .hrme-drawer>aside{
        width:100vw;
        max-width:100vw;
    }
    .hrme-drawer>aside>.hrme-drawer-head{
        padding:18px 16px 15px 58px;
        min-height:82px;
    }
    .hrme-drawer>aside>.hrme-drawer-body{
        padding:10px;
    }
    .hrme-drawer>aside .hrme-dossier-metrics{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
    }
}


/* v1.5.4 — Jalali date inputs */
.hrme-jalali-date{
    direction:ltr!important;
    text-align:center!important;
    font-variant-numeric:tabular-nums;
    letter-spacing:.2px;
}
.hrme-jalali-date::placeholder{
    color:#94a3b8;
    opacity:1;
}
.hrme-jalali-date:focus{
    direction:ltr!important;
}

/* Actions & Tasks Center */
.hrme-action-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-action-card-head{gap:16px;flex-wrap:wrap}.hrme-action-tabs{overflow:auto}.hrme-action-tabs button{white-space:nowrap}.hrme-action-editor{width:min(920px,96vw)}
.hrme-detail-list{display:grid;gap:8px}.hrme-detail-list span{display:flex;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:#fff}.hrme-detail-list b{color:#64748b;font-size:11px}
@media(max-width:1200px){.hrme-action-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-action-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-action-tabs{flex-wrap:nowrap}}

/* Business Process & KPI Center */
.hrme-process-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-process-card-head{gap:16px;flex-wrap:wrap}.hrme-process-tabs{overflow:auto}.hrme-process-tabs button{white-space:nowrap}
.hrme-process-level{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800}.hrme-process-level.base{background:#ede9fe;color:#6d28d9}.hrme-process-level.one{background:#e0f2fe;color:#0369a1}.hrme-process-level.two{background:#ecfdf5;color:#047857}
.hrme-process-child-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hrme-process-child-grid button{border:1px solid var(--line);border-radius:12px;background:#fff;padding:11px;text-align:right;cursor:pointer;display:flex;flex-direction:column;gap:5px}.hrme-process-child-grid button:hover{border-color:#c7d2fe;background:#fafaff}.hrme-process-child-grid code{font-size:10px;color:#64748b}
.hrme-process-text-list{display:grid;gap:8px}.hrme-process-text-list>div{display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:start;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}.hrme-process-text-list i{font-style:normal;background:#eef2ff;color:#4338ca;width:27px;height:27px;border-radius:8px;display:grid;place-items:center;font-size:10px}.hrme-process-text-list p{margin:0;line-height:1.9}
@media(max-width:1200px){.hrme-process-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-process-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-process-tabs{flex-wrap:nowrap}.hrme-process-child-grid{grid-template-columns:1fr}}

/* v1.7.1 CRUD controls */
.hrme-row-open.danger{color:#b91c1c;border-color:#fecaca;background:#fff7f7}
.hrme-inline-actions{display:flex;gap:7px;flex-wrap:wrap}


/* v1.7.2 — Legacy direct editor */
.hrme-legacy-editor-box{width:min(1000px,96vw);max-height:92vh;overflow:auto}
.hrme-legacy-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 12px;margin:8px 0 14px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}
.hrme-legacy-meta span{font-weight:800}.hrme-legacy-meta code{direction:ltr}.hrme-legacy-meta small{color:var(--muted)}
.hrme-legacy-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hrme-legacy-fields label{display:flex;flex-direction:column;gap:6px}.hrme-legacy-fields label.span-2{grid-column:1/-1}
.hrme-legacy-fields label>span{font-size:11px;color:#64748b;font-weight:700}
.hrme-legacy-fields input,.hrme-legacy-fields textarea{width:100%;box-sizing:border-box}
.hrme-legacy-fields textarea{min-height:100px}
.hrme-legacy-fields [readonly]{background:#f1f5f9;color:#64748b}
.hrme-legacy-note{font-size:11px;color:#64748b;border-top:1px solid var(--line);padding-top:10px}
@media(max-width:700px){.hrme-legacy-fields{grid-template-columns:1fr}.hrme-legacy-fields label.span-2{grid-column:auto}}

/* Knowledge Management */
.hrme-knowledge-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-knowledge-card-head{gap:16px;flex-wrap:wrap}.hrme-knowledge-tabs{overflow:auto}.hrme-knowledge-tabs button{white-space:nowrap}.hrme-knowledge-editor{width:min(980px,96vw)}
.hrme-knowledge-tags,.hrme-knowledge-members{display:flex;gap:7px;flex-wrap:wrap}.hrme-knowledge-tags span,.hrme-knowledge-members span{border:1px solid var(--line);background:#f8fafc;border-radius:999px;padding:6px 10px;font-size:11px}
.hrme-knowledge-files{display:grid;gap:8px}.hrme-knowledge-files>div{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto auto;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:9px 10px;background:#fff}.hrme-knowledge-files button{border:0;background:transparent;cursor:pointer;font-size:11px}.hrme-knowledge-files button.danger{color:#b91c1c}
@media(max-width:1200px){.hrme-knowledge-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-knowledge-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-knowledge-tabs{flex-wrap:nowrap}.hrme-knowledge-files>div{grid-template-columns:24px 1fr auto}.hrme-knowledge-files small{display:none}}

/* Documents & Library */
.hrme-docs-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-docs-card-head{gap:16px;flex-wrap:wrap}.hrme-docs-tabs{overflow:auto}.hrme-docs-tabs button{white-space:nowrap}.hrme-book-editor{width:min(920px,96vw)}
@media(max-width:1200px){.hrme-docs-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:782px){.hrme-docs-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-docs-tabs{flex-wrap:nowrap}}

/* IT Service Desk */
.hrme-it-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-it-card-head{gap:16px;flex-wrap:wrap}.hrme-it-tabs{overflow:auto}.hrme-it-tabs button{white-space:nowrap}.hrme-it-editor{width:min(900px,96vw)}
.hrme-it-settings-tabs{display:flex;gap:7px;margin-bottom:12px}.hrme-it-settings-tabs button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 11px;cursor:pointer}.hrme-it-settings-tabs button.active{background:#111827;color:#fff}
.hrme-it-setting-form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;margin-bottom:12px}.hrme-it-setting-form input,.hrme-it-setting-form select{min-width:0}
@media(max-width:1200px){.hrme-it-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-it-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-it-tabs{flex-wrap:nowrap}.hrme-it-setting-form{grid-template-columns:1fr}}

/* Complaints + Customer/Sales CRM */
.hrme-complaint-kpis,.hrme-customer-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-complaint-editor{width:min(960px,96vw)}
@media(max-width:1200px){.hrme-complaint-kpis,.hrme-customer-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-complaint-kpis,.hrme-customer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Production Management */
.hrme-prod-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-prod-card-head{gap:16px;flex-wrap:wrap}.hrme-prod-tabs{overflow:auto}.hrme-prod-tabs button{white-space:nowrap}.hrme-prod-editor{width:min(980px,96vw)}
.hrme-quality-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hrme-quality-grid>div{border:1px solid var(--line);border-radius:12px;padding:12px;text-align:center;background:#fff}.hrme-quality-grid b{display:block;font-size:20px}.hrme-quality-grid span{font-size:11px;color:#64748b}
.hrme-pagination{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px}.hrme-pagination button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 12px;cursor:pointer}.hrme-pagination button:disabled{opacity:.4;cursor:default}
@media(max-width:1200px){.hrme-prod-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-prod-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-prod-tabs{flex-wrap:nowrap}.hrme-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Executive Dashboard */
.hrme-exec-kpis{grid-template-columns:repeat(8,minmax(0,1fr))}.hrme-exec-kpi em{display:block;font-style:normal;font-size:10px;color:#64748b;margin-top:3px}
.hrme-exec-alerts{display:grid;gap:8px;margin-bottom:12px}.hrme-exec-alerts>div{display:flex;gap:9px;align-items:flex-start;border:1px solid var(--line);border-radius:13px;padding:10px 12px;background:#fff}.hrme-exec-alerts p{margin:0;font-size:11px;line-height:1.8}.hrme-exec-alerts .info{background:#eff6ff}.hrme-exec-alerts .neutral{background:#f8fafc}
.hrme-exec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.hrme-exec-wide{grid-column:1/-1}.hrme-exec-bottom{margin-top:12px}
.hrme-exec-rows>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:10px 2px}.hrme-exec-rows>div:last-child{border-bottom:0}.hrme-exec-rows span{font-size:11px;color:#64748b}.hrme-exec-rows b{font-size:14px}
.hrme-bar-chart{height:280px;display:flex;align-items:flex-end;gap:7px;padding:18px 4px 0;overflow-x:auto}.hrme-bar-col{height:100%;min-width:42px;display:grid;grid-template-rows:20px 1fr 26px;text-align:center;align-items:end}.hrme-bar-value{font-size:9px;color:#64748b}.hrme-bar-track{height:100%;position:relative;background:#f1f5f9;border-radius:8px 8px 3px 3px;overflow:hidden}.hrme-bar-track i{position:absolute;bottom:0;left:0;right:0;background:#111827;border-radius:7px 7px 2px 2px}.hrme-bar-col span{font-size:9px;direction:ltr;transform:rotate(-35deg);white-space:nowrap}
.hrme-rank-bars{display:grid;gap:10px}.hrme-rank-bars>div{display:grid;grid-template-columns:28px minmax(170px,1fr) minmax(120px,2fr) 100px;align-items:center;gap:10px}.hrme-rank-bars .rank{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#f1f5f9;font-weight:800}.hrme-rank-bars .name b,.hrme-rank-bars .name small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hrme-rank-bars .name small{color:#64748b;font-size:9px}.hrme-rank-bars .bar{height:8px;background:#f1f5f9;border-radius:99px;overflow:hidden}.hrme-rank-bars .bar i{display:block;height:100%;background:#111827;border-radius:99px}.hrme-rank-bars strong{font-size:11px;text-align:left}
.hrme-attention-list{display:grid;gap:8px}.hrme-attention-list>div{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:10px 12px}.hrme-attention-list p{margin:3px 0 0;font-size:10px;color:#64748b}.hrme-attention-list .danger{background:#fff7f7;border-color:#fecaca}.hrme-attention-list .warn{background:#fffbeb;border-color:#fde68a}.hrme-attention-list .info{background:#eff6ff;border-color:#bfdbfe}
@media(max-width:1350px){.hrme-exec-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.hrme-exec-grid{grid-template-columns:1fr}.hrme-exec-wide{grid-column:auto}.hrme-rank-bars>div{grid-template-columns:28px minmax(130px,1fr) 1fr 76px}}@media(max-width:650px){.hrme-exec-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-bar-chart{height:230px}}

.hrme-dashboard-shortcuts{margin-top:12px}

.hrme-dashboard-error{padding:18px!important}.hrme-dashboard-error h2{font-size:14px}.hrme-dashboard-error p{font-size:11px;color:#64748b;direction:rtl}

/* Orders, Invoices & Tax */
.hrme-orders-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-orders-card-head{gap:16px;flex-wrap:wrap}.hrme-orders-tabs{overflow:auto}.hrme-orders-tabs button{white-space:nowrap}.hrme-order-editor{width:min(960px,96vw)}
.hrme-table-actions{display:flex;justify-content:flex-end;margin-bottom:10px}.hrme-negative{color:#b91c1c;font-weight:800}
@media(max-width:1200px){.hrme-orders-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-orders-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-orders-tabs{flex-wrap:nowrap}}

/* Finance & Accounting */
.hrme-fin-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-fin-card-head{gap:16px;flex-wrap:wrap}.hrme-fin-tabs{overflow:auto}.hrme-fin-tabs button{white-space:nowrap}
@media(max-width:1200px){.hrme-fin-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.hrme-fin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-fin-tabs{flex-wrap:nowrap}}

/* Reports & Report Builder */
.hrme-report-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-report-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hrme-report-preset{border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px;text-align:right;cursor:pointer;display:grid;grid-template-columns:32px 1fr;gap:3px 10px;align-items:center}
.hrme-report-preset:hover{border-color:#94a3b8;box-shadow:0 5px 18px rgba(15,23,42,.06)}
.hrme-report-preset>.dashicons{grid-row:1/3;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#f1f5f9}
.hrme-report-preset b{font-size:12px}.hrme-report-preset small{font-size:9px;color:#64748b}
.hrme-report-builder-card{margin-top:12px}.hrme-report-builder-grid{display:grid;grid-template-columns:320px 1fr;gap:18px}.hrme-report-controls{display:grid;gap:10px}.hrme-report-controls label,.hrme-report-save-modal label{display:grid;gap:5px}.hrme-report-controls label span{font-size:10px;color:#64748b}
.hrme-report-fields-wrap{border:1px solid var(--line);border-radius:13px;padding:12px}.hrme-report-fields-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.hrme-report-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.hrme-report-fields label{display:flex;align-items:center;gap:6px;border:1px solid #eef2f7;border-radius:9px;padding:7px 8px;font-size:10px;background:#fff}
.hrme-report-run-actions{justify-content:flex-start}.hrme-report-table-wrap{max-height:520px;overflow:auto}.hrme-report-table-wrap thead th{position:sticky;top:0;z-index:2;background:#f8fafc}
@media(max-width:1200px){.hrme-report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hrme-report-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.hrme-report-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.hrme-report-builder-grid{grid-template-columns:1fr}.hrme-report-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hrme-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-report-presets{grid-template-columns:1fr}.hrme-report-fields{grid-template-columns:1fr}}

/* Master Data */
.hrme-base-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
.hrme-base-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:12px;margin-top:12px}.hrme-base-nav{align-self:start;position:sticky;top:16px}.hrme-base-categories{display:grid;gap:5px;max-height:650px;overflow:auto}.hrme-base-categories button{border:1px solid transparent;background:#f8fafc;border-radius:10px;padding:9px 10px;display:flex;justify-content:space-between;align-items:center;text-align:right;cursor:pointer}.hrme-base-categories button span{font-size:10px}.hrme-base-categories button b{font-size:10px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:2px 6px}.hrme-base-categories button.active{background:#111827;color:#fff}.hrme-base-categories button.active b{color:#111827}
@media(max-width:1100px){.hrme-base-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hrme-base-layout{grid-template-columns:220px 1fr}}
@media(max-width:782px){.hrme-base-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-base-layout{grid-template-columns:1fr}.hrme-base-nav{position:static}.hrme-base-categories{display:flex;overflow:auto;max-height:none}.hrme-base-categories button{min-width:130px}}

/* Users, Roles & Access Control */
.hrme-access-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.hrme-access-editor{width:min(1080px,96vw);max-height:92vh;overflow:auto}
.hrme-access-toolbar-head{gap:15px}.hrme-access-legend{display:flex;gap:12px;font-size:9px;color:#64748b}.hrme-access-legend span{display:flex;align-items:center;gap:5px}.hrme-access-legend i{width:8px;height:8px;border-radius:99px}.hrme-access-legend .view{background:#3b82f6}.hrme-access-legend .manage{background:#16a34a}
.hrme-access-count{display:inline-block;border-radius:7px;padding:3px 6px;font-size:8px;margin-left:3px}.hrme-access-count.manage{background:#dcfce7;color:#166534}.hrme-access-count.view{background:#dbeafe;color:#1d4ed8}
.hrme-access-section{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.hrme-access-section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.hrme-access-section-head b,.hrme-access-section-head small{display:block}.hrme-access-section-head small{font-size:9px;color:#64748b;margin-top:3px}
.hrme-module-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.hrme-module-access-item{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #e5e7eb;border-radius:10px;padding:8px;background:#fff}.hrme-module-access-item>div{display:flex;align-items:center;gap:7px;min-width:0}.hrme-module-access-item b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hrme-module-access-item select{width:130px;font-size:9px;padding:5px 7px}
@media(max-width:1100px){.hrme-access-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.hrme-access-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-module-access-grid{grid-template-columns:1fr}.hrme-access-section-head{align-items:flex-start;flex-direction:column}}

/* Navigation Manager */
.hrme-navmgr-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.hrme-navmgr-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hrme-navmgr-group{border:1px solid var(--line);border-radius:14px;background:#f8fafc;overflow:hidden}.hrme-navmgr-group-head{display:flex;justify-content:space-between;align-items:center;padding:10px;border-bottom:1px solid var(--line);background:#fff}.hrme-navmgr-group-head>div{display:flex;align-items:center;gap:7px}.hrme-navmgr-group-head input[type=text],.hrme-navmgr-group-head input:not([type]){border:0;font-weight:800;background:transparent;max-width:180px}.hrme-navmgr-group-head label{font-size:9px;color:#64748b;display:flex;align-items:center;gap:5px}.hrme-navmgr-items{min-height:58px;padding:7px;display:grid;gap:6px}.hrme-navmgr-item{display:grid;grid-template-columns:22px 26px minmax(110px,1fr) 120px 72px 70px;gap:6px;align-items:center;border:1px solid #e5e7eb;border-radius:10px;background:#fff;padding:7px;cursor:grab}.hrme-navmgr-item.dragging{opacity:.45}.hrme-navmgr-handle{color:#94a3b8}.hrme-navmgr-icon{display:grid;place-items:center}.hrme-navmgr-label{font-size:10px;padding:6px}.hrme-navmgr-item select{font-size:9px;padding:5px}.hrme-switch-line{display:flex;align-items:center;gap:4px;font-size:9px}.hrme-navmgr-item small{font-size:8px;color:#64748b;white-space:nowrap}.hrme-navmgr-cover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}.hrme-navmgr-cover-grid>div{border:1px solid var(--line);border-radius:12px;padding:12px}.hrme-navmgr-cover-grid b,.hrme-navmgr-cover-grid span{display:block}.hrme-navmgr-cover-grid b{font-size:22px}.hrme-navmgr-cover-grid span{font-size:9px;color:#64748b;margin-top:3px}
@media(max-width:1250px){.hrme-navmgr-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hrme-navmgr-groups{grid-template-columns:1fr}}
@media(max-width:760px){.hrme-navmgr-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-navmgr-item{grid-template-columns:22px 26px 1fr 80px}.hrme-navmgr-item select{grid-column:3/5}.hrme-navmgr-item small{display:none}.hrme-navmgr-cover-grid{grid-template-columns:1fr}}

/* Audit Trail */
.hrme-audit-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.hrme-audit-toolbar{flex-wrap:wrap}.hrme-audit-toolbar input[type=date]{max-width:145px}.hrme-audit-list{display:grid}.hrme-audit-row{width:100%;display:grid;grid-template-columns:14px minmax(0,1fr) 170px 26px;gap:10px;align-items:center;background:#fff;border:0;border-bottom:1px solid #edf1f5;padding:11px 8px;text-align:right;cursor:pointer}.hrme-audit-row:hover{background:#f8fafc}.hrme-audit-dot{width:9px;height:9px;border-radius:99px;background:#94a3b8}.hrme-audit-dot.security,.hrme-audit-badge.security{background:#ede9fe;color:#6d28d9}.hrme-audit-dot.create,.hrme-audit-badge.create{background:#dcfce7;color:#166534}.hrme-audit-dot.update,.hrme-audit-badge.update{background:#dbeafe;color:#1d4ed8}.hrme-audit-dot.delete,.hrme-audit-badge.delete{background:#fee2e2;color:#b91c1c}.hrme-audit-dot.migration,.hrme-audit-badge.migration{background:#fef3c7;color:#92400e}.hrme-audit-dot.legacy,.hrme-audit-badge.legacy{background:#f1f5f9;color:#475569}.hrme-audit-main>div{display:flex;gap:7px;align-items:center}.hrme-audit-main b{font-size:11px}.hrme-audit-main p{font-size:9px;margin:3px 0;color:#334155}.hrme-audit-main small{font-size:8px;color:#94a3b8}.hrme-audit-source{border:1px solid #e2e8f0;border-radius:99px;padding:2px 6px;color:#64748b!important}.hrme-audit-time{text-align:left}.hrme-audit-time b,.hrme-audit-time small{display:block}.hrme-audit-time b{font-size:9px}.hrme-audit-time small{font-size:8px;color:#64748b;margin-top:3px}.hrme-audit-detail-box{width:min(1000px,96vw);max-height:92vh;overflow:auto}.hrme-audit-detail-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:15px}.hrme-audit-detail-head small,.hrme-audit-detail-head p{color:#64748b}.hrme-audit-detail-head h2{margin:3px 0}.hrme-audit-badge{border-radius:99px;padding:5px 9px;font-size:9px;background:#f1f5f9}.hrme-audit-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.hrme-audit-compare>section{border:1px solid var(--line);border-radius:12px;padding:10px}.hrme-audit-compare h3{font-size:11px;margin:0 0 8px}.hrme-audit-data{display:grid;gap:5px;max-height:320px;overflow:auto}.hrme-audit-data>div{display:grid;grid-template-columns:130px 1fr;gap:8px;border-bottom:1px solid #f1f5f9;padding:5px 0}.hrme-audit-data span{font-size:8px;color:#64748b}.hrme-audit-data b{font-size:9px;word-break:break-word}
@media(max-width:1100px){.hrme-audit-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.hrme-audit-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-audit-row{grid-template-columns:12px 1fr 24px}.hrme-audit-time{grid-column:2;text-align:right}.hrme-audit-compare{grid-template-columns:1fr}}


/* =========================================================
   v3.1.0 — Final QA + Mobile Web-App Layer
   ========================================================= */
html.hrme-scroll-lock{overflow:hidden!important}
.hrme-app{min-height:100dvh}
.hrme-mobile-nav{padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right))}
.hrme-mobile-nav a.active{color:var(--hrme-brand,#6554ff);font-weight:800}
.hrme-mobile-nav a.active .dashicons{transform:translateY(-1px)}
.hrme-table td[data-label]::before{content:none}

@media(max-width:900px){
    body:has(.hrme-front){overflow-x:hidden}
    .hrme-front{width:100%;max-width:100vw;min-height:100dvh;background:#f5f6fa;overflow-x:hidden}
    .hrme-front .hrme-main{min-height:100dvh}
    .hrme-front .hrme-content{width:100%;max-width:100%;padding:10px 10px calc(86px + env(safe-area-inset-bottom));box-sizing:border-box}

    .hrme-front .hrme-topbar{
        height:56px;min-height:56px;padding:0 max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));
        background:rgba(255,255,255,.92);backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);
        box-shadow:0 1px 0 rgba(15,23,42,.06);border-bottom:0
    }
    .hrme-front .hrme-menu-toggle{width:40px;height:40px;border-radius:13px;background:#f1f3f8;display:grid;place-items:center;flex:0 0 40px}
    .hrme-front .hrme-breadcrumb span{display:none}
    .hrme-front .hrme-breadcrumb b{font-size:12px;max-width:48vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .hrme-front .hrme-avatar{width:36px;height:36px;border-radius:12px}
    .hrme-front .hrme-logout{font-size:0;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#f7f7fa;text-decoration:none}
    .hrme-front .hrme-logout:after{content:"↩";font-size:18px;color:#667085}

    .hrme-front .hrme-side{
        width:min(88vw,340px);max-width:340px;height:100dvh;top:0;z-index:1003;border-radius:24px 0 0 24px;
        overflow:hidden;box-shadow:-28px 0 70px rgba(15,23,42,.28);padding-top:env(safe-area-inset-top)
    }
    .hrme-front.side-open:after{content:"";position:fixed;inset:0;background:rgba(15,23,42,.42);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);z-index:1002}
    .hrme-front .hrme-brand{padding-top:18px}
    .hrme-front .hrme-nav{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
    .hrme-front .hrme-nav-home,.hrme-front .hrme-nav-group-title,.hrme-front .hrme-nav-children a{min-height:44px}
    .hrme-front .hrme-side-search{position:sticky;top:0;z-index:3}

    .hrme-front .hrme-mobile-nav{
        display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:64px;bottom:max(8px,env(safe-area-inset-bottom));
        right:10px;left:10px;border:1px solid rgba(15,23,42,.08);border-radius:20px;overflow:hidden;background:rgba(255,255,255,.94);
        backdrop-filter:blur(20px) saturate(170%);-webkit-backdrop-filter:blur(20px) saturate(170%);
        box-shadow:0 12px 35px rgba(15,23,42,.14);z-index:1000;padding-bottom:0
    }
    .hrme-front .hrme-mobile-nav a,.hrme-front .hrme-mobile-nav button{min-width:0;min-height:56px;position:relative;-webkit-tap-highlight-color:transparent}
    .hrme-front .hrme-mobile-nav a.active:before{content:"";position:absolute;top:5px;width:28px;height:3px;border-radius:99px;background:currentColor}
    .hrme-front .hrme-mobile-nav .dashicons{font-size:20px;width:20px;height:20px}
    .hrme-front .hrme-mobile-nav small{font-size:8px;font-weight:700}

    .hrme-page-head{align-items:flex-start;gap:10px;margin:4px 0 10px}
    .hrme-page-head h1{font-size:18px;line-height:1.45;margin:3px 0}
    .hrme-page-head p{font-size:9px;line-height:1.8;margin:4px 0}
    .hrme-head-actions{display:flex;gap:6px;overflow:auto;max-width:100%;padding-bottom:2px;scrollbar-width:none}
    .hrme-head-actions::-webkit-scrollbar{display:none}
    .hrme-head-actions .hrme-btn{white-space:nowrap;min-height:40px}
    .hrme-card{border-radius:16px;padding:12px;box-shadow:0 4px 18px rgba(15,23,42,.035)}
    .hrme-card-head{align-items:flex-start;gap:8px}
    .hrme-card-head h2,.hrme-card-head h3{font-size:13px}
    .hrme-hero{padding:18px!important;border-radius:18px!important}
    .hrme-hero:after{opacity:.55}
    .hrme-hero p{font-size:9px;line-height:1.8}
    .hrme-hero-badge{display:none!important}

    .hrme-kpis,.hrme-action-kpis,.hrme-meeting-kpis,.hrme-production-kpis,.hrme-crm-kpis,.hrme-fin-kpis,.hrme-report-kpis,.hrme-base-kpis,.hrme-access-kpis,.hrme-navmgr-kpis,.hrme-audit-kpis{
        display:flex!important;overflow-x:auto;gap:8px!important;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none;padding-bottom:3px
    }
    .hrme-kpis::-webkit-scrollbar{display:none}
    .hrme-kpi{min-width:132px!important;width:132px!important;min-height:82px!important;scroll-snap-align:start;border-radius:15px!important;flex:0 0 132px;padding:11px!important}
    .hrme-kpi b{font-size:18px!important}
    .hrme-kpi small,.hrme-kpi span{font-size:8px}

    .hrme-toolbar{display:grid!important;grid-template-columns:1fr 1fr;gap:7px!important;align-items:stretch!important}
    .hrme-toolbar .hrme-searchbox{grid-column:1/-1;width:100%;max-width:none}
    .hrme-toolbar input,.hrme-toolbar select,.hrme-field input,.hrme-field select,.hrme-form-grid input,.hrme-form-grid select,.hrme-form-grid textarea{
        min-height:44px;font-size:16px;border-radius:12px;box-sizing:border-box
    }
    .hrme-form-grid textarea{min-height:96px}
    .hrme-toolbar>.hrme-btn{min-height:44px}
    .hrme-org-tabs,.hrme-action-tabs,.hrme-fin-tabs,.hrme-crm-tabs,.hrme-production-tabs{
        display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px;padding:2px 0 7px;scrollbar-width:none;scroll-snap-type:x proximity
    }
    .hrme-org-tabs::-webkit-scrollbar,.hrme-action-tabs::-webkit-scrollbar,.hrme-fin-tabs::-webkit-scrollbar,.hrme-crm-tabs::-webkit-scrollbar,.hrme-production-tabs::-webkit-scrollbar{display:none}
    .hrme-org-tabs button,.hrme-action-tabs button,.hrme-fin-tabs button,.hrme-crm-tabs button,.hrme-production-tabs button{white-space:nowrap;min-height:38px;border-radius:99px;padding:7px 12px;scroll-snap-align:start}

    .hrme-drawer{z-index:1100!important}
    .hrme-drawer>aside{width:100vw!important;max-width:100vw!important;height:100dvh!important;border-radius:0!important;padding-top:env(safe-area-inset-top)}
    .hrme-drawer>aside>.hrme-drawer-head{
        position:sticky;top:0;z-index:5;background:rgba(255,255,255,.95);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
        padding:14px 52px 12px 12px!important;min-height:66px!important;border-bottom:1px solid #eef1f5
    }
    .hrme-drawer>aside>.hrme-drawer-body{padding:10px 10px calc(24px + env(safe-area-inset-bottom))!important}
    .hrme-drawer-close{position:fixed!important;top:calc(12px + env(safe-area-inset-top))!important;right:10px!important;left:auto!important;z-index:1110!important}

    .hrme-modal{align-items:stretch!important;padding:0!important;background:rgba(15,23,42,.38)!important;z-index:1200!important}
    .hrme-modal-box{
        width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;
        padding:calc(58px + env(safe-area-inset-top)) 12px calc(18px + env(safe-area-inset-bottom))!important;box-sizing:border-box;overflow:auto!important
    }
    .hrme-modal-box>.hrme-modal-x{position:fixed!important;top:calc(12px + env(safe-area-inset-top))!important;left:12px!important;width:38px!important;height:38px!important;z-index:1210!important}
    .hrme-form-grid{grid-template-columns:1fr!important;gap:9px!important}
    .hrme-form-grid .span-2{grid-column:auto!important}
    .hrme-form-actions{
        position:sticky;bottom:0;z-index:6;background:rgba(255,255,255,.94);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);
        padding:9px 0 calc(4px + env(safe-area-inset-bottom));margin-top:12px
    }
    .hrme-form-actions .hrme-btn{min-height:44px;flex:1}

    .hrme-table-wrap{overflow:visible!important;max-width:100%!important}
    .hrme-table{display:block;width:100%!important;min-width:0!important;background:transparent!important}
    .hrme-table thead{display:none!important}
    .hrme-table tbody{display:grid!important;gap:8px!important;width:100%!important}
    .hrme-table tr{display:block!important;width:100%!important;background:#fff!important;border:1px solid #e9edf3!important;border-radius:15px!important;padding:6px 10px!important;box-sizing:border-box;box-shadow:0 3px 13px rgba(15,23,42,.035)}
    .hrme-table td{
        display:grid!important;grid-template-columns:minmax(82px,34%) 1fr!important;gap:8px!important;align-items:center!important;width:100%!important;
        box-sizing:border-box!important;border:0!important;border-bottom:1px solid #f1f3f7!important;padding:8px 2px!important;text-align:right!important;
        min-height:34px!important;white-space:normal!important;overflow-wrap:anywhere
    }
    .hrme-table td:last-child{border-bottom:0!important}
    .hrme-table td[data-label]::before{content:attr(data-label)!important;display:block!important;color:#8b95a7!important;font-size:8px!important;font-weight:700!important;line-height:1.4!important}
    .hrme-table td[colspan]{display:block!important;text-align:center!important}
    .hrme-table td[colspan]::before{display:none!important}
    .hrme-table .hrme-person{min-width:0}.hrme-table .hrme-person>div{min-width:0}
    .hrme-table .hrme-person b,.hrme-table .hrme-person small{white-space:normal!important;overflow-wrap:anywhere}
    .hrme-table td .hrme-row-open,.hrme-table td .hrme-btn{min-height:36px;margin:2px 0}

    .hrme-report-builder-grid,.hrme-base-layout,.hrme-navmgr-groups,.hrme-audit-compare,.hrme-org-layout,.hrme-production-layout{grid-template-columns:1fr!important}
    .hrme-report-fields,.hrme-module-access-grid{grid-template-columns:1fr!important}
    .hrme-base-nav{position:static!important}
    .hrme-base-categories{display:flex!important;overflow-x:auto!important;max-height:none!important;scrollbar-width:none}
    .hrme-base-categories button{min-width:125px!important}
    .hrme-navmgr-item{grid-template-columns:24px 24px 1fr!important;padding:9px!important}
    .hrme-navmgr-item select,.hrme-navmgr-item .hrme-switch-line{grid-column:3!important;width:100%!important}
    .hrme-navmgr-item small{display:block!important;grid-column:3!important}
    .hrme-audit-row{grid-template-columns:12px 1fr 22px!important;padding:10px 2px!important}
    .hrme-audit-time{grid-column:2!important;text-align:right!important}

    .hrme-btn,.hrme-row-open,button,a{touch-action:manipulation}
    .hrme-btn{min-height:40px}
    img,svg,canvas{max-width:100%}
    pre{max-width:100%;overflow:auto}
    .hrme-info-grid,.hrme-kv-grid,.hrme-dossier-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:520px){
    .hrme-front .hrme-content{padding-left:8px;padding-right:8px}
    .hrme-toolbar{grid-template-columns:1fr!important}
    .hrme-toolbar .hrme-searchbox{grid-column:auto}
    .hrme-page-head{display:block}
    .hrme-page-head .hrme-head-actions{margin-top:8px}
    .hrme-card{padding:10px}
    .hrme-info-grid,.hrme-kv-grid,.hrme-dossier-metrics{grid-template-columns:1fr 1fr!important}
    .hrme-login-shell{width:100%!important;min-height:100dvh!important;border-radius:0!important}
    .hrme-login-page{padding:0!important;min-height:100dvh!important}
    .hrme-login-card{border-radius:0!important}
}

/* GapGPT AI Dashboard */
.hrme-ai-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.hrme-ai-key-wrap{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center}
.hrme-ai-note{display:flex;gap:8px;align-items:flex-start;margin-top:12px;padding:10px;border-radius:12px;background:#f8fafc;color:#64748b}
.hrme-ai-note p{margin:0;font-size:9px;line-height:1.8}.hrme-ai-note .dashicons{color:#16a34a}
.hrme-ai-model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.hrme-ai-model-card{border:1px solid #e5e7eb;border-radius:13px;background:#fff;padding:12px;text-align:right;cursor:pointer;display:grid;grid-template-columns:28px 1fr;gap:3px 7px;align-items:center}
.hrme-ai-model-card .dashicons{grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f1f5f9}
.hrme-ai-model-card b{font-size:10px;direction:ltr;text-align:left;overflow-wrap:anywhere}.hrme-ai-model-card small{font-size:8px;color:#64748b}
.hrme-ai-model-card.active{border-color:#6554ff;background:#f8f7ff;box-shadow:0 0 0 2px rgba(101,84,255,.08)}
.hrme-ai-chat-result{margin-top:12px}.hrme-ai-response{border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc;padding:14px}.hrme-ai-response small{display:block;color:#64748b;margin-bottom:8px;direction:ltr;text-align:left}.hrme-ai-response p{white-space:pre-wrap;line-height:2;margin:0;font-size:11px}
@media(max-width:1100px){.hrme-ai-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.hrme-ai-kpis{display:flex!important;overflow:auto}.hrme-ai-model-grid{grid-template-columns:1fr}.hrme-ai-key-wrap{grid-template-columns:1fr}.hrme-ai-layout{grid-template-columns:1fr!important}}


/* =========================================================
   v3.3.0 — Executive Smart Dashboard
   ========================================================= */
.hrme-ai-executive{margin-bottom:12px;border:1px solid rgba(101,84,255,.16);background:linear-gradient(180deg,#fff,#fbfaff)}
.hrme-exec-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.hrme-chart-card{min-height:350px}.hrme-pro-chart{min-height:270px;display:grid;align-items:center}.hrme-svg-chart{width:100%;height:270px;overflow:visible}.svg-label{font-size:10px;fill:#64748b;font-family:inherit}
.hrme-hbars{display:grid;gap:9px}.hrme-hbars>div{display:grid;grid-template-columns:minmax(100px,1fr) 2fr 75px;gap:8px;align-items:center}.hrme-hbars span{font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hrme-hbars i{height:10px;background:#f1f5f9;border-radius:99px;overflow:hidden}.hrme-hbars i b{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#6554ff,#8b5cf6)}.hrme-hbars strong{font-size:9px;text-align:left}
.hrme-pie-layout{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center;justify-content:center}.hrme-pie{width:170px;height:170px;border-radius:50%;margin:auto;box-shadow:inset 0 0 0 1px rgba(15,23,42,.04)}.hrme-pie.donut{position:relative}.hrme-pie.donut:after{content:"";position:absolute;inset:34px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(15,23,42,.04)}.hrme-pie.donut span{position:absolute;inset:0;display:grid;place-items:center;z-index:2;font-size:18px;font-weight:900}.hrme-chart-legend{display:grid;gap:8px}.hrme-chart-legend>div{display:grid;grid-template-columns:10px 1fr auto;gap:7px;align-items:center;font-size:9px}.hrme-chart-legend i{width:9px;height:9px;border-radius:3px}.hrme-chart-legend b{font-size:10px}
.hrme-columns{height:260px;display:flex;align-items:end;gap:10px;padding:16px 6px 0}.hrme-columns>div{flex:1;min-width:0;display:grid;grid-template-rows:190px 24px 34px;text-align:center;align-items:end}.hrme-columns>div>div{height:190px;display:flex;align-items:end;justify-content:center;border-bottom:1px solid #e5e7eb}.hrme-columns i{display:block;width:min(42px,65%);background:linear-gradient(180deg,#6554ff,#8776ff);border-radius:9px 9px 2px 2px;min-height:5px}.hrme-columns b{font-size:9px}.hrme-columns span{font-size:8px;color:#64748b;line-height:1.4}
.hrme-gauge{position:relative;width:260px;height:155px;margin:35px auto 0;overflow:hidden}.hrme-gauge .arc{position:absolute;width:240px;height:240px;left:10px;top:10px;border-radius:50%;background:conic-gradient(from 270deg,#6554ff var(--g),#edf0f5 0 180deg,transparent 0);mask:radial-gradient(circle at center,transparent 0 66px,#000 67px);-webkit-mask:radial-gradient(circle at center,transparent 0 66px,#000 67px)}.hrme-gauge .needle{position:absolute;width:88px;height:3px;background:#111827;left:42px;top:128px;transform-origin:88px center;border-radius:99px}.hrme-gauge .center{position:absolute;left:0;right:0;bottom:0;text-align:center}.hrme-gauge .center b{display:block;font-size:26px}.hrme-gauge .center span{font-size:9px;color:#64748b}
.hrme-comparison{height:260px;display:flex;gap:18px;align-items:end;justify-content:center}.hrme-comparison>div{width:28%;text-align:center}.hrme-comparison h4{font-size:10px;margin:0 0 8px}.cmp-bars{height:190px;display:flex;align-items:end;justify-content:center;gap:7px;border-bottom:1px solid #e5e7eb}.cmp-bars>span{width:42%;min-height:10px;border-radius:8px 8px 2px 2px;background:#6554ff;display:flex;flex-direction:column;justify-content:flex-start;padding-top:6px;color:#fff}.cmp-bars>span+span{background:#f59e0b}.cmp-bars b{font-size:10px}.cmp-bars small{font-size:7px;margin-top:4px}
.hrme-mosaic{display:flex;flex-wrap:wrap;min-height:250px;gap:6px;align-content:stretch}.hrme-mosaic a{min-width:110px;min-height:78px;flex-basis:20%;border-radius:14px;background:linear-gradient(135deg,#f7f6ff,#ece9ff);border:1px solid #e6e2ff;display:flex;flex-direction:column;justify-content:flex-end;padding:12px;text-decoration:none;color:#29234d}.hrme-mosaic a:nth-child(2n){background:linear-gradient(135deg,#ecfeff,#dcfce7);border-color:#d1fae5}.hrme-mosaic a:nth-child(3n){background:linear-gradient(135deg,#fff7ed,#fef3c7);border-color:#fde68a}.hrme-mosaic b{font-size:20px}.hrme-mosaic span{font-size:9px}
.hrme-funnel{display:flex;flex-direction:column;align-items:center;gap:5px;padding-top:8px}.hrme-funnel>div{min-height:37px;border-radius:7px;background:linear-gradient(90deg,#6554ff,#8b5cf6);color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.hrme-funnel>div:nth-child(2n){background:linear-gradient(90deg,#4f46e5,#6366f1)}.hrme-funnel b{font-size:11px}.hrme-funnel span{font-size:8px}
.hrme-ai-summary{display:flex;gap:10px;padding:13px;border-radius:14px;background:#f8fafc;margin-bottom:12px}.hrme-ai-summary.good{background:#f0fdf4}.hrme-ai-summary.warning{background:#fffbeb}.hrme-ai-summary.critical{background:#fef2f2}.hrme-ai-summary .dashicons{width:36px;height:36px;border-radius:11px;background:#fff;display:grid;place-items:center;color:#6554ff}.hrme-ai-summary p{margin:4px 0;font-size:10px;line-height:1.9}.hrme-ai-summary small{font-size:8px;color:#64748b}
.hrme-ai-priorities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hrme-ai-priorities article{border:1px solid #e5e7eb;border-right:4px solid #f59e0b;border-radius:13px;padding:11px}.hrme-ai-priorities article.critical{border-right-color:#dc2626}.hrme-ai-priorities article.high{border-right-color:#f97316}.hrme-ai-priorities article.low{border-right-color:#22c55e}.hrme-ai-priorities .head{display:flex;justify-content:space-between;gap:8px}.hrme-ai-priorities .head b{font-size:11px}.hrme-ai-priorities .head span{font-size:7px;border-radius:99px;background:#f1f5f9;padding:3px 6px}.hrme-ai-priorities p{font-size:9px;line-height:1.8;margin:7px 0}.hrme-ai-priorities .meta{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}.hrme-ai-priorities .meta span{font-size:7px;padding:3px 6px;border-radius:99px;background:#f8fafc}
.hrme-ai-quad{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.hrme-ai-quad>section{border:1px solid #e5e7eb;border-radius:13px;padding:10px}.hrme-ai-quad h3{font-size:11px;margin:0 0 8px}.hrme-ai-quad section>div{border-top:1px solid #f1f5f9;padding:7px 0}.hrme-ai-quad section>div:first-of-type{border-top:0}.hrme-ai-quad b{font-size:9px}.hrme-ai-quad p{font-size:8px;line-height:1.8;margin:3px 0}
.hrme-exec-details{margin-top:12px}
@media(max-width:1200px){.hrme-exec-chart-grid{grid-template-columns:1fr}.hrme-ai-priorities{grid-template-columns:1fr}}
@media(max-width:760px){.hrme-chart-card{min-height:320px}.hrme-pie-layout{grid-template-columns:1fr}.hrme-pie{width:145px;height:145px}.hrme-ai-quad{grid-template-columns:1fr}.hrme-hbars>div{grid-template-columns:90px 1fr 58px}.hrme-columns{gap:4px}.hrme-columns span{writing-mode:vertical-rl;max-height:30px;overflow:hidden}.hrme-mosaic a{min-width:90px}.hrme-comparison>div{width:31%}}


/* =========================================================
   v3.4.0 — Interactive Drill-Down Charts + Per-Chart AI
   ========================================================= */
.hrme-chart-card{position:relative}
.hrme-chart-card .hrme-pro-chart{border-radius:12px;transition:.18s}
.hrme-chart-clickable,.hrme-chart-point{cursor:pointer;transition:.16s}
.hrme-chart-clickable:hover{filter:brightness(.97);transform:translateY(-1px)}
.hrme-chart-clickable.selected{outline:2px solid #6554ff;outline-offset:2px;border-radius:8px}
.hrme-chart-point:hover{stroke-width:5!important;filter:drop-shadow(0 2px 3px rgba(101,84,255,.25))}
.hrme-chart-point.selected{stroke:#111827!important;stroke-width:5!important;fill:#6554ff!important}
svg text.hrme-chart-point{cursor:pointer}
svg text.hrme-chart-point.selected{fill:#6554ff!important;font-weight:800}
.hrme-chart-legend .hrme-chart-clickable{padding:6px;border-radius:8px}
.hrme-columns>.hrme-chart-clickable.selected>div{background:#f6f4ff;border-radius:10px}
.hrme-funnel .hrme-chart-clickable.selected{box-shadow:0 0 0 3px rgba(17,24,39,.22)}
.hrme-mosaic button{border:1px solid #e6e2ff;font:inherit;text-align:right;cursor:pointer;color:#29234d}
.hrme-mosaic button:nth-child(2n){background:linear-gradient(135deg,#ecfeff,#dcfce7);border-color:#d1fae5}
.hrme-mosaic button:nth-child(3n){background:linear-gradient(135deg,#fff7ed,#fef3c7);border-color:#fde68a}
.hrme-mosaic button{min-width:110px;min-height:78px;flex-basis:20%;border-radius:14px;background:linear-gradient(135deg,#f7f6ff,#ece9ff);display:flex;flex-direction:column;justify-content:flex-end;padding:12px}
.hrme-mosaic button b{font-size:20px}.hrme-mosaic button span{font-size:9px}

.hrme-chart-caption{border-top:1px solid #eef1f5;margin-top:10px;padding-top:10px;display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.hrme-chart-caption p{margin:0;max-width:62%;font-size:8.5px;line-height:1.9;color:#64748b}
.hrme-chart-actions{display:flex;gap:6px;flex-shrink:0}
.hrme-chart-actions .hrme-btn{white-space:nowrap}
.hrme-chart-actions .hrme-btn.ai{background:#f5f3ff;color:#5b4bd8;border-color:#ddd6fe}
.hrme-chart-filter-badge{font-size:8px;border:1px solid #ddd6fe;background:#f5f3ff;color:#5b4bd8;border-radius:99px;padding:4px 8px;white-space:nowrap}

.hrme-chart-drill{margin-top:10px;padding:10px;border:1px solid #e9edf3;border-radius:12px;background:#fafbfc}
.hrme-chart-drill-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.hrme-chart-drill-head>div b,.hrme-chart-drill-head>div small{display:block}
.hrme-chart-drill-head b{font-size:9px}.hrme-chart-drill-head small{font-size:8px;color:#64748b;margin-top:2px}
.hrme-chart-table-wrap{max-width:100%;overflow:auto;border-radius:10px}
.hrme-chart-data-table{font-size:9px}
.hrme-chart-data-table th{white-space:nowrap}
.hrme-chart-data-table td{max-width:260px}

.hrme-chart-modal-box{width:min(1180px,96vw)!important;max-height:92vh!important;overflow:auto}
.hrme-chart-modal-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.hrme-chart-modal-head small{color:#64748b}.hrme-chart-modal-head h2{margin:3px 0}
.hrme-chart-modal-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:12px}
.hrme-chart-modal-grid>section{border:1px solid #e9edf3;border-radius:14px;padding:12px;background:#fff}
.hrme-chart-modal-grid h3,.hrme-chart-full-data h3{font-size:11px;margin:0 0 8px}
.hrme-chart-modal-visual{min-height:330px}
.hrme-chart-explain p{font-size:9.5px;line-height:2;color:#475569}
.hrme-viz-callout{padding:10px;border-radius:11px;background:#f5f3ff;border:1px solid #ede9fe;margin-top:12px}
.hrme-viz-callout b{font-size:9px}.hrme-viz-callout p{margin:4px 0 0}
.hrme-chart-full-data{margin-top:12px;border:1px solid #e9edf3;border-radius:14px;padding:12px}

.hrme-chart-ai-head{display:flex;gap:12px;padding:14px;border-radius:15px;background:#f5f3ff;border:1px solid #e9e4ff;margin-bottom:12px}
.hrme-chart-ai-head>.dashicons{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#fff;color:#6554ff;font-size:23px}
.hrme-chart-ai-head h2{margin:2px 0;font-size:15px}.hrme-chart-ai-head p{font-size:10px;line-height:2;margin:5px 0}.hrme-chart-ai-head small{font-size:8px;color:#64748b}
.hrme-ai-sw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hrme-ai-sw-grid>section{border:1px solid #e5e7eb;border-radius:13px;padding:10px}
.hrme-ai-sw-grid>section.strength{border-top:3px solid #16a34a}.hrme-ai-sw-grid>section.weakness{border-top:3px solid #dc2626}.hrme-ai-sw-grid>section.risk{border-top:3px solid #f59e0b}.hrme-ai-sw-grid>section.opportunity{border-top:3px solid #2563eb}
.hrme-ai-sw-grid h3{font-size:11px;margin:0 0 8px}.hrme-ai-sw-grid article{padding:7px 0;border-top:1px solid #f1f5f9}.hrme-ai-sw-grid article:first-of-type{border-top:0}
.hrme-ai-sw-grid article b{font-size:9px}.hrme-ai-sw-grid article p{font-size:8.5px;line-height:1.8;margin:3px 0}.hrme-ai-sw-grid article small{display:block;font-size:8px;color:#64748b;line-height:1.7}

.hrme-ai-chart-actions{margin-top:12px}
.hrme-ai-chart-actions>h3{font-size:12px;margin:0 0 8px}
.hrme-ai-chart-actions>article{display:grid;grid-template-columns:34px 1fr;gap:10px;border:1px solid #e5e7eb;border-radius:13px;padding:11px;margin-bottom:8px}
.hrme-ai-chart-actions .num{width:32px;height:32px;border-radius:10px;background:#111827;color:#fff;display:grid;place-items:center;font-weight:800}
.hrme-ai-chart-actions article.high .num{background:#dc2626}.hrme-ai-chart-actions article.medium .num{background:#f59e0b}.hrme-ai-chart-actions article.low .num{background:#16a34a}
.hrme-ai-chart-actions .head{display:flex;justify-content:space-between;gap:8px}.hrme-ai-chart-actions .head b{font-size:10px}.hrme-ai-chart-actions .head span{font-size:7px;border-radius:99px;background:#f1f5f9;padding:3px 6px}
.hrme-ai-chart-actions p{font-size:9px;line-height:1.8;margin:6px 0}.hrme-ai-chart-actions .system{font-size:9px;padding:8px;border-radius:9px;background:#f8fafc}
.hrme-ai-chart-actions .meta{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}.hrme-ai-chart-actions .meta span{font-size:7.5px;background:#f8fafc;border-radius:99px;padding:3px 6px}
.hrme-ai-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.hrme-ai-bottom-grid>section{border:1px solid #e5e7eb;border-radius:12px;padding:10px}.hrme-ai-bottom-grid h3{font-size:10px;margin:0 0 7px}.hrme-ai-bottom-grid p{font-size:8.5px;line-height:1.8;margin:3px 0}

@media(max-width:900px){
    .hrme-chart-caption{display:block}.hrme-chart-caption p{max-width:none;margin-bottom:8px}.hrme-chart-actions{overflow:auto;padding-bottom:2px}
    .hrme-chart-modal-grid{grid-template-columns:1fr}.hrme-chart-modal-visual{min-height:280px}
    .hrme-ai-sw-grid,.hrme-ai-bottom-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
    .hrme-chart-drill{padding:8px}
    .hrme-chart-modal-box{width:100vw!important;max-height:100dvh!important}
    .hrme-chart-actions .hrme-btn{min-height:38px}
    .hrme-mosaic button{min-width:90px}
}

.hrme-pie-svg-wrap{width:180px;height:180px;margin:auto}.hrme-pie-svg{width:100%;height:100%;overflow:visible}.hrme-pie-slice{cursor:pointer;transform-origin:100px 100px;transition:.16s}.hrme-pie-slice:hover{filter:brightness(1.04);transform:scale(1.025)}.hrme-pie-slice.selected{stroke:#111827!important;stroke-width:4!important;filter:drop-shadow(0 2px 3px rgba(15,23,42,.18))}.hrme-pie-total{font-size:18px;font-weight:900;fill:#111827;pointer-events:none}
@media(max-width:760px){.hrme-pie-svg-wrap{width:150px;height:150px}}

/* v3.4.1 — Interactive chart modal */
.hrme-chart-modal-visual [data-chart-item]{cursor:pointer}
.hrme-chart-modal-actions{margin-top:10px;padding-top:10px;border-top:1px solid #eef1f5}
.hrme-chart-modal-actions .hrme-btn[hidden]{display:none!important}
.hrme-chart-modal-head [hidden]{display:none!important}


/* v3.4.3 — Drill-down row navigation and long-text ellipsis */
.hrme-chart-data-table td{max-width:280px}
.hrme-drill-cell{
    display:block;
    max-width:280px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    line-height:1.8;
}
.hrme-drill-cell.is-long{cursor:pointer}
.hrme-drill-row{cursor:pointer;transition:background .15s,transform .15s}
.hrme-drill-row:hover{background:#f8f7ff!important}
.hrme-drill-row:focus{outline:2px solid #6554ff;outline-offset:-2px}
.hrme-open-record{
    display:block;
    margin-top:3px;
    color:#6554ff!important;
    font-size:7.5px!important;
    font-weight:700;
}
@media(max-width:760px){
    .hrme-chart-data-table td{max-width:none}
    .hrme-drill-cell{max-width:100%;white-space:nowrap}
    .hrme-drill-row{box-shadow:0 3px 14px rgba(15,23,42,.04)}
}


/* =========================================================
   v3.5.0 — Telegram Blue Theme + Readability Upgrade
   ========================================================= */
:root{
    --hrme-bg:#f3f8fc;
    --hrme-card:#ffffff;
    --hrme-text:#17212b;
    --hrme-muted:#60788a;
    --hrme-line:#dceaf3;
    --hrme-brand:#1148dc;
    --hrme-brand2:#3267e8;
    --hrme-green:#15966f;
    --hrme-red:#d14b5a;
    --hrme-shadow:0 12px 35px rgba(17,72,220,.08);
}

/* Global typography: no more tiny UI text */
.hrme-app{
    font-size:14px;
    line-height:1.85;
    color:var(--hrme-text);
}
.hrme-app p{font-size:13px;line-height:2}
.hrme-app small{font-size:11.5px;line-height:1.8}
.hrme-app label,.hrme-app input,.hrme-app select,.hrme-app textarea,.hrme-app button{font-size:13px}
.hrme-app input,.hrme-app select,.hrme-app textarea{line-height:1.7}
.hrme-page-head h1{font-size:25px;line-height:1.5}
.hrme-page-head p{font-size:13px;line-height:2}
.hrme-card-head h2{font-size:17px;line-height:1.6}
.hrme-card-head h3{font-size:15px}
.hrme-kpi small{font-size:11.5px}
.hrme-kpi b{font-size:25px}
.hrme-kpi em{font-size:11px}
.hrme-btn{font-size:12.5px;font-weight:750}
.hrme-btn.mini{font-size:11.5px;min-height:36px}
.hrme-row-open{font-size:11.5px}
.hrme-status{font-size:11px}
.hrme-pill{font-size:11px}
.hrme-muted{font-size:11.5px!important}

/* Telegram visual identity */
.hrme-side{background:#17212b}
.hrme-brand-mark{background:linear-gradient(135deg,#3267e8,#1148dc);box-shadow:0 8px 28px rgba(17,72,220,.32)}
.hrme-brand b{font-size:17px}
.hrme-brand small{font-size:12px;color:#94a9b8}
.hrme-side-search{background:rgba(17,72,220,.08);border-color:rgba(42,171,238,.14)}
.hrme-side-search input{font-size:13px}
.hrme-nav-home,.hrme-nav-group-title{font-size:13.5px}
.hrme-nav-children a{font-size:12.5px;padding:9px 10px}
.hrme-nav-home:hover,.hrme-nav-home.active,
.hrme-nav-children a:hover,.hrme-nav-children a.active{background:rgba(17,72,220,.18);color:#fff}
.hrme-nav-group-title:hover{background:rgba(17,72,220,.10)}
.hrme-avatar{background:#eef3ff;color:#168ac2}
.hrme-hero{background:linear-gradient(135deg,#17212b 0%,#123ea9 55%,#1148dc 100%);box-shadow:0 18px 45px rgba(17,72,220,.18)}
.hrme-hero p{font-size:13px;color:#e7edff}
.hrme-eyebrow{font-size:11.5px;color:#e8eeff;background:rgba(255,255,255,.12)}
.hrme-btn.primary{background:#1148dc!important;border-color:#1148dc!important;color:#fff!important}
.hrme-btn.primary:hover{background:#0e3bb8!important;border-color:#0e3bb8!important}
.hrme-btn.ai,.hrme-chart-actions .hrme-btn.ai{background:#eef3ff!important;color:#0c349f!important;border-color:#c8d6ff!important}
.hrme-icon:hover{border-color:#aebfff;color:#1148dc}

/* Tables */
.hrme-table{font-size:12.5px}
.hrme-table th{font-size:11.5px;font-weight:800;color:#526879;padding:11px 10px}
.hrme-table td{font-size:12.5px;line-height:1.9;padding:10px}
.hrme-table td b{font-size:13px}
.hrme-cell-sub{font-size:10.5px!important}
.hrme-drill-cell{font-size:12.5px;max-width:320px}
.hrme-open-record{font-size:10.5px!important;color:#1148dc!important}

/* Inputs / filters */
.hrme-searchbox input,.hrme-toolbar input,.hrme-toolbar select,
.hrme-form-grid input,.hrme-form-grid select,.hrme-form-grid textarea,
.hrme-field input,.hrme-field select,.hrme-field textarea{font-size:13px}
.hrme-form-grid label>span,.hrme-field>span{font-size:12px;font-weight:700}

/* Executive charts readability */
.hrme-chart-card .hrme-card-head small{font-size:11.5px}
.hrme-chart-caption p{font-size:12px;line-height:1.9}
.svg-label{font-size:12px!important;fill:#526879}
.hrme-hbars span,.hrme-hbars strong{font-size:11.5px}
.hrme-chart-legend>div{font-size:12px}
.hrme-chart-legend b{font-size:12.5px}
.hrme-columns b{font-size:12px}
.hrme-columns span{font-size:11px}
.hrme-funnel b{font-size:13px}
.hrme-funnel span{font-size:11.5px}
.hrme-gauge .center span{font-size:11.5px}
.hrme-comparison h4{font-size:12px}
.cmp-bars b{font-size:12px}
.cmp-bars small{font-size:10px}
.hrme-mosaic button b{font-size:22px}
.hrme-mosaic button span{font-size:12px}

/* Replace purple chart accents with Telegram blue */
.hrme-hbars i b{background:linear-gradient(90deg,#1148dc,#3267e8)}
.hrme-columns i{background:linear-gradient(180deg,#3267e8,#1148dc)}
.hrme-funnel>div{background:linear-gradient(90deg,#0e3bb8,#3267e8)}
.hrme-funnel>div:nth-child(2n){background:linear-gradient(90deg,#0c349f,#1148dc)}
.hrme-chart-clickable.selected{outline-color:#1148dc}
.hrme-chart-point.selected{fill:#1148dc!important}
svg text.hrme-chart-point.selected{fill:#0e3bb8!important}
.hrme-chart-filter-badge{border-color:#c8d6ff;background:#eef3ff;color:#0c349f}
.hrme-chart-actions .hrme-btn.ai{background:#eef3ff;color:#0c349f;border-color:#c8d6ff}
.hrme-mosaic button{background:linear-gradient(135deg,#f4fbff,#e8eeff);border-color:#ccd8ff;color:#173b4d}
.hrme-mosaic button:nth-child(2n){background:linear-gradient(135deg,#f2f5ff,#e8eeff);border-color:#c8d6ff}
.hrme-mosaic button:nth-child(3n){background:linear-gradient(135deg,#f6f8ff,#eef3ff);border-color:#d4deff}
.hrme-pie-slice.selected{stroke:#17212b!important}
.hrme-gauge .arc{background:conic-gradient(from 270deg,#1148dc var(--g),#e7f3f9 0 180deg,transparent 0)}

/* AI analysis readability + read-only/report mode */
.hrme-ai-summary{padding:16px}
.hrme-ai-summary p{font-size:13px;line-height:2}
.hrme-ai-summary small{font-size:11px}
.hrme-ai-priorities .head b{font-size:14px}
.hrme-ai-priorities .head span{font-size:10.5px}
.hrme-ai-priorities p{font-size:12.5px;line-height:2}
.hrme-ai-priorities .meta span{font-size:10.5px}
.hrme-ai-priorities .system{font-size:12px;line-height:1.9;padding:9px;border-radius:9px;background:#f3f6ff}
.hrme-ai-quad h3{font-size:14px}
.hrme-ai-quad b{font-size:12.5px}
.hrme-ai-quad p{font-size:12px;line-height:1.9}
.hrme-ai-readonly-note{
    display:flex;gap:10px;align-items:flex-start;
    margin:0 0 14px;padding:12px 14px;
    border:1px solid #c8d6ff;border-radius:13px;
    background:#f1f4ff;color:#28586d
}
.hrme-ai-readonly-note>.dashicons{
    width:34px;height:34px;display:grid;place-items:center;
    border-radius:10px;background:#fff;color:#1148dc;flex:0 0 34px
}
.hrme-ai-readonly-note b{font-size:13px}
.hrme-ai-readonly-note p{font-size:12px;line-height:1.9;margin:3px 0 0}
.hrme-send-it-report{
    background:#1148dc!important;color:#fff!important;border-color:#1148dc!important;
    margin-top:8px
}
.hrme-send-it-report:hover{background:#0e3bb8!important}
.hrme-send-it-report.sent{background:#15966f!important;border-color:#15966f!important}

/* Per-chart AI */
.hrme-chart-ai-head{background:#f1f4ff;border-color:#ced9ff}
.hrme-chart-ai-head>.dashicons{color:#1148dc}
.hrme-chart-ai-head h2{font-size:18px}
.hrme-chart-ai-head p{font-size:13px;line-height:2}
.hrme-chart-ai-head small{font-size:11px}
.hrme-ai-sw-grid h3{font-size:14px}
.hrme-ai-sw-grid article b{font-size:12.5px}
.hrme-ai-sw-grid article p{font-size:12px;line-height:1.9}
.hrme-ai-sw-grid article small{font-size:11px;line-height:1.8}
.hrme-ai-chart-actions>h3{font-size:15px}
.hrme-ai-chart-actions .head b{font-size:13px}
.hrme-ai-chart-actions .head span{font-size:10px}
.hrme-ai-chart-actions p{font-size:12px;line-height:1.9}
.hrme-ai-chart-actions .system{font-size:12px;line-height:1.9;background:#f3f6ff}
.hrme-ai-chart-actions .meta span{font-size:10.5px}
.hrme-ai-bottom-grid h3{font-size:13px}
.hrme-ai-bottom-grid p{font-size:11.5px;line-height:1.9}

/* Detail modal typography */
.hrme-chart-modal-head h2{font-size:21px}
.hrme-chart-modal-head small{font-size:11.5px}
.hrme-chart-modal-grid h3,.hrme-chart-full-data h3{font-size:15px}
.hrme-chart-explain p{font-size:12.5px;line-height:2}
.hrme-viz-callout b{font-size:12.5px}
.hrme-viz-callout p{font-size:12px}

/* Mobile: retain app feel but keep text readable */
@media(max-width:900px){
    .hrme-front .hrme-breadcrumb b{font-size:14px}
    .hrme-front .hrme-mobile-nav small{font-size:10.5px}
    .hrme-page-head h1{font-size:22px}
    .hrme-page-head p{font-size:12.5px}
    .hrme-card-head h2{font-size:16px}
    .hrme-kpi small{font-size:11px}
    .hrme-kpi b{font-size:21px!important}
    .hrme-table td{font-size:12.5px!important}
    .hrme-table td[data-label]::before{font-size:10.5px!important}
    .hrme-form-grid input,.hrme-form-grid select,.hrme-form-grid textarea,
    .hrme-toolbar input,.hrme-toolbar select{font-size:16px}
}


/* v3.5.1 — Primary blue #1148dc */
:root{
    --hrme-brand:#1148dc;
    --hrme-brand2:#3267e8;
}
.hrme-btn.primary,
.hrme-send-it-report{background:#1148dc!important;border-color:#1148dc!important}
.hrme-btn.primary:hover,
.hrme-send-it-report:hover{background:#0e3bb8!important;border-color:#0e3bb8!important}
.hrme-avatar,
.hrme-chart-filter-badge,
.hrme-btn.ai,
.hrme-chart-actions .hrme-btn.ai{color:#1148dc!important}
.hrme-brand-mark{background:linear-gradient(135deg,#3267e8,#1148dc)!important}
.hrme-hero{background:linear-gradient(135deg,#17212b 0%,#123ea9 55%,#1148dc 100%)!important}
.hrme-hbars i b,
.hrme-columns i{background:linear-gradient(180deg,#3267e8,#1148dc)!important}
.hrme-funnel>div{background:linear-gradient(90deg,#0e3bb8,#3267e8)!important}
.hrme-funnel>div:nth-child(2n){background:linear-gradient(90deg,#0c349f,#1148dc)!important}
.hrme-chart-clickable.selected{outline-color:#1148dc!important}
.hrme-chart-point.selected{fill:#1148dc!important}
svg text.hrme-chart-point.selected{fill:#1148dc!important}
.hrme-gauge .arc{background:conic-gradient(from 270deg,#1148dc var(--g),#edf1fb 0 180deg,transparent 0)!important}


/* =========================================================
   v3.5.2 — Colorful charts + layout cleanup
   ========================================================= */

/* Header / toolbar layout cleanup */
.hrme-page-head{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}
.hrme-page-head .hrme-page-actions,
.hrme-page-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}
.hrme-page-head .hrme-page-copy{
    flex:1 1 420px;
    min-width:280px;
}
.hrme-page-head .hrme-page-copy p{
    max-width:980px;
}

/* KPI cards cleaner grid */
.hrme-kpi-grid,
.hrme-exec-kpis,
.hrme-dashboard-kpis{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(165px,1fr));
    gap:14px;
}
.hrme-kpi{
    min-height:124px;
    padding:18px 16px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    box-shadow:0 10px 30px rgba(15,23,42,.04);
}
.hrme-kpi .txt{
    flex:1 1 auto;
    min-width:0;
}
.hrme-kpi b{
    letter-spacing:-.02em;
}
.hrme-kpi .icon,
.hrme-kpi .ico,
.hrme-kpi .dashicons{
    flex:0 0 auto;
}
.hrme-kpi small,
.hrme-kpi em,
.hrme-kpi .hrme-muted{
    display:block;
}

/* Main card spacing */
.hrme-card,
.hrme-panel,
.hrme-chart-card,
.hrme-module-card{
    border-radius:22px;
    overflow:hidden;
}
.hrme-card-head,
.hrme-chart-card .hrme-card-head{
    padding-bottom:10px;
    margin-bottom:10px;
}
.hrme-exec-chart-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:16px;
    align-items:start;
}
.hrme-chart-card{
    height:100%;
    display:flex;
    flex-direction:column;
}
.hrme-chart-card .hrme-pro-chart{
    min-height:290px;
}
.hrme-chart-card .hrme-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}
.hrme-chart-card .hrme-card-head > div:first-child{
    flex:1 1 220px;
}

/* Summary line / notice */
.hrme-inline-note,
.hrme-top-note{
    line-height:2;
    padding:10px 14px;
    border-radius:14px;
    background:#f6f8ff;
    border:1px solid #dce5ff;
}

/* Buttons spacing */
.hrme-btn{
    border-radius:12px;
    padding-inline:14px;
    min-height:42px;
}
.hrme-toolbar,
.hrme-chart-actions,
.hrme-exec-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}
.hrme-chart-actions .hrme-btn{
    margin:0 !important;
}
.hrme-chart-actions{
    padding-top:10px;
}

/* Tables less cramped */
.hrme-chart-table-wrap{
    overflow:auto;
    border-radius:18px;
}
.hrme-table{
    border-collapse:separate;
    border-spacing:0;
}
.hrme-table th{
    background:#f7f9ff;
    position:sticky;
    top:0;
    z-index:1;
}
.hrme-table th:first-child{border-top-right-radius:14px}
.hrme-table th:last-child{border-top-left-radius:14px}
.hrme-table td{
    vertical-align:top;
}
.hrme-table tbody tr:nth-child(even){
    background:rgba(17,72,220,.02);
}

/* Colorful charts */
.hrme-columns .col:nth-child(1) i,
.hrme-columns > div:nth-child(1) i{background:linear-gradient(180deg,#1148dc,#3267e8)!important}
.hrme-columns .col:nth-child(2) i,
.hrme-columns > div:nth-child(2) i{background:linear-gradient(180deg,#06b6d4,#21a0ff)!important}
.hrme-columns .col:nth-child(3) i,
.hrme-columns > div:nth-child(3) i{background:linear-gradient(180deg,#22c55e,#84cc16)!important}
.hrme-columns .col:nth-child(4) i,
.hrme-columns > div:nth-child(4) i{background:linear-gradient(180deg,#f59e0b,#f97316)!important}
.hrme-columns .col:nth-child(5) i,
.hrme-columns > div:nth-child(5) i{background:linear-gradient(180deg,#ef4444,#fb7185)!important}
.hrme-columns .col:nth-child(6) i,
.hrme-columns > div:nth-child(6) i{background:linear-gradient(180deg,#8b5cf6,#a855f7)!important}
.hrme-columns .col:nth-child(7) i,
.hrme-columns > div:nth-child(7) i{background:linear-gradient(180deg,#14b8a6,#2dd4bf)!important}
.hrme-columns .col:nth-child(8) i,
.hrme-columns > div:nth-child(8) i{background:linear-gradient(180deg,#ec4899,#f472b6)!important}

.hrme-hbars > div:nth-child(1) i b{background:linear-gradient(90deg,#1148dc,#3267e8)!important}
.hrme-hbars > div:nth-child(2) i b{background:linear-gradient(90deg,#06b6d4,#21a0ff)!important}
.hrme-hbars > div:nth-child(3) i b{background:linear-gradient(90deg,#22c55e,#84cc16)!important}
.hrme-hbars > div:nth-child(4) i b{background:linear-gradient(90deg,#f59e0b,#f97316)!important}
.hrme-hbars > div:nth-child(5) i b{background:linear-gradient(90deg,#ef4444,#fb7185)!important}
.hrme-hbars > div:nth-child(6) i b{background:linear-gradient(90deg,#8b5cf6,#a855f7)!important}
.hrme-hbars > div:nth-child(7) i b{background:linear-gradient(90deg,#14b8a6,#2dd4bf)!important}
.hrme-hbars > div:nth-child(8) i b{background:linear-gradient(90deg,#ec4899,#f472b6)!important}

.hrme-funnel>div:nth-child(1){background:linear-gradient(90deg,#1148dc,#3267e8)!important}
.hrme-funnel>div:nth-child(2){background:linear-gradient(90deg,#06b6d4,#21a0ff)!important}
.hrme-funnel>div:nth-child(3){background:linear-gradient(90deg,#22c55e,#84cc16)!important}
.hrme-funnel>div:nth-child(4){background:linear-gradient(90deg,#f59e0b,#f97316)!important}
.hrme-funnel>div:nth-child(5){background:linear-gradient(90deg,#ef4444,#fb7185)!important}
.hrme-funnel>div:nth-child(6){background:linear-gradient(90deg,#8b5cf6,#a855f7)!important}
.hrme-funnel>div:nth-child(7){background:linear-gradient(90deg,#14b8a6,#2dd4bf)!important}

.hrme-mosaic button:nth-child(1){background:linear-gradient(135deg,#eff4ff,#dfe8ff)!important;border-color:#c8d6ff}
.hrme-mosaic button:nth-child(2){background:linear-gradient(135deg,#eefcff,#ddf6ff)!important;border-color:#b8ecff}
.hrme-mosaic button:nth-child(3){background:linear-gradient(135deg,#f0fff4,#dcfce7)!important;border-color:#bbf7d0}
.hrme-mosaic button:nth-child(4){background:linear-gradient(135deg,#fff8eb,#ffedd5)!important;border-color:#fed7aa}
.hrme-mosaic button:nth-child(5){background:linear-gradient(135deg,#fff1f2,#ffe4e6)!important;border-color:#fecdd3}
.hrme-mosaic button:nth-child(6){background:linear-gradient(135deg,#f7f3ff,#ede9fe)!important;border-color:#ddd6fe}

.hrme-chart-legend .dot:nth-child(1),
.hrme-chart-legend > div:nth-child(1) .dot{background:#1148dc!important}
.hrme-chart-legend .dot:nth-child(2),
.hrme-chart-legend > div:nth-child(2) .dot{background:#06b6d4!important}
.hrme-chart-legend .dot:nth-child(3),
.hrme-chart-legend > div:nth-child(3) .dot{background:#22c55e!important}
.hrme-chart-legend .dot:nth-child(4),
.hrme-chart-legend > div:nth-child(4) .dot{background:#f59e0b!important}
.hrme-chart-legend .dot:nth-child(5),
.hrme-chart-legend > div:nth-child(5) .dot{background:#ef4444!important}
.hrme-chart-legend .dot:nth-child(6),
.hrme-chart-legend > div:nth-child(6) .dot{background:#8b5cf6!important}

/* AI and executive blocks */
.hrme-ai-summary,
.hrme-ai-readonly-note,
.hrme-ai-priorities article,
.hrme-ai-chart-actions article{
    border-radius:18px;
}
.hrme-ai-priorities{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:16px;
}
.hrme-ai-priorities article{
    min-height:100%;
}

/* Fix some awkward spacing in top executive screen */
.hrme-front .hrme-content{
    padding-top:18px;
}
.hrme-front .hrme-breadcrumb{
    margin-bottom:10px;
}

/* Responsive cleanup */
@media(max-width:1100px){
    .hrme-exec-chart-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
    .hrme-page-head{gap:10px}
    .hrme-kpi-grid,
    .hrme-exec-kpis,
    .hrme-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
    .hrme-kpi{min-height:112px;padding:14px 12px;border-radius:18px}
    .hrme-kpi b{font-size:20px!important}
    .hrme-chart-card .hrme-pro-chart{min-height:240px}
    .hrme-exec-chart-grid,
    .hrme-ai-priorities{grid-template-columns:1fr}
}
@media(max-width:520px){
    .hrme-kpi-grid,
    .hrme-exec-kpis,
    .hrme-dashboard-kpis{grid-template-columns:1fr 1fr}
    .hrme-page-actions,
    .hrme-toolbar,
    .hrme-chart-actions{gap:8px}
    .hrme-btn{min-height:40px;padding-inline:12px}
}


/* =========================================================
   v3.5.3 — Flatten chart captions / remove nested feel
   ========================================================= */

/* Bottom section of each chart card: simpler, not nested */
.hrme-chart-caption{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:10px 12px !important;
    margin-top:14px !important;
    padding-top:12px !important;
    border-top:1px solid #e8eef8 !important;
}

.hrme-chart-actions{
    order:1;
    width:100%;
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    flex-shrink:1 !important;
}

.hrme-chart-actions .hrme-btn{
    min-height:38px !important;
    padding-inline:12px !important;
    font-size:12px !important;
    white-space:nowrap !important;
}

.hrme-chart-caption p{
    order:2;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    font-size:12px !important;
    line-height:2.05 !important;
    color:#4c6174 !important;
    background:#f8fbff;
    border:1px solid #e2eaf7;
    border-radius:14px;
    padding:10px 12px;
}

/* Badge / helper in this area */
.hrme-chart-filter-badge{
    font-size:11px !important;
    padding:5px 10px !important;
}

/* Drilldown area cleaner */
.hrme-chart-drill{
    margin-top:12px !important;
    padding:12px !important;
    border-radius:16px !important;
}

.hrme-chart-drill-head{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    margin-bottom:10px !important;
}
.hrme-chart-drill-head > div{
    min-width:220px;
    flex:1 1 220px;
}
.hrme-chart-drill-head b{
    font-size:12px !important;
}
.hrme-chart-drill-head small{
    font-size:11px !important;
}

/* Full-data / popup table area */
.hrme-chart-full-data,
.hrme-chart-modal-grid > section{
    border-radius:18px !important;
}
.hrme-chart-modal-grid{
    gap:16px !important;
}
.hrme-chart-explain p{
    font-size:12px !important;
    line-height:2 !important;
}

/* Prevent very narrow right-side text on cards */
.hrme-chart-card .hrme-card-head{
    margin-bottom:8px;
}
.hrme-chart-card .hrme-card-head small{
    line-height:1.8;
}

/* Mobile cleanup */
@media(max-width:900px){
    .hrme-chart-caption p{
        font-size:11.5px !important;
        padding:10px !important;
    }
    .hrme-chart-actions{
        gap:7px !important;
    }
}


/* =========================================================
   v3.5.4 — Two-column chart caption layout
   ========================================================= */

/* make the bottom area of each chart card balanced: controls + text side by side */
.hrme-chart-caption{
    display:grid !important;
    grid-template-columns:minmax(220px, 0.9fr) minmax(260px, 1.1fr) !important;
    align-items:start !important;
    gap:12px 14px !important;
    margin-top:14px !important;
    padding-top:12px !important;
    border-top:1px solid #e8eef8 !important;
}
.hrme-chart-actions{
    order:1;
    width:auto !important;
    min-width:0;
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    align-content:flex-start !important;
    gap:8px !important;
    padding:10px !important;
    border:1px solid #e2eaf7;
    background:#f8fbff;
    border-radius:14px;
}
.hrme-chart-actions .hrme-btn{
    min-height:38px !important;
    padding-inline:12px !important;
    font-size:12px !important;
    white-space:nowrap !important;
}
.hrme-chart-caption p{
    order:2;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    font-size:12px !important;
    line-height:2.05 !important;
    color:#4c6174 !important;
    background:#f8fbff;
    border:1px solid #e2eaf7;
    border-radius:14px;
    padding:10px 12px;
    min-height:100%;
}
.hrme-chart-filter-badge{
    font-size:11px !important;
    padding:5px 10px !important;
}

/* if a card has extra table/detail blocks, keep the visual hierarchy cleaner */
.hrme-chart-drill{
    margin-top:12px !important;
    padding:12px !important;
    border-radius:16px !important;
}
.hrme-chart-drill-head{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    margin-bottom:10px !important;
}
.hrme-chart-drill-head > div{
    min-width:220px;
    flex:1 1 220px;
}
.hrme-chart-drill-head b{font-size:12px !important}
.hrme-chart-drill-head small{font-size:11px !important}

/* card footer content should not feel cramped */
.hrme-chart-card .hrme-card-head{margin-bottom:8px}
.hrme-chart-card .hrme-card-head small{line-height:1.8}

/* responsive: tablet stacks nicely, desktop remains two-column */
@media(max-width:1100px){
    .hrme-chart-caption{
        grid-template-columns:1fr 1fr !important;
    }
}
@media(max-width:760px){
    .hrme-chart-caption{
        grid-template-columns:1fr !important;
    }
    .hrme-chart-actions,
    .hrme-chart-caption p{
        width:100% !important;
    }
    .hrme-chart-caption p{
        font-size:11.5px !important;
        padding:10px !important;
    }
}


/* v3.5.5 — Exactly two dashboard charts per row on desktop */
.hrme-exec-chart-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:16px !important;
    align-items:stretch !important;
}
.hrme-exec-chart-grid > .hrme-chart-card{
    min-width:0 !important;
    width:100% !important;
}
@media(max-width:1050px){
    .hrme-exec-chart-grid{
        grid-template-columns:1fr !important;
    }
}


/* =========================================================
   v3.5.6 — One-line chart description + left aligned side-by-side buttons
   ========================================================= */

/* Keep bottom area simple: description on one line, action buttons side-by-side */
.hrme-chart-caption{
    display:grid !important;
    grid-template-columns: 1fr auto !important;
    align-items:center !important;
    gap:14px !important;
    margin-top:14px !important;
    padding-top:12px !important;
    border-top:1px solid #e8eef8 !important;
}
.hrme-chart-caption p{
    order:1 !important;
    margin:0 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    color:#4c6174 !important;
    font-size:12px !important;
    line-height:1.9 !important;
}
.hrme-chart-actions{
    order:2 !important;
    width:auto !important;
    min-width:auto !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:10px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
}
.hrme-chart-actions .hrme-btn{
    min-height:38px !important;
    padding-inline:14px !important;
    font-size:12px !important;
    white-space:nowrap !important;
    margin:0 !important;
}
/* Make AI button and details button sit visually together */
.hrme-chart-actions .hrme-btn + .hrme-btn{margin-inline-start:0 !important;}

/* Mobile/tablet: stack again for readability */
@media(max-width:900px){
    .hrme-chart-caption{
        grid-template-columns:1fr !important;
        align-items:start !important;
    }
    .hrme-chart-caption p{
        order:1 !important;
    }
    .hrme-chart-actions{
        order:2 !important;
        width:100% !important;
        flex-wrap:wrap !important;
    }
}


/* v3.5.7 — Group system utilities under Settings */
.hrme-side-foot{
    padding:8px 10px 12px;
}
.hrme-side-foot .hrme-settings-group{
    margin:0;
    border-top:1px solid rgba(255,255,255,.07);
    padding-top:8px;
}
.hrme-side-foot .hrme-settings-title{
    width:100%;
    min-height:44px;
    padding:9px 10px;
    border:0;
    border-radius:11px;
    background:transparent;
    color:#aebdca;
    display:flex;
    align-items:center;
    justify-content:space-between;
    cursor:pointer;
}
.hrme-side-foot .hrme-settings-title:hover,
.hrme-side-foot .hrme-settings-group.open .hrme-settings-title{
    background:rgba(17,72,220,.16);
    color:#fff;
}
.hrme-side-foot .hrme-settings-title>span{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:700;
}
.hrme-side-foot .hrme-settings-title .dashicons{
    font-size:18px;
    width:18px;
    height:18px;
}
.hrme-side-foot .hrme-settings-children{
    display:none;
    padding:5px 4px 0;
}
.hrme-side-foot .hrme-settings-group.open .hrme-settings-children{
    display:grid;
    gap:3px;
}
.hrme-side-foot .hrme-settings-children a{
    min-height:40px;
    padding:8px 12px;
    border-radius:10px;
    color:#aebdca;
    display:flex;
    align-items:center;
    gap:9px;
    text-decoration:none;
    font-size:12.5px;
}
.hrme-side-foot .hrme-settings-children a:hover,
.hrme-side-foot .hrme-settings-children a.active{
    color:#fff;
    background:rgba(17,72,220,.18);
}


/* =========================================================
   v3.5.8 — Light sidebar + improved scrollbar
   ========================================================= */

/* Light sidebar theme */
.hrme-side,
.hrme-front .hrme-mobile-drawer{
    background: linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%) !important;
    color:#17324d !important;
    border-left:1px solid #dbe6f3;
    box-shadow:0 10px 30px rgba(15,23,42,.06);
}
.hrme-side *{color:inherit}

.hrme-brand{
    color:#17324d !important;
}
.hrme-brand small{
    color:#64809b !important;
}
.hrme-brand-mark{
    background:linear-gradient(135deg,#3267e8,#1148dc) !important;
    box-shadow:0 10px 24px rgba(17,72,220,.18) !important;
}

.hrme-side-search{
    background:#ffffff !important;
    border:1px solid #d8e4f2 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.hrme-side-search input,
.hrme-side-search .dashicons{
    color:#4e6983 !important;
}

.hrme-nav-home,
.hrme-nav-group-title,
.hrme-nav-children a,
.hrme-mobile-nav a,
.hrme-mobile-nav button{
    color:#27425e !important;
}

.hrme-nav-group-title,
.hrme-nav-home{
    border-radius:12px;
}
.hrme-nav-group-title:hover,
.hrme-nav-home:hover,
.hrme-nav-children a:hover,
.hrme-mobile-nav a:hover,
.hrme-mobile-nav button:hover{
    background:#eaf1fb !important;
    color:#1148dc !important;
}

.hrme-nav-home.active,
.hrme-nav-children a.active,
.hrme-mobile-nav a.active{
    background:linear-gradient(90deg,#1148dc 0%,#3267e8 100%) !important;
    color:#fff !important;
    box-shadow:0 8px 18px rgba(17,72,220,.18);
}

.hrme-nav-group.open > .hrme-nav-group-title,
.hrme-nav-group.active > .hrme-nav-group-title{
    background:#eef4ff !important;
    color:#1148dc !important;
}

.hrme-side .dashicons,
.hrme-mobile-nav .dashicons{
    color:inherit !important;
}

.hrme-avatar{
    background:#eaf1ff !important;
    color:#1148dc !important;
}

/* divider line in sidebar */
.hrme-side hr,
.hrme-side .hrme-divider,
.hrme-mobile-nav hr,
.hrme-mobile-nav .hrme-divider{
    border-color:#dbe6f3 !important;
    background:#dbe6f3 !important;
}

/* Better scrollbar */
.hrme-side,
.hrme-front .hrme-mobile-drawer,
.hrme-side *{
    scrollbar-width:thin;
    scrollbar-color:#bfd0e4 #eef4fb;
}
.hrme-side::-webkit-scrollbar,
.hrme-front .hrme-mobile-drawer::-webkit-scrollbar{
    width:10px;
    height:10px;
}
.hrme-side::-webkit-scrollbar-track,
.hrme-front .hrme-mobile-drawer::-webkit-scrollbar-track{
    background:#eef4fb;
    border-radius:20px;
}
.hrme-side::-webkit-scrollbar-thumb,
.hrme-front .hrme-mobile-drawer::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,#c8d7e8 0%,#aac1db 100%);
    border-radius:20px;
    border:2px solid #eef4fb;
}
.hrme-side::-webkit-scrollbar-thumb:hover,
.hrme-front .hrme-mobile-drawer::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(180deg,#aac1db 0%,#8eaecd 100%);
}

/* Mobile webapp drawer light too */
.hrme-front .hrme-mobile-bar,
.hrme-front .hrme-mobile-topbar{
    background:#ffffff !important;
    border-color:#dbe6f3 !important;
}

/* Slightly softer group section feel */
.hrme-side .hrme-nav-group,
.hrme-mobile-nav .hrme-nav-group{
    border-color:#e1ebf6 !important;
}

/* =========================================================
   v3.6.0 — Glass HRM Chatbot
   ========================================================= */
.hrme-chat-launch{position:fixed;left:24px;bottom:24px;width:58px;height:58px;border:1px solid rgba(255,255,255,.65);border-radius:20px;background:linear-gradient(135deg,rgba(17,72,220,.92),rgba(50,103,232,.88));box-shadow:0 16px 40px rgba(17,72,220,.28);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:#fff;z-index:1500;display:grid;place-items:center;cursor:pointer}.hrme-chat-launch .dashicons{font-size:26px;width:26px;height:26px}.hrme-chatbot{position:fixed;left:24px;bottom:94px;width:min(430px,calc(100vw - 28px));height:min(690px,calc(100dvh - 125px));z-index:1501;border:1px solid rgba(180,202,232,.8);border-radius:26px;background:rgba(248,251,255,.88);box-shadow:0 28px 75px rgba(20,43,75,.22);backdrop-filter:blur(26px) saturate(150%);-webkit-backdrop-filter:blur(26px) saturate(150%);overflow:hidden;display:flex;flex-direction:column;opacity:0;transform:translateY(12px) scale(.98);transition:.18s}.hrme-chatbot.open{opacity:1;transform:none}.hrme-chat-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid rgba(185,203,225,.65);background:rgba(255,255,255,.62)}.hrme-chat-head>div{display:flex;align-items:center;gap:10px}.hrme-chat-ai{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#1148dc;color:#fff;font-weight:900}.hrme-chat-head b,.hrme-chat-head small{display:block}.hrme-chat-head b{font-size:14px}.hrme-chat-head small{font-size:10px;color:#6c8195}.hrme-chat-head>button{border:0;background:rgba(23,50,77,.07);width:34px;height:34px;border-radius:11px;font-size:20px;cursor:pointer}.hrme-chat-body{flex:1;overflow:auto;padding:14px;scrollbar-width:thin}.hrme-chat-msg{max-width:94%;padding:11px 12px;border-radius:16px;background:rgba(255,255,255,.78);border:1px solid rgba(207,220,238,.85);margin-bottom:10px;box-shadow:0 5px 18px rgba(30,55,85,.04)}.hrme-chat-msg.user{margin-right:auto;background:#1148dc;color:#fff;border-color:#1148dc}.hrme-chat-msg p{margin:4px 0;font-size:12px;line-height:1.9}.hrme-glass-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hrme-glass-actions button{min-height:105px;border:1px solid rgba(255,255,255,.8);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.84),rgba(234,242,255,.65));box-shadow:0 8px 25px rgba(17,72,220,.07);backdrop-filter:blur(14px);cursor:pointer;text-align:right;padding:13px;color:#17324d}.hrme-glass-actions button:first-child{grid-column:1/-1;background:linear-gradient(135deg,rgba(231,239,255,.92),rgba(255,255,255,.76))}.hrme-glass-actions .dashicons{color:#1148dc;margin-bottom:6px}.hrme-glass-actions b,.hrme-glass-actions small{display:block}.hrme-glass-actions b{font-size:13px}.hrme-glass-actions small{font-size:10px;color:#71859a;margin-top:4px}.hrme-chat-foot{display:grid;grid-template-columns:1fr 44px;gap:8px;padding:11px;border-top:1px solid rgba(185,203,225,.65);background:rgba(255,255,255,.7)}.hrme-chat-foot input{height:44px;border:1px solid #d5e1ee;border-radius:14px;padding:0 12px;background:#fff;font-size:13px}.hrme-chat-foot button{border:0;border-radius:14px;background:#1148dc;color:#fff;display:grid;place-items:center}.hrme-chat-people{display:grid;gap:7px;margin-top:8px}.hrme-chat-people button{border:1px solid #dae5f1;border-radius:12px;background:#fff;padding:9px 10px;text-align:right;cursor:pointer}.hrme-chat-people span,.hrme-chat-people small{display:block}.hrme-chat-people span{font-weight:800;font-size:12px}.hrme-chat-people small{font-size:10px;color:#73879a}.hrme-chat-report .head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.hrme-chat-report h3{font-size:16px;margin:2px 0}.hrme-chat-report .head>span{padding:4px 8px;border-radius:99px;background:#eaf8ef;color:#168244;font-size:9px}.hrme-chat-report .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0}.hrme-chat-report .stats>div{padding:9px;border-radius:12px;background:#f4f7fb}.hrme-chat-report .stats small,.hrme-chat-report .stats b{display:block}.hrme-chat-report .stats b{font-size:13px}.hrme-chat-report .mini-chart{display:grid;gap:7px}.hrme-chat-report .mini-chart>div{display:grid;grid-template-columns:55px 1fr;gap:7px;align-items:center}.hrme-chat-report .mini-chart span{font-size:10px}.hrme-chat-report .mini-chart i{height:8px;border-radius:99px;background:#edf2f7;overflow:hidden}.hrme-chat-report .mini-chart b{display:block;height:100%;background:#22c55e;border-radius:99px}.hrme-chat-report .mini-chart .pun b{background:#ef4444}.hrme-chat-report .info{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0}.hrme-chat-report .info>div{border:1px solid #e1e9f2;border-radius:11px;padding:8px}.hrme-chat-report .info span,.hrme-chat-report .info b{display:block}.hrme-chat-report .info span{font-size:9px;color:#71859a}.hrme-chat-report .info b{font-size:11px}.hrme-chat-report-actions{display:flex;gap:7px;flex-wrap:wrap}.hrme-chat-disc-list{display:grid;gap:7px;margin-top:8px}.hrme-chat-disc-list article{border-right:3px solid #22c55e;background:#f9fbfd;border-radius:10px;padding:8px}.hrme-chat-disc-list article.pun{border-right-color:#ef4444}.hrme-chat-disc-list article>div{display:flex;justify-content:space-between}.hrme-chat-disc-list small{font-size:9px;color:#71859a}.hrme-chat-disc-list p{font-size:10px}.hrme-chat-disc-list strong{font-size:10px}.hrme-chatbot .hrme-loading{padding:8px;font-size:11px}@media(max-width:760px){.hrme-chat-launch{left:14px;bottom:88px}.hrme-chatbot{left:7px;right:7px;bottom:78px;width:auto;height:calc(100dvh - 92px);border-radius:22px}.hrme-glass-actions{grid-template-columns:1fr}.hrme-glass-actions button:first-child{grid-column:auto}}

/* v3.7.0 Assistant Pro */
.hrme-chatbot-pro{width:min(430px,calc(100vw - 24px));height:min(720px,calc(100dvh - 90px))}
.hrme-chat-head-actions{display:flex;gap:5px}.hrme-chat-head-actions button{width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.12);color:inherit;cursor:pointer}
.hrme-chat-ai-text{font-size:13px!important;line-height:2!important}.hrme-chat-sources{display:block;margin-top:8px;color:#71869a!important}.hrme-chat-learn{margin-top:8px;border:1px solid #c8d6ff;background:#f1f4ff;color:#1148dc;border-radius:10px;padding:7px 10px}
.hrme-chat-thread-list{display:grid;gap:7px}.hrme-chat-thread-list button{border:1px solid #e2eaf3;background:#fff;border-radius:12px;padding:10px;text-align:right}.hrme-chat-thread-list b,.hrme-chat-thread-list small{display:block}.hrme-chat-thread-list small{color:#71869a}
.hrme-assistant-admin-tabs{display:flex;gap:7px;overflow:auto;margin:12px 0}.hrme-assistant-admin-tabs button{border:1px solid #dbe6f3;background:#fff;border-radius:999px;padding:9px 15px}.hrme-assistant-admin-tabs button.active{background:#1148dc;color:#fff}.hrme-assistant-panel{display:none}.hrme-assistant-panel.active{display:block}
.hrme-admin-chat-log{display:grid;gap:9px;max-height:70vh;overflow:auto}.hrme-admin-chat-log article{max-width:88%;border-radius:15px;padding:10px 12px;background:#f3f6fb}.hrme-admin-chat-log article.user{margin-right:auto;background:#eef3ff}.hrme-admin-chat-log article>div{display:flex;justify-content:space-between}.hrme-admin-chat-log article p{font-size:12.5px;line-height:2}
.hrme-knowledge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hrme-knowledge-grid article{border:1px solid #e2e8f0;border-radius:15px;padding:12px}.hrme-knowledge-grid article.pending{border-top:3px solid #f59e0b}.hrme-knowledge-grid article.approved{border-top:3px solid #22c55e}.hrme-knowledge-grid article.rejected{border-top:3px solid #ef4444}.hrme-knowledge-grid .head{display:flex;justify-content:space-between}.hrme-knowledge-grid p{font-size:12px;line-height:2;white-space:pre-wrap}.hrme-knowledge-grid .actions{display:flex;gap:6px;flex-wrap:wrap}
.hrme-policy-table-wrap{overflow:auto}.hrme-policy-table th,.hrme-policy-table td{text-align:center}.hrme-policy-table th:first-child,.hrme-policy-table td:first-child{text-align:right;min-width:240px}.hrme-policy-table td small{display:block;color:#8493a4}
.hrme-switch input{display:none}.hrme-switch span{display:inline-block;width:40px;height:22px;border-radius:99px;background:#dce4ed;position:relative}.hrme-switch span:after{content:"";position:absolute;top:3px;right:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s}.hrme-switch input:checked+span{background:#1148dc}.hrme-switch input:checked+span:after{right:21px}.hrme-btn.danger{color:#b42318;border-color:#f5c2bd;background:#fff5f4}
@media(max-width:850px){.hrme-knowledge-grid{grid-template-columns:1fr}}

/* v3.7.1 Statistical chat reports */
.hrme-assistant-report{display:grid;gap:10px}.hrme-assistant-report-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding:11px;border-radius:14px;background:#f3f6ff;border:1px solid #dbe4ff}.hrme-assistant-report-head h3{font-size:15px;margin:2px 0}.hrme-assistant-report-head p{font-size:11.5px!important;line-height:1.9!important;margin:4px 0}
.hrme-assistant-report-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.hrme-assistant-report-kpis>div{border:1px solid #e2e9f3;border-radius:12px;padding:9px;background:#fff}.hrme-assistant-report-kpis small,.hrme-assistant-report-kpis b,.hrme-assistant-report-kpis span{display:block}.hrme-assistant-report-kpis b{font-size:16px}.hrme-assistant-report-kpis span{font-size:9.5px;color:#71869a}
.hrme-assistant-report-chart{border:1px solid #e2e9f3;border-radius:13px;padding:9px;background:#fff}.hrme-assistant-report-chart>div:first-child b,.hrme-assistant-report-chart>div:first-child small{display:block}.hrme-assistant-report-chart>div:first-child small{font-size:9.5px;color:#71869a}
.hrme-assistant-bars{display:grid;gap:7px;margin-top:10px}.hrme-assistant-bars>div{display:grid;grid-template-columns:90px 1fr 72px;gap:6px;align-items:center}.hrme-assistant-bars span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hrme-assistant-bars i{height:10px;background:#eef2f7;border-radius:99px;overflow:hidden}.hrme-assistant-bars i b{display:block;height:100%;border-radius:99px}.hrme-assistant-bars strong{font-size:9.5px;text-align:left}.hrme-assistant-svg{width:100%;height:190px}
.hrme-assistant-pie-wrap{display:grid;grid-template-columns:130px 1fr;gap:12px;align-items:center}.hrme-assistant-pie{width:125px;height:125px;border-radius:50%;position:relative;display:grid;place-items:center}.hrme-assistant-pie:after{content:"";position:absolute;inset:30px;border-radius:50%;background:#fff}.hrme-assistant-pie span{z-index:2;font-size:15px;font-weight:800}.hrme-assistant-report-legend{display:grid;gap:5px}.hrme-assistant-report-legend>div{display:grid;grid-template-columns:9px 1fr auto;gap:5px;align-items:center;font-size:9.5px}.hrme-assistant-report-legend i{width:9px;height:9px;border-radius:3px}
.hrme-assistant-report-table{overflow:auto;border:1px solid #e2e9f3;border-radius:12px}.hrme-assistant-report-table table{width:100%;border-collapse:collapse;min-width:430px}.hrme-assistant-report-table th,.hrme-assistant-report-table td{padding:7px;border-bottom:1px solid #edf1f5;font-size:9.5px;text-align:right}.hrme-assistant-report-table th{background:#f5f8fc}.hrme-assistant-report-notes{border-radius:12px;padding:9px;background:#f8fafc}.hrme-assistant-report-notes.rec{background:#f1f7ff}.hrme-assistant-report-notes p{font-size:10.5px!important;line-height:1.8!important;margin:3px 0!important}.hrme-assistant-data-note{display:block;color:#71869a}
@media(max-width:520px){.hrme-assistant-report-head{display:block}.hrme-assistant-pie-wrap{grid-template-columns:1fr}.hrme-assistant-pie{margin:auto}}


/* =========================================================
   v3.7.5 — ROOT FIX: invisible chatbot must NEVER block page clicks
   Regression originally introduced with chatbot in v3.6.0.
   ========================================================= */
.hrme-chatbot[hidden]{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
}
.hrme-chatbot:not([hidden]){
    display:flex!important;
}
.hrme-chatbot{
    pointer-events:none!important;
}
.hrme-chatbot.open:not([hidden]){
    pointer-events:auto!important;
}
.hrme-chat-launch{
    pointer-events:auto!important;
}

/* Defensive rule for all native hidden UI elements */
.hrme-app [hidden]{
    pointer-events:none!important;
}
.hrme-app .hrme-modal:not([hidden]),
.hrme-app .hrme-drawer:not([hidden]),
.hrme-app .hrme-chatbot.open:not([hidden]){
    pointer-events:auto!important;
}


/* v3.9.0 Predictive HR */
.hrme-predictive-warning{display:flex;gap:12px;padding:14px 16px;margin:12px 0;border:1px solid #cbd9ff;border-radius:16px;background:#f1f5ff;color:#284260}.hrme-predictive-warning b{font-size:13px}.hrme-predictive-warning p{font-size:11.5px!important;line-height:1.9!important;margin:3px 0!important}.hrme-predictive-warning.light{background:#f8fafc;border-color:#e2e8f0}.hrme-pred-panel{display:none}.hrme-pred-panel.active{display:block}.hrme-pred-risk{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 8px;border:1px solid #dbe5ef}.hrme-pred-risk b{font-size:11px}.hrme-pred-risk small{font-size:9px}.hrme-pred-risk.low{background:#effcf4;color:#137a42}.hrme-pred-risk.medium{background:#fff8e8;color:#9a6500}.hrme-pred-risk.high{background:#fff1f2;color:#b42318}.hrme-pred-modal{width:min(980px,94vw)!important}.hrme-pred-confidence{border-radius:999px;padding:7px 10px;background:#eef3ff;color:#1148dc;font-size:11px;font-weight:800}.hrme-pred-score-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.hrme-pred-score-grid article{border:1px solid #e2e9f3;border-radius:14px;padding:11px}.hrme-pred-score-grid article>small{display:block;margin-bottom:8px}.hrme-pred-detail-section{margin-top:12px;border:1px solid #e2e9f3;border-radius:14px;padding:12px}.hrme-pred-signal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.hrme-pred-signal-grid>div{padding:9px;border-radius:11px;background:#f8fafc}.hrme-pred-signal-grid span,.hrme-pred-signal-grid b{display:block}.hrme-pred-signal-grid span{font-size:9.5px;color:#71869a}.hrme-pred-driver{display:inline-block;margin:3px;padding:5px 8px;border-radius:999px;background:#f1f5ff;color:#365272;font-size:10px}.hrme-pred-quality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.hrme-pred-quality-grid article{padding:12px;border:1px solid #e2e8f0;border-radius:14px}.hrme-pred-quality-grid article.good{background:#f4fcf7}.hrme-pred-quality-grid article.warning{background:#fff9ef}@media(max-width:900px){.hrme-pred-score-grid,.hrme-pred-signal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hrme-pred-quality-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.hrme-pred-score-grid,.hrme-pred-signal-grid,.hrme-pred-quality-grid{grid-template-columns:1fr}}

/* v3.7.6 Predictive explainability */
.hrme-pred-chart-note{font-size:10px!important;line-height:1.8!important;color:#71869a;margin:5px 0 0!important;max-width:520px}
.hrme-pred-formula-note{padding:10px 12px;border-radius:12px;background:#f6f8fc;border:1px solid #e5ebf3;margin-bottom:10px}.hrme-pred-formula-note p{margin:0!important;font-size:11px!important;line-height:1.9!important;color:#4b6075}
.hrme-pred-breakdowns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hrme-pred-breakdowns article{border:1px solid #e2e8f0;border-radius:13px;padding:10px;background:#fff}.hrme-pred-breakdowns article>b{display:block;margin-bottom:7px;font-size:12px;color:#17324d}.hrme-pred-breakdowns article p{display:flex;justify-content:space-between;gap:10px;margin:4px 0!important;padding:4px 0;border-bottom:1px dashed #edf1f5;font-size:10px!important}.hrme-pred-breakdowns article p:last-child{border-bottom:0}.hrme-pred-breakdowns article strong{white-space:nowrap;color:#1148dc}
@media(max-width:650px){.hrme-pred-breakdowns{grid-template-columns:1fr}}

/* v3.7.7 — Manager-friendly predictive wording */
.hrme-pred-help{
    display:block!important;
    margin-top:5px!important;
    font-size:9.5px!important;
    line-height:1.8!important;
    color:#71869a!important;
    font-weight:400!important;
}

/* v3.7.8 — Predictive tabs and filtering */
.hrme-module-tabs{
 display:flex!important;align-items:center!important;gap:6px!important;
 width:max-content!important;max-width:100%!important;margin:0 0 12px 0!important;
 padding:5px!important;background:#fff!important;border:1px solid #dce6f0!important;
 border-radius:14px!important;box-shadow:0 5px 18px rgba(30,64,100,.04)!important;
}
.hrme-module-tabs button{
 appearance:none!important;border:0!important;background:transparent!important;
 padding:9px 15px!important;border-radius:10px!important;color:#536b82!important;
 font-family:inherit!important;font-size:11px!important;font-weight:700!important;
 line-height:1.5!important;white-space:nowrap!important;cursor:pointer!important;
}
.hrme-module-tabs button.active{
 background:#1148dc!important;color:#fff!important;
 box-shadow:0 5px 14px rgba(17,72,220,.16)!important;
}
.hrme-pred-filterbar{
 display:grid!important;grid-template-columns:minmax(320px,1fr) 190px auto!important;
 gap:9px!important;align-items:center!important;padding:10px!important;
 background:#f8fbff!important;border:1px solid #dce6f0!important;border-radius:13px!important;
}
.hrme-pred-filterbar .hrme-searchbox{min-width:0!important;width:100%!important}
.hrme-pred-filterbar select{
 width:100%!important;height:42px!important;border:1px solid #d8e3ee!important;
 border-radius:11px!important;background:#fff!important;color:#314b63!important;
 font-family:inherit!important;font-size:11px!important;padding:0 10px!important;
 outline:none!important;cursor:pointer!important;
}
.hrme-pred-filterbar select:focus{border-color:#1148dc!important;box-shadow:0 0 0 3px rgba(17,72,220,.08)!important}
#hrme-pred-count{white-space:nowrap!important;text-align:center!important}
@media(max-width:900px){
 .hrme-module-tabs{width:100%!important;overflow-x:auto!important}
 .hrme-module-tabs button{flex:0 0 auto!important}
 .hrme-pred-filterbar{grid-template-columns:1fr 1fr!important}
 .hrme-pred-filterbar .hrme-searchbox{grid-column:1/-1!important}
}
@media(max-width:560px){
 .hrme-pred-filterbar{grid-template-columns:1fr!important}
 .hrme-pred-filterbar .hrme-searchbox{grid-column:auto!important}
}

/* v3.7.9 — sortable predictive risk columns */
.hrme-sort-th{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    width:100%!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    font:inherit!important;
    font-weight:700!important;
    cursor:pointer!important;
    padding:6px 4px!important;
    border-radius:8px!important;
}
.hrme-sort-th:hover{
    background:#eef4ff!important;
    color:#1148dc!important;
}
.hrme-sort-icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:18px!important;
    height:18px!important;
    border-radius:6px!important;
    font-size:12px!important;
    line-height:1!important;
}
.hrme-sort-icon.neutral{
    color:#94a3b8!important;
    background:#f1f5f9!important;
}
.hrme-sort-icon.active{
    color:#fff!important;
    background:#1148dc!important;
}

/* v3.7.10 — persistent predictive AI explanations */
.hrme-pred-ai-memory{background:#fbfdff!important}
.hrme-pred-ai-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.hrme-pred-ai-head small{display:block;color:#71869a;font-size:9.5px}.hrme-pred-ai-head h3{margin:2px 0 0!important}
.hrme-pred-ai-state{padding:5px 9px;border-radius:999px;font-size:9px;font-weight:800;background:#eef3ff;color:#1148dc;white-space:nowrap}.hrme-pred-ai-state.cached{background:#eefbf3;color:#15803d}.hrme-pred-ai-state.generated{background:#eef3ff;color:#1148dc}.hrme-pred-ai-state.stale,.hrme-pred-ai-state.error{background:#fff4e8;color:#b45309}
.hrme-pred-ai-meta{display:block;margin:7px 0;color:#71869a;font-size:9px}
.hrme-pred-ai-summary{padding:11px 12px;border-radius:12px;background:#f1f5ff;color:#243b53;line-height:2;font-size:11px;margin:8px 0}
.hrme-pred-ai-score-explanations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hrme-pred-ai-score-explanations article{padding:10px;border:1px solid #e1e9f2;border-radius:12px;background:#fff}.hrme-pred-ai-score-explanations b{font-size:11px}.hrme-pred-ai-score-explanations p{font-size:10.5px!important;line-height:1.9!important;margin:4px 0 0!important;color:#52697f}
.hrme-pred-ai-compare{margin-top:9px;padding:11px;border-radius:12px;border:1px solid #cfdcff;background:#f8faff}.hrme-pred-ai-compare h4{margin:0 0 5px;font-size:12px}.hrme-pred-ai-compare>p{font-size:10.5px!important;line-height:1.9!important}.hrme-pred-ai-compare>div{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:7px 0;border-top:1px dashed #dce5f0}.hrme-pred-ai-compare>div small{grid-column:1/-1;color:#6b8095;font-size:9.5px}
.hrme-pred-ai-list{margin-top:8px;padding:10px 12px;border-radius:12px;background:#f8fafc}.hrme-pred-ai-list.good{background:#f2fbf5}.hrme-pred-ai-list.warn{background:#fff9ef}.hrme-pred-ai-list>b{font-size:11px}.hrme-pred-ai-list p{margin:3px 0!important;font-size:10px!important;line-height:1.8!important}.hrme-pred-ai-message{margin-top:8px;padding:9px 11px;border-radius:10px;background:#fff4e8;color:#9a5a00;font-size:10px}
@media(max-width:650px){.hrme-pred-ai-score-explanations{grid-template-columns:1fr}.hrme-pred-ai-head{display:block}.hrme-pred-ai-state{display:inline-block;margin-top:6px}}

/* v3.7.11 — Anomaly Detection Engine */
.hrme-anomaly-note{display:flex;gap:12px;padding:13px 15px;margin:10px 0 14px;border:1px solid #cfdcff;border-radius:15px;background:#f5f8ff;color:#35506b}.hrme-anomaly-note>.dashicons{color:#1148dc;font-size:22px}.hrme-anomaly-note b{font-size:12px}.hrme-anomaly-note p{font-size:10.5px!important;line-height:1.9!important;margin:3px 0!important}.hrme-anomaly-note.light{background:#f8fafc;border-color:#e2e8f0}
.hrme-anomaly-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) 150px 160px auto;gap:8px;align-items:center;margin:12px 0}.hrme-anomaly-toolbar select{height:42px;border:1px solid #dbe5ef;border-radius:11px;background:#fff;padding:0 10px;font-family:inherit}
.hrme-anomaly-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(340px,.8fr);gap:12px}.hrme-anomaly-grid.lower{margin-top:12px;grid-template-columns:1fr 1fr}
.hrme-anomaly-items{display:grid;gap:9px}.hrme-anomaly-item{border:1px solid #e0e8f1;border-right:4px solid #94a3b8;border-radius:14px;padding:12px;background:#fff}.hrme-anomaly-item.critical{border-right-color:#dc2626}.hrme-anomaly-item.high{border-right-color:#f97316}.hrme-anomaly-item.medium{border-right-color:#f59e0b}.hrme-anomaly-item.low{border-right-color:#22c55e}.hrme-anomaly-item-head{display:flex;justify-content:space-between;align-items:center}.hrme-anomaly-sev,.hrme-anomaly-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:800;margin-left:4px}.hrme-anomaly-sev.critical{background:#fee2e2;color:#b91c1c}.hrme-anomaly-sev.high{background:#ffedd5;color:#c2410c}.hrme-anomaly-sev.medium{background:#fef3c7;color:#a16207}.hrme-anomaly-sev.low{background:#dcfce7;color:#15803d}.hrme-anomaly-status{background:#eef2ff;color:#4338ca}.hrme-anomaly-status.worsened{background:#fff1f2;color:#be123c}.hrme-anomaly-status.improved{background:#ecfdf5;color:#047857}.hrme-anomaly-item h3{font-size:13px;margin:9px 0 5px}.hrme-anomaly-item>p{font-size:10.5px!important;line-height:1.9!important;color:#50687e}.hrme-anomaly-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:9px 0}.hrme-anomaly-numbers>div{padding:8px;border-radius:10px;background:#f8fafc}.hrme-anomaly-numbers small,.hrme-anomaly-numbers b{display:block}.hrme-anomaly-numbers small{font-size:8.5px;color:#789}.hrme-anomaly-numbers b{font-size:11px;margin-top:2px}
.hrme-anomaly-ai-summary{padding:11px;border-radius:12px;background:#f1f5ff;line-height:2;font-size:10.5px}.hrme-anomaly-ai-priority{padding:10px 0;border-bottom:1px solid #edf1f5}.hrme-anomaly-ai-priority>b{font-size:11px}.hrme-anomaly-ai-priority p,.hrme-anomaly-ai-priority small{display:block;font-size:9.5px!important;line-height:1.8!important}.hrme-anomaly-ai-list{margin-top:9px;padding:10px;border-radius:11px;background:#f8fafc}.hrme-anomaly-ai-list.gap{background:#fff9ef}.hrme-anomaly-ai-list p{font-size:9.5px!important;margin:3px 0!important}
.hrme-anomaly-quality{display:grid;gap:8px}.hrme-anomaly-quality article{display:flex;gap:8px;padding:10px;border:1px solid #e2e8f0;border-radius:12px}.hrme-anomaly-quality article.ok{background:#f4fbf6}.hrme-anomaly-quality article.gap{background:#fff9ef}.hrme-anomaly-quality b{font-size:10.5px}.hrme-anomaly-quality p,.hrme-anomaly-quality small{display:block;font-size:9px!important;margin:2px 0!important;line-height:1.7}.hrme-anomaly-gapbox{margin-top:9px;padding:10px;border-radius:11px;background:#fff9ef}.hrme-anomaly-gapbox p{font-size:9.5px!important;margin:3px 0!important}
.hrme-anomaly-resolved{display:flex;gap:9px;padding:9px;border-bottom:1px solid #edf1f5}.hrme-anomaly-resolved>.dashicons{color:#16a34a}.hrme-anomaly-resolved b{font-size:10.5px}.hrme-anomaly-resolved p{font-size:9px!important;margin:2px 0!important}
.hrme-anomaly-modal{width:min(900px,94vw)!important}.hrme-anomaly-detail-message{padding:11px;background:#f5f8ff;border-radius:12px;line-height:2;font-size:11px}.hrme-anomaly-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.hrme-anomaly-detail-grid article{padding:9px;border:1px solid #e2e8f0;border-radius:11px}.hrme-anomaly-detail-grid small,.hrme-anomaly-detail-grid b{display:block}.hrme-anomaly-detail-grid small{font-size:8.5px;color:#789}.hrme-anomaly-detail-body section p{font-size:10px!important;line-height:1.8!important}
@media(max-width:950px){.hrme-anomaly-grid,.hrme-anomaly-grid.lower{grid-template-columns:1fr}.hrme-anomaly-toolbar{grid-template-columns:1fr 1fr}.hrme-anomaly-toolbar .hrme-searchbox{grid-column:1/-1}}
@media(max-width:600px){.hrme-anomaly-toolbar{grid-template-columns:1fr}.hrme-anomaly-toolbar .hrme-searchbox{grid-column:auto}.hrme-anomaly-numbers,.hrme-anomaly-detail-grid{grid-template-columns:1fr 1fr}}

/* v3.7.12 — human-readable anomaly data provenance */
.hrme-anomaly-source-note{
    margin:9px 0;
    padding:10px 12px;
    border-radius:11px;
    background:#f6f8fc;
    border:1px solid #e2e8f0;
}
.hrme-anomaly-source-note>b{
    display:block;
    font-size:10.5px;
    margin-bottom:4px;
}
.hrme-anomaly-source-note p{
    margin:0!important;
    font-size:10px!important;
    line-height:1.9!important;
    color:#52697f!important;
}

/* v3.7.13 — legacy data is gated by current module availability */
.hrme-anomaly-quality article.disabled{
    background:#f8fafc!important;
    border-style:dashed!important;
    color:#64748b!important;
}
.hrme-anomaly-quality article.disabled .dashicons{
    color:#94a3b8!important;
}

/* v3.7.15 — Decision Recommendation Engine */
.hrme-decision-note{display:flex;gap:12px;padding:13px 15px;margin:10px 0 14px;border:1px solid #cfdcff;border-radius:15px;background:#f5f8ff;color:#35506b}.hrme-decision-note>.dashicons{color:#1148dc;font-size:22px}.hrme-decision-note b{font-size:12px}.hrme-decision-note p{font-size:10.5px!important;line-height:1.9!important;margin:3px 0!important}.hrme-decision-note.light{background:#f8fafc;border-color:#e2e8f0}
.hrme-decision-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) 210px auto;gap:8px;align-items:center;margin:12px 0}.hrme-decision-toolbar select{height:42px;border:1px solid #dbe5ef;border-radius:11px;background:#fff;padding:0 10px;font-family:inherit}
.hrme-decision-units{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hrme-decision-unit{border:1px solid #dde6f0;border-radius:15px;padding:13px;background:#fff}.hrme-decision-unit-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.hrme-decision-unit-head small{font-size:9px;color:#71869a}.hrme-decision-unit-head h3{margin:3px 0;font-size:14px}.hrme-decision-need{padding:6px 9px;border-radius:999px;background:#eef3ff;color:#1148dc;font-size:9px;font-weight:800;white-space:nowrap}
.hrme-decision-unit-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:9px 0}.hrme-decision-unit-summary>div{padding:8px;border-radius:10px;background:#f8fafc}.hrme-decision-unit-summary small,.hrme-decision-unit-summary b{display:block}.hrme-decision-unit-summary small{font-size:8.5px;color:#789}.hrme-decision-unit-summary b{font-size:11px}
.hrme-decision-top{padding:10px;border-radius:11px;background:#f2f7ff;margin:8px 0}.hrme-decision-top span,.hrme-decision-top b,.hrme-decision-top small{display:block}.hrme-decision-top span{font-size:8.5px;color:#789}.hrme-decision-top b{font-size:11px;margin:2px 0}.hrme-decision-top small{font-size:9px;color:#52697f}
.hrme-decision-modal{width:min(1050px,95vw)!important}.hrme-decision-context{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.hrme-decision-context>div{padding:9px;border:1px solid #e2e8f0;border-radius:11px}.hrme-decision-context small,.hrme-decision-context b{display:block}.hrme-decision-context small{font-size:8.5px;color:#789}
.hrme-decision-scenarios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hrme-decision-scenario{padding:11px;border:1px solid #e1e8f0;border-radius:13px;background:#fff}.hrme-decision-scenario.recommended{border-color:#9bb8ff;background:#f7f9ff}.hrme-decision-scenario-head{display:flex;justify-content:space-between;gap:10px}.hrme-decision-scenario-head h4{margin:3px 0;font-size:12px}.hrme-decision-scenario-head>b{color:#1148dc}.hrme-decision-best{display:inline-block;padding:3px 7px;border-radius:999px;background:#1148dc;color:#fff;font-size:8px}.hrme-decision-scenario>p{font-size:9.5px!important;line-height:1.8!important;color:#52697f}
.hrme-decision-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.hrme-decision-metrics>div{padding:8px;border-radius:9px;background:#f8fafc}.hrme-decision-metrics small,.hrme-decision-metrics b{display:block}.hrme-decision-metrics small{font-size:8px;color:#789}.hrme-decision-metrics b{font-size:9.5px}.hrme-decision-score{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:800}.hrme-decision-score.low{background:#ecfdf5;color:#047857}.hrme-decision-score.medium{background:#fff7ed;color:#c2410c}.hrme-decision-score.high{background:#fff1f2;color:#be123c}
.hrme-decision-detail-scenario{margin-top:10px;padding:11px;border:1px solid #e2e8f0;border-radius:12px}.hrme-decision-detail-scenario h3{font-size:12px;margin:0 0 4px}.hrme-decision-detail-scenario>p{font-size:9.5px!important;line-height:1.8!important;color:#60758a}.hrme-decision-procon{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hrme-decision-procon>div{padding:8px;border-radius:9px;background:#f8fafc}.hrme-decision-procon b{font-size:9.5px}.hrme-decision-procon p{font-size:9px!important;margin:3px 0!important}.hrme-decision-sources{margin-top:8px}.hrme-decision-sources>b{display:block;font-size:9.5px}.hrme-decision-sources span{display:inline-block;margin:4px 3px 0;padding:4px 7px;border-radius:999px;background:#eef3ff;font-size:8.5px;color:#35506b}
@media(max-width:900px){.hrme-decision-units{grid-template-columns:1fr}.hrme-decision-scenarios{grid-template-columns:1fr}.hrme-decision-toolbar{grid-template-columns:1fr}.hrme-decision-unit-summary,.hrme-decision-context{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hrme-decision-unit-head{display:block}.hrme-decision-need{display:inline-block;margin-top:5px}.hrme-decision-procon{grid-template-columns:1fr}}

/* v3.7.16 — Systemic Cost Estimation */
.hrme-decision-cost .hrme-cost-source{display:block;margin-top:4px;padding:3px 6px;border-radius:999px;width:max-content;max-width:100%;font-size:8px;font-weight:800;background:#eef3ff;color:#1148dc}.hrme-decision-cost .hrme-cost-source.actual{background:#ecfdf5;color:#047857}.hrme-decision-cost .hrme-cost-source.internal_estimate{background:#eef3ff;color:#1148dc}.hrme-decision-cost .hrme-cost-source.system_estimate{background:#fff7ed;color:#c2410c}.hrme-decision-cost .hrme-cost-source.insufficient{background:#f1f5f9;color:#64748b}
.hrme-decision-cost-horizon{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}.hrme-decision-cost-horizon>div{padding:7px;border-radius:9px;background:#f8fafc}.hrme-decision-cost-horizon small,.hrme-decision-cost-horizon b{display:block}.hrme-decision-cost-horizon small{font-size:8px;color:#789}.hrme-decision-cost-horizon b{font-size:9.5px}
.hrme-cost-basis{display:block;margin-top:6px;padding-top:6px;border-top:1px dashed #e2e8f0;color:#60758a;font-size:8.5px;line-height:1.8}

/* v3.7.17 — Explainable AI / Audit Engine */
.hrme-xai-section{background:#fbfdff!important}.hrme-xai-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.hrme-xai-head small{display:block;color:#71869a;font-size:9px}.hrme-xai-head h3{margin:2px 0 0!important}.hrme-xai-confidence{padding:5px 9px;border-radius:999px;background:#eef3ff;color:#1148dc;font-size:9px;font-weight:800;white-space:nowrap}
.hrme-xai-svg-wrap{overflow:auto;margin:10px 0;border:1px solid #e4ebf3;border-radius:12px;background:#fff;padding:8px}.hrme-xai-svg{width:100%;min-width:620px;height:auto}.xai-axis{stroke:#cbd5e1;stroke-width:1}.xai-pos{fill:#1148dc}.xai-neg{fill:#16a34a}.xai-label{font-size:11px;fill:#334155;font-family:inherit}.xai-value{font-size:10px;fill:#475569;font-family:inherit}
.hrme-xai-factors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hrme-xai-factors article{padding:10px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.hrme-xai-factors article>div{display:flex;justify-content:space-between;gap:8px}.hrme-xai-factors b{font-size:10.5px}.hrme-xai-factors .up{color:#b42318;font-size:9px;font-weight:800}.hrme-xai-factors .down{color:#15803d;font-size:9px;font-weight:800}.hrme-xai-factors p{font-size:9.5px!important;line-height:1.8!important;margin:4px 0!important}.hrme-xai-factors small{font-size:8.8px;line-height:1.7;color:#64748b}
.hrme-xai-gaps{margin-top:9px;padding:10px 12px;border-radius:11px;background:#fff9ef;border:1px solid #fde7b0}.hrme-xai-gaps>b{font-size:10px}.hrme-xai-gaps p{font-size:9.5px!important;margin:3px 0!important;line-height:1.8!important}
.hrme-xai-audit{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:9px 0}.hrme-xai-audit>div{padding:8px;border-radius:9px;background:#f8fafc}.hrme-xai-audit span,.hrme-xai-audit b{display:block}.hrme-xai-audit span{font-size:8px;color:#789}.hrme-xai-audit b{font-size:9.5px}
.hrme-xai-audit-panel{border:2px solid #cddcff!important;background:#f8faff!important}.hrme-xai-audit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.hrme-xai-audit-grid>div{padding:8px;background:#fff;border-radius:9px}.hrme-xai-audit-grid span,.hrme-xai-audit-grid b{display:block}.hrme-xai-audit-grid span{font-size:8px;color:#789}.hrme-xai-history{display:grid;gap:5px}.hrme-xai-history>div{display:grid;grid-template-columns:80px 1fr 120px 130px 60px;gap:6px;padding:7px;background:#fff;border-radius:8px;font-size:9px;align-items:center}.hrme-xai-history em{font-style:normal;color:#1148dc;font-weight:800}
.hrme-decision-xai{margin-top:7px;padding:8px;border-radius:9px;background:#f1f5ff}.hrme-decision-xai b{font-size:9px}.hrme-decision-xai p,.hrme-decision-xai small{display:block;font-size:8.5px!important;margin:2px 0!important;line-height:1.7!important}
@media(max-width:700px){.hrme-xai-factors{grid-template-columns:1fr}.hrme-xai-audit,.hrme-xai-audit-grid{grid-template-columns:1fr 1fr}.hrme-xai-history>div{grid-template-columns:1fr 1fr}.hrme-xai-head{display:block}.hrme-xai-confidence{display:inline-block;margin-top:5px}}

/* v3.7.18 — Explainable AI UI rebuild */
.hrme-xai-section{padding:18px!important;border-radius:18px!important;background:#fff!important;border:1px solid #dce7f4!important;overflow:hidden}
.hrme-xai-head{direction:rtl;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px;margin-bottom:14px}
.hrme-xai-head>div{min-width:0}.hrme-xai-head>div>small{font-size:10px!important;color:#1148dc!important;font-weight:800}.hrme-xai-head h3{font-size:18px!important;line-height:1.6!important;margin:1px 0 0!important;color:#172033!important}.hrme-xai-head p{font-size:10.5px!important;color:#718096!important;margin:1px 0 0!important}
.hrme-xai-confidence{direction:rtl;display:flex!important;align-items:center;gap:7px;padding:8px 11px!important;border:1px solid #d8e4ff;border-radius:12px!important;background:#f5f8ff!important;color:#1148dc!important;flex:0 0 auto}
.hrme-xai-confidence small{font-size:9px;color:#6d7d98}.hrme-xai-confidence b{font-size:15px}
.hrme-xai-svg-wrap{direction:rtl;overflow:visible!important;margin:0 0 14px!important;border:0!important;border-radius:14px!important;background:#f8fbff!important;padding:14px!important}
.hrme-xai-bars{display:grid;gap:13px}
.hrme-xai-bar-row{display:grid;grid-template-columns:minmax(150px,230px) minmax(160px,1fr) 52px;align-items:center;gap:12px;direction:rtl}
.hrme-xai-bar-label{min-width:0;text-align:right}.hrme-xai-bar-label b{display:block;font-size:11px;color:#27364a;white-space:normal;line-height:1.55}.hrme-xai-bar-label small{display:block;margin-top:1px;font-size:8.5px;color:#8291a6}
.hrme-xai-bar-track{height:12px;border-radius:999px;background:#e8eef6;overflow:hidden;direction:rtl}.hrme-xai-bar-track span{display:block;height:100%;border-radius:999px}.hrme-xai-bar-track .risk-up{background:#1148dc}.hrme-xai-bar-track .risk-down{background:#18a66a}
.hrme-xai-bar-value{text-align:left;font-size:11px;font-weight:900;font-variant-numeric:tabular-nums}.risk-up-text{color:#1148dc}.risk-down-text{color:#138456}
.hrme-xai-factors{direction:rtl;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.hrme-xai-factors article{padding:12px!important;border:1px solid #e2eaf4!important;border-radius:14px!important;background:#fff!important;box-shadow:0 3px 14px rgba(28,55,90,.035)}
.hrme-xai-factors article>div{align-items:center}.hrme-xai-factors article b{font-size:11px!important;color:#1d2939}.hrme-xai-factors article p{font-size:10px!important;color:#52647a!important;margin:5px 0!important}.hrme-xai-factors article small{display:block;font-size:9px!important;color:#718096!important}
.hrme-xai-gaps{direction:rtl;margin-top:12px!important;padding:12px 14px!important;border-radius:14px!important;background:#fffaf0!important;border:1px solid #f5dfad!important}.hrme-xai-gaps>b{font-size:11px!important;color:#7c5700}.hrme-xai-gaps p{font-size:9.5px!important;color:#795f28!important}
.hrme-xai-audit{direction:rtl;margin-top:12px!important}.hrme-xai-audit>div{border:1px solid #e7edf5;background:#f9fbfd!important}
.hrme-xai-section>.hrme-btn.mini{margin-top:2px!important}
@media(max-width:900px){.hrme-xai-bar-row{grid-template-columns:minmax(110px,180px) minmax(120px,1fr) 44px}.hrme-xai-factors{grid-template-columns:1fr!important}}
@media(max-width:600px){.hrme-xai-section{padding:12px!important}.hrme-xai-head{align-items:flex-start!important}.hrme-xai-head h3{font-size:15px!important}.hrme-xai-confidence{padding:6px 8px!important}.hrme-xai-confidence small{display:none}.hrme-xai-bar-row{grid-template-columns:1fr 38px;gap:6px}.hrme-xai-bar-label{grid-column:1/-1}.hrme-xai-bar-track{height:10px}.hrme-xai-audit{grid-template-columns:1fr 1fr!important}}

/* =========================================================
   v3.7.19 — Explainable AI executive card UI
   No SVG, no RTL text overlap.
   ========================================================= */
.hrme-xai-section{
    direction:rtl!important;
    padding:16px!important;
    background:#fff!important;
    border:1px solid #dfe8f2!important;
    border-radius:18px!important;
    overflow:visible!important;
}
.hrme-xai-summary-card{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 150px 150px!important;
    gap:10px!important;
    align-items:stretch!important;
    padding:14px!important;
    border:1px solid #dfe8f2!important;
    border-radius:15px!important;
    background:#f8fbff!important;
}
.hrme-xai-summary-card.critical{border-right:4px solid #dc2626!important}
.hrme-xai-summary-card.medium{border-right:4px solid #f59e0b!important}
.hrme-xai-summary-card.low{border-right:4px solid #16a34a!important}
.hrme-xai-summary-main{padding:3px 2px!important}
.hrme-xai-summary-main>small{display:block!important;font-size:9px!important;font-weight:800!important;color:#1148dc!important}
.hrme-xai-summary-main h3{font-size:18px!important;line-height:1.55!important;margin:2px 0 1px!important;color:#172033!important}
.hrme-xai-summary-main p{font-size:10px!important;line-height:1.7!important;color:#718096!important;margin:0!important}
.hrme-xai-score-box,.hrme-xai-confidence-box{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    min-height:86px!important;
    padding:10px!important;
    border-radius:12px!important;
    background:#fff!important;
    border:1px solid #e1e9f2!important;
}
.hrme-xai-score-box>span,.hrme-xai-confidence-box>span{font-size:8.5px!important;color:#789!important}
.hrme-xai-score-box>b{font-size:25px!important;color:#172033!important;line-height:1.25!important}
.hrme-xai-confidence-box>b{font-size:21px!important;color:#1148dc!important;line-height:1.35!important}
.hrme-xai-score-box>small,.hrme-xai-confidence-box>small{font-size:8px!important;color:#8493a7!important}
.hrme-xai-section-title{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin:15px 2px 8px!important;
}
.hrme-xai-section-title small{display:block;font-size:8.5px;color:#94a3b8}
.hrme-xai-section-title h4{font-size:13px!important;margin:1px 0!important;color:#24364b}
.hrme-xai-section-title>span{padding:4px 8px;border-radius:999px;background:#eef3ff;color:#1148dc;font-size:8.5px;font-weight:800}
.hrme-xai-contrib-list{display:grid!important;gap:8px!important}
.hrme-xai-contrib{
    padding:11px 12px!important;
    border:1px solid #e3eaf2!important;
    border-radius:13px!important;
    background:#fff!important;
}
.hrme-xai-contrib.positive{border-right:3px solid #1148dc!important}
.hrme-xai-contrib.negative{border-right:3px solid #16a34a!important}
.hrme-xai-contrib-top{
    display:flex!important;
    justify-content:space-between!important;
    gap:10px!important;
    align-items:center!important;
}
.hrme-xai-contrib-title{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
.hrme-xai-factor-index{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:24px!important;height:24px!important;flex:0 0 24px!important;
    border-radius:8px!important;background:#f1f5f9!important;color:#64748b!important;font-size:9px!important;font-weight:900!important
}
.hrme-xai-contrib-title b{display:block!important;font-size:11px!important;color:#24364b!important;line-height:1.5!important}
.hrme-xai-contrib-title small{display:block!important;font-size:8.5px!important;color:#8a98aa!important}
.hrme-xai-points{padding:5px 8px!important;border-radius:9px!important;font-size:9.5px!important;font-weight:900!important;white-space:nowrap!important}
.hrme-xai-points.up{background:#eef3ff!important;color:#1148dc!important}
.hrme-xai-points.down{background:#ecfdf5!important;color:#138456!important}
.hrme-xai-progress{
    direction:rtl!important;
    width:100%!important;height:7px!important;margin:9px 0!important;
    border-radius:999px!important;background:#edf2f7!important;overflow:hidden!important
}
.hrme-xai-progress span{display:block!important;height:100%!important;border-radius:999px!important}
.hrme-xai-contrib.positive .hrme-xai-progress span{background:#1148dc!important}
.hrme-xai-contrib.negative .hrme-xai-progress span{background:#16a34a!important}
.hrme-xai-contrib-meta{
    display:grid!important;
    grid-template-columns:110px minmax(180px,1fr) minmax(120px,.7fr)!important;
    gap:6px!important;
}
.hrme-xai-contrib-meta>div{
    padding:7px 8px!important;
    border-radius:9px!important;
    background:#f8fafc!important;
    min-width:0!important;
}
.hrme-xai-contrib-meta span{display:block!important;font-size:7.8px!important;color:#8a98aa!important;margin-bottom:2px!important}
.hrme-xai-contrib-meta b{display:block!important;font-size:9px!important;color:#40566e!important;white-space:normal!important;overflow-wrap:anywhere!important}
.hrme-xai-evidence-note{
    margin:7px 1px 0!important;
    padding-top:6px!important;
    border-top:1px dashed #e7edf3!important;
    color:#718096!important;
    font-size:8.7px!important;
    line-height:1.8!important;
}
.hrme-xai-gap-head{display:flex!important;align-items:center!important;gap:6px!important}
.hrme-xai-gap-head .dashicons{color:#c98900!important}
.hrme-xai-audit-card{
    margin-top:10px!important;
    padding:11px!important;
    border:1px solid #e3eaf2!important;
    border-radius:13px!important;
    background:#f9fbfd!important;
}
.hrme-xai-audit-title{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:7px!important}
.hrme-xai-audit-title small{display:block!important;font-size:8px!important;color:#94a3b8!important}
.hrme-xai-audit-title h4{font-size:11px!important;margin:1px 0!important;color:#334155!important}
.hrme-xai-audit-title>.dashicons{color:#1148dc!important}
.hrme-xai-audit-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
.hrme-xai-audit-grid>div{padding:7px 8px!important;border-radius:9px!important;background:#fff!important;border:1px solid #e7edf4!important}
.hrme-xai-audit-grid span{font-size:7.5px!important;color:#94a3b8!important}
.hrme-xai-audit-grid b{font-size:8.7px!important;color:#43566c!important}
.hrme-xai-audit-btn{margin-top:8px!important}
.hrme-xai-svg-wrap,.hrme-xai-bars,.hrme-xai-svg{display:none!important}

@media(max-width:900px){
    .hrme-xai-summary-card{grid-template-columns:1fr 130px 130px!important}
    .hrme-xai-contrib-meta{grid-template-columns:100px 1fr!important}
    .hrme-xai-contrib-meta>div:last-child{grid-column:1/-1!important}
}
@media(max-width:620px){
    .hrme-xai-section{padding:10px!important}
    .hrme-xai-summary-card{grid-template-columns:1fr 1fr!important}
    .hrme-xai-summary-main{grid-column:1/-1!important}
    .hrme-xai-score-box,.hrme-xai-confidence-box{min-height:72px!important}
    .hrme-xai-summary-main h3{font-size:15px!important}
    .hrme-xai-contrib-top{align-items:flex-start!important}
    .hrme-xai-contrib-meta{grid-template-columns:1fr!important}
    .hrme-xai-contrib-meta>div:last-child{grid-column:auto!important}
    .hrme-xai-audit-grid{grid-template-columns:1fr 1fr!important}
}

/* v3.7.20 — Performance Analysis Engine */
.hrme-performance-note{display:flex;gap:12px;padding:13px 15px;margin:10px 0 14px;border:1px solid #cfdcff;border-radius:15px;background:#f5f8ff;color:#35506b}.hrme-performance-note>.dashicons{color:#1148dc;font-size:22px}.hrme-performance-note b{font-size:11px}.hrme-performance-note p{font-size:10px!important;line-height:1.9!important;margin:2px 0!important}.hrme-performance-note.light{background:#f8fafc;border-color:#e2e8f0}
.hrme-perf-panel{display:none}.hrme-perf-panel.active{display:block}.hrme-performance-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.hrme-performance-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(260px,420px);gap:9px;margin:10px 0 12px}.hrme-performance-toolbar select{height:42px;border:1px solid #dbe5ef;border-radius:11px;background:#fff;padding:0 10px;font-family:inherit}
.hrme-perf-bars{display:grid;gap:10px;padding:8px 2px}.hrme-perf-bar-row{display:grid;grid-template-columns:minmax(120px,220px) minmax(160px,1fr) 48px;gap:10px;align-items:center}.hrme-perf-bar-label b,.hrme-perf-bar-label small{display:block}.hrme-perf-bar-label b{font-size:10px;color:#334155}.hrme-perf-bar-label small{font-size:8px;color:#94a3b8}.hrme-perf-bar-track{height:10px;border-radius:999px;background:#edf2f7;overflow:hidden}.hrme-perf-bar-track span{display:block;height:100%;border-radius:999px}.hrme-perf-bar-track span.good{background:#16a34a}.hrme-perf-bar-track span.mid{background:#f59e0b}.hrme-perf-bar-track span.low{background:#ef4444}.hrme-perf-bar-value{text-align:left;font-size:10px;color:#334155}
.hrme-perf-profile-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.hrme-perf-profile-head small{font-size:9px;color:#718096}.hrme-perf-profile-head h2{margin:2px 0;font-size:18px}.hrme-perf-profile-head p{font-size:10px;color:#718096;margin:0}.hrme-perf-score{width:120px;min-height:86px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f8fafc;border:1px solid #e2e8f0}.hrme-perf-score span,.hrme-perf-score small{font-size:8px;color:#789}.hrme-perf-score b{font-size:26px}.hrme-perf-score.good b{color:#15803d}.hrme-perf-score.mid b{color:#b77900}.hrme-perf-score.low b{color:#b42318}
.hrme-perf-benchmarks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:12px}.hrme-perf-benchmarks article{padding:9px;border-radius:11px;background:#f8fafc;border:1px solid #e7edf4}.hrme-perf-benchmarks small,.hrme-perf-benchmarks b,.hrme-perf-benchmarks span{display:block}.hrme-perf-benchmarks small{font-size:8px;color:#789}.hrme-perf-benchmarks b{font-size:15px}.hrme-perf-benchmarks span{font-size:8px;color:#94a3b8;margin-top:2px}
.hrme-perf-line-wrap{overflow:auto}.hrme-perf-line{width:100%;min-width:520px;height:auto}.hrme-perf-line .grid{stroke:#dce5ef;stroke-width:1}.hrme-perf-line .trend{fill:none;stroke:#1148dc;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.hrme-perf-line circle{fill:#fff;stroke:#1148dc;stroke-width:3}.hrme-perf-line text{font-size:10px;fill:#334155;font-family:inherit}.hrme-perf-line text.period{font-size:8px;fill:#789}
.hrme-perf-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hrme-perf-sources article{display:flex;gap:8px;padding:10px;border:1px solid #e2e8f0;border-radius:12px}.hrme-perf-sources article.enabled{background:#f4fbf6}.hrme-perf-sources article.disabled{background:#f8fafc;border-style:dashed}.hrme-perf-sources article.enabled>.dashicons{color:#16a34a}.hrme-perf-sources article.disabled>.dashicons{color:#94a3b8}.hrme-perf-sources b{font-size:10px}.hrme-perf-sources p,.hrme-perf-sources small{font-size:8.5px!important;line-height:1.7!important;margin:2px 0!important;display:block}
.hrme-perf-table-score{display:inline-flex;padding:5px 8px;border-radius:999px;font-weight:900}.hrme-perf-table-score.good{background:#ecfdf5;color:#15803d}.hrme-perf-table-score.mid{background:#fff7ed;color:#b45309}.hrme-perf-table-score.low{background:#fff1f2;color:#be123c}
@media(max-width:900px){.hrme-performance-grid{grid-template-columns:1fr}.hrme-perf-sources{grid-template-columns:1fr 1fr}.hrme-perf-benchmarks{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.hrme-performance-toolbar{grid-template-columns:1fr}.hrme-perf-bar-row{grid-template-columns:1fr 40px}.hrme-perf-bar-label{grid-column:1/-1}.hrme-perf-profile-head{align-items:flex-start}.hrme-perf-score{width:100px}.hrme-perf-sources{grid-template-columns:1fr}.hrme-perf-benchmarks{grid-template-columns:1fr 1fr}}

/* v3.7.21 — Performance searchable personnel picker */
.hrme-performance-toolbar.hrme-perf-person-picker{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    position:relative!important;
}
.hrme-perf-picker-status{
    padding:0 4px;
    color:#718096;
    font-size:9px;
}
.hrme-perf-picker-results{
    display:grid;
    gap:6px;
    max-height:340px;
    overflow:auto;
    padding:4px;
    border:1px solid #e0e8f1;
    border-radius:13px;
    background:#fff;
}
.hrme-perf-person-option{
    appearance:none;
    width:100%;
    display:grid;
    grid-template-columns:36px minmax(180px,1fr) minmax(120px,220px) 74px;
    gap:9px;
    align-items:center;
    padding:9px 10px;
    border:1px solid transparent;
    border-radius:11px;
    background:#f8fafc;
    color:#24364b;
    text-align:right;
    font-family:inherit;
    cursor:pointer;
    transition:.15s ease;
}
.hrme-perf-person-option:hover{
    background:#f1f5ff;
    border-color:#cddcff;
}
.hrme-perf-person-option.active{
    background:#eef3ff;
    border-color:#1148dc;
    box-shadow:0 0 0 2px rgba(17,72,220,.05);
}
.hrme-perf-person-avatar{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:11px;
    background:#e9efff;
    color:#1148dc;
    font-size:13px;
    font-weight:900;
}
.hrme-perf-person-main b,.hrme-perf-person-main small{
    display:block;
}
.hrme-perf-person-main b{
    font-size:10.5px;
}
.hrme-perf-person-main small{
    margin-top:2px;
    font-size:8.5px;
    color:#7a8ca0;
}
.hrme-perf-person-role{
    font-size:9px;
    color:#52697f;
    white-space:normal;
}
.hrme-perf-person-score{
    display:inline-flex;
    justify-content:center;
    padding:5px 7px;
    border-radius:999px;
    font-size:8.5px;
    font-weight:900;
    background:#f1f5f9;
    color:#64748b;
}
.hrme-perf-person-score.good{background:#ecfdf5;color:#15803d}
.hrme-perf-person-score.mid{background:#fff7ed;color:#b45309}
.hrme-perf-person-score.low{background:#fff1f2;color:#be123c}
.hrme-perf-person-score.na{background:#f1f5f9;color:#64748b}
.hrme-empty-state.compact{padding:15px!important;min-height:0!important}
@media(max-width:700px){
    .hrme-perf-person-option{
        grid-template-columns:34px 1fr 64px;
    }
    .hrme-perf-person-role{
        grid-column:2/-1;
        padding-right:0;
    }
}

/* v3.7.22 — Performance master/detail personnel UX */
.hrme-perf-master-detail{
    display:grid;
    grid-template-columns:360px minmax(0,1fr);
    gap:12px;
    align-items:start;
}
.hrme-perf-personnel-panel{
    position:sticky;
    top:12px;
    border:1px solid #dfe7f0;
    border-radius:16px;
    background:#fff;
    padding:11px;
    min-width:0;
}
.hrme-perf-personnel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:9px;
}
.hrme-perf-personnel-head small{
    display:block;
    font-size:8px;
    color:#94a3b8;
}
.hrme-perf-personnel-head h3{
    margin:1px 0;
    font-size:13px;
}
#hrme-perf-picker-count{
    padding:4px 8px;
    border-radius:999px;
    background:#eef3ff;
    color:#1148dc;
    font-size:8.5px;
    font-weight:900;
}
.hrme-perf-personnel-filter{
    display:flex;
    gap:5px;
    margin:8px 0;
    padding:4px;
    border-radius:10px;
    background:#f5f7fa;
}
.hrme-perf-personnel-filter button{
    flex:1;
    border:0;
    background:transparent;
    border-radius:8px;
    padding:6px 7px;
    font-family:inherit;
    font-size:8.5px;
    color:#66788d;
    cursor:pointer;
}
.hrme-perf-personnel-filter button.active{
    background:#1148dc;
    color:#fff;
    font-weight:800;
}
.hrme-perf-personnel-panel .hrme-perf-picker-results{
    max-height:620px;
    overflow:auto;
    border:0;
    padding:2px;
    background:transparent;
}
.hrme-perf-personnel-panel .hrme-perf-person-option{
    grid-template-columns:34px minmax(120px,1fr) 60px;
    margin-bottom:5px;
    padding:8px;
}
.hrme-perf-personnel-panel .hrme-perf-person-role{
    grid-column:2/-1;
    padding-right:0;
    font-size:8px;
    color:#8a98aa;
}
.hrme-perf-detail-panel{
    min-width:0;
}
.hrme-perf-empty-person{
    min-height:420px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
}
.hrme-perf-empty-person>.dashicons{
    width:52px!important;
    height:52px!important;
    font-size:52px!important;
    color:#b8c4d1!important;
    margin-bottom:8px!important;
}
.hrme-perf-empty-person h2{
    font-size:15px!important;
    margin:0 0 4px!important;
}
.hrme-perf-empty-person p{
    max-width:420px!important;
    font-size:10px!important;
    line-height:1.9!important;
    color:#718096!important;
}
.hrme-perf-no-data-detail>p{
    font-size:10.5px!important;
    line-height:1.9!important;
    color:#52697f!important;
}
.hrme-perf-needed-data{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin:10px 0;
}
.hrme-perf-needed-data article{
    padding:10px;
    border:1px solid #e2e8f0;
    border-radius:11px;
    background:#f8fafc;
}
.hrme-perf-needed-data b,.hrme-perf-needed-data span{
    display:block;
}
.hrme-perf-needed-data b{
    font-size:10px;
}
.hrme-perf-needed-data span{
    margin-top:3px;
    font-size:8.5px;
    color:#718096;
}
@media(max-width:1100px){
    .hrme-perf-master-detail{grid-template-columns:300px minmax(0,1fr)}
}
@media(max-width:820px){
    .hrme-perf-master-detail{grid-template-columns:1fr}
    .hrme-perf-personnel-panel{position:relative;top:auto}
    .hrme-perf-personnel-panel .hrme-perf-picker-results{max-height:360px}
}
@media(max-width:600px){
    .hrme-perf-needed-data{grid-template-columns:1fr}
}

/* v3.7.23 — Smart Recruitment Engine */
.hrme-smart-policy{display:flex!important;justify-content:space-between;gap:14px;align-items:center;background:#f5f8ff!important;border-color:#cddcff!important}.hrme-smart-policy small{font-size:8px;color:#1148dc}.hrme-smart-policy h3{margin:2px 0!important}.hrme-smart-policy p{font-size:9.5px!important;line-height:1.8!important;color:#52697f}.hrme-smart-policy>.dashicons{font-size:30px;width:30px;height:30px;color:#1148dc}
.hrme-smart-extract-status{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:10px;margin-bottom:8px}.hrme-smart-extract-status.ok{background:#ecfdf5;color:#166534}.hrme-smart-extract-status.warn{background:#fff7ed;color:#9a5410}.hrme-smart-extract-status b{font-size:9.5px}.hrme-smart-extract-status span{font-size:8.5px}
.hrme-smart-score-card{display:grid!important;grid-template-columns:minmax(0,1fr) 120px 110px;align-items:center;gap:10px;background:#f8fbff!important}.hrme-smart-score-main small{font-size:8px;color:#1148dc}.hrme-smart-score-main h3{font-size:15px;margin:2px 0}.hrme-smart-score-main p{font-size:9.5px!important;line-height:1.8!important;color:#52697f}.hrme-smart-score{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:88px;border-radius:13px;background:#fff;border:1px solid #e1e8f0}.hrme-smart-score b{font-size:27px}.hrme-smart-score span,.hrme-smart-score small{font-size:8px;color:#789}.hrme-smart-score.good b{color:#15803d}.hrme-smart-score.mid b{color:#b77900}.hrme-smart-score.low b{color:#b42318}.hrme-smart-fit{text-align:center}.hrme-smart-fit span{display:block;padding:6px 8px;border-radius:999px;background:#eef3ff;color:#1148dc;font-size:9px;font-weight:900}.hrme-smart-fit small{font-size:8px;color:#94a3b8}
.hrme-smart-resume-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hrme-smart-resume-grid section{padding:9px;border-radius:10px;background:#f8fafc}.hrme-smart-resume-grid h4{font-size:9.5px;margin:0 0 4px}.hrme-smart-resume-grid p{font-size:8.8px!important;margin:3px 0!important;line-height:1.7!important}.hrme-smart-resume-grid p small{display:block;color:#94a3b8}.hrme-smart-chip{display:inline-block;padding:4px 7px;margin:2px;border-radius:999px;background:#eef3ff;color:#36567d;font-size:8px}
.hrme-smart-skill-list{display:grid;gap:6px}.hrme-smart-skill-list article{display:grid;grid-template-columns:1fr 46px;gap:4px 8px;padding:8px;border:1px solid #e3eaf2;border-radius:10px}.hrme-smart-skill-list article>div b,.hrme-smart-skill-list article>div span{display:block}.hrme-smart-skill-list b{font-size:9.5px}.hrme-smart-skill-list span{font-size:7.5px;color:#94a3b8}.hrme-smart-skill-list strong{font-size:10px;color:#1148dc}.hrme-smart-skill-list p{grid-column:1/-1;font-size:8.5px!important;line-height:1.7!important;margin:0!important;color:#60758a}
.hrme-smart-gap,.hrme-smart-assessment{padding:9px;border:1px solid #e3eaf2;border-radius:10px;margin-bottom:6px}.hrme-smart-gap.high{border-right:3px solid #ef4444}.hrme-smart-gap.medium{border-right:3px solid #f59e0b}.hrme-smart-gap.low{border-right:3px solid #16a34a}.hrme-smart-gap b,.hrme-smart-assessment b{font-size:9.5px}.hrme-smart-gap p,.hrme-smart-assessment p{font-size:8.5px!important;line-height:1.7!important;margin:3px 0!important}.hrme-smart-gap small,.hrme-smart-assessment small{font-size:8px;color:#718096}
.hrme-smart-questions{display:grid;gap:7px}.hrme-smart-questions article{display:grid;grid-template-columns:26px 1fr;gap:8px;padding:9px;border:1px solid #e3eaf2;border-radius:10px}.hrme-smart-questions>article>span{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:8px;background:#1148dc;color:#fff;font-size:9px;font-weight:900}.hrme-smart-questions b{font-size:9.5px}.hrme-smart-questions p,.hrme-smart-questions small,.hrme-smart-questions em{display:block;font-size:8.5px!important;line-height:1.7!important;margin:2px 0!important;color:#60758a}.hrme-smart-questions em{font-style:normal;color:#395a7a}
.hrme-smart-audit{background:#fbfdff!important}.hrme-smart-audit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.hrme-smart-audit-grid>div{padding:8px;border-radius:9px;background:#f8fafc}.hrme-smart-audit-grid span,.hrme-smart-audit-grid b{display:block}.hrme-smart-audit-grid span{font-size:7.5px;color:#94a3b8}.hrme-smart-audit-grid b{font-size:8.5px}.hrme-smart-excluded{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.hrme-smart-excluded span{padding:4px 7px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:7.5px}.hrme-smart-data-gaps{margin-top:8px;padding:9px;border-radius:10px;background:#fff9ef}.hrme-smart-data-gaps b{font-size:9px}.hrme-smart-data-gaps p{font-size:8.5px!important;margin:2px 0!important}
.hrme-recruit-ranking-modal-box{width:min(1100px,95vw)!important}.hrme-recruit-ranking-tools{display:grid;grid-template-columns:1fr auto;gap:8px;margin:10px 0}.hrme-recruit-ranking-tools input{height:42px;border:1px solid #dbe5ef;border-radius:10px;padding:0 10px;font-family:inherit}.hrme-smart-ranking-notice{padding:9px 11px;border-radius:10px;background:#f5f8ff;border:1px solid #cddcff;font-size:9px;color:#52697f;margin-bottom:8px}.hrme-smart-rank-score{display:inline-flex;min-width:44px;justify-content:center;padding:5px 7px;border-radius:999px;font-weight:900}.hrme-smart-rank-score.good{background:#ecfdf5;color:#15803d}.hrme-smart-rank-score.mid{background:#fff7ed;color:#b45309}.hrme-smart-rank-score.low{background:#fff1f2;color:#be123c}
@media(max-width:800px){.hrme-smart-score-card{grid-template-columns:1fr 100px}.hrme-smart-fit{grid-column:1/-1}.hrme-smart-resume-grid{grid-template-columns:1fr}.hrme-smart-audit-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.hrme-smart-score-card{grid-template-columns:1fr}.hrme-smart-score{width:100%}.hrme-recruit-ranking-tools{grid-template-columns:1fr}}

/* =========================================================
   v3.7.24 — Recruitment Pipeline layout fix
   Desktop: 5 stages per row, no horizontal scrollbar
   Tablet/mobile: responsive grid
   ========================================================= */
.hrme-pipeline-card{
    overflow:visible!important;
}
.hrme-pipeline-card .hrme-card-head{
    align-items:center!important;
    margin-bottom:10px!important;
}
.hrme-recruit-pipeline{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:9px!important;
    overflow:visible!important;
    padding:0!important;
    direction:rtl!important;
}
.hrme-recruit-pipeline button{
    position:relative!important;
    min-width:0!important;
    width:100%!important;
    min-height:112px!important;
    display:grid!important;
    grid-template-rows:auto 1fr auto!important;
    align-content:stretch!important;
    gap:8px!important;
    border:1px solid #e0e7f0!important;
    background:#fff!important;
    border-radius:14px!important;
    padding:11px 12px!important;
    text-align:right!important;
    box-shadow:0 2px 10px rgba(28,55,90,.025)!important;
    transform:none!important;
}
.hrme-recruit-pipeline button:hover{
    border-color:#9db7ff!important;
    background:#f8faff!important;
    transform:translateY(-1px)!important;
}
.hrme-recruit-pipeline button.active{
    border-color:#1148dc!important;
    background:#f3f6ff!important;
    box-shadow:0 0 0 2px rgba(17,72,220,.06)!important;
}
.hrme-recruit-pipeline button i{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    justify-self:start!important;
    min-width:0!important;
    width:max-content!important;
    height:24px!important;
    padding:0 8px!important;
    border-radius:7px!important;
    background:#edf2ff!important;
    color:#1148dc!important;
    font-size:8.5px!important;
    font-weight:800!important;
    line-height:1!important;
}
.hrme-recruit-pipeline button span{
    display:flex!important;
    align-items:center!important;
    margin:0!important;
    min-width:0!important;
    font-size:11px!important;
    font-weight:800!important;
    line-height:1.55!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    color:#26364a!important;
}
.hrme-recruit-pipeline button b{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    min-height:29px!important;
    padding:5px 7px!important;
    border-radius:8px!important;
    background:#f5f7fb!important;
    color:#60758a!important;
    font-size:9px!important;
    font-weight:800!important;
    text-align:center!important;
}
.hrme-recruit-pipeline button.active b{
    background:#eaf0ff!important;
    color:#1148dc!important;
}
.hrme-recruit-pipeline button.active i{
    background:#1148dc!important;
    color:#fff!important;
}

/* Make pipeline hint less dominant */
.hrme-pipeline-card .hrme-card-head>.hrme-muted{
    font-size:9px!important;
    color:#7a8ca0!important;
}

/* Tablet */
@media(max-width:1100px){
    .hrme-recruit-pipeline{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}
/* Small tablet */
@media(max-width:760px){
    .hrme-recruit-pipeline{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:7px!important;
    }
    .hrme-recruit-pipeline button{
        min-height:104px!important;
        padding:9px 10px!important;
    }
}
/* Mobile web-app style */
@media(max-width:480px){
    .hrme-recruit-pipeline{
        grid-template-columns:1fr!important;
    }
    .hrme-recruit-pipeline button{
        min-height:0!important;
        grid-template-columns:auto minmax(0,1fr) auto!important;
        grid-template-rows:1fr!important;
        align-items:center!important;
        gap:8px!important;
        padding:9px 10px!important;
    }
    .hrme-recruit-pipeline button i{
        grid-column:1!important;
    }
    .hrme-recruit-pipeline button span{
        grid-column:2!important;
    }
    .hrme-recruit-pipeline button b{
        grid-column:3!important;
        white-space:nowrap!important;
        min-width:58px!important;
    }
}

/* v3.7.25 — Training Needs Analysis Engine */
.hrme-training-needs-launch{display:flex;justify-content:flex-end;margin-bottom:10px}.hrme-training-needs-modal-box{width:min(1200px,96vw)!important}.hrme-training-needs-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:12px}.hrme-training-needs-layout>aside{border:1px solid #e1e8f0;border-radius:14px;padding:10px;background:#fbfdff}.hrme-training-needs-layout>main{min-width:0}.hrme-training-needs-layout #hrme-training-needs-list{max-height:650px;overflow:auto;margin-top:8px}.hrme-training-person{width:100%;display:flex;justify-content:space-between;gap:8px;align-items:center;border:1px solid transparent;background:#f8fafc;border-radius:10px;padding:8px;margin-bottom:5px;font-family:inherit;text-align:right;cursor:pointer}.hrme-training-person:hover,.hrme-training-person.active{background:#eef3ff;border-color:#1148dc}.hrme-training-person b,.hrme-training-person small{display:block}.hrme-training-person b{font-size:9.5px}.hrme-training-person small{font-size:8px;color:#789}.hrme-training-person>span{font-size:8px;color:#1148dc;white-space:nowrap}
.hrme-tn-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;border:1px solid #e1e8f0;border-radius:13px;background:#fff;margin-bottom:10px}.hrme-tn-head small{font-size:8px;color:#789}.hrme-tn-head h3{margin:1px 0;font-size:15px}.hrme-tn-head p{margin:0;font-size:8.5px;color:#789}.hrme-tn-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hrme-tn-grid>section,.hrme-tn-section{border:1px solid #e1e8f0;border-radius:13px;background:#fff;padding:11px;margin-bottom:10px}.hrme-tn-grid small,.hrme-tn-section>small{font-size:8px;color:#94a3b8}.hrme-tn-grid h4,.hrme-tn-section h4{font-size:11px;margin:2px 0 8px}
.hrme-tn-bars{display:grid;gap:7px}.hrme-tn-bars article>div:first-child{display:flex;justify-content:space-between;gap:8px}.hrme-tn-bars b{font-size:9px}.hrme-tn-bars span.high,.hrme-tn-priority article.high span{color:#be123c}.hrme-tn-bars span.mid,.hrme-tn-priority article.mid span{color:#b45309}.hrme-tn-bars span.low,.hrme-tn-priority article.low span{color:#15803d}.hrme-tn-bars .track{height:7px;border-radius:999px;background:#edf2f7;overflow:hidden;margin:5px 0}.hrme-tn-bars .track span{display:block;height:100%;background:#1148dc}.hrme-tn-bars small{font-size:8px;color:#789}
.hrme-tn-priority{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.hrme-tn-priority article{padding:8px;border-radius:9px;background:#f8fafc}.hrme-tn-priority b,.hrme-tn-priority span,.hrme-tn-priority small{display:block}.hrme-tn-priority b{font-size:8.8px}.hrme-tn-priority span{font-size:8px;font-weight:900}.hrme-tn-priority small{font-size:7.5px;color:#789}.hrme-tn-kpi{padding:9px;border-radius:10px}.hrme-tn-kpi.ok{background:#ecfdf5}.hrme-tn-kpi.warn{background:#fff9ef}.hrme-tn-kpi b{font-size:9px}.hrme-tn-kpi p{font-size:8.5px!important;line-height:1.8!important;margin:2px 0!important}
.hrme-tn-ai-summary{padding:9px;border-radius:10px;background:#f5f8ff;font-size:9px;line-height:1.8;margin-bottom:7px}.hrme-tn-ai-item{padding:9px;border:1px solid #e1e8f0;border-radius:10px;margin-bottom:6px}.hrme-tn-ai-item>div{display:flex;justify-content:space-between}.hrme-tn-ai-item b{font-size:9px}.hrme-tn-ai-item span{font-size:8px;color:#1148dc}.hrme-tn-ai-item p,.hrme-tn-ai-item small,.hrme-tn-ai-item em{display:block;font-size:8px!important;line-height:1.7!important;margin:2px 0!important;font-style:normal;color:#60758a}.hrme-tn-next{padding:10px;border-radius:11px;background:#eef3ff}.hrme-tn-next span,.hrme-tn-next b,.hrme-tn-next p,.hrme-tn-next small{display:block}.hrme-tn-next span{font-size:8px;color:#1148dc}.hrme-tn-next b{font-size:10px}.hrme-tn-next p,.hrme-tn-next small{font-size:8px!important;line-height:1.7!important;margin:2px 0!important}
@media(max-width:900px){.hrme-training-needs-layout{grid-template-columns:1fr}.hrme-training-needs-layout #hrme-training-needs-list{max-height:280px}.hrme-tn-grid{grid-template-columns:1fr}.hrme-tn-priority{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.hrme-tn-head{align-items:flex-start;flex-direction:column}.hrme-tn-priority{grid-template-columns:1fr}}

/* =========================================================
   v3.7.26 — Training Needs integrated education tab
   ========================================================= */
#hrme-edu-tabs [data-edu-tab="smart_needs"]{
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
}
#hrme-edu-tabs [data-edu-tab="smart_needs"] .dashicons{
    width:15px!important;height:15px!important;font-size:15px!important;
}
.hrme-training-needs-launch{display:none!important}

.hrme-tn-inline{
    display:grid;
    grid-template-columns:320px minmax(0,1fr);
    gap:12px;
    align-items:start;
    min-height:520px;
}
.hrme-tn-inline-sidebar{
    position:sticky;
    top:12px;
    border:1px solid #dfe7f0;
    border-radius:14px;
    background:#fbfdff;
    padding:10px;
    min-width:0;
}
.hrme-tn-sidebar-head{
    display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px
}
.hrme-tn-sidebar-head small{display:block;font-size:8px;color:#94a3b8}
.hrme-tn-sidebar-head h3{font-size:13px;margin:1px 0}
#hrme-tn-inline-count{
    padding:4px 7px;border-radius:999px;background:#eef3ff;color:#1148dc;font-size:8px;font-weight:900
}
.hrme-tn-sidebar-note{
    padding:8px;border-radius:9px;background:#f5f8ff;color:#60758a;font-size:8.5px;line-height:1.8;margin-bottom:8px
}
#hrme-tn-inline-list{
    max-height:650px;overflow:auto;padding-left:2px
}
.hrme-tn-inline .hrme-training-person{
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:center!important;
    padding:8px!important;
}
.hrme-training-person-avatar{
    display:flex;align-items:center;justify-content:center;width:31px;height:31px;
    border-radius:10px;background:#eaf0ff;color:#1148dc;font-size:11px;font-weight:900
}
.hrme-tn-inline .hrme-training-person div b,
.hrme-tn-inline .hrme-training-person div small,
.hrme-tn-inline .hrme-training-person div em{display:block}
.hrme-tn-inline .hrme-training-person div em{font-style:normal;font-size:7.5px;color:#9aa7b7;margin-top:1px}
.hrme-training-gap-badge{
    padding:4px 6px;border-radius:999px;font-size:7.5px;font-weight:800;white-space:nowrap
}
.hrme-training-gap-badge.high{background:#fff1f2;color:#be123c}
.hrme-training-gap-badge.mid{background:#fff7ed;color:#b45309}
.hrme-training-gap-badge.low{background:#ecfdf5;color:#15803d}
#hrme-tn-inline-detail{min-width:0}
.hrme-tn-empty{
    min-height:500px!important;display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;text-align:center!important
}
.hrme-tn-empty>.dashicons{font-size:46px;width:46px;height:46px;color:#b6c4d3;margin-bottom:8px}
.hrme-tn-empty h2{font-size:14px!important;margin:0 0 4px!important}
.hrme-tn-empty p{font-size:9.5px!important;color:#718096!important;max-width:420px!important;line-height:1.9!important}

.hrme-tn-profile{
    display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;
    padding:12px;border:1px solid #dfe7f0;border-radius:14px;background:#fff;margin-bottom:10px
}
.hrme-tn-profile>div:first-child small{font-size:8px;color:#789}
.hrme-tn-profile h3{font-size:15px;margin:1px 0}
.hrme-tn-profile p{font-size:8.5px;color:#789;margin:0}
.hrme-tn-profile-kpis{display:flex;gap:6px}
.hrme-tn-profile-kpis article{
    min-width:78px;padding:7px 8px;border-radius:10px;background:#f8fafc;text-align:center
}
.hrme-tn-profile-kpis span,.hrme-tn-profile-kpis b{display:block}
.hrme-tn-profile-kpis span{font-size:7.5px;color:#789}
.hrme-tn-profile-kpis b{font-size:13px}
.hrme-tn-sub{font-size:8px!important;color:#8291a6!important;margin:-3px 0 8px!important}
.hrme-tn-bars article p{font-size:8px!important;color:#8291a6!important;margin:3px 0 0!important}
.hrme-tn-priority-pill{display:inline-flex;padding:4px 6px;border-radius:999px;font-size:8px;font-weight:800}
.hrme-tn-priority-pill.high{background:#fff1f2;color:#be123c}
.hrme-tn-priority-pill.mid{background:#fff7ed;color:#b45309}
.hrme-tn-priority-pill.low{background:#ecfdf5;color:#15803d}
.hrme-tn-kpi{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hrme-tn-kpi>.dashicons{font-size:24px;width:24px;height:24px}
.hrme-tn-kpi.ok>.dashicons{color:#16a34a}.hrme-tn-kpi.warn>.dashicons{color:#d29400}
.hrme-tn-data-gap{background:#fffaf0!important;border-color:#f1dfb4!important}
.hrme-tn-data-gap p{font-size:8.5px!important;line-height:1.8!important;margin:2px 0!important;color:#725d2a!important}
.hrme-tn-ai-priorities{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.hrme-tn-ai-priorities article{padding:9px;border:1px solid #e1e8f0;border-radius:10px}
.hrme-tn-ai-priorities article.high{border-right:3px solid #ef4444}
.hrme-tn-ai-priorities article.mid{border-right:3px solid #f59e0b}
.hrme-tn-ai-priorities article.low{border-right:3px solid #16a34a}
.hrme-tn-ai-priorities article>div{display:flex;justify-content:space-between;gap:7px}
.hrme-tn-ai-priorities b{font-size:9px}.hrme-tn-ai-priorities span{font-size:8px;color:#1148dc}
.hrme-tn-ai-priorities p,.hrme-tn-ai-priorities small,.hrme-tn-ai-priorities em{
    display:block;font-style:normal;font-size:8px!important;line-height:1.7!important;margin:2px 0!important;color:#60758a
}
.hrme-tn-ai-gaps{margin-top:8px;padding:9px;border-radius:10px;background:#fff9ef}
.hrme-tn-ai-gaps b{font-size:9px}.hrme-tn-ai-gaps p{font-size:8px!important;margin:2px 0!important}

@media(max-width:1000px){
    .hrme-tn-inline{grid-template-columns:280px minmax(0,1fr)}
    .hrme-tn-profile{grid-template-columns:1fr auto}
    .hrme-tn-profile-kpis{grid-column:1/-1}
}
@media(max-width:800px){
    .hrme-tn-inline{grid-template-columns:1fr}
    .hrme-tn-inline-sidebar{position:relative;top:auto}
    #hrme-tn-inline-list{max-height:320px}
}
@media(max-width:600px){
    .hrme-tn-profile{grid-template-columns:1fr}
    .hrme-tn-profile-kpis{display:grid;grid-template-columns:repeat(3,1fr)}
    .hrme-tn-profile .hrme-btn{width:100%}
    .hrme-tn-ai-priorities{grid-template-columns:1fr}
}

/* v3.7.29 — personnel-only training needs list */
.hrme-training-gap-badge.neutral{
    background:#eef3ff!important;
    color:#1148dc!important;
}

/* v3.7.31 — Action Recommendation Engine */
.hrme-action-rec-policy{display:flex;gap:10px;padding:12px 14px;border:1px solid #cddcff;border-radius:14px;background:#f5f8ff;margin:10px 0}.hrme-action-rec-policy>.dashicons{color:#1148dc;font-size:24px}.hrme-action-rec-policy b{font-size:10.5px}.hrme-action-rec-policy p{font-size:9px!important;line-height:1.8!important;margin:2px 0!important;color:#52697f}
.hrme-action-rec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hrme-action-rec-grid>article{padding:12px;border:1px solid #e1e8f0;border-radius:14px;background:#fff}.hrme-action-rec-head{display:flex;justify-content:space-between;gap:10px}.hrme-action-rec-head small{font-size:8px;color:#94a3b8}.hrme-action-rec-head h3{font-size:12px;margin:2px 0}.hrme-action-rec-head .status{padding:4px 7px;border-radius:999px;font-size:8px;font-weight:800;height:max-content}.hrme-action-rec-head .pending_approval{background:#fff7ed;color:#b45309}.hrme-action-rec-head .approved_action_created{background:#ecfdf5;color:#15803d}.hrme-action-rec-head .rejected{background:#fff1f2;color:#be123c}.hrme-action-rec-grid>article>p{font-size:9px!important;line-height:1.8!important;color:#60758a}.hrme-action-rec-meta{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:8px 0}.hrme-action-rec-meta span{padding:6px;border-radius:8px;background:#f8fafc;font-size:8px;color:#718096}.hrme-action-rec-meta b{color:#334155}
.hrme-action-rec-modal-box{width:min(900px,95vw)!important}.hrme-action-rec-detail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0}.hrme-action-rec-detail article{padding:8px;border-radius:9px;background:#f8fafc}.hrme-action-rec-detail span,.hrme-action-rec-detail b{display:block}.hrme-action-rec-detail span{font-size:7.5px;color:#94a3b8}.hrme-action-rec-detail b{font-size:9px}.hrme-action-rec-approval,.hrme-action-rec-measure{margin-top:10px;padding:11px;border:1px solid #e1e8f0;border-radius:12px;background:#fbfdff}.hrme-action-rec-measure textarea{width:100%;margin:7px 0;border:1px solid #dbe5ef;border-radius:10px;padding:8px;font-family:inherit}
#hrme-analysis-to-action{white-space:nowrap}
@media(max-width:850px){.hrme-action-rec-grid{grid-template-columns:1fr}.hrme-action-rec-detail{grid-template-columns:1fr 1fr}}

/* v3.7.33 — Next Generation AI Assistant */
.hrme-assistant-report-sources{margin-top:8px;padding:8px 9px;border:1px solid #e1e8f0;border-radius:10px;background:#f8fafc}
.hrme-assistant-report-sources b{display:block;font-size:9px;margin-bottom:4px;color:#334155}
.hrme-assistant-report-sources span{display:block;font-size:8px;line-height:1.7;color:#6b7f93}
.hrme-assistant-review-note{display:block;margin-top:6px;padding:7px 8px;border-radius:9px;background:#fff7ed;color:#9a5410;font-size:8px;line-height:1.7}
.hrme-chat-snapshot{display:block;margin-top:5px;font-size:8px;color:#1148dc;font-weight:800}

/* v3.7.35 — Employee 360 AI */
.hrme-employee360-panel{padding:12px 14px 0;background:#f7f9fc;border-bottom:1px solid #e5ebf2}
.hrme-employee360-hero{padding:12px;border:1px solid #d9e4f1;border-radius:16px;background:#fff}
.hrme-e360-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.hrme-e360-title small{display:block;font-size:8px;color:#1148dc;font-weight:800}.hrme-e360-title h3{font-size:14px;margin:2px 0}.hrme-e360-title p{font-size:8.5px!important;line-height:1.8!important;color:#718096!important;margin:0!important;max-width:680px}
.hrme-e360-topcards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(220px,1.5fr);gap:7px}
.hrme-e360-topcards article{padding:9px;border-radius:11px;background:#f8fafc;border:1px solid #e6edf5;min-width:0}
.hrme-e360-topcards article.good{background:#f0fdf4;border-color:#cfe9d6}.hrme-e360-topcards article.mid{background:#fff9ef;border-color:#f4dfb3}.hrme-e360-topcards article.low{background:#fff1f2;border-color:#f4ccd1}.hrme-e360-topcards article.next{background:#eef3ff;border-color:#cad8ff}
.hrme-e360-topcards span,.hrme-e360-topcards b,.hrme-e360-topcards small{display:block}.hrme-e360-topcards span{font-size:7.5px;color:#7a8ca0}.hrme-e360-topcards b{font-size:13px;margin:2px 0;color:#26364a;line-height:1.5}.hrme-e360-topcards small{font-size:7.5px;color:#789;line-height:1.5}
.hrme-e360-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.hrme-e360-grid>section{padding:10px;border:1px solid #e1e8f0;border-radius:13px;background:#fff}.hrme-e360-grid h4{font-size:10.5px;margin:1px 0}.hrme-e360-grid .hrme-card-head small{font-size:7.5px;color:#94a3b8}
.hrme-e360-sw{display:grid;grid-template-columns:1fr 1fr;gap:7px}.hrme-e360-sw>div{padding:8px;border-radius:9px;background:#f8fafc}.hrme-e360-sw b,.hrme-e360-sw span{display:block}.hrme-e360-sw b{font-size:8.5px;margin-bottom:4px}.hrme-e360-sw span{font-size:8px;line-height:1.7;color:#60758a}.hrme-e360-sw span.strength{color:#15803d}.hrme-e360-sw span.weak{color:#9a5410}
.hrme-e360-mini-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.hrme-e360-mini-kpis>div{padding:7px;border-radius:9px;background:#f8fafc}.hrme-e360-mini-kpis span,.hrme-e360-mini-kpis b{display:block}.hrme-e360-mini-kpis span{font-size:7.5px;color:#789}.hrme-e360-mini-kpis b{font-size:10px;color:#334155}
.hrme-e360-gap{display:flex;justify-content:space-between;gap:8px;padding:5px 7px;margin-top:4px;border-radius:8px;background:#fff7ed}.hrme-e360-gap span,.hrme-e360-gap b{font-size:8px}
.hrme-e360-ai{margin-top:8px;padding:11px;border:1px solid #cad8ff;border-radius:13px;background:#f7f9ff}.hrme-e360-ai>p{font-size:9px!important;line-height:1.9!important;color:#43566c!important}.hrme-e360-ai-cols{display:grid;grid-template-columns:1fr 1fr;gap:7px}.hrme-e360-ai-cols>div{padding:8px;background:#fff;border-radius:9px}.hrme-e360-ai-cols b,.hrme-e360-ai-cols span{display:block}.hrme-e360-ai-cols b{font-size:8.5px}.hrme-e360-ai-cols span{font-size:8px;line-height:1.7;color:#60758a}.hrme-e360-ai-next{margin-top:7px;padding:9px;border-radius:10px;background:#eef3ff}.hrme-e360-ai-next span,.hrme-e360-ai-next b,.hrme-e360-ai-next small{display:block}.hrme-e360-ai-next span{font-size:7.5px;color:#1148dc}.hrme-e360-ai-next b{font-size:10px}.hrme-e360-ai-next p,.hrme-e360-ai-next small{font-size:8px!important;line-height:1.7!important;margin:2px 0!important;color:#60758a!important}
.hrme-e360-sources{margin:7px 2px 0;font-size:7.5px;color:#8998aa}
@media(max-width:1100px){.hrme-e360-topcards{grid-template-columns:repeat(3,minmax(0,1fr))}.hrme-e360-topcards article.next{grid-column:span 2}}
@media(max-width:760px){.hrme-e360-title{align-items:flex-start;flex-direction:column}.hrme-e360-title .hrme-btn{width:100%}.hrme-e360-topcards{grid-template-columns:1fr 1fr}.hrme-e360-topcards article.next{grid-column:1/-1}.hrme-e360-grid,.hrme-e360-ai-cols{grid-template-columns:1fr}}

/* =========================================================
   v3.7.36 — Personnel dossier scroll + Employee 360 cache UX
   ========================================================= */

/* Entire personnel drawer must stay within viewport */
#hrme-personnel-drawer{
    position:fixed!important;
    inset:0!important;
    z-index:99990!important;
    overflow:hidden!important;
}
#hrme-personnel-drawer .hrme-drawer-backdrop{
    position:absolute!important;
    inset:0!important;
}
#hrme-personnel-drawer .hrme-drawer-panel{
    position:absolute!important;
    top:0!important;
    bottom:0!important;
    right:0!important;
    height:100vh!important;
    max-height:100vh!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
}

/* Fixed profile header */
#hrme-personnel-drawer .hrme-drawer-head{
    flex:0 0 auto!important;
    position:relative!important;
    z-index:3!important;
    background:#fff!important;
}

/* Employee 360 is part of scroll area rather than pushing dossier out */
#hrme-personnel-drawer .hrme-employee360-panel{
    flex:0 0 auto!important;
}

/* Sticky tabs remain visible while dossier scrolls */
#hrme-personnel-drawer .hrme-dossier-tabs{
    flex:0 0 auto!important;
    position:sticky!important;
    top:0!important;
    z-index:5!important;
    background:#fff!important;
    border-bottom:1px solid #e4eaf1!important;
}

/* Main content gets actual scroll */
#hrme-personnel-drawer .hrme-drawer-body{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:40px!important;
}

/* Move Employee 360 into scrollable flow visually */
#hrme-personnel-drawer .hrme-employee360-panel{
    max-height:none!important;
    overflow:visible!important;
}

/* The panel itself needs its own internal scroll when viewport is short */
@media (min-height:700px){
    #hrme-personnel-drawer .hrme-drawer-panel{
        overflow-y:auto!important;
    }
    #hrme-personnel-drawer .hrme-drawer-head{
        position:sticky!important;
        top:0!important;
    }
}
@media (max-height:699px){
    #hrme-personnel-drawer .hrme-drawer-panel{
        overflow-y:auto!important;
    }
}

/* Better visible scrollbar */
#hrme-personnel-drawer .hrme-drawer-panel,
#hrme-personnel-drawer .hrme-drawer-body{
    scrollbar-width:thin!important;
    scrollbar-color:#b8c4d4 #eef2f7!important;
}
#hrme-personnel-drawer .hrme-drawer-panel::-webkit-scrollbar,
#hrme-personnel-drawer .hrme-drawer-body::-webkit-scrollbar{
    width:8px!important;
}
#hrme-personnel-drawer .hrme-drawer-panel::-webkit-scrollbar-track,
#hrme-personnel-drawer .hrme-drawer-body::-webkit-scrollbar-track{
    background:#eef2f7!important;
    border-radius:999px!important;
}
#hrme-personnel-drawer .hrme-drawer-panel::-webkit-scrollbar-thumb,
#hrme-personnel-drawer .hrme-drawer-body::-webkit-scrollbar-thumb{
    background:#b8c4d4!important;
    border-radius:999px!important;
}

/* Cached analysis should read as a saved result */
.hrme-e360-ai{
    position:relative!important;
}
.hrme-e360-ai::before{
    content:'تحلیل ذخیره‌شده';
    position:absolute;
    top:10px;
    left:10px;
    padding:3px 7px;
    border-radius:999px;
    background:#eaf0ff;
    color:#1148dc;
    font-size:7.5px;
    font-weight:800;
}

/* Prevent clipped content in narrow drawer */
.hrme-e360-topcards article,
.hrme-e360-grid>section,
.hrme-e360-ai{
    min-width:0!important;
}
.hrme-e360-title,
.hrme-e360-topcards,
.hrme-e360-grid{
    width:100%!important;
}

/* v3.7.37 — AI Career Path */
.hrme-career-path-panel{margin-top:9px;padding:11px;border:1px solid #dce6f2;border-radius:14px;background:#fff}
.hrme-career-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.hrme-career-head small{display:block;font-size:8px;color:#1148dc}.hrme-career-head h4{font-size:12px;margin:1px 0}.hrme-career-head p{font-size:8.5px!important;color:#718096!important;margin:0!important}
.hrme-career-paths{display:grid;gap:8px}.hrme-career-paths>article{padding:10px;border:1px solid #e3eaf2;border-radius:12px;background:#fbfdff}
.hrme-career-path-title{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;margin-bottom:8px}.hrme-career-path-title>span{display:flex;width:34px;height:34px;border-radius:10px;background:#eef3ff;color:#1148dc;align-items:center;justify-content:center;font-size:8px;font-weight:900}.hrme-career-path-title h5{font-size:10.5px;margin:0}.hrme-career-path-title small{font-size:7.5px;color:#8a98a8}
.hrme-career-success{min-width:86px;text-align:center;padding:6px;border-radius:9px;background:#f8fafc}.hrme-career-success b,.hrme-career-success span,.hrme-career-success small{display:block}.hrme-career-success b{font-size:12px}.hrme-career-success span{font-size:7px}.hrme-career-success small{font-size:6.8px}.hrme-career-success.good{background:#ecfdf5;color:#15803d}.hrme-career-success.mid{background:#fff7ed;color:#b45309}.hrme-career-success.low{background:#fff1f2;color:#be123c}
.hrme-career-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.hrme-career-columns>section{padding:8px;border-radius:9px;background:#f8fafc;min-width:0}.hrme-career-columns b,.hrme-career-columns span{display:block}.hrme-career-columns b{font-size:8.5px;margin-bottom:4px}.hrme-career-columns span,.hrme-career-columns p{font-size:7.8px!important;line-height:1.7!important;margin:2px 0!important;color:#60758a!important}
.hrme-career-gaps{display:grid;gap:3px}.hrme-career-gaps>div{display:grid;grid-template-columns:1fr auto;gap:3px 5px}.hrme-career-gaps span,.hrme-career-gaps b{font-size:7.5px}.hrme-career-gaps small{grid-column:1/-1;font-size:6.8px;color:#9aa7b7}
.hrme-career-ai{margin-top:8px;padding:9px;border-radius:11px;background:#f5f8ff;border:1px solid #cad8ff}.hrme-career-ai>p{font-size:8.5px!important;line-height:1.8!important}.hrme-career-ai article{padding:7px;margin-top:5px;border-radius:8px;background:#fff}.hrme-career-ai article b,.hrme-career-ai article span,.hrme-career-ai article small,.hrme-career-ai article em{display:block}.hrme-career-ai article b{font-size:8.5px}.hrme-career-ai article span,.hrme-career-ai article small,.hrme-career-ai article em{font-size:7.5px;line-height:1.7;font-style:normal;color:#60758a}
.hrme-career-note{margin-top:7px;font-size:7.5px;color:#8998aa;line-height:1.7}
@media(max-width:900px){.hrme-career-columns{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.hrme-career-head{align-items:flex-start;flex-direction:column}.hrme-career-head .hrme-btn{width:100%}.hrme-career-columns{grid-template-columns:1fr}.hrme-career-path-title{grid-template-columns:auto 1fr}.hrme-career-success{grid-column:1/-1}}

/* v3.7.38 — Employee 360 AI moved to its own dossier tab */
.hrme-ai360-dossier-view{display:grid;gap:10px}
.hrme-ai360-intro{padding:12px 14px;border:1px solid #dce6f2;border-radius:14px;background:linear-gradient(180deg,#fbfdff,#f6f9ff)}
.hrme-ai360-intro small{display:block;color:#1551e8;font-size:8px;margin-bottom:2px}
.hrme-ai360-intro h3{margin:0 0 4px;font-size:15px}
.hrme-ai360-intro p{margin:0;color:#748398;font-size:9px}
#hrme-dossier-tabs button[data-tab="ai360"]{font-weight:850;color:#1551e8}
#hrme-dossier-tabs button[data-tab="ai360"].active{background:#ede9fe;border-color:#d8d0ff;color:#4338ca}
.hrme-ai360-dossier-view .hrme-employee360-panel{padding:0!important;border:0!important;background:transparent!important}

/* v3.7.39 — larger, more readable dossier + Employee 360 AI typography */
.hrme-drawer .hrme-dossier-tabs button,
#hrme-dossier-tabs button{
  font-size:13px!important;
  line-height:1.65!important;
}
.hrme-ai360-dossier-view,
.hrme-ai360-dossier-view .hrme-employee360-panel{
  font-size:13px;
  line-height:1.75;
}
.hrme-ai360-intro small{font-size:11px!important}
.hrme-ai360-intro h3{font-size:18px!important;line-height:1.55!important}
.hrme-ai360-intro p{font-size:12px!important;line-height:1.8!important}
.hrme-employee360-panel small,
.hrme-employee360-panel .hrme-e360-kicker,
.hrme-employee360-panel .hrme-e360-sources,
.hrme-career-path-panel small{
  font-size:10.5px!important;
  line-height:1.7!important;
}
.hrme-employee360-panel h3,
.hrme-career-path-panel h3{
  font-size:16px!important;
  line-height:1.6!important;
}
.hrme-employee360-panel h4,
.hrme-career-path-panel h4{
  font-size:14px!important;
  line-height:1.65!important;
}
.hrme-employee360-panel p,
.hrme-employee360-panel td,
.hrme-employee360-panel th,
.hrme-employee360-panel label,
.hrme-employee360-panel .hrme-muted,
.hrme-career-path-panel p,
.hrme-career-path-panel td,
.hrme-career-path-panel th,
.hrme-career-path-panel label,
.hrme-career-path-panel .hrme-muted{
  font-size:12px!important;
  line-height:1.8!important;
}
.hrme-employee360-panel strong,
.hrme-career-path-panel strong{
  font-size:13px!important;
  line-height:1.7!important;
}
.hrme-employee360-panel button,
.hrme-career-path-panel button{
  font-size:12px!important;
}

/* v3.7.40 — Process Intelligence */
.hrme-pi-wrap{display:grid;gap:14px;padding:4px}
.hrme-pi-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #d8e5f4;border-radius:18px;background:#f8fbff}
.hrme-pi-hero small{font-size:11px;color:#1d4ed8}.hrme-pi-hero h2{margin:3px 0 5px;font-size:21px}.hrme-pi-hero p{margin:0;font-size:12px;color:#64748b;line-height:1.9}
.hrme-pi-score{min-width:105px;text-align:center;font-size:25px;font-weight:900;padding:12px;border-radius:16px;background:#eef4ff;color:#174fd7}.hrme-pi-score small{display:block;font-size:10px;color:#64748b}
.hrme-pi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hrme-pi-card{border:1px solid #dce6f2;border-radius:16px;padding:14px;background:#fff;min-height:150px}
.hrme-pi-card h3{font-size:15px}.hrme-pi-list{display:grid;gap:8px}.hrme-pi-list article{padding:10px;border-radius:11px;background:#f7f9fc}.hrme-pi-list b{font-size:12px}.hrme-pi-list p{font-size:11px;line-height:1.8;color:#53657b;margin:4px 0}.hrme-pi-list small{font-size:10px;color:#1d4ed8}
.hrme-pi-note,.hrme-pi-ok{padding:12px;border-radius:12px;font-size:11px;line-height:1.9;background:#fff8e8;color:#76580c}.hrme-pi-ok{background:#effcf5;color:#087443}
.hrme-pi-quality{padding:14px;border:1px solid #dce6f2;border-radius:16px;background:#fff}.hrme-pi-quality h3{font-size:14px}.hrme-pi-quality>div{display:flex;gap:10px;flex-wrap:wrap}.hrme-pi-quality span{padding:8px 10px;border-radius:10px;background:#f5f7fb;font-size:11px}.hrme-pi-quality>small{display:block;margin-top:10px;color:#718096;font-size:10px}
@media(max-width:900px){.hrme-pi-grid{grid-template-columns:1fr}.hrme-pi-hero{align-items:flex-start;flex-direction:column}.hrme-pi-score{width:100%}}

/* v3.7.41 — Natural Language BI */
.hrme-bi-builder{display:grid;gap:12px}.hrme-bi-query-box{padding:18px;border:1px solid #d8e4f2;border-radius:18px;background:#fff}.hrme-bi-query-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.hrme-bi-query-head small{font-size:11px;color:#1148dc}.hrme-bi-query-head h2{font-size:20px;margin:3px 0 10px}.hrme-bi-safe{padding:7px 10px;border-radius:999px;background:#eefdf5;color:#087443;font-size:10px}.hrme-bi-query-box textarea{width:100%;resize:vertical;border:1px solid #d9e3ef;border-radius:14px;padding:14px;font:inherit;font-size:14px;line-height:1.9;outline:none}.hrme-bi-query-box textarea:focus{border-color:#1148dc;box-shadow:0 0 0 3px #1148dc14}.hrme-bi-presets{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.hrme-bi-presets button{border:0;background:#f3f6fa;border-radius:9px;padding:7px 10px;font:inherit;font-size:10px;cursor:pointer}
.hrme-bi-options{display:grid;grid-template-columns:1.6fr .8fr .8fr auto;gap:10px;align-items:end;padding:13px;border:1px solid #dce6f1;border-radius:16px;background:#fff}.hrme-bi-options section>b{display:block;font-size:10px;margin-bottom:6px}.hrme-bi-options select{width:100%;height:42px;border:1px solid #d9e3ef;border-radius:10px;padding:0 9px;font:inherit}.hrme-bi-choice{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.hrme-bi-choice button{height:42px;border:1px solid #dbe4ef;background:#f8fafc;border-radius:10px;font:inherit;font-size:10px;cursor:pointer}.hrme-bi-choice button.active{background:#1148dc;color:#fff;border-color:#1148dc}.hrme-bi-run{height:42px}
.hrme-bi-result{margin-top:15px}.hrme-bi-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #ced9e7;border-radius:18px;color:#75869a}.hrme-bi-empty>.dashicons{font-size:40px;width:40px;height:40px;color:#aec0d5}.hrme-bi-empty h2{font-size:17px;margin:10px 0 3px}.hrme-bi-empty p{font-size:11px}
.hrme-bi-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:17px;border:1px solid #d9e4f1;border-radius:18px;background:#fff}.hrme-bi-report-head small{font-size:10px;color:#1148dc}.hrme-bi-report-head h2{font-size:21px;margin:3px 0}.hrme-bi-report-head p{font-size:12px;line-height:1.9;color:#586c83;margin:0}
.hrme-bi-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:10px}.hrme-bi-kpis article{padding:12px;border:1px solid #e0e8f1;border-radius:13px;background:#fff}.hrme-bi-kpis span,.hrme-bi-kpis b,.hrme-bi-kpis small{display:block}.hrme-bi-kpis span{font-size:9px;color:#7a8b9e}.hrme-bi-kpis b{font-size:17px;margin:3px 0}.hrme-bi-kpis small{font-size:9px;line-height:1.6;color:#8090a1}
.hrme-bi-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.hrme-bi-charts article,.hrme-bi-table,.hrme-bi-text,.hrme-bi-sources{padding:14px;border:1px solid #dce6f1;border-radius:15px;background:#fff}.hrme-bi-charts h3,.hrme-bi-table h3,.hrme-bi-text h3{font-size:14px;margin:0 0 4px}.hrme-bi-charts p{font-size:10px;color:#6f8195}
.hrme-bi-bar-chart{display:grid;gap:8px;margin-top:12px}.hrme-bi-bar-row{display:grid;grid-template-columns:120px 1fr 110px;gap:8px;align-items:center}.hrme-bi-bar-row>span,.hrme-bi-bar-row>b{font-size:9px}.hrme-bi-bar-row>div{height:9px;background:#edf2f7;border-radius:999px;overflow:hidden}.hrme-bi-bar-row i{display:block;height:100%;background:#1148dc;border-radius:999px}
.hrme-bi-line-svg{width:100%;height:auto;color:#1148dc}.hrme-bi-line-svg circle{fill:#1148dc}.hrme-bi-line-svg text{font-size:10px;fill:#53657a}
.hrme-bi-pie-list{display:grid;gap:6px;margin-top:10px}.hrme-bi-pie-list>div{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding:8px;border-radius:9px;background:#f8fafc}.hrme-bi-pie-list span,.hrme-bi-pie-list b,.hrme-bi-pie-list small{font-size:9px}
.hrme-bi-table,.hrme-bi-text,.hrme-bi-sources{margin-top:10px}.hrme-bi-text p{font-size:11px;line-height:1.9;margin:4px 0}.hrme-bi-sources b{display:block;font-size:11px;margin-bottom:6px}.hrme-bi-sources span{display:inline-block;margin:2px 0 2px 5px;padding:5px 8px;border-radius:8px;background:#eef3ff;color:#1148dc;font-size:9px}.hrme-bi-sources small{display:block;margin-top:7px;font-size:9px;color:#718096}
.hrme-bi-history-modal{width:min(900px,95vw)!important}.hrme-bi-history-list{display:grid;gap:7px}.hrme-bi-history-list>button{display:flex;justify-content:space-between;gap:12px;text-align:right;width:100%;border:1px solid #e1e8f0;background:#fff;border-radius:12px;padding:10px;font:inherit;cursor:pointer}.hrme-bi-history-list b{font-size:11px}.hrme-bi-history-list p{font-size:9px;margin:3px 0;color:#60758a}.hrme-bi-history-list small{font-size:8px;color:#8a99aa}.hrme-bi-history-list>button>span{align-self:center;color:#1148dc;font-size:9px}
@media(max-width:1050px){.hrme-bi-options{grid-template-columns:1fr 1fr}.hrme-bi-options>section:first-child{grid-column:1/-1}.hrme-bi-run{width:100%}.hrme-bi-kpis{grid-template-columns:1fr 1fr}.hrme-bi-charts{grid-template-columns:1fr}}
@media(max-width:650px){.hrme-bi-options{grid-template-columns:1fr}.hrme-bi-choice{grid-template-columns:1fr 1fr}.hrme-bi-kpis{grid-template-columns:1fr}.hrme-bi-report-head,.hrme-bi-query-head{flex-direction:column}.hrme-bi-report-head .hrme-btn{width:100%}.hrme-bi-bar-row{grid-template-columns:90px 1fr}}

/* v3.7.42 — Natural Language BI as primary sidebar item */
.hrme-nav-bi-main{
  position:relative;
  margin-top:6px!important;
  border:1px solid #dbe5ff!important;
  background:#f7f9ff!important;
}
.hrme-nav-bi-main .dashicons{color:#1148dc!important}
.hrme-nav-bi-main b{font-weight:900!important}
.hrme-nav-bi-main small{
  display:block;
  margin-right:auto;
  font-size:8px;
  color:#7d8da2;
  direction:ltr;
}
.hrme-nav-bi-main.active{
  background:#1148dc!important;
  border-color:#1148dc!important;
  color:#fff!important;
  box-shadow:0 8px 20px #1148dc22;
}
.hrme-nav-bi-main.active .dashicons,
.hrme-nav-bi-main.active b,
.hrme-nav-bi-main.active small{color:#fff!important}

/* v3.7.44 — Role Smart Dashboards / Daily Brief / Proactive Alerts */
.hrme-smartdash-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.hrme-smartdash-head small{font-size:11px;color:#1148dc}.hrme-smartdash-head h1{font-size:27px;margin:3px 0}.hrme-smartdash-head p{font-size:12px;color:#718096;margin:0}
.hrme-smart-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.hrme-smart-kpis article{padding:15px;border:1px solid #dce6f1;border-radius:16px;background:#fff}.hrme-smart-kpis span,.hrme-smart-kpis b,.hrme-smart-kpis small{display:block}.hrme-smart-kpis span{font-size:10px;color:#718096}.hrme-smart-kpis b{font-size:25px;margin:3px 0;color:#17283d}.hrme-smart-kpis small{font-size:9px;color:#93a0af}
.hrme-smart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.hrme-smart-card{padding:15px;border:1px solid #dce6f1;border-radius:16px;background:#fff;min-width:0}.hrme-smart-card h2{font-size:16px;margin:0 0 10px}.hrme-span-2{grid-column:1/-1}
.hrme-alert{display:flex;gap:9px;padding:9px;border-radius:11px;background:#f8fafc;margin-bottom:6px}.hrme-alert>span{width:7px;height:7px;border-radius:50%;background:#f59e0b;margin-top:6px;flex:none}.hrme-alert.high>span,.hrme-alert.critical>span{background:#ef4444}.hrme-alert.low>span{background:#22c55e}.hrme-alert b,.hrme-alert p,.hrme-alert small{display:block}.hrme-alert b{font-size:11px}.hrme-alert p{font-size:10px;line-height:1.7;margin:2px 0;color:#596b7f}.hrme-alert small{font-size:8px;color:#8a98a8}
.hrme-change{display:flex;gap:8px;align-items:flex-start;padding:8px;border-bottom:1px solid #eef2f6}.hrme-change>span{width:7px;height:7px;border-radius:50%;background:#94a3b8;margin-top:6px}.hrme-change.negative>span{background:#ef4444}.hrme-change.positive>span{background:#22c55e}.hrme-change p{font-size:10.5px;line-height:1.8;margin:0}
.hrme-decision-list{display:grid;gap:7px}.hrme-decision-list article{display:flex;gap:9px;padding:9px;border-radius:11px;background:#f8fafc}.hrme-decision-list i{display:flex;width:28px;height:28px;border-radius:8px;background:#eaf0ff;color:#1148dc;align-items:center;justify-content:center;font-style:normal;font-weight:900;flex:none}.hrme-decision-list b{font-size:11px}.hrme-decision-list p{font-size:9.5px;line-height:1.7;margin:2px 0;color:#60758a}.hrme-decision-list small{font-size:8px;color:#8a98aa}
.hrme-smart-person-list{display:grid;gap:6px}.hrme-smart-person-list>div{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding:8px;border-radius:9px;background:#f8fafc;align-items:center}.hrme-smart-person-list span{font-size:10.5px;font-weight:800}.hrme-smart-person-list small{font-size:8px;color:#8090a0}.hrme-smart-person-list b{font-size:11px;color:#b45309}
.hrme-self-row{display:flex;justify-content:space-between;gap:10px;padding:9px;border-bottom:1px solid #eef2f7}.hrme-self-row b{font-size:10.5px}.hrme-self-row small{font-size:9px;color:#718096}
.hrme-brief-modal-box{width:min(1050px,96vw)!important}.hrme-brief-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.hrme-brief-head small{font-size:9px;color:#1148dc}.hrme-brief-head h2{font-size:20px;margin:2px 0}.hrme-brief-head>span{font-size:8px;color:#8090a0}.hrme-brief-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hrme-brief-grid>section{padding:12px;border:1px solid #e0e8f1;border-radius:13px;background:#fff}.hrme-brief-grid h3{font-size:12px;margin:0 0 8px}.hrme-brief-number{font-size:28px;color:#1148dc}
@media(max-width:850px){.hrme-smart-kpis{grid-template-columns:1fr 1fr}.hrme-smart-grid,.hrme-brief-grid{grid-template-columns:1fr}.hrme-span-2{grid-column:auto}.hrme-smartdash-head,.hrme-brief-head{flex-direction:column}.hrme-smartdash-head .hrme-btn{width:100%}}

.hrme-dashboard-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 14px;flex-wrap:wrap}.hrme-dashboard-saved{font-size:12px;color:#64748b;background:#fff;border:1px solid #dbe7f3;border-radius:10px;padding:8px 11px}#hrme-build-new-dashboard{border-radius:10px!important;min-height:38px;padding-inline:16px!important}

/* v3.7.47 — System Branding Configuration */
.hrme-brand>img{width:40px;height:40px;object-fit:contain;border-radius:12px;background:#fff;padding:3px;box-shadow:0 8px 24px rgba(0,0,0,.15)}
.hrme-branding-form{display:grid;gap:14px}.hrme-branding-form .hrme-card{margin:0}
.hrme-brand-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hrme-brand-settings-grid label>span,.hrme-brand-logo-field>div:first-child>span{display:block;font-size:11px;font-weight:800;margin-bottom:6px;color:#334155}
.hrme-brand-settings-grid input[type=text],.hrme-brand-settings-grid input[type=email],.hrme-brand-settings-grid input[type=url],.hrme-brand-logo-field input[type=url]{width:100%;height:43px;border:1px solid #d9e3ef;border-radius:10px;padding:0 11px;font:inherit;background:#fff}
.hrme-span-2{grid-column:1/-1}.hrme-brand-logo-field{display:grid;grid-template-columns:1fr 80px 1fr;gap:10px;align-items:center;padding:12px;border:1px dashed #d4deea;border-radius:13px;background:#f9fbfd}.hrme-brand-logo-field small{display:block;font-size:9px;color:#8090a0;line-height:1.7}.hrme-logo-preview{width:64px;height:64px;border:1px solid #dbe5ef;border-radius:12px;background:#fff;display:grid;place-items:center;overflow:hidden}.hrme-logo-preview img{max-width:58px;max-height:58px;object-fit:contain}
.hrme-color-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hrme-color-settings label{padding:10px;border:1px solid #e0e8f1;border-radius:12px;background:#fbfcfe}.hrme-color-settings label>span{display:block;font-size:10px;font-weight:800;margin-bottom:7px}.hrme-color-settings label>div{display:flex;align-items:center;gap:8px}.hrme-color-settings input[type=color]{width:48px;height:38px;border:0;background:none;padding:0}.hrme-color-settings code{direction:ltr;font-size:10px;color:#60758a}
.hrme-settings-actions{display:flex;justify-content:flex-end;margin-top:2px}.hrme-reset-branding-form{margin-top:10px;display:flex;justify-content:flex-end}
@media(max-width:900px){.hrme-color-settings{grid-template-columns:1fr 1fr}.hrme-brand-logo-field{grid-template-columns:1fr 70px}.hrme-brand-logo-field input[type=file],.hrme-brand-logo-field input[type=url]{grid-column:1/-1}}
@media(max-width:600px){.hrme-brand-settings-grid,.hrme-color-settings{grid-template-columns:1fr}.hrme-span-2{grid-column:auto}}

/* v3.7.48 — AI Configuration & Administration Agent */
.hrme-ai-config-card{overflow:hidden}.hrme-aic-layout{display:grid;grid-template-columns:280px 1fr;min-height:620px;border:1px solid #dce6f1;border-radius:16px;overflow:hidden;background:#fff}.hrme-aic-sections{background:#f7f9fc;border-left:1px solid #e2e8f0;padding:10px}.hrme-aic-search input{width:100%;height:40px;border:1px solid #d8e2ed;border-radius:10px;padding:0 10px;font:inherit}.hrme-aic-sections #hrme-aic-section-list{display:grid;gap:5px;margin-top:8px;max-height:560px;overflow:auto}.hrme-aic-sections button{border:0;background:transparent;border-radius:10px;text-align:right;padding:9px;font:inherit;cursor:pointer}.hrme-aic-sections button.active{background:#eaf0ff;color:#1148dc}.hrme-aic-sections b,.hrme-aic-sections small{display:block}.hrme-aic-sections b{font-size:11px}.hrme-aic-sections small{font-size:8.5px;line-height:1.6;color:#76879a;margin-top:2px}
.hrme-aic-main{display:grid;grid-template-rows:auto 1fr auto;min-width:0}.hrme-aic-top{display:flex;justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid #e5ebf2}.hrme-aic-top small{font-size:9px;color:#1148dc}.hrme-aic-top h3{font-size:17px;margin:2px 0}.hrme-aic-top p{font-size:10px;margin:0;color:#718096}
.hrme-aic-chat{padding:14px;overflow:auto;background:#fbfcfe}.hrme-aic-msg{max-width:86%;padding:11px 12px;border-radius:14px;margin-bottom:8px}.hrme-aic-msg.assistant{background:#fff;border:1px solid #e0e7ef}.hrme-aic-msg.user{margin-right:auto;background:#1148dc;color:#fff}.hrme-aic-msg b{font-size:10.5px}.hrme-aic-msg p{font-size:10px;line-height:1.8;margin:4px 0}.hrme-aic-msg small{font-size:8.5px;opacity:.8}
.hrme-aic-compose{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-top:1px solid #e5ebf2;background:#fff}.hrme-aic-compose textarea{resize:vertical;border:1px solid #d8e2ed;border-radius:11px;padding:10px;font:inherit;font-size:11px;line-height:1.8}.hrme-aic-compose button{align-self:end;min-width:100px}
.hrme-aic-preview{margin-top:10px;border:1px solid #d8e4f2;border-radius:12px;overflow:hidden;background:#f9fbfd}.hrme-aic-preview-head{display:flex;justify-content:space-between;padding:9px 10px;background:#eef3ff}.hrme-aic-preview-head b{font-size:10px}.hrme-aic-preview-head span{font-size:8px;color:#1148dc}.hrme-aic-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px}.hrme-aic-preview-grid>div{padding:7px;border-radius:8px;background:#fff}.hrme-aic-preview-grid span,.hrme-aic-preview-grid b{display:block}.hrme-aic-preview-grid span{font-size:7.5px;color:#7a8a9d}.hrme-aic-preview-grid b{font-size:9.5px}.hrme-aic-preview-actions{display:flex;justify-content:flex-end;gap:6px;padding:9px;border-top:1px solid #e4eaf1}.hrme-aic-warnings,.hrme-aic-matches{padding:8px 10px}.hrme-aic-warnings{background:#fff8e8;color:#8a6211}.hrme-aic-warnings p{font-size:8.5px!important}.hrme-aic-matches b,.hrme-aic-matches span{display:block}.hrme-aic-matches b{font-size:9px}.hrme-aic-matches span{font-size:8.5px;line-height:1.7;color:#5f7288}
@media(max-width:900px){.hrme-aic-layout{grid-template-columns:1fr}.hrme-aic-sections{border-left:0;border-bottom:1px solid #e2e8f0}.hrme-aic-sections #hrme-aic-section-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:240px}.hrme-aic-msg{max-width:96%}}
@media(max-width:600px){.hrme-aic-sections #hrme-aic-section-list,.hrme-aic-preview-grid{grid-template-columns:1fr}.hrme-aic-top,.hrme-aic-compose{grid-template-columns:1fr;display:grid}.hrme-aic-top .hrme-btn,.hrme-aic-compose .hrme-btn{width:100%}}
