/* Work control: forms, the hazard editor, gate results, tags and states, phone layout. */
.wc-form .form-grid {
  margin-bottom: 16px;
}
.wc-hzrow {
  border: 1px solid #D8D1C4;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 14px;
}
.wc-hzrow legend {
  font-weight: 700;
  font-size: 12px;
  padding: 0 4px;
}
.wc-hzrow select[multiple] {
  min-height: 150px;
}
.wc-risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}
.wc-gate {
  list-style: none;
  margin: 8px 0;
  padding: 0;
}
.wc-gate li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 10px;
  padding: 8px 0;
  border-top: 1px solid #F0EDE6;
}
.wc-gate li small {
  display: block;
  width: 100%;
}
.wc-state {
  background: #F0EDE6;
}
.wc-state-deenergized {
  background: #e7f5ee;
  color: #1f5c3f;
}
.wc-state-locked_out {
  background: #fce8ea;
  color: #8f1620;
}
.wc-state-energized_cx {
  background: #fff4d6;
  color: #6c4d00;
}
.wc-state-turned_over {
  background: #eaf0ff;
  color: #294c91;
}
.wc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 4px;
  border: 2px solid #9aa4b6;
  color: #242424;
  background: white;
}
.wc-tag-red {
  border-color: #DBB363;
  background: #fce8ea;
  color: #8f1620;
}
.wc-tag-yellow {
  border-color: #AA7A02;
  background: #fff4d6;
  color: #6c4d00;
}
.wc-tag-green {
  border-color: #2f8a5b;
  background: #e7f5ee;
  color: #1f5c3f;
}
.wc-toolbar input[type="search"] {
  min-width: 200px;
}
.wc-recent summary {
  cursor: pointer;
  list-style: none;
}
.wc-recent summary::-webkit-details-marker {
  display: none;
}
.wc-recent summary h2::after {
  content: " +";
  color: #666157;
}
.wc-recent[open] summary h2::after {
  content: " -";
}
.wc-poster {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.wc-poster .wc-qr {
  width: 320px;
  max-width: 100%;
}
.wc-poster-site {
  font-size: 22px;
  font-weight: 700;
  color: #181818;
}
.wc-url {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.wc-qr {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto;
}
.wc-qr-bg {
  fill: #fff;
}
.wc-qr-fg {
  fill: #000;
}
dialog.wc-wide {
  max-width: 860px;
}
@media (max-width: 900px) {
  .wc-grid2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .wc-risk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .wc-sitebar .field {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
  .wc-sitebar .actions,
  .wc-sitebar .actions .btn {
    width: 100%;
  }
  .wc-row {
    flex-wrap: wrap;
  }
  .wc-row-side {
    width: 100%;
    justify-content: flex-start;
  }
  .wc-tab {
    flex: 1 1 auto;
  }
  .wc-pad-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .wc-sig {
    width: 120px;
    height: 36px;
  }
  .wc-toolbar input[type="search"],
  .wc-toolbar select {
    min-width: 0;
    width: 100%;
  }
}
