/*
 * ATLAS Mobile - Personendetail (kompakt, analog Firmenansicht).
 */

.person-screen {
  min-height: calc(100vh - var(--nav-height));
  background: var(--acencia-blue-4);
}

.person-hero {
  position: relative;
  padding: 8px 14px 10px;
  overflow: hidden;
  color: var(--acencia-blue-4);
  background:
    radial-gradient(circle at 72% 46%, rgba(20, 83, 126, 0.28), transparent 46%),
    var(--acencia-blue-1);
}

.person-hero__top {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: var(--touch-target);
}

.person-hero__back {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.person-hero__back svg {
  width: 22px;
  height: 22px;
}

.person-hero__identity {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.person-hero__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--acencia-blue-1);
  background: linear-gradient(145deg, #ffffff, #dbe8f3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.person-hero__icon svg {
  width: 22px;
  height: 22px;
}

.person-hero__text,
.person-hero__name,
.person-hero__subtitle {
  display: block;
  min-width: 0;
}

.person-hero__text {
  flex: 1 1 auto;
}

.person-hero__name {
  overflow: hidden;
  font-size: clamp(17px, 4.8vw, 21px);
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-hero__subtitle {
  margin-top: 2px;
  overflow: hidden;
  color: var(--acencia-blue-2);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-content {
  padding: 12px 14px 18px;
  background: var(--acencia-blue-4);
}

.person-section {
  max-width: 680px;
  margin: 0 auto;
}

.person-section__title {
  margin: 0;
  padding: 0 2px 6px;
  border-bottom: 1px solid var(--acencia-blue-3);
  color: #557ba4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.person-section__rows {
  width: 100%;
}

.person-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 2px;
  border-bottom: 1px solid var(--acencia-blue-3);
  color: var(--acencia-blue-1);
  text-align: left;
  background: transparent;
}

.person-field__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--acencia-blue-1);
  background: var(--acencia-blue-3);
}

.person-field__icon svg {
  width: 18px;
  height: 18px;
}

.person-field__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.person-field__label {
  color: #6283a8;
  font-size: 11px;
  line-height: 1.2;
}

.person-field__value {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.person-field.is-actionable {
  width: 100%;
  padding-right: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  font-family: inherit;
  cursor: pointer;
}

.person-field.is-actionable .person-field__value {
  color: var(--acencia-orange-1);
}

.person-field[data-person-action='address'] .person-field__value,
.person-field[data-person-action='employer'] .person-field__value,
.person-field[data-person-action='dob'] .person-field__value {
  color: var(--acencia-blue-1);
}

.person-field__chevron {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--acencia-orange-1);
}

.person-field__chevron svg {
  width: 16px;
  height: 16px;
}

.person-empty {
  margin: 0;
  padding: 16px 2px;
  color: #6283a8;
  font-size: 13px;
}

.person-field:focus-visible,
.person-hero__back:focus-visible {
  outline: 2px solid var(--acencia-orange-1);
  outline-offset: 2px;
}

@media (min-width: 700px) {
  .person-hero__top {
    max-width: 680px;
    margin: 0 auto;
  }
}
