body {
  color: #111;
}

button[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 16px 20px;
  border: 0;
  border-radius: 16px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

button[type="submit"]:hover,
button[type="submit"]:focus {
  background: #000;
  color: #fff;
  outline: none;
}

button[type="submit"]:disabled {
  opacity: 0.45;
  cursor: default;
}

button[formaction] {
  background: #fff;
  color: #111;
  box-shadow: inset 0 0 0 1.5px #e6e6e6;
}

button[formaction]:hover,
button[formaction]:focus {
  background: #f7f7f7;
  color: #111;
}

/* Privacy */
.join-lock {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4em;
  margin: 18px 0 0;
  text-align: left;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.35;
}

/* Заголовок тела с прогресс-баром */

.join-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  width: 100%;
  max-width: 1340px;
  margin: 56px auto 48px;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.join-head-title {
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.join-head-progress {
  justify-self: center;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  flex-shrink: 0;
}

.join-head-segment {
  width: 36px;
  height: 14px;
  flex: 0 0 36px;
  border-radius: 7px;
  background: #f2f2f2;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.join-head-segment.is-done {
  background: #111;
  box-shadow: none;
}

.join-head-step {
  justify-self: end;
  white-space: nowrap;
  text-align: right;
}

/* Сценарий использования */

.scenarios-wrapper {
  width: 100%;
  align-self: stretch;
}

.scenarios-columns {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 100px;
  width: 100%;
}

.scenarios-demo-column form {
  width: 100%;
  text-align: left;
}

.scenarios-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scenarios-choice {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1.5px solid #e6e6e6;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.scenarios-choice:has(input:checked) {
  border-color: #111;
}

.scenarios-choice:has(input:disabled) {
  cursor: default;
  opacity: 0.7;
}

.scenarios-choice input {
  margin-top: 4px;
  accent-color: #111;
}

.scenarios-choice-body {
  flex: 1;
  min-width: 0;
}

.scenarios-choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scenarios-choice-title {
  font-size: 16px;
  font-weight: 500;
}

.scenarios-choice-badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #666;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scenarios-choice-description {
  display: block;
  margin-top: 4px;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.4;
}

/* Характер */

.bytemark-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0 0 8px;
}

.bytemark-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
}

.bytemark-scale label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
