.profile-guides {
  padding-block: 16px;
}
.profile-guide-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-guide-header h2 {
  margin: 0;
}
.profile-guide-header span,
.profile-guide-status {
  color: var(--qd-muted);
}
.profile-guide-toolbar {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 12px;
}
.profile-guide-toolbar label {
  flex: 1;
  min-width: 0;
  max-width: 520px;
}
.profile-guide-toolbar input {
  display: block;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  margin-top: 4px;
}
.profile-guide-toolbar button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
}
.profile-guide-status {
  margin: 8px 0;
  font-size: 13px;
}
.profile-guide-topic {
  border-bottom: 1px solid var(--qd-line);
  padding-block: 12px;
}
.profile-guide-topic summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 32px;
  overflow-wrap: anywhere;
}
.profile-guide-topic ol {
  max-width: 90ch;
  padding-left: 24px;
  margin-block: 12px;
}
.profile-guide-topic li {
  margin-block: 8px;
  overflow-wrap: anywhere;
}
.profile-guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.profile-guide-links a {
  color: var(--qd-accent);
  min-height: 32px;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

#employeeDocumentsPanel .row > div {
  min-width: 0;
}
#employeeDocumentsPanel input:not([type="checkbox"]),
#employeeDocumentsPanel textarea {
  box-sizing: border-box;
  width: 100%;
}
#employeeDocumentsPanel .list {
  list-style: none;
  padding: 0;
}
#employeeDocumentsPanel .list li {
  padding: 6px 0;
}
#employeeDocumentsPanel .label-flex {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  text-align: left;
  min-height: 36px;
}
#employeeDocumentsPanel input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.profile-form-grid label {
  display: block;
  min-width: 0;
}
.profile-form-grid input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
}
.profile-form-grid button {
  justify-self: start;
  grid-column: 1 / -1;
}
.profile-security {
  border-top: 1px solid var(--qd-line);
  padding-top: 16px;
}
@media (max-width: 720px) {
  .profile-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
