:root {
  --gold: #10b981;
}

.phead {
  padding-top: 42px;
}

.phead .eyebrow {
  margin: 0 54px 16px 0;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: .12em;
}

.phead h2 {
  display: block;
  width: 100%;
  max-width: 390px;
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.phead-titleline {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.phead-titles {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  padding-top: 5px;
}

.phead-titles h2,
.phead .eyebrow,
.selected-row b {
  overflow-wrap: anywhere;
}

.phead .sym {
  flex: 0 0 76px;
}

.selected-row > div {
  min-width: 0;
}

.selected-item {
  border-bottom: 1px solid var(--line);
}

.selected-item > summary {
  list-style: none;
  cursor: pointer;
}

.selected-item > summary::-webkit-details-marker {
  display: none;
}

.selected-row {
  grid-template-columns: 54px minmax(0, 1fr) 32px 34px;
  border-bottom: 0;
}

.selected-chevron {
  width: 28px;
  height: 28px;
  position: relative;
  border: 1px solid #596060;
  border-radius: 50%;
}

.selected-chevron::before,
.selected-chevron::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 13px;
  height: 2px;
  background: #fff;
}

.selected-chevron::after {
  transform: rotate(90deg);
}

.selected-item[open] .selected-chevron::after {
  transform: rotate(0);
}

.selected-template {
  padding: 0 0 16px 64px;
}

.selected-template pre {
  margin: 0 0 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 14px/1.6 Arial, sans-serif;
  background: #111313;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 14px;
}

.selected-template button {
  min-height: 44px;
  border: 1px solid #626969;
  border-radius: 8px;
  background: #292d2d;
  color: #fff;
  padding: 9px 12px;
}

.phead .name-en {
  margin: 8px 0 0;
  color: #b9c1c1;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.prompt-fields > div {
  display: block;
  padding: 22px 22px 24px;
}

.prompt-fields dt {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .01em;
}

.prompt-fields dd {
  max-width: 68ch;
  margin: 0;
  color: #d8dddd;
  font-size: 16px;
  line-height: 1.65;
}

.prompt-fields pre {
  margin: 0 0 11px;
  padding: 18px;
  font-size: 15px;
  line-height: 1.7;
}

.area-band > span {
  background: #10b981;
  color: #071b14;
}

@media (max-width: 620px) {
  .phead h2 {
    display: block;
    margin: 0 44px 0 0;
    font-size: 32px;
  }

  .phead-titleline {
    gap: 14px;
  }

  .phead .name-en {
    margin-right: 44px;
    font-size: 15px;
  }

  .prompt-fields > div {
    padding: 18px 16px 20px;
  }
}
