.skills-prompts-page {
  background: #faf9f6;
  color: #292621;
  font-family: 'Montserrat', sans-serif;
}

.skills-prompts__help-link {
  color: #514122;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.skills-prompts__help-link:hover {
  color: var(--brand-gold, #b08a48);
}

.skills-prompts__hero {
  border-bottom: 1px solid #e8e3da;
  background: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.skills-prompts__intro {
  max-width: 54rem;
  margin: 0 auto;
}

.skills-prompts__intro h1 {
  margin-bottom: 1.25rem;
  color: #292621;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.skills-prompts__intro p {
  color: #514e48;
  line-height: 1.75;
}

.skills-prompts__list {
  max-width: 54rem;
  margin: 0 auto;
}

.skills-prompts__card {
  margin-bottom: 1rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid #e5e0d7;
  border-left: 4px solid var(--brand-gold, #b08a48);
  border-radius: 0.45rem;
  background: #fff;
  box-shadow: 0 0.2rem 0.8rem rgb(41 38 33 / 5%);
}

.skills-prompts__title {
  margin: 0 0 0.55rem;
  color: #292621;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.skills-prompts__description {
  margin: 0 0 0.7rem;
  color: #514e48;
  line-height: 1.6;
}

.skills-prompts__access {
  margin: 0;
  color: #514e48;
  font-size: 0.92rem;
  line-height: 1.55;
}

.skills-prompts__access-label {
  color: #292621;
  font-weight: 700;
}

.skills-prompts__notice {
  margin: 0.85rem 0 0;
  padding-left: 0.8rem;
  border-left: 2px solid var(--brand-gold, #b08a48);
  color: #514e48;
  font-size: 0.92rem;
  line-height: 1.6;
}

.skills-prompts__disclosure {
  margin-top: 1.1rem;
  border-top: 1px solid #eeeae3;
}

.skills-prompts__disclosure summary {
  position: relative;
  padding: 1rem 2rem 0.2rem 0;
  color: #514122;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
}

.skills-prompts__disclosure summary::-webkit-details-marker {
  display: none;
}

.skills-prompts__disclosure summary::after {
  position: absolute;
  top: 0.9rem;
  right: 0.3rem;
  color: var(--brand-gold, #b08a48);
  content: '+';
  font-size: 1.25rem;
  line-height: 1;
}

.skills-prompts__disclosure[open] summary::after {
  content: '−';
}

.skills-prompts__disclosure summary:focus-visible,
.skills-prompts__button:focus-visible,
.skills-prompts__prompt:focus-visible,
.skills-prompts__help-link:focus-visible {
  outline: 3px solid var(--brand-gold, #b08a48);
  outline-offset: 3px;
}

.skills-prompts__prompt-content {
  padding-top: 0.85rem;
}

.skills-prompts__prompt {
  max-height: 24rem;
  overflow: auto;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid #e5e0d7;
  border-radius: 0.35rem;
  background: #faf9f6;
  color: #292621;
  font: 0.9rem/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.skills-prompts__prompt code {
  color: inherit;
  font: inherit;
}

.skills-prompts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.skills-prompts__button {
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--brand-gold, #b08a48);
  border-radius: 0.3rem;
  background: #514122;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
}

.skills-prompts__button:hover {
  background: #3f321b;
}

.skills-prompts__button--secondary {
  background: #fff;
  color: #514122;
}

.skills-prompts__button--secondary:hover {
  background: #fdfaf5;
}

.skills-prompts__status {
  min-height: 1.5em;
  margin: 0.7rem 0 0;
  color: #514e48;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  .skills-prompts__prompt {
    max-height: 19rem;
    padding: 0.8rem;
    font-size: 0.84rem;
  }

  .skills-prompts__actions {
    align-items: stretch;
  }

  .skills-prompts__button {
    flex: 1 1 100%;
  }
}
