/* Module 1 construct bench. Nothing sets a fixed width: the whole station has to
   survive a 360 px phone. */
.cb-box {
  background: #0c202b;
  border: 1px solid var(--ec-rule, #27424a);
  border-radius: 8px;
  padding: clamp(12px, 2vw, 20px);
  min-width: 0;
}
.cb-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.cb-box > p {
  margin: 0 0 1rem;
  max-width: 76ch;
}
.cb-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0.8rem 1.2rem;
  margin-bottom: 1.2rem;
}
.cb-pick {
  display: block;
  min-width: 0;
}
.cb-pick b {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e3f1f0;
  margin-bottom: 0.25rem;
}
.cb-pick select {
  width: 100%;
  max-width: 100%;
}
.cb-out {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.cb-bar {
  min-width: 0;
}
.cb-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cb-bar-head b {
  font-weight: 600;
  color: #e3f1f0;
  font-size: 0.93rem;
}
.cb-bar-head span {
  font: 500 0.82rem var(--mono, ui-monospace, monospace);
  color: var(--ec-amber, #edc077);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cb-track {
  height: 8px;
  border-radius: 4px;
  background: #15303a;
  overflow: hidden;
  margin: 0.35rem 0 0.3rem;
}
.cb-track i {
  display: block;
  height: 100%;
  border-radius: 4px;
  transition: width 0.25s ease;
  background: var(--ec-mint, #7fdcc9);
}
.cb-track i[data-level='2'] {
  background: #b9d59b;
}
.cb-track i[data-level='3'] {
  background: var(--ec-amber, #edc077);
}
.cb-track i[data-level='4'] {
  background: var(--ec-warn, #e59b6b);
}
.cb-hint {
  margin: 0;
  font-size: 0.87rem;
  color: #aec4cc;
  max-width: 72ch;
}
.cb-notes {
  border-top: 1px solid var(--ec-rule, #27424a);
  padding-top: 0.8rem;
}
.cb-notes p {
  margin: 0.45rem 0;
  font-size: 0.9rem;
  color: #c3d6da;
  max-width: 76ch;
}
.cb-notes b {
  color: var(--ec-mint, #7fdcc9);
}
@media print {
  .cb-box {
    background: white;
    border: 1px solid #999;
  }
  .cb-hint,
  .cb-notes p {
    color: black;
  }
}
