
/* Hormozan final visual layer */
:root{
  --bg:#f5f6f8!important;
  --surface:#ffffff!important;
  --surface-soft:#f4f6f8!important;
  --text:#17171c!important;
  --muted:#74747d!important;
  --line:#e7e8ec!important;
  --primary:#20232a!important;
  --primary-soft:#f1f2f4!important;
  --danger:#d71920!important;
  --success:#178c4b!important;
  --warning:#d97706!important;
  --radius:18px!important;
  --shadow:0 14px 36px rgba(15,18,25,.07)!important;
}
body.hormozan-ui{background:linear-gradient(135deg,#f7f7f8 0%,#f0f2f4 100%)!important;color:var(--text)!important;font-size:13px!important;}
body.hormozan-ui:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 8% 5%,rgba(215,25,32,.08),transparent 26%),radial-gradient(circle at 96% 92%,rgba(32,35,42,.08),transparent 28%);z-index:-1;}
.app-shell{min-height:100vh!important;}
.sidebar{width:248px!important;padding:18px 14px!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(18px)!important;border-left:1px solid rgba(231,232,236,.9)!important;box-shadow:-8px 0 34px rgba(15,18,25,.05)!important;}
.brand{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:8px!important;background:#fff!important;border:1px solid var(--line)!important;padding:14px!important;margin-bottom:12px!important;border-radius:22px!important;color:var(--text)!important;}
.brand img{width:150px;max-width:100%;height:auto;display:block;}
.brand span{font-size:12px!important;color:var(--muted)!important;font-weight:800!important;}
.user-mini{display:grid!important;grid-template-columns:42px 1fr!important;align-items:center!important;gap:9px!important;padding:11px!important;border-radius:18px!important;background:linear-gradient(135deg,#24262d,#111318)!important;color:#fff!important;border:0!important;box-shadow:0 12px 28px rgba(17,19,24,.17)!important;}
.user-mini i{grid-row:1/3;width:42px;height:42px;border-radius:15px;background:#d71920;color:#fff;display:grid;place-items:center;font-style:normal;font-weight:950;}
.user-mini b{font-size:12.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.user-mini span{font-size:11px!important;color:rgba(255,255,255,.7)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.side-nav{display:grid!important;gap:5px!important;}
.side-nav a,.sidebar a{min-height:40px!important;padding:8px 10px!important;border-radius:14px!important;font-weight:800!important;color:#3a3d45!important;}
.side-nav a .nav-ico,.sidebar a .nav-ico{width:24px;height:24px;display:inline-grid;place-items:center;margin-left:7px;border-radius:9px;background:#f0f1f3;color:#24262d;font-weight:900;}
.side-nav a b,.sidebar a b{font-size:12px;font-weight:850;}
.sidebar a:hover,.sidebar a.active{background:#24262d!important;color:#fff!important;transform:translateX(-2px);}
.sidebar a:hover .nav-ico,.sidebar a.active .nav-ico{background:#d71920!important;color:#fff!important;}
.sidebar a.logout{background:#fff1f2!important;color:#be123c!important;margin-top:10px!important;}
.main{margin-right:248px!important;}
.topbar{height:68px!important;margin:12px 12px 0!important;border:1px solid rgba(231,232,236,.92)!important;border-radius:22px!important;background:rgba(255,255,255,.85)!important;box-shadow:0 12px 28px rgba(15,18,25,.04)!important;padding:0 16px!important;}
.topbar h1{font-size:18px!important;font-weight:950!important;letter-spacing:-.3px!important;}
.topbar-tools{margin-right:auto;display:flex;align-items:center;gap:8px;}
.topbar-tools a{height:36px;display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:12px;padding:0 12px;background:#fff;color:#333740;font-weight:850;font-size:12px;}
.topbar-tools a.quick-primary{background:#d71920;color:#fff;border-color:#d71920;}
.menu-btn{background:#24262d!important;border-radius:13px!important;box-shadow:none!important;}
.content{max-width:1240px!important;padding:18px!important;}
.panel{border:1px solid rgba(231,232,236,.92)!important;border-radius:24px!important;background:rgba(255,255,255,.92)!important;box-shadow:var(--shadow)!important;padding:18px!important;}
.panel h2,.panel-title-row h2{font-size:16px!important;font-weight:950!important;color:#20232a!important;}
.grid{gap:14px!important;}
.stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;}
.stat-card{position:relative;overflow:hidden;border:1px solid rgba(231,232,236,.96)!important;border-radius:22px!important;padding:18px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,18,25,.045)!important;}
.stat-card:after{content:"";position:absolute;left:16px;top:16px;width:36px;height:36px;border-radius:14px;background:linear-gradient(135deg,rgba(215,25,32,.14),rgba(32,35,42,.08));}
.stat-card span{font-weight:850!important;font-size:12px!important;color:#777b84!important;}
.stat-card strong{font-size:25px!important;color:#20232a!important;font-weight:950!important;}
.action-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;}
.action-card{border-radius:22px!important;background:#fff!important;border:1px solid rgba(231,232,236,.96)!important;padding:18px!important;box-shadow:0 10px 26px rgba(15,18,25,.04)!important;min-height:86px;display:flex;align-items:center;position:relative;overflow:hidden;}
.action-card:before{content:"";width:7px;height:42px;border-radius:999px;background:#d71920;margin-left:12px;display:block;}
.action-card strong{font-size:14px!important;font-weight:950!important;margin:0!important;}
.action-card span{display:none!important;}
.action-card:hover{transform:translateY(-3px)!important;border-color:rgba(215,25,32,.28)!important;box-shadow:0 18px 38px rgba(15,18,25,.09)!important;}
.dashboard-hero,.hr-hub-hero{background:linear-gradient(135deg,#24262d 0%,#121318 58%,#d71920 160%)!important;border-radius:28px!important;padding:26px!important;box-shadow:0 18px 42px rgba(17,19,24,.22)!important;border:0!important;color:#fff!important;}
.dashboard-hero h2,.hr-hub-hero h2{font-size:28px!important;font-weight:950!important;margin:6px 0 0!important;color:#fff!important;}
.dashboard-hero p,.hr-hub-hero p{font-size:13px!important;color:rgba(255,255,255,.75)!important;margin:8px 0 0!important;}
.hero-eyebrow,.hr-hub-kicker{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important;}
.dashboard-hero-metrics a,.hero-action{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:18px!important;color:#fff!important;}
.dashboard-hero-metrics a:hover,.hero-action:hover{background:rgba(255,255,255,.2)!important;}
.form-grid{gap:14px!important;}
label{font-weight:900!important;color:#31343b!important;font-size:12px!important;}
input,select,textarea{min-height:43px!important;border-radius:15px!important;border:1px solid #dfe2e8!important;background:#fff!important;padding:9px 12px!important;font-size:13px!important;}
input:focus,select:focus,textarea:focus{border-color:#24262d!important;box-shadow:0 0 0 4px rgba(32,35,42,.08)!important;}
button,.primary{border-radius:15px!important;background:#24262d!important;color:#fff!important;font-weight:950!important;box-shadow:0 10px 22px rgba(32,35,42,.14)!important;}
button:hover,.primary:hover{background:#d71920!important;}
.small-link{background:#f3f4f6!important;color:#20232a!important;border:1px solid #e6e8ed!important;border-radius:12px!important;font-weight:900!important;padding:7px 11px!important;}
.small-link:hover{background:#24262d!important;color:#fff!important;}
.badge{font-weight:900!important;border-radius:999px!important;padding:5px 10px!important;}
.badge.success{background:#edfdf4!important;color:#08753c!important;}
.badge.warn{background:#fff7ed!important;color:#c05621!important;}
.badge.danger{background:#fff1f2!important;color:#be123c!important;}
.table-wrap{border:1px solid rgba(231,232,236,.95)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,18,25,.035)!important;}
table{font-size:12.5px!important;}
th{background:#f7f8fa!important;color:#4b4e57!important;font-weight:950!important;border-bottom:1px solid #e8eaf0!important;}
td,th{padding:11px 12px!important;border-bottom:1px solid #eef0f4!important;}
tr:hover td{background:#fcfcfd!important;}
.info-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;}
.info-grid div{border-radius:18px!important;background:#f8f9fb!important;border:1px solid #e8eaf0!important;}
.info-grid strong{font-weight:950!important;color:#20232a!important;}
.alert{border-radius:18px!important;font-weight:850!important;}
.alert.ok{background:#effdf5!important;color:#08753c!important;border-color:#bdeed1!important;}
.alert.error{background:#fff1f2!important;color:#be123c!important;border-color:#fecdd3!important;}
/* Login */
body.page-login .app-shell{display:block!important;}
body.page-login .main{margin:0!important;}
body.page-login .content{max-width:none!important;padding:0!important;}
.final-login{min-height:100vh!important;display:grid!important;place-items:center!important;padding:28px!important;background:radial-gradient(circle at 20% 0%,rgba(215,25,32,.15),transparent 28%),linear-gradient(135deg,#fff,#f2f3f5)!important;}
.final-login-card{width:min(410px,100%)!important;border-radius:30px!important;padding:30px!important;border:1px solid rgba(231,232,236,.95)!important;background:rgba(255,255,255,.9)!important;box-shadow:0 24px 60px rgba(15,18,25,.12)!important;}
.login-logo-wrap{text-align:center;margin-bottom:22px;}
.login-logo-wrap img{width:210px;max-width:82%;height:auto;display:block;margin:0 auto 10px;}
.login-logo-wrap h1{margin:0;font-size:18px;font-weight:950;color:#24262d;}
.final-login-card form{gap:12px!important;}
.final-login-card button{width:100%;height:46px;margin-top:8px;}
.login-card .muted,.login-feature-row,.help-box{display:none!important;}
/* Leave pages */
.leave-step-progress{background:#f5f6f8!important;border:1px solid #e8eaf0!important;border-radius:18px!important;padding:8px!important;}
.leave-step-progress span{border-radius:13px!important;font-weight:900!important;}
.leave-step-progress span.is-active{background:#24262d!important;color:#fff!important;}
.leave-step-progress span.is-done{background:#fff1f2!important;color:#be123c!important;}
.leave-step-block{background:#fff!important;border:1px solid #e8eaf0!important;border-radius:20px!important;padding:14px!important;}
.hourly-title small,.time-help{display:none!important;}
/* HR hub */
.hr-hub-summary{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:12px!important;}
.hub-summary-card,.hr-hub-card{border-radius:22px!important;background:#fff!important;border:1px solid #e8eaf0!important;box-shadow:0 10px 26px rgba(15,18,25,.04)!important;}
.hub-card-top span,.hub-card-footer em,.hub-progress{display:none!important;}
.hr-hub-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;}
.hr-hub-card{padding:18px!important;}
.hub-card-icon{background:#24262d!important;color:#fff!important;}
.hr-hub-guide{display:none!important;}
/* Mobile */
.bottom-nav{display:none;}
.mobile-overlay{display:none;}
@media(max-width:900px){
  .sidebar{transform:translateX(110%)!important;transition:.25s ease!important;width:84%!important;max-width:330px!important;z-index:20!important;}
  .sidebar.open{transform:translateX(0)!important;}
  body.menu-open .mobile-overlay{display:block;position:fixed;inset:0;background:rgba(17,19,24,.42);z-index:19;backdrop-filter:blur(2px);}
  .main{margin-right:0!important;width:100%!important;}
  .topbar{height:62px!important;margin:10px!important;border-radius:20px!important;}
  .menu-btn{display:inline-flex!important;align-items:center;justify-content:center;width:42px;height:42px;padding:0!important;}
  .topbar-tools a:not(.quick-primary){display:none!important;}
  .content{padding:12px 12px 86px!important;}
  .bottom-nav{position:fixed;right:10px;left:10px;bottom:10px;z-index:18;height:64px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:rgba(255,255,255,.92);border:1px solid rgba(231,232,236,.95);border-radius:22px;padding:7px;box-shadow:0 18px 46px rgba(15,18,25,.16);backdrop-filter:blur(18px);}
  .bottom-nav a{display:grid;place-items:center;color:#70747d;font-weight:900;font-size:11px;border-radius:16px;}
  .bottom-nav a span{font-size:18px;line-height:1;}
  .bottom-nav a b{font-size:10.5px;font-weight:900;}
  .bottom-nav a.active{background:#24262d;color:#fff;}
  .dashboard-hero,.hr-hub-hero{padding:20px!important;border-radius:24px!important;}
  .dashboard-hero h2,.hr-hub-hero h2{font-size:22px!important;}
  .dashboard-hero-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .panel{border-radius:22px!important;padding:15px!important;}
  .stats,.action-grid,.form-grid,.info-grid,.hr-hub-summary,.hr-hub-grid{grid-template-columns:1fr!important;}
  .table-wrap{border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;}
  table.mobile-card-table,table.report-table,table.hr-latest-table{min-width:0!important;background:transparent!important;}
  table.mobile-card-table thead,table.report-table thead,table.hr-latest-table thead{display:none!important;}
  table.mobile-card-table tr,table.report-table tr,table.hr-latest-table tr{display:block!important;background:#fff!important;border:1px solid #e8eaf0!important;border-radius:20px!important;padding:10px!important;margin-bottom:10px!important;box-shadow:0 8px 22px rgba(15,18,25,.045)!important;}
  table.mobile-card-table td,table.report-table td,table.hr-latest-table td{display:flex!important;justify-content:space-between!important;gap:12px!important;border:0!important;border-bottom:1px dashed #e8eaf0!important;padding:8px!important;text-align:left!important;}
  table.mobile-card-table td:last-child,table.report-table td:last-child,table.hr-latest-table td:last-child{border-bottom:0!important;}
  table.mobile-card-table td:before,table.report-table td:before,table.hr-latest-table td:before{content:attr(data-label);display:block!important;color:#80848d;font-size:11px;font-weight:900;text-align:right;}
}
@media(max-width:520px){
  body.hormozan-ui{font-size:12.5px!important;}
  .final-login{padding:18px!important;}
  .final-login-card{padding:24px!important;border-radius:26px!important;}
  .login-logo-wrap img{width:180px;}
  .dashboard-hero-metrics{grid-template-columns:1fr!important;}
}

/* HR Messaging Center */
.hr-msg-hero{position:relative;overflow:hidden;display:flex;align-items:stretch;justify-content:space-between;gap:18px;margin-bottom:18px;padding:24px;border-radius:30px;background:linear-gradient(135deg,#0f172a,#1d4ed8 54%,#06b6d4);color:#fff;box-shadow:0 24px 60px rgba(15,23,42,.18)}
.hr-msg-hero:before{content:"";position:absolute;inset:-40% auto auto -10%;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.18);filter:blur(2px)}
.hr-msg-hero>*{position:relative;z-index:1}.hr-msg-hero span{display:inline-flex;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.16);font-weight:800}.hr-msg-hero h2{font-size:25px;margin:12px 0 8px;font-weight:950}.hr-msg-hero p{margin:0;line-height:2;color:rgba(255,255,255,.86)}
.hr-msg-hero-actions{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.hr-msg-hero-actions a{display:inline-flex;align-items:center;justify-content:center;border-radius:16px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);color:#fff;padding:10px 14px;font-weight:900;backdrop-filter:blur(8px)}
.hr-msg-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.hr-msg-main,.hr-msg-side{min-width:0}.hr-msg-panel,.hr-msg-composer,.hr-msg-side .panel{border-radius:26px}.hr-msg-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin:4px 0 14px;border-radius:20px;background:linear-gradient(135deg,#f8fafc,#eef6ff);border:1px solid #e0ecff}.hr-msg-section-head b{font-size:15px;color:#0f172a}.hr-msg-section-head span{color:#64748b;line-height:1.8}.hr-msg-target-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}.hr-msg-target-card{position:relative;display:block;cursor:pointer;border:1px solid #e5e7eb;border-radius:22px;padding:14px;background:#fff;transition:.18s;min-height:104px}.hr-msg-target-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(15,23,42,.08);border-color:#bfdbfe}.hr-msg-target-card input{width:auto;margin:0 0 10px}.hr-msg-target-card strong{display:block;color:#111827;font-weight:950}.hr-msg-target-card small{display:block;margin-top:7px;line-height:1.7;color:#64748b}.hr-msg-target-card:has(input:checked){border-color:#2563eb;background:#eff6ff;box-shadow:0 12px 30px rgba(37,99,235,.12)}
.hr-msg-target-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.hr-msg-option-box{border:1px dashed #cbd5e1;border-radius:22px;padding:14px;background:#fbfdff}.hr-msg-check-scroll{max-height:190px;overflow:auto;display:grid;grid-template-columns:1fr;gap:8px;padding-left:4px}.hr-msg-check-scroll label{display:flex;align-items:center;gap:8px;margin:0;padding:8px 10px;border-radius:14px;background:#fff;border:1px solid #eef2f7}.hr-msg-check-scroll input{width:auto}.hr-msg-result-note{margin-top:12px;border-radius:16px;padding:10px 12px;background:#f0f9ff;color:#075985;font-weight:800}.hr-msg-people-pick{margin:14px 0;padding:14px;border-radius:22px;background:#fafafa;border:1px solid #e5e7eb}.hr-msg-person-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hr-msg-person-card{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:2px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;padding:12px;cursor:pointer}.hr-msg-person-card input{width:auto;grid-row:1/4}.hr-msg-person-card b{font-weight:950;color:#111827}.hr-msg-person-card span,.hr-msg-person-card small{color:#64748b}.hr-msg-person-card.no-bale{background:#fff7ed;border-color:#fed7aa}.hr-msg-message-grid{grid-template-columns:1fr 1fr 1fr}.hr-msg-save-template{align-self:end;border-radius:18px;background:#f8fafc;border:1px solid #e5e7eb;padding:12px}.hr-msg-save-template input{width:auto}.hr-msg-placeholders{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.hr-msg-placeholders button{min-height:0;padding:7px 10px;border-radius:999px;background:#f1f5f9;color:#0f172a;font-size:12px}.hr-msg-file-box{border-radius:22px;border:1px solid #dbeafe;background:#f8fbff;padding:14px}.hr-msg-file-box p{margin:8px 0 0;color:#64748b;line-height:1.9}.hr-msg-submit-row{display:flex;align-items:center;gap:14px;justify-content:space-between;margin-top:16px;padding:14px;border-radius:22px;background:#0f172a;color:#fff}.hr-msg-send-btn{min-width:170px;background:#22c55e!important}.hr-msg-submit-row span{color:rgba(255,255,255,.82);line-height:1.9}.hr-msg-token-list{display:flex;gap:7px;flex-wrap:wrap}.hr-msg-token-list code{direction:ltr;background:#f1f5f9;border:1px solid #e2e8f0;color:#0f172a;border-radius:999px;padding:6px 10px;font-size:12px}.hr-msg-template-save{display:grid;gap:8px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #e5e7eb}.hr-msg-template-list{display:grid;gap:10px}.hr-msg-template-item{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border:1px solid #e5e7eb;border-radius:18px;padding:10px;background:#fff}.hr-msg-template-item a{min-width:0}.hr-msg-template-item b{display:block;color:#0f172a}.hr-msg-template-item span{display:block;margin-top:4px;color:#64748b;line-height:1.7;font-size:12px}.hr-msg-history .clean-list a{border-radius:18px}.hr-msg-mini-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.hr-msg-last .table-wrap{margin-top:12px}
@media(max-width:1180px){.hr-msg-layout{grid-template-columns:1fr}.hr-msg-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hr-msg-history{grid-column:1/-1}.hr-msg-target-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.hr-msg-hero{display:block;padding:20px;border-radius:24px}.hr-msg-hero-actions{margin-top:15px}.hr-msg-target-grid,.hr-msg-target-options,.hr-msg-person-grid,.hr-msg-message-grid,.hr-msg-side{grid-template-columns:1fr}.hr-msg-submit-row{display:block}.hr-msg-send-btn{width:100%;margin-bottom:10px}.hr-msg-mini-stats{grid-template-columns:1fr 1fr}.hr-msg-section-head{display:block}.hr-msg-target-card{min-height:0}}

/* HR Messaging Center - Professional polish */
.hr-msg-hero-pro{
  min-height:150px!important;
  padding:28px 30px!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 12% 20%, rgba(59,130,246,.28), transparent 28%),
    linear-gradient(135deg,#111827 0%,#1f2937 52%,#334155 100%)!important;
  box-shadow:0 22px 55px rgba(15,23,42,.16)!important;
  border:1px solid rgba(255,255,255,.12)!important;
}
.hr-msg-hero-pro:before{display:none!important;}
.hr-msg-hero-copy{max-width:720px;}
.hr-msg-eyebrow,
.hr-msg-hero-pro span.hr-msg-eyebrow{
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  color:rgba(255,255,255,.88)!important;
  letter-spacing:0!important;
}
.hr-msg-hero-pro h2{font-size:27px!important;letter-spacing:-.4px!important;}
.hr-msg-hero-pro p{max-width:680px!important;font-size:13.5px!important;line-height:2!important;color:rgba(255,255,255,.76)!important;}
.hr-msg-hero-actions{align-self:flex-end!important;}
.hr-msg-hero-actions a{
  min-width:128px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.hr-msg-hero-actions a:hover{background:rgba(255,255,255,.18)!important;transform:translateY(-1px);}
.hr-msg-metric-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:-10px 0 18px;
}
.hr-msg-metric-strip>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:72px;
  padding:14px 16px;
  border-radius:22px;
  background:rgba(255,255,255,.92);
  border:1px solid #e7eaf0;
  box-shadow:0 14px 34px rgba(15,23,42,.055);
}
.hr-msg-metric-strip b{font-size:22px;font-weight:950;color:#111827;}
.hr-msg-metric-strip span{font-weight:850;color:#6b7280;font-size:12.5px;}
.hr-msg-layout{grid-template-columns:minmax(0,1fr) 335px!important;gap:16px!important;}
.hr-msg-step-card,
.hr-msg-side .panel,
.hr-msg-last{
  border:1px solid #e8eaf0!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 14px 36px rgba(15,23,42,.05)!important;
}
.hr-msg-search-panel{padding:16px 18px!important;}
.hr-msg-search-form{grid-template-columns:minmax(0,1fr) 112px!important;gap:12px!important;align-items:end!important;}
.hr-msg-search-form input{min-height:44px!important;background:#f8fafc!important;}
.hr-msg-search-form button{height:44px!important;border-radius:14px!important;}
.hr-msg-result-note{background:#f8fafc!important;color:#374151!important;border:1px solid #e8eaf0!important;}
.hr-msg-composer{padding:20px!important;}
.hr-msg-section-head{
  padding:0 0 14px!important;
  margin:4px 0 16px!important;
  border-radius:0!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid #eef1f5!important;
}
.hr-msg-section-head>div{display:flex;align-items:center;gap:10px;}
.hr-msg-section-head em{
  font-style:normal;
  padding:5px 10px;
  border-radius:999px;
  background:#f3f4f6;
  color:#4b5563;
  font-size:11.5px;
  font-weight:950;
  white-space:nowrap;
}
.hr-msg-section-head b{font-size:16px!important;font-weight:950!important;color:#111827!important;}
.hr-msg-section-head span{font-size:12.5px!important;color:#717987!important;}
.hr-msg-target-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important;margin-bottom:12px!important;}
.hr-msg-target-card{
  display:grid!important;
  grid-template-columns:auto 1fr!important;
  grid-template-areas:"icon title" "radio text";
  gap:6px 8px!important;
  min-height:88px!important;
  padding:13px!important;
  border-radius:18px!important;
  border:1px solid #e5e7eb!important;
  background:#fff!important;
  box-shadow:none!important;
}
.hr-msg-target-card i{
  grid-area:icon;
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:11px;
  background:#f3f4f6;
  color:#111827;
  font-style:normal;
  font-weight:950;
}
.hr-msg-target-card input{grid-area:radio;margin:2px 0 0!important;accent-color:#111827;}
.hr-msg-target-card strong{grid-area:title;font-size:13px!important;align-self:center;}
.hr-msg-target-card small{grid-area:text;margin:0!important;font-size:11.5px!important;line-height:1.6!important;}
.hr-msg-target-card:hover{transform:none!important;border-color:#cbd5e1!important;background:#fafafa!important;}
.hr-msg-target-card.is-selected,
.hr-msg-target-card:has(input:checked){
  border-color:#111827!important;
  background:#f9fafb!important;
  box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
}
.hr-msg-target-card.is-selected i,
.hr-msg-target-card:has(input:checked) i{background:#111827;color:#fff;}
.hr-msg-target-options{display:block!important;margin:6px 0 16px!important;}
.hr-msg-option-box[data-target-option]{display:none!important;}
.hr-msg-option-box[data-target-option].is-visible{
  display:block!important;
  border:1px solid #e8eaf0!important;
  border-radius:18px!important;
  padding:14px!important;
  background:#fbfcfd!important;
  animation:hrMsgFade .16s ease-out;
}
@keyframes hrMsgFade{from{opacity:.25;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.hr-msg-check-scroll{max-height:172px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
.hr-msg-check-scroll label{border-radius:13px!important;border-color:#edf0f4!important;background:#fff!important;font-size:12.5px!important;}
.hr-msg-check-scroll label:hover{border-color:#cbd5e1!important;background:#f9fafb!important;}
.hr-msg-people-pick{border-radius:20px!important;background:#f9fafb!important;border:1px solid #e8eaf0!important;padding:14px!important;}
.hr-msg-person-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.hr-msg-person-card{border-radius:16px!important;border-color:#e8eaf0!important;transition:.16s ease;background:#fff!important;}
.hr-msg-person-card:hover{border-color:#cbd5e1!important;box-shadow:0 10px 24px rgba(15,23,42,.05)!important;}
.hr-msg-person-card input{accent-color:#111827;}
.hr-msg-person-card.no-bale{background:#fffaf5!important;border-color:#fed7aa!important;}
.hr-msg-message-grid{grid-template-columns:1fr 1fr 180px!important;gap:14px!important;}
.hr-msg-message-grid textarea#messageText{
  min-height:210px!important;
  border-radius:18px!important;
  background:#fbfdff!important;
  border-color:#dfe6ef!important;
  line-height:2!important;
}
.hr-msg-message-grid textarea#messageText:focus{background:#fff!important;border-color:#94a3b8!important;box-shadow:0 0 0 4px rgba(148,163,184,.14)!important;}
.hr-msg-save-template{border-radius:18px!important;background:#fafafa!important;border:1px solid #e8eaf0!important;min-height:44px!important;display:flex!important;align-items:center!important;}
.hr-msg-placeholders{padding-top:2px!important;}
.hr-msg-placeholders button{
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  color:#374151!important;
  border-radius:12px!important;
  font-size:12px!important;
}
.hr-msg-placeholders button:hover{background:#111827!important;color:#fff!important;border-color:#111827!important;}
.hr-msg-char-count{margin-top:8px;text-align:left;color:#94a3b8;font-size:11.5px;font-weight:800;}
.hr-msg-file-box{border-radius:18px!important;border:1px solid #e1e7ef!important;background:#f8fafc!important;padding:14px!important;}
.hr-msg-file-box input[type=file]{background:#fff!important;border-style:dashed!important;border-radius:14px!important;}
.hr-msg-file-box p{font-size:12px!important;color:#707987!important;}
.hr-msg-submit-row{
  margin-top:18px!important;
  padding:16px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#111827,#1f2937)!important;
  box-shadow:0 16px 34px rgba(17,24,39,.14)!important;
}
.hr-msg-submit-row>div{display:grid;gap:3px;}
.hr-msg-submit-row b{color:#fff;font-size:14px;font-weight:950;}
.hr-msg-submit-row span{display:block!important;font-size:12.5px!important;color:rgba(255,255,255,.72)!important;}
.hr-msg-send-btn{
  min-width:156px!important;
  height:46px!important;
  border-radius:15px!important;
  background:#fff!important;
  color:#111827!important;
  box-shadow:none!important;
}
.hr-msg-send-btn:hover{transform:translateY(-1px);}
.hr-msg-side{position:sticky;top:84px;}
.hr-msg-side .panel{padding:16px!important;margin-bottom:14px!important;}
.hr-msg-side h2{font-size:15px!important;margin-bottom:8px!important;color:#111827!important;}
.hr-msg-help p{font-size:12.5px!important;color:#717987!important;line-height:1.8!important;}
.hr-msg-token-list code{
  direction:ltr;
  border-radius:11px!important;
  background:#f8fafc!important;
  border:1px solid #e8eaf0!important;
  color:#475569!important;
}
.hr-msg-template-save{gap:7px!important;}
.hr-msg-template-save input,
.hr-msg-template-save textarea{background:#fbfdff!important;border-radius:14px!important;}
.hr-msg-template-item{border-radius:16px!important;background:#fbfdff!important;border-color:#e8eaf0!important;}
.hr-msg-template-item:hover{background:#fff!important;border-color:#cbd5e1!important;}
.hr-msg-template-item span{font-size:11.5px!important;color:#7b8492!important;}
.hr-msg-history .clean-list a{border-radius:16px!important;border:1px solid #e8eaf0!important;background:#fbfdff!important;}
.hr-msg-history .clean-list a:hover{background:#fff!important;border-color:#cbd5e1!important;}
.hr-msg-mini-stats{gap:10px!important;}
.hr-msg-last{padding:18px!important;}
@media(max-width:1260px){
  .hr-msg-target-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .hr-msg-message-grid{grid-template-columns:1fr 1fr!important;}
  .hr-msg-save-template{grid-column:1/-1!important;}
}
@media(max-width:1180px){
  .hr-msg-layout{grid-template-columns:1fr!important;}
  .hr-msg-side{position:static;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
  .hr-msg-side .panel{margin-bottom:0!important;}
  .hr-msg-history{grid-column:1/-1!important;}
}
@media(max-width:760px){
  .hr-msg-hero-pro{padding:20px!important;min-height:0!important;}
  .hr-msg-hero-pro h2{font-size:21px!important;}
  .hr-msg-metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-top:0!important;}
  .hr-msg-metric-strip>div{min-height:64px!important;padding:12px!important;display:grid!important;gap:4px!important;}
  .hr-msg-target-grid,.hr-msg-message-grid,.hr-msg-side,.hr-msg-search-form{grid-template-columns:1fr!important;}
  .hr-msg-check-scroll{grid-template-columns:1fr!important;}
  .hr-msg-section-head{display:block!important;}
  .hr-msg-section-head span{display:block;margin-top:8px;}
  .hr-msg-submit-row{display:grid!important;gap:12px!important;}
  .hr-msg-send-btn{width:100%!important;}
}

/* Secure login and queue UI polish */
.final-login-pro{
  background:
    radial-gradient(circle at 18% 8%,rgba(215,25,32,.14),transparent 25%),
    radial-gradient(circle at 82% 14%,rgba(17,24,39,.10),transparent 26%),
    linear-gradient(135deg,#f9fafb,#eef2f7)!important;
}
.final-login-card-pro{
  width:min(430px,100%)!important;
  padding:28px!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(229,231,235,.9)!important;
  box-shadow:0 26px 70px rgba(17,24,39,.14)!important;
}
.login-logo-pro{margin-bottom:20px!important;}
.login-logo-pro img{width:185px!important;margin-bottom:12px!important;}
.login-logo-pro span{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;background:#f3f4f6;color:#4b5563;font-size:12px;font-weight:900;margin-bottom:10px;}
.login-logo-pro h1{font-size:23px!important;color:#111827!important;}
.login-logo-pro p{margin:9px 0 0;color:#6b7280;line-height:1.9;font-size:13px;}
.login-form-pro{display:grid!important;gap:10px!important;}
.login-form-pro label{font-weight:900;color:#374151;font-size:13px;}
.login-form-pro input{height:48px!important;border-radius:16px!important;background:#f9fafb!important;font-size:14px!important;}
.login-form-pro input:focus{background:#fff!important;}
.login-form-pro button{height:48px!important;border-radius:16px!important;font-size:15px!important;font-weight:950!important;background:linear-gradient(135deg,#111827,#374151)!important;}
.login-first-help{margin-top:3px;padding:11px 12px;border-radius:16px;background:#f8fafc;border:1px dashed #d1d5db;color:#6b7280;line-height:1.9;font-size:12.5px;font-weight:700;}
.set-password-card .login-logo-pro span{background:#eff6ff;color:#1d4ed8;}
.hr-msg-queue-progress{margin:12px 0 14px;padding:14px 16px;border-radius:20px;background:#f8fafc;border:1px solid #e5e7eb;display:grid;gap:10px;}
.hr-msg-queue-progress>div{display:flex;justify-content:space-between;gap:12px;align-items:center;}
.hr-msg-queue-progress b{font-weight:950;color:#111827;}
.hr-msg-queue-progress span{color:#4b5563;font-weight:900;}
.hr-msg-queue-progress>i{display:block;height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden;}
.hr-msg-queue-progress>i>em{display:block;height:100%;background:linear-gradient(90deg,#22c55e,#2563eb);border-radius:999px;transition:width .35s ease;}
.hr-msg-queue-note{margin:12px 0;padding:12px 14px;border-radius:18px;background:#f0f9ff;border:1px solid #bae6fd;color:#075985;line-height:1.9;font-weight:800;}
.hr-msg-queue-note code{direction:ltr;display:inline-block;background:rgba(255,255,255,.65);padding:2px 7px;border-radius:999px;color:#0f172a;}
@media(max-width:760px){.final-login-card-pro{padding:22px!important;border-radius:24px!important}.login-logo-pro img{width:160px!important}.hr-msg-queue-progress>div{display:block}.hr-msg-queue-progress span{display:block;margin-top:5px}}

/* Profile/mobile refinement - requested fields only */
.profile-clean-hero{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  padding:18px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f7f8fb 100%)!important;
}
.profile-avatar-big{
  width:58px!important;
  height:58px!important;
  border-radius:22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#24262d!important;
  color:#fff!important;
  font-weight:950!important;
  font-size:22px!important;
  flex:0 0 auto!important;
}
.profile-hero-text{flex:1 1 auto!important;min-width:0!important;}
.profile-hero-text h2{font-size:22px!important;margin:0 0 5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.profile-hero-text p{margin:0!important;color:#777b84!important;line-height:1.8!important;}
.profile-back-link{flex:0 0 auto!important;}
.profile-clean-section h2,.profile-quick-card h2{
  margin-bottom:12px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.profile-clean-section h2:before,.profile-quick-card h2:before{
  content:"";
  width:9px;
  height:9px;
  border-radius:999px;
  background:#24262d;
  display:inline-block;
}
.profile-info-grid{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
}
.profile-info-grid div{
  min-height:72px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  background:#fbfbfc!important;
}
.profile-info-grid span{font-weight:900!important;color:#7a7e87!important;}
.profile-info-grid strong{line-height:1.8!important;word-break:break-word!important;}
.profile-quick-grid div{background:#f7f8fb!important;}
.profile-note{margin-bottom:0!important;}
.personnel-edit-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
}
.personnel-edit-head h2{margin-bottom:6px!important;}
.personnel-edit-head p{margin:0!important;color:#777b84!important;line-height:1.9!important;}
.personnel-edit-actions{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important;}
.personnel-edit-section h2{margin-bottom:12px!important;}
.personnel-edit-form{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;}
.personnel-edit-form .field-wide{grid-column:span 2!important;}
.personnel-edit-form label{display:flex!important;justify-content:space-between!important;gap:8px!important;align-items:center!important;}
.personnel-edit-form label small{direction:ltr!important;background:#f3f4f6!important;color:#9ca3af!important;border-radius:999px!important;padding:2px 7px!important;}
.personnel-edit-savebar{display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-start!important;}
@media(max-width:900px){
  .content{padding-bottom:76px!important;}
  .bottom-nav.compact-bottom-nav{
    right:14px!important;
    left:14px!important;
    bottom:9px!important;
    height:56px!important;
    grid-template-columns:repeat(4,1fr)!important;
    gap:5px!important;
    border-radius:18px!important;
    padding:6px!important;
  }
  .bottom-nav.compact-bottom-nav a{border-radius:13px!important;font-size:10px!important;min-height:44px!important;}
  .bottom-nav.compact-bottom-nav a span{font-size:15px!important;line-height:1!important;}
  .bottom-nav.compact-bottom-nav a b{font-size:9.5px!important;line-height:1.2!important;}
  .profile-clean-hero{padding:14px!important;border-radius:22px!important;gap:10px!important;}
  .profile-avatar-big{width:46px!important;height:46px!important;border-radius:17px!important;font-size:18px!important;}
  .profile-hero-text h2{font-size:17px!important;}
  .profile-hero-text p{font-size:11.5px!important;}
  .profile-back-link{display:none!important;}
  .profile-info-grid{gap:8px!important;}
  .profile-info-grid div{min-height:58px!important;padding:10px 11px!important;border-radius:15px!important;}
  .profile-info-grid span{font-size:11px!important;margin-bottom:2px!important;}
  .profile-info-grid strong{font-size:13px!important;line-height:1.55!important;}
  .profile-clean-section h2,.profile-quick-card h2{font-size:13px!important;margin-bottom:9px!important;}
  .personnel-edit-head{display:block!important;}
  .personnel-edit-head p{font-size:12px!important;}
  .personnel-edit-actions{margin-top:10px!important;}
  .personnel-edit-form{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;}
  .personnel-edit-form .field-wide{grid-column:auto!important;}
  .personnel-edit-form > div{margin-bottom:0!important;}
  .personnel-edit-savebar{position:sticky!important;bottom:74px!important;z-index:5!important;justify-content:space-between!important;}
}

/* Bottom navigation profile icon color fix */
.bottom-profile-ico{
  position:relative;
  width:17px;
  height:17px;
  display:inline-block;
  color:currentColor;
}
.bottom-profile-ico:before{
  content:"";
  position:absolute;
  top:1px;
  left:50%;
  width:7px;
  height:7px;
  transform:translateX(-50%);
  border-radius:999px;
  background:currentColor;
}
.bottom-profile-ico:after{
  content:"";
  position:absolute;
  right:2px;
  left:2px;
  bottom:1px;
  height:8px;
  border-radius:999px 999px 6px 6px;
  background:currentColor;
}
@media(max-width:900px){
  .bottom-nav.compact-bottom-nav a{color:#111827!important;}
  .bottom-nav.compact-bottom-nav a.active{color:#fff!important;}
}

/* HR Dashboard Pro */
.page-dashboard .hrdash-hero-pro{margin-bottom:18px;position:relative;overflow:hidden}
.page-dashboard .hrdash-hero-pro:before{content:"";position:absolute;inset:auto -120px -170px auto;width:360px;height:360px;border-radius:999px;background:rgba(255,255,255,.12);filter:blur(1px)}
.page-dashboard .hrdash-hero-actions{align-self:stretch}
.page-dashboard .hrdash-pro{display:grid;gap:16px}
.page-dashboard .hrdash-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.page-dashboard .hrdash-kpi{background:#fff;border:1px solid rgba(226,232,240,.96);border-radius:24px;padding:16px;box-shadow:0 12px 32px rgba(15,23,42,.045);display:flex;gap:12px;align-items:flex-start;position:relative;overflow:hidden;min-height:112px}
.page-dashboard .hrdash-kpi:after{content:"";position:absolute;left:-30px;bottom:-34px;width:96px;height:96px;border-radius:50%;background:#f8fafc}
.page-dashboard .hrdash-kpi i{width:42px;height:42px;border-radius:16px;background:#eff6ff;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:20px;font-weight:950;position:relative;z-index:1;flex:0 0 auto}
.page-dashboard .hrdash-kpi span{display:block;color:#64748b;font-size:12px;font-weight:900}
.page-dashboard .hrdash-kpi strong{display:block;font-size:24px;font-weight:950;color:#0f172a;margin:8px 0 3px;letter-spacing:-.5px}
.page-dashboard .hrdash-kpi em{display:block;font-style:normal;color:#94a3b8;font-size:11.5px;line-height:1.8}
.page-dashboard .hrdash-kpi.green i{background:#ecfdf5;color:#047857}.page-dashboard .hrdash-kpi.orange i{background:#fff7ed;color:#c2410c}.page-dashboard .hrdash-kpi.red i{background:#fef2f2;color:#b91c1c}.page-dashboard .hrdash-kpi.violet i{background:#f5f3ff;color:#6d28d9}.page-dashboard .hrdash-kpi.blue i{background:#eff6ff;color:#1d4ed8}
.page-dashboard .hrdash-main-grid{display:grid;grid-template-columns:1.45fr .9fr;gap:16px;align-items:stretch}
.page-dashboard .hrdash-overview-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:16px}
.page-dashboard .hrdash-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.page-dashboard .hrdash-panel{background:rgba(255,255,255,.94);border:1px solid rgba(226,232,240,.95);border-radius:28px;padding:18px;box-shadow:0 14px 34px rgba(15,23,42,.05);min-width:0}
.page-dashboard .hrdash-priority-panel{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.page-dashboard .hrdash-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.page-dashboard .hrdash-title-row h2{font-size:16px!important;font-weight:950!important;color:#111827!important;margin:0 0 5px!important}
.page-dashboard .hrdash-title-row p{margin:0;color:#64748b;font-size:12px;line-height:1.8}
.page-dashboard .hrdash-title-row>a{background:#f8fafc;border:1px solid #e2e8f0;color:#334155;border-radius:14px;padding:7px 11px;font-size:12px;font-weight:900;white-space:nowrap}
.page-dashboard .hrdash-title-row>a:hover{background:#0f172a;color:#fff;border-color:#0f172a}
.page-dashboard .hrdash-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.page-dashboard .hrdash-work-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:86px;box-shadow:0 8px 24px rgba(15,23,42,.035);position:relative;overflow:hidden}
.page-dashboard .hrdash-work-card:before{content:"";position:absolute;right:0;top:0;bottom:0;width:5px;background:#94a3b8}
.page-dashboard .hrdash-work-card b{display:block;color:#111827;font-size:13px;font-weight:950;margin-bottom:5px}.page-dashboard .hrdash-work-card span{display:block;color:#64748b;font-size:11.5px;line-height:1.7}.page-dashboard .hrdash-work-card strong{min-width:42px;height:42px;border-radius:16px;background:#f8fafc;color:#0f172a;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:950}
.page-dashboard .hrdash-work-card:hover{transform:translateY(-2px);border-color:#cbd5e1;box-shadow:0 16px 34px rgba(15,23,42,.08)}
.page-dashboard .hrdash-work-card.warn:before{background:#f59e0b}.page-dashboard .hrdash-work-card.danger:before{background:#dc2626}.page-dashboard .hrdash-work-card.blue:before{background:#2563eb}.page-dashboard .hrdash-work-card.violet:before{background:#7c3aed}
.page-dashboard .hrdash-health-item{border:1px solid #e5e7eb;background:#fff;border-radius:22px;padding:14px;margin-bottom:10px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.page-dashboard .hrdash-health-item b{display:block;color:#111827;font-weight:950;margin-bottom:5px}.page-dashboard .hrdash-health-item span{display:block;color:#64748b;font-size:12px;line-height:1.8}.page-dashboard .hrdash-health-item strong{font-size:18px;color:#0f172a}.page-dashboard .hrdash-health-item i{grid-column:1/-1;height:8px;border-radius:999px;background:#f1f5f9;overflow:hidden}.page-dashboard .hrdash-health-item i em{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#16a34a,#22c55e)}
.page-dashboard .hrdash-mini-pills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.page-dashboard .hrdash-mini-pills a{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:10px;text-align:center}.page-dashboard .hrdash-mini-pills b{display:block;color:#0f172a;font-size:17px;font-weight:950}.page-dashboard .hrdash-mini-pills span{display:block;color:#64748b;font-size:11px;margin-top:3px;font-weight:800}
.page-dashboard .hrdash-action-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.page-dashboard .hrdash-action-block{background:#fff;border:1px solid rgba(226,232,240,.96);border-radius:28px;padding:16px;box-shadow:0 12px 32px rgba(15,23,42,.045)}.page-dashboard .hrdash-action-block h3{margin:0 0 12px;color:#111827;font-size:14px;font-weight:950}.page-dashboard .hrdash-action-block a{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;padding:10px;border-radius:17px;border:1px solid transparent}.page-dashboard .hrdash-action-block a:hover{background:#f8fafc;border-color:#e2e8f0}.page-dashboard .hrdash-action-block i{width:32px;height:32px;border-radius:13px;background:#f1f5f9;color:#0f172a;font-style:normal;display:flex;align-items:center;justify-content:center;font-weight:950}.page-dashboard .hrdash-action-block b{display:block;color:#111827;font-size:12.5px;font-weight:950}.page-dashboard .hrdash-action-block span{display:block;color:#64748b;font-size:11.5px;line-height:1.7;margin-top:2px}
.page-dashboard .hrdash-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.page-dashboard .hrdash-status-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:22px;padding:14px}.page-dashboard .hrdash-status-grid span{display:block;color:#64748b;font-size:12px;font-weight:900}.page-dashboard .hrdash-status-grid strong{display:block;color:#0f172a;font-size:24px;font-weight:950;margin-top:7px}
.page-dashboard .hrdash-unit-list{display:grid;gap:10px}.page-dashboard .hrdash-unit-row{display:grid;grid-template-columns:220px 1fr;gap:12px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:11px}.page-dashboard .hrdash-unit-row b{display:block;color:#111827;font-weight:950;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-dashboard .hrdash-unit-row span{display:block;color:#64748b;font-size:11.5px;margin-top:4px}.page-dashboard .hrdash-unit-row i{height:10px;background:#f1f5f9;border-radius:999px;overflow:hidden}.page-dashboard .hrdash-unit-row i em{display:block;height:100%;background:linear-gradient(90deg,#d71920,#f97316);border-radius:999px}
.page-dashboard .hrdash-list{display:grid;gap:9px}.page-dashboard .hrdash-list a{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border:1px solid #e5e7eb;background:#fff;border-radius:20px;padding:12px;min-width:0}.page-dashboard .hrdash-list a:hover{background:#f8fafc;border-color:#cbd5e1}.page-dashboard .hrdash-list b{display:block;color:#111827;font-size:12.5px;font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-dashboard .hrdash-list span{display:block;color:#64748b;font-size:11.5px;margin-top:4px}.page-dashboard .hrdash-list em{grid-column:1/-1;color:#94a3b8;font-size:11px;font-style:normal}.page-dashboard .hrdash-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;white-space:nowrap;background:#f1f5f9;color:#475569}.page-dashboard .hrdash-badge.success{background:#ecfdf5;color:#047857}.page-dashboard .hrdash-badge.warn{background:#fffbeb;color:#b45309}.page-dashboard .hrdash-badge.danger{background:#fef2f2;color:#b91c1c}
.page-dashboard .empty-state{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:18px;padding:14px;color:#64748b;text-align:center;line-height:1.9}
@media(max-width:1180px){.page-dashboard .hrdash-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.page-dashboard .hrdash-main-grid,.page-dashboard .hrdash-overview-grid{grid-template-columns:1fr}.page-dashboard .hrdash-action-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.page-dashboard .hrdash-latest-grid{grid-template-columns:1fr}}
@media(max-width:760px){.page-dashboard .hrdash-hero-pro{padding:20px!important;margin-bottom:14px}.page-dashboard .hrdash-kpis,.page-dashboard .hrdash-action-groups,.page-dashboard .hrdash-work-grid,.page-dashboard .hrdash-status-grid{grid-template-columns:1fr}.page-dashboard .hrdash-kpi{min-height:0;border-radius:22px}.page-dashboard .hrdash-panel,.page-dashboard .hrdash-action-block{border-radius:24px;padding:14px}.page-dashboard .hrdash-title-row{display:block}.page-dashboard .hrdash-title-row>a{display:inline-flex;margin-top:10px}.page-dashboard .hrdash-mini-pills{grid-template-columns:1fr 1fr 1fr}.page-dashboard .hrdash-unit-row{grid-template-columns:1fr;gap:8px}.page-dashboard .hrdash-list a{grid-template-columns:1fr}.page-dashboard .hrdash-badge{justify-self:flex-start}.page-dashboard .hrdash-work-card{min-height:76px}.page-dashboard .hrdash-action-block a{padding:9px}}
@media(max-width:420px){.page-dashboard .hrdash-mini-pills{grid-template-columns:1fr}.page-dashboard .hrdash-kpi strong{font-size:21px}.page-dashboard .hrdash-work-card strong{width:38px;height:38px;font-size:16px}}

/* Public 24/7 security code check page */
body.is-guest .main{margin-right:0!important;}
body.page-security_online{background:linear-gradient(135deg,#f8fafc 0%,#eef2ff 52%,#f8fafc 100%);}
body.page-security_online .content{max-width:980px!important;width:100%;padding:24px!important;}
.security-public-page{min-height:calc(100vh - 48px);display:grid;align-content:center;gap:16px;}
.security-kiosk-hero{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.82);border:1px solid rgba(226,232,240,.9);border-radius:28px;padding:16px 18px;box-shadow:0 20px 50px rgba(15,23,42,.08);backdrop-filter:blur(14px);}
.security-kiosk-logo{width:58px;height:58px;border-radius:20px;background:#fff;border:1px solid #e5e7eb;display:grid;place-items:center;box-shadow:0 10px 24px rgba(15,23,42,.06);flex:0 0 auto;}
.security-kiosk-logo img{max-width:42px;max-height:42px;display:block;}
.security-kiosk-hero h1{margin:0;font-size:24px;font-weight:950;color:#111827;}
.security-kiosk-hero p{margin:2px 0 0;color:#64748b;font-weight:700;}
.security-live-badge{margin-right:auto;display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#ecfdf5;color:#047857;border:1px solid #bbf7d0;padding:7px 12px;font-weight:950;white-space:nowrap;}
.security-live-badge:before{content:"";width:8px;height:8px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12);}
.security-kiosk-card{border-radius:28px!important;padding:20px!important;box-shadow:0 24px 60px rgba(15,23,42,.10)!important;}
.security-kiosk-card h2{font-size:17px!important;margin-bottom:12px!important;}
.security-kiosk-form{display:grid!important;grid-template-columns:1fr 150px;gap:12px!important;}
.security-kiosk-form input{height:62px!important;border-radius:20px!important;font-size:30px!important;font-weight:950!important;letter-spacing:12px!important;background:#f8fafc!important;border-color:#dbe3ee!important;}
.security-kiosk-form button{height:62px!important;border-radius:20px!important;font-size:15px!important;}
.security-kiosk-hint{margin:12px 0 0;color:#64748b;font-size:12px;line-height:2;}
.security-kiosk-result{border-radius:28px!important;padding:18px!important;box-shadow:0 20px 50px rgba(15,23,42,.08)!important;}
.security-kiosk-result h2{font-size:20px!important;margin-bottom:14px!important;}
.security-kiosk-result.valid h2{color:#047857!important;}
.security-kiosk-result.invalid h2{color:#b91c1c!important;}
.security-check-panel h2{font-size:17px!important;}
@media(max-width:700px){
  body.page-security_online .content{padding:12px!important;}
  .security-public-page{align-content:start;min-height:auto;padding-top:10px;}
  .security-kiosk-hero{align-items:flex-start;border-radius:22px;padding:13px;}
  .security-kiosk-logo{width:46px;height:46px;border-radius:16px;}
  .security-kiosk-logo img{max-width:34px;max-height:34px;}
  .security-kiosk-hero h1{font-size:18px;}
  .security-kiosk-hero p{font-size:11.5px;line-height:1.8;}
  .security-live-badge{display:none;}
  .security-kiosk-card{border-radius:22px!important;padding:14px!important;}
  .security-kiosk-form{grid-template-columns:1fr!important;}
  .security-kiosk-form input{height:56px!important;font-size:25px!important;letter-spacing:9px!important;}
  .security-kiosk-form button{height:52px!important;}
}


/* HR operations module */
.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.single-col{grid-template-columns:1fr}.shift-inline-form{gap:6px;flex-wrap:wrap}.shift-inline-form select{min-width:130px}.shift-inline-form input{min-width:160px}.hero-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#fff,#f8fafc)}.status-pill.ok{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}@media(max-width:900px){.settings-grid{grid-template-columns:1fr}.hero-panel{display:block}.shift-inline-form{display:grid;grid-template-columns:1fr}.shift-inline-form select,.shift-inline-form input,.shift-inline-form button{width:100%}}


.site-footer{
    margin: 18px auto 88px;
    padding: 12px 18px;
    text-align: center;
    color: rgba(15, 23, 42, .62);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2px;
}
@media (min-width: 769px){
    .site-footer{margin-bottom:24px;}
}

/* Professional unit / shift approval architecture */
.shift-hero,.shift-hero-panel,.structure-audit-hero{position:relative;overflow:hidden;border:1px solid #e2e8f0!important;background:linear-gradient(135deg,#ffffff 0%,#f8fafc 56%,#eef2ff 100%)!important}
.shift-hero:after,.shift-hero-panel:after,.structure-audit-hero:after{content:"";position:absolute;left:-70px;bottom:-90px;width:220px;height:220px;border-radius:50%;background:rgba(99,102,241,.08);pointer-events:none}
.shift-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.shift-current-leader{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border:1px solid #c7d2fe;border-radius:22px;background:linear-gradient(135deg,#eef2ff,#fff)}
.shift-current-leader span,.shift-current-leader small{display:block;color:#64748b;font-size:12px;line-height:1.8}.shift-current-leader strong{display:block;color:#312e81;font-size:18px;font-weight:950;margin:4px 0}
.workflow-route{display:grid;gap:10px}.workflow-route>div{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:13px 15px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.workflow-route span{min-width:110px;color:#475569;font-size:12px;font-weight:950}.workflow-route strong{display:inline-flex;align-items:center;min-height:34px;padding:7px 12px;border-radius:12px;background:#fff;border:1px solid #dbe3ee;color:#0f172a;font-size:12px;font-weight:950}.workflow-route i{font-style:normal;color:#7c3aed;font-weight:950}.workflow-route-large>div{padding:16px}
.shift-responsibility-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.shift-responsibility-list>div{padding:14px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.shift-responsibility-list strong,.shift-responsibility-list span{display:block}.shift-responsibility-list strong{color:#0f172a;font-weight:950}.shift-responsibility-list span{color:#64748b;font-size:12px;margin-top:5px}
.shift-leader-command-panel{border-color:#ddd6fe!important;background:linear-gradient(180deg,#fff,#faf5ff)!important}.shift-leader-command-panel .action-card{background:#fff}
.field-warning{display:block;color:#b91c1c;font-weight:900;margin-top:5px}.shift-personnel-table .status-pill.danger{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.shift-personnel-table .status-pill.warn{background:#fffbeb;color:#b45309;border:1px solid #fde68a}
.organization-command-hero{display:flex;align-items:center;justify-content:space-between;gap:18px}.org-status-extended{grid-template-columns:repeat(5,minmax(0,1fr))!important}.organization-flow-grid .org-card.featured{border-color:#c4b5fd;background:linear-gradient(145deg,#faf5ff,#fff);box-shadow:0 16px 38px rgba(124,58,237,.10)}.organization-flow-grid .org-card.featured b{background:#7c3aed;color:#fff}.workflow-explainer-panel{border-color:#e0e7ff!important;background:linear-gradient(180deg,#fff,#f8faff)!important}
.structure-audit-table .badge{margin:2px}.audit-next-actions{background:linear-gradient(135deg,#fff,#f8fafc)!important}
@media(max-width:1180px){.shift-stats,.org-status-extended{grid-template-columns:repeat(3,minmax(0,1fr))!important}.shift-responsibility-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.shift-current-leader,.organization-command-hero{display:block}.shift-current-leader form{margin-top:12px}.shift-stats,.org-status-extended,.shift-responsibility-list{grid-template-columns:1fr!important}.workflow-route>div{align-items:stretch}.workflow-route span{width:100%;min-width:0}.workflow-route strong{flex:1 1 auto}.organization-command-hero>.badge{margin-top:12px}}
