/* ============================================================================
   monday-workhub-views.css — live HTML renderings of the WorkHub for monday.com
   screens on /monday-capacity-planning (drawn by /assets/js/monday-workhub-views.js).

   Each `.mwh` frame holds a fixed-width `.mwh-stage` that the script scales to
   the frame, so every size below is in the app's own pixels. Colours follow the
   app's Vibe-based tokens. Everything is namespaced `.mwh`/`.mwh-` and never
   reaches the shared chrome or the Jira views (`.wv-`).
   ============================================================================ */

.mwh {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(10, 34, 51, 0.16), 0 3px 10px rgba(10, 34, 51, 0.08);
  --mwh-ink: #323338;
  --mwh-sub: #676879;
  --mwh-line: #D0D4E4;
  --mwh-line-soft: #E6E9EF;
  --mwh-soft: #F6F7FB;
  --mwh-blue: #0073EA;
  --mwh-selected: #CCE5FF;
  --mwh-green: #00C875;
  --mwh-orange: #FDAB3D;
  --mwh-red: #E2445C;
  --mwh-sky: #66CCFF;
}
/* Reserves the frame before the script runs, so the page does not jump. */
.mwh[data-mwh-promo][data-mwh="timeline"] { aspect-ratio: 1120 / 478; }
.mwh[data-mwh-promo][data-mwh="workload"] { aspect-ratio: 640 / 292; }
.mwh[data-mwh-promo][data-mwh="bulk"] { aspect-ratio: 640 / 755; }
.mwh[data-mwh-promo][data-mwh="timetracking"] { aspect-ratio: 1120 / 366; }
.mwh[data-mwh-promo][data-mwh="timesheets"] { aspect-ratio: 1120 / 432; }
.mwh[data-mwh-promo][data-mwh="leave"] { aspect-ratio: 700 / 569; }
.mwh[data-mwh-promo][data-mwh="capacity"] { aspect-ratio: 1120 / 636; }
.mwh[data-mwh-promo][data-mwh="report"] { aspect-ratio: 1120 / 398; }
.mwh[data-mwh-promo][data-mwh="roles"] { aspect-ratio: 1120 / 518; }
.mwh:not([data-mwh-promo])[data-mwh="scheduler"] { aspect-ratio: 970 / 511; }
.mwh:not([data-mwh-promo])[data-mwh="scheduler-month"] { aspect-ratio: 970 / 535; }
.mwh:not([data-mwh-promo])[data-mwh="plan"] { aspect-ratio: 970 / 560; }
.mwh:not([data-mwh-promo])[data-mwh="bulk"] { aspect-ratio: 640 / 755; }
.mwh:not([data-mwh-promo])[data-mwh="timetracking"] { aspect-ratio: 970 / 325; }
.mwh:not([data-mwh-promo])[data-mwh="timetracking-table"] { aspect-ratio: 970 / 195; }
.mwh:not([data-mwh-promo])[data-mwh="timetracking-stack"] { aspect-ratio: 970 / 325; }
.mwh:not([data-mwh-promo])[data-mwh="timesheets"] { aspect-ratio: 820 / 326; }
.mwh:not([data-mwh-promo])[data-mwh="timesheet-summary"] { aspect-ratio: 820 / 245; }
.mwh:not([data-mwh-promo])[data-mwh="timesheet-progress"] { aspect-ratio: 820 / 307; }
.mwh:not([data-mwh-promo])[data-mwh="submission"] { aspect-ratio: 820 / 367; }
.mwh:not([data-mwh-promo])[data-mwh="approvals"] { aspect-ratio: 970 / 556; }
.mwh:not([data-mwh-promo])[data-mwh="leave"] { aspect-ratio: 700 / 569; }
.mwh:not([data-mwh-promo])[data-mwh="my-leaves"] { aspect-ratio: 970 / 321; }
.mwh:not([data-mwh-promo])[data-mwh="capacity"] { aspect-ratio: 820 / 636; }
.mwh:not([data-mwh-promo])[data-mwh="report"] { aspect-ratio: 970 / 398; }
.mwh:not([data-mwh-promo])[data-mwh="reports-gallery"] { aspect-ratio: 970 / 512; }
.mwh:not([data-mwh-promo])[data-mwh="roles"] { aspect-ratio: 820 / 518; }
.mwh:not([data-mwh-promo])[data-mwh="mywork"] { aspect-ratio: 970 / 435; }
.mwh:not([data-mwh-promo])[data-mwh="my-account"] { aspect-ratio: 970 / 439; }
.mwh:not([data-mwh-promo])[data-mwh="log-work"] { aspect-ratio: 760 / 630; }
.mwh:not([data-mwh-promo])[data-mwh="worklog-categories"] { aspect-ratio: 820 / 272; }
.mwh:not([data-mwh-promo])[data-mwh="allocation-categories"] { aspect-ratio: 820 / 305; }
.mwh:not([data-mwh-promo])[data-mwh="holidays"] { aspect-ratio: 820 / 219; }
.mwh:not([data-mwh-promo])[data-mwh="timesheet-config"] { aspect-ratio: 820 / 753; }
.mwh:not([data-mwh-promo])[data-mwh="workload-settings"] { aspect-ratio: 820 / 728; }
.mwh:not([data-mwh-promo])[data-mwh="permissions-access"] { aspect-ratio: 820 / 399; }
.mwh.mwh-ready { aspect-ratio: auto; }
/* Docs frames: the screen only, without the app navigation, the hints and the callouts. */
.mwh:not([data-mwh-promo]) .mwh-nav,
.mwh:not([data-mwh-promo]) .mwh-sub,
.mwh:not([data-mwh-promo]) .mwh-hint,
.mwh:not([data-mwh-promo]) .mwh-clickme { display: none; }
.mwh[data-mwh-promo] .mwh-docs-only { display: none; }
.docs-content .mwh { margin: 24px auto; border: 1px solid var(--border-color, #E2E8F0); box-shadow: 0 4px 14px rgba(10, 34, 51, 0.08); }

.mwh-stage {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  box-sizing: border-box;
  font-family: 'Figtree', 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: var(--mwh-ink);
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}
.mwh-stage *, .mwh-stage *::before, .mwh-stage *::after { box-sizing: border-box; }
.mwh-stage em, .mwh-stage i, .mwh-stage u { font-style: normal; text-decoration: none; }
.mwh-stage h6 { margin: 0; padding: 0; }
.mwh-stage label { display: block; margin: 0; }

/* ----------------------------------------------------------- Shared bits -- */
.mwh-row { display: flex; align-items: center; gap: 8px; }
.mwh-wrap { flex-wrap: wrap; }
.mwh-grow { flex: 1 1 auto; min-width: 0; }
.mwh-ico { flex: none; width: 14px; height: 14px; color: var(--mwh-sub); }
.mwh-ico--sm { width: 11px; height: 11px; }
.mwh-title { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.mwh-subtitle { font-size: 11.5px; color: var(--mwh-sub); margin-top: 3px; }
.mwh-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 26px; padding: 0 9px;
  border: 1px solid #C3C6D4; border-radius: 4px;
  background: #fff; color: var(--mwh-ink);
  font-size: 11.5px; white-space: nowrap;
}
.mwh-btn--primary { background: var(--mwh-blue); border-color: var(--mwh-blue); color: #fff; }
.mwh-btn--primary .mwh-ico { color: #fff; }
.mwh-btn--tint { background: var(--mwh-selected); border-color: var(--mwh-blue); }
.mwh-btn--tint .mwh-ico { color: var(--mwh-blue); }
.mwh-btn--text { border-color: transparent; background: transparent; }
.mwh-btn--lg { height: 34px; padding: 0 14px; font-size: 13.5px; }
.mwh-btn--text.mwh-btn--lg, .mwh-dialog-foot .mwh-btn--text { height: 34px; font-size: 13.5px; }
.mwh-btn[data-cap] { cursor: pointer; }
.mwh-plain { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; white-space: nowrap; }
.mwh-select {
  flex: none; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px;
  border: 1px solid #C3C6D4; border-radius: 4px; background: #fff; font-size: 11.5px; white-space: nowrap;
}
.mwh-select > .mwh-ico--sm:last-child { margin-left: auto; }
.mwh-select.mwh-grow, .mwh-input.mwh-grow { flex: 1 1 auto; }
.mwh-input {
  display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 9px;
  border: 1px solid #C3C6D4; border-radius: 4px; background: #fff;
  color: var(--mwh-sub); font-size: 11.5px; white-space: nowrap; overflow: hidden;
}
.mwh-input--text { height: 32px; padding: 0 12px; color: var(--mwh-ink); font-size: 13px; }
.mwh-input--area { height: 52px; }
.mwh-input.is-focus { border-color: var(--mwh-blue); }
.mwh-input.is-focus::after { content: ""; width: 1px; height: 15px; margin-left: -6px; background: var(--mwh-ink); animation: mwh-caret 1.1s steps(1) infinite; }
@keyframes mwh-caret { 50% { opacity: 0; } }
.mwh-range { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 11.5px; white-space: nowrap; }
.mwh-vr { flex: none; width: 1px; height: 18px; background: var(--mwh-line); }
.mwh-link { color: #1F76C2; font-size: 12.5px; }
.mwh-avatar {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 0.02em;
}
.mwh-avatar--sm { width: 20px; height: 20px; font-size: 8px; }
.mwh-avatar--me { width: 18px; height: 18px; font-size: 8.5px; background: #579BFC; }
.mwh-hint {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 10px; border-radius: 11px;
  background: #FFF4D6; color: #7A5200; font-size: 11px; font-weight: 600; white-space: nowrap;
  animation: mwh-nudge 1.6s ease-in-out infinite;
}
.mwh-clicked .mwh-hint { display: none; }
.mwh-hint--foot { position: absolute; left: 50%; bottom: 12px; margin-left: -120px; }
@keyframes mwh-nudge { 50% { transform: translateY(-2px); box-shadow: 0 3px 8px rgba(122, 82, 0, 0.22); } }
.mwh-toggle {
  flex: none; position: relative; width: 26px; height: 14px; border-radius: 7px;
  background: var(--mwh-blue); transition: background 0.18s ease;
}
.mwh-toggle::after {
  content: ""; position: absolute; top: 2px; left: 14px;
  width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: left 0.18s ease;
}
.mwh-toggle.is-off { background: #C3C6D4; }
.mwh-toggle.is-off::after { left: 2px; }
.mwh-toggle[data-toggle] { cursor: pointer; }
.mwh-switch { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; white-space: nowrap; }
.mwh-switch small { font-size: 10.5px; }
.mwh-seg { display: inline-flex; padding: 2px; border-radius: 5px; background: var(--mwh-line-soft); }
.mwh-seg span { display: flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 3px; font-size: 10.5px; color: var(--mwh-sub); }
.mwh-seg span.is-on { background: #fff; color: var(--mwh-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.mwh-seg--lg { padding: 0; background: none; border: 1px solid #C3C6D4; border-radius: 4px; overflow: hidden; }
.mwh-seg--lg span { height: 30px; padding: 0 14px; border-radius: 0; font-size: 13px; color: var(--mwh-ink); }
.mwh-seg--lg span.is-on { background: var(--mwh-blue); color: #fff; box-shadow: none; }
.mwh-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 15px; height: 15px; padding: 0 4px;
  margin-left: auto; border-radius: 8px; background: var(--mwh-blue); color: #fff; font-size: 9px; font-weight: 600;
}
.mwh-dot { flex: none; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; }
.mwh-card { background: #fff; border: 1px solid var(--mwh-line); border-radius: 8px; padding: 12px 14px; }
.mwh-card--flush { padding: 0; overflow: hidden; }
.mwh-card-title { font-size: 13.5px; font-weight: 600; }
.mwh-card-sub { font-size: 11px; color: var(--mwh-sub); margin-top: 2px; }
.mwh-act { font-size: 11.5px; white-space: nowrap; }
.is-disabled { color: #B4B7C4; }
.mwh-fine { font-size: 10px; color: var(--mwh-sub); }
.mwh-tag {
  display: inline-flex; align-items: center; height: 17px; padding: 0 6px; margin-left: 7px;
  border: 1px solid #00854D; border-radius: 3px; color: #00854D; font-size: 10.5px; font-weight: 400;
}

/* ------------------------------------------------------------- App shell -- */
.mwh-app { display: flex; background: #fff; }
.mwh-nav { flex: none; width: 150px; padding: 0 6px 12px; border-right: 1px solid var(--mwh-line); }
.mwh-nav-head { display: flex; align-items: center; gap: 7px; height: 36px; margin-bottom: 4px; padding: 0 4px; font-size: 11.5px; white-space: nowrap; }
.mwh-nav-head b { flex: 1 1 auto; font-weight: 600; }
.mwh-logo { flex: none; width: 18px; height: 18px; }
.mwh-nav-collapse { color: var(--mwh-sub); font-size: 13px; }
.mwh-nav-item {
  position: relative; display: flex; align-items: center; gap: 9px; height: 25px; margin-top: 1px; padding: 0 9px;
  border-radius: 4px; font-size: 11.5px;
}
.mwh-nav-item.is-on { background: var(--mwh-selected); font-weight: 600; }
.mwh-nav-item.is-on::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 1px; background: var(--mwh-blue); }
.mwh-nav-sep { display: block; height: 1px; margin: 9px 4px; background: var(--mwh-line); }
.mwh-main { position: relative; flex: 1 1 auto; min-width: 0; }
.mwh-split { display: flex; min-height: 100%; }
.mwh-sub { flex: none; width: 150px; padding: 14px 0; border-right: 1px solid var(--mwh-line); }
.mwh-sub > b { display: block; padding: 0 14px; font-size: 13px; font-weight: 500; }
.mwh-sub h6 { display: flex; align-items: center; gap: 5px; padding: 12px 14px 5px; font-size: 8.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--mwh-sub); }
.mwh-sub-item { position: relative; display: flex; align-items: center; gap: 8px; height: 23px; padding: 0 14px; font-size: 11px; white-space: nowrap; }
.mwh-sub-item .mwh-ico { width: 11px; height: 11px; }
.mwh-sub-item.is-on { background: #F0F6FF; color: var(--mwh-blue); font-weight: 600; box-shadow: inset 2px 0 0 var(--mwh-blue); }
.mwh-sub-item.is-on .mwh-ico { color: var(--mwh-blue); }
.mwh-sub--tpl { padding: 10px 0; }
.mwh-sub--tpl h6 { padding: 9px 10px 3px; font-size: 10.5px; letter-spacing: 0; color: var(--mwh-ink); }
.mwh-sub--tpl > span { display: flex; align-items: center; height: 22px; padding: 0 14px; font-size: 10.5px; color: var(--mwh-sub); }
.mwh-sub--tpl > span .mwh-count { margin-left: 6px; }
.mwh-sub--tpl > span.is-on { background: var(--mwh-selected); color: var(--mwh-blue); }
.mwh-set { flex: 1 1 auto; min-width: 0; padding: 18px 26px 20px; }
.mwh-panel { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--mwh-line); border-radius: 10px; }
.mwh-panel > .mwh-card + .mwh-card { margin-top: 12px; }

/* ------------------------------------------------------------- Scheduler -- */
.mwh-bar0, .mwh-bar1, .mwh-bar2 { height: 36px; padding: 0 12px; border-bottom: 1px solid var(--mwh-line); }
.mwh-bar0 { gap: 14px; }
.mwh-bar2 { border-bottom-color: var(--mwh-line-soft); }
.mwh-bar1--tight { gap: 6px; padding: 0 8px 0 12px; }
.mwh-board { padding: 2px 6px; border-radius: 3px; background: var(--mwh-selected); font-size: 11.5px; white-space: nowrap; }
.mwh-zoom { gap: 8px; color: var(--mwh-sub); font-size: 10px; }
.mwh-chips { flex: none; display: inline-flex; border: 1px solid #C3C6D4; border-radius: 4px; overflow: hidden; }
.mwh-chips span {
  display: flex; align-items: center; height: 24px; padding: 0 9px; font-size: 11px; font-weight: 600;
  color: var(--mwh-sub); cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.mwh-chips span + span { border-left: 1px solid #C3C6D4; }
.mwh-chips span.is-on { background: var(--mwh-selected); color: var(--mwh-blue); }
.mwh-chips span:hover { background: #E5F0FF; }
.mwh-grid { position: relative; padding-bottom: 16px; }
.mwh-grid-head, .mwh-grid-row { display: flex; }
.mwh-grid-side { flex: none; width: 150px; border-right: 1px solid var(--mwh-line); }
.mwh-grid-row .mwh-grid-side { display: flex; align-items: center; gap: 9px; padding: 0 10px 0 14px; }
.mwh-grid-main { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.mwh-weeks { display: flex; height: 22px; }
.mwh-week { flex: 1 1 0; display: flex; align-items: center; min-width: 0; padding: 0 5px; font-size: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.mwh-month { display: flex; align-items: center; height: 24px; padding: 0 5px; font-size: 10.5px; font-weight: 700; background: var(--mwh-soft); border-bottom: 1px solid var(--mwh-line-soft); }
.mwh-month + .mwh-weeks { border-bottom: 1px solid var(--mwh-line-soft); }
.mwh-month + .mwh-weeks .mwh-week { font-weight: 600; color: var(--mwh-sub); border-right: 1px solid var(--mwh-line-soft); }
.mwh-days { display: flex; height: 30px; }
.mwh-day {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-right: 1px solid var(--mwh-line-soft); font-size: 10.5px; font-weight: 700; line-height: 1.15;
}
.mwh-day small { font-size: 7.5px; font-weight: 600; letter-spacing: 0.05em; color: var(--mwh-sub); }
.mwh-day.is-today { background: var(--mwh-selected); color: var(--mwh-blue); box-shadow: inset 0 2px 0 var(--mwh-blue); }
.mwh-day.is-today small { color: var(--mwh-blue); }
.mwh-grid-row { border-top: 1px solid var(--mwh-line); }
.mwh-grid-row:last-child { border-bottom: 1px solid var(--mwh-line); }
.mwh-grid-row.is-target .mwh-grid-side { background: #F0F6FF; }
.mwh-person-name { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mwh-person-team { font-size: 8.5px; color: var(--mwh-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mwh-cells { position: absolute; inset: 0; display: flex; }
.mwh-cell { flex: 1 1 0; border-right: 1px solid var(--mwh-line-soft); }
.mwh-cell.is-off { background: #EDEEF0; }
.mwh-cell.is-holiday { background: #FDEFD8; }
.mwh-bar {
  position: absolute; display: flex; align-items: center; gap: 5px; height: 29px; padding: 0 6px;
  border-left: 3px solid #579BFC; border-radius: 2px; background: #DCE9FC;
  overflow: hidden; white-space: nowrap; font-size: 10.5px;
}
.mwh-bar b { flex: 0 1 auto; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.mwh-bar--grey { background: #F0F0F1; border-left-color: #C4C4C4; }
.mwh-bar[data-drag] { cursor: grab; touch-action: pan-y; transition: box-shadow 0.15s ease; }
.mwh-bar[data-drag]:hover { box-shadow: 0 2px 8px rgba(50, 51, 56, 0.22); z-index: 2; }
.mwh-bar.is-dragging { cursor: grabbing; z-index: 3; box-shadow: 0 8px 20px rgba(50, 51, 56, 0.3); opacity: 0.94; }
.mwh-bar--alloc {
  background: var(--bg); border: 1px dashed var(--c); border-left: 3px solid var(--c);
}
.mwh-a {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px;
  border-radius: 2px; background: var(--c); color: #fff; font-size: 7.5px; font-weight: 700;
}
.mwh-rate { flex: 0 1000 auto; min-width: 0; overflow: hidden; padding: 0 5px; border: 1px solid rgba(50, 51, 56, 0.18); border-radius: 8px; background: #fff; font-size: 8px; font-weight: 600; }
.mwh-bar--leave {
  border-left-color: var(--mwh-green);
  background: repeating-linear-gradient(135deg, #D4F4E2 0 6px, #BDEBD2 6px 8px);
}
.mwh-bar--leave .mwh-ico { width: 12px; height: 12px; color: #00854D; }
.mwh-bar--holiday { justify-content: center; border: 1px solid var(--mwh-orange); background: #FFF6E8; color: #C4580A; }
.mwh-hrs { flex: none; padding: 0 5px; border-radius: 3px; background: rgba(87, 155, 252, 0.3); font-size: 8.5px; font-weight: 700; }
.mwh-bar--grey .mwh-hrs { background: rgba(50, 51, 56, 0.1); }
.mwh-cont { flex: none; color: #9699A6; font-size: 11px; }
.mwh-cont--end { margin-left: auto; }
.mwh-bar.is-focus { z-index: 2; box-shadow: 0 0 0 2px var(--mwh-blue), 0 4px 12px rgba(0, 115, 234, 0.3); }
.mwh-loads { position: absolute; left: 0; right: 0; bottom: 0; height: 17px; display: flex; }
.mwh-load { flex: 1 1 0; display: flex; align-items: center; gap: 3px; padding: 0 3px; min-width: 0; }
.mwh-load-track { flex: 1 1 auto; display: flex; height: 4px; border-radius: 2px; background: var(--mwh-line-soft); overflow: hidden; }
.mwh-load-fill { height: 100%; background: var(--mwh-green); }
.mwh-load-num { flex: none; font-size: 7.5px; font-weight: 700; color: #00A35F; }
.mwh-load.is-idle .mwh-load-num { color: #9699A6; font-weight: 600; }
.mwh-load.is-under .mwh-load-fill { background: var(--mwh-sky); }
.mwh-load.is-under .mwh-load-num { color: #2FA8E6; }
.mwh-load.is-over .mwh-load-fill { background: var(--mwh-orange); }
.mwh-load.is-over .mwh-load-num { color: #E8901A; }
.mwh-load.is-high .mwh-load-fill { background: var(--mwh-red); }
.mwh-load.is-high .mwh-load-num { color: var(--mwh-red); }
.mwh-load-fill.is-excess { opacity: 0.55; background-image: repeating-linear-gradient(135deg, transparent 0 2px, rgba(255, 255, 255, 0.75) 2px 4px); }
.mwh-load.is-leave .mwh-load-track { background: repeating-linear-gradient(135deg, #B9CDF5 0 2px, #E3EBFB 2px 4px); }
.mwh-load.is-holiday .mwh-load-track { background: repeating-linear-gradient(135deg, #F8CF9A 0 2px, #FDEBD3 2px 4px); }
.mwh-load.is-leave .mwh-load-num, .mwh-load.is-holiday .mwh-load-num { color: #9699A6; }

/* -------------------------------------------- Capacity popup + callout -- */
/* Opened from a daily workload bar. */
[data-mwh-promo] .mwh-load[data-pop] { cursor: pointer; }
[data-mwh-promo] .mwh-load[data-pop]:hover .mwh-load-track { box-shadow: 0 0 0 2px rgba(0, 115, 234, 0.2); }
.mwh-pop {
  position: absolute; z-index: 5; width: 230px;
  background: #fff; border: 1px solid var(--mwh-line); border-radius: 8px;
  box-shadow: 0 4px 17px 6px rgba(0, 0, 0, 0.1); font-size: 12px;
}
.mwh-pop--lg { width: 270px; font-size: 14px; }
.mwh-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--mwh-line-soft); }
.mwh-pop-head b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mwh-pop-head span { font-size: 0.88em; color: var(--mwh-sub); white-space: nowrap; }
.mwh-pop-head i { font-size: 1.25em; line-height: 1; color: var(--mwh-sub); cursor: pointer; }
.mwh-pop-body { padding: 7px 12px; }
.mwh-pop-row { display: flex; justify-content: space-between; padding: 3.5px 0; }
.mwh-pop-row span:first-child { color: var(--mwh-sub); }
.mwh-pop-row.is-detail span { color: #9699A6; font-size: 0.88em; }
.mwh-pop-row.is-over span, .mwh-pop-row.is-overvalue span:last-child { color: #D83A52; font-weight: 600; }
.mwh-pop-row.is-leave span { color: #00854D; }
.mwh-pop-row.is-holiday span { color: #C4580A; }
.mwh-pop-row.is-name { margin-top: -2px; }
.mwh-pop-row.is-name span { font-size: 0.88em; font-style: italic; }
.mwh-pop-sep { height: 1px; margin: 4px 0; background: var(--mwh-line-soft); }
/* "Click me" callout; gone after the first click. */
.mwh-clickme {
  position: absolute; top: 137px; left: 128px; z-index: 2; pointer-events: none;
  padding: 5px 12px; border-radius: 14px; background: #323338; color: #fff;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  animation: mwh-clickme 1.4s ease-in-out infinite;
}
.mwh-clickme::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px;
  margin-left: -5px; background: #323338; transform: rotate(45deg);
}
.mwh-clicked .mwh-clickme { display: none; }
@keyframes mwh-clickme { 50% { transform: translateY(5px); } }

/* -------------------------------------------------------------- Workload -- */
.mwh-wl { position: relative; height: 292px; }
.mwh-wl-cols { position: absolute; inset: 0 22px; display: flex; }
.mwh-wl-cols i { flex: 1 1 0; border-left: 1px solid var(--mwh-line); }
.mwh-wl-cols i:last-child { border-right: 1px solid var(--mwh-line); }
.mwh-wl-body { position: absolute; inset: 0 22px; padding-top: 24px; }
.mwh-wl-bar {
  display: flex; align-items: center; gap: 12px; margin: 0 2px; height: 76px; padding: 0 16px;
  border-radius: 4px; border-left: 5px solid #579BFC; background: #DCE9FC; white-space: nowrap; overflow: hidden;
}
.mwh-wl-bar b { font-size: 19px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.mwh-wl-bar .mwh-hrs { font-size: 15px; padding: 2px 9px; border-radius: 5px; }
.mwh-wl-loads { display: flex; height: 44px; }
.mwh-wl-loads .mwh-load { gap: 9px; padding: 0 12px 0 8px; }
.mwh-wl-loads .mwh-load-track { height: 10px; border-radius: 5px; }
.mwh-wl-loads .mwh-load-num { font-size: 16px; }
.mwh-wl-leave {
  display: flex; align-items: center; gap: 12px; height: 76px; margin: 0 2px; padding: 0 16px;
  border-left: 5px solid var(--mwh-green); border-radius: 4px; font-size: 19px; font-weight: 600;
  background: repeating-linear-gradient(135deg, #D4F4E2 0 12px, #BDEBD2 12px 15px);
}
.mwh-wl-leave .mwh-ico { width: 22px; height: 22px; color: #00854D; }
.mwh-wl-foot { border-top: 1px solid var(--mwh-line); margin: 6px -22px 0; }

/* ------------------------------------------------------------- Timesheets -- */
.mwh-ts-main { position: relative; }
.mwh-h { font-size: 13px; font-weight: 600; white-space: nowrap; }
.mwh-ts-main .mwh-bar1 { gap: 5px; padding: 0 8px 0 10px; }
.mwh-ts-main .mwh-bar1 .mwh-plain, .mwh-ts-main .mwh-bar1 .mwh-switch, .mwh-ts-main .mwh-bar1 .mwh-select { font-size: 10px; }
.mwh-ts-main .mwh-bar1 .mwh-plain { gap: 3px; }
.mwh-ts-main .mwh-bar1 .mwh-switch { gap: 3px; font-size: 9px; }
.mwh-ts-main .mwh-bar1 .mwh-switch .mwh-toggle { transform: scale(0.85); margin: 0 -2px; }
.mwh-ts-main .mwh-bar1 .mwh-select { padding: 0 6px; }
.mwh-ts-main .mwh-bar1 .mwh-chips span { padding: 0 6px; font-size: 10.5px; }
.mwh-ts-main .mwh-bar1 .mwh-range { font-size: 11px; }
.mwh-ts-main .mwh-bar1 .mwh-btn--sq { width: 22px; }
.mwh-btn--sq { width: 24px; height: 24px; padding: 0; }
.mwh-chips--plain span { cursor: default; color: var(--mwh-ink); font-weight: 400; }
.mwh-chips--plain span.is-on { color: var(--mwh-ink); box-shadow: inset 0 0 0 1px var(--mwh-blue); }
.mwh-chips--plain span:hover { background: none; }
.mwh-chips--plain span.is-on:hover { background: var(--mwh-selected); }
.mwh-ts-filter { gap: 16px; height: 30px; margin: 6px 8px; padding: 0 12px; border: 1px solid var(--mwh-line-soft); border-radius: 5px; background: var(--mwh-soft); }
.mwh-tschip { padding: 1px 8px; border-radius: 9px; background: var(--mwh-selected); color: var(--mwh-blue); font-size: 9px; white-space: nowrap; }
.mwh-count--red { margin-left: 2px; background: #D83A52; }
.mwh-ts-row { display: grid; grid-template-columns: 1fr 130px 70px repeat(7, 54px); height: 27px; border-bottom: 1px solid var(--mwh-line-soft); }
.mwh-ts-row > span { display: flex; align-items: center; justify-content: center; font-size: 10.5px; }
.mwh-ts-row > span:first-child { justify-content: flex-start; gap: 7px; padding-left: 10px; overflow: hidden; white-space: nowrap; }
.mwh-ts-row > span:nth-child(3) { border-right: 2px solid var(--mwh-line); }
.mwh-ts-row > span:nth-child(n+4) { border-right: 1px solid #fff; }
.mwh-ts-row i { color: #B4B7C4; }
.mwh-ts-row small { font-size: 9px; color: var(--mwh-sub); }
.mwh-ts-row b { font-weight: 600; }
.mwh-ts-row.is-head { height: 30px; border-bottom: 1px solid var(--mwh-line); }
.mwh-ts-row.is-head > span { flex-direction: column; font-size: 8px; font-weight: 700; line-height: 1.2; color: var(--mwh-sub); background: var(--mwh-soft); }
.mwh-ts-row.is-head > span:nth-child(-n+2) { background: none; }
.mwh-ts-row.is-head > span:nth-child(3) { background: none; }
.mwh-ts-row.is-head b { font-size: 10.5px; color: var(--mwh-ink); }
.mwh-ts-row.is-head small { font-size: 7px; letter-spacing: 0.04em; }
.mwh-ts-row.is-person { background: #F9FAFC; cursor: pointer; }
.mwh-ts-row.is-person:hover > :first-child b { color: var(--mwh-blue); }
.mwh-ts-row.is-child > :first-child { padding-left: 46px; }
.mwh-ts-row.is-total { height: 29px; border-top: 2px solid var(--mwh-line); border-bottom: 0; }
.mwh-ts-row.is-total > :first-child { color: var(--mwh-sub); }
.mwh-ts-row > span.is-off { background: #ECEEF5; }
.mwh-ts-row > span.is-ok { background: #D5F2E3; }
.mwh-ts-row > span.is-bad { background: #F9DCE1; }
.mwh-ts-row > span.is-leave { background: #FDF1E3; }
.mwh-ts-row [data-cell] { transition: box-shadow 0.12s ease; }
.mwh-ts-row [data-cell]:hover { box-shadow: inset 0 0 0 2px rgba(0, 115, 234, 0.5); }
.mwh-ts-sum { font-weight: 700; }
.mwh-caret { display: inline-flex; width: 12px; transition: transform 0.15s ease; }
.mwh-caret .mwh-ico { width: 12px; height: 12px; color: var(--mwh-ink); }
.mwh-ts-row.is-closed .mwh-caret { transform: rotate(-90deg); }
.mwh-pct {
  display: inline-flex; align-items: center; justify-content: center; width: 106px; height: 11px; border-radius: 6px;
  background: linear-gradient(90deg, #B5E3CC var(--p), #ECEEF5 var(--p)); font-size: 7.5px; font-weight: 700;
}
.mwh-pct.is-over { background: #F3C3CB; }
.mwh-clickme--ts { top: 139px; left: 431px; }
/* Worklog detail dialog, opened from a day cell. */
.mwh-wd-layer { position: absolute; inset: 0; z-index: 6; }
.mwh-wd-back { position: absolute; inset: 0; background: rgba(41, 47, 76, 0.5); }
.mwh-wd {
  position: absolute; top: 56px; left: 50%; width: 560px; margin-left: -280px;
  background: #fff; border-radius: 10px; box-shadow: 0 10px 34px rgba(20, 24, 40, 0.4); overflow: hidden;
}
.mwh-wd-head { align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid var(--mwh-line-soft); }
.mwh-wd-name { font-size: 14px; font-weight: 700; }
.mwh-wd-total { padding: 3px 8px; border-radius: 4px; background: var(--mwh-soft); font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.mwh-wd-x { display: inline-flex; padding: 5px; cursor: pointer; }
.mwh-wd-x .mwh-ico { color: var(--mwh-ink); }
.mwh-wd-body { max-height: 230px; overflow: auto; padding: 4px 16px 10px; }
.mwh-wd-entry { padding: 9px 0; border-bottom: 1px solid var(--mwh-line-soft); font-size: 11.5px; }
.mwh-wd-entry:last-child { border-bottom: 0; }
.mwh-wd-entry b { font-weight: 600; }
.mwh-wd-meta { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--mwh-sub); white-space: nowrap; }
.mwh-wd-meta i { color: #C3C6D4; }
.mwh-wd-meta u { width: 7px; height: 7px; border-radius: 50%; }
.mwh-wd-hrs { flex: none; padding: 2px 7px; border-radius: 4px; background: #DCE9FC; color: #0060B9; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.mwh-wd-entry .mwh-p { margin-top: 5px; color: var(--mwh-sub); }

/* ---------------------------------------------------------------- Dialogs -- */
.mwh-back { position: relative; padding: 26px 30px; background: #7A7E8C; }
.mwh-back--grid::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 95px, rgba(255, 255, 255, 0.14) 95px 96px),
    linear-gradient(rgba(255, 255, 255, 0.1) 0 0) 0 150px / 100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.1) 0 0) 0 330px / 100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.1) 0 0) 0 520px / 100% 1px no-repeat;
}
.mwh-back--rows::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 37px, rgba(255, 255, 255, 0.16) 37px 38px);
}
.mwh-dialog {
  position: relative; padding: 22px 28px 20px; background: #fff; border-radius: 14px;
  box-shadow: 0 12px 36px rgba(20, 24, 40, 0.4); font-size: 13px;
}
.mwh-dialog label { margin: 13px 0 6px; font-size: 12.5px; font-weight: 600; }
.mwh-dialog label small { font-size: 11px; font-weight: 400; color: var(--mwh-sub); }
.mwh-dialog .mwh-row > label { margin-bottom: 6px; }
.mwh-dialog-x { position: absolute; top: 22px; right: 24px; }
.mwh-dialog-x .mwh-ico { width: 13px; height: 13px; color: var(--mwh-ink); }
.mwh-dialog-title { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.mwh-dialog-sub { margin-top: 8px !important; color: var(--mwh-sub); }
.mwh-dialog-sub + .mwh-row > label { margin-top: 2px; }
.mwh-dialog-note { font-size: 11px; color: var(--mwh-sub); }
.mwh-dialog-foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 16px; }
.mwh-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 22px; margin-top: 7px; padding: 0 7px;
  border-radius: 3px; background: var(--mwh-selected); font-size: 12.5px; white-space: nowrap;
}
.mwh-chip i { display: inline-flex; cursor: pointer; }
.mwh-chip i:hover .mwh-ico { color: var(--mwh-red); }
.mwh-chip .mwh-ico { color: var(--mwh-ink); }
.mwh-cat {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border: 1px solid #C3C6D4; border-radius: 13px; font-size: 12.5px; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mwh-cat i { width: 7px; height: 7px; border-radius: 50%; }
.mwh-cat:hover { background: #F0F6FF; }
.mwh-cat.is-on { background: var(--mwh-selected); border-color: var(--mwh-blue); box-shadow: 0 0 0 1px var(--mwh-blue); }
.mwh-cols { display: grid; grid-template-columns: 0.75fr 1fr 1fr; gap: 14px; }
.mwh-summary { margin-top: 14px; padding: 10px 12px; border-radius: 6px; background: var(--mwh-soft); font-size: 10.5px; color: var(--mwh-sub); }
.mwh-summary b { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 600; color: var(--mwh-ink); }
.mwh-dialog--leave { padding: 0; }
.mwh-dialog-body { padding: 24px 30px 22px; border-bottom: 1px solid var(--mwh-line); }
.mwh-dialog--leave .mwh-dialog-x { top: 30px; right: 34px; }
.mwh-dialog--leave .mwh-dialog-foot { margin: 0; padding: 16px 30px 18px; }
.mwh-leave-box { display: flex; gap: 18px; margin-top: 16px; padding: 4px 18px 16px; border-radius: 8px; background: #F0F0F1; }
.mwh-leave-box .mwh-row > i { color: var(--mwh-sub); }
.mwh-leave-sum { flex: none; width: 170px; margin-top: 12px; padding-left: 18px; border-left: 1px solid var(--mwh-line); }
.mwh-leave-sum span { display: block; font-size: 12px; color: var(--mwh-sub); }
.mwh-leave-sum b { display: block; margin: 5px 0 3px; font-size: 14px; font-weight: 600; }
.mwh-leave-sum small { display: block; margin-bottom: 12px; font-size: 9.5px; color: var(--mwh-sub); }

/* ----------------------------------------------------------- Time Tracking -- */
.mwh-tab { display: inline-flex; align-items: center; height: 24px; padding: 0 7px; border-radius: 4px; font-size: 11.5px; cursor: pointer; }
.mwh-tab:hover { background: var(--mwh-line-soft); }
.mwh-tab.is-on { background: var(--mwh-blue); color: #fff; }
.mwh-tt-body { position: relative; min-height: 330px; }
.mwh-tt-pad { padding: 14px 12px; }
.mwh-tt-meta { padding: 0 8px 12px; color: var(--mwh-sub); }
.mwh-tt-meta b { font-size: 12.5px; color: var(--mwh-ink); }
.mwh-tt-table { border: 1px solid var(--mwh-line); border-radius: 6px; overflow: hidden; }
.mwh-tt-row { display: grid; grid-template-columns: 1fr repeat(7, 46px) 200px; min-height: 30px; border-top: 1px solid var(--mwh-line); }
.mwh-tt-row > span { display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--mwh-line-soft); font-size: 10px; }
.mwh-tt-row > span:first-child { justify-content: flex-start; gap: 8px; padding: 0 8px; border-left: 0; }
.mwh-tt-row > span.is-off { background: var(--mwh-soft); }
.mwh-tt-row i { color: #B4B7C4; }
.mwh-tt-row small { display: block; font-size: 8.5px; color: var(--mwh-sub); }
.mwh-tt-row.is-head { min-height: 40px; border-top: 0; }
.mwh-tt-row.is-head > span { flex-direction: column; border-left: 0; font-size: 8.5px; font-weight: 700; }
.mwh-tt-row.is-head > span:first-child { flex-direction: row; }
.mwh-tt-row.is-head small { font-size: 7px; letter-spacing: 0.05em; }
.mwh-tt-row.is-head b { font-size: 11.5px; }
.mwh-tt-row.is-head u { font-size: 6.5px; color: var(--mwh-blue); }
.mwh-tt-row.is-total > span:first-child { color: var(--mwh-sub); }
.mwh-tt-pill { flex: none; padding: 1px 5px; border-radius: 3px; background: #DCE9FC; color: #0060B9; font-size: 9px; font-weight: 700; white-space: nowrap; }
.mwh-tt-pill.is-total { background: #D5F2E3; color: #007038; }
.mwh-stack { display: flex; padding: 8px 12px 20px; }
.mwh-stack-col { flex: 1 1 0; min-width: 0; min-height: 250px; border-right: 1px solid var(--mwh-line-soft); }
.mwh-stack-col:last-child { border-right: 0; }
.mwh-stack-col.is-off { background: var(--mwh-soft); }
.mwh-stack-head { display: flex; flex-direction: column; align-items: center; gap: 2px; height: 58px; padding-top: 8px; border-bottom: 1px solid var(--mwh-line); }
.mwh-stack-head small { font-size: 8px; font-weight: 700; letter-spacing: 0.05em; color: var(--mwh-sub); }
.mwh-stack-head b { font-size: 10.5px; font-weight: 600; }
.mwh-stack-head .mwh-row { gap: 5px; margin-top: 2px; }
.mwh-stack-head u { font-size: 8px; color: var(--mwh-red); }
.mwh-add { display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px; border-radius: 3px; background: var(--mwh-blue); }
.mwh-add .mwh-ico { width: 8px; height: 8px; color: #fff; stroke-width: 2.4; }
.mwh-stack-body { padding: 5px 4px 0; }
.mwh-log {
  margin-bottom: 5px; padding: 6px 7px 8px; border: 1px solid var(--mwh-line); border-radius: 4px; background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.mwh-log:hover { box-shadow: 0 3px 10px rgba(50, 51, 56, 0.16); transform: translateY(-1px); }
.mwh-log .mwh-row { gap: 6px; font-size: 10px; white-space: nowrap; }
.mwh-log .mwh-row .mwh-grow { overflow: hidden; text-overflow: ellipsis; }
.mwh-log > b, .mwh-log > small, .mwh-log > .mwh-p { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mwh-log > b { margin: 4px 0 2px 24px; font-size: 10.5px; font-weight: 600; }
.mwh-log > small { font-size: 7.5px; color: var(--mwh-sub); }
.mwh-log > .mwh-p { margin-top: 5px; font-size: 10px; color: var(--mwh-sub); }
.mwh-log-new { display: flex; align-items: center; justify-content: center; height: 22px; border: 1px dashed #B4B7C4; border-radius: 4px; color: var(--mwh-sub); font-weight: 700; }

/* --------------------------------------------------------------- Capacity -- */
.mwh-scheme { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--mwh-line-soft); }
.mwh-scheme + .mwh-fine { margin-top: 8px; }
.mwh-row + .mwh-scheme { margin-top: 6px; }
.mwh-scheme:nth-last-child(2) { border-bottom: 0; }
.mwh-item-name { display: flex; align-items: center; font-size: 11.5px; font-weight: 600; }
.mwh-item-sub { margin-top: 2px; font-size: 9.5px; color: var(--mwh-sub); }
.mwh-daychips { display: flex; gap: 2px; margin-right: 4px; }
.mwh-daychip { display: flex; flex-direction: column; align-items: center; width: 27px; padding: 2px 0; border-radius: 3px; background: var(--mwh-selected); font-size: 8px; line-height: 1.25; }
.mwh-daychip b { font-size: 8.5px; }
.mwh-daychip.is-off { background: var(--mwh-line-soft); color: var(--mwh-sub); }
.mwh-as-row {
  display: grid; grid-template-columns: 1fr 1.9fr 78px; align-items: center; height: 31px; padding: 0 8px;
  border-top: 1px solid var(--mwh-line); font-size: 11.5px; transition: background 0.15s ease;
}
.mwh-as-row:hover { background: #F5F9FF; }
.mwh-as-row > span { display: flex; align-items: center; gap: 8px; }
.mwh-as-row > span:last-child { justify-content: flex-end; gap: 12px; }
.mwh-as-row small { font-size: 9px; color: var(--mwh-sub); }
.mwh-as-row.is-head { height: 30px; margin-top: 8px; border-top: 0; background: none; font-size: 10px; font-weight: 600; color: var(--mwh-sub); }
.mwh-as-foot { gap: 14px; padding: 9px 8px 10px; border-top: 1px solid var(--mwh-line); font-size: 10.5px; color: var(--mwh-sub); }
.mwh-as-foot .is-disabled { color: #B4B7C4; }

/* ----------------------------------------------------------------- Report -- */
.mwh-rep-top { padding: 10px 14px 10px; border-bottom: 1px solid var(--mwh-line); }
.mwh-rep-top .mwh-subtitle { font-size: 10px; white-space: nowrap; }
.mwh-rep-top .mwh-subtitle span + span { margin-left: 12px; }
.mwh-rep { padding: 10px 14px 16px; }
.mwh-rep-period { margin-bottom: 6px; font-size: 10.5px; color: var(--mwh-sub); }
.mwh-rep-table { border: 1px solid var(--mwh-line); border-radius: 6px; overflow: hidden; }
.mwh-rep-row { display: grid; grid-template-columns: 104px 80px 80px 80px repeat(29, 1fr); height: 19px; border-top: 1px solid var(--mwh-line-soft); }
.mwh-rep-row > span { display: flex; align-items: center; justify-content: center; font-size: 8px; text-align: center; }
.mwh-rep-row > span:nth-child(-n+4) { border-right: 1px solid var(--mwh-line); font-size: 9.5px; }
.mwh-rep-row > span.is-off { background: #ECEEF5; color: var(--mwh-sub); }
.mwh-rep-row.is-months { height: 18px; border-top: 0; font-weight: 700; }
.mwh-rep-row.is-months > span { font-size: 8.5px; }
.mwh-rep-row.is-months > span:nth-child(-n+3) { border-right: 0; }
.mwh-rep-row.is-head { height: 36px; border-top: 0; }
.mwh-rep-row.is-head > span { font-size: 8.5px; font-weight: 600; line-height: 1.25; }
.mwh-rep-row.is-head > span:nth-child(-n+4) { padding: 0 6px; font-size: 8px; font-weight: 700; }
.mwh-rep-row:hover > span:first-child { color: var(--mwh-blue); }
.mwh-heat { color: #fff; font-weight: 700; opacity: 0; transition: opacity 0.35s ease calc(var(--d) * 28ms), filter 0.15s ease; }
.mwh-in .mwh-heat { opacity: 1; }
.mwh-heat:hover { filter: brightness(0.92); }
.mwh-heat--b { background: var(--mwh-sky); }
.mwh-heat--g { background: var(--mwh-green); }
.mwh-heat--o { background: var(--mwh-orange); }
.mwh-heat--r { background: var(--mwh-red); }
.mwh-rep-help { margin-top: 12px; font-size: 10px; color: var(--mwh-sub); }
.mwh-rep-help > b { display: block; margin-bottom: 5px; font-size: 10.5px; color: var(--mwh-ink); }
.mwh-rep-help .mwh-p { margin-bottom: 10px; }
.mwh-rep-help .mwh-p b { color: var(--mwh-ink); }
.mwh-code { padding: 1px 4px; border: 1px solid var(--mwh-line); border-radius: 3px; font-family: 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; font-size: 8.5px; }
.mwh-rep-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.mwh-rep-legend .mwh-li { display: flex; align-items: center; gap: 7px; font-size: 9.5px; }
.mwh-rep-legend i { flex: none; width: 10px; height: 10px; border-radius: 2px; }

/* ------------------------------------------------------------------ Roles -- */
.mwh-tabs { display: inline-flex; gap: 20px; margin: 0 0 12px 10px; border-bottom: 1px solid var(--mwh-line); }
.mwh-tabs span { padding: 3px 4px 7px; margin-bottom: -1px; font-size: 12.5px; }
.mwh-tabs span.is-on { border-bottom: 2px solid var(--mwh-blue); }
.mwh-empty { margin-top: 16px !important; padding-bottom: 6px; font-size: 11px; }
.mwh-panel .mwh-card { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.mwh-panel .mwh-card:hover { border-color: #A9C8F5; box-shadow: 0 2px 10px rgba(0, 115, 234, 0.1); }

/* ------------------------------------------------------- Plan Item panel -- */
.mwh-plan { display: flex; height: 452px; overflow: hidden; }
.mwh-plan .mwh-grid-side { width: 132px; }
.mwh-pi { flex: none; width: 236px; border-right: 2px solid var(--mwh-line); background: #fff; }
.mwh-pi-head { height: 38px; padding: 0 12px; font-size: 13px; }
.mwh-pi-head b { font-weight: 600; }
.mwh-pi-filters { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 0 10px 10px; border-bottom: 1px solid var(--mwh-line-soft); }
.mwh-pi-filters > .mwh-row { width: 100%; }
.mwh-pi-field { display: flex; align-items: center; width: 100%; font-size: 10px; color: var(--mwh-sub); }
.mwh-pi-field > span:first-child { flex: none; width: 52px; }
.mwh-pi-field .mwh-select { height: 23px; font-size: 10.5px; color: var(--mwh-ink); }
.mwh-pi-count { padding: 8px 10px 4px; font-size: 9.5px; color: var(--mwh-sub); }
.mwh-pi-list { padding: 0 8px; }
.mwh-pi-item {
  margin-top: 5px; padding: 6px 8px 5px 12px; border: 1px solid var(--mwh-line); border-left: 3px solid #579BFC; border-radius: 3px;
  font-size: 9.5px; color: var(--mwh-sub); cursor: pointer; transition: background 0.15s ease, box-shadow 0.15s ease;
}
.mwh-pi-item--grey { border-left-color: #C4C4C4; }
.mwh-pi-item:hover { background: #F0F6FF; box-shadow: 0 2px 6px rgba(50, 51, 56, 0.14); }
.mwh-pi-item b { font-size: 10.5px; font-weight: 600; color: var(--mwh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mwh-pi-item .mwh-row + .mwh-row { margin-top: 3px; }
.mwh-pi-item .mwh-row > span { display: flex; align-items: center; gap: 5px; }
.mwh-pi-item .mwh-ico { width: 10px; height: 10px; }
.mwh-pi-item .mwh-hrs { padding: 1px 6px; border-radius: 8px; background: var(--mwh-selected); font-size: 9px; }
.mwh-ini { padding: 1px 4px; border-radius: 7px; background: var(--mwh-line-soft); font-size: 7.5px; font-weight: 600; }

/* ------------------------------------------------------ Submission status -- */
.mwh-arrow { color: var(--mwh-ink); font-size: 13px; }
.mwh-ss { padding: 10px 10px 14px; }
.mwh-ss-pct { display: flex; align-items: baseline; gap: 6px; font-size: 10.5px; color: var(--mwh-sub); }
.mwh-ss-pct b { font-size: 17px; font-weight: 600; color: var(--mwh-ink); }
.mwh-ss-bar { display: flex; gap: 1px; height: 5px; margin-top: 8px; border-radius: 3px; overflow: hidden; }
.mwh-ss-bar i { flex: 0 0 0; transition: flex-grow 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mwh-in .mwh-ss-bar i { flex-grow: 1; }
.mwh-ss-bar i:nth-child(2) { transition-delay: 0.12s; }
.mwh-ss-bar i:nth-child(3) { transition-delay: 0.24s; }
.mwh-ss-bar i:nth-child(4) { transition-delay: 0.36s; }
.mwh-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 8px 0; }
.mwh-stat { padding: 8px 10px 9px; border: 1px solid var(--mwh-line); border-radius: 8px; }
.mwh-stat b { display: block; font-size: 16px; font-weight: 600; }
.mwh-stat span { display: flex; align-items: center; font-size: 9px; color: var(--mwh-sub); }
.mwh-ss-row {
  display: grid; grid-template-columns: 1.35fr 1.1fr 54px 1.35fr 1fr 2.3fr; align-items: center; column-gap: 14px;
  height: 31px; padding: 0 10px; border-top: 1px solid var(--mwh-line-soft); font-size: 10.5px; transition: background 0.15s ease;
}
.mwh-ss-row > span { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.mwh-ss-row > span:nth-child(3) { justify-content: flex-end; }
.mwh-ss-row > span .mwh-dot { margin-right: 0; }
.mwh-ss-row b { font-weight: 600; }
.mwh-ss-row:hover { background: #F5F9FF; }
.mwh-ss-row.is-head { height: 26px; border-top: 0; background: var(--mwh-soft); font-size: 9px; font-weight: 600; color: var(--mwh-sub); }
.mwh-ss-foot { padding: 10px 2px 0; font-size: 10.5px; color: var(--mwh-sub); }

/* ------------------------------------------------------------- Docs views -- */
.mwh:not([data-mwh-promo]) .mwh-tt-body { min-height: 0; }
.mwh-page-head { padding: 14px 16px 12px; border-bottom: 1px solid var(--mwh-line); }
.mwh-ts-row.is-flat { cursor: default; background: none; }
.mwh-ts-row.is-flat > :first-child { padding-left: 26px; }
.mwh-tag--blue { border-color: var(--mwh-blue); color: var(--mwh-blue); }
.mwh-dot--lg { width: 9px; height: 9px; margin-right: 0; }
.mwh-pill { display: inline-flex; align-items: center; height: 15px; margin: 3px 4px 0 0; padding: 0 5px; border-radius: 3px; font-size: 9px; font-weight: 600; }
.mwh-pill--green { background: #D5F2E3; color: #007038; }
.mwh-pill--blue { background: var(--mwh-selected); color: #0060B9; }
.mwh-act .mwh-ico, .mwh-act.mwh-ico { vertical-align: -2px; }
.mwh-check { flex: none; width: 12px; height: 12px; border: 1px solid #C3C6D4; border-radius: 2px; background: #fff; }
.mwh-radio { flex: none; width: 12px; height: 12px; margin-top: 2px; border: 1px solid #C3C6D4; border-radius: 50%; }
.mwh-radio.is-on { border: 4px solid var(--mwh-blue); }
.mwh-seg--pick { padding: 2px; border: 1px solid #C3C6D4; background: #fff; }
.mwh-seg--pick span { height: 22px; font-size: 11.5px; color: var(--mwh-ink); }
.mwh-seg--pick span.is-on { background: var(--mwh-blue); color: #fff; box-shadow: none; }
.mwh-date { gap: 14px; color: var(--mwh-ink); font-family: 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; }
.mwh-tabs--wide { display: flex; margin: 12px 0 0; gap: 0; border-bottom: 1px solid var(--mwh-line); }
.mwh-tabs--wide span { padding: 4px 14px 8px; font-size: 11px; }
.mwh-tabs--wide span.is-on { color: var(--mwh-blue); font-weight: 600; }

/* My Work */
.mwh-mw { padding: 12px 16px 16px; }
.mwh-mw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.mwh-mw-stat { min-height: 58px; padding: 8px 10px; border: 1px solid var(--mwh-line); border-radius: 6px; }
.mwh-mw-stat span { display: block; font-size: 9.5px; color: var(--mwh-sub); }
.mwh-mw-stat b { display: block; font-size: 17px; font-weight: 600; line-height: 1.3; }
.mwh-mw-stat b i { font-size: 11.5px; font-weight: 400; color: var(--mwh-sub); }
.mwh-mw-stat small { font-size: 9px; color: var(--mwh-sub); }
.mwh-mw-stat small.is-bad { color: #D83A52; font-weight: 600; }
.mwh-mw-chart { position: relative; height: 170px; margin: 10px 0 0 30px; }
.mwh-mw-line { position: absolute; left: 0; right: 0; height: 1px; background: var(--mwh-line-soft); }
.mwh-mw-line span { position: absolute; left: -28px; top: -7px; font-size: 9px; color: var(--mwh-sub); }
.mwh-mw-cols { position: absolute; inset: 18px 0 22px; display: flex; }
.mwh-mw-col { position: relative; flex: 1 1 0; display: flex; justify-content: center; }
.mwh-mw-col.is-off { background: rgba(236, 238, 245, 0.7); }
.mwh-mw-col s {
  position: absolute; bottom: 0; width: 22px; height: 0; border-radius: 2px 2px 0 0; background: var(--mwh-blue);
  text-decoration: none; transition: height 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mwh-in .mwh-mw-col s { height: var(--h); }
.mwh-mw-col.is-hatch s { background: repeating-linear-gradient(135deg, #676879 0 2px, #fff 2px 4px); box-shadow: inset 0 0 0 1px #676879; }
.mwh-mw-col s b { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); font-size: 9px; font-weight: 700; white-space: nowrap; }
.mwh-mw-col em { position: absolute; bottom: -17px; font-size: 9.5px; color: var(--mwh-sub); white-space: nowrap; }
.mwh-mw-col.is-today em { color: var(--mwh-ink); font-weight: 700; }
.mwh-mw-col.is-today em::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: var(--mwh-blue); }
.mwh-mw-legend { display: flex; gap: 14px; margin-top: 6px; font-size: 9.5px; color: var(--mwh-sub); }
.mwh-mw-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }
.mwh-mw-legend i.is-hatch { background: repeating-linear-gradient(135deg, #676879 0 1.5px, #fff 1.5px 3px); box-shadow: inset 0 0 0 1px #676879; }

/* Timesheet Progress */
.mwh-pg-modes { min-height: 26px; margin: 8px 8px 6px; }
.mwh-chips--pick span { cursor: default; }
.mwh-chips--pick span[data-pmode] { cursor: pointer; }
.mwh-pg-legend { display: flex; align-items: center; gap: 10px; font-size: 9px; color: var(--mwh-sub); }
.mwh-pg-legend b { font-weight: 600; }
.mwh-pg-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 2px; vertical-align: -1px; }
.mwh-pg { margin: 0 8px 10px; }
.mwh-pg-row { display: grid; grid-template-columns: 1.1fr 92px 86px 92px 3fr; align-items: center; height: 31px; border-bottom: 1px solid var(--mwh-line-soft); font-size: 11px; }
.mwh-pg.is-heat .mwh-pg-row { grid-template-columns: 1.1fr 92px 86px 92px 1.2fr repeat(7, 46px); }
.mwh-pg-row > span { display: flex; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; padding: 0 8px; white-space: nowrap; }
.mwh-pg-row > span:first-child, .mwh-pg-row > span:nth-child(5) { justify-content: flex-start; }
.mwh-pg-row > span:nth-child(n+6) { justify-content: center; padding: 0; }
.mwh-pg-row > span.is-off { background: #ECEEF5; }
.mwh-pg-row > span.is-billable { color: #00854D; }
.mwh-pg-row i { color: #B4B7C4; }
.mwh-pg-row.is-head { height: 30px; border-bottom: 1px solid var(--mwh-line); font-size: 8px; font-weight: 700; color: var(--mwh-sub); }
.mwh-pg-row.is-head > span:nth-child(n+6) { flex-direction: column; gap: 0; line-height: 1.2; }
.mwh-pg-row.is-head b { font-size: 10px; color: var(--mwh-ink); }
.mwh-pg-row.is-head small { font-size: 7.5px; }
.mwh-pg-row.is-total { border-top: 2px solid var(--mwh-line); border-bottom: 0; font-weight: 700; }
.mwh-pg-row.is-total > :first-child { color: var(--mwh-sub); }
.mwh-pct--wide { width: 100%; height: 14px; border-radius: 7px; font-size: 8.5px; }
.mwh-delta { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 15px; padding: 0 4px; border-radius: 3px; font-size: 8.5px; font-weight: 700; }
.mwh-delta--g { background: #D5F2E3; }
.mwh-delta--o { background: #FDEBD0; }
.mwh-delta--r { background: #F9D5DB; }
.mwh-delta--b { background: #DDF2FD; }

/* Pending approvals */
.mwh-bar1 .mwh-title { font-size: 15px; white-space: nowrap; }
.mwh-ap { display: flex; height: 520px; overflow: hidden; }
.mwh-ap-list { flex: none; width: 250px; border-right: 1px solid var(--mwh-line); }
.mwh-ap-all { height: 34px; padding: 0 10px; font-size: 10.5px; }
.mwh-ap-all .mwh-btn { height: 22px; font-size: 10px; background: var(--mwh-line-soft); border-color: transparent; }
.mwh-ap-item { padding: 9px 10px; background: var(--mwh-selected); border-top: 1px solid var(--mwh-line); border-bottom: 1px solid var(--mwh-line); }
.mwh-ap-item b { display: block; font-size: 11.5px; font-weight: 600; }
.mwh-ap-item small { font-size: 9.5px; color: var(--mwh-sub); }
.mwh-ap-hours { font-size: 11.5px; font-weight: 700; color: var(--mwh-blue); }
.mwh-ap-badge { flex: none; padding: 2px 6px; border-radius: 3px; background: var(--mwh-orange); color: #fff; font-size: 9.5px; white-space: nowrap; }
.mwh-ap-detail { flex: 1 1 auto; min-width: 0; padding: 16px 18px; font-size: 10.5px; }
.mwh-ap-detail .mwh-title { font-size: 13.5px; }
.mwh-ap-meta { display: flex; gap: 20px; margin: 14px 12px 0; }
.mwh-ap-meta span { display: block; font-size: 10px; color: var(--mwh-sub); }
.mwh-ap-meta b { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; }
.mwh-ap-meta b.is-blue, .mwh-ap-day .mwh-row em { color: var(--mwh-blue); }
.mwh-ap-meta b.is-green, .mwh-ap-cat em { color: #00854D; }
.mwh-ap-when { margin-top: 14px; color: var(--mwh-sub); }
.mwh-ap-note { margin-top: 8px; padding: 8px 10px; border-radius: 4px; background: #F0F4FC; }
.mwh-ap-note b { display: block; margin-bottom: 3px; font-weight: 600; }
.mwh-ap-h { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--mwh-line); }
.mwh-ap-h b { font-size: 12px; font-weight: 600; }
.mwh-ap-h small { color: var(--mwh-sub); }
.mwh-ap-cat { margin: 10px 0 4px; }
.mwh-ap-cat > b { display: block; margin-bottom: 5px; font-weight: 600; }
.mwh-ap-cat .mwh-dot { margin-right: 5px; }
.mwh-ap-cat em { font-size: 9px; }
.mwh-ap-day { margin-bottom: 7px; border: 1px solid var(--mwh-line); border-radius: 5px; }
.mwh-ap-day > .mwh-row { height: 26px; padding: 0 10px; font-weight: 600; }
.mwh-ap-day > .mwh-row em { font-size: 9.5px; font-weight: 600; }
.mwh-ap-entry { display: flex; align-items: center; padding: 8px 10px 10px; border-top: 1px solid var(--mwh-line); }
.mwh-ap-entry b { font-weight: 600; }
.mwh-ap-entry small { display: block; margin: 3px 0; font-size: 8.5px; color: var(--mwh-sub); }
.mwh-ap-entry span { display: flex; align-items: center; }
.mwh-ap-entry .mwh-dot { margin-right: 5px; }
.mwh-ap-entry u { display: block; margin: 7px 0 0 6px; font-size: 9px; font-style: italic; color: var(--mwh-sub); }

/* My Leaves */
.mwh-lv { padding: 12px 14px 12px; }
.mwh-lv-head { margin-top: 10px; }
.mwh-lv-head .mwh-title { font-size: 13.5px; }
.mwh-lv-tabs { gap: 6px; margin: 8px 0; }
.mwh-lv-tabs .mwh-btn { height: 20px; padding: 0 8px; font-size: 10px; }
.mwh-lv-row {
  display: grid; grid-template-columns: 1.25fr 1.25fr 60px 1.9fr 1fr 0.65fr 130px; align-items: center; column-gap: 8px;
  min-height: 29px; padding: 0 12px; border-top: 1px solid var(--mwh-line); font-size: 10.5px; transition: background 0.15s ease;
}
.mwh-lv-row:hover { background: #F5F9FF; }
.mwh-lv-row > span { display: flex; align-items: center; gap: 4px; }
.mwh-lv-row > span:last-child { gap: 12px; }
.mwh-lv-row i { color: #B4B7C4; }
.mwh-lv-row.is-head { border-top: 0; background: none; font-size: 10px; font-weight: 600; color: var(--mwh-sub); }
.mwh-lv-row.is-head .mwh-ico { width: 10px; height: 10px; }
.mwh-lv-recalled { padding: 2px 6px; border-radius: 3px; background: #323338; color: #fff; font-size: 9.5px; }
.mwh-lv-foot { gap: 14px; padding: 9px 12px 0; font-size: 10px; color: var(--mwh-sub); }

/* Reports gallery */
.mwh-rg .mwh-page-head { border-bottom: 0; padding-bottom: 0; }
.mwh-rg .mwh-tabs--wide { margin: 12px 16px 0; }
.mwh-rg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 16px 16px; }
.mwh-rg-card {
  padding: 0 10px 12px; border: 1px solid var(--mwh-line); border-top: 2px solid var(--c); border-radius: 5px; background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mwh-rg-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(50, 51, 56, 0.16); }
.mwh-rg-card > b { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; }
.mwh-rg-card > span { display: block; font-size: 9.5px; line-height: 1.5; color: var(--mwh-sub); }
.mwh-rg-art { display: flex; align-items: flex-end; justify-content: center; gap: 7px; height: 90px; padding: 22px 26px 16px; }
.mwh-rg-art i { flex: 0 0 11px; border-radius: 2px 2px 0 0; background: var(--c); }
.mwh-rg-art.is-rows { flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; padding: 16px 30px; }
.mwh-rg-art.is-rows i { flex: none; height: 8px; border-radius: 2px; }
.mwh-rg-art.is-cal { display: grid; grid-template-columns: repeat(5, 20px); align-content: center; gap: 3px; }
.mwh-rg-art.is-cal i { height: 9px; border-radius: 2px; opacity: 0.18; }
.mwh-rg-art.is-cal i.on { opacity: 0.7; }

/* My Account */
.mwh-acc { padding-bottom: 16px; }
.mwh-acc .mwh-page-head { border-bottom: 0; }
.mwh-acc > .mwh-card { margin: 0 16px 10px; }
.mwh-acc-role { display: inline-block; margin-top: 8px; padding: 2px 6px; border-radius: 3px; background: var(--mwh-selected); font-size: 9.5px; font-weight: 600; }
.mwh-acc-warn { margin-top: 8px; font-size: 11px; color: #D83A52; }
.mwh-acc-scheme { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--mwh-line); border-radius: 5px; }
.mwh-acc-scheme .mwh-daychips { margin-top: 8px; }

/* Log Work */
.mwh-lw { font-size: 12px; }
.mwh-lw-head { display: flex; align-items: center; height: 54px; padding: 0 20px; border-bottom: 1px solid var(--mwh-line-soft); }
.mwh-lw-head b { font-size: 16px; font-weight: 600; }
.mwh-lw .mwh-dialog-x { top: 20px; right: 22px; }
.mwh-lw-body { display: flex; gap: 20px; padding: 4px 20px 22px; border-bottom: 1px solid var(--mwh-line-soft); }
.mwh-lw-side { flex: none; width: 222px; }
.mwh-lw label { font-weight: 400; color: var(--mwh-sub); }
.mwh-lw-item { display: flex; align-items: center; padding: 7px 10px; border: 1px solid var(--mwh-line); border-radius: 4px; background: var(--mwh-soft); }
.mwh-lw-item b { display: block; font-weight: 600; }
.mwh-lw-item small { font-size: 10px; color: var(--mwh-sub); }
.mwh-lw-num { justify-content: center; width: 52px; height: 32px; color: var(--mwh-ink); font-size: 14px; font-weight: 600; }
.mwh-lw .mwh-row { color: var(--mwh-sub); }
.mwh-lw-quick { gap: 4px; margin-top: 8px; }
.mwh-lw-quick .mwh-btn { height: 21px; padding: 0 9px; border-radius: 5px; font-size: 10.5px; cursor: pointer; }
.mwh-lw-many { height: 20px; margin-top: 8px; color: var(--mwh-blue); font-size: 10.5px; }
.mwh-lw .mwh-input--area { height: 76px; align-items: flex-start; padding-top: 9px; }
.mwh-lw-box { margin-bottom: 10px; padding: 10px 12px; border: 1px solid #BBDBFA; border-radius: 6px; background: #F0F7FF; }
.mwh-lw-box b { display: block; font-weight: 600; }
.mwh-lw-box em { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 9px; background: var(--mwh-selected); color: #0060B9; font-size: 9.5px; font-weight: 600; }
.mwh-lw-info { display: flex; gap: 8px; background: #E5F4FF; font-size: 11px; line-height: 1.5; }
.mwh-lw-info i { flex: none; display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: var(--mwh-blue); color: #fff; font-size: 10px; font-weight: 700; }

/* Settings tabs */
.mwh-cfg-intro { align-items: flex-start; gap: 20px; margin-bottom: 10px; font-size: 10.5px; color: var(--mwh-sub); }
.mwh-cfg-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: 11px; }
.mwh-cfg-row b { font-weight: 600; }
.mwh-cfg-row + .mwh-cfg-row { margin-top: 6px; }
.mwh-cfg-row.is-main { padding: 14px; border-color: #7DB9F5; background: #EAF2FE; }
.mwh-cfg-row.is-main b { font-size: 12.5px; }
.mwh-cfg-row.is-main .mwh-toggle { width: 34px; height: 18px; border-radius: 9px; }
.mwh-cfg-row.is-main .mwh-toggle::after { width: 14px; height: 14px; left: 18px; }
.mwh-cfg-row.is-main .mwh-toggle.is-off::after { left: 2px; }
.mwh-toggle[data-flip] { cursor: pointer; }
.mwh-card--lines { padding: 0; }
.mwh-cfg-top { padding: 12px 12px 10px; }
.mwh-cfg-line { gap: 10px; height: 34px; padding: 0 14px; border-top: 1px solid var(--mwh-line-soft); font-size: 11px; }
.mwh-cfg-line:first-of-type { border-top: 0; }
.mwh-cfg-line b { font-weight: 600; }
.mwh-cfg-line small { font-size: 9px; color: var(--mwh-sub); }
.mwh-wb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.mwh-wb-card { font-size: 10.5px; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.mwh-wb-card.is-on { border-color: var(--mwh-blue); box-shadow: 0 0 0 1px var(--mwh-blue); background: var(--mwh-selected); }
.mwh-wb-card > b, .mwh-panel > .mwh-card > b { font-size: 11px; font-weight: 600; }
.mwh-wb-text { margin: 6px 0 4px; }
.mwh-wb-mini { margin-top: 8px; padding: 8px 8px 6px; border: 1px solid var(--mwh-line); border-radius: 4px; background: #fff; text-align: center; }
.mwh-wb-mini small { font-size: 8px; color: var(--mwh-sub); }
.mwh-wb-days, .mwh-wb-loads { display: flex; }
.mwh-wb-days span, .mwh-wb-loads span { flex: 1 1 0; font-size: 8.5px; font-weight: 600; color: var(--mwh-sub); }
.mwh-wb-days { height: 22px; }
.mwh-wb-days .is-today { color: var(--mwh-blue); }
.mwh-wb-days em { display: block; width: 26px; margin: 1px auto 0; border-radius: 6px; background: var(--mwh-selected); font-size: 6.5px; }
.mwh-wb-bar { display: flex; align-items: center; height: 18px; margin-bottom: 5px; padding: 0 6px; border-left: 2px solid var(--mwh-blue); border-radius: 2px; background: #DCE9FC; font-size: 9px; text-align: left; }
.mwh-wb-bar b { font-weight: 600; }
.mwh-wb-bar em { padding: 0 5px; border-radius: 3px; background: rgba(87, 155, 252, 0.35); font-size: 7.5px; font-weight: 700; }
.mwh-wb-loads span { padding: 0 2px; }
.mwh-wb-loads i { display: block; height: 3px; margin: 3px 0 4px; border-radius: 2px; background: var(--mwh-line-soft); }
.mwh-wb-loads i.on { background: linear-gradient(90deg, var(--mwh-sky) 50%, var(--mwh-line-soft) 50%); }
.mwh-wb-radio { display: flex; gap: 8px; margin-top: 8px; font-size: 11px; cursor: pointer; }
.mwh-wb-defaults { margin: 12px 0; padding: 14px 0 12px; border-top: 1px solid var(--mwh-line); border-bottom: 1px solid var(--mwh-line); font-size: 11px; }
.mwh-wb-defaults b { font-weight: 600; }
.mwh-pa-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 0 40px; font-size: 11.5px; color: var(--mwh-sub); }
.mwh-pa-empty b { font-weight: 700; }
.mwh-pa-people { display: flex; align-items: flex-end; gap: 0; margin-bottom: 8px; }
.mwh-pa-people i { position: relative; width: 26px; height: 32px; margin-top: 30px; border-radius: 3px; background: #D0D1D6; }
.mwh-pa-people i::before { content: ""; position: absolute; left: 0; top: -29px; width: 26px; height: 26px; border-radius: 50%; background: inherit; }
.mwh-pa-people i:nth-child(2) { height: 39px; background: #B5B6BD; z-index: 1; }

/* ------------------------------------------------- Stacked highlight rows -- */
/* Copy on top, view across the full row below: the live views need the whole
   width to be read, which the side-by-side landing rows cannot give them.
   Same rules as the Jira page keeps in workhub-views.css, which this page
   does not load. */
.lp-highlights--stacked .lp-highlight,
.lp-highlights--stacked .lp-highlight:nth-child(even) {
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.lp-highlights--stacked .lp-highlight .lp-highlight-figure { order: 2; }
.lp-highlights--stacked .lp-highlight-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.lp-highlights--stacked .lp-highlight-copy p { margin-bottom: 14px; }
.lp-highlights--stacked .lp-highlight + .lp-highlight { margin-top: 44px; }
@media (max-width: 900px) {
  .lp-highlights--stacked .lp-highlight { gap: 22px; }
  .lp-highlights--stacked .lp-highlight + .lp-highlight { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .mwh-stage * { transition: none !important; animation: none !important; }
}

/* The docs toolbar also carries Submit for Approval, so it runs tighter. */
.mwh:not([data-mwh-promo]) .mwh-bar1--tt { gap: 6px; padding-left: 10px; padding-right: 10px; }
.mwh:not([data-mwh-promo]) .mwh-bar1--tt .mwh-btn, .mwh:not([data-mwh-promo]) .mwh-bar1--tt .mwh-select { padding-left: 8px; padding-right: 8px; }

/* Docs views leave out the app's own help button; the marketing page keeps it. */
.mwh:not([data-mwh-promo]) .mwh-help { display: none; }

.mwh-mw-sched { margin: 0 16px 16px; border: 1px solid var(--mwh-line); border-radius: 8px; overflow: hidden; }
