/* Пунктуация */

.punct-sentence {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.1rem 0.15rem;
  font-size: 1.45rem;
  line-height: 1.9;
  padding: 0.5rem 0.25rem 0.5rem;
  user-select: none;
}

.punct-word {
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
}

.punct-word__text {
  padding: 0.05em 0.05em;
}

.punct-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  min-height: 1.35rem;
  margin: 0 0.05rem;
  padding: 0 0.15rem;
  border: 1px dashed #b7c4d0;
  border-radius: 3px;
  background: #f7fafc;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  color: #1a1a1a;
  cursor: pointer;
  vertical-align: baseline;
}

.punct-slot:hover:not(:disabled) {
  border-color: #2a6f97;
  background: #eef5fa;
}

.punct-slot.is-filled {
  border-style: solid;
  border-color: #2a6f97;
  background: #fff;
  font-weight: 600;
}

.punct-slot:disabled {
  cursor: default;
  opacity: 0.85;
}

.punct-step-hint {
  min-height: 2.75em;
  margin: 0 0 0.75rem;
  padding: 0.15rem 0.25rem 0;
  line-height: 1.35;
  color: #4a5a68;
}

.punct-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.25rem 0 0.75rem;
}

.punct-tool {
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid #c5d0da;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  color: #1a1a1a;
}

.punct-tool:hover:not(:disabled) {
  border-color: #2a6f97;
}

.punct-tool.is-active {
  border-color: #2a6f97;
  box-shadow: 0 0 0 2px rgba(42, 111, 151, 0.25);
  background: #eef5fa;
}

.punct-tool--erase {
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 4.5rem;
}

.punct-tool:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.punct-wrong-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.punct-model {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #dde3ea;
}

.punct-model__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.punct-model__text {
  font-size: 1.25rem;
  line-height: 1.6;
}
