.lk-profile,
.lk-profile * {
  box-sizing: border-box;
}

.lk-profile {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  gap: 22px;
  color: #0b1713;
}

.lk-profile a {
  color: inherit;
}

.lk-profile-head {
  display: grid;
  gap: 8px;
  padding: 4px 2px 8px;
}

.lk-profile-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #526274;
  font-size: 14px;
  font-weight: 760;
}

.lk-profile-breadcrumb span:last-child {
  color: #101828;
}

.lk-profile h1,
.lk-profile h2,
.lk-profile h3,
.lk-profile p {
  margin: 0;
}

.lk-profile h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: 0;
}

.lk-profile-subtitle {
  max-width: 680px;
  color: #526274;
  font-size: 16px;
  line-height: 1.55;
}

.lk-profile-shell {
  overflow: hidden;
  border: 1px solid rgba(20,58,45,.13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(16,24,40,.08);
}

.lk-profile-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(20,58,45,.12);
  background: linear-gradient(180deg, #fff, #fbfdfb);
}

.lk-profile-tab {
  min-width: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #344054;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 70px;
  padding: 14px 12px;
  font: inherit;
  font-weight: 860;
}

.lk-profile-tab svg {
  width: 19px;
  height: 19px;
}

.lk-profile-tab:hover,
.lk-profile-tab[aria-selected="true"] {
  color: #0b6f4d;
  background: #f5fbf7;
  border-bottom-color: #14935f;
}

.lk-profile-tab:focus-visible,
.lk-profile .lk-profile-button:focus-visible,
.lk-profile input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(20,147,95,.18);
}

.lk-profile-panel {
  display: none;
  padding: clamp(10px, 1.2vw, 14px) clamp(18px, 3vw, 32px) clamp(18px, 3vw, 32px);
}

.lk-profile-panel.is-active {
  display: grid;
  gap: 22px;
}

.lk-profile-card {
  border: 1px solid rgba(20,58,45,.13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16,24,40,.055);
}

.lk-profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
}

.lk-profile-avatar-wrap {
  position: relative;
  width: 128px;
  height: 128px;
}

.lk-profile-avatar {
  width: 128px;
  height: 128px;
  border-radius: 999px;
  border: 4px solid #fff;
  object-fit: cover;
  background: #eef4f0;
  box-shadow: 0 14px 32px rgba(16,24,40,.14);
}

.lk-profile-avatar-action {
  position: absolute;
  right: 2px;
  bottom: 4px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(20,58,45,.16);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #123d2d;
  box-shadow: 0 8px 20px rgba(16,24,40,.12);
}

.lk-profile-identity {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.lk-profile-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lk-profile-name-row h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.1;
}

.lk-profile-email {
  color: #344054;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.lk-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #667085;
  font-size: 14px;
  font-weight: 720;
}

.lk-profile-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lk-profile .lk-ui-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.lk-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(20,58,45,.16);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 860;
}

.lk-profile-badge.is-ok,
.lk-profile-badge.is-gold,
.lk-profile-badge.is-silver,
.lk-profile-badge.is-bronze {
  color: #0b6f4d;
  background: #eaf8ef;
  border-color: #bfe8cd;
}

.lk-profile-badge.is-warn {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.lk-profile-badge.is-free {
  color: #475467;
  background: #f7f9fb;
  border-color: #e5e7eb;
}

.lk-profile-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.lk-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lk-profile-quick {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  text-decoration: none;
}

.lk-profile-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b6f4d;
  background: #eaf8ef;
  border: 1px solid #cbeed7;
  flex: 0 0 auto;
}

.lk-profile-icon.is-blue {
  color: #047857;
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.lk-profile-icon.is-red {
  color: #b42318;
  background: #fff1f1;
  border-color: #ffd0d0;
}

.lk-profile-icon svg {
  width: 22px;
  height: 22px;
}

.lk-profile-quick strong,
.lk-profile-card-title strong {
  display: block;
  color: #101828;
  font-weight: 900;
}

.lk-profile-quick span,
.lk-profile-card-title span,
.lk-profile-muted {
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}

.lk-profile-chevron {
  color: #667085;
  font-size: 24px;
}

.lk-profile-section-card {
  padding: clamp(18px, 2.6vw, 26px);
  display: grid;
  gap: 18px;
}

.lk-profile-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.lk-profile-card-title {
  display: grid;
  gap: 5px;
}

.lk-profile-photo-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
}

.lk-profile-current-avatar,
.lk-profile-upload-zone {
  border: 1px solid rgba(20,58,45,.13);
  border-radius: 8px;
  background: #fbfdfb;
}

.lk-profile-current-avatar {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 22px;
  text-align: center;
}

.lk-profile-current-avatar img {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  object-fit: cover;
  background: #eef4f0;
  border: 4px solid #fff;
  box-shadow: 0 14px 32px rgba(16,24,40,.12);
}

.lk-profile-upload-zone {
  min-height: 260px;
  padding: 26px;
  border-style: dashed;
  border-color: rgba(82,98,116,.45);
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
}

.lk-profile-upload-zone:hover {
  border-color: #14935f;
  background: #f7fcf8;
}

.lk-profile-upload-inner {
  display: grid;
  justify-items: center;
  gap: 11px;
}

.lk-profile-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.lk-profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lk-profile-form-card {
  padding: 22px;
  display: grid;
  gap: 15px;
}

.lk-profile-field {
  display: grid;
  gap: 7px;
}

.lk-profile-field label {
  color: #344054;
  font-weight: 850;
}

.lk-profile-field input {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(20,58,45,.16);
  border-radius: 8px;
  background: #fff;
  color: #101828;
  padding: 10px 13px;
  font: inherit;
}

.lk-profile-field input:focus {
  border-color: rgba(20,147,95,.65);
}

.lk-profile-button {
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(20,58,45,.16);
  background: #fff;
  color: #101828;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16,24,40,.05);
}

.lk-profile-button.is-primary {
  border-color: #0b6f4d;
  background: linear-gradient(135deg, #0b513f, #12805c);
  color: #fff;
  box-shadow: 0 14px 28px rgba(18,128,92,.22);
}

.lk-profile-button.is-danger {
  border-color: #ef4444;
  background: #fff;
  color: #b42318;
}

.lk-profile-button.is-danger-fill {
  border-color: #d92d20;
  background: #d92d20;
  color: #fff;
}

.lk-profile-button[disabled] {
  cursor: not-allowed;
  opacity: .55;
}

.lk-profile-plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .9fr);
  gap: 18px;
  align-items: stretch;
}

.lk-profile-plan-cell {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-left: 1px solid rgba(20,58,45,.12);
}

.lk-profile-plan-cell:first-child {
  border-left: 0;
}

.lk-profile-danger {
  border-color: rgba(217,45,32,.28);
  background: linear-gradient(180deg, #fff, #fff8f8);
}

.lk-profile-danger .lk-profile-card-head {
  border-bottom: 1px solid rgba(217,45,32,.16);
  padding-bottom: 16px;
}

.lk-profile-note {
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 8px;
  background: #f8fbff;
  color: #526274;
  padding: 13px 14px;
  font-size: 14px;
}

.lk-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lk-profile-anchor {
  position: absolute;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

@media (max-width: 920px) {
  .lk-profile-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lk-profile-hero,
  .lk-profile-photo-layout,
  .lk-profile-form-grid,
  .lk-profile-plan-grid {
    grid-template-columns: 1fr;
  }

  .lk-profile-hero-actions {
    justify-content: flex-start;
  }

  .lk-profile-plan-cell,
  .lk-profile-plan-cell:first-child {
    border-left: 0;
    border-top: 1px solid rgba(20,58,45,.12);
  }

  .lk-profile-plan-cell:first-child {
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .lk-profile {
    width: min(100%, calc(100vw - 24px));
  }

  .lk-profile-tabs {
    grid-template-columns: 1fr;
  }

  .lk-profile-tab {
    min-height: 54px;
    justify-content: flex-start;
    padding-left: 18px;
  }

  .lk-profile-panel {
    padding: 14px;
  }

  .lk-profile-grid {
    grid-template-columns: 1fr;
  }

  .lk-profile-hero {
    justify-items: start;
  }

  .lk-profile-actions,
  .lk-profile-button {
    width: 100%;
  }
}


