/* Public learning sequences; deliberately independent of account/lesson state. */
#pw-content {
  overflow-wrap: anywhere;
}
.pw-pathway,
.pw-guidance {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid #607a96;
  border-radius: 0.6rem;
}
.pw-pathway li,
.pw-guidance li {
  margin: 0.7rem 0;
}
.pw-pathway [aria-current='step'] {
  font-weight: 700;
  color: #a4f5cb;
}
.pw-task {
  min-width: 0;
  margin: 1rem 0;
  padding: 1.25rem;
  border: 1px solid #607a96;
  border-radius: 0.8rem;
  background: #101e30;
}
.pw-task legend {
  padding: 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}
.pw-task label {
  display: block;
  margin: 0.7rem 0;
}
.pw-task label span {
  display: block;
  margin-bottom: 0.3rem;
}
.pw-task input:not([type='radio'], [type='checkbox']),
.pw-task select,
.pw-task textarea {
  font: inherit;
  color: #eef5ff;
  background: #152235;
  border: 1px solid #8ba3ba;
  border-radius: 0.4rem;
  padding: 0.6rem;
  max-width: 100%;
  width: 100%;
}
.pw-task textarea {
  min-height: 10rem;
  resize: vertical;
}
.pw-task input[type='radio'],
.pw-task input[type='checkbox'] {
  margin-right: 0.7rem;
}
.pw-feedback {
  border-left: 3px solid #71e2ff;
  padding-left: 0.75rem;
  min-height: 1.5rem;
}
.pw-status {
  font-weight: 700;
  color: #a4f5cb;
}
.pw-table-wrap {
  overflow: auto;
  max-width: 100%;
}
.pw-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 28rem;
  margin: 1rem 0;
}
.pw-table th,
.pw-table td {
  border: 1px solid #607a96;
  padding: 0.4rem;
}
.pw-table input {
  min-width: 5rem;
}
.pw-reference {
  border-left: 3px solid #b08b3f;
  padding: 1rem;
}
.pw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0;
}
.pw-task button {
  margin: 0.4rem 0.4rem 0.4rem 0;
}
button:focus-visible,
textarea:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #71e2ff;
  outline-offset: 3px;
}
@media print {
  .bar,
  .pw-actions,
  #pw-area,
  #pw-unit,
  button {
    display: none !important;
  }
  .pw-task,
  .lp-notice {
    background: white;
    color: black;
    border-color: black;
  }
  .pw-task input,
  .pw-task select,
  .pw-task textarea {
    color: black !important;
    background: white !important;
  }
  .pw-task {
    break-inside: avoid;
  }
  .pw-feedback,
  .pw-status {
    color: black;
  }
}
.pw-table-wrap {
  width: 100%;
  min-width: 0;
  contain: inline-size;
}
.lp-intro h1 {
  overflow-wrap: anywhere;
}

.pw-print-answer {
  display: none;
}
.pw-task fieldset {
  min-width: 0;
  margin: 1rem 0;
}
@media print {
  .pw-print-answer {
    display: block;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .pw-task textarea {
    display: none;
  }
}

.pw-table th:first-child {
  min-width: 3.3rem;
  white-space: nowrap;
}
#pw-storage {
  overflow-wrap: anywhere;
}
#pw-storage input,
#pw-storage select,
#pw-storage textarea {
  max-width: 100%;
  min-width: 0;
  font: inherit;
}
#pw-storage pre,
.pw-task pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.pw-task iframe {
  width: 100%;
  max-width: 100%;
  min-height: 12rem;
  background: white;
  border: 1px solid #8ba3ba;
}
@media print {
  #pw-storage {
    display: none;
  }
}
