.wall-setup .ws-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  padding: 32px 28px;
}

.ws-header .logo-wordmark {
  font-size: 32px;
  color: #020617;
  text-decoration: none;
}

.ws-header > a:last-child {
  font-size: 14px;
  padding: 12px 0;
}

.ws-main {
  max-width: 1000px;
  margin: auto;
  padding: 20px 28px 80px;
}

.ws-steps {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 44px;
  color: #747a6c;
  font-size: 13px;
}

.ws-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-steps li > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #d0d7c6;
  border-radius: 50%;
  flex-shrink: 0;
}

.ws-steps [aria-current=step] {
  color: #24382d;
  font-weight: 600;
}

.ws-steps [aria-current=step] > span {
  background: #334d40;
  border-color: #334d40;
  color: #faf8f2;
}

.ws-main h1 {
  font: 400 clamp(34px, 4.5vw, 48px)/1.25 Lora, Georgia, serif;
  letter-spacing: -1px;
  text-align: center;
  margin: 0 0 18px;
}

.ws-intro {
  max-width: 580px;
  margin: 0 auto 38px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: #687065;
}

.ws-main turbo-frame {
  display: block;
}

.ws-search {
  margin: 0 0 25px;
}

.ws-search label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.ws-search > div {
  display: flex;
  gap: 10px;
}

.ws-search input[type=search] {
  min-width: 0;
  flex: 1;
  padding: 13px 16px;
  border: 1px solid #cbd0c3;
  border-radius: 8px;
  background: #fffdf8;
  font: inherit;
}

.ws-search input[type=submit] {
  cursor: pointer;
}

.ws-search > a {
  display: inline-block;
  padding: 12px 0 0;
  font-size: 14px;
}

.ws-grid, .ws-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ws-choice, .ws-preview-word {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  height: 100%;
  min-height: 156px;
  padding: 18px;
  border: 2px solid transparent;
  border-radius: 9px;
  color: #24382d;
  gap: 12px;
}

.ws-choice:hover {
  border-color: #819578;
}

.ws-choice[aria-pressed=true] {
  border-color: #355343;
  box-shadow: inset 0 0 0 1px #355343;
}

.ws-word-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  font-size: 12px;
  color: #4d5b4b;
}

.ws-word-type > span {
  font-size: 19px;
  line-height: 1;
}

.ws-choice strong, .ws-preview-word strong {
  font: 400 29px/1.2 Gabarito, system-ui, sans-serif;
  letter-spacing: -.5px;
  overflow-wrap: anywhere;
}

.ws-translation {
  font-size: 14px;
  line-height: 1.5;
  color: #485644;
}

.ws-selection {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #dedfd5;
}

.ws-selection h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
}

.ws-selection p, .ws-empty {
  color: #687065;
  font-size: 14px;
}

.ws-selected-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ws-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #cbd0c3;
  border-radius: 7px;
  background: #e9eddf;
  color: #24382d;
}

.ws-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}

.ws-actions > p, .ws-draft-note {
  color: #687065;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.ws-actions .lw-primary {
  min-height: 50px;
  padding: 14px 24px;
  text-align: center;
}

.ws-actions .lw-primary:disabled {
  box-shadow: none;
}

.ws-back, .ws-account a {
  font-size: 14px;
  text-underline-offset: 4px;
}

.ws-draft-note {
  text-align: center;
  margin-top: 24px;
}

.ws-account {
  max-width: 400px;
  margin: auto;
  text-align: center;
}

.ws-account > p {
  font-size: 14px;
  margin: 24px 0 16px;
}

.ws-error {
  padding: 14px;
  border: 1px solid #d4a394;
  border-radius: 8px;
  background: #f8ebe6;
  color: #8c3024;
}

@media (max-width: 760px) {
  .wall-setup .ws-header {
    padding: 20px;
  }

  .ws-main {
    padding: 15px 18px 50px;
  }

  .ws-steps {
    gap: 15px;
    margin-bottom: 32px;
    font-size: 11px;
  }

  .ws-steps li {
    flex-direction: column;
    text-align: center;
    flex: 1;
  }

  .ws-grid, .ws-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ws-choice, .ws-preview-word {
    padding: 14px;
    min-height: 145px;
  }

  .ws-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
