/* A live workbench is more credible than a decorative fake grid. */
.control-workbench {
  overflow: hidden;
  color: #effaf5;
  background: #102f3c;
  border: 1px solid #1c4a58;
  border-radius: 13px;
  box-shadow: 0 28px 58px rgb(8 26 44 / 16%);
}

.workbench-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 61px;
  padding: 0 20px;
  border-bottom: 1px solid rgb(218 246 234 / 13%);
}

.workbench-top > div { display: flex; align-items: center; gap: 9px; }
.workbench-top b { font-size: 13px; }
.workbench-top small { color: #9bc4b7; font-size: 10px; }

.workbench-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #58d5b0;
  box-shadow: 0 0 0 4px rgb(88 213 176 / 15%);
}

.workbench-status {
  color: #aaf0d3;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workbench-body { display: grid; grid-template-columns: 142px minmax(0, 1fr); }

.workbench-nav {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 440px;
  padding: 21px 12px;
  background: #0c2732;
  border-right: 1px solid rgb(218 246 234 / 11%);
}

.workbench-nav > span {
  margin: 0 7px 11px;
  color: #83aeb0;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workbench-nav b {
  padding: 9px 8px;
  color: #bad2d3;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 720;
}

.workbench-nav b.is-current { color: #173542; background: #a7edcf; }

.workbench-nav small {
  margin: 13px 7px 0;
  color: #759ba0;
  font-size: 9px;
  line-height: 1.4;
}

.workbench-stage {
  min-width: 0;
  padding: clamp(17px, 3vw, 28px);
  background: linear-gradient(145deg, #dff2ea 0, #f3f8ee 54%, #edf4e8 100%);
}

.stage-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.stage-heading > div > span {
  color: #2a7d6b;
  font-size: 10px;
  font-weight: 840;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-heading h3 {
  margin: 6px 0 0;
  color: #173542;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.93;
}

.stage-heading h3 em { color: #2b8e7b; }

.stage-heading p {
  max-width: 148px;
  margin: 0 0 3px;
  color: #58737a;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.5;
}

.control-workbench wisp-grid { display: block; }

.workbench-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  color: #466b72;
  font-size: 10px;
  font-weight: 760;
}

.workbench-footer span::before { margin-right: 6px; color: #2b8e7b; content: '✦'; }

@media (max-width: 760px) {
  .control-workbench { width: 100%; }
  .workbench-body { grid-template-columns: 1fr; }
  .workbench-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: auto;
    padding: 11px;
    border-right: 0;
    border-bottom: 1px solid rgb(218 246 234 / 11%);
  }
  .workbench-nav > span, .workbench-nav small { display: none; }
  .workbench-nav b {
    overflow: hidden;
    padding: 9px 5px;
    font-size: 10px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .stage-heading { align-items: start; flex-direction: column; }
  .stage-heading p { max-width: none; }
  .workbench-top small { display: none; }
}

@media (max-width: 430px) {
  .workbench-top { padding: 0 14px; }
  .workbench-top b { font-size: 12px; }
  .workbench-stage { padding: 15px; }
  .workbench-status { font-size: 9px; }
}
