.p59-learning-profile {
  --p59-blue: #155EEF;
  --p59-blue-dark: #0B3FB8;
  --p59-blue-soft: #F6F8FF;
  --p59-blue-card: #EEF4FF;
  --p59-border: #DDE6F5;
  --p59-text: #102033;
  --p59-muted: #66748A;
  --p59-white: #FFFFFF;
  --p59-shadow: 0 14px 36px rgba(33, 64, 134, 0.06);
  --p59-radius: 10px;
  margin: 0;
  color: var(--p59-text);
  background:
    radial-gradient(circle at 18% 0%, rgba(238, 244, 255, 0.95), transparent 30%),
    linear-gradient(180deg, #F8FAFF 0%, #F6F8FF 44%, #FFFFFF 100%);
  font-family: "Inter", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

.p59-learning-profile *,
.p59-learning-profile *::before,
.p59-learning-profile *::after {
  box-sizing: border-box;
}

.p59-learning-profile a {
  text-decoration: none;
}

.p59-learning-profile button,
.p59-learning-profile a,
.p59-learning-profile input,
.p59-learning-profile textarea,
.p59-learning-profile select {
  font: inherit;
}

.p59lp-shell {
  width: min(1132px, calc(100% - 64px));
  margin: 0 auto;
}

.p59lp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  line-height: 0;
}

.lp-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
}

.lp-icon--solid {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #155EEF;
  color: #FFFFFF;
}

.lp-icon--soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 12px;
  background: #EEF4FF;
  color: #155EEF;
}

.lp-icon--small {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #EEF4FF;
  color: #155EEF;
}

.lp-icon--button {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.lp-icon--button svg {
  width: 16px;
  height: 16px;
}

.lp-icon--success {
  background: #EAF8F0;
  color: #1E8A55;
}

.lp-icon--danger {
  background: #FFF0F0;
  color: #C83535;
}

.lp-icon--warning {
  background: #FFF8E6;
  color: #B7791F;
}

.lp-icon--muted {
  background: #F3F6FA;
  color: #66748A;
}

.p59lp-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--p59-border);
  box-shadow: 0 8px 24px rgba(33, 64, 134, 0.06);
  backdrop-filter: blur(14px);
}

.p59lp-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.p59lp-header .p59lp-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 0;
  color: var(--p59-text);
  font-weight: 700;
}

.p59lp-brand__mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--p59-border);
  border-radius: var(--p59-radius);
  background: var(--p59-blue-card);
  color: var(--p59-blue);
}

.p59lp-brand__mark .lp-icon {
  width: 18px;
  height: 18px;
}

.p59lp-brand__text {
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.p59lp-brand__text span {
  color: var(--p59-muted);
  margin: 0 2px;
}

.p59lp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
}

.p59lp-nav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--p59-radius);
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}

.p59lp-nav a:hover,
.p59lp-nav a:focus-visible,
.p59lp-nav a.is-active {
  color: var(--p59-blue);
  background: var(--p59-blue-card);
  outline: none;
}

.p59lp-header .p59lp-header__cta {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--p59-radius);
  background: var(--p59-blue);
  color: var(--p59-white);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(21, 94, 239, 0.16);
  white-space: nowrap;
}

.p59lp-menu-button {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--p59-border);
  border-radius: var(--p59-radius);
  background: var(--p59-blue-card);
  padding: 8px;
}

.p59lp-menu-button span:not(.p59lp-sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--p59-blue);
}

.p59lp-hero {
  padding: 34px 0 0;
}

.p59lp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.p59lp-hero__copy {
  min-width: 0;
  padding-top: 10px;
}

.p59lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 6px 13px;
  border: 1px solid var(--p59-border);
  border-radius: 999px;
  background: var(--p59-white);
  color: var(--p59-blue);
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
  box-shadow: 0 8px 22px rgba(33, 64, 134, 0.04);
}

.p59lp-kicker .lp-icon {
  width: 15px;
  height: 15px;
}

.p59lp-hero h1 {
  margin: 0;
  color: var(--p59-text);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 850;
}

.p59lp-lead {
  max-width: 470px;
  margin: 12px 0 0;
  color: var(--p59-muted);
  font-size: 16px;
  line-height: 1.72;
}

.p59lp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.p59lp-actions--compact {
  margin-top: 0;
  justify-content: flex-end;
}

.p59lp-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--p59-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
}

.p59-learning-profile .p59lp-button--primary {
  background: var(--p59-blue);
  color: var(--p59-white);
  box-shadow: 0 12px 28px rgba(21, 94, 239, 0.18);
}

.p59-learning-profile .p59lp-button--primary:hover,
.p59-learning-profile .p59lp-header__cta:hover {
  background: var(--p59-blue-dark);
}

.p59-learning-profile .p59lp-button--light {
  background: var(--p59-white);
  color: var(--p59-blue);
  border-color: var(--p59-border);
  box-shadow: 0 10px 22px rgba(33, 64, 134, 0.05);
}

.p59-learning-profile .p59lp-button--ghost {
  min-height: 38px;
  background: var(--p59-blue-card);
  color: var(--p59-blue);
  border-color: transparent;
}

.p59-learning-profile .p59lp-button--disabled,
.p59-learning-profile .p59lp-button:disabled {
  background: var(--p59-blue-soft);
  color: var(--p59-muted);
  border-color: var(--p59-border);
  cursor: not-allowed;
  box-shadow: none;
}

.p59lp-button--block {
  width: 100%;
}

.p59-learning-profile .p59lp-button--outline-on-dark {
  border-color: rgba(21, 94, 239, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--p59-blue);
}

.p59lp-button__icon {
  width: 16px;
  height: 16px;
}

.p59lp-completion-card,
.p59lp-card {
  background: var(--p59-white);
  border: 1px solid var(--p59-border);
  border-radius: 18px;
  box-shadow: var(--p59-shadow);
}

.p59lp-completion-card {
  min-height: 228px;
  padding: 24px;
}

.p59lp-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.p59lp-inline-title,
.p59lp-card-mini-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--p59-text);
  font-size: 15px;
  font-weight: 850;
}

.p59lp-card-title-row strong {
  color: var(--p59-blue);
  font-size: 27px;
  line-height: 1.2;
}

.p59lp-mini-icon {
  color: #155EEF;
}

.p59lp-progress-bar {
  height: 7px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #E8EEFA;
}

.p59lp-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--p59-blue), #4B7DFF);
}

.p59lp-completion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 16px;
  margin-top: 16px;
  color: var(--p59-muted);
  font-size: 12px;
}

.p59lp-completion-grid > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.p59lp-field-status {
  width: 12px;
  height: 12px;
  color: #A8B3C8;
}

.p59lp-field-status svg {
  width: 12px;
  height: 12px;
}

.p59lp-completion-grid .is-done .p59lp-field-status {
  color: #1E8A55;
}

.p59lp-completion-card p {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid #EDF2FB;
  color: var(--p59-muted);
  font-size: 12px;
}

.p59lp-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.p59lp-metrics article {
  min-height: 96px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--p59-border);
  border-radius: 16px;
  background: var(--p59-white);
  box-shadow: 0 10px 28px rgba(33, 64, 134, 0.055);
}

.p59lp-metric-icon,
.p59lp-section-icon,
.p59lp-card-mini-title > .lp-icon,
.p59lp-skill-head > .lp-icon {
  border-radius: 12px;
}

.p59lp-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  line-height: 0;
  background: #EEF4FF;
  color: #155EEF;
  box-shadow: inset 0 0 0 1px #DDE8FF;
}

.p59lp-metric-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
}

.p59lp-metric-icon svg path {
  stroke-width: 1.65;
}

.p59lp-metrics strong {
  display: block;
  color: var(--p59-blue);
  font-size: 26px;
  line-height: 1.08;
  font-weight: 850;
}

.p59lp-metrics span:not(.lp-icon) {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 800;
}

.p59lp-metrics small {
  display: block;
  margin-top: 2px;
  color: var(--p59-muted);
  font-size: 12px;
}

.p59lp-main-stack {
  display: grid;
  gap: 30px;
  padding: 30px 0 42px;
}

.p59lp-card {
  padding: 28px;
}

.p59lp-section-head,
.p59lp-section-head > div,
.p59lp-card-mini-title {
  display: flex;
  align-items: center;
}

.p59lp-section-head--inline {
  justify-content: space-between;
  gap: 16px;
}

.p59lp-section-head > div {
  gap: 12px;
  min-width: 0;
}

.p59lp-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.p59lp-section h2,
.p59lp-section-head h2,
.p59lp-bottom-cta h2 {
  margin: 0;
  color: var(--p59-text);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 850;
}

.p59lp-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 32px;
  margin: 26px 0 0;
}

.p59lp-profile-grid div,
.p59lp-profile-grid dt,
.p59lp-profile-grid dd {
  min-width: 0;
}

.p59lp-profile-grid dt {
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 18px;
}

.p59lp-profile-grid dd {
  margin: 5px 0 0;
  color: var(--p59-text);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.p59lp-profile-editor {
  margin-top: 22px;
  border-top: 1px solid #EDF2FB;
  padding-top: 18px;
}

.p59lp-profile-editor summary {
  width: fit-content;
  color: var(--p59-blue);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.p59lp-profile-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.p59lp-profile-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--p59-muted);
  font-size: 13px;
  font-weight: 800;
}

.p59lp-profile-form input,
.p59lp-profile-form select,
.p59lp-profile-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--p59-border);
  border-radius: var(--p59-radius);
  background: var(--p59-white);
  color: var(--p59-text);
  padding: 10px 12px;
  outline: none;
}

.p59lp-profile-form textarea {
  resize: vertical;
}

.p59lp-profile-form input:focus,
.p59lp-profile-form select:focus,
.p59lp-profile-form textarea:focus {
  border-color: var(--p59-blue);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.1);
}

.p59lp-profile-form__full,
.p59lp-form-status {
  grid-column: 1 / -1;
}

.p59lp-form-status {
  min-height: 18px;
  margin: 0;
  color: var(--p59-muted);
  font-size: 13px;
}

.p70c-profile-cloud {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  max-width: 620px;
  margin-top: 14px;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  background: #EFF6FF;
  padding: 12px 14px;
  color: #1E3A8A;
}

.p70c-profile-cloud[hidden] {
  display: none !important;
}

.p70c-profile-cloud[data-state="conflict"] {
  border-color: #FED7AA;
  background: #FFF7ED;
  color: #9A3412;
}

.p70c-profile-cloud[data-state="error"] {
  border-color: #FECACA;
  background: #FFF1F2;
  color: #BE123C;
}

.p70c-profile-cloud__copy {
  min-width: 0;
}

.p70c-profile-cloud__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.p70c-profile-cloud__copy p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.p70c-profile-cloud__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.p70c-profile-cloud__button {
  min-height: 34px;
  border: 1px solid #93C5FD;
  border-radius: 8px;
  background: #FFFFFF;
  color: #1D4ED8;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  appearance: none;
}

.p70c-profile-cloud[data-state="conflict"] .p70c-profile-cloud__button {
  border-color: #FDBA74;
  color: #C2410C;
}

.p70c-profile-cloud[data-state="error"] .p70c-profile-cloud__button {
  border-color: #FDA4AF;
  color: #BE123C;
}

.p70c-profile-cloud__button:hover,
.p70c-profile-cloud__button:focus-visible {
  background: #F8FAFC;
  outline: none;
}

.p59lp-section-title {
  margin-bottom: 20px;
}

.p59lp-section-title p {
  margin: 8px 0 0;
  color: var(--p59-muted);
  font-size: 14px;
  line-height: 1.6;
}

.p59lp-skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.p59lp-skill-card {
  min-height: 214px;
  padding: 24px;
}

.p59lp-skill-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.p59lp-skill-head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.p59lp-skill-head p {
  margin: 2px 0 0;
  color: var(--p59-muted);
  font-size: 12px;
}

.p59lp-skill-head em {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--p59-blue-card);
  color: var(--p59-blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.p59lp-skill-card--red .p59lp-skill-head em {
  background: #FFF1F2;
  color: #C2410C;
}

.p59lp-skill-card--green .p59lp-skill-head em {
  background: #ECFDF5;
  color: #047857;
}

.p59lp-skill-card dl {
  display: grid;
  gap: 13px;
  margin: 20px 0 0;
}

.p59lp-skill-card div,
.p59lp-skill-card dt,
.p59lp-skill-card dd {
  min-width: 0;
}

.p59lp-skill-card dt {
  color: var(--p59-muted);
  font-size: 12px;
}

.p59lp-skill-card dd {
  margin: 2px 0 0;
  color: var(--p59-text);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.5;
}

.p59lp-today-layout {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 18px;
  margin-top: 18px;
}

.p59lp-card-mini-title {
  gap: 10px;
}

.p59lp-card-mini-title h3 {
  margin: 0;
  font-size: 17px;
}

.p59lp-today-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0;
}

.p59lp-today-stats div {
  min-height: 66px;
  padding: 13px;
  border: 1px solid #E7EDF9;
  border-radius: 12px;
  background: #FAFCFF;
}

.p59lp-today-stats span {
  display: block;
  color: var(--p59-muted);
  font-size: 12px;
}

.p59lp-today-stats strong {
  display: block;
  margin-top: 5px;
  color: var(--p59-blue);
  font-size: 18px;
  line-height: 1.1;
}

.p59lp-task-progress ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.p59lp-task-progress li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #E7EDF9;
  border-radius: 12px;
  background: #FAFCFF;
}

.p59lp-task-progress li > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
}

.p59lp-task-status-icon {
  color: #A8B3C8;
}

.p59lp-task-progress li.is-done .p59lp-task-status-icon {
  color: #1E8A55;
}

.p59lp-task-progress li.is-current .p59lp-task-status-icon {
  color: #155EEF;
}

.p59lp-task-progress em {
  color: var(--p59-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.p59lp-task-progress .is-done em {
  color: #16A34A;
}

.p59lp-task-progress .is-current em {
  color: var(--p59-blue);
}

.p59lp-week-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  margin-top: 18px;
}

.p59lp-week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.p59lp-week-days div {
  position: relative;
  min-width: 0;
  min-height: 98px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  border: 1px solid #D8F3E2;
  border-radius: 14px;
  background: #ECFDF5;
  color: #047857;
}

.p59lp-day-status {
  position: absolute;
  top: 10px;
  right: 10px;
  color: currentColor;
}

.p59lp-week-days strong,
.p59lp-week-days div > span:not(.lp-icon),
.p59lp-week-days em {
  display: block;
  font-style: normal;
}

.p59lp-week-days strong {
  font-size: 13px;
}

.p59lp-week-days div > span:not(.lp-icon) {
  font-size: 12px;
}

.p59lp-week-days em {
  margin-top: 3px;
  color: var(--p59-muted);
  font-size: 12px;
  font-weight: 850;
}

.p59lp-week-days .is-partial {
  border-color: var(--p59-border);
  background: var(--p59-blue-card);
  color: var(--p59-blue);
}

.p59lp-week-days .is-empty {
  border-color: #E6ECF7;
  background: #F8FAFD;
  color: #A5B1C8;
}

.p59lp-week-days .is-today {
  border-color: var(--p59-blue);
  background: var(--p59-blue);
  color: var(--p59-white);
}

.p59lp-week-days .is-today em {
  color: rgba(255, 255, 255, 0.78);
}

.p59lp-week-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  grid-column: 1 / 2;
  color: var(--p59-muted);
  font-size: 12px;
}

.p59lp-week-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.p59lp-legend-icon {
  color: #A8B3C8;
}

.p59lp-week-legend .done .p59lp-legend-icon { color: #1E8A55; }
.p59lp-week-legend .partial .p59lp-legend-icon { color: #155EEF; }
.p59lp-week-legend .today .p59lp-legend-icon { color: var(--p59-blue); }
.p59lp-week-legend .empty .p59lp-legend-icon { color: #A8B3C8; }

.p59lp-week-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  grid-row: 1 / span 2;
  grid-column: 2 / 3;
}

.p59lp-week-stats div {
  min-height: 66px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-content: center;
  column-gap: 8px;
  padding: 11px 12px;
  border: 1px solid #E7EDF9;
  border-radius: 12px;
  background: #FAFCFF;
}

.p59lp-stat-icon {
  grid-row: 1 / span 2;
  align-self: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.p59lp-week-stats span {
  display: block;
  color: var(--p59-muted);
  font-size: 12px;
}

.p59lp-week-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--p59-blue);
  font-size: 18px;
}

.p59lp-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.p59lp-plan-card {
  display: grid;
  gap: 20px;
  align-content: start;
  min-height: 194px;
}

.p59lp-plan-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.p59lp-plan-card h3 {
  margin: 0;
  font-size: 18px;
}

.p59lp-plan-card__head span {
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--p59-blue-card);
  color: var(--p59-blue);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.p59lp-plan-card.is-active .p59lp-plan-card__head span {
  background: #ECFDF5;
  color: #047857;
}

.p59lp-plan-card p {
  margin: 0;
  color: var(--p59-muted);
  font-size: 14px;
  line-height: 1.65;
}

.p59lp-plan-card.is-locked {
  border-color: #E2E9FA;
  background: linear-gradient(180deg, var(--p59-white), #FBFCFF);
}

.p59lp-plan-card.is-locked .p59lp-plan-card__head span {
  background: var(--p59-blue-soft);
  color: var(--p59-muted);
  border: 1px solid var(--p59-border);
}

.p59lp-record-list {
  display: grid;
  margin-top: 18px;
  padding: 0;
  overflow: hidden;
}

.p59lp-record-list article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto 60px;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 18px 22px;
  border-top: 1px solid #EDF2FB;
}

.p59lp-record-list article:first-child {
  border-top: 0;
}

.p59lp-record-list h3,
.p59lp-record-list p {
  margin: 0;
}

.p59lp-record-list h3 {
  color: var(--p59-text);
  font-size: 16px;
  line-height: 1.4;
}

.p59lp-record-list p {
  margin-top: 5px;
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 1.55;
}

.p59lp-record-list time {
  color: var(--p59-muted);
  font-size: 12px;
  white-space: nowrap;
}

.p59lp-record-list article > a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--p59-blue-card);
  color: var(--p59-blue);
  font-size: 13px;
  font-weight: 850;
}

.p59lp-tag {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.p59lp-tag .lp-icon {
  width: 13px;
  height: 13px;
}

.p59lp-tag .lp-icon svg {
  width: 13px;
  height: 13px;
}

.p59lp-tag--red {
  background: #FFF1F2;
  color: #C2410C;
}

.p59lp-tag--blue {
  background: var(--p59-blue-card);
  color: var(--p59-blue);
}

.p59lp-tag--gold {
  background: #FFF7ED;
  color: #A16207;
}

.p59lp-tag--gray {
  background: #F4F7FB;
  color: #64748B;
}

.p59lp-bottom-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  margin-top: 8px;
  padding: 46px 36px;
  border: 1px solid rgba(21, 94, 239, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(21, 94, 239, 0.13), transparent 45%),
    linear-gradient(180deg, #FFFFFF 0%, #EEF4FF 100%);
  color: var(--p59-text);
  box-shadow: 0 18px 42px rgba(33, 64, 134, 0.08);
}

.p59lp-bottom-cta p,
.p59lp-bottom-cta span {
  margin: 0;
  color: var(--p59-muted);
}

.p59lp-bottom-cta p {
  color: var(--p59-blue);
  font-size: 13px;
  font-weight: 850;
}

.p59lp-bottom-cta h2 {
  max-width: 760px;
  color: var(--p59-text);
  font-size: 28px;
}

.p59lp-bottom-cta > span {
  max-width: 580px;
  font-size: 14px;
  line-height: 1.7;
}

.p59lp-bottom-cta .p59lp-actions {
  justify-content: center;
  margin-top: 12px;
}

.p59lp-footer {
  margin-top: 0;
  padding: 48px 0 28px;
  background: #FFFFFF;
  border-top: 1px solid #E8EFFB;
}

.p59lp-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 48px;
}

.p59lp-footer strong {
  display: block;
  color: var(--p59-text);
  font-size: 14px;
  line-height: 1.35;
}

.p59lp-footer p,
.p59lp-footer a {
  color: var(--p59-muted);
  font-size: 13px;
  line-height: 1.7;
}

.p59lp-footer p {
  max-width: 260px;
  margin: 12px 0 0;
}

.p59lp-footer nav {
  display: grid;
  gap: 9px;
  align-content: start;
}

.p59lp-footer nav strong {
  margin-bottom: 4px;
}

.p59lp-copyright {
  margin-top: 42px !important;
  max-width: none !important;
  padding-top: 24px;
  border-top: 1px solid #E8EFFB;
  text-align: center;
  font-size: 12px !important;
}

@media (max-width: 1040px) {
  .p59lp-shell {
    width: min(100% - 40px, 920px);
  }

  .p59lp-header__inner {
    gap: 12px;
  }

  .p59lp-nav a {
    padding: 0 7px;
    font-size: 12px;
  }

  .p59lp-hero__grid,
  .p59lp-today-layout,
  .p59lp-week-card {
    grid-template-columns: 1fr;
  }

  .p59lp-week-stats,
  .p59lp-week-legend {
    grid-column: auto;
    grid-row: auto;
  }

  .p59lp-metrics,
  .p59lp-skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p59lp-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p59lp-plan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .p59lp-shell {
    width: min(100% - 32px, 720px);
  }

  .p59lp-header__inner {
    min-height: 56px;
    justify-content: space-between;
  }

  .p59lp-menu-button {
    display: block;
    order: 3;
  }

  .p59lp-header__cta {
    display: none;
  }

  .p59lp-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--p59-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 34px rgba(33, 64, 134, 0.14);
  }

  .p59lp-header.is-open .p59lp-nav {
    display: grid;
  }

  .p59lp-nav a {
    justify-content: center;
    min-height: 38px;
    font-size: 13px;
    background: var(--p59-blue-soft);
  }

  .p59lp-hero {
    padding-top: 24px;
  }

  .p59lp-hero__copy {
    padding-top: 0;
  }

  .p59lp-hero h1 {
    font-size: 30px;
  }

  .p59lp-lead {
    max-width: none;
  }

  .p59lp-completion-card {
    min-height: 0;
  }

  .p59lp-main-stack {
    gap: 28px;
    padding-top: 24px;
  }

  .p59lp-card {
    padding: 20px;
  }

  .p59lp-section-head--inline {
    display: grid;
  }

  .p59lp-actions--compact {
    justify-content: flex-start;
  }

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

  .p70c-profile-cloud {
    flex-direction: column;
  }

  .p70c-profile-cloud__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .p59lp-week-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .p59lp-week-days .is-today {
    grid-column: span 2;
  }

  .p59lp-record-list article {
    grid-template-columns: 76px minmax(0, 1fr) 62px;
    gap: 10px;
  }

  .p59lp-record-list time {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .p59lp-record-list article > a {
    grid-column: 3 / 4;
    grid-row: 1 / span 2;
  }

  .p59lp-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .p59lp-shell {
    width: calc(100% - 32px);
  }

  .p59lp-brand__mark {
    display: none;
  }

  .p59lp-brand__text {
    font-size: 13px;
  }

  .p59lp-nav {
    grid-template-columns: 1fr;
  }

  .p59lp-hero__grid {
    gap: 14px;
  }

  .p59lp-kicker {
    margin-bottom: 10px;
  }

  .p59lp-hero h1 {
    font-size: 28px;
  }

  .p59lp-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .p59lp-button {
    width: 100%;
    min-height: 40px;
  }

  .p59lp-completion-card {
    padding: 16px;
  }

  .p59lp-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .p59lp-metrics article {
    min-height: 84px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .p59lp-metric-icon {
    width: 44px;
    height: 44px;
  }

  .p59lp-metrics strong {
    font-size: 20px;
  }

  .p59lp-metrics span:not(.lp-icon),
  .p59lp-metrics small {
    font-size: 11px;
  }

  .p59lp-card {
    padding: 18px;
  }

  .p59lp-profile-grid,
  .p59lp-skill-grid,
  .p59lp-today-stats,
  .p59lp-week-stats,
  .p59lp-footer__grid {
    grid-template-columns: 1fr;
  }

  .p59lp-skill-card {
    min-height: 0;
  }

  .p59lp-skill-head {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .p59lp-skill-head em {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .p59lp-week-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p59lp-week-days div {
    min-height: 82px;
  }

  .p59lp-record-list article {
    grid-template-columns: 1fr auto;
    align-items: start;
    min-height: 0;
    padding: 16px;
  }

  .p59lp-record-list .p59lp-tag,
  .p59lp-record-list time,
  .p59lp-record-list div {
    grid-column: 1 / 2;
  }

  .p59lp-record-list article > a {
    grid-column: 2 / 3;
    grid-row: 1 / span 3;
    min-width: 52px;
  }

  .p59lp-bottom-cta {
    padding: 34px 20px;
  }

  .p59lp-bottom-cta h2 {
    font-size: 21px;
  }
}

@media (max-width: 390px) {
  .p59lp-shell {
    width: calc(100% - 24px);
  }

  .p59lp-brand__text {
    max-width: 184px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .p59lp-completion-grid {
    grid-template-columns: 1fr;
  }

  .p59lp-metrics article {
    padding: 12px;
  }

  .p59lp-metrics strong {
    font-size: 19px;
  }
}
