@font-face{font-family:SDNRoboto;src:url("/vendor/focus/fonts/roboto/Roboto-Regular.woff2") format("woff2");font-weight:400;font-display:swap}@font-face{font-family:SDNRoboto;src:url("/vendor/focus/fonts/roboto/Roboto-Medium.woff2") format("woff2");font-weight:600;font-display:swap}@font-face{font-family:SDNRoboto;src:url("/vendor/focus/fonts/roboto/Roboto-Bold.woff2") format("woff2");font-weight:700;font-display:swap}
:root{--green:#c8202f;--green-dark:#8f1420;--green-soft:#fff0f1;--ink:#201a1b;--muted:#7f7475;--line:#eee6e7;--bg:#f8f6f6;--white:#fff;--shadow:0 6px 24px rgba(80,21,29,.06)}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:SDNRoboto,Arial,sans-serif;font-size:14px}h1,h2,h3,p{margin-top:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}
.auth-page{min-height:100vh;background:#eee9e9;padding:22px;display:grid;place-items:center}.auth-shell{width:min(1180px,100%);min-height:min(720px,calc(100vh - 44px));display:grid;grid-template-columns:1.08fr .92fr;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 30px 90px rgba(53,9,15,.16)}.auth-visual{position:relative;overflow:hidden;background:linear-gradient(145deg,#6f0c16,#9f1220 48%,#c61f2d);color:#fff;padding:46px 52px;display:flex;flex-direction:column}.auth-visual:before{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-290px;bottom:-220px;box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.02)}.auth-grid{position:absolute;inset:0;opacity:.14;background-image:linear-gradient(rgba(255,255,255,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.11) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom right,#000,transparent 72%)}.auth-logo{position:relative;display:flex;align-items:center;gap:12px}.auth-logo-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#fff;color:#9c1521;font-family:SDNRoboto;font-size:12px;font-weight:800;box-shadow:0 7px 22px rgba(30,0,3,.2)}.auth-logo b,.auth-logo small{display:block}.auth-logo b{font-family:SDNRoboto;font-size:17px}.auth-logo small{font-size:10px;letter-spacing:1.2px;color:#f0c8cc;margin-top:2px;text-transform:uppercase}.auth-copy{position:relative;margin:auto 0;max-width:515px}.auth-kicker{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:700;letter-spacing:2px;color:#f5c9cd}.auth-kicker i{width:26px;height:1px;background:#ffacb3}.auth-copy h1{font-size:52px;line-height:1.08;letter-spacing:-2.2px;margin:19px 0 22px}.auth-copy h1 em{font-style:normal;color:#ffacb3}.auth-copy>p{max-width:480px;color:#f0d4d6;line-height:1.75;font-size:14px}.auth-metrics{display:flex;margin-top:45px;border-top:1px solid rgba(255,255,255,.16);padding-top:22px}.auth-metrics>div{min-width:125px;padding-right:24px;margin-right:24px;border-right:1px solid rgba(255,255,255,.16)}.auth-metrics>div:last-child{border:0}.auth-metrics strong,.auth-metrics span{display:block}.auth-metrics strong{font-family:SDNRoboto;font-size:15px}.auth-metrics span{color:#e8bec2;font-size:10px;margin-top:4px}.auth-visual-foot{position:relative;display:flex;justify-content:space-between;align-items:center;color:#e8bec2;font-size:10px}.auth-live{display:inline-block;width:7px;height:7px;background:#61e6a0;border-radius:50%;box-shadow:0 0 0 4px rgba(97,230,160,.14);margin-right:8px}.auth-form-panel{display:grid;place-items:center;padding:50px;background:#fff}.auth-form-wrap{width:min(390px,100%)}.auth-mobile-logo{display:none}.auth-step{font-size:10px;letter-spacing:1.8px;font-weight:800;color:var(--green)}.auth-heading h2{font-size:28px;letter-spacing:-.7px;margin:10px 0 8px}.auth-heading p{color:var(--muted);font-size:13px;margin-bottom:30px}.auth-alert{display:flex;align-items:center;gap:11px;background:#fff1f2;border:1px solid #ffdadd;color:#8f1420;border-radius:11px;padding:11px 13px;margin-bottom:19px}.auth-alert>span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#c8202f;color:#fff;font-weight:800}.auth-alert b,.auth-alert small{display:block}.auth-alert b{font-size:11px}.auth-alert small{font-size:10px;margin-top:2px;color:#a34a52}.auth-form>label,.auth-label-row label{display:block;font-size:11px;font-weight:700;margin:0 0 7px}.auth-label-row{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.auth-label-row button{border:0;background:none;color:var(--green);font-size:10px;font-weight:700;cursor:pointer}.auth-input{height:49px;display:flex;align-items:center;border:1px solid #ded7d8;border-radius:10px;padding:0 13px;transition:.2s}.auth-input:focus-within{border-color:#c8202f;box-shadow:0 0 0 3px #fff0f1}.auth-input>span{color:#a6989a;font-size:16px;margin-right:10px}.auth-input input{border:0!important;box-shadow:none!important;padding:0;background:transparent;min-width:0;flex:1;height:100%;font-size:12px}.password-toggle{border:0;background:none;color:#8c7f81;font-size:10px;font-weight:700;cursor:pointer}.auth-submit{width:100%;height:51px;border:0;border-radius:10px;background:linear-gradient(100deg,#ad1724,#dc2635);color:#fff;margin-top:23px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;font-weight:700;cursor:pointer;box-shadow:0 10px 24px rgba(184,27,40,.23);transition:.2s}.auth-submit:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(184,27,40,.3)}.auth-submit i{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:rgba(255,255,255,.15);font-style:normal}.auth-demo{display:flex;align-items:center;gap:11px;background:#f8f5f5;border:1px solid #ece5e6;border-radius:11px;padding:12px;margin-top:20px}.auth-demo>span{font-size:8px;letter-spacing:1px;font-weight:800;background:#ece4e5;color:#8c7275;border-radius:5px;padding:5px}.auth-demo>div{flex:1}.auth-demo b,.auth-demo small{display:block}.auth-demo b{font-size:10px}.auth-demo small{font-size:9px;color:var(--muted);margin-top:2px}.auth-demo button{border:0;background:#fff;color:var(--green);border-radius:7px;padding:6px 9px;font-size:9px;font-weight:700;cursor:pointer}.auth-help{text-align:center;color:#9b9091;font-size:9px;margin:20px 0 0}
@media(max-width:900px){.auth-shell{grid-template-columns:1fr}.auth-visual{display:none}.auth-form-panel{min-height:calc(100vh - 44px)}.auth-mobile-logo{display:flex;align-items:center;gap:10px;font-family:SDNRoboto;margin-bottom:55px}.auth-mobile-logo span{background:var(--green);color:#fff;border-radius:9px;padding:10px;font-size:10px}}
@media(max-width:520px){.auth-page{padding:0;background:#fff}.auth-shell{min-height:100vh;border-radius:0;box-shadow:none}.auth-form-panel{padding:30px 23px}.auth-heading h2{font-size:25px}}
.auth-demo.employee-demo{margin-top:8px}.employee-page{background:#f5f3f3;min-height:100vh}.employee-nav{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:5}.employee-nav>a:first-child{display:flex;align-items:center;gap:10px}.employee-nav>a:first-child>span{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--green);color:#fff;font-family:SDNRoboto;font-size:10px;font-weight:800}.employee-nav b,.employee-nav small{display:block}.employee-nav small{font-size:9px;color:var(--muted);margin-top:2px}.employee-user{display:flex;align-items:center;gap:11px}.employee-user>div{text-align:right}.employee-user>a{font-size:10px;color:var(--green);font-weight:700;margin-left:8px}.employee-main{max-width:1180px;margin:auto;padding:25px 24px 55px}.employee-hero{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#78101a,#b41a28);color:#fff;border-radius:16px;padding:27px 31px;margin-bottom:17px;position:relative;overflow:hidden}.employee-hero h1{font-size:25px;margin:5px 0}.employee-hero p{margin:0;color:#ecc8cb;font-size:12px}.employee-hero p span{color:#73e3a6}.hero-clock{text-align:right}.hero-clock b,.hero-clock span{display:block}.hero-clock b{font-family:SDNRoboto;font-size:27px}.hero-clock span{font-size:9px;color:#eac3c7}.employee-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.8fr);gap:17px}.punch-card,.profile-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px;box-shadow:var(--shadow)}.punch-head,.punch-head>div{display:flex;align-items:center;justify-content:space-between}.punch-head>div{gap:11px}.punch-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:11px;background:#fff0f1;color:var(--green);font-size:20px}.punch-head h2{font-size:16px;margin:0 0 3px}.punch-head p{font-size:10px;color:var(--muted);margin:0}.punch-timeline{display:grid;grid-template-columns:1fr 90px 1fr;align-items:center;margin:28px 0}.punch-timeline>div{background:#faf8f8;border:1px solid var(--line);border-radius:12px;padding:17px;text-align:center}.punch-timeline>div.done{background:#f2faf6;border-color:#d5ecdf}.punch-timeline span,.punch-timeline b,.punch-timeline small{display:block}.punch-timeline span{font-size:10px;color:var(--muted)}.punch-timeline b{font-family:SDNRoboto;font-size:24px;margin:5px}.punch-timeline small{font-size:9px;color:var(--green)}.punch-timeline>i{height:1px;background:var(--line)}.punch-button{width:100%;height:50px;border:0;border-radius:10px;background:linear-gradient(100deg,#a81724,#d42635);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-weight:700;cursor:pointer;margin-top:14px}.punch-button:disabled{background:#c7c1c2}.location-status{text-align:center!important;font-size:9px!important;color:var(--muted)!important;margin:11px 0 0!important}.profile-card{text-align:center}.profile-avatar{display:grid;place-items:center;width:68px;height:68px;border-radius:20px;background:#fff0f1;color:var(--green);font-family:SDNRoboto;font-size:24px;font-weight:800;margin:5px auto 13px}.profile-card h3{margin:0 0 4px}.profile-card>p{color:var(--muted);font-size:11px}.profile-card dl{text-align:left;margin:20px 0}.profile-card dl div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.profile-card dt{font-size:10px;color:var(--muted)}.profile-card dd{margin:0;font-size:10px;font-weight:700}.employee-bottom{display:grid;grid-template-columns:1.5fr .7fr;gap:17px;margin-top:17px}.my-request-list>div{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.my-request-list b,.my-request-list small{display:block}.my-request-list b{font-size:11px}.my-request-list small{font-size:9px;color:var(--muted);margin-top:3px}.empty-state{text-align:center;color:var(--muted);font-size:11px;padding:30px}
@media(max-width:800px){.employee-grid,.employee-bottom{grid-template-columns:1fr}.employee-nav{padding:0 16px}.employee-user>div{display:none}.employee-main{padding:16px}.employee-hero{padding:22px}.employee-hero h1{font-size:21px}.hero-clock b{font-size:20px}.punch-timeline{grid-template-columns:1fr 35px 1fr}.punch-card{padding:17px}}

.auth-company-logo,
.auth-mobile-logo img,
.employee-company-logo {
  display: block;
  object-fit: contain;
  background: #fff;
}
.auth-company-logo {
  width: 48px;
  height: 48px;
  padding: 6px;
  border-radius: 13px;
  box-shadow: 0 7px 22px rgba(30, 0, 3, .2);
}
.auth-mobile-logo img,
.employee-company-logo {
  width: 40px;
  height: 40px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* Stable login controls without browser/Bootstrap style collisions. */
.auth-form {
  display: grid;
}
.auth-form > label,
.auth-label-row label {
  line-height: 1.35;
}
.auth-label-row {
  min-height: 24px;
}
.auth-input {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  padding: 0 12px;
  overflow: hidden;
}
.auth-input:has(.password-toggle) {
  grid-template-columns: 26px minmax(0, 1fr) auto;
}
.auth-input > span {
  display: grid;
  place-items: center;
  width: 26px;
  margin: 0;
}
.auth-input input,
.auth-input input:focus,
.auth-input input:focus-visible {
  width: 100%;
  min-width: 0;
  height: 47px;
  margin: 0;
  padding: 0 10px;
  color: var(--ink);
  background: transparent;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  outline: 0 !important;
}
.password-toggle {
  align-self: stretch;
  min-width: 52px;
  margin-right: -12px;
  padding: 0 12px;
  color: #776d6e;
  background: #faf7f7;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--green-dark);
  background: var(--green-soft);
  outline: 0;
}
.auth-submit {
  border: 1px solid transparent;
}
.auth-submit:focus-visible {
  border-color: #fff;
  outline: 3px solid rgba(200, 32, 47, .2);
  outline-offset: 2px;
}
.auth-demo {
  min-height: 52px;
}
.auth-demo button {
  min-width: 72px;
  height: 30px;
  padding: 0 10px;
  white-space: nowrap;
}
.auth-demo button:hover,
.auth-demo button:focus-visible,
.auth-label-row button:hover,
.auth-label-row button:focus-visible {
  color: var(--green-dark);
  background: var(--green-soft);
  outline: 0;
}

/* Minimal login page. */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f7f3f4;
}
.login-shell {
  width: min(420px, 100%);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(186, 38, 57, .18);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(73, 20, 28, .09);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(186, 38, 57, .14);
}
.login-brand img {
  width: 44px;
  height: 44px;
  padding: 5px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.login-brand b,
.login-brand small {
  display: block;
}
.login-brand b {
  font-size: 15px;
}
.login-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.login-content {
  padding: 30px 26px 25px;
}
.login-eyebrow {
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.login-content h1 {
  margin: 8px 0 6px;
  font-size: 25px;
  letter-spacing: -.5px;
}
.login-content > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
}
.login-alert {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 11px 12px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid #f2cfd3;
  border-radius: 9px;
  font-size: 10px;
}
.login-form {
  display: grid;
  gap: 8px;
}
.login-form label {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
}
.login-input {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 48px;
  padding: 0 7px 0 12px;
  border: 1px solid #ded5d7;
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.login-input:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.login-input > i {
  color: #a29295;
}
.login-input input,
.login-input input:focus {
  width: 100%;
  height: 46px;
  min-width: 0;
  padding: 0 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 0;
  font-size: 12px;
}
.login-icon-button,
.login-submit {
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.login-icon-button {
  width: 34px;
  height: 34px;
  color: #766a6c;
  background: #f8f5f5;
  border-radius: 8px;
}
.login-icon-button:hover,
.login-icon-button:focus-visible {
  color: var(--green-dark);
  background: var(--green-soft);
  outline: 0;
}
.login-submit {
  width: 48px;
  height: 48px;
  margin: 18px 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, #a81725, #d92c3d);
  border-radius: 11px;
  box-shadow: 0 9px 20px rgba(184, 27, 40, .22);
  font-size: 18px;
}
.login-submit:hover {
  transform: translateY(-1px);
}
.login-submit:focus-visible {
  outline: 3px solid rgba(200, 32, 47, .2);
  outline-offset: 3px;
}
.login-footer {
  padding: 14px 20px;
  color: #9b9092;
  background: #fffafa;
  border-top: 1px solid rgba(186, 38, 57, .12);
  text-align: center;
  font-size: 9px;
}
@media (max-width: 520px) {
  .login-page {
    padding: 0;
    background: #fff;
  }
  .login-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .login-content {
    margin: auto 0;
  }
}

/* Unified SDN design system for the employee portal. */
.employee-page {
  padding-bottom: 46px;
  color: #20233a;
  background: #f8f7f8;
}
.employee-nav {
  height: 80px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(186,38,57,.22);
  border-bottom-color: rgba(186, 38, 57, .18);
  box-shadow: 0 3px 14px rgba(65, 24, 30, .035);
}
.employee-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.employee-brand b { font-size: 13px; }
.employee-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.employee-online {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 18px;
  color: var(--muted);
  font-size: 9px;
}
.employee-online i {
  width: 7px;
  height: 7px;
  background: #20ad6b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e7f8ef;
}
.employee-avatar-button,
.profile-avatar.photo {
  padding: 0;
  overflow: hidden;
  background: var(--green-soft);
  border: 0;
  cursor: zoom-in;
}
.employee-avatar-button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.employee-avatar-button img,
.profile-avatar.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.employee-icon-action,
.employee-primary-action {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 9px;
  cursor: pointer;
}
.employee-icon-action {
  width: 36px;
  height: 36px;
  margin-left: 4px !important;
  color: var(--green) !important;
  background: var(--green-soft);
  border: 1px solid rgba(186,38,57,.15);
  font-size: 15px !important;
}
.employee-user > button.employee-icon-action,
.employee-user > a.employee-icon-action {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 36px;
  margin: 0 !important;
}
.employee-account-dropdown { position: relative; }
.employee-account-dropdown summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  cursor: pointer;
  list-style: none;
}
.employee-account-dropdown summary::-webkit-details-marker { display: none; }
.employee-account-dropdown summary span b,
.employee-account-dropdown summary span small { display: block; }
.employee-account-dropdown summary > i { color: #9b9092; font-size: 10px; transition: transform .18s ease; }
.employee-account-dropdown[open] summary > i { transform: rotate(180deg); }
.employee-account-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 12px);
  right: 0;
  width: 215px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(186,38,57,.18);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(55,31,35,.16);
}
.employee-account-menu > div { padding: 12px 14px; color: #91868a; background: #fdfafb; border-bottom: 1px solid var(--line); font-size: 9px; text-transform: uppercase; }
.employee-account-menu a,.employee-account-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  color: #5f595c;
  background: #fff;
  border: 0;
  cursor: pointer;
  font-size: 10px;
  text-align: left;
}
.employee-account-menu a:hover,.employee-account-menu button:hover { color: var(--green-dark); background: var(--green-soft); }
.employee-account-menu a { color: var(--green-dark); border-top: 1px solid var(--line); }
.employee-main {
  padding-top: 20px;
  padding-bottom: 70px;
}
.employee-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}
.employee-page-heading > div > span {
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.employee-page-heading h1 {
  margin: 6px 0 3px;
  font-size: 20px;
}
.employee-page-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}
.employee-page-heading nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ad9fa1;
  font-size: 9px;
}
.employee-heading-actions { display: flex; align-items: center; gap: 10px; }
.employee-heading-actions .employee-primary-action { margin: 0; }

/* Real page views for every employee sidebar route. */
.employee-view-attendance .employee-hero,
.employee-view-attendance .employee-bottom,
.employee-view-attendance .employee-biometric,
.employee-view-history .employee-hero,
.employee-view-history .employee-grid,
.employee-view-history .employee-biometric,
.employee-view-requests .employee-hero,
.employee-view-requests .employee-grid,
.employee-view-requests .employee-biometric,
.employee-view-profile .employee-hero,
.employee-view-profile .employee-grid,
.employee-view-profile .employee-bottom,
.employee-view-profile .employee-biometric,
.employee-view-biometric .employee-hero,
.employee-view-biometric .employee-grid,
.employee-view-biometric .employee-bottom {
  display: none;
}
.employee-view-attendance .employee-grid { grid-template-columns: minmax(0,1fr); }
.employee-view-attendance .profile-card { display: none; }
.employee-view-history .employee-bottom,
.employee-view-requests .employee-bottom { grid-template-columns: minmax(0,1fr); margin-top: 0; }
.employee-view-history .employee-bottom > article:nth-child(2) { display: none; }
.employee-view-requests .employee-bottom > article:nth-child(1) { display: none; }
.employee-view-biometric .employee-biometric { margin-top: 0; }
.employee-view-profile .employee-page-heading { margin-bottom: 0; }
.employee-profile-page { display: none; padding: 0; overflow: hidden; border: 1px solid rgba(186,38,57,.18); border-radius: 13px; }
.employee-view-profile .employee-profile-page { display: block; margin-top: 16px; }
.employee-profile-page .card-head { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.employee-profile-data { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; }
.employee-profile-data > div { display: grid; gap: 5px; padding: 16px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.employee-profile-data > div:nth-child(even) { border-right: 0; }
.employee-profile-data > div.wide { grid-column: 1/-1; border-right: 0; }
.employee-profile-data span { color: var(--muted); font-size: 9px; }
.employee-profile-data b { font-size: 11px; }
.profile-approval-notice { display:flex; align-items:center; gap:12px; margin:16px 20px 0; padding:13px 15px; color:#8a5a00; background:#fff8e8; border:1px solid #f2d89a; border-radius:10px; }
.profile-approval-notice > i { font-size:20px; }
.profile-approval-notice span { display:grid; gap:2px; }
.profile-approval-notice small { color:#8b7c62; font-size:9px; }
.profile-complete-form { max-height:min(72vh,720px); overflow:auto; }
.profile-complete-form .wide { grid-column:1/-1; }
.employee-page dialog .profile-complete-form textarea { min-height:76px; padding:12px; border:1px solid var(--line); border-radius:9px; resize:vertical; }
.employee-page-heading nav a,
.employee-page-heading nav span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  color: var(--green);
  background: #fff;
  border: 1px solid rgba(186,38,57,.2);
  border-radius: 9px;
}
.employee-hero {
  min-height: 145px;
  padding: 28px 32px;
  background: linear-gradient(110deg,#8e1320,#cc1730);
  border-radius: 14px;
}
.employee-hero h2 {
  margin: 8px 0 6px;
  color: #fff;
  font-size: 25px;
}
.employee-hero > div > p {
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.employee-hero > div > span {
  color: #f5d9dc;
  font-size: 11px;
}
.punch-card,.profile-card,.employee-bottom .card {
  border-color: rgba(186,38,57,.18);
  border-radius: 13px;
  box-shadow: 0 6px 20px rgba(58,38,41,.04);
}
.punch-icon { color: var(--green); }
.punch-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.punch-head-actions .punch-submit {
  margin: 0;
}
.attendance-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 15px;
  padding: 0;
  border: 0;
}
.attendance-methods legend {
  width: 100%;
  margin-bottom: 7px;
  color: #5d5558;
  font-size: 10px;
  font-weight: 700;
}
.attendance-methods label { position: relative; cursor: pointer; }
.attendance-methods input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.attendance-methods label > span {
  display: grid;
  grid-template-columns: 30px minmax(85px,1fr);
  align-items: center;
  min-height: 50px;
  padding: 7px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.attendance-methods label > span > i { grid-row: 1/3; color: var(--green); font-size: 17px; }
.attendance-methods label > span b,.attendance-methods label > span small { display: block; }
.attendance-methods label > span b { font-size: 10px; }
.attendance-methods label > span small { color: var(--muted); font-size: 8px; }
.attendance-methods input:checked + span { color: var(--green-dark); background: var(--green-soft); border-color: rgba(186,38,57,.35); box-shadow: inset 3px 0 var(--green); }
.biometric-method-note { display: flex; align-items: center; gap: 7px; margin: -5px 0 14px; color: var(--muted); font-size: 9px; }
.biometric-scan-dialog { width: min(470px,calc(100% - 24px)) !important; }
.biometric-scan-body { display: grid; place-items: center; padding: 34px 24px 38px; text-align: center; }
.biometric-scan-animation {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(186,38,57,.22);
  border-radius: 28px;
  box-shadow: 0 0 0 10px rgba(200,32,47,.05);
  animation: biometricPulse 1.5s ease-in-out infinite;
}
.biometric-scan-animation i { font-size: 40px; }
.biometric-scan-body h4 { margin: 24px 0 7px; font-size: 17px; }
.biometric-scan-body > p { margin: 0; color: var(--muted); font-size: 10px; }
.biometric-scan-status { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding: 9px 12px; background: #faf8f9; border-radius: 99px; color: #71686b; font-size: 9px; }
.biometric-scan-status i { width: 7px; height: 7px; background: #20ad6b; border-radius: 50%; box-shadow: 0 0 0 4px #e7f8ef; }
@keyframes biometricPulse { 50% { transform: scale(1.04); box-shadow: 0 0 0 18px rgba(200,32,47,.025); } }
.employee-input {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  align-items: center;
  min-height: 44px;
  margin-top: 7px;
  padding: 0 8px;
  border: 1px solid #e3dcde;
  border-radius: 9px;
}
.employee-input i { color: #a6979a; text-align: center; }
.employee-input input {
  width: 100%;
  min-width: 0;
  padding: 11px 6px;
  background: transparent;
  border: 0;
  outline: 0;
}
.punch-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.employee-primary-action {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  color: #fff;
  background: linear-gradient(135deg,#991725,#dd263b);
  border: 0;
  box-shadow: 0 7px 16px rgba(184,27,40,.2);
  font-size: 17px;
}
.employee-primary-action:disabled {
  color: #8d8587;
  background: #ece8e9;
  box-shadow: none;
  cursor: not-allowed;
}
.location-status { margin: 0 !important; text-align: left !important; }
.profile-card .employee-primary-action { display: grid; }
.employee-bottom .card { padding: 0; overflow: hidden; }
.employee-bottom .card-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.employee-bottom .card-head > i { color: var(--green); font-size: 18px; }
.employee-bottom .table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
}
.employee-bottom table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}
.employee-bottom th,.employee-bottom td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}
.employee-bottom th {
  color: #807579;
  background: #fdfafb;
  font-size: 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.employee-bottom td { color: #68636b; font-size: 10px; }
.my-request-list { padding: 0 20px 8px; }
.employee-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 14px;
  color: #9b9295;
  background: rgba(255,255,255,.96);
  border-top: 1px solid rgba(186,38,57,.18);
  text-align: center;
  font-size: 9px;
  backdrop-filter: blur(8px);
}
.employee-footer b { color: var(--green-dark); }
.employee-sidebar {
  position: fixed;
  z-index: 15;
  top: 80px;
  bottom: 46px;
  left: 0;
  width: 220px;
  padding: 18px 14px;
  background: #fff;
  border-right: 1px solid rgba(186,38,57,.18);
}
.employee-sidebar nav {
  display: grid;
  gap: 7px;
}
.employee-sidebar a,
.employee-sidebar button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 13px;
  color: #70686b;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-size: 10px;
  text-align: left;
}
.employee-sidebar a i,
.employee-sidebar button i {
  display: grid;
  place-items: center;
  width: 18px;
  color: #9a8e91;
  font-size: 15px;
}
.employee-sidebar a:hover,
.employee-sidebar button:hover,
.employee-sidebar a.active {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: rgba(186,38,57,.16);
}
.employee-sidebar a.active {
  box-shadow: inset 3px 0 var(--green);
  font-weight: 700;
}
.employee-main {
  width: auto;
  max-width: none;
  margin-left: 220px;
  padding-right: 32px;
  padding-left: 32px;
}
.employee-biometric {
  margin-top: 17px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(186,38,57,.18);
  border-radius: 13px;
}
.employee-biometric .card-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.employee-biometric .table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
}
.employee-biometric table { width: 100%; min-width: 760px; border-collapse: collapse; }
.employee-biometric th,.employee-biometric td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; font-size: 10px; }
.employee-biometric th { color: #807579; background: #fdfafb; font-size: 8px; text-transform: uppercase; }
.employee-biometric td small { display: block; margin-top: 3px; color: var(--muted); }
.biometric-type { display: inline-flex; align-items: center; gap: 7px; color: var(--green-dark); font-weight: 700; }
.employee-row-action { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; color: var(--green); background: var(--green-soft); border: 1px solid rgba(186,38,57,.18); border-radius: 8px; cursor: pointer; }
.biometric-locked { color: #19a266; font-size: 17px; }
.employee-photo-dialog {
  width: min(42rem,calc(100% - 24px)) !important;
  height: min(42rem,calc(100dvh - 24px));
  background: #150f11 !important;
}
.employee-photo-dialog[open] { display: grid; place-items: center; }
.employee-photo-dialog > img { width: 100%; height: 100%; object-fit: contain; }
.employee-photo-dialog > .close { position: absolute; z-index: 2; top: 14px; right: 14px; color: #fff; background: rgba(20,12,15,.65); }
.employee-page .alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 9px;
}
.employee-page .alert.success { color: #16734e; background: #eaf8f1; border: 1px solid #ccebdd; }
.employee-page .alert.error { color: #9b1e2d; background: #fff0f1; border: 1px solid #f3ccd1; }
@media(max-width:800px) {
  .employee-page-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .employee-page-heading nav { align-self: flex-end; }
  .employee-online { display: none; }
  .employee-sidebar {
    top: auto;
    right: 0;
    bottom: 46px;
    width: auto;
    height: 58px;
    padding: 7px 10px;
    border-top: 1px solid rgba(186,38,57,.18);
    border-right: 0;
  }
  .employee-sidebar nav { display: flex; justify-content: space-around; }
  .employee-sidebar a,.employee-sidebar button { justify-content: center; width: 44px; min-height: 42px; padding: 0; }
  .employee-sidebar span { display: none; }
  .employee-main { margin-left: 0; padding-bottom: 130px; }
  .employee-footer { bottom: 0; }
}
@media(max-width:520px) {
  .employee-brand div { display: none; }
  .employee-account-dropdown summary span { display: none; }
  .employee-main { padding: 12px 12px 64px; }
  .employee-page-heading nav span { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .employee-hero { min-height: 130px; }
  .punch-actions { align-items: flex-end; }
  .punch-head {
    align-items: flex-start;
    gap: 12px;
  }
  .punch-head-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
  }
}

/* Employee portal modal and icon-only actions. */
.employee-page dialog {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(30, 15, 18, .26);
}
.employee-page dialog::backdrop {
  background: rgba(36, 16, 20, .5);
  backdrop-filter: blur(2px);
}
.employee-page dialog .modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(186, 38, 57, .18);
}
.employee-page dialog .modal-head h3 {
  margin: 0 0 4px;
}
.employee-page dialog .modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.employee-page dialog > form {
  max-height: calc(100dvh - 120px);
  padding: 20px;
  overflow-y: auto;
}
.employee-page dialog .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.employee-page dialog .stack {
  display: grid;
  gap: 14px;
}
.employee-page dialog label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}
.employee-page dialog input,
.employee-page dialog select {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.employee-page dialog .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  position: sticky;
  bottom: -20px;
  margin: 4px -20px -20px;
  padding: 14px 20px;
  background: #fffafa;
  border-top: 1px solid rgba(186, 38, 57, .18);
}
.employee-page .modal-icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #776d70;
  background: #fff;
  border: 1px solid rgba(186, 38, 57, .2);
  border-radius: 9px;
  cursor: pointer;
}
.employee-page .modal-submit {
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-color: transparent;
}
.employee-page .modal-cancel {
  color: #a33b48;
}
@media (max-width: 520px) {
  .employee-page dialog .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive employee portal safeguards. */
.employee-page,
.employee-main,
.employee-grid,
.employee-bottom,
.punch-card,
.profile-card {
  min-width: 0;
}
.employee-page {
  max-width: 100%;
  overflow-x: hidden;
}
.employee-page .table-wrap {
  max-width: calc(100% + 42px);
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 800px) {
  .employee-hero {
    flex-wrap: wrap;
    gap: 18px;
  }
  .employee-nav > a:first-child div {
    min-width: 0;
  }
  .employee-nav > a:first-child b {
    white-space: nowrap;
  }
  .hero-clock {
    width: 100%;
    text-align: left;
  }
}
@media (max-width: 520px) {
  .employee-nav {
    height: 64px;
    gap: 8px;
  }
  .employee-nav > a:first-child div {
    display: none;
  }
  .employee-user {
    margin-left: auto;
  }
  .employee-user > .avatar {
    width: 34px;
    height: 34px;
  }
  .employee-main {
    padding: 12px 12px 40px;
  }
  .employee-hero,
  .punch-card,
  .profile-card {
    padding: 16px;
    border-radius: 12px;
  }
  .punch-timeline {
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    margin: 20px 0;
  }
  .punch-timeline > div {
    padding: 12px 8px;
  }
  .punch-timeline b {
    font-size: 20px;
  }
}
.employee-notification-dropdown{position:relative}
.employee-notification-dropdown summary{position:relative;display:grid;place-items:center;width:38px;height:38px;color:#554b4e;border:1px solid var(--line);border-radius:10px;cursor:pointer;list-style:none}
.employee-notification-dropdown summary::-webkit-details-marker{display:none}
.employee-notification-dropdown summary>b{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;color:#fff;background:var(--red);border:2px solid #fff;border-radius:99px;font-size:8px}
.employee-notification-menu{position:absolute;z-index:40;top:46px;right:0;width:min(340px,calc(100vw - 24px));max-height:420px;overflow:auto;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 45px rgba(52,20,27,.16)}
.employee-notification-menu header{display:flex;align-items:center;justify-content:space-between;padding:8px 9px;font-size:11px;font-weight:800}
.employee-notification-menu form{margin:0}.employee-notification-menu button{border:0;background:transparent}
.employee-notification-menu header button{width:30px;height:30px;color:var(--red);border-radius:8px}
.employee-notification-menu form>button{display:flex;width:100%;gap:10px;padding:10px;text-align:left;border-radius:9px}
.employee-notification-menu form.unread>button{background:#fff1f3}
.employee-notification-menu form>button>i{display:grid;place-items:center;flex:0 0 32px;height:32px;color:var(--red);background:#fff;border:1px solid var(--line);border-radius:8px}
.employee-notification-menu form span{display:grid;gap:2px}.employee-notification-menu form b{font-size:10px}.employee-notification-menu form small{color:var(--muted);font-size:9px}.employee-notification-menu time{color:#9b8f93;font-size:8px}
.employee-notification-menu .empty{display:grid;place-items:center;gap:6px;padding:24px;color:var(--muted);font-size:10px}
