/* ===========================================================
   人事管理系统 · 浅色主题
   原生 CSS，无构建步骤；依赖 Bootstrap 5 提供基础栅格与表单样式
   =========================================================== */

:root {
  --hr-bg: #f3f6fa;
  --hr-surface: #ffffff;
  --hr-surface-soft: #f8fafc;
  --hr-border: #e6eaf0;
  --hr-text: #1f2937;
  --hr-muted: #6b7280;
  --hr-primary: #2f6feb;
  --hr-primary-dark: #2459c4;
  --hr-primary-soft: #eaf1ff;
  --hr-success: #16855b;
  --hr-success-soft: #e6f6ee;
  --hr-warning: #b7791f;
  --hr-warning-soft: #fdf3df;
  --hr-danger: #c0392b;
  --hr-danger-soft: #fdecea;
  --hr-info-soft: #e8f4fd;
  --hr-purple-soft: #f0eaff;
  --hr-radius: 12px;
  --hr-radius-sm: 8px;
  --hr-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .04);
  --hr-shadow-lg: 0 16px 48px rgba(16, 24, 40, .16);
  --hr-sidebar-w: 248px;
  --hr-topbar-h: 62px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--hr-bg);
  color: var(--hr-text);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
button { font-family: inherit; }

/* ------------------------- 登录页 ------------------------- */
.hr-login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 58, 140, .30), rgba(8, 30, 82, .62)),
    linear-gradient(135deg, #1e5bc8 0%, #123f9e 45%, #0b2c73 100%);
}

/* 城市剪影 + 光晕，用纯 CSS 模拟参考图的蓝调高楼背景 */
.hr-login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 72% 8%, rgba(120, 180, 255, .38), transparent 62%),
    radial-gradient(700px 500px at 12% 92%, rgba(30, 92, 200, .45), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 62px);
  opacity: .9;
}

.hr-login-page::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(6, 22, 64, .78), transparent),
    repeating-linear-gradient(90deg, rgba(8, 28, 78, .55) 0 26px, rgba(20, 60, 140, .35) 26px 52px);
  clip-path: polygon(0 42%, 7% 30%, 7% 62%, 15% 55%, 15% 22%, 24% 22%, 24% 68%, 33% 48%, 33% 34%, 43% 34%, 43% 70%, 52% 44%, 52% 26%, 62% 26%, 62% 66%, 71% 40%, 71% 52%, 82% 30%, 82% 72%, 91% 46%, 91% 36%, 100% 36%, 100% 100%, 0 100%);
  opacity: .55;
}

.hr-login-card {
  width: 100%;
  max-width: 880px;
  min-height: 480px;
  display: grid;
  grid-template-columns: 44% 56%;
  background: var(--hr-surface);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(3, 18, 54, .45), 0 8px 24px rgba(3, 18, 54, .25);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* 左侧蓝色品牌区 */
.hr-login-brand {
  background: linear-gradient(155deg, #2f6feb 0%, #2459c4 55%, #1b47a3 100%);
  color: #fff;
  padding: 40px 34px 30px;
  display: flex;
  align-items: stretch;
}

.hr-login-brand-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hr-brand-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  opacity: .98;
}

.hr-brand-logo {
  width: 78px; height: 34px;
  flex: 0 0 78px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: #fff;
  padding: 4px 7px;
  overflow: hidden;
}

.hr-brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.hr-login-slogan {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  margin: 44px 0 10px;
  letter-spacing: 3px;
  text-shadow: 0 4px 18px rgba(9, 35, 96, .35);
}

.hr-login-slogan-en {
  font-size: 9px;
  letter-spacing: 1.2px;
  opacity: .72;
  margin: 0;
  font-weight: 500;
}

.hr-login-art {
  margin: auto 0 6px;
  width: 100%;
  max-width: 320px;
}

.hr-login-art svg { width: 100%; height: auto; display: block; }

.hr-brand-copy {
  font-size: 12px;
  line-height: 1.9;
  opacity: .85;
  margin: 0;
}

/* 右侧白色表单区 */
.hr-login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
}

.hr-login-form-wrap { width: 100%; max-width: 320px; }

.hr-login-welcome {
  font-size: 26px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 30px;
  padding-bottom: 12px;
  position: relative;
  letter-spacing: 2px;
}

.hr-login-welcome::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 3px;
  background: var(--hr-primary);
  border-radius: 2px;
}

.hr-login-card .form-label { font-weight: 600; color: #374151; font-size: 13px; }
.hr-login-card .input-group-text { background: #f4f7fc; border: 1px solid #dde4ee; border-right: 0; color: #8a97ab; }
.hr-login-card .form-control { border: 1px solid #dde4ee; border-left: 0; padding: 11px 12px; font-size: 14px; }
.hr-login-card .form-control:focus { box-shadow: none; border-color: var(--hr-primary); }
.hr-login-card .input-group:focus-within .input-group-text,
.hr-login-card .input-group:focus-within .form-control { border-color: var(--hr-primary); }
.hr-login-card .form-check-label { font-size: 13px; color: #6b7280; }
.hr-login-card #login-btn { font-weight: 600; letter-spacing: 4px; padding: 11px; }

.hr-login-footer { margin-top: 22px !important; color: #9aa4b2; font-size: 12px; }

.hr-login-copyright {
  position: relative;
  z-index: 2;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  letter-spacing: .5px;
}

@media (max-width: 720px) {
  .hr-login-card { grid-template-columns: 1fr; max-width: 420px; }
  .hr-login-brand { padding: 28px; }
  .hr-login-slogan { font-size: 30px; margin-top: 24px; }
  .hr-login-art { display: none; }
  .hr-login-form-side { padding: 30px 28px; }
}

/* ------------------------- 主布局 ------------------------- */
.hr-app-shell { display: flex; min-height: 100vh; }

.hr-sidebar {
  width: var(--hr-sidebar-w);
  flex: 0 0 var(--hr-sidebar-w);
  background: #fff;
  border-right: 1px solid var(--hr-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1040;
  transition: transform .22s ease;
}

.hr-sidebar-brand {
  height: var(--hr-topbar-h);
  flex: 0 0 var(--hr-topbar-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-bottom: 1px solid var(--hr-border);
  font-weight: 700;
  font-size: 16px;
}

.hr-sidebar-brand .hr-brand-icon { width: 32px; height: 32px; flex-basis: 32px; font-size: 16px; border-radius: 9px; }
.hr-brand-text { white-space: nowrap; }

.hr-nav { flex: 1 1 auto; overflow-y: auto; padding: 12px 10px 20px; }
.hr-nav-section {
  padding: 14px 12px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #9aa3b2;
}

.hr-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  margin-bottom: 2px;
  border-radius: var(--hr-radius-sm);
  color: #4b5563;
  font-weight: 500;
  transition: background .15s, color .15s;
}

.hr-nav-item i { font-size: 17px; width: 20px; text-align: center; color: #7b8494; }
.hr-nav-item:hover { background: var(--hr-surface-soft); color: var(--hr-primary); }
.hr-nav-item:hover i { color: var(--hr-primary); }
.hr-nav-item.active { background: var(--hr-primary-soft); color: var(--hr-primary-dark); font-weight: 700; }
.hr-nav-item.active i { color: var(--hr-primary); }
.hr-nav-item.d-none { display: none !important; }

.hr-sidebar-footer { padding: 12px 20px; border-top: 1px solid var(--hr-border); }

.hr-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

.hr-topbar {
  height: var(--hr-topbar-h);
  flex: 0 0 var(--hr-topbar-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hr-border);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.hr-sidebar-toggle { display: none; color: #4b5563; }
.hr-topbar-title { font-size: 16px; font-weight: 700; }
.hr-topbar-title .hr-subtitle { font-weight: 400; font-size: 12px; color: var(--hr-muted); margin-left: 8px; }

.hr-user-btn { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; border-radius: 30px; }
.hr-user-btn::after { margin-left: 4px; }
.hr-avatar {
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 50%; background: var(--hr-primary-soft); color: var(--hr-primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.hr-user-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.hr-user-name { font-weight: 600; font-size: 13px; }
.hr-user-role { font-size: 11px; color: var(--hr-muted); }

.hr-content { flex: 1 1 auto; padding: 22px 24px 40px; max-width: 1600px; width: 100%; margin: 0 auto; }

/* ------------------------- 通用组件 ------------------------- */
.hr-page-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.hr-page-head h2 { font-size: 20px; font-weight: 700; margin: 0; }
.hr-page-head p { color: var(--hr-muted); margin: 4px 0 0; font-size: 13px; }
.hr-page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.hr-card {
  background: var(--hr-surface);
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius);
  box-shadow: var(--hr-shadow);
  margin-bottom: 18px;
}
.hr-card-header {
  padding: 15px 18px;
  border-bottom: 1px solid var(--hr-border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.hr-card-header h3 { font-size: 15px; font-weight: 700; margin: 0; }
.hr-card-body { padding: 18px; }

.hr-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.hr-stat-card {
  background: var(--hr-surface);
  border: 1px solid var(--hr-border);
  border-radius: var(--hr-radius);
  box-shadow: var(--hr-shadow);
  padding: 16px 18px;
  display: flex; align-items: flex-start; gap: 14px;
  min-height: 96px;
}
.hr-stat-icon {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px; background: var(--hr-primary-soft); color: var(--hr-primary);
}
.hr-stat-icon.green { background: var(--hr-success-soft); color: var(--hr-success); }
.hr-stat-icon.orange { background: var(--hr-warning-soft); color: var(--hr-warning); }
.hr-stat-icon.red { background: var(--hr-danger-soft); color: var(--hr-danger); }
.hr-stat-icon.purple { background: var(--hr-purple-soft); color: #7048b6; }
.hr-stat-icon.blue { background: var(--hr-info-soft); color: #1d7bb5; }
.hr-stat-label { color: var(--hr-muted); font-size: 12px; margin-bottom: 4px; }
.hr-stat-value { font-size: 23px; font-weight: 700; line-height: 1.2; }
.hr-stat-value.small { font-size: 16px; word-break: break-all; }
.hr-stat-foot { font-size: 11px; color: var(--hr-muted); margin-top: 5px; }

.hr-toolbar {
  display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap;
  padding: 14px 18px; border-bottom: 1px solid var(--hr-border);
}
.hr-field { display: flex; flex-direction: column; gap: 4px; min-width: 130px; }
.hr-field label { font-size: 12px; font-weight: 600; color: var(--hr-muted); }
.hr-field .form-control, .hr-field .form-select { min-height: 36px; font-size: 13px; }
.hr-toolbar .btn { min-height: 36px; }
.hr-toolbar-spacer { flex: 1 1 auto; }

.hr-table-wrap { width: 100%; overflow-x: auto; }
.hr-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.hr-table th {
  background: var(--hr-surface-soft);
  color: #5b6472;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  padding: 11px 14px;
  border-bottom: 1px solid var(--hr-border);
  text-align: left;
}
.hr-table td { padding: 11px 14px; border-bottom: 1px solid #f0f2f6; vertical-align: middle; }
.hr-table tbody tr:last-child td { border-bottom: 0; }
.hr-table tbody tr:hover { background: #fafbfe; }
.hr-table td.nowrap, .hr-table th.nowrap { white-space: nowrap; }
.hr-table .hr-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.hr-table .hr-row-actions .btn { padding: 2px 8px; font-size: 12px; }
.hr-table .text-muted-soft { color: #9aa3b2; }

.hr-badge {
  display: inline-block; padding: 3px 9px; border-radius: 20px;
  font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap;
  background: #eef1f5; color: #5b6472;
}
.hr-badge.green { background: var(--hr-success-soft); color: var(--hr-success); }
.hr-badge.blue { background: var(--hr-primary-soft); color: var(--hr-primary-dark); }
.hr-badge.orange { background: var(--hr-warning-soft); color: var(--hr-warning); }
.hr-badge.red { background: var(--hr-danger-soft); color: var(--hr-danger); }
.hr-badge.purple { background: var(--hr-purple-soft); color: #7048b6; }
.hr-badge.gray { background: #eef1f5; color: #5b6472; }

.hr-pager {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--hr-border);
  font-size: 12px; color: var(--hr-muted);
}
.hr-pager-controls { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.hr-pager .btn { padding: 3px 9px; font-size: 12px; line-height: 1.4; }
.hr-pager .page-info { white-space: nowrap; }

.hr-empty { padding: 44px 16px; text-align: center; color: var(--hr-muted); }
.hr-empty i { font-size: 34px; color: #cbd3de; display: block; margin-bottom: 10px; }
.hr-empty p { margin: 0; }

.hr-skeleton-line {
  height: 12px; border-radius: 6px; margin: 10px 0;
  background: linear-gradient(90deg, #eef1f5 25%, #f7f9fc 50%, #eef1f5 75%);
  background-size: 200% 100%;
  animation: hr-shimmer 1.25s linear infinite;
}
.hr-skeleton-line.w60 { width: 60%; }
.hr-skeleton-line.w40 { width: 40%; }
.hr-skeleton-line.w80 { width: 80%; }
@keyframes hr-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.hr-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--hr-border); margin-bottom: 18px; }
.hr-tab {
  padding: 9px 15px; border: 0; background: transparent; color: var(--hr-muted);
  font-weight: 600; font-size: 13px; border-bottom: 2px solid transparent; cursor: pointer;
}
.hr-tab:hover { color: var(--hr-primary); }
.hr-tab.active { color: var(--hr-primary); border-bottom-color: var(--hr-primary); }

.hr-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 22px; }
.hr-kv-item { border-bottom: 1px dashed var(--hr-border); padding: 7px 0; }
.hr-kv-label { color: var(--hr-muted); font-size: 12px; display: block; margin-bottom: 2px; }
.hr-kv-value { font-weight: 500; word-break: break-all; }

.hr-chart-box { position: relative; height: 280px; }
.hr-chart-box canvas { width: 100% !important; height: 100% !important; }
.hr-chart-fallback { display: flex; align-items: flex-end; gap: 6px; height: 100%; padding: 8px 0; }
.hr-chart-fallback .hr-bar { flex: 1 1 0; background: var(--hr-primary); border-radius: 4px 4px 0 0; min-height: 2px; opacity: .85; }

.hr-note { font-size: 12px; color: var(--hr-muted); }
.hr-divider { height: 1px; background: var(--hr-border); margin: 18px 0; }
.hr-money { font-variant-numeric: tabular-nums; }
.hr-pre-wrap { white-space: pre-wrap; word-break: break-all; }

/* ------------------------- 模态框 / 抽屉 ------------------------- */
.hr-modal-backdrop, .hr-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(17, 24, 39, .42);
  z-index: 1050; display: flex; animation: hr-fade .15s ease;
}
.hr-modal-backdrop { align-items: center; justify-content: center; padding: 20px; }
.hr-drawer-backdrop { justify-content: flex-end; }
@keyframes hr-fade { from { opacity: 0; } to { opacity: 1; } }

.hr-modal {
  background: var(--hr-surface); border-radius: 14px; box-shadow: var(--hr-shadow-lg);
  width: 100%; max-width: 560px; max-height: calc(100vh - 40px);
  display: flex; flex-direction: column; overflow: hidden;
  animation: hr-slide-up .18s ease;
}
.hr-modal.wide { max-width: 860px; }
.hr-modal.small { max-width: 430px; }
@keyframes hr-slide-up { from { transform: translateY(14px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }

.hr-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--hr-border);
}
.hr-modal-header h5 { margin: 0; font-size: 16px; font-weight: 700; }
.hr-modal-body { padding: 20px; overflow-y: auto; flex: 1 1 auto; }
.hr-modal-footer {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 14px 20px; border-top: 1px solid var(--hr-border); background: var(--hr-surface-soft);
}
.hr-modal-close {
  border: 0; background: transparent; font-size: 19px; color: var(--hr-muted); line-height: 1; padding: 2px 6px;
}
.hr-modal-close:hover { color: var(--hr-danger); }

.hr-drawer {
  width: min(520px, 100vw); height: 100%; background: var(--hr-surface);
  box-shadow: -12px 0 40px rgba(16, 24, 40, .16);
  display: flex; flex-direction: column; animation: hr-slide-left .2s ease;
}
@keyframes hr-slide-left { from { transform: translateX(30px); opacity: .7; } to { transform: translateX(0); opacity: 1; } }
.hr-drawer .hr-modal-header, .hr-drawer .hr-modal-body, .hr-drawer .hr-modal-footer { border-radius: 0; }
.hr-drawer .hr-modal-body { padding: 20px 22px; }

/* ------------------------- Toast ------------------------- */
.hr-toast-root {
  position: fixed; top: 74px; right: 20px; z-index: 1090;
  display: flex; flex-direction: column; gap: 10px; width: min(340px, calc(100vw - 40px));
  pointer-events: none;
}
.hr-toast {
  pointer-events: auto;
  background: #fff; border: 1px solid var(--hr-border);
  border-left: 4px solid var(--hr-primary);
  border-radius: 10px; box-shadow: var(--hr-shadow-lg);
  padding: 11px 14px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start;
  animation: hr-toast-in .2s ease;
}
.hr-toast i { font-size: 16px; margin-top: 1px; }
.hr-toast.success { border-left-color: var(--hr-success); }
.hr-toast.success i { color: var(--hr-success); }
.hr-toast.error { border-left-color: var(--hr-danger); }
.hr-toast.error i { color: var(--hr-danger); }
.hr-toast.warning { border-left-color: var(--hr-warning); }
.hr-toast.warning i { color: var(--hr-warning); }
.hr-toast .hr-toast-text { flex: 1; line-height: 1.5; }
@keyframes hr-toast-in { from { transform: translateX(24px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ------------------------- 表单辅助 ------------------------- */
.hr-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.hr-form-grid .col-full { grid-column: 1 / -1; }
.hr-form-grid .form-label { font-size: 12px; font-weight: 600; color: #4b5563; margin-bottom: 5px; }
.hr-form-grid .form-control, .hr-form-grid .form-select { font-size: 13px; }
.hr-form-grid .form-check { margin-top: 26px; }
.was-validated .form-control:invalid, .was-validated .form-select:invalid { border-color: var(--hr-danger); }
.hr-inline-alert { margin-bottom: 14px; }

/* ------------------------- 下发范围选择 ------------------------- */
.hr-notify-dept-panel { margin: 8px 0 0 24px; padding: 10px 12px; border: 1px solid var(--hr-border); border-radius: 8px; background: #f8fafc; }
.hr-notify-dept-list { max-height: 240px; overflow-y: auto; margin-top: 6px; }
.hr-dept-option { display: flex; align-items: center; gap: 8px; padding: 5px 4px; margin: 0; border-radius: 4px; cursor: pointer; font-size: 13px; color: #334155; }
.hr-dept-option:hover { background: #eef2ff; }
.hr-dept-option .form-check-input { margin: 0; flex: 0 0 auto; }
.hr-dept-option small { margin-left: auto; font-size: 11px; }

/* ------------------------- 响应式 ------------------------- */
@media (max-width: 991.98px) {
  .hr-sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); box-shadow: var(--hr-shadow-lg); }
  .hr-app-shell.sidebar-open .hr-sidebar { transform: translateX(0); }
  .hr-sidebar-toggle { display: inline-flex; }
  .hr-content { padding: 18px 16px 32px; }
  .hr-topbar { padding: 0 16px; }
}

@media (max-width: 767.98px) {
  .hr-form-grid { grid-template-columns: 1fr; }
  .hr-form-grid .col-full { grid-column: auto; }
  .hr-user-meta { display: none; }
  .hr-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-card-body { padding: 14px; }
  .hr-modal-backdrop { padding: 10px; }
}

@media (max-width: 575.98px) {
  .hr-stat-grid { grid-template-columns: 1fr; }
  .hr-page-head { align-items: flex-start; }
  .hr-page-actions { width: 100%; }
  .hr-page-actions .btn { flex: 1 1 auto; }
  .hr-toast-root { top: 70px; right: 12px; left: 12px; width: auto; }
  .hr-modal-footer { flex-wrap: wrap; }
  .hr-modal-footer .btn { flex: 1 1 auto; }
}
