/* Personnel/workplace readability. Keep the existing corporate faces and
   palette. AXIS draws Latin lowercase letters as capitals but has no U+0131
   dotless-i glyph: mixed-case text needs real Turkish uppercase transformation,
   not the visual faux-caps that otherwise leaves fallback lowercase ı behind. */
.workplace-ui h4,
.workplace-ui summary {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .01em;
  word-spacing: .035em;
  overflow-wrap: anywhere;
}

.workplace-ui {
  font-size: 16px;
  line-height: 1.55;
}

.workplace-ui h3 {
  font-size: 19px;
  line-height: 1.35;
}

.workplace-ui h4,
.workplace-ui summary {
  font-size: 16px;
  line-height: 1.4;
}

.workplace-ui p {
  font-size: 16px;
  line-height: 1.55;
}

.workplace-ui label,
.workplace-ui .workplace-identity dt {
  font-size: 15px;
  line-height: 1.5;
}

.workplace-ui input,
.workplace-ui select,
.workplace-ui textarea,
.workplace-ui button,
.workplace-ui .workplace-record > b,
.workplace-ui .workplace-identity dd {
  font-size: 16px;
  line-height: 1.5;
}

.workplace-ui .workplace-record p {
  font-size: 14px;
  line-height: 1.55;
}

.workplace-ui :is(input, select, textarea, button) {
  min-height: 44px;
}

/* Consent checkboxes are controls, not full-width form text fields. */
.workplace-ui .workplace-consent input[type="checkbox"] {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
}

.workplace-ui summary {
  padding: 12px 0;
}

.workplace-ui .workplace-current h4:first-child {
  margin-top: 0;
}

#employeeForm label,
#employeeEditForm label {
  font-size: 15px;
  line-height: 1.5;
}

#employeeForm :is(input, select, textarea, button),
#employeeEditForm :is(input, select, textarea, button) {
  font-size: 16px;
  line-height: 1.5;
  min-height: 44px;
}

#employeeForm .note,
#employeeEditForm .note {
  font-size: 14px;
  line-height: 1.55;
}

#employeeCardPanel [hidden] {
  display: none !important;
}

#employeeCardPanel,
#workplaceManager,
#workplaceForm {
  scroll-margin-top: 7rem;
}

#employeeEditorSelection {
  border-left: 4px solid var(--p);
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#employeeEditorActions {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  gap: 10px;
}

#employeeEditorActions button {
  min-height: 44px;
  font-size: 15px;
}

#employeeEditGuardNote {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 12px;
}

#employeeDateCorrection {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

#employeeForm .employee-date-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

#employeeForm .employee-date-consent input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
}

@media (max-width: 1100px) {
  .workplace-ui .workplace-current {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  #employeeCardPanel,
  #workplaceManager,
  #workplaceForm {
    scroll-margin-top: 12rem;
  }
}
