/* Stand-in for the monday.com work management screen around the app. */
:root {
  --mh-bg: #f6f7fb;
  --mh-surface: #fff;
  --mh-ink: #323338;
  --mh-muted: #676879;
  --mh-line: #e6e9ef;
  --mh-primary: #0073ea;
  --mh-primary-hover: #0060b9;
  --mh-select: #cce5ff;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
}
body {
  background: var(--mh-bg);
  color: var(--mh-ink);
  font: 14px/1.45 Figtree, Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
#mh-app {
  display: flex;
  min-height: calc(100vh - 40px);
}
.mh-side {
  width: 240px;
  flex: 0 0 240px;
  background: var(--mh-surface);
  border-right: 1px solid var(--mh-line);
  padding: 16px 10px;
}
.mh-ws {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 4px 8px 14px;
}
.mh-ws-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #a25ddc;
  color: #fff;
  font-size: 13px;
}
.mh-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mh-side li button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: 7px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.mh-side li button:hover {
  background: #f0f1f5;
}
.mh-side li button.on {
  background: var(--mh-select);
}
.mh-board-icon {
  color: var(--mh-muted);
}
.mh-side-note {
  color: var(--mh-muted);
  font-size: 12px;
  padding: 16px 8px 0;
}
.mh-main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 20px 28px 80px;
}
.mh-board-head h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}
.mh-board-head p {
  margin: 4px 0 0;
  color: var(--mh-muted);
}
.mh-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--mh-line);
  margin: 16px 0;
  overflow-x: auto;
}
.mh-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  font: inherit;
  color: var(--mh-ink);
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.mh-tabs button.on {
  border-bottom-color: var(--mh-primary);
  font-weight: 600;
}
.mh-app-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c875, #579bfc);
  display: inline-block;
}
.mh-count {
  background: var(--mh-primary);
  color: #fff;
  border-radius: 10px;
  padding: 0 7px;
  font-size: 12px;
}
.mh-group {
  margin-bottom: 28px;
}
.mh-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.mh-group-title {
  color: var(--g);
  font-weight: 600;
  font-size: 17px;
}
.mh-scroll {
  overflow-x: auto;
  border-radius: 6px;
}
.mh-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 720px;
  background: var(--mh-surface);
  border-left: 6px solid var(--g);
  border-radius: 6px;
}
.mh-table th,
.mh-table td {
  border-bottom: 1px solid var(--mh-line);
  border-right: 1px solid var(--mh-line);
  padding: 0 10px;
  height: 40px;
  text-align: center;
  white-space: nowrap;
}
.mh-table th {
  font-weight: 400;
  color: var(--mh-muted);
  font-size: 13px;
}
.mh-table th.mh-name,
.mh-table td.mh-name {
  text-align: left;
  min-width: 240px;
}
.mh-table td.mh-name {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
}
.mh-table tr.sel td {
  background: #f0f7ff;
}
.mh-check {
  width: 36px;
}
.mh-item-link {
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  padding: 0;
  cursor: pointer;
  flex: 1 1 auto;
  text-align: left;
}
.mh-item-link:hover {
  color: var(--mh-primary);
}
.mh-open {
  border: 1px solid var(--mh-line);
  background: var(--mh-surface);
  border-radius: 4px;
  font: inherit;
  font-size: 12px;
  padding: 2px 8px;
  color: var(--mh-muted);
  cursor: pointer;
}
.mh-open:hover {
  color: var(--mh-primary);
  border-color: var(--mh-primary);
}
.mh-menu-btn {
  border: 0;
  background: none;
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--mh-muted);
}
.mh-menu-btn:hover {
  background: #e6e9ef;
}
.mh-status {
  display: block;
  margin: 0 -10px;
  height: 40px;
  line-height: 40px;
  color: #fff;
  min-width: 120px;
}
.mh-progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 120px;
}
.mh-progress span {
  height: 8px;
  background: #00c875;
  border-radius: 4px;
  display: block;
}
.mh-progress::before {
  content: '';
}
.mh-progress em {
  font-style: normal;
  color: var(--mh-muted);
  font-size: 12px;
}
.mh-people {
  display: inline-flex;
  gap: 2px;
}
.mh-avatar {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #579bfc;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.mh-muted {
  color: var(--mh-muted);
}
.mh-batch {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mh-surface);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  padding: 10px 14px;
  z-index: 50;
  flex-wrap: wrap;
  max-width: calc(100vw - 24px);
}
.mh-batch button,
.mh-primary {
  border: 0;
  background: var(--mh-primary);
  color: #fff;
  border-radius: 4px;
  padding: 7px 14px;
  font: inherit;
  cursor: pointer;
}
.mh-batch button:hover,
.mh-primary:hover {
  background: var(--mh-primary-hover);
}
.mh-batch button.mh-plain {
  background: none;
  color: var(--mh-muted);
}
.mh-menu {
  position: absolute;
  z-index: 300;
  background: var(--mh-surface);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  padding: 6px;
  min-width: 240px;
}
.mh-menu-app {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mh-muted);
  font-size: 12px;
  padding: 4px 8px 6px;
}
.mh-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  font: inherit;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
}
.mh-menu button:hover {
  background: #f0f1f5;
}
.mh-card-wrap,
.mh-modal-wrap {
  position: fixed;
  inset: 0;
  background: rgba(41, 47, 76, 0.45);
  z-index: 100;
}
.mh-card {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(760px, 100vw);
  background: var(--mh-surface);
  display: flex;
  flex-direction: column;
  padding: 16px 20px 0;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
}
.mh-card header,
.mh-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mh-card h2,
.mh-modal h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}
.mh-close {
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--mh-muted);
  padding: 4px 8px;
}
.mh-card .mh-tabs {
  margin: 10px 0 0;
}
.mh-frame {
  border: 0;
  width: 100%;
  flex: 1 1 auto;
  min-height: 420px;
  background: var(--mh-surface);
}
.mh-frame-board {
  height: calc(100vh - 210px);
  min-height: 520px;
  border-radius: 8px;
}
.mh-modal {
  position: absolute;
  top: 6vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 24px));
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--mh-surface);
  border-radius: 10px;
  padding: 16px 20px 20px;
}
.mh-frame-modal {
  height: 64vh;
}
.mh-modal-body {
  padding: 12px 0 4px;
}
.mh-updates {
  padding: 16px 0;
  overflow: auto;
}
.mh-update {
  border: 1px solid var(--mh-line);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}
.mh-update-body {
  margin-top: 6px;
  white-space: pre-wrap;
}
.mh-board-pick {
  display: none;
}
@media (max-width: 800px) {
  .mh-side {
    display: none;
  }
  .mh-board-pick {
    display: block;
    font: inherit;
    padding: 6px 8px;
    margin-bottom: 8px;
    border: 1px solid var(--mh-line);
    border-radius: 6px;
    background: var(--mh-surface);
  }
  .mh-main {
    padding: 16px 12px 90px;
  }
  .mh-board-head h1 {
    font-size: 22px;
  }
  .mh-card {
    padding: 12px 12px 0;
  }
  .mh-frame-board {
    height: calc(100vh - 190px);
  }
}
.mh-sub-toggle {
  border: 1px solid var(--mh-line);
  background: var(--mh-surface);
  border-radius: 4px;
  font: inherit;
  font-size: 12px;
  padding: 1px 6px;
  cursor: pointer;
  color: var(--mh-muted);
}
.mh-subrow td {
  background: #fafbfd;
  height: 34px;
}
.mh-sub-name {
  padding-left: 22px;
  color: var(--mh-ink);
}
.mh-sub-vals {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.mh-chip {
  color: #fff;
  border-radius: 10px;
  padding: 0 8px;
  font-size: 12px;
}
.mh-chip-plain {
  background: #eef0f5;
  color: var(--mh-muted);
}
@media (max-width: 800px) {
  .mh-table th.mh-name,
  .mh-table td.mh-name {
    min-width: 190px;
  }
  .mh-open {
    display: none;
  }
}
.mh-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 8px 10px;
  background: #fff;
  border: 1px dashed #c3c6d4;
  border-radius: 8px;
}
.mh-tools-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--mh-muted);
  margin-right: 4px;
}
.mh-tool {
  border: 1px solid var(--mh-primary);
  color: var(--mh-primary);
  background: #fff;
  border-radius: 4px;
  font: inherit;
  font-size: 13px;
  padding: 4px 10px;
  cursor: pointer;
}
.mh-tool:hover {
  background: #e6f0fd;
}
.mh-tool:disabled {
  opacity: 0.5;
}
.mh-clock {
  margin-left: auto;
  font-size: 12px;
  color: var(--mh-muted);
}
.mh-pre {
  background: #f6f7fb;
  border-radius: 6px;
  padding: 12px;
  overflow: auto;
  max-height: 60vh;
  font: 13px/1.5 ui-monospace, Menlo, monospace;
}
.mh-card-wrap,
.mh-modal-wrap {
  z-index: 1100;
}
.mh-menu {
  z-index: 1200;
}
