.plan-editor {
  margin-top: 24px;
}
.plan-editor [role="status"] {
  white-space: pre-wrap;
}
.plan-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 16px;
}
.plan-editor-actions > * {
  flex: 1;
  min-width: 140px;
}
.plan-editor fieldset {
  margin: 16px 0;
}
.plan-session {
  border-top: 2px solid #747b85;
  padding-top: 24px;
  margin-top: 24px;
}
.plan-block,
.plan-preview article {
  border: 1px solid #b7bdc5;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
}
.plan-versions {
  margin: 20px 0;
}
.plan-versions summary {
  cursor: pointer;
  font-weight: 700;
}
.plan-versions article {
  border-top: 1px solid #d1d5db;
  padding: 16px 0;
}
.plan-versions article button {
  margin: 8px 8px 0 0;
}
.plan-preview h4 {
  font-size: 19px;
}
.plan-preview h5 {
  font-size: 16px;
}
.plan-preview section {
  border-top: 1px solid #d1d5db;
  padding-top: 12px;
}
.plan-preview .training-instructions {
  white-space: pre-wrap;
}
.plan-editor :focus-visible {
  outline: 3px solid #165bcb;
  outline-offset: 3px;
}
.plan-editor [data-editor-title] {
  scroll-margin-top: 20px;
}
.plan-editor textarea {
  min-height: 80px;
}
.plan-editor input[type="checkbox"] {
  width: 24px;
  min-height: 24px;
}
.plan-editor .actions {
  margin: 12px 0;
}
@media (min-width: 760px) {
  .plan-editor fieldset {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-editor fieldset label:has(textarea) {
    grid-column: 1/-1;
  }
  .plan-editor .actions {
    grid-column: 1/-1;
  }
}
.library-panel {
  margin-top: 24px;
  overflow-wrap: anywhere;
}
.library-panel .library-item {
  padding: 16px 0;
  border-bottom: 1px solid #b7bdc5;
}
.library-panel .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}
.library-panel details {
  margin: 16px 0;
}
.library-panel summary {
  cursor: pointer;
  font-weight: 700;
}
.library-panel fieldset {
  min-width: 0;
}
.library-panel textarea {
  min-height: 100px;
}
.library-panel :focus-visible {
  outline: 3px solid #165bcb;
  outline-offset: 3px;
}
.library-panel [data-library-title] {
  scroll-margin-top: 20px;
}
.library-panel .training-instructions {
  white-space: pre-wrap;
}
.import-panel {
  overflow-wrap: anywhere;
}
.import-panel pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.import-panel textarea[data-import-source] {
  min-height: 260px;
  font-family: monospace;
  font-size: 14px;
}
.import-panel .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.import-panel fieldset {
  min-width: 0;
}
.import-panel details {
  margin: 18px 0;
}
.import-panel summary {
  font-weight: 700;
  cursor: pointer;
}
.import-panel input[type="checkbox"] {
  width: 24px;
  min-height: 24px;
}
.import-panel [role="status"] {
  white-space: pre-wrap;
}
.import-panel :focus-visible {
  outline: 3px solid #165bcb;
  outline-offset: 3px;
}
