/* Production workforce styles for dark marketing SPA */
.wf-theme, .workforce-widget-host {
  color: #e8f0ef;
}
.wf-theme :root {
  --sand: #e8f0ef;
  --muted: #8fb4ae;
  --teal: #14b8a6;
}
.board {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  min-height: 0;
}
.board-solo { grid-template-columns: 1fr; }
.board aside {
  padding: 0.75rem 0.7rem;
  border-right: 1px solid rgba(244, 241, 234, 0.08);
  display: grid;
  align-content: start;
  gap: 0.3rem;
}
.board aside b { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.board aside em, .board aside button {
  font: inherit;
  font-style: normal;
  font-size: 0.86rem;
  color: #cbd5e1;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  text-align: left;
  background: transparent;
  border: 0;
}
.board aside em { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.6rem; }
.board aside button.on { background: rgba(45, 212, 191, 0.16); color: #99f6e4; }
.board-main { padding: 0.5rem 0.72rem 0.55rem; overflow: hidden; }
.board-main header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.22rem; }
.board-main small { display: block; color: var(--muted); margin-top: 0.12rem; font-size: 0.78rem; }
.wf-mini-kicker {
  margin: 0 0 0.2rem;
  color: #5eead4;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.wf-head-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.wf-clear {
  visibility: hidden;
  font: inherit;
  cursor: pointer;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 234, 0.2);
  background: transparent;
  color: var(--muted);
  padding: 0.2rem 0.5rem;
  min-width: 3.6rem;
}
.wf-clear.on { visibility: visible; }
.metric-row b, .wf-stat span, .wf-gender-card b, .wf-sites .wf-chip {
  font-variant-numeric: tabular-nums;
}
.wf-stat span {
  min-width: 4.4rem;
  text-align: right;
}
.wf-bday-banner:empty {
  display: none;
}
.wf-month button small:empty {
  display: none;
}
.wf-mini-tabs {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.28rem;
  padding: 0.14rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  width: max-content;
  max-width: 100%;
  position: relative;
  z-index: 8;
  pointer-events: auto;
}
.wf-mini-tabs button {
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.7rem;
  pointer-events: auto;
  cursor: pointer;
}
.wf-mini-tabs button.on {
  background: rgba(45, 212, 191, 0.18);
  color: #99f6e4;
}
.wf-pane[hidden] { display: none !important; }
.wf-pane.on { display: block; }
.wf-chip-row { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.35rem; }
.wf-sites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.22rem;
  margin-top: 0.32rem;
  overflow: hidden;
}
.wf-sites .wf-chip {
  display: flex;
  font-size: 0.72rem;
  padding: 0.22rem 0.4rem;
  letter-spacing: 0.01em;
  min-width: 0;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
  text-align: left;
  overflow: hidden;
  border-radius: 8px;
}
.wf-site-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wf-sites .wf-chip [data-n] {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: var(--sand);
}
.wf-chip, .wf-pager button {
  font: inherit;
  cursor: pointer;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  padding: 0.28rem 0.55rem;
}
.wf-gender {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin: 0.4rem 0 0.4rem;
}
.wf-gender-card, .wf-stat {
  font: inherit;
  cursor: pointer;
  text-align: left;
  border-radius: 10px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background: rgba(255,255,255,0.04);
  color: var(--sand);
}
.wf-gender-card { padding: 0.28rem 0.4rem; }
.wf-gender-card b { display: block; font-size: 1.05rem; font-family: Instrument Sans, sans-serif; }
.wf-gender-card span, .wf-stat span { color: var(--muted); font-size: 0.74rem; }
.wf-gender-card.on, .wf-stat.on { border-color: rgba(94, 234, 212, 0.5); }
.wf-comp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.28rem;
}
.wf-stat {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  width: 100%;
  margin-top: 0.08rem;
  padding: 0.1rem 0.28rem;
}
.wf-stat i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5eead4;
  flex: 0 0 auto;
}
.wf-stat:nth-child(2) i { background: #fb7185; }
.wf-stat:nth-child(3) i { background: #c4b5fd; }
.wf-stat:nth-child(4) i { background: #38bdf8; }
.wf-stat:nth-child(5) i { background: #fbbf24; }
.wf-stat b { flex: 1; font-size: 0.78rem; font-weight: 600; }
.wf-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 80px;
  margin: 0.28rem 0 0.18rem;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.wf-bar {
  flex: 1 1 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #5eead4, #2563eb);
  opacity: 0.78;
  min-width: 0;
  min-height: 0;
  height: 12px;
  align-self: flex-end;
}
.wf-bar.on { opacity: 1; }
.wf-month {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.wf-month button {
  min-height: 0;
  border-radius: 6px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background: rgba(255,255,255,0.04);
  color: var(--sand);
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
  display: grid;
  align-content: start;
  gap: 1px;
  padding: 3px;
  overflow: hidden;
  text-align: left;
}
.wf-month i.pad {
  min-height: 0.5rem;
  background: transparent;
  border: 0;
}
.wf-month button span { font-weight: 700; padding: 0 2px; }
.wf-month button small { color: #99f6e4; font-size: 0.7rem; padding: 0 2px; text-transform: none; letter-spacing: 0; }
.wf-bday-banner {
  display: block;
  background: #fbbf24;
  color: #1c1917;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  padding: 2px 3px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wf-month button.leave { background: rgba(45, 212, 191, 0.16); }
.wf-month button.bday { border-color: rgba(251, 191, 36, 0.55); }
.wf-month button.sel { outline: 1px solid #5eead4; }
.wf-bday-row b { color: #fbbf24; }
.wf-people-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}
.wf-people-tools input {
  flex: 1;
  font: inherit;
  font-size: 0.78rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  background: #071416;
  color: var(--sand);
}
.wf-people-tools span, .wf-pager span { font-size: 0.68rem; color: var(--muted); }
.wf-pager { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.board aside { position: relative; z-index: 6; }
.wf-mini-label {
  margin: 0 0 0.18rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.wf-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.5rem;
  align-items: center;
}
.wf-insights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  align-content: center;
  align-self: stretch;
  border-top: 1px solid rgba(244, 241, 234, 0.1);
}
.wf-insights li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
}
.wf-insights b {
  display: inline;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  color: var(--sand);
}
.wf-insights span { color: var(--muted); font-size: 0.78rem; line-height: 1.3; }
.wf-cal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.wf-cal i {
  height: 22px;
  border-radius: 5px;
  background: rgba(244, 241, 234, 0.08);
}
.wf-cal i.leave { background: rgba(45, 212, 191, 0.45); }
.wf-cal i.warn { background: rgba(251, 191, 36, 0.55); }
.wf-out {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.22rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.wf-out b { color: var(--sand); margin-right: 0.35rem; }
.wf-search input {
  width: 100%;
  margin-bottom: 0.5rem;
  font: inherit;
  font-size: 0.8rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  background: #071416;
  color: var(--sand);
}
.wf-people { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.wf-people th, .wf-people td {
  text-align: left;
  padding: 0.32rem 0.2rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
}
.wf-people th { color: var(--muted); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.metric-row-5 .wf-gender-card {
  margin: 0;
}
.wf-mini .bar-labels { font-size: 0.62rem; letter-spacing: 0.02em; gap: 3px; }
.wf-plat-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.22rem;
  margin-bottom: 0.28rem;
}
