/* Личный кабинет: профиль, устройства, Face ID, пользователи. */

.ac-head {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4);
  margin-bottom: var(--s3);
  background: var(--surface);
  border-radius: var(--r-card);
}
.ac-avatar {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 26px;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 700; letter-spacing: -.02em;
}
.ac-head .a-name { font-size: var(--t-title3); font-weight: 700; letter-spacing: -.02em; }
.ac-head .a-sub { font-size: var(--t-footnote); color: var(--ink-3); margin-top: 1px; }

.theme-seg { margin-top: var(--s2); }

.dev {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  position: relative;
}
.dev + .dev::before {
  content: ""; position: absolute; top: 0; left: var(--s4); right: 0;
  height: .5px; background: var(--hairline);
}
.dev .d-name { font-size: var(--t-subhead); font-weight: 500; }
.dev .d-meta { font-size: var(--t-caption); color: var(--ink-3); margin-top: 1px; }
.dev .d-now {
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: var(--income-soft);
  color: var(--income);
  font-size: var(--t-caption2);
  font-weight: 600;
}
.dev .d-kill {
  width: 30px; height: 30px;
  border: 0; background: none; border-radius: 8px;
  color: var(--ink-3);
  display: grid; place-items: center;
}
.dev .d-kill svg { width: 14px; height: 14px; stroke: currentColor; fill: none;
                   stroke-width: 2.2; stroke-linecap: round; }

/* Ключ Face ID. Выделен акцентом: это единственный элемент кабинета, который
   стоит завести всем и сразу. */
.key-cta {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4);
  border-radius: var(--r-card);
  background: var(--accent-soft);
  margin-bottom: var(--s3);
}
.key-cta .k-ico {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent);
  display: grid; place-items: center;
}
.key-cta .k-ico svg {
  width: 24px; height: 24px;
  stroke: #fff; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.key-cta .k-body { flex: 1; min-width: 0; }
.key-cta .k-title { font-size: var(--t-subhead); font-weight: 600; }
.key-cta .k-text { font-size: var(--t-caption); color: var(--ink-2); margin-top: 1px; }

.pw-box {
  margin-top: var(--s3);
  padding: var(--s4);
  border-radius: var(--r-card);
  background: var(--warn-soft);
  color: var(--warn);
}
.pw-box .p-code {
  display: block;
  margin-top: var(--s2);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .06em;
  overflow-wrap: anywhere;
}

.person {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  position: relative;
}
.person + .person::before {
  content: ""; position: absolute; top: 0; left: var(--s4); right: 0;
  height: .5px; background: var(--hairline);
}
.person.off { opacity: .55; }
.person .p-name { font-size: var(--t-subhead); font-weight: 500; }
.person .p-meta { font-size: var(--t-caption); color: var(--ink-3); margin-top: 1px; }
