/* Bilimzet — личный кабинет (референс Home dashboard) */

.profile-lk {
  --plk-bg: #f4f5f7;
  --plk-surface: #ffffff;
  --plk-border: #ececf0;
  --plk-text: #111113;
  --plk-muted: #8e919b;
  --plk-primary: #0077b6;
  --plk-primary-soft: #e1f1fa;
  --plk-progress: #5dcc7a;
  --plk-radius: 20px;
  --plk-panel-radius: 28px;
  --plk-sidebar-rail-w: 68px;
  --plk-sidebar-panel-w: 196px;
  --plk-sidebar-w: calc(var(--plk-sidebar-rail-w) + var(--plk-sidebar-panel-w));
  --plk-sidebar-rail-bg: #dceaf6;
  --plk-sidebar-panel-bg: #dceaf6;
  --plk-sidebar-text: #2f2850;
  --plk-sidebar-muted: #6f6794;
  --plk-sidebar-hover: #cee3f4;
  --plk-sidebar-active-bg: #bfdcf1;
  --plk-sidebar-accent: #0077b6;
  --plk-sidebar-divider: rgba(47, 40, 80, 0.08);
  --plk-sidebar-top-h: 48px;
  --plk-main-radius: 28px;

  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.profile-lk-shell {
  flex: 1 1 auto;
  min-height: 0 !important;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
}

main.profile-main--lk {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: var(--plk-sidebar-rail-bg, #dceaf6) !important;
}

.profile-lk--sidebar-collapsed {
  --plk-sidebar-w: var(--plk-sidebar-rail-w);
}

/* Единая панель: sidebar + header + контент */
.profile-lk__panel {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  width: 100%;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  position: relative;
  isolation: isolate;
  background: var(--plk-sidebar-rail-bg);
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  box-sizing: border-box;
}

.profile-lk__sidebar {
  flex: 0 0 var(--plk-sidebar-w);
  width: var(--plk-sidebar-w);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 0;
  position: relative;
  overflow: visible;
  border-right: none;
  box-sizing: border-box;
  background: var(--plk-sidebar-rail-bg);
  padding: 14px 14px 24px 10px;
  transition: width 0.22s ease, flex-basis 0.22s ease;
  z-index: 2;
}

.profile-lk__sidebar-head {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  padding-left: 0;
  box-sizing: border-box;
}

.profile-lk__sidebar-logo {
  flex: 0 0 var(--plk-sidebar-rail-w);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--plk-sidebar-rail-w);
  height: 52px;
  margin-left: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
}

.profile-lk__panel-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--plk-sidebar-text);
  margin-left: 8px;
}

.profile-lk__sidebar-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-lk__sidebar-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}

.profile-lk__nav-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--plk-sidebar-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-lk__nav-icon {
  flex: 0 0 var(--plk-sidebar-rail-w);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--plk-sidebar-rail-w);
  height: 40px;
  margin-left: -10px;
  color: inherit;
}

.profile-lk__nav-label {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 12px 0 0;
}

.profile-lk__nav-item:hover {
  background: var(--plk-sidebar-hover);
  color: var(--plk-sidebar-text);
}

.profile-lk__nav-item--active {
  background: #fff;
  color: var(--plk-primary);
  box-shadow: 0 1px 3px rgba(47, 40, 80, 0.06);
  border-radius: 10px;
  z-index: 3;
}

.profile-lk__nav-item--active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: var(--plk-sidebar-accent);
}

.profile-lk__sidebar-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  margin-top: auto;
}

.profile-lk__sidebar-verify-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  margin-top: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  width: 100%;
}

.profile-lk__sidebar-verify-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--plk-sidebar-text);
  line-height: 1.3;
}

.profile-lk__sidebar-verify-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background: var(--plk-primary);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.profile-lk__sidebar-verify-btn:hover {
  opacity: 0.9;
}

.profile-lk__sidebar-verify-btn:active {
  transform: scale(0.98);
}

.profile-lk__sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-top: 12px;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.profile-lk__sidebar-user:hover {
  background: var(--plk-sidebar-hover);
}

.profile-lk__sidebar-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.4);
}

.profile-lk__sidebar-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plk-sidebar-muted);
}

.profile-lk__sidebar-user-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.profile-lk__sidebar-user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--plk-sidebar-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-lk__sidebar-user-label {
  display: none;
}

.profile-lk__sidebar-user-meta {
  font-size: 12px;
  color: var(--plk-sidebar-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-lk__sidebar-user-chevron {
  flex-shrink: 0;
  color: var(--plk-sidebar-muted);
}

.profile-lk__sidebar-user-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Убрана верхняя полоса, фон теперь у profile-lk__panel */

.profile-lk__sidebar-rail {
  flex: 0 0 var(--plk-sidebar-rail-w);
  width: var(--plk-sidebar-rail-w);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 14px 10px;
  background: transparent;
  border-right: none;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.profile-lk__rail-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  padding: 7px;
  border: none;
  border-radius: 12px;
  background: rgba(109, 88, 255, 0.12);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.profile-lk__rail-logo:hover {
  background: rgba(109, 88, 255, 0.2);
}

.profile-lk__rail-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-lk__rail-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 0;
  margin-top: 62px;
}

.profile-lk__rail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--plk-sidebar-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-lk__rail-btn:hover {
  background: var(--plk-sidebar-hover);
  color: var(--plk-sidebar-text);
}

.profile-lk__rail-btn--active {
  background: #fff;
  color: var(--plk-primary);
  box-shadow: 0 1px 3px rgba(47, 40, 80, 0.08);
}

.profile-lk__rail-btn--ghost {
  opacity: 0.88;
}

.profile-lk__rail-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  margin-top: auto;
}

.profile-lk__sidebar-panel {
  flex: 1 1 auto;
  width: var(--plk-sidebar-panel-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 14px 14px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: transparent;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.profile-lk--sidebar-collapsed .profile-lk__sidebar-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
}

.profile-lk__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 44px;
  margin-bottom: 18px;
}

.profile-lk__panel-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--plk-sidebar-text);
}

.profile-lk__panel-collapse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--plk-sidebar-divider);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--plk-sidebar-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.profile-lk__panel-collapse:hover {
  background: #fff;
  color: var(--plk-sidebar-text);
}

.profile-lk__panel-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-lk__panel-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--plk-sidebar-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-lk__panel-item:hover {
  background: var(--plk-sidebar-hover);
  color: var(--plk-sidebar-text);
}

.profile-lk__panel-item--active {
  background: #fff;
  color: var(--plk-primary);
  box-shadow: 0 1px 3px rgba(47, 40, 80, 0.06);
  border-radius: 10px 0 0 10px;
  position: relative;
  z-index: 3;
}

.profile-lk__panel-item--active::after {
  content: "";
  position: absolute;
  top: -14px;
  right: -14px;
  bottom: -14px;
  width: 14px;
  background:
    radial-gradient(circle at top left, transparent 14px, #fff 14.5px) top left / 100% 14px no-repeat,
    radial-gradient(circle at bottom left, transparent 14px, #fff 14.5px) bottom left / 100% 14px no-repeat,
    linear-gradient(#fff, #fff) center left / 100% calc(100% - 27.5px) no-repeat;
  pointer-events: none;
}

.profile-lk__panel-item--active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: var(--plk-sidebar-accent);
}

.profile-lk__panel-group {
  margin-top: 6px;
}

.profile-lk__panel-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--plk-sidebar-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-lk__panel-group-head:hover,
.profile-lk__panel-group--open .profile-lk__panel-group-head {
  background: rgba(255, 255, 255, 0.5);
  color: var(--plk-sidebar-text);
}

.profile-lk__panel-group-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--plk-sidebar-muted);
}

.profile-lk__panel-sublist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 2px 8px;
}

.profile-lk__panel-subitem {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--plk-sidebar-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-lk__panel-subitem svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.profile-lk__panel-subitem:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--plk-sidebar-text);
}

.profile-lk__panel-subitem--active {
  color: var(--plk-primary);
  background: rgba(255, 255, 255, 0.72);
}

.profile-lk__panel-subitem--active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 2px;
  border-radius: 999px;
  background: var(--plk-sidebar-accent);
}

.profile-lk__panel-subitem--muted {
  color: var(--plk-sidebar-muted);
}

.profile-lk__main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: none;
  border-radius: var(--plk-main-radius);
  box-shadow: none;
  position: relative;
  z-index: 1;
  align-self: stretch;
  margin: 16px 16px 16px 0;
  
  /* Скрываем скроллбар, но оставляем возможность скролла */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.profile-lk__main::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.profile-lk__main:has(.plk-dash) {
  background: #fff;
}

.profile-lk__header {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-shrink: 0;
  min-height: 72px;
  padding: 20px 24px;
  background: #fff;
  border: none;
  border-bottom: 1px solid var(--plk-border);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  box-sizing: border-box;
}

.profile-lk__header-start {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 0;
}

.profile-lk__header-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--plk-border);
  border-radius: 12px;
  background: #fff;
  color: var(--plk-text);
  cursor: pointer;
  flex-shrink: 0;
}

.profile-lk__sidebar-overlay {
  display: none;
}

.profile-lk__sidebar-drawer-close {
  display: none;
}

.profile-lk__sidebar-drawer-wrap {
  display: contents;
}

.profile-lk__sidebar-drawer-logo {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.profile-lk__sidebar-drawer-logo-img {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.profile-lk__sidebar-verify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--plk-border);
  background: #fff;
  color: var(--plk-primary);
}

.profile-lk__sidebar-verify-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--plk-muted);
}

.profile-lk__sidebar-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.profile-lk__sidebar-drawer-help {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--plk-text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.profile-lk__sidebar-drawer-help:hover {
  color: var(--plk-primary);
}

.profile-lk__sidebar-avatar--initials {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--plk-primary);
  background: var(--plk-primary-soft);
}

.profile-lk__sidebar-bottom {
  display: none;
}

.profile-lk__header-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.profile-lk__header-brand:hover .profile-lk__header-brand-name {
  color: var(--plk-primary);
}

.profile-lk__header-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.profile-lk__header-brand-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--plk-sidebar-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.profile-lk__header-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.profile-lk__title {
  flex: 0 0 auto;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--plk-sidebar-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.profile-lk__header-search {
  flex: 0 1 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  max-width: 480px;
  margin-inline: 0;
  padding: 0 14px;
  height: 40px;
  min-height: 40px;
  background: #f0f0f2;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.profile-lk__header-search:focus-within {
  background: #fff;
  border-color: var(--plk-border);
  box-shadow: 0 1px 3px rgba(17, 17, 19, 0.06);
}

.profile-lk__header-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #111113;
}

.profile-lk__header-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 13px;
  line-height: 1.3;
  color: var(--plk-text);
  outline: none;
}

.profile-lk__header-search-input::placeholder {
  color: #9a9aa3;
}

.profile-lk__header-search-input:disabled {
  cursor: default;
  opacity: 1;
}

.profile-lk__header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.profile-lk__lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.profile-lk__lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  opacity: 0.45;
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.profile-lk__lang-btn:hover {
  opacity: 0.75;
}

.profile-lk__lang-btn--active {
  opacity: 1;
}

.profile-lk__lang-btn:active {
  transform: scale(0.96);
}

.profile-lk__lang-flag {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: cover;
}

.profile-lk__header-streak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f0f0f2;
  color: #111113;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.profile-lk__header-streak--open {
  box-shadow: 0 0 0 1px rgba(61, 57, 244, 0.18);
}

.profile-lk__header-streak--open.profile-lk__header-streak--tier-gray {
  background: #e8e8ec;
}

.profile-lk__header-streak--open.profile-lk__header-streak--tier-red,
.profile-lk__header-streak--open.profile-lk__header-streak--tier-blue,
.profile-lk__header-streak--open.profile-lk__header-streak--tier-green,
.profile-lk__header-streak--open.profile-lk__header-streak--tier-purple {
  background: #e1f1fa;
}

.profile-lk__header-streak--active {
  background: linear-gradient(180deg, #fff4eb 0%, #ffe8d6 100%);
  box-shadow: 0 0 0 1px rgba(255, 125, 0, 0.12);
}

.profile-lk__header-streak--tier-red {
  background: linear-gradient(180deg, #fff1f1 0%, #ffe3e3 100%);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.22);
}

.profile-lk__header-streak--tier-blue {
  background: linear-gradient(180deg, #f3f3ff 0%, #e8e8ff 100%);
  box-shadow: 0 0 0 1px rgba(61, 57, 244, 0.22);
}

.profile-lk__header-streak--tier-green {
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.22);
}

.profile-lk__header-streak--tier-purple {
  background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.24);
}

.profile-lk__header-streak--tier-gray {
  background: #f0f0f2;
  box-shadow: none;
}

.profile-lk__header-streak-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.profile-lk__header-streak-flame {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.profile-lk__header-streak-flame--red {
  filter: saturate(1.35) brightness(1.05);
}

.profile-lk__header-streak-flame--blue {
  filter: hue-rotate(195deg) saturate(1.45) brightness(1.02);
}

.profile-lk__header-streak-flame--green {
  filter: hue-rotate(85deg) saturate(1.4) brightness(1.02);
}

.profile-lk__header-streak-flame--purple {
  filter: hue-rotate(250deg) saturate(1.35) brightness(1.02);
}

.profile-lk__header-streak-flame--gray {
  filter: grayscale(1) opacity(0.42);
}

.profile-lk__header-streak-text {
  letter-spacing: -0.01em;
}

.profile-lk__streak-reward {
  position: relative;
  flex-shrink: 0;
}

.plk-streak-info {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 35;
  width: min(340px, calc(100vw - 32px));
  padding: 16px 16px 14px;
  background: var(--plk-surface);
  border: 1px solid var(--plk-border);
  border-radius: 16px;
  box-sizing: border-box;
}

.plk-streak-info__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--plk-text);
  letter-spacing: -0.02em;
}

.plk-streak-info__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--plk-muted);
}

.plk-streak-info__note,
.plk-streak-info__streak {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--plk-text);
}

.plk-streak-info__subtitle {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--plk-muted);
}

.plk-streak-info__today {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f6f8;
  border: 1px solid var(--plk-border);
}

.plk-streak-info__today--active {
  background: #f3f3ff;
  border-color: rgba(61, 57, 244, 0.14);
}

.plk-streak-info__today-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.plk-streak-info__today-head strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--plk-text);
}

.plk-streak-info__today p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--plk-muted);
}

.plk-streak-info__today-flame,
.plk-streak-info__tier-flame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plk-streak-info__today-flame img,
.plk-streak-info__tier-flame img {
  width: 18px;
  height: 18px;
}

.plk-streak-info__tiers {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plk-streak-info__tier {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.plk-streak-info__tier--current {
  background: #f3f3ff;
  border-color: rgba(61, 57, 244, 0.14);
}

.plk-streak-info__tier-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.plk-streak-info__tier-copy strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--plk-text);
}

.plk-streak-info__tier-copy span {
  font-size: 12px;
  color: var(--plk-muted);
}

.plk-streak-info__note {
  margin-bottom: 0;
  font-size: 12px;
}

.profile-lk__header-streak-gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  color: #d4a017;
}

.plk-streak-coupon {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 30;
  width: min(320px, calc(100vw - 32px));
  margin-top: 28px;
  filter: drop-shadow(0 10px 25px rgba(254, 211, 48, 0.25));
}

.plk-streak-coupon__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #6b6b73;
  cursor: pointer;
}

.plk-streak-coupon__gift-badge {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  background: #ffffff;
  border: 5px solid #fcd232;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  box-sizing: border-box;
}

.plk-streak-coupon__gift-icon {
  color: #fcd232;
}

.plk-streak-coupon__body {
  width: 100%;
  min-height: 210px;
  background-color: #fcd232;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  mask-image: radial-gradient(circle at 0px 145px, transparent 12px, white 13px),
    radial-gradient(circle at 100% 145px, transparent 12px, white 13px);
  mask-composite: intersect;
  -webkit-mask-image: radial-gradient(circle at 0px 145px, transparent 12px, white 13px),
    radial-gradient(circle at 100% 145px, transparent 12px, white 13px);
  -webkit-mask-composite: source-in;
}

.plk-streak-coupon__upper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 18px 12px;
  text-align: center;
}

.plk-streak-coupon__discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  font-weight: 800;
  color: #111113;
}

.plk-streak-coupon__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #111113;
}

.plk-streak-coupon__desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(17, 17, 19, 0.78);
}

.plk-streak-coupon__dash {
  height: 0;
  border-top: 3px dashed #ffffff;
  margin: 0 14px;
  opacity: 0.9;
}

.plk-streak-coupon__lower {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px 14px;
  box-sizing: border-box;
}

.plk-streak-coupon__code {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background-color: #fbe695;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #111113;
  word-break: break-all;
}

.plk-streak-coupon__copy {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  background: #111113;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.plk-streak-coupon__copy:hover {
  opacity: 0.92;
}

.profile-lk__header-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #4a4a52;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-lk__header-btn:hover {
  color: var(--plk-text);
}

.profile-lk__header-btn--notify {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f0f0f2;
  color: #111113;
}

.profile-lk__header-btn--notify:hover {
  background: #e6e6ea;
  color: #111113;
}

.profile-lk__header-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #111113;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
}

.profile-lk__header-btn--avatar {
  width: 40px;
  height: 40px;
  padding: 2px;
  border-radius: 999px;
  background: #f0f0f2;
}

.profile-lk__header-btn--avatar:hover {
  background: #e6e6ea;
}

.profile-lk__header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
  background: #ececf0;
  border: none;
  box-shadow: none;
}

.profile-lk__header-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8e919b;
}

.profile-lk__content {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.profile-lk__content:has(.plk-dash) {
  flex: 1 1 auto;
  min-height: 100%;
  padding: 16px 22px 24px;
  background: transparent;
}

.profile-lk__content:not(:has(.plk-dash)) {
  padding: 20px 22px 24px;
}

.profile-lk__content:has(.plk-home) {
  background: transparent;
}

.profile-lk__content:has(.plk-edit) {
  padding: 16px 22px 32px;
  background: transparent;
}

/* ── Profile edit page ── */

.plk-edit-form {
  width: 100%;
}

.plk-edit {
  width: 100%;
  max-width: 760px;
}

.plk-edit__title {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--plk-text);
}

.plk-edit__phone {
  margin: 0 0 20px;
  color: var(--plk-muted);
}

.plk-edit__section-title {
  margin: 0 0 16px;
  color: var(--plk-text);
  letter-spacing: -0.01em;
}

.plk-edit__divider {
  margin: 24px 0;
  border: none;
  height: 1px;
  background: var(--plk-border);
}

.plk-edit__photo-row {
  align-self: flex-start;
}

.plk-edit__avatar {
  box-shadow: 0 1px 3px rgba(17, 17, 19, 0.04);
}

.plk-edit__label {
  color: var(--plk-text);
  font-weight: 500;
}

.plk-edit__hint {
  line-height: 1.45;
}

.plk-edit__docs {
  box-shadow: 0 1px 3px rgba(17, 17, 19, 0.04);
}

.plk-edit__docs button {
  border-radius: 999px !important;
  border: 1px solid var(--plk-border) !important;
  background: #fff !important;
  color: var(--plk-text) !important;
  font-weight: 500 !important;
  min-height: 40px;
  padding-inline: 14px !important;
}

.plk-edit__docs button:hover {
  background: #f7f7f8 !important;
}

.plk-edit__docs > div > label > button,
.plk-edit__docs label > div > button {
  background: var(--plk-primary) !important;
  border: none !important;
  color: #fff !important;
  min-height: 44px;
  padding-inline: 18px !important;
  font-weight: 600 !important;
}

.plk-edit__docs > div > label > button:hover,
.plk-edit__docs label > div > button:hover {
  opacity: 0.92;
}

.plk-edit__progress-label {
  margin-bottom: 8px;
}

.plk-edit__progress-bar {
  overflow: hidden;
}

.plk-edit__footer {
  align-items: flex-end;
}

.plk-edit__actions button.plk-edit__btn {
  min-height: 44px;
  padding-inline: 20px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}

.plk-edit__btn--ghost {
  background: #fff !important;
  border: 1px solid var(--plk-border) !important;
  color: var(--plk-text) !important;
}

.plk-edit__btn--ghost:hover {
  background: #f7f7f8 !important;
}

.plk-edit__btn--primary {
  background: var(--plk-text) !important;
  border: none !important;
  color: #fff !important;
}

.plk-edit__btn--primary:hover {
  opacity: 0.9;
}

.plk-edit input:focus {
  border-color: #c8c6fd !important;
  background: #fff !important;
}

@media (max-width: 1023px) {
  .plk-edit {
    max-width: 100%;
    padding-right: 0 !important;
  }
}

.profile-lk__content .chakra-stack,
.profile-lk__content .chakra-flex {
  max-width: 100%;
}

/* ── User strip (компактный профиль на Home) ── */

.plk-user-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  margin-bottom: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.plk-user-strip__photo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f2;
}

.plk-user-strip__info {
  flex: 1 1 auto;
  min-width: 0;
}

.plk-user-strip__name {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--plk-text);
}

.plk-user-strip__meta {
  margin: 0;
  font-size: 13px;
  color: var(--plk-muted);
}

.plk-user-strip__edit {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--plk-border);
  border-radius: 999px;
  background: #fff;
  color: var(--plk-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.plk-user-strip__edit:hover {
  background: #f7f7f8;
}

.plk-user-strip__logout {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #fde2e2;
  border-radius: 999px;
  background: #fff;
  color: #ef4444;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.plk-user-strip__logout:hover {
  background: #fef2f2;
}

/* ── Home (без курсов) ── */

.plk-home {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 8px 24px 32px;
  box-sizing: border-box;
}

.plk-home .plk-user-strip {
  padding: 0 0 20px;
  margin-bottom: 4px;
}

.plk-home-hero {
  margin-bottom: 22px;
}

.plk-home-hero__date {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--plk-muted);
  text-transform: capitalize;
}

.plk-home-hero__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--plk-text);
}

.plk-home-hero__title span {
  color: var(--plk-primary);
}

.plk-home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.plk-home-stats__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  background: #f7f7f9;
  border: 1px solid var(--plk-border);
  border-radius: 16px;
}

.plk-home-stats__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  flex-shrink: 0;
}

.plk-home-stats__icon--streak {
  background: linear-gradient(180deg, #fff1f1 0%, #ffe3e3 100%);
}

.plk-home-stats__icon--streak-red {
  background: linear-gradient(180deg, #fff1f1 0%, #ffe3e3 100%);
}

.plk-home-stats__icon--streak-blue {
  background: linear-gradient(180deg, #f3f3ff 0%, #e8e8ff 100%);
}

.plk-home-stats__icon--streak-green {
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
}

.plk-home-stats__icon--streak-purple {
  background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
}

.plk-home-stats__icon--streak-gray {
  background: #f0f0f2;
}

.plk-home-stats__icon--streak img {
  width: 20px;
  height: 20px;
}

.plk-home-stats__icon--done {
  background: #eaf8ef;
  color: #22a055;
}

.plk-home-stats__icon--progress {
  background: #e1f1fa;
  color: var(--plk-primary);
}

.plk-home-stats__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.plk-home-stats__copy strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  color: var(--plk-text);
}

.plk-home-stats__copy span {
  font-size: 12px;
  color: var(--plk-muted);
}

.plk-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px) minmax(260px, 300px);
  gap: 20px;
  align-items: start;
}

.plk-home-grid > .plk-home-card:first-child {
  grid-column: 1;
}

.plk-home .plk-aside {
  position: sticky;
  top: 16px;
  min-width: 0;
}

.plk-home-week-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.plk-home-week-stack .plk-stats-card {
  margin-top: 0;
}

.plk-home-card--week {
  position: static;
  top: auto;
}

.plk-home-card {
  background: var(--plk-surface);
  border: 1px solid var(--plk-border);
  border-radius: 20px;
  box-shadow: none;
  overflow: hidden;
}

.plk-home-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--plk-border);
}

.plk-home-card__head-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.plk-home-card__head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f7f7f9;
  color: var(--plk-text);
  flex-shrink: 0;
}

.plk-home-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--plk-text);
}

.plk-home-card__link {
  padding: 6px 12px;
  border: 1px solid var(--plk-border);
  border-radius: 999px;
  background: #fff;
  color: var(--plk-text);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.plk-home-card__link:hover {
  background: #f7f7f8;
}

.plk-home-card__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px 24px;
  text-align: center;
}

.plk-home-card__empty p {
  margin: 0;
  font-size: 14px;
  color: var(--plk-muted);
}

.plk-home-card__empty--compact {
  padding: 28px 20px;
}

.plk-home-card__cta {
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: var(--plk-primary);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.plk-home-courses__head,
.plk-home-courses__row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 72px 112px;
  gap: 12px;
  align-items: center;
}

.plk-home-courses__head {
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--plk-muted);
}

.plk-home-courses__list {
  display: flex;
  flex-direction: column;
}

.plk-home-courses__row {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-top: 1px solid var(--plk-border);
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.plk-home-courses__row:hover {
  background: #fafafb;
}

.plk-home-courses__name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.plk-home-courses__thumb {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f2;
}

.plk-home-courses__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.plk-home-courses__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--plk-text);
}

.plk-home-courses__progress {
  font-size: 14px;
  font-weight: 600;
  color: var(--plk-text);
}

.plk-home-courses__status {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.plk-home-courses__status--progress {
  background: #eaf8ef;
  color: #17803f;
}

.plk-home-courses__status--done {
  background: #e1f1fa;
  color: var(--plk-primary);
}

.plk-home-courses__status--pending {
  background: #fdeef3;
  color: #c03669;
}

.plk-home-week__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--plk-primary-soft);
  color: var(--plk-primary);
  font-size: 12px;
  font-weight: 700;
}

.plk-home-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 18px 18px 8px;
}

.plk-home-week__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 10px 4px 12px;
  border-radius: 14px;
  border: none;
  background: #f7f7f9;
  color: var(--plk-muted);
  position: relative;
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.plk-home-week__day:hover {
  background: #efeff3;
}

.plk-home-week__day--active {
  background: #e1f1fa;
  color: var(--plk-primary);
}

.plk-home-week__day--selected {
  background: #e1f1fa;
  color: var(--plk-primary);
  box-shadow: inset 0 0 0 2px var(--plk-primary);
}

.plk-home-week__day--today:not(.plk-home-week__day--selected) {
  box-shadow: inset 0 0 0 1px rgba(61, 57, 244, 0.35);
}

.plk-home-week__weekday {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plk-home-week__date {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--plk-text);
}

.plk-home-week__day--active .plk-home-week__date,
.plk-home-week__day--selected .plk-home-week__date {
  color: var(--plk-primary);
}

.plk-home-week__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--plk-primary);
}

.plk-home-day-progress {
  margin: 0 18px 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fafafb;
  border: 1px solid var(--plk-border);
}

.plk-home-day-progress__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--plk-text);
}

.plk-home-day-progress__subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--plk-muted);
}

.plk-home-day-progress__hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--plk-primary);
}

.plk-home-week__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--plk-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--plk-primary);
}

.plk-home-week__footer svg {
  flex-shrink: 0;
  color: var(--plk-primary);
}

.plk-home-continue {
  display: flex;
  flex-direction: column;
}

.plk-home-continue__item {
  padding: 16px 18px;
  border-top: 1px solid var(--plk-border);
}

.plk-home-continue__item:first-child {
  border-top: none;
}

.plk-home-continue__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.plk-home-continue__info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.plk-home-continue__thumb {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f2;
}

.plk-home-continue__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 13px;
  flex-shrink: 0;
}

.plk-home-continue__copy {
  min-width: 0;
}

.plk-home-continue__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--plk-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plk-home-continue__meta {
  margin: 0;
  font-size: 12px;
  color: var(--plk-muted);
}

.plk-home-continue__percent {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--plk-text);
}

.plk-home-continue__bar {
  height: 6px;
  border-radius: 999px;
  background: #ececef;
  overflow: hidden;
  margin-bottom: 12px;
}

.plk-home-continue__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 0.2s ease;
}

.plk-home-continue__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: var(--plk-primary-soft);
  color: var(--plk-primary);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.plk-home-continue__btn:hover {
  background: #e4e3fc;
}

.plk-home-continue__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--plk-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--plk-primary);
}

.plk-home-continue__footer svg {
  flex-shrink: 0;
  color: var(--plk-primary);
}

.plk-home-notifications {
  display: flex;
  flex-direction: column;
}

.plk-home-notifications .plk-notif-item {
  border-top: 1px solid var(--plk-border);
  border-radius: 0;
  box-shadow: none;
}

.plk-home-notifications .plk-notif-item:first-child {
  border-top: none;
}

@media (max-width: 1100px) {
  .plk-home-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 1fr);
  }

  .plk-home-grid > .plk-home-card:first-child {
    grid-column: 1 / -1;
  }

  .plk-home-card--week {
    grid-column: 1 / -1;
  }

  .plk-home-week-stack {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .plk-home-grid {
    grid-template-columns: 1fr;
  }

  .plk-home .plk-aside,
  .plk-home-card--week {
    position: static;
  }
}

@media (max-width: 640px) {
  .plk-home {
    padding-inline: 16px;
  }

  .plk-home-stats {
    grid-template-columns: 1fr;
  }

  .plk-home-courses__head {
    display: none;
  }

  .plk-home-courses__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .plk-home-courses__progress,
  .plk-home-courses__status {
    justify-self: start;
  }

  .plk-home-day-progress {
    margin-inline: 12px;
  }

  .plk-home-week {
    gap: 6px;
    padding-inline: 12px;
  }

  .plk-home-week__day {
    padding-inline: 2px;
  }

  .plk-home-week__date {
    font-size: 16px;
  }
}

.plk-home .plk-notif-item__check {
  display: none;
}

.plk-home .plk-notif-item {
  grid-template-columns: 44px minmax(0, 1fr);
}

.plk-home .plk-notif-item__dot {
  left: 12px;
  top: 22px;
}

.plk-notifications__all-link {
  padding: 8px 16px;
  border: 1px solid var(--plk-border);
  border-radius: 999px;
  background: #fff;
  color: var(--plk-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.plk-notifications__all-link:hover {
  background: #f7f7f8;
}

/* ── Dashboard layout ── */

.plk-dash {
  display: grid;
  grid-template-columns: minmax(0, 920px) minmax(300px, 360px);
  gap: 28px;
  align-items: start;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  justify-content: center;
}

.plk-dash--solo {
  grid-template-columns: minmax(0, 920px);
}

.plk-dash--solo .plk-dash__main {
  margin-left: 0;
}

.plk-dash__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  max-width: 920px;
  width: 100%;
  margin-left: -32px;
}

/* ── Course card (компактная) ── */

.plk-course {
  background: var(--plk-surface);
  border: 1px solid var(--plk-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
}

.plk-course__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px 0;
}

.plk-course__head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-bottom: 2px;
}

.plk-course__head-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 12px 16px;
  width: 100%;
  padding: 12px 0 28px;
}

.plk-course__title-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.plk-course__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--plk-text);
  letter-spacing: -0.02em;
}

.plk-course__part {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--plk-muted);
}

.plk-course__progress-wrap {
  flex: 1 1 auto;
  min-width: 160px;
  max-width: none;
  width: auto;
}

.plk-course__progress-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.2;
}

.plk-course__progress-label > span:first-child {
  font-weight: 700;
  color: var(--plk-text);
}

.plk-course__bar {
  height: 8px;
  border-radius: 999px;
  background: #ececef;
  overflow: hidden;
}

.plk-course__bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--plk-progress);
  transition: width 0.35s ease;
}

.plk-course__days {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--plk-muted);
  white-space: nowrap;
  margin-left: auto;
}

.plk-course__head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: 0;
}

.plk-course__continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: var(--plk-text);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.plk-course__continue:hover:not(:disabled) {
  opacity: 0.88;
}

.plk-course__continue:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.plk-course__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  padding: 0;
  align-self: flex-start;
  border: 1px solid var(--plk-border);
  border-radius: 50%;
  background: #fff;
  color: var(--plk-text);
  cursor: pointer;
  box-sizing: border-box;
  line-height: 0;
  transition: transform 0.2s ease, background 0.15s ease;
}

.plk-course__toggle svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.plk-course__toggle:hover {
  background: #f7f7f8;
}

.plk-course__toggle--open {
  transform: rotate(180deg);
}

.plk-course__extra-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 18px;
}

.plk-course__link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--plk-border);
  border-radius: 999px;
  background: #fff;
  color: var(--plk-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.plk-course__link-btn:hover {
  background: #f7f7f8;
}

.plk-course__modules {
  border-top: 1px solid var(--plk-border);
  padding: 16px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fdfdfe;
}

.plk-course__module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;
  background: #fff;
  border: 1px solid var(--plk-border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease;
  box-shadow: none;
}

.plk-course__module:hover {
  border-color: #e0e0e5;
}

.plk-course__module-ring {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.plk-course__module-ring__svg {
  display: block;
}

.plk-course__module-ring__track {
  stroke: #d5d5da;
}

.plk-course__module-ring__fill {
  transition: stroke-dashoffset 0.35s ease, stroke 0.25s ease;
}

.plk-course__module-ring--low .plk-course__module-ring__fill {
  stroke: #ef4444;
}

.plk-course__module-ring--mid .plk-course__module-ring__fill {
  stroke: #f5a623;
}

.plk-course__module-ring--high .plk-course__module-ring__fill {
  stroke: #0077b6;
}

.plk-course__module-ring__check {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--plk-progress);
  transform: translate(-50%, -50%);
}

.plk-course__module-ring__check svg {
  width: 11px;
  height: 11px;
}

.plk-course__module-ring--complete {
  width: 24px;
  height: 24px;
}

.plk-course__module-ring--complete .plk-course__module-ring__check {
  position: static;
  transform: none;
  width: 24px;
  height: 24px;
}

.plk-course__module-status {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plk-course__module-status--done {
  background: var(--plk-progress);
  color: #fff;
}

.plk-course__module-status--progress {
  border: 2px solid var(--plk-progress);
  background: #fff;
}

.plk-course__module-status--todo {
  border: 2px solid #d5d5da;
  background: #fff;
}

.plk-course__module-status svg {
  width: 12px;
  height: 12px;
}

.plk-course__module-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--plk-text);
}

.plk-course__module-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.plk-course__module-meta {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--plk-muted);
  white-space: nowrap;
}

.plk-course__module-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a9aa3;
}

.plk-course__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 22px 18px 32px;
  border-top: 1px solid var(--plk-border);
  font-size: 13px;
  line-height: 1.4;
  color: var(--plk-muted);
  background: #fff;
}

.plk-course__footer-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plk-course__alert {
  margin: 0 22px 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff4f2;
  color: #f15642;
  font-size: 13px;
  font-weight: 500;
}

/* ── Right sidebar — Activity widget (mockup) ── */

.plk-aside {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plk-activity-card {
  background: var(--plk-surface);
  border: 1px solid var(--plk-border);
  border-radius: 24px;
  padding: 20px 18px;
  box-shadow: none;
  overflow: visible;
}

.plk-activity-card__headline {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--plk-text);
  letter-spacing: -0.02em;
}

.plk-activity-card__headline strong {
  font-weight: 800;
}

.plk-activity-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.plk-activity-card__avg {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--plk-muted);
  white-space: nowrap;
}

.plk-activity-course-select {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.plk-activity-course-select__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--plk-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plk-activity-course-select__wrap {
  position: relative;
}

.plk-activity-course-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--plk-border);
  border-radius: 12px;
  background: #fafafa;
  color: var(--plk-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.plk-activity-course-select__trigger:hover {
  background: #f7f7f8;
}

.plk-activity-course-select__trigger:focus {
  outline: none;
  border-color: #c8c6ff;
  box-shadow: 0 0 0 3px rgba(61, 57, 244, 0.12);
}

.plk-activity-course-select__trigger--open {
  border-color: #c8c6ff;
  box-shadow: 0 0 0 3px rgba(61, 57, 244, 0.12);
}

.plk-activity-course-select__value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plk-activity-course-select__icon {
  flex-shrink: 0;
  color: var(--plk-muted);
  transition: transform 0.15s ease;
}

.plk-activity-course-select__trigger--open .plk-activity-course-select__icon {
  transform: rotate(180deg);
}

.plk-activity-course-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: min(280px, 42vh);
  overflow: auto;
  padding: 6px;
  background: var(--plk-surface);
  border: 1px solid var(--plk-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(17, 17, 19, 0.12);
}

.plk-activity-course-select__option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--plk-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  white-space: normal;
  word-break: break-word;
}

.plk-activity-course-select__option:hover {
  background: #f7f7f8;
}

.plk-activity-course-select__option--active {
  background: var(--plk-primary-soft);
  color: var(--plk-primary);
}

.plk-course-donut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.plk-course-donut__chart {
  position: relative;
  width: 168px;
  height: 168px;
}

.plk-course-donut__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  mask: radial-gradient(circle, transparent 54%, #000 55%);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%);
}

.plk-course-donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}

.plk-course-donut__center strong {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--plk-text);
  letter-spacing: -0.03em;
}

.plk-course-donut__center span {
  font-size: 11px;
  font-weight: 600;
  color: var(--plk-muted);
}

.plk-course-donut__legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  width: 100%;
}

.plk-course-donut__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  color: #4a4a4e;
}

.plk-course-donut__legend-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.plk-course-donut__legend-dot--today {
  opacity: 0.55;
}

.plk-course-donut__legend-dot--muted {
  background: #ececef;
}

.plk-stats-card {
  background: var(--plk-surface);
  border: 1px solid var(--plk-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: none;
}

.plk-stats-card__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 18px 10px;
  background: #f7f7f8;
}

.plk-stats-card__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 8px;
  text-align: center;
}

.plk-stats-card__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 10px;
  width: 1px;
  background: var(--plk-border);
}

.plk-stats-card__value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--plk-text);
  letter-spacing: -0.02em;
}

.plk-stats-card__label {
  display: block;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--plk-muted);
}

.plk-stats-card__insights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px 16px;
  background: var(--plk-surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--plk-primary);
}

.plk-stats-card__insights svg {
  flex-shrink: 0;
}

/* ── Empty / panel ── */

.plk-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 56px 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  text-align: center;
}

.plk-empty__text {
  margin: 0;
  color: var(--plk-muted);
  font-size: 15px;
}

.plk-empty__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: none;
  border-radius: 999px;
  background: var(--plk-text);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.plk-panel {
  background: var(--plk-surface);
  border: 1px solid var(--plk-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: none;
}

@media (max-width: 1023px) {
  .plk-dash {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .plk-dash__main {
    margin-left: 0;
  }

  .plk-aside {
    position: static;
    order: -1;
  }
}

@media (min-width: 880px) {
  .profile-lk__sidebar-overlay,
  .profile-lk__sidebar-bottom,
  .profile-lk__sidebar-drawer-close,
  .profile-lk__sidebar-drawer-help {
    display: none !important;
  }

  .profile-lk__sidebar-drawer-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    position: static;
    transform: none;
    padding: 0;
    pointer-events: auto;
  }

  .profile-lk__sidebar {
    position: static;
    width: var(--plk-sidebar-w);
    flex: 0 0 var(--plk-sidebar-w);
    pointer-events: auto;
    padding: 14px 14px 24px 10px;
    background: var(--plk-sidebar-rail-bg);
    flex-direction: column;
  }

  .profile-lk__sidebar-drawer {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    position: static;
    transform: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-nav--drawer {
    order: 1;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-head {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 18px;
    padding: 0;
  }

  .profile-lk__sidebar-drawer-logo {
    flex: 0 0 var(--plk-sidebar-rail-w);
    width: var(--plk-sidebar-rail-w);
    height: 52px;
    justify-content: center;
  }

  .profile-lk__sidebar-drawer-logo-img {
    height: 100%;
    max-width: 100%;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-verify-card {
    order: 2;
    margin-top: auto;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-drawer-footer {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-drawer-user {
    border: none;
    padding: 10px;
    background: transparent !important;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-verify-desc,
  .profile-lk__sidebar-drawer .profile-lk__sidebar-verify-icon {
    display: none;
  }
}

@media (max-width: 879px) {
  main.profile-main--lk {
    background: #fff !important;
  }

  .profile-lk {
    flex-direction: column;
    gap: 0;
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  .profile-lk__panel {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
  }

  .profile-lk__header {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
  }

  .profile-lk__header-start {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .profile-lk__header-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin-inline: 0;
  }

  .profile-lk__header-actions {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .profile-lk__header-menu {
    display: none !important;
  }

  .profile-lk__sidebar-overlay,
  .profile-lk__sidebar-drawer-wrap {
    display: none !important;
  }

  .profile-lk__sidebar {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 0;
    z-index: 50;
    background: transparent;
    border: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    box-shadow: none;
    pointer-events: none;
  }

  .profile-lk__sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(17, 17, 19, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .profile-lk__sidebar--open .profile-lk__sidebar-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .profile-lk__sidebar-drawer-wrap {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 0;
    max-width: 100vw;
    transform: translateX(-105%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .profile-lk__sidebar--open .profile-lk__sidebar-drawer-wrap {
    transform: translateX(0);
    pointer-events: auto;
  }

  .profile-lk__sidebar-drawer {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    flex: 0 0 min(var(--plk-sidebar-w), 88vw);
    width: min(var(--plk-sidebar-w), 88vw);
    min-width: 0;
    z-index: auto;
    display: flex;
    flex-direction: column;
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom, 0px)) 10px;
    background: var(--plk-sidebar-rail-bg);
    transform: none;
    transition: none;
    overflow-y: auto;
    pointer-events: auto;
    border-radius: 0 20px 20px 0;
    box-shadow: 4px 0 24px rgba(47, 40, 80, 0.14);
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-head {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 18px;
    padding: 0;
  }

  .profile-lk__sidebar-drawer-logo {
    flex: 0 0 var(--plk-sidebar-rail-w);
    width: var(--plk-sidebar-rail-w);
    height: 52px;
    justify-content: center;
  }

  .profile-lk__sidebar-drawer-logo-img {
    height: 100%;
    max-width: 100%;
  }

  .profile-lk__sidebar-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 36px;
    height: 36px;
    margin-top: 14px;
    margin-right: 10px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.45);
    color: var(--plk-sidebar-text);
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: none;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-nav--drawer {
    flex: 1 1 auto;
    gap: 4px;
    min-height: 0;
  }

  .profile-lk__sidebar-drawer .profile-lk__nav-item {
    min-height: 40px;
    padding: 0;
    border-radius: 10px;
    color: var(--plk-sidebar-muted);
    background: transparent;
  }

  .profile-lk__sidebar-drawer .profile-lk__nav-item:hover {
    background: var(--plk-sidebar-hover);
    color: var(--plk-sidebar-text);
  }

  .profile-lk__sidebar-drawer .profile-lk__nav-label {
    padding: 0 12px 0 0;
    font-size: 14px;
    color: inherit;
  }

  .profile-lk__sidebar-drawer .profile-lk__nav-icon {
    flex: 0 0 var(--plk-sidebar-rail-w);
    width: var(--plk-sidebar-rail-w);
    height: 40px;
    margin-left: -10px;
    color: inherit;
  }

  .profile-lk__sidebar-drawer .profile-lk__nav-item--active {
    background: #fff;
    color: var(--plk-primary);
    box-shadow: 0 1px 3px rgba(47, 40, 80, 0.06);
  }

  .profile-lk__sidebar-drawer .profile-lk__nav-item--active::before {
    display: block;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-verify-card {
    margin-top: auto;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-verify-icon,
  .profile-lk__sidebar-drawer .profile-lk__sidebar-verify-desc {
    display: none;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-verify-title {
    font-size: 15px;
    color: var(--plk-sidebar-text);
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-verify-btn {
    height: 36px;
    border-radius: 8px;
    font-size: 13px;
  }

  .profile-lk__sidebar-drawer-footer {
    margin-top: 0;
    padding-top: 0;
  }

  .profile-lk__sidebar-drawer-help {
    padding: 8px 12px 0;
    color: var(--plk-sidebar-muted);
    font-size: 13px;
  }

  .profile-lk__sidebar-drawer-help:hover {
    color: var(--plk-sidebar-text);
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-user {
    margin-top: 12px;
    padding: 10px;
    border-radius: 10px;
    color: var(--plk-sidebar-text);
    background: transparent;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-drawer-user {
    border: none;
    padding: 10px;
    background: transparent;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-drawer-user:hover {
    background: var(--plk-sidebar-hover);
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-user--active {
    color: var(--plk-primary);
    background: var(--plk-sidebar-hover);
    border-color: transparent;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--plk-sidebar-text);
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-user-meta {
    font-size: 12px;
    color: var(--plk-sidebar-muted);
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-avatar {
    width: 36px;
    height: 36px;
  }

  .profile-lk__sidebar-drawer .profile-lk__sidebar-avatar--initials {
    color: var(--plk-sidebar-muted);
    background: rgba(255, 255, 255, 0.4);
  }

  .profile-lk__sidebar-bottom {
    display: block !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }

  .profile-lk__sidebar::before {
    display: none;
  }

  .profile-lk__sidebar-head {
    display: none;
  }

  .profile-lk__sidebar-nav-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 999px;
    padding: 8px 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    pointer-events: auto;
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .profile-lk__sidebar-bottom .profile-lk__sidebar-nav--bottom {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    overflow: visible;
    gap: 0;
    padding-right: 0;
  }

  .profile-lk__sidebar-bottom .profile-lk__nav-item {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0;
    width: auto;
    height: auto;
    min-height: 0;
    min-width: 0;
    border-radius: 0;
    border: none;
    color: #1f2937;
    background: transparent !important;
    transition: color 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .profile-lk__sidebar-bottom .profile-lk__nav-label,
  .profile-lk__sidebar-bottom .profile-lk__sidebar-user-label {
    display: block;
    flex: none;
    padding: 0;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: inherit;
  }

  .profile-lk__sidebar-bottom .profile-lk__nav-icon {
    flex: none;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    border-radius: 0;
    background: transparent !important;
    transition: color 0.2s ease;
  }

  .profile-lk__sidebar-bottom .profile-lk__nav-icon svg {
    width: 20px;
    height: 20px;
  }

  .profile-lk__sidebar-bottom .profile-lk__nav-item--active,
  .profile-lk__sidebar-bottom .profile-lk__sidebar-user--active {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 0;
    color: var(--plk-primary);
    background: transparent !important;
    box-shadow: none;
    transform: scale(1.03);
  }

  .profile-lk__sidebar-bottom .profile-lk__nav-item--active .profile-lk__nav-icon,
  .profile-lk__sidebar-bottom .profile-lk__sidebar-user--active .profile-lk__nav-icon {
    background: transparent !important;
  }

  .profile-lk__sidebar-bottom .profile-lk__nav-item--active::before {
    display: none;
  }

  .profile-lk__sidebar-bottom .profile-lk__sidebar-user {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0;
    width: auto;
    height: auto;
    min-height: 0;
    min-width: 0;
    margin-top: 0;
    border-radius: 0;
    background: transparent !important;
    border: none;
    margin: 0;
    color: #1f2937;
    cursor: pointer;
    font: inherit;
    transition: color 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .profile-lk__sidebar-bottom .profile-lk__sidebar-user:hover,
  .profile-lk__sidebar-bottom .profile-lk__sidebar-user--active:hover {
    background: transparent !important;
  }

  .profile-lk__sidebar-bottom .profile-lk__sidebar-user-info,
  .profile-lk__sidebar-bottom .profile-lk__sidebar-user-actions,
  .profile-lk__sidebar-bottom .profile-lk__sidebar-user-chevron {
    display: none;
  }

  .profile-lk__sidebar-bottom .profile-lk__sidebar-user-label {
    display: block;
    flex: none;
    padding: 0;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: inherit;
  }

  .profile-lk__sidebar-bottom .profile-lk__sidebar-avatar {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
  }

  .profile-lk__sidebar-bottom .profile-lk__sidebar-avatar--placeholder {
    width: 20px;
    height: 20px;
  }

  .profile-lk__sidebar-rail {
    flex-direction: row;
    align-items: center;
    width: 100%;
    flex: none;
    gap: 6px;
    padding: 10px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .profile-lk__rail-logo {
    flex-shrink: 0;
    margin: 0;
    width: 40px;
    height: 40px;
  }

  .profile-lk__rail-nav {
    flex: 1 1 auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    margin-top: 0;
  }

  .profile-lk__rail-footer {
    flex-direction: row;
    padding-top: 0;
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
  }

  .profile-lk__sidebar-panel {
    display: none;
  }

  .profile-lk__main {
    border-radius: 0;
    margin: 0;
  }

  .profile-lk__header {
    border-radius: 0;
  }

  .profile-lk__content {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .profile-lk__nav {
    display: none;
  }

  .plk-course__head {
    flex-direction: column;
    align-items: stretch;
  }

  .plk-course__head-row {
    flex-wrap: wrap;
  }

  .plk-course__progress-wrap {
    flex: 1 1 100%;
    max-width: none;
  }

  .plk-course__head-actions {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .plk-course__continue {
    flex: 1 1 auto;
  }

  .plk-stats-card__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 0;
    padding: 16px 8px;
  }

  .plk-stats-card__item:not(:last-child)::after {
    display: none;
  }

  .plk-stats-card__item:nth-child(odd):not(:nth-last-child(1))::after {
    display: block;
  }

  .profile-lk__content:has(.plk-notifications) {
    padding: 12px 14px 24px;
  }

  .plk-notifications-panel--page .plk-notif-table__toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .plk-notifications-panel--page .plk-notif-table__toolbar-actions {
    margin-right: 0;
  }

  .plk-notifications-panel--page .plk-notif-table__action--delete {
    min-width: 0;
    padding: 8px 14px;
  }

  .plk-notifications-panel--page .plk-notif-table__wrap {
    overflow-x: visible;
  }

  .plk-notifications-panel--page .plk-notif-table {
    min-width: 0;
    width: 100%;
  }

  .plk-notifications-panel--page .plk-notif-table__row--head {
    display: none;
  }

  .plk-notifications-panel--page .plk-notif-table__row {
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid #f0f0f2;
    border-radius: 0;
  }

  .plk-notifications-panel--page .plk-notif-table__row:last-child {
    border-bottom: none;
  }

  .plk-notifications-panel--page .plk-notif-table__row-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 12px 14px 0;
    position: relative;
    min-width: 0;
  }

  .plk-notifications-panel--page .plk-notif-table__cell {
    padding: 0;
  }

  .plk-notifications-panel--page .plk-notif-table__cell--check {
    padding: 14px 0 14px 8px;
    align-self: start;
  }

  .plk-notifications-panel--page .plk-notif-table__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .plk-notifications-panel--page .plk-notif-table__cell--title {
    flex: 1 1 100%;
    min-width: 0;
  }

  .plk-notifications-panel--page .plk-notif-table__cell--type,
  .plk-notifications-panel--page .plk-notif-table__cell--status {
    display: none;
  }

  .plk-notifications-panel--page .plk-notif-table__cell--date {
    position: absolute;
    top: 14px;
    right: 12px;
    font-size: 11px;
    color: #8e919b;
  }

  .plk-notifications-panel--page .plk-notif-table__title {
    font-size: 14px;
    padding-right: 48px;
    line-height: 1.3;
  }

  .plk-notifications-panel--page .plk-notif-table__subtitle {
    font-size: 13px;
    color: #8e919b;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 479px) {
  .plk-user-strip {
    flex-wrap: wrap;
  }
}

/* ── Profile articles page ── */

.plk-articles {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
}

.plk-articles__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.plk-articles__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plk-text);
}

.plk-articles__add {
  flex-shrink: 0;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--plk-text);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.plk-articles__add:hover {
  opacity: 0.92;
}

.plk-articles__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plk-articles__list > div {
  border-radius: 16px !important;
  border-color: var(--plk-border) !important;
  box-shadow: none !important;
}

@media (max-width: 639px) {
  .plk-articles__head {
    flex-direction: column;
    align-items: stretch;
  }

  .plk-articles__add {
    width: 100%;
  }
}

/* ── Article publication modal ── */

.plk-articles-pub-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
}

.plk-articles-pub-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 19, 0.35);
  backdrop-filter: blur(8px);
}

.plk-articles-pub-modal__center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  box-sizing: border-box;
}

.plk-articles-pub {
  width: min(480px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  background: var(--plk-surface);
  border: 1px solid var(--plk-border);
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(17, 17, 19, 0.12);
}

.plk-articles-pub--loading,
.plk-articles-pub__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 280px;
  padding: 32px 24px;
  text-align: center;
  color: var(--plk-muted);
}

.plk-articles-pub__form {
  width: 100%;
}

.plk-articles-pub__form-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 18px 22px;
}

.plk-articles-pub__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plk-articles-pub__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--plk-text);
  text-align: left;
}

.plk-articles-pub__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--plk-muted);
  cursor: pointer;
  flex-shrink: 0;
}

.plk-articles-pub__close:hover {
  background: #f7f7f8;
  color: var(--plk-text);
}

.plk-articles-pub__close--solo {
  margin-left: auto;
}

.plk-articles-pub__hint {
  margin: -4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--plk-text);
  text-align: left;
}

.plk-articles-pub__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--plk-border);
  border-radius: 12px;
  background: #f7f7f8;
  color: var(--plk-text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.plk-articles-pub__input:focus {
  border-color: #c8c6fd;
  background: #fff;
}

.plk-articles-pub__input--error {
  border-color: #dc3545;
  background: #fff5f5;
}

.plk-articles-pub__editor {
  width: 100%;
  text-align: left;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.plk-articles-pub__editor .quill {
  display: flex;
  flex-direction: column;
}

.plk-articles-pub__editor .ql-toolbar.ql-snow {
  border: 1px solid var(--plk-border);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: #f7f7f8;
  font-family: inherit;
}

.plk-articles-pub__editor .ql-container.ql-snow {
  border: 1px solid var(--plk-border);
  border-radius: 0 0 12px 12px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  height: 220px;
}

.plk-articles-pub__editor .ql-editor {
  min-height: 180px;
  height: 100%;
}

.plk-articles-pub__checkbox {
  display: block;
  text-align: left;
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

.plk-articles-pub__checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--plk-text);
  cursor: pointer;
}

.plk-articles-pub__file {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.plk-articles-pub__file-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--plk-text);
}

.plk-articles-pub__file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: var(--plk-primary);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.plk-articles-pub__file-btn:hover {
  opacity: 0.92;
}

.plk-articles-pub__file-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--plk-border);
  border-radius: 999px;
  background: #f7f7f8;
  color: var(--plk-text);
}

.plk-articles-pub__file-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.plk-articles-pub__file-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #e8e8ec;
  color: var(--plk-text);
  cursor: pointer;
  flex-shrink: 0;
}

.plk-articles-pub__file-remove:hover {
  background: #dc3545;
  color: #fff;
}

.plk-articles-pub__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: var(--plk-text);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.plk-articles-pub__submit:hover:not(:disabled) {
  opacity: 0.9;
}

.plk-articles-pub__submit:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.plk-articles-pub__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 18px 22px;
  text-align: center;
}

.plk-articles-pub__success .plk-articles-pub__head {
  width: 100%;
  justify-content: flex-end;
}

.plk-articles-pub__checkbox-row .plk-checkbox {
  flex-shrink: 0;
}

.plk-articles-pub__success-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plk-text);
}

.plk-articles-pub__success-text {
  margin: 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--plk-muted);
}

@media (max-width: 639px) {
  .plk-articles-pub__form-inner,
  .plk-articles-pub__success {
    padding: 18px 16px 20px;
  }

  .plk-articles-pub__title,
  .plk-articles-pub__success-title {
    font-size: 20px;
  }

  .plk-articles-pub__file-btn {
    width: 100%;
  }

  .plk-articles-pub__editor .ql-container.ql-snow {
    height: 160px;
  }
}

/* ── Profile notifications ── */

.profile-lk__notify-wrap {
  position: relative;
}

.profile-lk__header-btn--notify-open {
  background: #e1f1fa;
  color: var(--plk-primary);
}

.plk-notifications {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.profile-lk__content:has(.plk-notifications) {
  padding: 12px 24px 24px;
}

.plk-notifications-panel {
  background: var(--plk-surface);
  border: 1px solid var(--plk-border);
  border-radius: 24px;
  box-shadow: none;
  overflow: hidden;
}

.plk-notifications-panel--dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  z-index: 120;
  width: min(340px, calc(100vw - 32px));
  border-radius: 16px;
  box-shadow: none;
  border: 1px solid var(--plk-border);
}

.plk-notifications-panel--dropdown .plk-notifications-panel__head {
  padding: 12px 14px 10px;
  gap: 8px;
}

.plk-notifications-panel--dropdown .plk-notifications-panel__title {
  font-size: 15px;
}

.plk-notifications-panel--dropdown .plk-notifications-panel__mark-read {
  gap: 4px;
  font-size: 11px;
}

.plk-notifications-panel--dropdown .plk-notifications-panel__mark-read svg {
  width: 12px;
  height: 12px;
}

.plk-notifications-panel--dropdown .plk-notifications-panel__expand {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.plk-notifications-panel--dropdown .plk-notifications-panel__expand svg {
  width: 14px;
  height: 14px;
}

.plk-notifications-panel--dropdown .plk-notifications-panel__scroll {
  max-height: 360px;
}

.plk-notifications-panel--dropdown .plk-notifications-panel__group {
  padding: 4px 0 2px;
}

.plk-notifications-panel--dropdown .plk-notifications-panel__group-title {
  padding: 6px 14px 4px;
  font-size: 10px;
}

.plk-notifications-panel--dropdown .plk-notif-item {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 14px 10px 22px;
}

.plk-notifications-panel--dropdown .plk-notif-item__dot {
  top: 17px;
  left: 10px;
  width: 6px;
  height: 6px;
}

.plk-notifications-panel--dropdown .plk-notif-item__icon-wrap,
.plk-notifications-panel--dropdown .plk-notif-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.plk-notifications-panel--dropdown .plk-notif-item__icon svg {
  width: 15px;
  height: 15px;
}

.plk-notifications-panel--dropdown .plk-notif-item__icon-badge {
  width: 15px;
  height: 15px;
  border-width: 1.5px;
}

.plk-notifications-panel--dropdown .plk-notif-item__icon-badge svg {
  width: 8px;
  height: 8px;
}

.plk-notifications-panel--dropdown .plk-notif-item__title {
  margin-bottom: 2px;
  font-size: 12px;
  line-height: 1.3;
}

.plk-notifications-panel--dropdown .plk-notif-item__message {
  margin-bottom: 5px;
  font-size: 11px;
  line-height: 1.4;
}

.plk-notifications-panel--dropdown .plk-notif-item__time {
  font-size: 10px;
}

.plk-notifications-panel--dropdown .plk-notif-item__attachment {
  gap: 8px;
  margin-bottom: 5px;
  padding: 7px 9px;
  border-radius: 10px;
}

.plk-notifications-panel--dropdown .plk-notif-item__attachment-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.plk-notifications-panel--dropdown .plk-notif-item__attachment-icon svg {
  width: 13px;
  height: 13px;
}

.plk-notifications-panel--dropdown .plk-notif-item__attachment-name {
  font-size: 10px;
}

.plk-notifications-panel--dropdown .plk-notif-item__attachment-size {
  font-size: 9px;
}

.plk-notifications-panel--dropdown .plk-notif-item__attachment-download {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.plk-notifications-panel--dropdown .plk-notif-item__attachment-download svg {
  width: 13px;
  height: 13px;
}

.plk-notifications-panel--dropdown .plk-notifications-panel__empty {
  padding: 32px 16px;
  gap: 8px;
  font-size: 12px;
}

.plk-notifications-panel--dropdown .plk-notifications-panel__empty svg {
  width: 28px;
  height: 28px;
}

.plk-notifications-panel--page {
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.plk-notifications-panel--page .plk-notif-table__toolbar {
  padding: 0 0 14px;
  border-bottom: none;
}

.plk-notifications-panel--page .plk-notif-table__toolbar-actions {
  margin-right: 2cm;
}

.plk-notifications-panel--page .plk-notif-table__row {
  background: transparent;
}

.plk-notifications-panel--page .plk-notif-table__row--head {
  background: transparent;
  border-bottom: 1px solid #ececf0;
}

.plk-notifications-panel--page .plk-notifications-panel__empty {
  padding: 48px 0;
}

.plk-notifications-panel--page .plk-notif-table__wrap {
  width: 100%;
}

.plk-notifications-panel--page .plk-notif-table {
  width: 100%;
  min-width: 720px;
}

.plk-notifications-panel--page .plk-notif-table__row {
  grid-template-columns: 56px minmax(0, 1fr);
}

.plk-notifications-panel--page .plk-notif-table__row-main {
  grid-template-columns: minmax(0, 1fr) 160px 160px 180px;
}

.plk-notifications-panel--page .plk-notif-table__cell {
  padding: 12px 16px;
}

.plk-notifications-panel--page .plk-notif-table__cell--check {
  padding: 0;
}

.plk-notifications-panel--page .plk-notif-table__row--unread:not(.plk-notif-table__row--head):hover {
  background: rgba(109, 88, 255, 0.04);
}

.plk-notifications-panel--page .plk-notif-table__row--selected {
  background: rgba(109, 88, 255, 0.06);
}

.plk-notifications-panel--page .plk-notif-table__row--selected:hover {
  background: rgba(109, 88, 255, 0.08);
}

.plk-notifications-panel--page .plk-notif-table__row:not(.plk-notif-table__row--head):hover {
  background: rgba(0, 0, 0, 0.02);
}

.plk-notif-table__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--plk-border);
}

.plk-notif-table__count {
  font-size: 13px;
  font-weight: 500;
  color: var(--plk-muted);
}

.plk-notif-table__toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.plk-notif-table__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--plk-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.plk-notif-table__action:hover {
  opacity: 0.82;
}

.plk-notif-table__action--danger {
  color: #dc2626;
}

.plk-notif-table__action--delete {
  min-width: 112px;
  justify-content: center;
  padding: 8px 20px;
  border: 1px solid #f0d0d0;
  border-radius: 999px;
  background: #fff;
}

.plk-notif-table__action--delete.plk-notif-table__action--disabled,
.plk-notif-table__action--delete:disabled {
  border-color: #ececf0;
  background: #fafafa;
}

.plk-notif-table__action--danger.plk-notif-table__action--disabled,
.plk-notif-table__action--danger:disabled {
  color: #b4b4bc;
  cursor: not-allowed;
}

.plk-notif-table__action--danger.plk-notif-table__action--disabled:hover,
.plk-notif-table__action--danger:disabled:hover {
  opacity: 1;
}

.plk-notif-confirm {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.plk-notif-confirm__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(17, 17, 19, 0.35);
  cursor: pointer;
}

.plk-notif-confirm__box {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 22px 22px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 17, 19, 0.18);
}

.plk-notif-confirm__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--plk-text);
}

.plk-notif-confirm__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: #6f6f78;
}

.plk-notif-confirm__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.plk-notif-confirm__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.plk-notif-confirm__btn--ghost {
  background: #f3f3f6;
  color: var(--plk-text);
}

.plk-notif-confirm__btn--ghost:hover {
  background: #e9e9ee;
}

.plk-notif-confirm__btn--danger {
  background: #dc2626;
  color: #fff;
}

.plk-notif-confirm__btn--danger:hover {
  background: #b91c1c;
}

.plk-notif-table__wrap {
  overflow-x: auto;
}

.plk-notif-table {
  min-width: 720px;
}

.plk-notif-table__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid #f0f0f3;
  background: #fff;
  transition: background 0.15s ease;
}

.plk-notif-table__row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 160px 180px;
  align-items: center;
  min-width: 0;
  transition: background 0.15s ease;
}

.plk-notif-table__row-main:not(.plk-notif-table__row-main--head) {
  cursor: inherit;
}

.plk-notif-table__row:not(.plk-notif-table__row--head) {
  cursor: pointer;
}

.plk-notif-table__row--head {
  background: #fafafb;
  border-bottom: 1px solid #ececf0;
}

.plk-notif-table__row--head .plk-notif-table__cell {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #8e919b;
  text-align: left;
}

.plk-notif-table__row:not(.plk-notif-table__row--head):hover {
  background: #fafafa;
}

.plk-notif-table__row--unread {
  background: #fcfcff;
}

.plk-notif-table__row--unread:not(.plk-notif-table__row--head):hover {
  background: #f7f7ff;
}

.plk-notif-table__row--selected {
  background: #f3f2ff;
}

.plk-notif-table__row--selected:hover {
  background: #ece9ff;
}

.plk-notif-table__cell {
  padding: 12px;
  min-width: 0;
  text-align: left;
  word-break: normal;
  overflow-wrap: normal;
}

.plk-notif-table__cell--title {
  min-width: 180px;
}

.plk-notif-table__cell--check {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 0;
  cursor: default;
  background: transparent;
}

.plk-notif-table__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  flex-shrink: 0;
}

.plk-checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #dfe0e6;
  background: #fff;
  color: #fff;
  flex-shrink: 0;
  box-sizing: border-box;
  vertical-align: middle;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.plk-checkbox:not(.plk-checkbox--readonly):focus-visible {
  box-shadow: 0 0 0 3px rgba(109, 88, 255, 0.16);
  border-color: #b8b0ff;
}

.plk-checkbox--checked,
.plk-checkbox--indeterminate {
  background: var(--plk-primary);
  border-color: var(--plk-primary);
}

.plk-checkbox__dash {
  display: block;
  width: 8px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
}

.plk-notif-table__check:hover {
  background: transparent;
}

.plk-notif-table__check input {
  display: none;
}

.plk-notif-table__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.plk-notif-table__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}

.plk-notif-table__icon--course {
  background: #ece9ff;
  color: #0077b6;
}

.plk-notif-table__icon--cert {
  background: #fff0df;
  color: #f59e0b;
}

.plk-notif-table__icon--article {
  background: #fff6dd;
  color: #d97706;
}

.plk-notif-table__icon--danger {
  background: #feecec;
  color: #ef4444;
}

.plk-notif-table__icon--default {
  background: #f3f3f6;
  color: #8e919b;
}

.plk-notif-table__title-content {
  min-width: 0;
}

.plk-notif-table__title-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.plk-notif-table__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--plk-text);
}

.plk-notif-table__title-status {
  display: none;
}

.plk-notif-table__subtitle {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #6f6f78;
}

.plk-notif-table__attachment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #f5f5f7;
  color: var(--plk-primary);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.plk-notif-table__attachment:hover {
  background: #ececf0;
}

.plk-notif-table__type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
}

.plk-notif-table__type--low {
  color: #16a34a;
}

.plk-notif-table__type--medium {
  color: #d97706;
}

.plk-notif-table__type--high {
  color: #ea580c;
}

.plk-notif-table__type--danger {
  color: #dc2626;
}

.plk-notif-table__type--neutral {
  color: #8e919b;
}

.plk-notif-table__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.plk-notif-table__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.plk-notif-table__status--new {
  background: #f3e8ff;
  color: #7c3aed;
}

.plk-notif-table__status--new .plk-notif-table__status-dot {
  background: #7c3aed;
}

.plk-notif-table__status--read {
  background: #f3f4f6;
  color: #6b7280;
}

.plk-notif-table__status--read .plk-notif-table__status-dot {
  background: #9ca3af;
}

.plk-notif-table__cell--date {
  font-size: 13px;
  color: #6f6f78;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .plk-notif-table__wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .plk-notif-table__row-main {
    grid-template-columns: minmax(180px, 1.4fr) 110px 110px 100px;
  }

  .plk-notif-table__cell {
    padding: 10px 8px;
  }

  .plk-notif-table__cell--check {
    padding: 0;
  }

  .plk-notif-table__title {
    font-size: 13px;
  }

  .plk-notif-table__subtitle {
    font-size: 11px;
  }
}

.plk-notifications-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--plk-border);
}

.plk-notifications-panel__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plk-text);
  text-align: left;
}

.plk-notifications-panel__head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plk-notifications-panel__mark-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--plk-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.plk-notifications-panel__mark-read:hover {
  opacity: 0.82;
}

.plk-notifications-panel__expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--plk-border);
  border-radius: 10px;
  background: #fff;
  color: var(--plk-muted);
  cursor: pointer;
}

.plk-notifications-panel__expand:hover {
  color: var(--plk-text);
  border-color: #d8d8de;
}

.plk-notifications-panel__scroll {
  max-height: 460px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.plk-notifications-panel__scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.plk-notifications-panel--page .plk-notifications-panel__scroll {
  max-height: none;
}

.plk-notifications-panel__group {
  padding: 8px 0 4px;
}

.plk-notifications-panel__group-title {
  margin: 0;
  padding: 8px 20px 6px;
  font-size: 12px;
  font-weight: 600;
  color: #9a9aa3;
  text-align: left;
}

.plk-notifications-panel__list {
  display: flex;
  flex-direction: column;
}

.plk-notifications-panel__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 24px;
  color: var(--plk-muted);
  text-align: center;
}

.plk-notif-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 20px 14px 28px;
  border-bottom: 1px solid #f1f1f4;
  background: var(--plk-surface);
  text-align: left;
}

.plk-notifications-panel__list .plk-notif-item:last-child {
  border-bottom: none;
}

.plk-notif-item--unread {
  background: #fcfcff;
}

.plk-notif-item__dot {
  position: absolute;
  top: 22px;
  left: 12px;
  width: 8px;
  height: 8px;
  margin-top: 0;
  border-radius: 50%;
  background: #ef4444;
}

.plk-notif-item__icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.plk-notif-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.plk-notif-item__icon--course {
  background: #ece9ff;
  color: #0077b6;
}

.plk-notif-item__icon--cert {
  background: #fff0df;
  color: #f59e0b;
}

.plk-notif-item__icon--article {
  background: #fff6dd;
  color: #d97706;
}

.plk-notif-item__icon--danger {
  background: #feecec;
  color: #ef4444;
}

.plk-notif-item__icon--default {
  background: #f3f3f6;
  color: #8e919b;
}

.plk-notif-item__icon-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #111;
  color: #fff;
}

.plk-notif-item__icon-badge--success {
  background: #22c55e;
  color: #fff;
}

.plk-notif-item__icon-badge--danger {
  background: #ef4444;
  color: #fff;
}

.plk-notif-item__body {
  min-width: 0;
  text-align: left;
}

.plk-notif-item__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  text-align: left;
}

.plk-notif-item__link {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.plk-notif-item__link--plain {
  font: inherit;
}

.plk-notif-item__title {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--plk-text);
  text-align: left;
  width: 100%;
}

.plk-notif-item:not(.plk-notif-item--unread) .plk-notif-item__title {
  font-weight: 500;
  color: #6f6f78;
}

.plk-notif-item:not(.plk-notif-item--unread) .plk-notif-item__message {
  color: #9a9aa3;
}

.plk-notif-item__message {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #5f5f67;
  text-align: left;
  width: 100%;
}

.plk-notif-item__time {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  color: #a0a0a8;
  text-align: left;
  width: 100%;
}

.plk-notif-item__attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid #ececf0;
  border-radius: 12px;
  background: #fafafa;
}

.plk-notif-item__attachment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: #0077b6;
  flex-shrink: 0;
}

.plk-notif-item__attachment-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.plk-notif-item__attachment-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--plk-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plk-notif-item__attachment-size {
  font-size: 11px;
  color: var(--plk-muted);
}

.plk-notif-item__attachment-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: var(--plk-muted);
  text-decoration: none;
  flex-shrink: 0;
}

.plk-notif-item__attachment-download:hover {
  background: #ececf0;
  color: var(--plk-text);
}

@media (max-width: 639px) {
  .plk-notifications-panel--dropdown {
    right: -8px;
    width: min(340px, calc(100vw - 24px));
  }

  .plk-notifications-panel--dropdown .plk-notif-item {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 9px 12px 9px 20px;
  }

  .plk-notifications-panel--dropdown .plk-notif-item__icon-wrap,
  .plk-notifications-panel--dropdown .plk-notif-item__icon {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 879px) {
  .profile-lk__content:has(.plk-notifications),
  .plk-notifications,
  .plk-notifications-panel--page,
  .plk-notifications-panel--page .plk-notif-table__wrap,
  .plk-notifications-panel--page .plk-notif-table,
  .plk-notifications-panel--page .plk-notif-table__row,
  .plk-notifications-panel--page .plk-notif-table__row-main,
  .plk-notifications-panel--page .plk-notif-table__cell,
  .plk-notifications-panel--page .plk-notif-table__title-wrap,
  .plk-notifications-panel--page .plk-notif-table__title-content {
    min-width: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .profile-lk__content:has(.plk-notifications),
  .plk-notifications-panel--page .plk-notif-table__wrap {
    overflow-x: hidden !important;
  }

  .plk-notifications-panel--page .plk-notif-table {
    width: 100% !important;
  }

  .plk-notifications-panel--page .plk-notif-table__row {
    width: 100%;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: stretch;
  }

  .plk-notifications-panel--page .plk-notif-table__cell--check {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding: 0;
  }

  .plk-notifications-panel--page .plk-notif-table__row-main {
    width: 100%;
    padding-right: 10px;
    gap: 8px 10px;
  }

  .plk-notifications-panel--page .plk-notif-table__cell--title {
    order: 1;
    flex: 1 1 100%;
  }

  .plk-notifications-panel--page .plk-notif-table__title {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    padding-right: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .plk-notifications-panel--page .plk-notif-table__title-status {
    display: inline-block;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-left: 0;
    border-radius: 50%;
    background: #9ca3af;
  }

  .plk-notifications-panel--page .plk-notif-table__title-status--new {
    background: #7c3aed;
  }

  .plk-notifications-panel--page .plk-notif-table__cell--date {
    position: static;
    order: 2;
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    width: auto;
    max-width: 100%;
    margin: 2px 0 0;
    padding: 0;
    font-size: 12px;
    color: #8e919b;
  }

  .plk-notifications-panel--page .plk-notif-table__cell--status {
    display: none;
  }

  .plk-notifications-panel--page .plk-notif-table__cell--type {
    display: none;
  }

  .plk-notifications-panel--page .plk-notif-table__cell--date {
    margin-left: auto;
    white-space: nowrap;
  }

  .plk-notifications-panel--page .plk-notif-table__type,
  .plk-notifications-panel--page .plk-notif-table__status {
    font-size: 12px;
    white-space: nowrap;
  }

  .plk-notifications-panel--page .plk-notif-table__subtitle,
  .plk-notifications-panel--page .plk-notif-table__attachment {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* ── Меню «Ещё» (вкладка) ── */
.plk-more {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding: 16px 16px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plk-more__profile {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--plk-border);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 0.15s ease;
}

.plk-more__profile:hover {
  background: #f7f7f8;
}

.plk-more__avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f2;
}

.plk-more__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plk-muted);
}

.plk-more__profile-info {
  flex: 1 1 auto;
  min-width: 0;
}

.plk-more__profile-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--plk-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plk-more__profile-meta {
  font-size: 13px;
  color: var(--plk-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plk-more__profile-arrow {
  display: flex;
  color: var(--plk-muted);
  flex-shrink: 0;
}

.plk-more__group {
  background: #fff;
  border: 1px solid var(--plk-border);
  border-radius: 16px;
  overflow: hidden;
}

.plk-more__row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 16px;
  border: none;
  border-bottom: 1px solid var(--plk-border);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: var(--plk-text);
  transition: background 0.15s ease;
}

.plk-more__row:last-child {
  border-bottom: none;
}

.plk-more__row:hover {
  background: #f7f7f8;
}

.plk-more__row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  color: var(--plk-muted);
  flex-shrink: 0;
}

.plk-more__row-label {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 500;
}

.plk-more__row-arrow {
  display: flex;
  color: var(--plk-muted);
  flex-shrink: 0;
}

.plk-more__row--danger {
  color: #ef4444;
}

.plk-more__row--danger .plk-more__row-icon {
  color: #ef4444;
}

@media (max-width: 879px) {
  .plk-more {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }
}
