.nv-account {
  padding: 26px;
  margin-bottom: 36px;
  background: #1a202a;
  border: 1px solid #303948;
  border-radius: 15px;
}
.nv-account [hidden] { display: none !important; }
.nv-account h2 { margin-top: 0; font-size: 22px; }
.nv-account-forms {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
  margin-top: 22px;
}
.nv-account-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nv-account label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nv-account input, .nv-account textarea, .nv-account select {
  padding: 12px;
  width: 100%;
  min-width: 0;
  background: #101319;
  color: #fff;
  border: 1px solid #526076;
  border-radius: 8px;
  font: inherit;
}
#nv-project-form fieldset, #nv-f01-form fieldset, #nv-f02-form fieldset, #nv-f02-target,
#nv-f03 fieldset, #nv-f04 fieldset, #nv-f05 fieldset, #nv-f06 fieldset {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #526076;
  border-radius: 8px;
}
#nv-project-form textarea, #nv-f01-form textarea, #nv-f02-form textarea { resize: vertical; }
#nv-project-form button, #nv-f01-form button, #nv-f02-form button { justify-self: start; }
#nv-f01-sections p { white-space: pre-wrap; overflow-wrap: anywhere; }
#nv-f02-output { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.6; }
#nv-f03-workspace, #nv-f03-fields { display: grid; gap: 14px; }
#nv-f03 pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.6; }
#nv-f03 textarea { resize: vertical; }
#nv-f03-refresh { justify-self: start; }
#nv-f03-use-f01-label { flex-direction: row; align-items: center; }
#nv-f03-use-f01 { width: auto; }
.nv-f03-actions, .nv-f04-actions, .nv-f05-actions, .nv-f06-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#nv-f06-f02 { display: grid; gap: 14px; }
#nv-f06 button { justify-self: start; }
#nv-f06 textarea { resize: vertical; }
.nv-f06-table-wrap { overflow-x: auto; }
.nv-f06-table-wrap table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.nv-f06-table-wrap th, .nv-f06-table-wrap td {
  padding: 8px;
  border: 1px solid #526076;
  text-align: left;
  vertical-align: top;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.nv-f06-table-wrap th:first-child { width: 4.5rem; }
#nv-f06-full { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.6; }
#nv-f05-sections, .nv-f05-section { display: grid; gap: 12px; }
.nv-f05-section { padding-bottom: 12px; border-bottom: 1px solid #303948; }
#nv-f05 textarea { resize: vertical; }
#nv-f05 button { justify-self: start; }
#nv-f05-story-label { flex-direction: row; align-items: center; }
#nv-f05-story-label input { width: auto; }
#nv-f04-form button { justify-self: start; }
.nv-f04-table-wrap { overflow-x: auto; margin-bottom: 18px; }
#nv-f04-table { width: 100%; border-collapse: collapse; }
#nv-f04-table th, #nv-f04-table td {
  padding: 8px;
  border: 1px solid #526076;
  text-align: left;
  vertical-align: top;
}
#nv-f04-table textarea { min-width: 9rem; resize: vertical; }
#nv-f04-table input { min-width: 5rem; }
#nv-f04-checklist li { margin-block: 6px; overflow-wrap: anywhere; }
#nv-project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
#nv-project-list button { overflow-wrap: anywhere; }
.nv-account button {
  padding: 12px 16px;
  cursor: pointer;
  background: #405d8a;
  color: white;
  border: none;
  border-radius: 8px;
  font: inherit;
}
.nv-account button:disabled { opacity: .5; }
.nv-account-profile { overflow-wrap: anywhere; }
.nv-account-note { color: #d5bf89; font-size: 13px; }
.nv-error { color: #f2a8a8; }
@media(max-width:650px) {
  .nv-account-forms { grid-template-columns: 1fr; }
}
