:root {
  --bg: #eef5fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e5edf6;
  --blue: #2563eb;
  --violet: #7c3aed;
  --green: #10b981;
  --orange: #f97316;
  --red: #ef4444;
  --cyan: #06b6d4;
  --shadow: 0 14px 35px rgba(15, 23, 42, .07);
  --radius: 22px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
}

a { color: inherit; }

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: rgba(255,255,255,.94);
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 30px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.05;
}

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

.menu {
  display: grid;
  gap: 8px;
}

.menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  color: #334155;
  text-decoration: none;
  font-weight: 700;
  transition: .16s ease;
}

.menu a:hover {
  background: #edf4ff;
  color: var(--blue);
}

.menu a.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 20px rgba(37, 99, 235, .2);
}

.main {
  padding: 24px;
  min-width: 0;
}

.topbar {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  z-index: 20;
}

.topbar h1 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.03em;
}

.topbar p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.sync-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 700;
  white-space: nowrap;
}

.sync-pill b { font-weight: 900; }

.sync-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .12);
}

.sync-success {
  background: #ecfdf5;
  color: #047857;
}

.sync-success .sync-dot {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, .14);
}

.sync-failed,
.sync-error {
  background: #fef2f2;
  color: #b91c1c;
}

.sync-failed .sync-dot,
.sync-error .sync-dot {
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(239, 68, 68, .14);
}

.notify-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: white;
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  font-size: 19px;
}

.notify-btn b {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  display: grid;
  place-items: center;
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 12px;
  border: 2px solid white;
}

.notify-panel {
  position: absolute;
  top: 58px;
  right: 0;
  width: 390px;
  max-width: calc(100vw - 40px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, .18);
  padding: 14px;
  display: none;
}

.notify-panel.open { display: block; }

.notify-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.notify-head button,
.small-link {
  border: 0;
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.notify-list {
  display: grid;
  gap: 10px;
}

.notify-item {
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.notify-item strong {
  display: block;
  margin-bottom: 4px;
}

.notify-item span {
  color: var(--muted);
  line-height: 1.35;
}

.notify-success { border-color: #bbf7d0; background: #f0fdf4; }
.notify-warning { border-color: #fed7aa; background: #fff7ed; }
.notify-danger { border-color: #fecaca; background: #fef2f2; }
.notify-info { border-color: #bfdbfe; background: #eff6ff; }

.page {
  display: grid;
  gap: 20px;
}

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

.metric {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  border-radius: 22px;
  padding: 20px;
  color: white;
  box-shadow: var(--shadow);
}

.metric::after {
  content: "";
  position: absolute;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  top: -42px;
  right: -34px;
  background: rgba(255,255,255,.22);
}

.metric span,
.metric strong,
.metric small {
  position: relative;
  z-index: 1;
  display: block;
}

.metric span {
  font-weight: 700;
  opacity: .95;
}

.metric strong {
  font-size: 41px;
  line-height: 1;
  margin: 16px 0 10px;
  letter-spacing: -.04em;
}

.metric small {
  opacity: .9;
  font-weight: 600;
}

.metric-blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.metric-violet { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.metric-green { background: linear-gradient(135deg, #059669, #34d399); }
.metric-orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.metric-red { background: linear-gradient(135deg, #dc2626, #fb7185); }

.panel {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.panel-title {
  margin-bottom: 16px;
}

.panel-title h2 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -.02em;
}

.panel-title span,
.muted {
  color: var(--muted);
  font-size: 13px;
}

.row-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.donut-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.donut-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.donut-head h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.donut-head span {
  color: var(--muted);
  font-size: 13px;
}

.donut-body {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 15px;
}

.donut {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  padding: 18px;
}

.donut > div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--line);
}

.donut strong {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.04em;
}

.donut span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.legend {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.legend-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.legend-row i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-row span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #334155;
}

.legend-row b {
  color: var(--text);
}

.legend-row em {
  min-width: 48px;
  text-align: right;
  color: var(--muted);
  font-style: normal;
}

.birthday-cards {
  display: grid;
  gap: 12px;
}

.birthday-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  color: white;
  font-weight: 900;
  font-size: 18px;
}

.birthday-card strong,
.birthday-card span,
.birthday-card em {
  display: block;
  min-width: 0;
}

.birthday-card span,
.birthday-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  margin-top: 3px;
}

.birthday-card b {
  color: var(--orange);
  white-space: nowrap;
}

.compact-list {
  display: grid;
  gap: 8px;
}

.compact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: inherit;
  text-decoration: none;
  background: #f8fafc;
}

.compact-row.hot {
  border-color: #fed7aa;
  background: #fff7ed;
}

.compact-row strong,
.compact-row span {
  display: block;
  min-width: 0;
}

.compact-row span {
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-row b {
  white-space: nowrap;
}

.compact-row em {
  color: var(--muted);
  font-style: normal;
  white-space: nowrap;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #475569;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: #f8fafc;
}

tr:last-child td {
  border-bottom: 0;
}

td strong {
  display: inline-block;
  margin-bottom: 3px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 800;
}

.badge-hot {
  background: #ffedd5;
  color: #c2410c;
}

.search {
  width: min(420px, 100%);
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 14px;
  outline: none;
  font: inherit;
  background: white;
}

.search:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.empty-box,
.error-box {
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 18px;
  color: var(--muted);
  background: #f8fafc;
}

.error-box {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
  display: grid;
  gap: 6px;
}

.danger-text {
  color: var(--red);
}

@media (max-width: 1280px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .donut-grid,
  .donut-grid.wide { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    padding: 14px;
  }
  .brand { margin-bottom: 14px; }
  .menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .menu a { white-space: nowrap; }
  .main { padding: 14px; }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .sync-pill {
    white-space: normal;
  }
  .cards,
  .panel-grid { grid-template-columns: 1fr; }
  .donut-body {
    grid-template-columns: 1fr;
  }
  .donut {
    margin: 0 auto;
  }
  .row-title {
    align-items: stretch;
    flex-direction: column;
  }
  .search {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .metric strong { font-size: 34px; }
  .compact-row { grid-template-columns: 1fr; }
  .birthday-card { grid-template-columns: 46px 1fr; }
  .birthday-card b { grid-column: 2; }
}

/* Dashboard birthday carousel */
.birthday-slider {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.birthday-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.birthday-slider-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 900;
}

.birthday-slider-shell {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: stretch;
  gap: 10px;
}

.birthday-slider-viewport {
  overflow: hidden;
  border-radius: 20px;
  min-width: 0;
}

.birthday-slider-track {
  display: flex;
  width: 100%;
  transition: transform .42s ease;
  will-change: transform;
}

.birthday-slide-card {
  flex: 0 0 100%;
  min-height: 118px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(99, 102, 241, .15), transparent 34%),
    #f8fafc;
}

.birthday-slide-card.today {
  border-color: #fed7aa;
  background:
    radial-gradient(circle at 100% 0%, rgba(249, 115, 22, .18), transparent 35%),
    #fff7ed;
}

.birthday-slide-avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

.birthday-slide-info {
  min-width: 0;
}

.birthday-slide-info strong,
.birthday-slide-info span,
.birthday-slide-date b,
.birthday-slide-date em,
.birthday-slide-date strong {
  display: block;
}

.birthday-slide-info strong {
  font-size: 16px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.birthday-slide-info span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.birthday-slide-date {
  text-align: right;
  white-space: nowrap;
}

.birthday-slide-date b {
  font-size: 14px;
  color: var(--text);
}

.birthday-slide-date em {
  margin-top: 4px;
  color: var(--orange);
  font-style: normal;
  font-weight: 900;
}

.birthday-slide-date strong {
  margin-top: 6px;
  color: #3730a3;
  font-size: 13px;
}

.slider-btn {
  width: 42px;
  min-height: 118px;
  border: 0;
  border-radius: 18px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 30px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .08);
  transition: transform .16s ease, background .16s ease;
}

.slider-btn:hover {
  transform: translateY(-1px);
  background: #e0e7ff;
}

.birthday-slider.single .slider-btn {
  visibility: hidden;
}

@media (max-width: 720px) {
  .birthday-slider-shell {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 7px;
  }

  .slider-btn {
    width: 34px;
    min-height: 128px;
    border-radius: 14px;
    font-size: 24px;
  }

  .birthday-slide-card {
    min-height: 128px;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
  }

  .birthday-slide-date {
    grid-column: 2;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .birthday-slide-date b,
  .birthday-slide-date em,
  .birthday-slide-date strong {
    margin: 0;
  }
}


/* Birthday dashboard v2: multi-card carousel + HR action insights */
.birthday-dashboard-grid {
  align-items: stretch;
}

.birthday-panel {
  overflow: hidden;
}

.birthday-slider-multi {
  --slider-card-width: calc((100% - 24px) / 3);
}

.birthday-slider-multi .birthday-slider-shell {
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 8px;
  align-items: stretch;
}

.birthday-slider-multi .birthday-slider-track {
  gap: 12px;
  align-items: stretch;
}

.birthday-slider-multi .birthday-slide-card {
  flex: 0 0 var(--slider-card-width);
  min-height: 136px;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.birthday-slide-main {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.birthday-slider-multi .birthday-slide-avatar {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  font-size: 16px;
}

.birthday-slider-multi .birthday-slide-info strong {
  font-size: 14px;
  line-height: 1.25;
}

.birthday-slider-multi .birthday-slide-info span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
}

.birthday-slider-multi .birthday-slide-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  white-space: nowrap;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, .22);
}

.birthday-slider-multi .birthday-slide-date b,
.birthday-slider-multi .birthday-slide-date em,
.birthday-slider-multi .birthday-slide-date strong {
  margin: 0;
  font-size: 12px;
}

.birthday-slider-multi .birthday-slide-date em {
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffedd5;
}

.birthday-slider-multi .birthday-slide-date strong {
  color: #3730a3;
}

.birthday-slider-multi .slider-btn {
  width: 36px;
  min-height: 136px;
  border-radius: 16px;
  font-size: 24px;
}

.birthday-slider-multi.single .slider-btn {
  visibility: hidden;
}

.birthday-hr-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .07), transparent 30%),
    var(--card);
}

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

.birthday-insight {
  min-height: 118px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
  color: inherit;
  text-decoration: none;
  display: grid;
  gap: 6px;
  align-content: start;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.birthday-insight:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .06);
  border-color: #bfdbfe;
}

.birthday-insight span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.birthday-insight strong {
  font-size: 24px;
  line-height: 1;
}

.birthday-insight em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-orange { border-color: #fed7aa; background: #fff7ed; }
.insight-blue { border-color: #bfdbfe; background: #eff6ff; }
.insight-violet { border-color: #ddd6fe; background: #f5f3ff; }
.insight-red { border-color: #fecaca; background: #fef2f2; }
.insight-green { border-color: #bbf7d0; background: #f0fdf4; }
.insight-cyan { border-color: #a5f3fc; background: #ecfeff; }

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

@media (max-width: 1100px) {
  .birthday-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .birthday-slider-multi .birthday-slider-shell {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 6px;
  }

  .birthday-slider-multi .slider-btn {
    width: 32px;
    min-height: 148px;
    border-radius: 14px;
  }

  .birthday-slider-multi .birthday-slide-card {
    min-height: 148px;
  }

  .birthday-insight-grid { grid-template-columns: 1fr; }
}

/* Workforce analytics: movements, absences, demographics */
.workforce-overview-panel {
  margin-bottom: 20px;
}

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

.workforce-card {
  min-height: 118px;
  border-radius: 20px;
  padding: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.workforce-card::after {
  content: '';
  position: absolute;
  right: -24px;
  top: -24px;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}

.workforce-card span,
.workforce-card strong,
.workforce-card em {
  position: relative;
  z-index: 1;
  display: block;
}

.workforce-card span {
  font-size: 13px;
  font-weight: 800;
  opacity: .95;
}

.workforce-card strong {
  margin-top: 12px;
  font-size: 32px;
  line-height: 1;
}

.workforce-card em {
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  opacity: .9;
}

.wf-blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.wf-green { background: linear-gradient(135deg, #059669, #34d399); }
.wf-violet { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.wf-orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.wf-red { background: linear-gradient(135deg, #dc2626, #fb7185); }
.wf-cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.wf-pink { background: linear-gradient(135deg, #db2777, #f472b6); }

.action-list {
  display: grid;
  gap: 12px;
}

.action-item {
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.action-item strong,
.action-item span {
  display: block;
}

.action-item strong {
  font-weight: 900;
  margin-bottom: 4px;
}

.action-item span {
  color: #64748b;
  font-size: 13px;
}

.action-danger { background: #fff1f2; border-color: #fecdd3; }
.action-warning { background: #fff7ed; border-color: #fed7aa; }
.action-success { background: #ecfdf5; border-color: #bbf7d0; }
.action-info { background: #eff6ff; border-color: #bfdbfe; }

.success-text { color: #059669; }

@media (max-width: 1500px) {
  .workforce-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .workforce-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
