/* ═══════════════════════════════════════════════════════
   FITNESS JOURNAL — Frontend Styles
   Design: LiftPress Default (light, navy/red)
   Font: DM Sans
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,800;1,9..40,300&display=swap');

:root {
  --fj-bg:        #ffffff;
  --fj-surface:   #f5f7fa;
  --fj-surface2:  #eaecf2;
  --fj-border:    rgba(11,34,101,0.12);
  --fj-accent:    #0B2265;
  --fj-accent2:   #A71930;
  --fj-navy:      #0B2265;
  --fj-text:      #0B2265;
  --fj-muted:     #5a6070;
  --fj-radius:    14px;
  --fj-radius-sm: 8px;
  --fj-shadow:    0 2px 12px rgba(11,34,101,0.08);
  --fj-font-display: 'DM Sans', sans-serif;
  --fj-font-body:    'DM Sans', sans-serif;
  --fj-transition: 0.18s ease;
}

/* ── GRID ── */
.fj-grid {
  display: grid;
  gap: 28px;
  padding: 8px 0 40px;
  font-family: var(--fj-font-body);
}
.fj-cols-1 { grid-template-columns: 1fr; }
.fj-cols-2 { grid-template-columns: repeat(2, 1fr); }
.fj-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .fj-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .fj-cols-2, .fj-cols-3 { grid-template-columns: 1fr; }
  .fj-grid { gap: 20px; }
}

/* ── CARD ── */
.fj-card {
  background: var(--fj-surface);
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--fj-shadow);
  transition: transform var(--fj-transition), box-shadow var(--fj-transition), border-color var(--fj-transition);
  font-family: var(--fj-font-body);
}
.fj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  border-color: #333a52;
}

/* ── CARD HEADER ── */
.fj-card-header {
  padding: 22px 24px 18px;
  position: relative;
}
.fj-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.fj-date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fj-muted);
  font-family: var(--fj-font-body);
}
.fj-day-badge {
  display: inline-block;
  background: var(--fj-accent);
  color: #0d0f14;
  font-family: var(--fj-font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.fj-day-badge--lg {
  font-size: 13px;
  padding: 5px 14px;
}
.fj-mood {
  font-size: 18px;
  line-height: 1;
}
.fj-card-title {
  font-family: var(--fj-font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 4px;
  color: var(--fj-text);
}
.fj-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--fj-transition);
}
.fj-card-title a:hover { color: var(--fj-accent); }
.fj-mood-label {
  font-size: 12px;
  color: var(--fj-muted);
  margin: 0;
  font-style: italic;
}

/* ── VIDEO ── */
.fj-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}
.fj-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fj-video-wrap--single {
  border-radius: var(--fj-radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--fj-shadow);
}
.fj-thumb-wrap { overflow: hidden; max-height: 220px; }
.fj-thumb-img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.fj-card:hover .fj-thumb-img { transform: scale(1.04); }

/* ── EXCERPT ── */
.fj-excerpt {
  padding: 16px 24px;
  border-top: 1px solid var(--fj-border);
}
.fj-excerpt p {
  font-size: 14px;
  color: var(--fj-muted);
  line-height: 1.6;
  margin: 0 0 10px;
}
.fj-read-more {
  font-size: 12px;
  font-weight: 500;
  color: var(--fj-accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity var(--fj-transition);
}
.fj-read-more:hover { opacity: 0.75; }

/* ── QUICK STATS ROW ── */
.fj-stats-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--fj-border);
  border-bottom: 1px solid var(--fj-border);
}
.fj-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 6px;
  gap: 2px;
  border-right: 1px solid var(--fj-border);
}
.fj-stat:last-child { border-right: none; }
.fj-stat-icon { font-size: 14px; line-height: 1; }
.fj-stat-value {
  font-family: var(--fj-font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--fj-text);
  line-height: 1.1;
}
.fj-stat-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fj-muted);
}

/* ── ACCORDION ── */
.fj-accordion { display: flex; flex-direction: column; }
.fj-panel { border-top: 1px solid var(--fj-border); }
.fj-panel:first-child { border-top: none; }

.fj-panel-toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  color: var(--fj-text);
  font-family: var(--fj-font-body);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  transition: background var(--fj-transition);
}
.fj-panel-toggle:hover { background: var(--fj-surface2); }
.fj-panel-toggle[aria-expanded="true"] { background: var(--fj-surface2); }
.fj-panel-icon { font-size: 16px; }
.fj-panel-label { flex: 1; }
.fj-panel-chevron {
  font-size: 18px;
  color: var(--fj-muted);
  transition: transform var(--fj-transition);
  line-height: 1;
}
.fj-panel-toggle[aria-expanded="true"] .fj-panel-chevron {
  transform: rotate(90deg);
}

.fj-panel-body {
  display: none;
  padding: 4px 24px 20px;
  background: var(--fj-surface2);
  animation: fj-fade-in 0.18s ease;
}
.fj-panel-body.is-open { display: block; }

@keyframes fj-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── EXERCISE TABLE ── */
.fj-exercise-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 10px;
}
.fj-exercise-table th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fj-muted);
  padding: 6px 8px 6px 0;
  border-bottom: 1px solid var(--fj-border);
}
.fj-exercise-table td {
  padding: 8px 8px 8px 0;
  color: var(--fj-text);
  border-bottom: 1px solid var(--fj-border);
  vertical-align: middle;
}
.fj-exercise-table tbody tr:last-child td { border-bottom: none; }
.fj-exercise-table tbody tr:hover td { color: var(--fj-accent); }
.fj-panel-notes {
  font-size: 13px;
  color: var(--fj-muted);
  font-style: italic;
  margin: 10px 0 0;
  line-height: 1.6;
}

/* ── MEALS ── */
.fj-meal-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--fj-border);
}
.fj-meal-item:last-child { border-bottom: none; }
.fj-meal-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.fj-meal-item-header strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--fj-text);
}
.fj-kcal-badge {
  font-size: 10px;
  font-weight: 600;
  background: rgba(232, 255, 71, 0.12);
  color: var(--fj-accent);
  padding: 2px 7px;
  border-radius: 20px;
}
.fj-meal-item p {
  font-size: 13px;
  color: var(--fj-muted);
  margin: 0;
  line-height: 1.55;
}
.fj-water-row, .fj-total-row {
  font-size: 12px;
  color: var(--fj-muted);
  padding-top: 10px;
  border-top: 1px solid var(--fj-border);
  margin-top: 8px;
}
.fj-water-row strong, .fj-total-row strong { color: var(--fj-text); }

/* ── CARD FOOTER ── */
.fj-card-footer {
  padding: 16px 24px;
  margin-top: auto;
  border-top: 1px solid var(--fj-border);
}
.fj-view-btn {
  display: block;
  text-align: center;
  background: transparent;
  border: 1px solid var(--fj-border);
  color: var(--fj-text);
  font-family: var(--fj-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--fj-radius-sm);
  transition: all var(--fj-transition);
}
.fj-view-btn:hover {
  background: var(--fj-accent);
  border-color: var(--fj-accent);
  color: #0d0f14;
}

/* ── SINGLE ENTRY ── */
.fj-single {
  font-family: var(--fj-font-body);
  color: var(--fj-text);
  background: var(--fj-bg);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.fj-single-hero { margin-bottom: 32px; }
.fj-single-title {
  font-family: var(--fj-font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--fj-text);
  line-height: 1.1;
  margin: 12px 0 16px;
}
.fj-single-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.fj-single-meta time {
  font-size: 13px;
  color: var(--fj-muted);
  letter-spacing: 0.04em;
}
.fj-mood-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--fj-surface2);
  border: 1px solid var(--fj-border);
  color: var(--fj-text);
}

/* ── STATS STRIP ── */
.fj-stats-strip {
  display: flex;
  gap: 0;
  background: var(--fj-surface);
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius);
  overflow: hidden;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.fj-strip-item {
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px;
  gap: 4px;
  border-right: 1px solid var(--fj-border);
  transition: background var(--fj-transition);
}
.fj-strip-item:last-child { border-right: none; }
.fj-strip-item:hover { background: var(--fj-surface2); }
.fj-strip-icon { font-size: 20px; }
.fj-strip-value {
  font-family: var(--fj-font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--fj-text);
}
.fj-strip-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fj-muted);
}

/* ── SINGLE COLUMNS ── */
.fj-single-columns {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .fj-single-columns { grid-template-columns: 1fr; }
}

.fj-section-card {
  background: var(--fj-surface);
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--fj-shadow);
}
.fj-single-sidebar .fj-section-card { margin-bottom: 20px; }
.fj-section-card:last-child { margin-bottom: 0; }

.fj-section-heading {
  font-family: var(--fj-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--fj-text);
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fj-border);
}
.fj-blog-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--fj-muted);
}
.fj-blog-content p { margin: 0 0 16px; }
.fj-blog-content p:last-child { margin-bottom: 0; }
.fj-blog-content h2, .fj-blog-content h3 { color: var(--fj-text); font-family: var(--fj-font-display); }

.fj-workout-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.fj-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(232, 255, 71, 0.1);
  color: var(--fj-accent);
  border: 1px solid rgba(232,255,71,0.2);
}
.fj-tag--time { background: rgba(255,94,58,0.1); color: var(--fj-accent2); border-color: rgba(255,94,58,0.2); }

.fj-empty {
  text-align: center;
  color: var(--fj-muted);
  font-family: var(--fj-font-body);
  padding: 60px 20px;
  font-size: 16px;
}

/* ── Workout History ── */
.lp-history-wrap { font-family:var(--fj-font-body,'DM Sans',sans-serif); }
.lp-history-stats { display:flex; flex-wrap:wrap; gap:0; background:var(--fj-surface,#151820); border:1px solid var(--fj-border,#252a3a); border-radius:var(--fj-radius,16px); overflow:hidden; margin-bottom:24px; }
.lp-hs-item { flex:1; min-width:100px; display:flex; flex-direction:column; align-items:center; padding:18px 10px; gap:4px; border-right:1px solid var(--fj-border,#252a3a); }
.lp-hs-item:last-child { border-right:none; }
.lp-hs-val { font-family:var(--fj-font-display,'Syne',sans-serif); font-size:22px; font-weight:800; color:var(--fj-text,#e8eaf2); }
.lp-hs-lbl { font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:var(--fj-muted,#6b7394); }
.lp-history-tabs { display:flex; gap:0; border-bottom:1px solid var(--fj-border,#252a3a); margin-bottom:20px; }
.lp-tab { background:none; border:none; border-bottom:2px solid transparent; padding:10px 20px; font-family:var(--fj-font-body,sans-serif); font-size:13px; font-weight:500; color:var(--fj-muted,#6b7394); cursor:pointer; transition:color .15s,border-color .15s; }
.lp-tab.active, .lp-tab:hover { color:var(--fj-text,#e8eaf2); border-bottom-color:var(--fj-accent,#e8ff47); }
.lp-tab-pane { display:none; } .lp-tab-pane.active { display:block; }
.lp-session-card { background:var(--fj-surface,#151820); border:1px solid var(--fj-border,#252a3a); border-radius:var(--fj-radius,16px); overflow:hidden; margin-bottom:16px; }
.lp-session-head { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; border-bottom:1px solid var(--fj-border,#252a3a); background:var(--fj-surface2,#1c2030); flex-wrap:wrap; gap:8px; }
.lp-session-left { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.lp-day-micro { background:var(--fj-accent,#e8ff47); color:#0d0f14; font-family:var(--fj-font-display,sans-serif); font-size:9px; font-weight:800; letter-spacing:.1em; padding:2px 7px; border-radius:3px; }
.lp-session-date { font-size:13px; font-weight:500; color:var(--fj-text,#e8eaf2); }
.lp-session-cat { font-size:10px; text-transform:uppercase; letter-spacing:.06em; background:rgba(232,255,71,.1); color:var(--fj-accent,#e8ff47); padding:2px 8px; border-radius:4px; border:1px solid rgba(232,255,71,.2); }
.lp-session-right { display:flex; align-items:center; gap:12px; }
.lp-session-cals { font-size:12px; color:var(--fj-muted,#6b7394); }
.lp-session-link { font-size:11px; color:var(--fj-accent,#e8ff47); text-decoration:none; font-weight:500; }
.lp-session-link:hover { opacity:.75; }
.lp-session-table { width:100%; border-collapse:collapse; font-size:13px; }
.lp-session-table th { padding:8px 20px; font-size:10px; text-transform:uppercase; letter-spacing:.07em; color:var(--fj-muted,#6b7394); border-bottom:1px solid var(--fj-border,#252a3a); text-align:left; font-weight:500; }
.lp-session-table td { padding:10px 20px; color:var(--fj-text,#e8eaf2); border-bottom:1px solid var(--fj-border,#252a3a); }
.lp-session-table tbody tr:last-child td { border-bottom:none; }
.lp-session-table tbody tr:hover td { background:var(--fj-surface2,#1c2030); }
.lp-ex-name-cell { font-weight:500; }
.lp-muscles-cell { font-size:11px; color:var(--fj-muted,#6b7394); }
.lp-records-table { width:100%; border-collapse:collapse; font-size:13px; background:var(--fj-surface,#151820); border:1px solid var(--fj-border,#252a3a); border-radius:var(--fj-radius,16px); overflow:hidden; }
.lp-records-table th { padding:10px 16px; font-size:10px; text-transform:uppercase; letter-spacing:.07em; color:var(--fj-muted,#6b7394); border-bottom:1px solid var(--fj-border,#252a3a); text-align:left; background:var(--fj-surface2,#1c2030); font-weight:500; }
.lp-records-table td { padding:11px 16px; color:var(--fj-text,#e8eaf2); border-bottom:1px solid var(--fj-border,#252a3a); }
.lp-records-table tbody tr:last-child td { border-bottom:none; }
.lp-records-table tbody tr:hover td { background:var(--fj-surface2,#1c2030); }
.lp-cat-pill { font-size:10px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; padding:2px 8px; border-radius:4px; background:rgba(232,255,71,.1); color:var(--fj-accent,#e8ff47); border:1px solid rgba(232,255,71,.2); }
.lp-history-login, .lp-empty { font-family:var(--fj-font-body,sans-serif); color:var(--fj-muted,#6b7394); padding:40px; text-align:center; font-size:14px; }

/* ══════════════════════════════════════════════
   LIFTPRESS — WORKOUT HISTORY & PROFILE
══════════════════════════════════════════════ */

.lp-history-wrap {
  font-family: var(--fj-font-body);
  color: var(--fj-text);
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0 60px;
}

/* ── STATS STRIP ── */
.lp-history-stats {
  display: flex;
  gap: 0;
  background: var(--fj-surface);
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius);
  overflow: hidden;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.lp-hs-item {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px;
  gap: 4px;
  border-right: 1px solid var(--fj-border);
}
.lp-hs-item:last-child { border-right: none; }
.lp-hs-val {
  font-family: var(--fj-font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--fj-accent);
  line-height: 1;
}
.lp-hs-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fj-muted);
}

/* ── TABS ── */
.lp-history-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--fj-border);
  margin-bottom: 24px;
}
.lp-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--fj-muted);
  font-family: var(--fj-font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: -1px;
}
.lp-tab:hover { color: var(--fj-text); }
.lp-tab.active {
  color: var(--fj-accent);
  border-bottom-color: var(--fj-accent);
}
.lp-tab-pane { display: none; }
.lp-tab-pane.active { display: block; }

/* ── SESSION CARDS ── */
.lp-session-card {
  background: var(--fj-surface);
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius);
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.lp-session-card:hover { border-color: #333a52; }
.lp-session-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--fj-surface2);
  border-bottom: 1px solid var(--fj-border);
  flex-wrap: wrap;
  gap: 8px;
}
.lp-session-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lp-day-micro {
  font-family: var(--fj-font-display);
  font-size: 10px;
  font-weight: 800;
  background: var(--fj-accent2);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.1em;
}
.lp-session-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--fj-text);
}
.lp-session-cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fj-accent);
  background: rgba(232,255,71,0.1);
  border: 1px solid rgba(232,255,71,0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.lp-session-right { display: flex; align-items: center; gap: 12px; }
.lp-session-cals { font-size: 12px; color: var(--fj-muted); }
.lp-session-link {
  font-size: 11px;
  color: var(--fj-accent);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: opacity 0.15s;
}
.lp-session-link:hover { opacity: 0.7; }

/* ── SESSION TABLE ── */
.lp-session-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.lp-session-table th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fj-muted);
  padding: 8px 20px;
  border-bottom: 1px solid var(--fj-border);
  font-weight: 500;
}
.lp-session-table td {
  padding: 9px 20px;
  color: var(--fj-text);
  border-bottom: 1px solid var(--fj-border);
}
.lp-session-table tbody tr:last-child td { border-bottom: none; }
.lp-session-table tbody tr:hover td { background: var(--fj-surface2); }
.lp-ex-name-cell { font-weight: 500; }
.lp-muscles-cell { color: var(--fj-muted); font-size: 12px; }

/* ── RECORDS TABLE ── */
.lp-records-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--fj-surface);
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius);
  overflow: hidden;
}
.lp-records-table th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fj-muted);
  padding: 10px 16px;
  border-bottom: 1px solid var(--fj-border);
  font-weight: 500;
  background: var(--fj-surface2);
}
.lp-records-table td {
  padding: 10px 16px;
  color: var(--fj-text);
  border-bottom: 1px solid var(--fj-border);
}
.lp-records-table tbody tr:last-child td { border-bottom: none; }
.lp-records-table tbody tr:hover td { background: var(--fj-surface2); }
.lp-cat-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(232,255,71,0.08);
  color: var(--fj-accent);
  border: 1px solid rgba(232,255,71,0.15);
}

/* ── SHARED EMPTY STATE ── */
.lp-empty, .lp-history-login {
  text-align: center;
  color: var(--fj-muted);
  font-family: var(--fj-font-body);
  padding: 40px 20px;
  font-size: 14px;
}

/* ── HISTORY TAB JS ── */

/* ═══════════════════════════════════════════════════════════
   LIFTPRESS v1.1 — SESSION PILLS, CARDIO METRICS, PROGRAMS
═══════════════════════════════════════════════════════════ */

/* ── Card session pills ── */
.fj-card-session-pills, .fj-session-summary-pills {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}
.fj-card-session-pill, .fj-session-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
  white-space: nowrap;
}
.fj-csp-strength, .fj-session-pill-strength { background: rgba(232,255,71,.12); color: #b8d400; border: 1px solid rgba(232,255,71,.2); }
.fj-csp-cardio,   .fj-session-pill-cardio   { background: rgba(56,189,248,.12); color: #38bdf8; border: 1px solid rgba(56,189,248,.2); }
.fj-csp-activity, .fj-session-pill-activity  { background: rgba(52,211,153,.12); color: #34d399; border: 1px solid rgba(52,211,153,.2); }

/* ── Cardio metrics on single entry ── */
.fj-cardio-metrics { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.fj-cardio-metric  { text-align: center; flex: 1; min-width: 80px; background: var(--fj-surface2,rgba(255,255,255,.04)); border-radius: 8px; padding: 10px 8px; }
.fj-cardio-metric-val { display: block; font-size: 22px; font-weight: 700; color: var(--fj-accent,#e8ff47); line-height: 1; }
.fj-cardio-metric-lbl { display: block; font-size: 10px; color: var(--fj-muted,#8090b0); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* ── Cardio metrics in card accordion ── */
.fj-cardio-metrics-card { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0; }
.fj-cardio-metric-card-item { background: var(--fj-surface2,rgba(255,255,255,.05)); border-radius: 6px; padding: 8px 10px; text-align: center; flex: 1; min-width: 70px; }
.fj-cmc-val { display: block; font-size: 18px; font-weight: 700; color: var(--fj-accent,#e8ff47); }
.fj-cmc-lbl { display: block; font-size: 10px; color: var(--fj-muted,#8090b0); margin-top: 2px; }

/* ── Session blocks in single entry ── */
.fj-session-block-strength { border-left: 3px solid var(--fj-accent,#e8ff47); }
.fj-session-block-cardio   { border-left: 3px solid #38bdf8; }
.fj-muscles-sub { display: block; font-size: 10px; color: var(--fj-muted,#8090b0); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   PROGRAMS SHORTCODE STYLES
═══════════════════════════════════════════════════════════ */
.lp-programs-wrap { font-family: var(--fj-font-body,'DM Sans',sans-serif); }

/* Filter bar */
.lp-prog-filter-bar { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; align-items: center; }
.lp-prog-filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-prog-filter-group label { font-size: 12px; font-weight: 700; color: var(--fj-muted,#8090b0); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.lp-prog-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-filter-pill {
  padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer;
  background: var(--fj-surface,rgba(255,255,255,.05)); color: var(--fj-muted,#8090b0);
  border: 1.5px solid var(--fj-border,rgba(255,255,255,.1)); transition: all .15s;
}
.lp-filter-pill:hover { border-color: var(--fj-accent,#e8ff47); color: var(--fj-accent,#e8ff47); }
.lp-filter-pill.active { background: var(--fj-accent); color: #ffffff; border-color: var(--fj-text); }

/* Program grid */
.lp-prog-grid-sc { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }

/* Program card */
.lp-prog-sc-card {
  background: var(--fj-surface,rgba(255,255,255,.04)); border: 1.5px solid var(--fj-border,rgba(255,255,255,.08));
  border-radius: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.lp-prog-sc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }

.lp-prog-sc-head { display: flex; align-items: flex-start; gap: 14px; padding: 20px 20px 14px; border-bottom: 1px solid var(--fj-border,rgba(255,255,255,.06)); }
.lp-prog-sc-icon { font-size: 36px; flex-shrink: 0; line-height: 1; }
.lp-prog-sc-title-wrap { flex: 1; }
.lp-prog-sc-title { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--fj-text,#e8eaf2); line-height: 1.2; }
.lp-prog-sc-tagline { margin: 0; font-size: 12px; color: var(--fj-muted,#8090b0); }

.lp-prog-sc-badges { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 20px; }
.lp-prog-sc-badge { padding: 4px 10px; border-radius: 14px; font-size: 11px; font-weight: 600; }
.lp-badge-goal  { background: rgba(232,255,71,.15); color: #b8d400; }
.lp-badge-weeks { background: rgba(251,191,36,.12); color: #f59e0b; }
.lp-badge-days  { background: rgba(52,211,153,.12); color: #34d399; }
.lp-badge-diff  { background: rgba(148,163,184,.1); color: var(--fj-muted,#8090b0); }

.lp-prog-sc-desc { padding: 0 20px 12px; font-size: 13px; color: var(--fj-muted,#8090b0); line-height: 1.6; margin: 0; flex: 1; }

.lp-prog-sc-highlights { margin: 0 20px 16px; padding: 0 0 0 16px; list-style: none; }
.lp-prog-sc-highlights li { font-size: 12px; color: var(--fj-muted,#8090b0); padding: 3px 0; position: relative; }
.lp-prog-sc-highlights li::before { content: '✓'; position: absolute; left: -16px; color: var(--fj-accent,#e8ff47); font-weight: 700; }

/* Schedule accordion */
.lp-prog-sc-schedule { margin: 0 20px 0; border-top: 1px solid var(--fj-border,rgba(255,255,255,.06)); }
.lp-prog-sc-schedule summary {
  cursor: pointer; padding: 12px 0; font-size: 12px; font-weight: 600;
  color: var(--fj-accent,#e8ff47); list-style: none; transition: opacity .15s;
}
.lp-prog-sc-schedule summary:hover { opacity: .8; }
.lp-prog-sc-schedule summary::-webkit-details-marker { display: none; }
.lp-prog-sc-weeks { padding-bottom: 12px; }
.lp-prog-sc-week  { margin-bottom: 16px; }
.lp-prog-sc-week-head { font-size: 11px; font-weight: 700; color: var(--fj-accent,#e8ff47); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.lp-prog-sc-week-theme { color: var(--fj-muted,#8090b0); font-weight: 400; text-transform: none; letter-spacing: 0; }
.lp-prog-sc-days { display: flex; flex-direction: column; gap: 4px; }
.lp-prog-sc-day {
  display: grid; grid-template-columns: 40px 1fr; gap: 6px;
  align-items: start; padding: 6px 10px; border-radius: 6px;
  background: var(--fj-surface2,rgba(255,255,255,.03));
  font-size: 12px;
}
.lp-prog-day-rest { opacity: .6; }
.lp-prog-sc-day-name { font-weight: 700; color: var(--fj-text,#e8eaf2); white-space: nowrap; }
.lp-prog-sc-day-focus { font-weight: 600; color: var(--fj-text,#e8eaf2); }
.lp-prog-sc-day-notes { grid-column: 2; color: var(--fj-muted,#8090b0); font-size: 11px; line-height: 1.4; }

.lp-prog-sc-footer {
  display: flex; justify-content: space-between; padding: 12px 20px;
  border-top: 1px solid var(--fj-border,rgba(255,255,255,.06));
  font-size: 11px; color: var(--fj-muted,#8090b0); margin-top: auto;
}

@media (max-width: 640px) {
  .lp-prog-grid-sc { grid-template-columns: 1fr; }
  .fj-cardio-metrics { gap: 6px; }
}

/* ═══════════════════════════════════════════════════════════
   LIFTPRESS v1.2 — LAYOUT VARIANTS
═══════════════════════════════════════════════════════════ */
/* Sidebar Right (default) — already defined as .fj-single-columns */

/* Sidebar Left */
.fj-layout-sidebar-left .fj-single-columns {
  grid-template-columns: 380px 1fr;
}
.fj-layout-sidebar-left .fj-single-blog   { order: 2; }
.fj-layout-sidebar-left .fj-single-sidebar { order: 1; }

/* Half (50/50) */
.fj-layout-half .fj-single-columns { grid-template-columns: 1fr 1fr; }

/* Full Width */
.fj-layout-full-width .fj-single-columns { grid-template-columns: 1fr; }
.fj-layout-full-width .fj-single-sidebar { width: 100%; }
.fj-layout-full-width .fj-section-card   { margin-bottom: 20px; }

/* Fix screenshot issue — make cards span full width, not cramped */
.fj-single-columns { width: 100%; }
.fj-stats-strip { display: flex; gap: 0; border: 1px solid var(--fj-border); border-radius: var(--fj-radius); overflow: hidden; margin-bottom: 28px; }
.fj-strip-item { flex: 1; text-align: center; padding: 20px 12px; border-right: 1px solid var(--fj-border); }
.fj-strip-item:last-child { border-right: none; }
.fj-strip-icon { display: block; font-size: 22px; margin-bottom: 6px; }
.fj-strip-value { display: block; font-size: 18px; font-weight: 800; color: var(--fj-text); }
.fj-strip-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--fj-muted); margin-top: 4px; }

/* Session cards — full width matching stats strip style */
.fj-session-block-strength, .fj-session-block-cardio { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   RECOVERY CARD — SINGLE ENTRY
═══════════════════════════════════════════════════════════ */
.fj-recovery-card {}
.fj-readiness-big { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.fj-readiness-num { font-size: 48px; font-weight: 900; line-height: 1; font-family: var(--fj-font-display); }
.fj-readiness-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--fj-muted); }
.fj-readiness-sub   { display: block; font-size: 13px; color: var(--fj-text); margin-top: 4px; }
.fj-recovery-metrics { display: flex; flex-direction: column; gap: 10px; }
.fj-rm-row { display: flex; align-items: center; gap: 10px; }
.fj-rm-label { width: 90px; font-size: 12px; font-weight: 600; color: var(--fj-muted); flex-shrink: 0; }
.fj-rm-bar-wrap { flex: 1; height: 8px; background: var(--fj-surface2); border-radius: 99px; overflow: hidden; }
.fj-rm-bar { height: 100%; border-radius: 99px; transition: width .3s; }
.fj-rm-soreness { background: #ef4444; }
.fj-rm-energy   { background: #22c55e; }
.fj-rm-stress   { background: #f97316; }
.fj-rm-val { width: 36px; text-align: right; font-size: 12px; font-weight: 700; color: var(--fj-text); }

/* ═══════════════════════════════════════════════════════════
   BMI METER
═══════════════════════════════════════════════════════════ */
.lp-bmi-meter-wrap {
  background: var(--fj-surface); border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius); padding: 20px; margin-bottom: 20px;
}
.lp-bmi-meter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.lp-bmi-meter-title  { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--fj-muted); }
.lp-bmi-value-badge  { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.lp-bmi-under  { background: rgba(56,189,248,.15); color: #38bdf8; }
.lp-bmi-normal { background: rgba(34,197,94,.15);  color: #22c55e; }
.lp-bmi-over   { background: rgba(234,179,8,.15);  color: #ca8a04; }
.lp-bmi-obese  { background: rgba(239,68,68,.15);  color: #ef4444; }
.lp-bmi-gauge  { margin: 0 0 10px; }
.lp-bmi-gauge-bar { position: relative; display: flex; height: 14px; border-radius: 0; overflow: visible; }
.lp-bmi-gauge-bar > div:first-child { border-radius: 99px 0 0 99px; }
.lp-bmi-gauge-bar > div:last-child  { border-radius: 0 99px 99px 0; }
.lp-bmi-segment { height: 100%; }
.lp-bmi-seg-under  { background: linear-gradient(90deg,#60a5fa,#38bdf8); }
.lp-bmi-seg-normal { background: linear-gradient(90deg,#4ade80,#22c55e); }
.lp-bmi-seg-over   { background: linear-gradient(90deg,#facc15,#f97316); }
.lp-bmi-seg-obese  { background: linear-gradient(90deg,#f87171,#ef4444); }
.lp-bmi-needle { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); pointer-events:none; z-index:2; }
.lp-bmi-needle-dot  { width: 14px; height: 14px; background: #fff; border-radius: 50%; border: 2.5px solid #1e293b; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.lp-bmi-needle-line { display: none; }
.lp-bmi-gauge-labels { position: relative; height: 28px; margin-top: 6px; font-size: 10px; color: var(--fj-muted); }
.lp-bmi-gauge-labels span { position: absolute; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.lp-bmi-gauge-labels span:first-child  { left: 0%;   transform: none; }
.lp-bmi-gauge-labels span:last-child   { right: 0%;  transform: none; text-align: right; }
.lp-bmi-details { display: flex; gap: 16px; font-size: 12px; color: var(--fj-muted); margin-top: 8px; }
.lp-bmi-details strong { color: var(--fj-text); }

/* ═══════════════════════════════════════════════════════════
   PROFILE PAGE
═══════════════════════════════════════════════════════════ */
.lp-profile-wrap { font-family: var(--fj-font-body,'DM Sans',sans-serif); max-width: 1200px; margin: 0 auto; }
.lp-profile-login { padding: 40px; text-align: center; color: var(--fj-muted); }

/* Hero */
.lp-profile-hero {
  display: flex; align-items: center; gap: 24px;
  background: var(--fj-surface); border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius); padding: 28px; margin-bottom: 20px;
}
.lp-profile-avatar-wrap { position: relative; flex-shrink: 0; }
.lp-profile-avatar { border-radius: 50%; width: 96px; height: 96px; display: block; }
.lp-profile-streak-flame { position: absolute; bottom: -4px; right: -4px; font-size: 22px; }
.lp-profile-name   { font-size: 26px; font-weight: 800; margin: 0 0 4px; color: var(--fj-text,#e8eaf2); font-family: var(--fj-font-display); }
.lp-profile-since  { font-size: 12px; color: var(--fj-muted); margin: 0 0 12px; }
.lp-profile-badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-profile-badge  { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.lp-badge-streak   { background: rgba(239,68,68,.15); color: #f87171; }
.lp-badge-achievements { background: rgba(232,255,71,.1); color: #b8d400; }
.lp-badge-bmi      { font-size: 11px; }

/* Stats strip */
.lp-profile-stats-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border: 1px solid var(--fj-border); border-radius: var(--fj-radius);
  overflow: hidden; margin-bottom: 20px;
}
.lp-profile-stat-card {
  text-align: center; padding: 18px 10px;
  border-right: 1px solid var(--fj-border);
  background: var(--fj-surface);
}
.lp-profile-stat-card:last-child { border-right: none; }
.lp-psc-icon { display: block; font-size: 20px; margin-bottom: 6px; }
.lp-psc-val  { display: block; font-size: 18px; font-weight: 800; color: var(--fj-text,#e8eaf2); }
.lp-psc-lbl  { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--fj-muted); margin-top: 4px; }

/* Tabs */
.lp-profile-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--fj-border); margin-bottom: 24px; }
.lp-profile-tab {
  padding: 10px 20px; background: none; border: none; border-bottom: 2px solid transparent;
  margin-bottom: -2px; color: var(--fj-muted); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .15s;
}
.lp-profile-tab:hover   { color: var(--fj-text,#e8eaf2); }
.lp-profile-tab.active  { color: var(--fj-accent,#e8ff47); border-bottom-color: var(--fj-accent,#e8ff47); }

/* ── Trophy case ── */
.lp-trophy-summary {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; padding: 16px;
  background: var(--fj-surface); border: 1px solid var(--fj-border); border-radius: var(--fj-radius);
}
.lp-trophy-count { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.lp-tc-platinum { background: rgba(229,228,226,.12); color: #e5e4e2; }
.lp-tc-gold     { background: rgba(255,215,0,.12);   color: #ffd700; }
.lp-tc-silver   { background: rgba(192,192,192,.12); color: #c0c0c0; }
.lp-tc-bronze   { background: rgba(205,127,50,.12);  color: #cd7f32; }

.lp-ach-filter-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.lp-ach-filter {
  padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; cursor: pointer;
  background: var(--fj-surface); border: 1px solid var(--fj-border); color: var(--fj-muted);
  transition: all .15s;
}
.lp-ach-filter:hover { border-color: var(--fj-accent,#e8ff47); color: var(--fj-accent,#e8ff47); }
.lp-ach-filter.active { background: var(--fj-accent); border-color: var(--fj-text); color: #ffffff; }

.lp-trophy-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px;
}
.lp-trophy-card {
  border: 1.5px solid var(--fj-border); border-radius: 14px; padding: 18px 14px 14px;
  text-align: center; position: relative; transition: transform .2s, box-shadow .2s;
  background: var(--fj-surface);
}
.lp-trophy-card.lp-earned:hover { transform: translateY(-3px); }

/* Rarity colors — earned */
.lp-earned.lp-rarity-bronze   { border-color: rgba(205,127,50,.5); box-shadow: 0 0 16px rgba(205,127,50,.15); }
.lp-earned.lp-rarity-silver   { border-color: rgba(192,192,192,.5); box-shadow: 0 0 16px rgba(192,192,192,.15); }
.lp-earned.lp-rarity-gold     { border-color: rgba(255,215,0,.5);   box-shadow: 0 0 20px rgba(255,215,0,.2); }
.lp-earned.lp-rarity-platinum { border-color: rgba(229,228,226,.7); box-shadow: 0 0 24px rgba(229,228,226,.25); background: linear-gradient(135deg, var(--fj-surface) 0%, rgba(229,228,226,.05) 100%); }

/* Locked — grayed out */
.lp-locked { opacity: .45; filter: grayscale(1); }
.lp-locked:hover { opacity: .7; }

.lp-trophy-icon { font-size: 36px; margin-bottom: 8px; display: block; }
.lp-trophy-rarity-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.lp-rb-bronze   { background: rgba(205,127,50,.2);  color: #cd7f32; }
.lp-rb-silver   { background: rgba(192,192,192,.2); color: #c0c0c0; }
.lp-rb-gold     { background: rgba(255,215,0,.2);   color: #b8860b; }
.lp-rb-platinum { background: rgba(229,228,226,.2); color: #e5e4e2; }
.lp-trophy-name  { font-size: 13px; font-weight: 700; color: var(--fj-text,#e8eaf2); margin-bottom: 4px; line-height: 1.2; }
.lp-trophy-desc  { font-size: 11px; color: var(--fj-muted); line-height: 1.4; margin-bottom: 8px; }
.lp-trophy-earned-date { font-size: 10px; color: var(--fj-accent,#e8ff47); font-weight: 600; }
.lp-trophy-locked-text { font-size: 10px; color: var(--fj-muted); }
.lp-trophy-progress { margin-top: 6px; }
.lp-trophy-progress-bar  { height: 5px; background: var(--fj-surface2,rgba(255,255,255,.05)); border-radius: 99px; overflow: hidden; margin-bottom: 4px; }
.lp-trophy-progress-fill { height: 100%; background: var(--fj-accent,#e8ff47); border-radius: 99px; }
.lp-trophy-progress-text { font-size: 10px; color: var(--fj-muted); }

/* ── Workout History ── */
.lp-empty-state { text-align: center; padding: 40px; color: var(--fj-muted); font-size: 14px; }
.lp-history-wrap { display: flex; flex-direction: column; gap: 28px; }
.lp-history-month {}
.lp-history-month-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--fj-border); margin-bottom: 10px; }
.lp-hm-label { font-size: 14px; font-weight: 800; color: var(--fj-text,#e8eaf2); font-family: var(--fj-font-display); }
.lp-hm-count { font-size: 11px; color: var(--fj-muted); }
.lp-history-entries { display: flex; flex-direction: column; gap: 6px; }
.lp-history-entry {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: var(--fj-surface); border: 1px solid var(--fj-border); border-radius: 10px;
  text-decoration: none; transition: border-color .15s, background .15s;
}
.lp-history-entry:hover { border-color: var(--fj-accent,#e8ff47); background: var(--fj-surface2); }
.lp-he-date { text-align: center; flex-shrink: 0; width: 40px; background: var(--fj-accent2); border-radius: 8px; padding: 6px 4px; }
.lp-he-day  { display: block; font-size: 20px; font-weight: 800; color: #ffffff; line-height: 1; }
.lp-he-mon  { display: block; font-size: 10px; text-transform: uppercase; color: #ffffff; }
.lp-he-body { flex: 1; min-width: 0; }
.lp-he-title { font-size: 14px; font-weight: 600; color: var(--fj-text,#e8eaf2); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-he-sessions { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-he-session-tag { font-size: 11px; background: var(--fj-surface2); padding: 2px 8px; border-radius: 10px; color: var(--fj-muted); }
.lp-he-meta { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; flex-shrink: 0; font-size: 12px; color: var(--fj-muted); }
.lp-he-readiness { font-weight: 700; }

/* ── Body Panel ── */
.lp-body-panel { display: flex; flex-direction: column; gap: 24px; }
.lp-body-section { background: var(--fj-surface); border: 1px solid var(--fj-border); border-radius: var(--fj-radius); padding: 20px; }
.lp-body-section-title { font-size: 15px; font-weight: 700; margin: 0 0 16px; color: var(--fj-text,#e8eaf2); }
.lp-body-delta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.lp-delta-val { font-size: 28px; font-weight: 900; font-family: var(--fj-font-display); }
.lp-delta-up   { color: #f87171; }
.lp-delta-down { color: #22c55e; }
.lp-delta-label { font-size: 13px; color: var(--fj-muted); }
.lp-body-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.lp-body-stat { text-align: center; background: var(--fj-surface2); border-radius: 10px; padding: 14px 10px; }
.lp-bs-icon { display: block; font-size: 22px; margin-bottom: 6px; }
.lp-bs-val  { display: block; font-size: 18px; font-weight: 800; color: var(--fj-text,#e8eaf2); }
.lp-bs-lbl  { display: block; font-size: 11px; color: var(--fj-muted); margin-top: 4px; }

/* ── Bar Chart ── */
.lp-bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 100px; padding-bottom: 20px; position: relative; }
.lp-bar-col  { display: flex; flex-direction: column; align-items: center; flex: 1; height: 100%; justify-content: flex-end; gap: 3px; }
.lp-bar { width: 100%; border-radius: 4px 4px 0 0; transition: height .3s; }
.lp-bar-val   { font-size: 9px; color: var(--fj-muted); white-space: nowrap; }
.lp-bar-label { font-size: 9px; color: var(--fj-muted); white-space: nowrap; writing-mode: vertical-lr; transform: rotate(180deg); height: 30px; overflow: hidden; position: absolute; bottom: -12px; }

@media (max-width: 768px) {
  .lp-profile-hero { flex-direction: column; text-align: center; }
  .lp-profile-stats-strip { grid-template-columns: repeat(3, 1fr); }
  .lp-trophy-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .lp-profile-stat-card:nth-child(n+4) { border-top: 1px solid var(--fj-border); }
}

/* ─── Settings layout options ─── */
.lp-layout-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-layout-option { display: flex; flex-direction: column; align-items: center; padding: 14px 10px; border: 2px solid #2e3347; border-radius: 10px; cursor: pointer; text-align: center; transition: all .15s; }
.lp-layout-option:has(input:checked), .lp-layout-option.active { border-color: #e8ff47; background: rgba(232,255,71,.05); }
.lp-layout-option input { position: absolute; opacity: 0; pointer-events: none; }
.lp-layout-icon  { font-size: 22px; margin-bottom: 6px; }
.lp-layout-label { font-size: 13px; font-weight: 700; color: #e8eaf2; margin-bottom: 3px; }
.lp-layout-desc  { font-size: 11px; color: #5a6080; }

/* ─── Recovery slider admin styles ─── */

/* ═══════════════════════════════════════════════════════════
   LIFTPRESS v1.3 — [liftpress_grid] SHORTCODE
═══════════════════════════════════════════════════════════ */
.lp-grid-wrap { font-family: var(--fj-font-body,'DM Sans',sans-serif); }
.lp-grid-empty { text-align:center; padding:40px; color:var(--fj-muted); }

/* Grid layout */
.lp-grid { display:grid; gap:20px; }
.lp-grid-cols-1 { grid-template-columns: 1fr; }
.lp-grid-cols-2 { grid-template-columns: repeat(2,1fr); }
.lp-grid-cols-3 { grid-template-columns: repeat(3,1fr); }
.lp-grid-cols-4 { grid-template-columns: repeat(4,1fr); }
@media(max-width:900px){ .lp-grid-cols-3,.lp-grid-cols-4 { grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px){ .lp-grid { grid-template-columns:1fr !important; } }

/* Grid card */
.lp-grid-card {
  display:flex; flex-direction:column; text-decoration:none;
  background:var(--fj-surface); border:1px solid var(--fj-border);
  border-radius:var(--fj-radius); overflow:hidden;
  transition:transform .2s, box-shadow .2s;
}
.lp-grid-card:hover { transform:translateY(-3px); box-shadow:0 12px 36px rgba(0,0,0,.25); }

.lp-gc-thumb { aspect-ratio:16/9; overflow:hidden; background:var(--fj-surface2); flex-shrink:0; }
.lp-gc-thumb iframe { width:100%; height:100%; display:block; }
.lp-gc-thumb img    { width:100%; height:100%; object-fit:cover; display:block; }
.lp-gc-thumb-placeholder { display:flex; align-items:center; justify-content:center; font-size:40px; }

.lp-gc-body    { padding:14px 16px; flex:1; display:flex; flex-direction:column; gap:8px; }
.lp-gc-meta    { display:flex; align-items:center; gap:8px; }
.lp-gc-day     { font-size:10px; font-weight:800; background:var(--fj-accent2); color:#ffffff; padding:2px 8px; border-radius:10px; letter-spacing:.04em; }
.lp-gc-date    { font-size:11px; color:var(--fj-muted); }
.lp-gc-title   { font-size:14px; font-weight:700; color:var(--fj-text); margin:0; line-height:1.3; }
.lp-gc-sessions { display:flex; flex-wrap:wrap; gap:4px; }
.lp-gc-session-tag { font-size:11px; background:var(--fj-surface2); color:var(--fj-muted); padding:2px 8px; border-radius:8px; }
.lp-gc-stats   { display:flex; gap:10px; flex-wrap:wrap; margin-top:auto; }
.lp-gc-stats span { font-size:11px; color:var(--fj-muted); }

/* List layout */
.lp-grid-layout-list { display:flex; flex-direction:column; gap:0; border:1px solid var(--fj-border); border-radius:var(--fj-radius); overflow:hidden; }
.lp-grid-list-row {
  display:flex; align-items:center; gap:12px; padding:12px 16px;
  text-decoration:none; border-bottom:1px solid var(--fj-border);
  background:var(--fj-surface); transition:background .1s;
}
.lp-grid-list-row:last-child { border-bottom:none; }
.lp-grid-list-row:hover { background:var(--fj-surface2); }
.lp-gll-date  { font-size:11px; color:var(--fj-muted); width:44px; flex-shrink:0; }
.lp-gll-day   { font-size:10px; font-weight:700; color:var(--fj-accent); width:46px; flex-shrink:0; }
.lp-gll-title { font-size:13px; font-weight:600; color:var(--fj-text); flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lp-gll-sessions { font-size:11px; color:var(--fj-muted); flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lp-gll-meta  { display:flex; gap:8px; font-size:11px; color:var(--fj-muted); flex-shrink:0; }

.lp-grid-view-all { text-align:center; margin-top:20px; }
.lp-grid-view-all-btn {
  display:inline-block; padding:10px 24px; border-radius:8px;
  background:var(--fj-accent); color:#0a0c12; font-weight:700; font-size:13px;
  text-decoration:none; transition:opacity .15s;
}
.lp-grid-view-all-btn:hover { opacity:.85; }

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY & CONSISTENCY FIXES
═══════════════════════════════════════════════════════════ */
/* Ensure all text meets minimum contrast against dark backgrounds */
.fj-muted, .fj-stat-label, .fj-strip-label { color:var(--fj-muted,#a0aec0); }
.fj-text, .fj-card-title a, .fj-single-title { color:var(--fj-text,#e8eaf2); }

/* Card width consistency — sessions always match the width of sibling cards */
.fj-single-sidebar .fj-section-card,
.fj-single-sidebar .lp-bmi-meter-wrap,
.fj-single-sidebar .fj-recovery-card { width:100%; box-sizing:border-box; }

/* Full-width layout overrides */
.fj-layout-full-width .fj-single-columns { grid-template-columns:1fr; }
.fj-layout-full-width .fj-single-sidebar { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; align-items:start; }
.fj-layout-full-width .fj-single-blog { order:-1; }

/* Stats strip — equal weight columns */
.fj-stats-strip { display:flex; width:100%; }
.fj-strip-item  { flex:1; min-width:0; }

/* Readable font sizes */
.fj-section-heading   { font-size:15px; font-weight:700; color:var(--fj-text); }
.fj-exercise-table td { font-size:13px; color:var(--fj-text); }
.fj-exercise-table th { font-size:11px; color:var(--fj-muted); }
.fj-panel-label       { font-size:13px; font-weight:600; color:var(--fj-text); }
.fj-cardio-metric-lbl { font-size:11px; }

/* Focus rings for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline:2px solid var(--fj-accent,#e8ff47);
  outline-offset:2px;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT — DEFINITIVE RULES (replaces all earlier layout blocks)
   All rules here use !important to win over any earlier definitions.
═══════════════════════════════════════════════════════════ */

/* Base columns — sidebar-right (default) */
.fj-single .fj-single-columns {
  display: grid !important;
  grid-template-columns: 1fr 380px !important;
  gap: 28px !important;
  align-items: start !important;
  width: 100% !important;
}

/* Sidebar Left */
.fj-layout-sidebar-left .fj-single-columns {
  grid-template-columns: 380px 1fr !important;
}
.fj-layout-sidebar-left .fj-single-blog    { order: 2 !important; }
.fj-layout-sidebar-left .fj-single-sidebar { order: 1 !important; }

/* Half (50/50) */
.fj-layout-half .fj-single-columns {
  grid-template-columns: 1fr 1fr !important;
}

/* Full Width — everything stacks vertically */
.fj-layout-full-width .fj-single-columns {
  display: block !important;
  grid-template-columns: unset !important;
}
.fj-layout-full-width .fj-single-blog {
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 28px !important;
}
.fj-layout-full-width .fj-single-sidebar {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
}
.fj-layout-full-width .fj-section-card,
.fj-layout-full-width .lp-bmi-meter-wrap,
.fj-layout-full-width .fj-recovery-card { margin-bottom: 0 !important; }

/* Mobile — all layouts collapse to single column */
@media (max-width: 860px) {
  .fj-single .fj-single-columns,
  .fj-layout-sidebar-left .fj-single-columns,
  .fj-layout-half .fj-single-columns {
    display: block !important;
    grid-template-columns: unset !important;
  }
  .fj-layout-sidebar-left .fj-single-blog,
  .fj-layout-sidebar-left .fj-single-sidebar { order: unset !important; }
  .fj-single-sidebar { margin-top: 24px; }
}

/* Stats strip */
.fj-stats-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.fj-strip-item {
  flex: 1 1 80px;
  text-align: center;
  padding: 16px 10px;
  border-right: 1px solid var(--fj-border);
  border-bottom: 1px solid var(--fj-border);
  min-width: 80px;
}
.fj-strip-item:last-child { border-right: none; }


/* ═══════════════════════════════════════════════════════════
   LIFTPRESS v1.4 — PROGRESS CHARTS
═══════════════════════════════════════════════════════════ */
.lp-progress-wrap { font-family: var(--fj-font-body,'DM Sans',sans-serif); display:flex; flex-direction:column; gap:28px; }
.lp-progress-login { text-align:center; padding:40px; color:var(--fj-muted); }
.lp-progress-section { background:var(--fj-surface); border:1px solid var(--fj-border); border-radius:var(--fj-radius); padding:24px; }
.lp-progress-heading { font-size:16px; font-weight:800; color:var(--fj-text); margin:0 0 4px; font-family:var(--fj-font-display); }
.lp-progress-sub { font-size:12px; color:var(--fj-muted); margin:0 0 18px; }

/* Lift tabs */
.lp-lift-tabs { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:20px; }
.lp-lift-tab {
  padding:5px 14px; border-radius:20px; font-size:12px; font-weight:600; cursor:pointer;
  background:var(--fj-surface2); border:1.5px solid var(--fj-border); color:var(--fj-muted);
  transition:all .15s;
}
.lp-lift-tab:hover { border-color:var(--fj-accent); color:var(--fj-accent); }
.lp-lift-tab.active { background:var(--fj-accent2); border-color:var(--fj-accent2); color:#ffffff; }

/* Lift stats row */
.lp-lift-stats-row { display:flex; gap:16px; flex-wrap:wrap; margin-bottom:16px; }
.lp-lift-stat { text-align:center; flex:1; min-width:80px; background:var(--fj-surface2); border-radius:8px; padding:10px; }
.lp-ls-val { display:block; font-size:18px; font-weight:800; color:var(--fj-text); font-family:var(--fj-font-display); }
.lp-ls-lbl { display:block; font-size:10px; color:var(--fj-muted); text-transform:uppercase; letter-spacing:.05em; margin-top:3px; }
.lp-pos { color:#22c55e !important; }
.lp-neg { color:#ef4444 !important; }

/* SVG charts */
.lp-chart-svg-wrap { width:100%; overflow:hidden; }
.lp-chart-svg { width:100%; height:auto; display:block; }
.lp-chart-empty { color:var(--fj-muted); font-size:13px; text-align:center; padding:24px; }

/* Frequency heatmap */
.lp-heatmap-wrap { width:100%; padding-bottom:8px; }
.lp-hm-container { display:flex; gap:4px; align-items:flex-start; width:100%; }
.lp-hm-dow { display:flex; flex-direction:column; gap:2px; padding-top:18px; }
.lp-hm-dow span { height:11px; font-size:8px; color:var(--fj-muted); line-height:11px; width:12px; }
.lp-hm-grid { display:grid; grid-template-rows:repeat(7,13px); grid-auto-flow:column; grid-auto-columns:1fr; gap:2px; width:100%; min-width:0; }
.lp-hm-cell { height:13px; border-radius:2px; min-width:0; }
.lp-hm-l0 { background:var(--fj-surface2); }
.lp-hm-l1 { background:rgba(232,255,71,.25); }
.lp-hm-l2 { background:rgba(232,255,71,.55); }
.lp-hm-l3 { background:#e8ff47; }
.lp-hm-today { outline:2px solid var(--fj-accent2,#ff5e3a); outline-offset:1px; }
.lp-hm-legend { display:flex; align-items:center; gap:4px; margin-top:8px; font-size:10px; color:var(--fj-muted); }
.lp-hm-legend .lp-hm-cell { flex-shrink:0; }

/* ═══════════════════════════════════════════════════════════
   MACRO DONUT CHART
═══════════════════════════════════════════════════════════ */
.fj-macro-card {}
.fj-macro-layout { display:flex; align-items:center; gap:20px; }
.fj-macro-donut  { width:110px; height:110px; flex-shrink:0; }
.fj-macro-legend { flex:1; display:flex; flex-direction:column; gap:8px; }
.fj-macro-row    { display:flex; align-items:center; gap:8px; font-size:13px; }
.fj-macro-dot    { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.fj-macro-name   { flex:1; color:var(--fj-muted); font-size:12px; }
.fj-macro-row strong { color:var(--fj-text); font-weight:700; }
.fj-macro-pct    { font-size:11px; color:var(--fj-muted); width:32px; text-align:right; }

/* ═══════════════════════════════════════════════════════════
   WEEKLY SUMMARY CARD
═══════════════════════════════════════════════════════════ */
.lp-weekly-wrap { font-family:var(--fj-font-body,'DM Sans',sans-serif); max-width:100%; }
.lp-weekly-nav  { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.lp-wk-nav-btn  { font-size:12px; color:var(--fj-accent); text-decoration:none; font-weight:600; }
.lp-wk-nav-btn:hover { opacity:.8; }
.lp-wk-nav-label { font-size:13px; color:var(--fj-muted); }

.lp-weekly-card {
  background:var(--fj-surface); border:1.5px solid var(--fj-border);
  border-radius:16px; overflow:hidden;
  box-shadow:0 8px 32px rgba(0,0,0,.25);
}
.lp-wk-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 24px; background:transparent;
  border-bottom:1px solid var(--fj-border);
}
.lp-wk-user-info { display:flex; align-items:center; gap:12px; }
.lp-wk-avatar    { border-radius:50%; width:48px; height:48px; }
.lp-wk-name      { font-size:15px; font-weight:700; color:var(--fj-text); }
.lp-wk-week      { font-size:11px; color:var(--fj-muted); margin-top:2px; }
.lp-wk-brand     { font-size:12px; font-weight:800; color:var(--fj-accent); letter-spacing:.08em; }

.lp-wk-stats {
  display:grid; grid-template-columns:repeat(5,1fr);
  border-bottom:1px solid var(--fj-border);
}
.lp-wk-stat {
  text-align:center; padding:16px 8px;
  border-right:1px solid var(--fj-border);
}
.lp-wk-stat:last-child { border-right:none; }
.lp-wk-stat-icon { display:block; font-size:18px; margin-bottom:5px; }
.lp-wk-stat-val  { display:block; font-size:14px; font-weight:800; color:var(--fj-text); line-height:1.2; }
.lp-wk-stat-lbl  { display:block; font-size:9px; text-transform:uppercase; letter-spacing:.05em; color:var(--fj-muted); margin-top:3px; }

.lp-wk-secondary { display:flex; flex-wrap:wrap; gap:6px; padding:14px 24px; border-bottom:1px solid var(--fj-border); }
.lp-wk-pill { font-size:11px; background:var(--fj-surface2); border-radius:12px; padding:4px 10px; color:var(--fj-muted); }
.lp-wk-delta-pos { color:#22c55e; font-weight:700; }
.lp-wk-delta-neg { color:#ef4444; font-weight:700; }

.lp-wk-session-log { padding:16px 24px; }
.lp-wk-log-header  { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--fj-muted); margin-bottom:10px; }
.lp-wk-log-row     { display:flex; align-items:center; gap:8px; padding:6px 0; border-bottom:1px solid var(--fj-border); }
.lp-wk-log-row:last-child { border-bottom:none; }
.lp-wk-log-date  { font-size:11px; color:var(--fj-muted); width:80px; flex-shrink:0; }
.lp-wk-log-icon  { flex-shrink:0; }
.lp-wk-log-label { flex:1; font-size:13px; color:var(--fj-text); font-weight:500; }
.lp-wk-log-dur   { font-size:11px; color:var(--fj-muted); }
.lp-wk-empty     { padding:32px; text-align:center; color:var(--fj-muted); font-size:14px; }

.lp-wk-footer {
  display:flex; justify-content:space-between; padding:10px 24px;
  border-top:1px solid var(--fj-border); font-size:10px; color:var(--fj-muted);
  background:var(--fj-surface2);
}

.lp-weekly-actions { display:flex; align-items:center; gap:12px; margin-top:16px; }
.lp-wk-action-btn {
  background:var(--fj-surface); border:1.5px solid var(--fj-border); border-radius:8px;
  color:var(--fj-muted); font-size:13px; padding:8px 16px; cursor:pointer; transition:all .15s;
}
.lp-wk-action-btn:hover { border-color:var(--fj-accent); color:var(--fj-accent); }
.lp-wk-action-hint { font-size:12px; color:var(--fj-muted); }

@media(max-width:640px){
  .lp-wk-stats { grid-template-columns:repeat(3,1fr); }
  .lp-wk-stat:nth-child(3) { border-right:none; }
}

/* ═══════════════════════════════════════════════════════════
   LIFTPRESS v1.5 — PS5-STYLE ACHIEVEMENT LIST
═══════════════════════════════════════════════════════════ */

/* Summary bar */
.lp-ach-summary { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; background:var(--fj-surface); border:1px solid var(--fj-border); border-radius:var(--fj-radius); margin-bottom:16px; flex-wrap:wrap; gap:12px; }
.lp-ach-summary-count { display:flex; align-items:baseline; gap:4px; }
.lp-ach-sum-num  { font-size:36px; font-weight:900; color:var(--fj-text); font-family:var(--fj-font-display); line-height:1; }
.lp-ach-sum-of   { font-size:18px; color:var(--fj-muted); font-weight:600; }
.lp-ach-sum-lbl  { font-size:12px; color:var(--fj-muted); margin-left:6px; }
.lp-ach-summary-rarities { display:flex; gap:8px; flex-wrap:wrap; }
.lp-ach-rarity-pill { padding:5px 12px; border-radius:20px; font-size:13px; font-weight:700; }

/* Filter tabs */
.lp-ach-tabs { display:flex; gap:4px; border-bottom:2px solid var(--fj-border); margin-bottom:0; flex-wrap:wrap; }
.lp-ach-tab {
  padding:9px 16px; background:none; border:none; border-bottom:2px solid transparent;
  margin-bottom:-2px; color:var(--fj-muted); font-size:12px; font-weight:600; cursor:pointer;
  letter-spacing:.02em; transition:all .15s; white-space:nowrap;
}
.lp-ach-tab:hover { color:var(--fj-text); }
.lp-ach-tab.active { color:var(--fj-accent,#e8ff47); border-bottom-color:var(--fj-accent,#e8ff47); }
.lp-ach-tab-platinum.active { color:#e5e4e2; border-bottom-color:#e5e4e2; }
.lp-ach-tab-gold.active     { color:#ffd700; border-bottom-color:#ffd700; }
.lp-ach-tab-silver.active   { color:#c0c0c0; border-bottom-color:#c0c0c0; }
.lp-ach-tab-bronze.active   { color:#cd7f32; border-bottom-color:#cd7f32; }

/* Achievement list */
.lp-ach-list { display:flex; flex-direction:column; border:1px solid var(--fj-border); border-top:none; border-radius:0 0 var(--fj-radius) var(--fj-radius); overflow:hidden; }

/* Achievement row */
.lp-ach-row {
  display:flex; align-items:center; gap:16px; padding:16px 20px;
  border-bottom:1px solid var(--fj-border); background:var(--fj-surface);
  transition:background .12s;
}
.lp-ach-row:last-child { border-bottom:none; }
.lp-ach-row:hover { background:var(--fj-surface2,rgba(255,255,255,.03)); }
.lp-ach-locked { opacity:.5; filter:saturate(0); }
.lp-ach-locked:hover { opacity:.7; filter:saturate(.3); }

/* Hex icon */
.lp-ach-icon-wrap { position:relative; flex-shrink:0; }
.lp-ach-icon-hex {
  width:52px; height:52px; border-radius:12px;
  background:var(--ach-bg, rgba(255,255,255,.06));
  border:2px solid var(--ach-color, rgba(255,255,255,.15));
  display:flex; align-items:center; justify-content:center;
  font-size:24px;
}
.lp-ach-earned .lp-ach-icon-hex { box-shadow:0 0 16px var(--ach-color,transparent); opacity:1; }
.lp-ach-rarity-dot {
  position:absolute; bottom:-3px; right:-3px;
  width:12px; height:12px; border-radius:50%;
  border:2px solid var(--fj-surface,#13151e);
}

/* Info column */
.lp-ach-info { flex:1; min-width:0; }
.lp-ach-row-header { display:flex; align-items:center; gap:10px; margin-bottom:4px; flex-wrap:wrap; }
.lp-ach-name { font-size:14px; font-weight:700; color:var(--fj-text,#e8eaf2); }
.lp-ach-rarity-badge { font-size:10px; font-weight:700; padding:2px 8px; border-radius:10px; letter-spacing:.04em; flex-shrink:0; }
.lp-ach-desc { font-size:12px; color:var(--fj-muted,#8090b0); line-height:1.4; margin-bottom:6px; }
.lp-ach-earned-info { display:flex; align-items:center; gap:8px; }
.lp-ach-check { font-size:11px; font-weight:700; color:var(--fj-accent,#e8ff47); }
.lp-ach-earn-date { font-size:11px; color:var(--fj-muted); }
.lp-ach-locked-info { font-size:11px; color:var(--fj-muted); }
.lp-ach-progress { display:flex; align-items:center; gap:10px; }
.lp-ach-prog-bar-wrap { flex:1; height:4px; background:var(--fj-surface2,rgba(255,255,255,.05)); border-radius:99px; overflow:hidden; }
.lp-ach-prog-bar-fill { height:100%; border-radius:99px; }
.lp-ach-prog-text { font-size:11px; color:var(--fj-muted); white-space:nowrap; }

/* Right side */
.lp-ach-row-right { flex-shrink:0; width:36px; text-align:center; }
.lp-ach-row-check { font-size:20px; font-weight:900; }
.lp-ach-row-pct   { font-size:11px; font-weight:700; color:var(--fj-muted); }

/* ═══════════════════════════════════════════════════════════
   PROGRAM CONTEXT BANNER (on entry pages)
═══════════════════════════════════════════════════════════ */
.lp-program-banner {
  display:flex; align-items:center; gap:12px; padding:12px 16px;
  background:rgba(232,255,71,.06); border:1px solid rgba(232,255,71,.2);
  border-left:4px solid var(--fj-accent,#e8ff47);
  border-radius:0 var(--fj-radius-sm) var(--fj-radius-sm) 0;
  margin-bottom:20px; font-size:13px;
}
.lp-pb-icon  { font-size:20px; flex-shrink:0; }
.lp-pb-text  { flex:1; color:var(--fj-muted); line-height:1.4; }
.lp-pb-text strong { color:var(--fj-text); }

/* ═══════════════════════════════════════════════════════════
   DISCLAIMER
═══════════════════════════════════════════════════════════ */
.lp-disclaimer {
  display:flex; align-items:flex-start; gap:10px;
  padding:12px 16px; margin-top:28px;
  background:var(--fj-surface2,rgba(255,255,255,.03));
  border:1px solid var(--fj-border);
  border-radius:var(--fj-radius-sm,6px);
  font-size:12px; color:var(--fj-muted,#8090b0); line-height:1.6;
}
.lp-disclaimer-icon { font-size:16px; flex-shrink:0; margin-top:1px; }
.lp-disclaimer p { margin:0; }
.lp-disclaimer strong { color:var(--fj-text); }

/* ═══════════════════════════════════════════════════════════
   PROGRAM MODAL (frontend Begin Program)
═══════════════════════════════════════════════════════════ */
.lp-prog-modal-overlay {
  position:fixed; inset:0; z-index:99999;
  background:rgba(0,0,0,.75); display:flex;
  align-items:center; justify-content:center;
}
.lp-prog-modal-box {
  background:var(--fj-surface,#13151e); border:1.5px solid var(--fj-border);
  border-radius:16px; padding:32px; max-width:480px; width:90%;
  box-shadow:0 24px 80px rgba(0,0,0,.5);
}
.lp-prog-modal-title { font-size:20px; font-weight:800; color:var(--fj-text); margin:0 0 8px; }
.lp-prog-modal-sub   { font-size:13px; color:var(--fj-muted); margin:0 0 20px; line-height:1.6; }
.lp-prog-modal-field { margin-bottom:16px; }
.lp-prog-modal-field label { display:block; font-size:12px; font-weight:700; color:var(--fj-muted); margin-bottom:6px; text-transform:uppercase; letter-spacing:.06em; }
.lp-prog-modal-input { width:100%; background:var(--fj-surface2); border:1.5px solid var(--fj-border); border-radius:8px; color:var(--fj-text); font-size:14px; padding:10px 12px; }
.lp-prog-modal-warning { padding:12px 14px; background:rgba(234,179,8,.1); border:1px solid rgba(234,179,8,.25); border-radius:8px; font-size:13px; color:#92400e; margin-bottom:20px; color:var(--fj-muted); }
.lp-prog-modal-actions { display:flex; gap:10px; justify-content:flex-end; }
.lp-prog-modal-cancel  { background:var(--fj-surface2); border:1px solid var(--fj-border); border-radius:8px; color:var(--fj-muted); font-size:13px; padding:10px 20px; cursor:pointer; transition:all .15s; }
.lp-prog-modal-confirm { background:var(--fj-accent,#e8ff47); border:none; border-radius:8px; color:#0a0c12; font-size:13px; font-weight:800; padding:10px 24px; cursor:pointer; transition:opacity .15s; }
.lp-prog-modal-confirm:hover { opacity:.85; }
.lp-prog-modal-confirm:disabled { opacity:.5; cursor:default; }

/* Program progress bars on program cards */
.lp-prog-sc-progress { padding:0 20px 14px; }
.lp-prog-sc-progress-label { display:flex; justify-content:space-between; font-size:11px; color:var(--fj-muted); margin-bottom:5px; }
.lp-prog-sc-progress-bar  { height:5px; background:var(--fj-surface2); border-radius:99px; overflow:hidden; }
.lp-prog-sc-progress-fill { height:100%; background:var(--fj-accent,#e8ff47); border-radius:99px; }
.lp-prog-sc-begin-btn {
  display:block; width:calc(100% - 40px); margin:0 20px 20px;
  background:var(--fj-accent); border:none; border-radius:10px;
  color:#ffffff; font-size:14px; font-weight:800; padding:12px;
  cursor:pointer; transition:opacity .15s; letter-spacing:-.01em;
}
.lp-prog-sc-begin-btn:hover { opacity:.85; }

/* ═══════════════════════════════════════════════════════════
   EXERCISE TABLE v1.5 — Stacked name/muscles/equipment
═══════════════════════════════════════════════════════════ */
.fj-exercise-table { width:100%; border-collapse:collapse; }
.fj-exercise-table thead th {
  text-align:left; padding:6px 10px; font-size:10px; font-weight:700;
  text-transform:uppercase; letter-spacing:.06em;
  color:var(--fj-muted); border-bottom:1px solid var(--fj-border);
}
.fj-exercise-table tbody tr { border-bottom:1px solid var(--fj-border); }
.fj-exercise-table tbody tr:last-child { border-bottom:none; }
.fj-exercise-table tbody td { padding:10px 10px; vertical-align:top; }

/* Exercise info cell — stacked */
.fj-ex-cell-info { width:45%; }
.fj-ex-name    { display:block; font-size:14px; font-weight:700; color:var(--fj-text); margin-bottom:3px; }
.fj-ex-muscles { display:block; font-size:11px; color:var(--fj-muted); margin-bottom:2px; }
.fj-ex-equip   { display:block; font-size:11px; color:var(--fj-muted); opacity:.7; }

/* Sets cell — one line per set */
.fj-ex-cell-sets { width:55%; }
.fj-set-line { font-size:13px; color:var(--fj-text); line-height:1.8; font-variant-numeric:tabular-nums; }
.fj-ex-empty-sets { color:var(--fj-muted); font-size:12px; }

/* ═══════════════════════════════════════════════════════════
   LIFTPRESS v1.6 — CHART EMPTY STATES
═══════════════════════════════════════════════════════════ */
.lp-chart-empty-state {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:40px 24px; text-align:center; gap:12px;
  background:var(--fj-surface2,rgba(0,0,0,.03));
  border:2px dashed var(--fj-border); border-radius:var(--fj-radius);
  min-height:140px;
}
.lp-ces-icon { font-size:36px; opacity:.5; }
.lp-chart-empty-state p {
  font-size:14px; color:var(--fj-muted); max-width:340px;
  line-height:1.6; margin:0;
}
.lp-chart-empty-state p strong { color:var(--fj-text); }

/* ── Heatmap contrast fix ── */
.lp-hm-cell     { border:1px solid var(--fj-border,rgba(0,0,0,.08)); }
.lp-hm-l0       { background:var(--fj-surface2,#f3f4f6); }
.lp-hm-l1       { background:rgba(99,102,241,.25); border-color:rgba(99,102,241,.3); }
.lp-hm-l2       { background:rgba(99,102,241,.55); border-color:rgba(99,102,241,.5); }
.lp-hm-l3       { background:#6366f1; border-color:#4f46e5; }
.lp-hm-has-entry{ cursor:pointer; }
/* Override for dark themes */
@media (prefers-color-scheme: dark) {
  .lp-hm-l0 { background:rgba(255,255,255,.06); }
}
.lp-hm-today { outline:2px solid var(--fj-accent,#e8ff47) !important; outline-offset:1px; border-color:transparent !important; }

/* ── Journal pagination ── */
.lp-journal-pagination {
  display:flex; align-items:center; justify-content:center; gap:16px;
  margin-top:32px; padding-top:24px; border-top:1px solid var(--fj-border);
}
.lp-page-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:9px 20px; border-radius:8px;
  background:var(--fj-surface); border:1.5px solid var(--fj-border);
  color:var(--fj-text); font-size:14px; font-weight:600;
  text-decoration:none; transition:all .15s;
}
.lp-page-btn:hover { border-color:var(--fj-accent,#6366f1); color:var(--fj-accent,#6366f1); }
.lp-page-info { font-size:13px; color:var(--fj-muted); }

/* ═══════════════════════════════════════════════════════════
   PROFILE SETUP FORM
═══════════════════════════════════════════════════════════ */
.lp-profile-setup-wrap { font-family:var(--fj-font-body,'DM Sans',sans-serif); max-width:680px; }
.lp-setup-login  { color:var(--fj-muted); padding:24px; text-align:center; }
.lp-setup-saved  {
  padding:12px 16px; margin-bottom:20px;
  background:rgba(34,197,94,.1); border:1px solid rgba(34,197,94,.3);
  border-radius:8px; color:#16a34a; font-weight:600; font-size:14px;
}
.lp-setup-form { display:flex; flex-direction:column; gap:24px; }
.lp-setup-avatar-row {
  display:flex; align-items:center; gap:16px; padding:20px;
  background:var(--fj-surface); border:1px solid var(--fj-border); border-radius:var(--fj-radius);
}
.lp-setup-avatar    { border-radius:50%; width:80px; height:80px; }
.lp-setup-avatar-name { font-size:17px; font-weight:700; color:var(--fj-text); margin-bottom:4px; }
.lp-setup-avatar-hint { font-size:12px; color:var(--fj-muted); }
.lp-setup-fields {
  display:grid; grid-template-columns:1fr 1fr; gap:16px;
  background:var(--fj-surface); border:1px solid var(--fj-border); border-radius:var(--fj-radius); padding:24px;
}
.lp-setup-field { display:flex; flex-direction:column; gap:6px; }
.lp-setup-field-full { grid-column:1/-1; }
.lp-setup-field label { font-size:12px; font-weight:700; color:var(--fj-muted); text-transform:uppercase; letter-spacing:.06em; }
.lp-setup-field input,
.lp-setup-field select,
.lp-setup-field textarea {
  background:var(--fj-surface2); border:1.5px solid var(--fj-border);
  border-radius:8px; color:var(--fj-text); font-size:14px; padding:10px 12px;
  font-family:var(--fj-font-body,'DM Sans',sans-serif); width:100%; box-sizing:border-box;
}
.lp-setup-field textarea { resize:vertical; min-height:80px; }
.lp-setup-field input:focus,
.lp-setup-field select:focus,
.lp-setup-field textarea:focus { outline:2px solid var(--fj-accent,#6366f1); border-color:transparent; }
.lp-setup-hint { font-size:11px; color:var(--fj-muted); line-height:1.4; }
.lp-setup-height-row { display:flex; align-items:center; gap:8px; }
.lp-setup-height-row input { width:64px !important; text-align:center; }
.lp-setup-height-row span { color:var(--fj-muted); font-size:13px; }
.lp-setup-actions { display:flex; justify-content:flex-end; }
.lp-setup-save-btn {
  background:var(--fj-accent,#111827); color:var(--fj-bg,#fff);
  border:none; border-radius:10px; padding:12px 28px;
  font-size:15px; font-weight:700; cursor:pointer; transition:opacity .15s;
}
.lp-setup-save-btn:hover { opacity:.85; }
@media(max-width:600px){ .lp-setup-fields { grid-template-columns:1fr; } }

/* ═══════════════════════════════════════════════════════════
   EXERCISE COMPENDIUM
═══════════════════════════════════════════════════════════ */
.lp-comp-wrap {
  font-family: var(--fj-font-body, 'DM Sans', sans-serif);
  max-width: 1100px;
}

/* ── Search bar ── */
.lp-comp-search-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.lp-comp-search-inner {
  display: flex; align-items: center; gap: 10px; flex: 1;
  background: var(--fj-surface, #fff);
  border: 2px solid var(--fj-border, rgba(11,34,101,.14));
  border-radius: 12px; padding: 10px 16px;
  transition: border-color .15s;
}
.lp-comp-search-inner:focus-within {
  border-color: var(--fj-text);
  box-shadow: 0 0 0 4px rgba(11,34,101,.08);
}
.lp-comp-search-icon { font-size: 18px; flex-shrink: 0; }
.lp-comp-search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 16px; color: var(--fj-text, #0B2265);
  font-family: inherit;
}
.lp-comp-search-input::placeholder { color: var(--fj-muted, #9090a0); }
.lp-comp-search-clear {
  display: none; align-items: center; justify-content: center;
  background: var(--fj-surface2, #eaecf2); border: none; border-radius: 50%;
  width: 22px; height: 22px; font-size: 12px; cursor: pointer;
  color: var(--fj-muted); transition: all .15s; flex-shrink: 0;
}
.lp-comp-search-clear:hover { background: var(--fj-accent2); color: #fff; }
.lp-comp-count {
  font-size: 13px; color: var(--fj-muted, #5a6070);
  white-space: nowrap; font-weight: 500;
}

/* ── Two-panel layout ── */
.lp-comp-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 700px) {
  .lp-comp-layout { grid-template-columns: 1fr; }
  .lp-comp-sidebar { display: flex; flex-wrap: wrap; gap: 6px; position: static !important; }
}

/* ── Sidebar nav ── */
.lp-comp-sidebar {
  position: sticky; top: 80px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--fj-surface, #fff);
  border: 1px solid var(--fj-border, rgba(11,34,101,.1));
  border-radius: 12px; padding: 12px 8px;
}
.lp-comp-sidebar-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--fj-muted);
  padding: 4px 8px 10px; border-bottom: 1px solid var(--fj-border);
  margin-bottom: 6px;
}
.lp-comp-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 8px;
  text-decoration: none; font-size: 13px;
  color: var(--fj-muted, #5a6070); transition: all .12s;
}
.lp-comp-nav-item:hover { background: var(--fj-surface2); color: var(--fj-text); }
.lp-comp-nav-item.active { background: rgba(11,34,101,.08); color: var(--fj-text); font-weight: 600; }
.lp-comp-nav-icon { font-size: 14px; flex-shrink: 0; }
.lp-comp-nav-label { flex: 1; }
.lp-comp-nav-count {
  font-size: 10px; font-weight: 700; color: var(--fj-muted);
  background: var(--fj-surface2); border-radius: 10px;
  padding: 1px 6px; min-width: 22px; text-align: center;
}

/* ── Main area ── */
.lp-comp-main { display: flex; flex-direction: column; gap: 20px; }
.lp-comp-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; padding: 48px;
  background: var(--fj-surface); border: 2px dashed var(--fj-border);
  border-radius: 12px; text-align: center;
}
.lp-comp-empty-icon { font-size: 36px; opacity: .4; }
.lp-comp-empty p { font-size: 14px; color: var(--fj-muted); max-width: 300px; }

/* ── Section headers ── */
.lp-comp-section { scroll-margin-top: 90px; }
.lp-comp-section-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0 10px; border-bottom: 2px solid var(--fj-accent);
  margin-bottom: 2px;
}
.lp-comp-section-icon  { font-size: 18px; }
.lp-comp-section-title {
  font-size: 16px; font-weight: 800; color: var(--fj-text);
  letter-spacing: -.02em; margin: 0; flex: 1;
}
.lp-comp-section-count {
  font-size: 11px; font-weight: 700; color: rgba(11,34,101,.5);
  background: rgba(11,34,101,.06); border-radius: 10px;
  padding: 2px 9px;
}

/* ── Exercise list ── */
.lp-comp-exercise-list {
  background: var(--fj-surface, #fff);
  border: 1px solid var(--fj-border);
  border-radius: 12px; overflow: hidden;
}
.lp-comp-ex-row { border-bottom: 1px solid var(--fj-border); }
.lp-comp-ex-row:last-child { border-bottom: none; }

/* ── Exercise trigger button ── */
.lp-comp-ex-trigger {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left; background: none;
  border: none; padding: 13px 16px; cursor: pointer;
  transition: background .1s;
}
.lp-comp-ex-trigger:hover { background: var(--fj-surface2, #f5f7fa); }
.lp-comp-ex-trigger[aria-expanded="true"] { background: rgba(11,34,101,.04); }
.lp-comp-ex-info { flex: 1; min-width: 0; }
.lp-comp-ex-name {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--fj-text, #0B2265); margin-bottom: 2px;
}
.lp-comp-ex-muscles {
  display: block; font-size: 12px; color: var(--fj-muted, #5a6070);
}
.lp-comp-ex-meta {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.lp-comp-diff {
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 10px; text-transform: uppercase; letter-spacing: .05em;
}
.lp-diff-easy   { background: rgba(22,163,74,.1);  color: #16a34a; }
.lp-diff-medium { background: rgba(245,158,11,.1); color: #d97706; }
.lp-diff-hard   { background: rgba(167,25,48,.1);  color: var(--fj-accent2); }
.lp-comp-equip-hint {
  font-size: 11px; color: var(--fj-muted); background: var(--fj-surface2);
  border-radius: 6px; padding: 2px 8px; display: none;
}
@media (min-width: 600px) { .lp-comp-equip-hint { display: block; } }
.lp-comp-chevron {
  font-size: 20px; color: var(--fj-muted); line-height: 1;
  transition: transform .2s;
}
.lp-comp-ex-trigger[aria-expanded="true"] .lp-comp-chevron {
  transform: rotate(90deg);
}

/* ── Detail panel ── */
.lp-comp-ex-detail {
  border-top: 1px solid var(--fj-border);
  background: var(--fj-surface2, #f5f7fa);
  padding: 20px 20px 16px;
  animation: lp-comp-slide-in .18s ease-out;
}
@keyframes lp-comp-slide-in {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}
.lp-comp-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.lp-comp-detail-cues { grid-column: 1 / -1; }
.lp-comp-detail-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--fj-muted); margin-bottom: 8px;
}

/* Muscle tags */
.lp-comp-muscle-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.lp-comp-muscle-tag {
  font-size: 12px; font-weight: 600; padding: 3px 10px;
  background: rgba(11,34,101,.08); color: var(--fj-text);
  border-radius: 20px;
}

/* Stats row */
.lp-comp-stats-row { display: flex; gap: 16px; }
.lp-comp-stat { text-align: center; }
.lp-comp-stat-val { display: block; font-size: 16px; font-weight: 800; color: var(--fj-text); }
.lp-comp-stat-lbl { display: block; font-size: 10px; color: var(--fj-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* Equipment */
.lp-comp-equip-text { font-size: 13px; color: var(--fj-text); }

/* Form cues */
.lp-comp-cues-list {
  padding-left: 20px; display: flex; flex-direction: column; gap: 6px;
}
.lp-comp-cues-list li { font-size: 13px; color: var(--fj-text); line-height: 1.6; }
.lp-comp-cues-text { font-size: 13px; color: var(--fj-text); line-height: 1.6; }
.lp-comp-auto-tip { color: var(--fj-muted); font-style: italic; }

/* Add to workout button */
.lp-comp-add-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--fj-border); }
.lp-comp-add-btn {
  background: var(--fj-accent); color: #fff; border: none; border-radius: 8px;
  padding: 9px 20px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .15s;
}
.lp-comp-add-btn:hover { background: var(--fj-accent2); }

/* ═══════════════════════════════════════════════════════════
   LIFTPRESS v1.8 — COLOR SCHEME + LAYOUT + CIRCUIT
═══════════════════════════════════════════════════════════ */

/* ── Card color scheme — driven by the active theme's CSS variables.
   The default LiftPress preset's variables equal the original hardcoded
   values (surface #f5f7fa, accent #0B2265, accent2 #A71930, text #0B2265,
   muted #5a6070), so the default theme renders identically while every
   other preset now applies to the cards too. ── */
.fj-card {
  background: var(--fj-surface) !important;
  border: 1.5px solid var(--fj-accent) !important;
}
.fj-card-header { background: transparent; }
.fj-day-badge {
  background: var(--fj-accent2) !important;
  color: #ffffff !important;
}
.fj-card-title a, .fj-card-title { color: var(--fj-text) !important; }
.fj-view-btn {
  display: block !important;
  width: 100% !important;
  background: var(--fj-accent) !important;
  color: #ffffff !important;
  text-align: center !important;
  border-radius: 8px !important;
  padding: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background .15s !important;
}
.fj-view-btn:hover { background: var(--fj-accent2) !important; color: #fff !important; }
.fj-card-session-pill { border: 1px solid var(--fj-border) !important; color: var(--fj-text) !important; }
.fj-stats-row { border-top: 1px solid var(--fj-border) !important; }
.fj-stat-value { color: var(--fj-text) !important; font-weight: 800 !important; }
.fj-stat-label { color: var(--fj-muted) !important; }

/* ── Full-width layout ── */
.fj-layout-full-width .fj-single-columns { display: none !important; }
.fj-fw-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fj-fw-bottom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ── Session card on single entry page ── */
.fj-session-card { overflow: hidden; }
.fj-panel-session-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--fj-border);
}
.fj-session-badges { display: flex; gap: 6px; }
.fj-badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 5px; letter-spacing: .05em; }
.fj-badge-type { background: rgba(11,34,101,.1); color: var(--fj-text); }
.fj-badge-dur  { background: rgba(11,34,101,.06); color: var(--fj-muted); }
.fj-badge-circuit { background: rgba(139,92,246,.1); color: #7c3aed; }
.fj-badge-burn    { background: rgba(234,88,12,.1);  color: #ea580c; }

/* ── Circuit block (admin builder) ── */
.lp-block-header-circuit { background: #7c3aed; border-bottom: 1px solid rgba(255,255,255,.1); }
.lp-circuit-fields { padding: 14px 18px; background: var(--lp-surf); border-bottom: 1px solid var(--lp-border); }
.lp-circuit-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.lp-circuit-ex-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: var(--lp-white);
  border: 1px solid var(--lp-surf2); border-radius: 7px; margin-bottom: 6px;
}
.lp-circuit-ex-name { flex: 1; }
.lp-circuit-ex-reps { width: 70px !important; text-align: center !important; }
.lp-circuit-time-toggle { font-size: 10px; color: var(--lp-muted); cursor: pointer; }
.lp-circuit-ex-remove { background: none; border: none; color: var(--lp-red); cursor: pointer; font-size: 14px; }
.lp-add-circuit-ex { width: 100%; background: none; border: 1.5px dashed var(--lp-border); border-radius: 7px; color: var(--lp-muted); font-size: 12px; padding: 7px; cursor: pointer; transition: all .15s; margin-top: 4px; }
.lp-add-circuit-ex:hover { border-color: #7c3aed; color: #7c3aed; }

/* ── History pagination ── */
.lp-history-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--fj-border);
}
.lp-history-page-btn {
  padding: 8px 18px; border-radius: 8px;
  background: var(--fj-surface); border: 1.5px solid var(--fj-border);
  color: var(--fj-text); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all .15s;
}
.lp-history-page-btn:hover { border-color: var(--fj-text); color: var(--fj-text); }
.lp-history-page-info { font-size: 13px; color: var(--fj-muted); }


/* ═══════════════════════════════════════════════════════════
   [liftpress_featured] — Hero + Grid
═══════════════════════════════════════════════════════════ */
.lp-featured-wrap { width: 100%; }

/* Hero card — full width, linked, no underline */
.lp-feat-card-link { text-decoration: none; color: inherit; }
.lp-featured-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border: 1.5px solid var(--fj-accent);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 4px 28px rgba(11,34,101,.10);
  min-height: 320px;
  transition: box-shadow .2s, transform .15s;
}
.lp-featured-hero:hover { box-shadow: 0 8px 40px rgba(11,34,101,.16); transform: translateY(-2px); }
.lp-featured-hero, .lp-featured-hero * { text-decoration: none !important; }
.lp-feat-card-link, .lp-feat-card-link:hover { text-decoration: none !important; }

/* Plain hero (no media) — navy gradient full width */
.lp-featured-hero--plain {
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, #0B2265 0%, #1a3a8f 100%);
  min-height: 240px;
}
.lp-featured-hero--plain .lp-hero-content { background: transparent; }
.lp-featured-hero--plain .lp-hero-title,
.lp-featured-hero--plain .lp-hero-eyebrow { color: #fff; }
.lp-featured-hero--plain .lp-hero-date,
.lp-featured-hero--plain .lp-hero-excerpt { color: rgba(255,255,255,.7); }
.lp-featured-hero--plain .lp-hero-new-badge { background: var(--fj-accent2); color: #fff; border-color: transparent; }
.lp-featured-hero--plain .lp-hero-stat-val { color: #fff; }
.lp-featured-hero--plain .lp-hero-stat-lbl { color: rgba(255,255,255,.55); }
.lp-featured-hero--plain .lp-hero-stats { border-color: rgba(255,255,255,.15); }

/* Media side */
.lp-hero-media { position: relative; overflow: hidden; background: var(--fj-accent); }
.lp-hero-thumb { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }

/* YouTube thumbnail with play button overlay */
.lp-hero-media--video .lp-hero-video-ratio { position: relative; height: 100%; min-height: 280px; overflow: hidden; }
.lp-hero-video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.lp-hero-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,34,101,.3);
  transition: background .2s;
}
.lp-featured-hero:hover .lp-hero-play { background: rgba(11,34,101,.45); }
.lp-hero-play span {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; padding-left: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

/* Content side */
.lp-hero-content {
  padding: 32px 36px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background: #ffffff;
}

/* Eyebrow */
.lp-hero-eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--fj-muted); }
.lp-hero-new-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(167,25,48,.08); color: var(--fj-accent2);
  border: 1px solid rgba(167,25,48,.2);
  padding: 3px 10px; border-radius: 20px;
}
.lp-hero-day {
  font-size: 11px; font-weight: 700;
  background: var(--fj-accent); color: #fff;
  padding: 3px 10px; border-radius: 20px;
}
.lp-hero-date { font-size: 13px; }

/* Title */
.lp-hero-title {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800; line-height: 1.25;
  /* Hero stays a fixed white block, so the title must be a fixed dark color —
     --fj-text is light in dark themes and would vanish here. */
  color: #0B2265; margin: 0;
}

/* Session pills */
.lp-hero-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-hero-pill {
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  /* Fixed dark text — the strength pill sits on a near-white tint on the white hero;
     --fj-text would be light-on-light in dark themes. */
  background: rgba(11,34,101,.07); color: #0B2265;
  border: 1px solid rgba(11,34,101,.14);
}
.lp-hero-pill--cardio  { background: rgba(167,25,48,.06); color: var(--fj-accent2); border-color: rgba(167,25,48,.14); }
.lp-hero-pill--circuit { background: rgba(124,58,237,.06); color: #7c3aed; border-color: rgba(124,58,237,.14); }

/* Excerpt */
.lp-hero-excerpt { font-size: 14px; color: var(--fj-muted); line-height: 1.65; margin: 0; }

/* Stats */
.lp-hero-stats {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid rgba(11,34,101,.1);
}
.lp-hero-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.lp-hero-stat-val { font-size: 20px; font-weight: 800; color: var(--fj-text); line-height: 1; }
.lp-hero-stat-lbl { font-size: 10px; color: #A5ACAF; text-transform: uppercase; letter-spacing: .06em; }

/* CTA */
.lp-hero-cta {
  display: inline-block;
  background: var(--fj-accent2); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 10px 22px; border-radius: 8px;
  width: fit-content;
  letter-spacing: .02em;
}

/* Divider */
.lp-featured-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 24px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: #A5ACAF;
}
.lp-featured-divider::before,
.lp-featured-divider::after { content: ''; flex: 1; height: 1px; background: rgba(11,34,101,.1); }

/* Responsive */
@media (max-width: 720px) {
  .lp-featured-hero { grid-template-columns: 1fr; }
  .lp-hero-media { order: -1; }
  .lp-hero-thumb,
  .lp-hero-media--video .lp-hero-video-ratio { min-height: 200px; }
  .lp-hero-content { padding: 22px 20px; }
  .lp-hero-title  { font-size: 20px; }
}

/* ── Exercise move buttons ── */
.lp-ex-move-btn {
  background: none; border: 1px solid rgba(11,34,101,.2); border-radius: 4px;
  color: var(--fj-text); font-size: 12px; cursor: pointer; padding: 1px 5px;
  line-height: 1.4; opacity: .6; transition: opacity .15s;
}
.lp-ex-move-btn:hover { opacity: 1; }

/* ── Set duplicate button ── */
.lp-set-dupe {
  background: none; border: none; color: #A5ACAF; font-size: 14px;
  cursor: pointer; padding: 0 4px; opacity: .7; transition: color .15s;
}
.lp-set-dupe:hover { color: var(--fj-text); opacity: 1; }

/* ── Week recap full width ── */
.lp-weekly-summary-wrap { max-width: 100% !important; width: 100%; }

/* ── History date block white text ── */
.lp-he-date { background: var(--fj-accent2) !important; border-radius: 8px !important; padding: 6px 4px !important; }
.lp-he-day, .lp-he-month, .lp-he-mon { color: #ffffff !important; }

/* ── Filter pills and begin button white text on navy ── */
.lp-filter-pill.active, .lp-ach-filter.active {
  background: var(--fj-accent) !important; color: #ffffff !important; border-color: var(--fj-text) !important;
}
.lp-prog-sc-begin-btn { background: var(--fj-accent) !important; color: #ffffff !important; }

/* ── Exercise notes on single entry ── */
.fj-ex-note {
  font-size: 12px; color: var(--fj-muted); font-style: italic;
  margin-top: 6px; padding: 5px 10px;
  background: rgba(11,34,101,.04);
  border-radius: 5px;
  border-left: 3px solid rgba(11,34,101,.15);
}

/* ═══════════════════════════════════════════════════════════
   SESSION EMOJI ROW — replaces accordion on journal cards
═══════════════════════════════════════════════════════════ */
.fj-sess-emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 16px;
  border-top: 1px solid var(--fj-border, rgba(11,34,101,.1));
  justify-content: flex-start;
  align-items: center;
  min-height: 0;
}
.fj-sess-emoji {
  font-size: 32px;
  line-height: 1;
  text-align: center;
  padding: 6px 8px;
  border-radius: 10px;
  cursor: default;
  transition: transform .15s, background .15s;
  flex-shrink: 0;
}
.fj-sess-emoji:hover {
  transform: scale(1.18);
  background: rgba(11,34,101,.06);
}

/* ═══════════════════════════════════════════════════════════
   EMOJI SLIDER ROW
═══════════════════════════════════════════════════════════ */
.fj-emoji-slider-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  border-top: 1px solid var(--fj-border, rgba(11,34,101,.1));
  overflow: hidden;
  min-height: 60px;
}
.fj-emoji-arrow {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 28px;
  min-width: 28px;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--fj-muted);
  cursor: pointer;
  padding: 0;
  user-select: none;
  transition: background .15s, color .15s;
}
.fj-emoji-arrow:hover { background: rgba(11,34,101,.05); }
.fj-emoji-track-outer {
  flex: 1 1 auto !important;
  overflow: hidden !important;
  min-width: 0;
  padding: 10px 0 12px;
}
.fj-emoji-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  transition: transform .3s ease;
  will-change: transform;
}
.fj-sess-emoji {
  font-size: 30px;
  line-height: 1;
  text-align: center;
  flex: 0 0 25% !important;
  min-width: 25%;
  cursor: default;
  transition: transform .15s;
}
.fj-sess-emoji:hover { transform: scale(1.15); }

.fj-card-title, .fj-card-title a { font-size: 15px !important; }

/* Featured hero wrapper — card + stats strip joined */
.lp-featured-hero-wrap { margin-bottom: 32px; }
.lp-featured-stats-strip {
  border: 1.5px solid var(--fj-accent);
  border-top: none;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  background: #fff;
}
/* Remove underlines from all featured/grid card links */
.lp-featured-wrap a,
.lp-featured-wrap a:hover,
.lp-featured-wrap a:visited { text-decoration: none !important; }
.fj-card a,
.fj-card a:hover,
.fj-card a:visited { text-decoration: none !important; }
.fj-view-btn { text-decoration: none !important; }

/* ── Meal food table on entry page ── */
.fj-meal-block { margin-bottom: 16px; }
.fj-meal-block-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px; font-size: 14px;
}
.fj-food-table {
  width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 6px;
}
.fj-food-table thead th {
  text-align: left; font-size: 10px; text-transform: uppercase;
  letter-spacing: .06em; color: #A5ACAF; padding: 0 8px 6px 0;
  border-bottom: 1px solid rgba(11,34,101,.1); font-weight: 700;
}
.fj-food-table tbody tr { border-bottom: 1px solid rgba(11,34,101,.05); }
.fj-food-table tbody tr:last-child { border-bottom: none; }
.fj-food-table td { padding: 7px 8px 7px 0; vertical-align: middle; }
.fj-food-name { font-weight: 600; color: var(--fj-text); }
.fj-food-serving { color: var(--fj-muted); }
.fj-food-cal { font-weight: 700; color: var(--fj-accent2); white-space: nowrap; }
.fj-food-pro { color: var(--fj-muted); white-space: nowrap; }
.fj-meal-notes { font-size: 13px; color: var(--fj-muted); font-style: italic; margin: 6px 0 0; }

/* ── Video placeholder (logo block) ── */
.fj-video-placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.lp-hero-media--placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ── Stretch badge on entry page ── */
.fj-badge-stretch { background: rgba(13,148,136,.1); color: #0d9488; }

/* ── Progress chart equipment badge on tab ── */
.lp-lift-tab-equip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: rgba(11,34,101,.12);
  color: var(--fj-text);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 5px;
  vertical-align: middle;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.lp-lift-tab.active .lp-lift-tab-equip {
  background: rgba(255,255,255,.25);
  color: #fff;
}

/* ── Entry actions: edit / delete (single entry page) ── */
.lp-entry-actions {
  display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; padding-top:16px;
  border-top:1px solid var(--fj-border, rgba(11,34,101,.1));
}
.lp-entry-edit-btn {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--fj-accent, #0B2265); color:var(--fj-bg, #fff) !important;
  text-decoration:none !important; padding:10px 20px; border-radius:8px;
  font-size:13px; font-weight:700; transition:opacity .15s;
}
.lp-entry-edit-btn:hover { opacity:.85; color:var(--fj-bg, #fff) !important; }
.lp-entry-delete-btn {
  display:inline-flex; align-items:center; gap:6px;
  background:transparent; color:var(--fj-accent2, #A71930) !important;
  text-decoration:none !important; padding:10px 20px; border-radius:8px;
  font-size:13px; font-weight:700; border:1.5px solid var(--fj-accent2, #A71930);
  cursor:pointer; transition:all .15s; font-family:inherit;
}
.lp-entry-delete-btn:hover { background:var(--fj-accent2, #A71930); color:#fff !important; }

/* ── Add-On Programs section ── */
.lp-addon-section { margin-bottom:8px; }
.lp-addon-header { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px; }
.lp-addon-title { font-size:20px;font-weight:800;color:var(--fj-accent);margin:0 0 4px; }
.lp-addon-subtitle { font-size:13px;color:var(--fj-muted);margin:0; }
.lp-addon-import-btn {
  display:inline-flex;align-items:center;gap:5px;
  background:none;color:var(--fj-muted)!important;
  border:1px solid var(--fj-border);border-radius:6px;padding:6px 12px;
  font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;
  white-space:nowrap;transition:all .15s;
}
.lp-addon-import-btn:hover { border-color:var(--fj-accent);color:var(--fj-accent)!important; }
.lp-addon-empty { font-size:13px;color:var(--fj-muted);padding:4px 0 8px; }
.lp-prog-sc-card--addon { border-top:3px solid var(--fj-accent2);position:relative; }
.lp-addon-badge { position:absolute;top:10px;right:10px;background:var(--fj-accent2);color:#fff;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;border-radius:4px;padding:2px 7px; }

/* ═══════════════════════════════════════════════════════════
   LIFTPRESS MOBILE PASS — Comprehensive 375-640px improvements
═══════════════════════════════════════════════════════════ */

@media (max-width: 640px) {

  /* ── Single entry: stats strip wraps to 3 per row ── */
  .fj-stats-strip { flex-wrap:wrap; }
  .fj-strip-item {
    flex:1 1 30%;
    min-width:0;
    padding:14px 8px;
    border-bottom:1px solid var(--fj-border);
  }
  .fj-strip-item:nth-child(3n) { border-right:none; }
  .fj-strip-value { font-size:16px; }
  .fj-strip-label { font-size:9px; }

  /* ── Single entry: macro donut — stack vertically ── */
  .fj-macro-layout { flex-direction:column; align-items:center; gap:14px; }
  .fj-macro-donut  { width:130px; height:130px; }
  .fj-macro-legend { width:100%; }

  /* ── Single entry: session cards ── */
  .fj-section-card { padding:16px 14px; }

  /* ── Set rows: reflow on small screens ── */
  .fj-ex-set-row {
    flex-wrap:wrap;
    gap:6px;
    padding:8px 6px;
  }
  .fj-set-badge { flex-shrink:0; }
  .fj-set-weight-input,
  .fj-set-reps-input { width:60px !important; font-size:16px !important; }

  /* ── Cardio metrics grid — 2 per row ── */
  .fj-cardio-metrics {
    grid-template-columns:repeat(2,1fr) !important;
    gap:8px;
  }
  .fj-cardio-metric { padding:12px 10px; }
  .fj-cm-val { font-size:18px; }

  /* ── Profile hero ── */
  .lp-profile-hero { padding:20px 14px; }
  .lp-profile-name { font-size:22px; }
  .lp-profile-badge-row { justify-content:center; }

  /* ── Profile stats strip: 3 columns ── */
  .lp-profile-stats-strip {
    grid-template-columns:repeat(3,1fr) !important;
  }
  .lp-profile-stat-card { padding:12px 8px; }
  .lp-stat-value { font-size:18px; }

  /* ── BMI meter labels: hide 18.5 and 30 on very small screens ── */
  .lp-bmi-gauge-labels span:nth-child(2),
  .lp-bmi-gauge-labels span:nth-child(4) {
    display:none;
  }

  /* ── Body & recovery charts ── */
  .lp-body-stats-grid { grid-template-columns:1fr 1fr; }

  /* ── Achievement grid ── */
  .lp-trophy-grid { grid-template-columns:repeat(2,1fr) !important; gap:10px; }
  .lp-trophy-card { padding:14px 10px; }
  .lp-trophy-icon { font-size:28px; }
  .lp-trophy-name { font-size:11px; }

  /* ── Progress section: smaller headings ── */
  .lp-prog-section-title { font-size:13px; }
  .lp-lift-chart-wrap { overflow-x:auto; }

  /* ── Weekly recap ── */
  .lp-wk-stats { grid-template-columns:repeat(3,1fr); }
  .lp-wk-stat:nth-child(3) { border-right:none; }
  .lp-wk-stat:nth-child(4) { border-top:1px solid var(--fj-border); }
  .lp-wk-stat:nth-child(5) { border-top:1px solid var(--fj-border); }
  .lp-wk-header { padding:14px 16px; flex-wrap:wrap; gap:10px; }
  .lp-wk-session-log { padding:12px 14px; }
  .lp-wk-log-date { width:60px; }

  /* ── Journal grid cards ── */
  .fj-card { padding:14px; }
  .fj-card-session-pills { flex-wrap:wrap; }
  .fj-card-stat { font-size:11px; }

  /* ── History table ── */
  .lp-hist-table th:nth-child(4),
  .lp-hist-table td:nth-child(4) { display:none; } /* hide est. burn col */
  .lp-hist-table th,
  .lp-hist-table td { padding:8px 6px; font-size:12px; }

  /* ── Setup / onboarding ── */
  .lp-setup-fields { grid-template-columns:1fr; }
  .lp-setup-height-row { flex-wrap:wrap; }
  .lp-welcome-setup-card { padding:20px 16px; }

  /* ── Programs grid ── */
  .lp-prog-grid { grid-template-columns:1fr !important; }

  /* ── Prevent iOS input zoom (any input <16px) ── */
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="password"],
  select,
  textarea {
    font-size:16px !important;
  }

}

@media (max-width: 400px) {

  /* Extra-tight for 375px iPhones */
  .fj-stats-strip { }
  .fj-strip-item { flex:1 1 45%; padding:12px 6px; }
  .fj-strip-item:nth-child(3n) { border-right:1px solid var(--fj-border); }
  .fj-strip-item:nth-child(2n) { border-right:none; }

  .lp-profile-stats-strip { grid-template-columns:repeat(2,1fr) !important; }

  .lp-trophy-grid { grid-template-columns:1fr 1fr !important; }

  .lp-wk-stats { grid-template-columns:repeat(2,1fr); }
  .lp-wk-stat:nth-child(2) { border-right:none; }
  .lp-wk-stat:nth-child(3) { border-right:1px solid var(--fj-border); border-top:1px solid var(--fj-border); }
  .lp-wk-stat:nth-child(4) { border-right:none; }
  .lp-wk-stat:nth-child(5) { border-top:1px solid var(--fj-border); }

  .fj-cardio-metrics { grid-template-columns:1fr 1fr !important; }

  .lp-body-stats-grid { grid-template-columns:1fr; }

}

/* ═══════════════════════════════════════════════════════
   MY HUB PAGE — [liftpress_hub]
═══════════════════════════════════════════════════════ */
.lp-hub-wrap { max-width:720px; margin:0 auto; padding:0 16px 48px; display:flex; flex-direction:column; gap:20px; }
.lp-hub-gate { text-align:center; padding:48px 20px; color:var(--fj-muted); font-size:15px; }

/* Sections */
.lp-hub-section { background:var(--fj-surface); border:1.5px solid var(--fj-border); border-radius:14px; overflow:hidden; }
.lp-hub-section-head { display:flex; align-items:center; justify-content:space-between; padding:14px 18px; border-bottom:1px solid var(--fj-border); }
.lp-hub-section-title { font-size:15px; font-weight:800; color:var(--fj-text); margin:0; }
.lp-hub-section-meta { font-size:12px; color:var(--fj-muted); }
.lp-hub-section-link { font-size:13px; color:var(--fj-accent); text-decoration:none; font-weight:600; }
.lp-hub-count { display:inline-flex; align-items:center; justify-content:center; background:var(--fj-accent2); color:#fff; border-radius:20px; padding:1px 7px; font-size:11px; font-weight:800; margin-left:6px; }

/* Quick actions */
.lp-hub-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:14px; background:transparent; border:none; }
.lp-hub-action { display:flex; flex-direction:column; align-items:center; gap:8px; padding:20px 12px; border-radius:12px; text-decoration:none; transition:all .15s; text-align:center; }
.lp-hub-action--primary { background:var(--fj-navy); color:#fff; }
.lp-hub-action--primary:hover { background:rgba(11,34,101,.85); color:#fff; }
.lp-hub-action--active { background:var(--fj-accent2); color:#fff; }
.lp-hub-action--active:hover { opacity:.9; color:#fff; }
.lp-hub-action--upsell { background:rgba(167,25,48,.08); border:1.5px dashed rgba(167,25,48,.3); color:var(--fj-accent2); }
.lp-hub-action-icon { font-size:28px; }
.lp-hub-action-label { font-size:13px; font-weight:800; line-height:1.3; display:flex; flex-direction:column; gap:2px; }
.lp-hub-unlock { font-size:11px; font-weight:600; opacity:.7; }

/* Stats strip */
.lp-hub-stats-strip { display:grid; grid-template-columns:repeat(3,1fr); border:1.5px solid var(--fj-border); border-radius:14px; overflow:hidden; }
.lp-hub-stat { text-align:center; padding:18px 10px; border-right:1px solid var(--fj-border); background:var(--fj-surface); }
.lp-hub-stat:last-child { border-right:none; }
.lp-hub-stat strong { display:block; font-size:22px; font-weight:900; color:var(--fj-text); line-height:1; }
.lp-hub-stat span { display:block; font-size:11px; color:var(--fj-muted); margin-top:3px; text-transform:uppercase; letter-spacing:.05em; }

/* Program card */
.lp-hub-program-card { padding:14px 18px; }
.lp-hub-prog-day { font-size:15px; font-weight:800; color:var(--fj-text); margin-bottom:8px; }
.lp-hub-prog-exercises { list-style:none; padding:0; margin:0 0 12px; display:flex; flex-direction:column; gap:3px; }
.lp-hub-prog-exercises li { font-size:13px; color:var(--fj-muted); }
.lp-hub-prog-exercises li::before { content:'· '; }
.lp-hub-prog-more { color:var(--fj-accent); font-weight:600; }
.lp-hub-prog-btn { display:inline-block; background:var(--fj-navy); color:#fff; text-decoration:none; padding:10px 20px; border-radius:9px; font-size:13px; font-weight:700; }

/* Drafts */
.lp-hub-drafts { display:flex; flex-direction:column; }
.lp-hub-draft-card { display:flex; align-items:center; gap:12px; padding:14px 18px; border-bottom:1px solid var(--fj-border); }
.lp-hub-draft-card:last-child { border-bottom:none; }
.lp-hub-draft-info { flex:1; min-width:0; }
.lp-hub-draft-title { font-size:14px; font-weight:700; color:var(--fj-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lp-hub-draft-meta { font-size:12px; color:var(--fj-muted); margin-top:2px; }
.lp-hub-draft-actions { display:flex; gap:6px; flex-shrink:0; }

/* Recent entries */
.lp-hub-entries { display:flex; flex-direction:column; }
.lp-hub-entry-row { display:flex; align-items:center; gap:12px; padding:13px 18px; border-bottom:1px solid var(--fj-border); }
.lp-hub-entry-row:last-child { border-bottom:none; }
.lp-hub-entry-info { flex:1; min-width:0; }
.lp-hub-entry-title { font-size:14px; font-weight:700; color:var(--fj-text); text-decoration:none; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lp-hub-entry-title:hover { color:var(--fj-accent); }
.lp-hub-entry-meta { font-size:12px; color:var(--fj-muted); margin-top:2px; }

/* Shared buttons */
.lp-hub-btn { padding:7px 14px; border-radius:8px; font-size:12px; font-weight:700; text-decoration:none; cursor:pointer; border:none; font-family:inherit; transition:all .15s; white-space:nowrap; display:inline-block; }
.lp-hub-btn--primary { background:var(--fj-navy); color:#fff; }
.lp-hub-btn--primary:hover { background:rgba(11,34,101,.85); color:#fff; }
.lp-hub-btn--ghost { background:transparent; color:var(--fj-muted); border:1.5px solid var(--fj-border); }
.lp-hub-btn--ghost:hover { border-color:var(--fj-accent2); color:var(--fj-accent2); }
.lp-hub-btn--add-session { background:rgba(11,34,101,.08); color:var(--fj-navy); border:1.5px solid rgba(11,34,101,.15); }
.lp-hub-btn--add-session:hover { background:var(--fj-navy); color:#fff; }
.lp-hub-btn--upsell { background:rgba(167,25,48,.08); color:var(--fj-accent2); border:1.5px dashed rgba(167,25,48,.3); }

/* Achievements */
.lp-hub-achievements { padding:4px 0; }
.lp-hub-ach-row { display:flex; align-items:center; gap:12px; padding:12px 18px; border-bottom:1px solid var(--fj-border); }
.lp-hub-ach-row:last-child { border-bottom:none; }
.lp-hub-ach-icon { font-size:24px; flex-shrink:0; }
.lp-hub-ach-info { flex:1; min-width:0; }
.lp-hub-ach-name { font-size:13px; font-weight:700; color:var(--fj-text); }
.lp-hub-ach-progress-wrap { display:flex; align-items:center; gap:8px; margin-top:4px; }
.lp-hub-ach-bar { flex:1; height:6px; background:var(--fj-bg); border-radius:3px; overflow:hidden; }
.lp-hub-ach-fill { height:100%; background:var(--fj-accent); border-radius:3px; }
.lp-hub-ach-nums { font-size:11px; color:var(--fj-muted); white-space:nowrap; }

@media(max-width:480px) {
    .lp-hub-actions { grid-template-columns:1fr 1fr; }
    .lp-hub-action { padding:16px 8px; }
    .lp-hub-action-icon { font-size:22px; }
    .lp-hub-stat strong { font-size:18px; }
}
.lp-hub-prog-notes { font-size:12px; color:var(--fj-muted); margin:0 0 12px; line-height:1.5; }

/* ═══════════════════════════════════════════════════════════
   ACHIEVEMENTS PAGE — [liftpress_achievements]
═══════════════════════════════════════════════════════════ */
.lp-achievements-wrap { max-width:720px; margin:0 auto; padding:0 16px 48px; }
.lp-ach-section { margin-bottom:32px; }
.lp-ach-section-title { font-size:14px; font-weight:800; color:var(--fj-text); margin:0 0 14px; }
.lp-ach-grid { display:flex; flex-direction:column; gap:10px; }
.lp-ach-card { display:flex; align-items:center; gap:14px; background:#fff; border:1.5px solid var(--fj-border); border-radius:12px; padding:14px 16px; }
.lp-ach-earned { border-color:rgba(16,185,129,.3); background:rgba(16,185,129,.03); }
.lp-ach-locked { opacity:.55; }
.lp-ach-icon { font-size:28px; flex-shrink:0; width:40px; text-align:center; }
.lp-ach-icon-dim { filter:grayscale(1); }
.lp-ach-info { flex:1; min-width:0; }
.lp-ach-name { font-size:14px; font-weight:700; color:var(--fj-text); }
.lp-ach-desc { font-size:12px; color:var(--fj-muted); margin-top:2px; }
.lp-ach-date { font-size:11px; color:var(--fj-accent); margin-top:3px; font-weight:600; }
.lp-ach-badge { width:24px; height:24px; border-radius:50%; background:#10b981; color:#fff; font-size:13px; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.lp-ach-progress-wrap { display:flex; align-items:center; gap:8px; margin-top:6px; }
.lp-ach-bar { flex:1; height:6px; background:var(--fj-bg); border-radius:3px; overflow:hidden; }
.lp-ach-fill { height:100%; background:var(--fj-accent); border-radius:3px; }
.lp-ach-nums { font-size:11px; color:var(--fj-muted); white-space:nowrap; }

/* ═══════════════════════════════════════════════════════════
   HUB — WELCOME HEADER
═══════════════════════════════════════════════════════════ */
.lp-hub-welcome { padding:8px 0 4px; margin-bottom:4px; }
.lp-hub-greeting { font-size:20px; font-weight:800; color:var(--fj-text); margin:0 0 2px; }
.lp-hub-date { font-size:13px; color:var(--fj-muted); margin:0; }

/* ═══════════════════════════════════════════════════════════
   HUB — NAVIGATION GRID
═══════════════════════════════════════════════════════════ */
.lp-hub-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}
.lp-hub-nav-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--fj-surface);
    border: 1.5px solid var(--fj-border);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color .15s, transform .1s, box-shadow .15s;
    cursor: pointer;
}
.lp-hub-nav-tile:hover {
    border-color: var(--fj-accent);
    box-shadow: 0 2px 10px rgba(11,34,101,.08);
    transform: translateY(-1px);
    text-decoration: none;
}
.lp-hub-nav-icon { font-size: 22px; line-height: 1; }
.lp-hub-nav-label { font-size: 11px; font-weight: 700; color: var(--fj-text); text-align: center; letter-spacing: .01em; }

/* ═══════════════════════════════════════════════════════════
   HUB — MY PROGRAM CARD
═══════════════════════════════════════════════════════════ */
.lp-hub-my-program .lp-hub-section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.lp-hub-leave-btn { font-size:12px; color:var(--fj-muted); background:none; border:1px solid var(--fj-border); border-radius:6px; padding:3px 10px; cursor:pointer; transition:color .15s, border-color .15s; }
.lp-hub-leave-btn:hover { color:#ef4444; border-color:#ef4444; }

.lp-hub-prog-card { background:var(--fj-bg); border-radius:10px; padding:14px 16px; }
.lp-hub-prog-name { font-size:15px; font-weight:800; color:var(--fj-text); margin-bottom:4px; }
.lp-hub-prog-meta { font-size:12px; color:var(--fj-muted); margin-bottom:10px; }
.lp-hub-prog-bar-wrap { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.lp-hub-prog-bar { flex:1; height:8px; background:var(--fj-border); border-radius:4px; overflow:hidden; }
.lp-hub-prog-fill { height:100%; background:var(--fj-accent); border-radius:4px; transition:width .4s; }
.lp-hub-prog-pct { font-size:12px; font-weight:700; color:var(--fj-accent); min-width:36px; text-align:right; }

.lp-hub-prog-today { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.lp-hub-prog-today-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--fj-muted); flex-shrink:0; }
.lp-hub-prog-today-focus { font-size:14px; font-weight:700; color:var(--fj-text); }
.lp-hub-prog-rest { color:var(--fj-muted); font-size:13px; font-style:italic; }
.lp-hub-prog-complete { color:#10b981; font-size:14px; font-weight:700; }
.lp-hub-prog-actions { display:flex; gap:8px; }
.lp-hub-prog-btn { display:inline-block; padding:9px 16px; background:var(--fj-accent); color:#fff !important; font-size:13px; font-weight:700; border-radius:8px; text-decoration:none; transition:opacity .15s; }
.lp-hub-prog-btn:hover { opacity:.88; text-decoration:none; }
.lp-hub-prog-btn--draft { background:#f59e0b; }

.lp-hub-my-program--empty .lp-hub-prog-empty-msg { font-size:14px; color:var(--fj-muted); margin:0 0 12px; }
.lp-hub-prog-browse-btn { display:inline-block; padding:9px 18px; background:var(--fj-accent); color:#fff !important; font-size:13px; font-weight:700; border-radius:8px; text-decoration:none; }
.lp-hub-prog-browse-btn:hover { opacity:.88; text-decoration:none; }

/* ═══════════════════════════════════════════════════════════
   HUB — MOBILE
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .lp-hub-nav-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .lp-hub-nav-tile { padding: 12px 4px; border-radius: 10px; }
    .lp-hub-nav-icon { font-size: 20px; }
    .lp-hub-nav-label { font-size: 10px; }
    .lp-hub-greeting { font-size: 18px; }
}

/* Hub leave dropdown */
.lp-hub-leave-wrap { position:relative; }
.lp-hub-leave-menu { position:absolute; right:0; top:calc(100% + 4px); background:#fff; border:1.5px solid var(--fj-border); border-radius:8px; box-shadow:0 4px 16px rgba(0,0,0,.12); min-width:200px; z-index:100; overflow:hidden; }
.lp-hub-leave-menu button { display:block; width:100%; text-align:left; padding:10px 14px; font-size:13px; font-weight:600; background:none; border:none; cursor:pointer; color:var(--fj-text); }
.lp-hub-leave-menu button:hover { background:var(--fj-bg); }

/* Programs page enrolled badge */
.lp-prog-sc-enrolled { display:flex; align-items:center; justify-content:space-between; gap:10px; background:#dcfce7; border:1.5px solid #86efac; border-radius:8px; padding:10px 14px; margin-top:10px; }
.lp-prog-sc-enrolled-badge { font-size:13px; font-weight:700; color:#16a34a; }
.lp-prog-sc-leave-btn { font-size:12px; font-weight:600; color:#dc2626; background:none; border:1px solid #dc2626; border-radius:6px; padding:4px 10px; cursor:pointer; }
.lp-prog-sc-leave-btn:hover { background:#fee2e2; }

/* ═══════════════════════════════════════════════════════════
   HUB — SMART DRAFTS SECTION
═══════════════════════════════════════════════════════════ */

/* Today's draft — prominent card */
.lp-hub-today-draft {
    background: linear-gradient(135deg, #0B2265 0%, #1a3a7a 100%);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 12px;
    color: #fff;
}
.lp-hub-today-draft-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.6);
    margin-bottom: 4px;
}
.lp-hub-today-draft-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}
.lp-hub-today-draft-badges {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    margin-bottom: 14px;
}
.lp-hub-today-draft-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lp-hub-today-draft-actions .lp-hub-prog-btn {
    background: #fff;
    color: var(--fj-text) !important;
    font-size: 13px;
}
.lp-hub-today-draft-actions .lp-hub-btn--ghost {
    color: rgba(255,255,255,.7);
    border-color: rgba(255,255,255,.3);
    font-size: 12px;
    padding: 6px 12px;
}

/* Group headers */
.lp-hub-drafts-group { margin-bottom: 10px; }
.lp-hub-drafts-group-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--fj-muted);
    padding: 0 0 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--fj-border);
}

/* Collapsible program group toggle */
.lp-hub-drafts-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    border-bottom: 1px solid var(--fj-border);
    padding: 8px 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--fj-text);
    font-family: inherit;
    text-align: left;
    margin-bottom: 4px;
}
.lp-hub-drafts-group-toggle:hover { color: var(--fj-accent); }
.lp-hub-drafts-group-meta { display: flex; align-items: center; gap: 8px; }
.lp-hub-drafts-group-chevron { font-size: 11px; color: var(--fj-muted); }
.lp-hub-count--sm {
    font-size: 11px;
    background: var(--fj-bg);
    border: 1px solid var(--fj-border);
    color: var(--fj-muted);
    padding: 1px 7px;
    border-radius: 20px;
    font-weight: 700;
}
.lp-hub-drafts-group-body { padding-top: 4px; }

/* Individual draft row */
.lp-hub-draft-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--fj-border);
    transition: opacity .2s;
}
.lp-hub-draft-row:last-of-type { border-bottom: none; }
.lp-hub-draft-row-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.lp-hub-draft-row-date {
    font-size: 11px;
    font-weight: 700;
    color: var(--fj-accent);
    white-space: nowrap;
    flex-shrink: 0;
}
.lp-hub-draft-row-date--past { color: var(--fj-muted); }
.lp-hub-draft-row-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--fj-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-hub-draft-row-badges { font-size: 13px; flex-shrink: 0; }
.lp-hub-draft-row-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* Small button variant */
.lp-hub-btn--sm { padding: 5px 10px !important; font-size: 12px !important; }

/* Bulk discard button */
.lp-hub-bulk-discard-btn {
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    background: none;
    border: 1px dashed #fca5a5;
    border-radius: 7px;
    font-size: 12px;
    color: #dc2626;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: background .15s;
}
.lp-hub-bulk-discard-btn:hover { background: #fee2e2; }

/* More drafts note */
.lp-hub-drafts-more {
    font-size: 12px;
    color: var(--fj-muted);
    margin: 8px 0 0;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   PROGRESS PAGE — TIME RANGE PICKER
═══════════════════════════════════════════════════════════ */
.lp-progress-range-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.lp-progress-range-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: var(--fj-muted);
    background: var(--fj-bg);
    border: 1.5px solid var(--fj-border);
    transition: all .15s;
    white-space: nowrap;
}
.lp-progress-range-btn:hover,
.lp-progress-range-btn.active {
    background: var(--fj-accent);
    color: #fff;
    border-color: var(--fj-accent);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   FOCUSED MUSCLES CARD
═══════════════════════════════════════════════════════════ */
.fj-muscles-card { }
.fj-muscles-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.fj-muscle-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: 1.5px solid;
    white-space: nowrap;
}
.fj-muscles-detail {
    font-size: 11px;
    color: var(--fj-muted);
    line-height: 1.6;
    border-top: 1px solid var(--fj-border);
    padding-top: 8px;
    margin-top: 2px;
}
