
:root{--red:#c9161d;--dark:#111820;--ink:#151b22;--muted:#66717c;--line:#e5e8ec;--soft:#f5f7f9;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);line-height:1.6}a{text-decoration:none;color:inherit}.container{width:min(var(--max),calc(100% - 40px));margin:auto}
header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}.nav{min-height:82px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;min-width:0}.nav nav{display:flex;gap:16px;align-items:center;font-size:11px;font-weight:900;text-transform:uppercase}.nav nav a:hover{color:var(--red)}.nav-login{background:var(--red);color:#fff!important;padding:11px 18px;border-radius:7px}.hamb{display:none;border:0;background:none;font-size:24px}
.hero{padding:90px 0 75px;background:linear-gradient(135deg,#fff,#eef1f4)}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.eyebrow{font-size:10px;font-weight:950;letter-spacing:1.8px;color:var(--red);text-transform:uppercase}.hero h1,.page-hero h1{font-size:58px;line-height:1.03;letter-spacing:-2.5px;margin:10px 0 20px}.hero h1 span{color:var(--red)}.hero p{color:#56616b;font-size:16px;max-width:600px}.actions{display:flex;gap:12px;margin-top:26px}.btn{min-height:46px;padding:0 18px;border:1px solid #ccd2d8;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:950}.primary{background:var(--red);border-color:var(--red);color:#fff}.secondary{background:#fff}.dashboard{background:#101820;border-radius:18px;padding:18px;box-shadow:0 25px 55px #0003}.dashhead{color:#fff;display:flex;justify-content:space-between;padding:5px 4px 16px}.dashhead span{font-size:9px;color:#9ba6b0}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.metric-row div,.chart-box{background:#1a2530;border:1px solid #2b3742;border-radius:9px;padding:12px;color:#9aa6b0;font-size:8px}.metric-row strong{display:block;color:#fff;font-size:24px}.chart-box{margin-top:8px;height:205px}.chart{height:165px;display:flex;align-items:end;gap:8px;padding:14px}.chart i{flex:1;background:linear-gradient(#ef5b61,var(--red));border-radius:4px 4px 0 0}
.stats{background:var(--dark);color:#fff}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}.stats-grid div{padding:24px;border-right:1px solid #303b45}.stats-grid div:last-child{border:0}.stats-grid b{display:block;font-size:18px}.stats-grid span{font-size:10px;color:#a0abb4}
.section{padding:85px 0}.soft{background:var(--soft)}.section h2{font-size:38px;line-height:1.15;letter-spacing:-1.2px;margin:8px 0 12px}.lead{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}.cards article{background:#fff;border:1px solid var(--line);border-radius:14px;padding:25px}.cards article{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.cards article:hover{box-shadow:0 18px 45px #0001;transform:translateY(-4px);border-color:#d4d9de}.card-icon{color:var(--red);font-weight:950}.cards h3{font-size:15px;margin:10px 0 5px}.cards p{font-size:11px;color:var(--muted)}.cards a,.text-link{font-size:10px;font-weight:900;color:var(--red)}
.dark-section{background:var(--dark);color:#fff}.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.dark-section p{color:#aab4bd}.light{color:#ffb8bb}.feature-list{border-top:1px solid #34404a}.feature-list div{display:flex;gap:20px;padding:17px 0;border-bottom:1px solid #34404a}.feature-list b{color:#ef666c}
.page-hero{padding:78px 0 70px;background:linear-gradient(135deg,#f3f5f7,#fff)}.page-hero h1{max-width:900px}.page-hero p{max-width:700px;color:var(--muted)}
.about-grid,.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.logo-panel{min-height:390px;background:#f6f7f8;border:1px solid var(--line);border-radius:18px;display:grid;place-items:center}.logo-panel img{width:min(390px,90%);height:auto;object-fit:contain}.ticks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:25px;font-size:12px;font-weight:800}.ticks div:before{content:"✓";color:var(--red);margin-right:8px}
.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.service-grid article{padding:30px;border:1px solid var(--line);border-radius:15px;background:#fff;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.service-grid article:hover{transform:translateY(-4px);box-shadow:0 18px 45px #0001;border-color:#d4d9de}.service-grid span{color:var(--red);font-size:10px;font-weight:950}.service-grid h2{font-size:23px}.service-grid p{font-size:12px;color:var(--muted)}
.product-list{display:grid;gap:17px}.product-list article{display:grid;grid-template-columns:90px 1fr;gap:25px;padding:27px;border:1px solid var(--line);border-radius:15px}.product-number{font-size:28px;font-weight:950;color:#e1e5e8;line-height:1}.product-list h2{font-size:26px;margin:5px 0}.product-list p{font-size:12px;color:var(--muted)}
.project-grid,.achievement-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.project-grid article{border:1px solid var(--line);border-radius:15px;overflow:hidden}.project-art{height:235px;display:grid;place-items:center;background:linear-gradient(135deg,#18232d,#394854);color:#fff;font-weight:950;letter-spacing:3px;text-align:center}.red-art{background:linear-gradient(135deg,#941015,#df252b)}.project-grid h3,.project-grid p{margin-left:22px;margin-right:22px}.project-grid p{color:var(--muted);font-size:11px;margin-bottom:22px}
.achievement-grid article{padding:30px;border:1px solid var(--line);border-radius:15px}.achievement-grid b{color:var(--red);font-size:10px}.achievement-grid h2{font-size:25px}.achievement-grid p{font-size:12px;color:var(--muted)}
.form{display:grid;gap:14px}.form label{font-size:10px;font-weight:900}.form input,.form textarea{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid #d9dee3;border-radius:8px;font:inherit;font-size:13px;color:var(--ink);background:#fff}.form input:focus,.form textarea:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px #c9161d18}.form textarea{min-height:145px;resize:vertical}.contact-logo{width:min(360px,100%);height:auto;object-fit:contain}
footer{background:var(--dark);color:#b8c2ca;padding-top:45px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px;padding-bottom:35px}.footer-grid p,.footer-grid a{display:block;font-size:11px;color:#98a4ad;margin:7px 0}.footer-grid b{font-size:10px;color:#fff;letter-spacing:1px}.copyright{text-align:center;border-top:1px solid #2d3842;padding:14px;font-size:10px;color:#78848e}
.login-shell{min-height:calc(100vh - 82px);display:grid;place-items:center;background:#f5f7f9;padding:25px}.login-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:35px;box-shadow:0 20px 55px #0002}.login-card>a:first-child{display:block;text-align:center}.login-card>a:first-child img{width:280px;max-width:100%;height:auto;object-fit:contain}.login-card h1{font-size:31px;margin:7px 0}.login-card p{font-size:12px;color:var(--muted)}.remember{display:flex;justify-content:space-between;font-size:10px}.remember input{width:auto;display:inline;margin:0 5px}.remember a,.back{color:var(--red);font-weight:850}.login-card .btn{width:100%}.back{display:block;text-align:center;margin-top:17px;font-size:10px}
@media(max-width:900px){.nav nav{display:none;position:absolute;top:82px;left:0;right:0;background:#fff;padding:15px 20px 22px;flex-direction:column;align-items:stretch;box-shadow:0 15px 30px #0002}.nav nav.open{display:flex}.hamb{display:block}.hero-grid,.about-grid,.contact-grid,.split{grid-template-columns:1fr}.hero h1,.page-hero h1{font-size:46px}.cards,.service-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:2fr 1fr 1fr}}
@media(max-width:680px){.login-shell{min-height:calc(100vh - 72px);padding:18px 14px}.login-card{padding:26px 20px}.logo-panel{min-height:280px}.container{width:calc(100% - 28px)}.nav{min-height:72px}.hamb{display:block}.nav nav{display:none;position:absolute;top:72px;left:0;right:0;background:#fff;padding:15px 20px 22px;flex-direction:column;align-items:stretch;box-shadow:0 15px 30px #0002}.nav nav.open{display:flex}.nav-login{text-align:center}.hero{padding:62px 0}.hero h1,.page-hero h1{font-size:37px;letter-spacing:-1.3px}.hero p{font-size:14px}.actions{flex-direction:column}.actions .btn{width:100%}.stats-grid{grid-template-columns:1fr 1fr}.stats-grid div{border-bottom:1px solid #303b45}.section{padding:62px 0}.section h2{font-size:30px}.cards,.service-grid,.project-grid,.achievement-grid{grid-template-columns:1fr}.product-list article{grid-template-columns:1fr}.ticks{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.window{transform:none}}

/* ===== JRB HEADER — SINGLE SOURCE ===== */
header .brand{display:flex!important;align-items:center!important;gap:12px!important;height:62px!important;width:auto!important;flex-shrink:0!important}
header .brand-round-logo{display:block!important;width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;flex:0 0 52px!important;overflow:hidden!important}
header .brand-round-logo img{display:block!important;width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important;object-fit:contain!important}
header #jrb-name-header{display:block!important;width:180px!important;height:28px!important;min-width:180px!important;max-width:180px!important;overflow:hidden!important;margin-left:0!important}
header #jrb-name-header img{display:block!important;width:180px!important;height:28px!important;max-width:180px!important;max-height:28px!important;object-fit:fill!important}
@media(max-width:680px){header .brand{gap:8px!important;height:52px!important}header .brand-round-logo,header .brand-round-logo img{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;max-height:44px!important}header #jrb-name-header,header #jrb-name-header img{width:135px!important;height:21px!important;min-width:135px!important;max-width:135px!important;max-height:21px!important}}
\n

/* ===== FOOTER BRAND ===== */
.footer-brand{display:block;width:190px;max-width:100%;height:auto;overflow:hidden}
.footer-brand img{display:block;width:190px;max-width:100%;height:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.92}
@media(max-width:680px){.footer-brand{width:155px}.footer-brand img{width:155px}.footer-grid p,.footer-grid a{font-size:12px}.footer-grid b{font-size:11px}}
\n
/* ===== JRB MAIN MENU DASHBOARD ===== */

.dashboard-page{
  background:#f4f6f8;
}

.dashboard-shell{
  padding:48px 0 80px;
}

.dashboard-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
  margin-bottom:42px;
}

.dashboard-heading h1{
  font-size:44px;
  line-height:1.05;
  letter-spacing:-1.8px;
  margin:8px 0 10px;
}

.dashboard-heading p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

.dashboard-role{
  min-width:215px;
  padding:14px 18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
}

.dashboard-role strong{
  display:block;
  color:var(--red);
  font-size:10px;
  letter-spacing:1px;
  margin-bottom:3px;
}

.dashboard-role span{
  color:var(--muted);
  font-size:11px;
}

.main-menu{
  display:flex;
  flex-direction:column;
  gap:44px;
}

.menu-section{
  width:100%;
}

.menu-title{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-bottom:16px;
  padding-bottom:10px;
  border-bottom:1px solid var(--line);
}

.menu-title .eyebrow{
  font-size:9px;
  letter-spacing:1.4px;
}

.menu-title h2{
  margin:0;
  font-size:21px;
  line-height:1.2;
  letter-spacing:-.3px;
}

.module-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.module-card{
  min-height:132px;
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  display:flex;
  align-items:flex-start;
  flex-direction:column;
  justify-content:space-between;
  gap:12px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.module-card:hover{
  transform:translateY(-3px);
  border-color:#cbd1d6;
  box-shadow:0 12px 28px rgba(17,24,32,.08);
}

.module-icon{
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff1f2;
  border:1px solid #f0c8cb;
  color:var(--red);
  font-size:10px;
  font-weight:950;
  letter-spacing:.3px;
}

.module-card > span:last-child{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.module-card strong{
  display:block;
  color:var(--ink);
  font-size:13px;
  line-height:1.25;
}

.module-card small{
  display:block;
  color:var(--muted);
  font-size:9px;
  line-height:1.35;
}

@media(max-width:1050px){
  .module-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .dashboard-heading{
    align-items:flex-start;
    flex-direction:column;
    margin-bottom:35px;
  }

  .dashboard-role{
    width:100%;
  }

  .module-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:680px){
  .dashboard-shell{
    padding:32px 0 55px;
  }

  .dashboard-heading h1{
    font-size:36px;
  }

  .main-menu{
    gap:36px;
  }

  .menu-title h2{
    font-size:20px;
  }

  .module-grid{
    grid-template-columns:1fr;
  }

  .module-card{
    min-height:112px;
  }
}

/* =========================================================
   JRB DASHBOARD — FINAL APPLICATION LAYOUT
   ========================================================= */

.dashboard-page{
  background:#f4f6f8;
  color:var(--ink);
}

.app-header{
  position:sticky;
  top:0;
  z-index:50;
  height:72px;
  background:#fff;
  border-bottom:1px solid var(--line);
}

.app-header-inner{
  width:min(100%,1480px);
  height:72px;
  margin:auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  gap:28px;
}

.app-header .brand{
  flex:0 0 auto;
}

.app-search{
  flex:1;
  max-width:520px;
  height:40px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 13px;
  background:#f5f7f9;
  border:1px solid #e1e5e8;
  border-radius:8px;
  color:#7b858e;
}

.app-search span{
  font-size:20px;
  line-height:1;
}

.app-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  font:inherit;
  font-size:12px;
  color:var(--ink);
}

.app-user{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:12px;
}

 .notification-btn{
  width:38px;
  height:38px;
  border:1px solid #e1e5e8;
  border-radius:8px;
  background:#fff;
  color:#56616b;
  cursor:pointer;
  display:grid;
  place-items:center;
  padding:0;
}

.notification-icon{
  display:block;
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.app-layout{
  width:min(100%,1480px);
  min-height:calc(100vh - 72px);
  margin:auto;
  display:grid;
  grid-template-columns:245px minmax(0,1fr);
}

.module-sidebar{
  position:sticky;
  top:72px;
  height:calc(100vh - 72px);
  overflow-y:auto;
  padding:24px 14px 18px;
  background:#fff;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
}

.sidebar-heading{
  padding:0 12px 12px;
  color:#8a949d;
  font-size:9px;
  font-weight:950;
  letter-spacing:1.5px;
}

.module-sidebar nav{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.nav-group{
  margin-top:20px;
}

.nav-group-title{
  padding:0 12px 7px;
  color:#9aa3aa;
  font-size:8px;
  font-weight:950;
  letter-spacing:1.2px;
}

.module-nav-link{
  min-height:36px;
  padding:7px 10px;
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:7px;
  color:#4e5963;
  font-size:11px;
  font-weight:750;
  transition:background .16s ease,color .16s ease;
}

.module-nav-link:hover{
  background:#f5f6f8;
  color:var(--ink);
}

.module-nav-link.active{
  background:#fff0f1;
  color:var(--red);
}

.nav-icon{
  width:25px;
  height:25px;
  flex:0 0 25px;
  display:grid;
  place-items:center;
  border:1px solid #e2e5e8;
  border-radius:6px;
  background:#fff;
  color:#69737c;
  font-size:8px;
  font-weight:950;
}

.module-nav-link.active .nav-icon{
  border-color:#efc6c9;
  color:var(--red);
  background:#fff;
}

.sidebar-bottom{
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:3px;
}

.sidebar-bottom a{
  padding:8px 12px;
  color:#7a858e;
  font-size:10px;
  font-weight:750;
  border-radius:6px;
}

.sidebar-bottom a:hover{
  background:#f5f6f8;
  color:var(--red);
}

.app-workspace{
  min-width:0;
  padding:42px 42px 70px;
}

.workspace-view{
  display:none;
}

.workspace-view.active{
  display:block;
}

.workspace-heading,
.module-workspace-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
  margin-bottom:38px;
}

.workspace-heading h1,
.module-workspace-heading h1{
  margin:7px 0 7px;
  font-size:38px;
  line-height:1.05;
  letter-spacing:-1.5px;
}

.workspace-heading p,
.module-workspace-heading p{
  margin:0;
  color:var(--muted);
  font-size:12px;
}

.workspace-role{
  min-width:210px;
  padding:13px 16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px;
}

.workspace-role strong{
  display:block;
  color:var(--red);
  font-size:9px;
  letter-spacing:1px;
}

.workspace-role span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:10px;
}

.dashboard-section{
  margin-top:34px;
}

.section-label{
  margin-bottom:13px;
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
}

.section-label h2{
  margin:0;
  font-size:17px;
  letter-spacing:-.2px;
}

.section-label span{
  color:#8a949d;
  font-size:9px;
}

.summary-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.summary-card{
  min-height:118px;
  padding:19px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
}

.summary-card-accent{
  border-top:2px solid var(--red);
}

.summary-label{
  display:block;
  color:#8b959e;
  font-size:8px;
  font-weight:950;
  letter-spacing:1px;
}

.summary-card strong{
  display:block;
  margin:14px 0 5px;
  font-size:29px;
  line-height:1;
  letter-spacing:-1px;
}

.summary-card small{
  color:var(--muted);
  font-size:9px;
}

.quick-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.quick-card{
  min-height:88px;
  padding:15px;
  display:grid;
  grid-template-columns:38px 1fr 18px;
  align-items:center;
  gap:11px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}

.quick-card:hover{
  transform:translateY(-2px);
  border-color:#d0d5da;
  box-shadow:0 10px 25px rgba(17,24,32,.07);
}

.quick-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#fff1f2;
  border:1px solid #f0c8cb;
  color:var(--red);
  font-size:9px;
  font-weight:950;
}

.quick-card span:nth-child(2){
  display:flex;
  flex-direction:column;
  gap:3px;
}

.quick-card strong{
  font-size:11px;
}

.quick-card small{
  color:var(--muted);
  font-size:8px;
}

.quick-card b{
  color:#a0a8af;
  font-size:14px;
}

.activity-panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
}

.activity-row{
  min-height:66px;
  padding:13px 17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid var(--line);
}

.activity-row:last-child{
  border-bottom:0;
}

.activity-row div{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.activity-row strong{
  font-size:11px;
}

.activity-row span{
  color:var(--muted);
  font-size:9px;
}

.activity-row b{
  color:#9aa3aa;
  font-size:13px;
}

.module-workspace-heading{
  margin-bottom:28px;
}

.module-toolbar{
  min-height:58px;
  padding:9px 12px 9px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px 9px 0 0;
}

.module-toolbar strong{
  font-size:12px;
}

.module-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.module-actions input{
  width:210px;
  height:34px;
  padding:0 10px;
  border:1px solid #dce1e5;
  border-radius:6px;
  outline:0;
  font:inherit;
  font-size:10px;
}

.module-actions input:focus{
  border-color:var(--red);
}

.module-actions .btn{
  min-height:34px;
  padding:0 13px;
  font-size:9px;
}

.manager-employee-table-wrap{
  overflow-x:auto;
  background:#fff;
  border:1px solid var(--line);
  border-top:0;
  border-radius:0 0 9px 9px;
}

.manager-employee-table{
  width:100%;
  min-width:900px;
  border-collapse:collapse;
  font-size:10px;
}

.manager-employee-table th{
  padding:12px 14px;
  text-align:left;
  background:#f8f9fa;
  border-bottom:1px solid var(--line);
  color:#66717a;
  font-size:9px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  white-space:nowrap;
}

.manager-employee-table td{
  padding:13px 14px;
  border-bottom:1px solid #edf0f2;
  color:#26313a;
  vertical-align:middle;
}

.manager-employee-table tbody tr:last-child td{
  border-bottom:0;
}

.manager-employee-table .employee-status{
  font-weight:700;
}

.manager-employee-actions{
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}

.manager-employee-actions .btn{
  min-height:30px;
  padding:0 10px;
  font-size:9px;
}

.manager-employee-actions .approve{
  display:none;
}

.manager-employee-actions.manager-can-approve .approve{
  display:inline-flex;
}

.manager-employee-actions .approve:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.manager-employee-empty{
  padding:40px;
  text-align:center;
  color:var(--muted);
}

@media(max-width:900px){
  .manager-employee-table{
    min-width:820px;
  }
}

.data-empty{
  min-height:390px;
  display:grid;
  place-items:center;
  align-content:center;
  padding:40px;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-top:0;
  border-radius:0 0 9px 9px;
}

.data-empty-icon{
  width:54px;
  height:54px;
  margin-bottom:15px;
  display:grid;
  place-items:center;
  border:1px solid #e1e5e8;
  border-radius:50%;
  color:#a2abb2;
  font-size:20px;
}

.data-empty h2{
  margin:0 0 5px;
  font-size:17px;
}

.data-empty p{
  max-width:440px;
  margin:0;
  color:var(--muted);
  font-size:10px;
}

@media(max-width:1100px){
  .app-layout{
    grid-template-columns:220px minmax(0,1fr);
  }

  .app-workspace{
    padding:34px 28px 60px;
  }

  .summary-grid,
  .quick-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:900px){
  .app-header-inner{
    padding:0 18px;
  }

  .app-search{
    max-width:none;
  }

  .app-user{
    display:none;
  }

  .hamb{
    display:block;
    width:40px;
    height:40px;
    flex:0 0 40px;
    border:1px solid #e1e5e8;
    border-radius:7px;
    background:#fff;
  }

  .module-sidebar{
    position:fixed;
    left:0;
    top:72px;
    bottom:0;
    width:275px;
    height:auto;
    z-index:45;
    transform:translateX(-100%);
    transition:transform .2s ease;
    box-shadow:15px 0 35px rgba(17,24,32,.12);
  }

  body.sidebar-open .module-sidebar{
    transform:translateX(0);
  }

  .app-layout{
    display:block;
  }

  .app-workspace{
    padding:30px 22px 55px;
  }
}

@media(max-width:680px){
  .app-header,
  .app-header-inner{
    height:62px;
  }

  .app-header-inner{
    gap:10px;
    padding:0 12px;
  }

  .app-search{
    height:36px;
  }

  .app-search span{
    font-size:17px;
  }

  .app-search input{
    font-size:10px;
  }

  .module-sidebar{
    top:62px;
  }

  .app-workspace{
    padding:25px 14px 45px;
  }

  .workspace-heading,
  .module-workspace-heading{
    flex-direction:column;
    align-items:flex-start;
    margin-bottom:28px;
  }

  .workspace-heading h1,
  .module-workspace-heading h1{
    font-size:32px;
  }

  .workspace-role{
    width:100%;
  }

  .summary-grid,
  .quick-grid{
    grid-template-columns:1fr;
  }

  .section-label{
    flex-direction:column;
    gap:3px;
  }

  .module-toolbar{
    flex-direction:column;
    align-items:stretch;
    padding:13px;
  }

  .module-actions{
    width:100%;
  }

  .module-actions input{
    width:100%;
    flex:1;
  }

  .data-empty{
    min-height:300px;
    padding:30px 18px;
  }
}


/* ===== DASHBOARD VISUAL REFINEMENT ===== */

.workspace-heading{
  padding-bottom:26px;
  border-bottom:1px solid var(--line);
}

.workspace-heading .eyebrow{
  font-size:9px;
  letter-spacing:1.8px;
}

.workspace-heading h1{
  font-size:42px;
  letter-spacing:-1.8px;
}

.workspace-role{
  position:relative;
  padding-left:19px;
  overflow:hidden;
}

.workspace-role:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:var(--red);
}

.summary-grid{
  gap:14px;
}

.summary-card{
  position:relative;
  min-height:125px;
  padding:20px;
  overflow:hidden;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}

.summary-card:hover{
  transform:translateY(-2px);
  border-color:#d1d6db;
  box-shadow:0 10px 26px rgba(17,24,32,.06);
}

.summary-card:after{
  content:"";
  position:absolute;
  right:-24px;
  bottom:-24px;
  width:72px;
  height:72px;
  border:1px solid #eef0f2;
  border-radius:50%;
}

.summary-card strong{
  font-size:31px;
  margin-top:16px;
}

.summary-card small{
  font-size:9px;
}

.summary-card-accent{
  border-top:0;
  border-left:3px solid var(--red);
}

.dashboard-section{
  margin-top:39px;
}

.section-label{
  margin-bottom:15px;
}

.section-label h2{
  font-size:18px;
  font-weight:850;
}

.quick-grid{
  gap:14px;
}

.quick-card{
  min-height:94px;
  padding:16px;
  grid-template-columns:40px 1fr 20px;
}

.quick-card:hover{
  box-shadow:0 12px 28px rgba(17,24,32,.08);
}

.activity-panel{
  box-shadow:0 2px 8px rgba(17,24,32,.025);
}

.activity-row{
  min-height:70px;
  padding:14px 18px;
  transition:background .15s ease;
}

.activity-row:hover{
  background:#fafbfc;
}

@media(max-width:680px){
  .workspace-heading{
    padding-bottom:20px;
  }

  .workspace-heading h1{
    font-size:34px;
  }

  .summary-card{
    min-height:112px;
  }
}


/* ===== EMPLOYEE REGISTRATION — STEP 1 ===== */

.employee-form-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
}

.employee-step-bar{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  border-bottom:1px solid var(--line);
  background:#fafbfc;
}

.employee-step{
  min-height:66px;
  padding:12px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:#9aa3aa;
  border-right:1px solid var(--line);
  font-size:9px;
  font-weight:750;
}

.employee-step:last-child{
  border-right:0;
}

.employee-step b{
  font-size:9px;
  letter-spacing:.5px;
}

.employee-step span{
  white-space:nowrap;
}

.employee-step.active{
  color:var(--red);
  background:#fff7f7;
  box-shadow:inset 0 -2px 0 var(--red);
}

.employee-form-card form{
  padding:30px;
}

.employee-section-title{
  display:flex;
  align-items:flex-start;
  gap:13px;
  margin-bottom:26px;
}

.employee-section-title > span{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:#fff1f2;
  border:1px solid #f0c8cb;
  color:var(--red);
  font-size:9px;
  font-weight:950;
}

.employee-section-title h2{
  margin:1px 0 3px;
  font-size:18px;
  line-height:1.2;
}

.employee-section-title p{
  margin:0;
  color:var(--muted);
  font-size:10px;
}

.employee-photo-row{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:28px;
  padding-bottom:24px;
  border-bottom:1px solid var(--line);
}

.employee-photo-box{
  width:76px;
  height:76px;
  flex:0 0 76px;
  display:grid;
  place-items:center;
  border:1px dashed #cfd5da;
  border-radius:8px;
  background:#f8f9fa;
  color:#9aa3aa;
  font-size:8px;
  font-weight:950;
  letter-spacing:.7px;
}

.employee-photo-row strong{
  display:block;
  font-size:11px;
}

.employee-photo-row p{
  margin:3px 0 9px;
  color:var(--muted);
  font-size:9px;
}

.employee-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px 16px;
}

.employee-form-grid label{
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#59636c;
  font-size:9px;
  font-weight:850;
}

.employee-form-grid input,
.employee-form-grid select{
  width:100%;
  height:40px;
  padding:0 11px;
  border:1px solid #dce1e5;
  border-radius:6px;
  outline:0;
  background:#fff;
  color:var(--ink);
  font:inherit;
  font-size:10px;
}

.employee-form-grid input::placeholder{
  color:#a5adb4;
}

.employee-form-grid input:focus,
.employee-form-grid select:focus{
  border-color:var(--red);
  box-shadow:0 0 0 2px rgba(201,22,29,.06);
}

.employee-form-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid var(--line);
}

.employee-form-actions .btn{
  min-height:36px;
  padding:0 16px;
  font-size:9px;
}

@media(max-width:900px){
  .employee-step-bar{
    grid-template-columns:repeat(4,1fr);
  }

  .employee-step:nth-child(4){
    border-right:0;
  }
}

@media(max-width:680px){
  .employee-step-bar{
    grid-template-columns:repeat(2,1fr);
  }

  .employee-step{
    min-height:58px;
  }

  .employee-step:nth-child(4){
    border-right:1px solid var(--line);
  }

  .employee-step:nth-child(2n){
    border-right:0;
  }

  .employee-form-card form{
    padding:20px 16px;
  }

  .employee-section-title{
    margin-bottom:22px;
  }

  .employee-photo-row{
    align-items:flex-start;
  }

  .employee-form-grid{
    grid-template-columns:1fr;
    gap:15px;
  }

  .employee-form-actions{
    justify-content:stretch;
  }

  .employee-form-actions .btn{
    flex:1;
  }
}


/* ===== EMPLOYEE PHOTO CROP POPUP ===== */

.employee-crop-modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(17,24,32,.72);
}

.employee-crop-modal.open{
  display:flex;
}

.employee-crop-dialog{
  width:min(560px,100%);
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.employee-crop-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:18px 20px;
  border-bottom:1px solid var(--line);
}

.employee-crop-header strong{
  display:block;
  font-size:13px;
}

.employee-crop-header span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:9px;
}

.employee-crop-close{
  width:32px;
  height:32px;
  border:0;
  border-radius:6px;
  background:#f5f6f7;
  color:#59636c;
  font-size:22px;
  cursor:pointer;
}

.employee-crop-area{
  width:min(500px,calc(100vw - 50px));
  aspect-ratio:1;
  margin:22px auto 16px;
  overflow:hidden;
  background:#111820;
  cursor:grab;
  touch-action:none;
}

.employee-crop-area:active{
  cursor:grabbing;
}

.employee-crop-area canvas{
  display:block;
  width:100%;
  height:100%;
}

.employee-crop-controls{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 20px 18px;
}

.employee-crop-controls input{
  flex:1;
  accent-color:var(--red);
}

.employee-crop-controls .btn{
  min-width:34px;
  height:34px;
  padding:0 10px;
}

.employee-crop-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:16px 20px;
  border-top:1px solid var(--line);
  background:#fafbfc;
}

@media(max-width:680px){
  .employee-crop-modal{
    padding:12px;
  }

  .employee-crop-area{
    width:calc(100vw - 40px);
    margin:16px auto;
  }

  .employee-crop-header{
    padding:15px;
  }

  .employee-crop-actions{
    padding:13px 15px;
  }

  .employee-crop-actions .btn{
    flex:1;
  }
}


/* ===== EMPLOYEE PHOTO VALIDATION MESSAGE POPUP ===== */

.employee-photo-message-modal{
  position:fixed;
  inset:0;
  z-index:120;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(17,24,32,.68);
}

.employee-photo-message-modal.open{
  display:flex;
}

.employee-photo-message-dialog{
  width:min(430px,100%);
  display:grid;
  grid-template-columns:42px 1fr auto;
  align-items:center;
  gap:14px;
  padding:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.employee-photo-message-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff1f2;
  border:1px solid #f0c8cb;
  color:var(--red);
  font-size:18px;
  font-weight:900;
}

.employee-photo-message-content strong{
  display:block;
  color:var(--ink);
  font-size:13px;
}

.employee-photo-message-content p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
}

.employee-photo-message-dialog .btn{
  min-height:34px;
  padding:0 15px;
  font-size:9px;
}

@media(max-width:680px){
  .employee-photo-message-dialog{
    grid-template-columns:38px 1fr;
    padding:18px;
  }

  .employee-photo-message-dialog .btn{
    grid-column:1 / -1;
    width:100%;
  }
}


.employee-photo-message-icon.success{
  background:#eefaf1;
  border-color:#b9dfc2;
  color:#218739;
}


.employee-photo-upload-status{
  color:#218739!important;
  font-weight:800!important;
}


/* ===== EMPLOYEE AGE DISPLAY ===== */

.employee-age-display{
  margin-top:6px;
  color:var(--muted);
  font-size:9px;
  font-weight:800;
}

.employee-age-display.valid{
  color:#218739;
}

.employee-age-display.invalid{
  color:var(--red);
}


/* ===== EMPLOYEE LIVE FIELD VALIDATION ===== */

.employee-field-invalid{
  border-color:var(--red)!important;
  box-shadow:0 0 0 2px rgba(201,22,29,.06)!important;
}

.employee-field-error{
  display:block;
  margin-top:2px;
  color:var(--red);
  font-size:8px;
  font-weight:800;
  line-height:1.4;
}


/* ===== EMPLOYEE VALID FIELD STATE ===== */

.employee-field-valid{
  border-color:#218739!important;
  box-shadow:0 0 0 2px rgba(33,135,57,.06)!important;
}

/* Manager Employee Information */
.manager-employee-information-modal{
  position:fixed;
  inset:0;
  z-index:125;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(17,24,32,.68);
}

.manager-employee-information-modal.open{
  display:flex;
}

.manager-employee-information-dialog{
  width:min(920px,100%);
  max-height:calc(100vh - 40px);
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  display:flex;
  flex-direction:column;
}

.manager-employee-information-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:20px 22px;
  border-bottom:1px solid var(--line);
}

.manager-employee-information-header h2{
  margin:3px 0 0;
  color:var(--ink);
  font-size:18px;
}

.manager-employee-information-header p{
  margin:5px 0 0;
  color:var(--muted);
  font-size:10px;
}

.manager-employee-information-close{
  width:32px;
  height:32px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#fff;
  color:var(--muted);
  font-size:20px;
  line-height:1;
  cursor:pointer;
}

.manager-employee-information-body{
  overflow:auto;
  padding:22px;
}

.manager-employee-information-section + .manager-employee-information-section{
  margin-top:28px;
}

.manager-employee-information-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}

.manager-employee-information-field{
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#fafbfc;
}

.manager-employee-information-field span{
  display:block;
  margin-bottom:4px;
  color:var(--muted);
  font-size:8px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.manager-employee-information-field strong{
  display:block;
  color:var(--ink);
  font-size:10px;
  font-weight:700;
}

@media(max-width:680px){
  .manager-employee-information-dialog{
    max-height:calc(100vh - 20px);
  }

  .manager-employee-information-header{
    padding:16px;
  }

  .manager-employee-information-body{
    padding:16px;
  }

  .manager-employee-information-grid{
    grid-template-columns:1fr;
  }
}

.manager-employee-table .status-active{
  color:#218739;
}

.manager-employee-table .status-on-probation{
  color:#9a6b00;
}

