/* Work control module styles. Every selector starts with a .wc- class (module prefix). Big tap
   targets for gloved hands; layouts collapse to one column on phones. */
.wc-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.wc-grid2 > .panel {
  margin-bottom: 0;
}
.wc-grid2 {
  margin-bottom: 22px;
}
.wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.wc-tab {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #D8D1C4;
  border-radius: 22px;
  background: white;
  color: #292929;
  font-weight: 650;
  font-size: 13px;
}
.wc-tab.active {
  background: #181818;
  border-color: #181818;
  color: white;
}
.wc-back {
  margin-bottom: 14px;
}
.wc-sitebar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.wc-sitebar .field {
  margin: 0;
  min-width: 240px;
  flex: 1;
  max-width: 420px;
}
.wc-row .row-actions,
.wc-row-side {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}
.wc-row .row-main small {
  display: block;
}
.wc-row [hidden],
.wc-row[hidden] {
  display: none;
}
.wc-kv {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px 20px;
  margin: 0 0 16px;
}
.wc-kv dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #666157;
  font-weight: 700;
}
.wc-kv dd {
  margin: 2px 0 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.wc-list {
  margin: 0;
  padding-left: 18px;
}
.wc-list li {
  margin: 6px 0;
}
.wc-list small {
  display: block;
}
.wc-big-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.wc-big-actions .btn {
  min-height: 52px;
  font-size: 14px;
}
.wc-alert {
  border-color: #eedda8;
}
.wc-alert .panel-head {
  background: #fff8e7;
}
.wc-flash ul {
  margin: 8px 0;
}
.wc-stopwork {
  font-size: 13px;
}
.wc-help {
  display: block;
  font-weight: 400;
  margin-top: 4px;
  font-size: 11px;
  color: #5C5851;
}
.wc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 12px;
}
.wc-chip {
  margin: 4px 0;
}
.wc-crew {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wc-crew li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  border-top: 1px solid #F0EDE6;
  padding: 8px 0;
}
.wc-signed {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  min-width: 0;
}
.wc-signed small {
  display: block;
}
.wc-voided .wc-sig {
  opacity: 0.35;
}
.wc-sig {
  width: 150px;
  height: 45px;
  border-bottom: 1px solid #b9c1d0;
  flex-shrink: 0;
}
.wc-sig path {
  fill: none;
  stroke: #181818;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wc-sigbox {
  border: 1px solid #D8D1C4;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.wc-sigbox legend {
  font-weight: 700;
  font-size: 12px;
  padding: 0 4px;
}
.wc-pad-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.wc-pad {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 600 / 180;
  height: auto;
  border: 2px dashed #b9c1d0;
  border-radius: 6px;
  background: #FDFCF9;
  touch-action: none;
  cursor: crosshair;
}
