/* Iteron Solo — shell: rail stânga (desktop), header, tabbar (mobil), drawer, banner.
   Întregul limbaj vizual e „Tactile & Crisp Ocean”: suprafețe albe, borduri 2px,
   lip 4px pe butoane, accente Ocean Azure. */

.solo {
  color: var(--text);
  font-family: var(--f-body);
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
}
.solo *, .solo *::before, .solo *::after { box-sizing: border-box; }
.solo :is(button, a, textarea):focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 2px;
}
.solo input:focus-visible {
  outline: none;
  border-color: var(--accent-hi);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ================= header ================= */

.solo-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 16px;
  min-height: 64px;
  padding: 10px clamp(16px, 4vw, 32px);
  padding-top: max(10px, env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(13, 14, 14, .96), rgba(13, 14, 14, .82));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.solo-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 900; font-size: 18px; letter-spacing: -.01em; text-decoration: none; color: var(--text); }
.solo-brand svg { width: 26px; height: 26px; filter: drop-shadow(0 6px 12px rgba(45, 212, 191, .35)); }
.solo-brand-name { color: var(--text); }
.solo-brand-sub { color: var(--muted); font-family: var(--f-body); font-weight: 500; font-size: 13px; }
.solo-top-nav { display: none; align-items: center; gap: 4px; margin-left: 16px; }
.solo-top-nav .solo-nav-btn { width: auto; padding: 8px 14px; min-height: 40px; }
@media (min-width: 820px) { .solo-top-nav { display: flex; } }
.solo-chips { display: flex; gap: 8px; margin-left: auto; }
.solo-avbtn {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  border: var(--border); background: var(--surface-2);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.solo-avbtn:hover { background: var(--surface-3); }

/* ================= rail stânga (desktop) ================= */

.solo-rail { display: none; }
.solo-rail-top { display: flex; flex-direction: column; gap: 24px; }
.solo-rail-brand {
  display: flex; align-items: center; gap: 10px; padding: 8px;
  border-radius: var(--r-btn); text-decoration: none; color: var(--text);
  min-width: 0;
}
.solo-rail-brand > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.solo-rail-brand:hover { background: var(--surface-2); }
.solo-rail-logo {
  width: 40px; height: 40px; border-radius: 14px; flex: 0 0 auto;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 0 var(--accent-deep);
  display: grid; place-items: center; color: var(--accent-ink);
}
.solo-rail-logo svg { width: 24px; height: 24px; }
.solo-rail-title { font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--accent); line-height: 1.1; }
.solo-rail-sub { font-family: var(--f-body); font-weight: 500; font-size: 12px; color: var(--faint); }
.solo-rail-foot {
  background: var(--surface-2); border: var(--border); border-radius: var(--r-card);
  padding: 14px;
}
.solo-rail-foot .t { font-family: var(--f-body); font-weight: 700; font-size: 12px; letter-spacing: .3px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.solo-rail-foot .b { font-family: var(--f-body); font-weight: 500; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ================= nav ================= */

.solo-nav { display: flex; flex-direction: column; gap: 6px; }
.solo-nav-btn {
  display: inline-flex; align-items: center; gap: 12px; width: 100%;
  font-family: var(--f-body); font-weight: 700; font-size: 14px;
  padding: 11px 14px; min-height: 44px;
  border: 1px solid transparent; border-radius: 14px;
  background: none; color: var(--muted); cursor: pointer;
  transition: color .14s ease, background .14s ease, border-color .14s ease;
}
.solo-nav-btn svg { width: 20px; height: 20px; }
.solo-nav-btn:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.solo-nav-btn.active {
  background: rgba(45, 212, 191, .11); border-color: rgba(45, 212, 191, .28);
  color: var(--accent-hi);
}

/* ================= tabbar (mobil) ================= */

.solo-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 42;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  padding: 8px 16px max(8px, env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: var(--border);
}
.solo-tab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px; min-height: 50px; border: none; background: none; border-radius: var(--r-btn);
  color: var(--faint); font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .2px;
  cursor: pointer;
}
.solo-tab svg { width: 22px; height: 22px; }
.solo-tab.active { color: var(--accent); }
.solo-tab-av { font-size: 20px; line-height: 22px; height: 22px; }
.solo-dot {
  position: absolute; top: 6px; right: calc(50% - 18px);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--surface);
}

/* ================= layout ================= */

.solo-main {
  width: 100%; max-width: 1080px; margin: 0 auto;
  padding: 20px 20px calc(96px + env(safe-area-inset-bottom));
  min-height: 60vh;
}
.solo.solo-ex-mode .solo-tabbar { display: none; }
.solo.solo-ex-mode .solo-main { padding: 28px 24px 96px; max-width: 100%; margin: 0 auto; }

/* ================= pagini ================= */

.solo-path-shell {
  width: 100%; max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 18px;
}
.solo-path-shell .solo-lang-bar { justify-content: flex-start; }

.solo-page {
  width: 100%; max-width: 960px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.solo-page-head {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.solo-page-head h1 { font-family: var(--f-display); font-weight: 700; font-size: 32px; line-height: 1.15; margin: 0; }
.solo-page-head p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 62ch; }
.solo-page-head .solo-bar { width: 100%; max-width: 440px; flex: none; }
.solo-unit-meta { font-family: var(--f-body); font-weight: 600; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.solo-eyebrow { font-family: var(--f-body); font-weight: 700; font-size: 12px; letter-spacing: .3px; text-transform: uppercase; color: var(--accent); }
.solo-back {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start; width: auto;
  font-family: var(--f-body); font-weight: 700; font-size: 13px; color: var(--muted);
  background: var(--surface); border: var(--border); border-radius: var(--r-btn);
  padding: 8px 14px; min-height: 40px; cursor: pointer;
}
.solo-back:hover { background: var(--surface-2); color: var(--text); }
.solo-back svg { width: 18px; height: 18px; }

/* unități / skill-uri */
.solo-unit-list { display: grid; gap: 14px; }
@media (min-width: 640px) { .solo-unit-list { grid-template-columns: 1fr 1fr; } }
.solo-unit {
  display: flex; flex-direction: column; align-items: stretch; text-align: left;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(255, 255, 255, .04); border-radius: 24px;
  box-shadow: var(--clay);
  padding: 20px 22px; cursor: pointer; color: var(--text); font-family: var(--f-body);
  transition: transform .16s var(--spring), border-color .16s ease;
}
.solo-unit:hover { transform: translateY(-2px); border-color: rgba(45, 212, 191, .28); }
.solo-unit:active { transform: translateY(1px); }
.solo-unit-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.solo-unit-title { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.25; margin: 0 0 6px; color: var(--text); }
.solo-unit-count { font-family: var(--f-body); font-weight: 700; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.solo-unit-blurb { flex: 1; font-family: var(--f-body); font-weight: 500; font-size: 14px; color: var(--muted); line-height: 1.45; margin: 0 0 14px; }
.solo-unit .solo-bar { flex: none; width: 100%; }
.solo-unit-rib { font-family: var(--f-body); font-weight: 700; font-size: 11px; letter-spacing: .3px; text-transform: uppercase; color: var(--accent); }

.solo-skill-list { display: flex; flex-direction: column; gap: 10px; }
.solo-skill {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: var(--border); border-bottom-width: var(--lip); border-radius: var(--r-btn);
  padding: 12px 14px; min-height: 60px; cursor: pointer; text-align: left;
  font-family: var(--f-body); color: var(--text);
  transition: transform var(--dur-fast) ease-out, background var(--dur-fast) ease-out, border-color var(--dur-fast) ease-out;
}
.solo-skill:hover { background: var(--surface-2); border-color: var(--accent-hi); }
.solo-skill:active { transform: translateY(2px); border-bottom-width: 2px; }
.solo-skill-ico {
  width: 38px; height: 38px; border-radius: var(--r-sm); flex: 0 0 auto;
  background: var(--surface-2); border: var(--border-soft);
  display: grid; place-items: center; font-size: 16px;
}
.solo-skill-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.solo-skill-body b, .solo-skill-body .t { font-family: var(--f-body); font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--text); }
.solo-skill-body small, .solo-skill-body .s { font-family: var(--f-body); font-weight: 500; font-size: 12.5px; line-height: 1.35; color: var(--faint); }
.solo-skill-badge {
  width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  border: var(--border-soft); background: var(--surface-2); color: var(--muted);
}
.solo-skill-badge svg { width: 16px; height: 16px; }
.solo-skill-badge.ok { background: var(--success-bg); border-color: var(--success); color: var(--success); }
.solo-skill-badge.current { background: var(--accent-soft); border-color: var(--accent-hi); color: var(--accent); }
.solo-skill-badge.locked { opacity: .6; }

/* recap / summary */
.solo-recap, .solo-summary {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--surface-2); border: var(--border); border-radius: var(--r-card);
  padding: 16px 18px;
}
.solo-recap-ok { background: var(--surface); border-color: var(--line); }
.solo-recap-body { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 3px; }
.solo-recap-body b { font-family: var(--f-body); font-weight: 700; font-size: 16px; line-height: 1.3; }
.solo-recap-body small { font-family: var(--f-body); font-weight: 500; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.solo-recap-ico {
  width: 42px; height: 42px; border-radius: var(--r-btn); flex: 0 0 auto;
  background: var(--surface); border: var(--border);
  display: grid; place-items: center; color: var(--accent);
}
.solo-recap-ok .solo-recap-ico { border-color: var(--success); color: var(--success); }
.solo-recap-ico svg { width: 20px; height: 20px; }
.solo-recap-tests { font-family: var(--f-body); font-weight: 500; border-color: rgba(45, 212, 191, .35); background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.solo-summary { flex-direction: column; align-items: flex-start; gap: 8px; }
.solo-summary-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.solo-summary-chip {
  font-family: var(--f-body); font-weight: 700; font-size: 12px; padding: 6px 10px;
  border-radius: var(--r-pill); background: var(--surface); border: var(--border-soft);
  text-transform: uppercase; letter-spacing: .3px;
}
.solo-summary-chip.err { background: var(--error-bg); color: var(--error-ink); border-color: var(--error); }
.solo-summary-chip.ok { background: var(--success-bg); color: var(--success-ink); border-color: var(--success); }

/* statement / enunț */
.solo-statement {
  background: var(--surface); border: var(--border); border-radius: var(--r-card);
  padding: 20px;
}
.solo-statement h2 { font-family: var(--f-display); font-weight: 700; font-size: 24px; margin: 0 0 8px; line-height: 1.25; }
.solo-statement p { font-family: var(--f-body); font-weight: 500; font-size: 15.5px; color: var(--muted); line-height: 1.55; margin: 0; white-space: pre-line; }
.solo-statement p + .solo-req { margin-top: 12px; }
.solo-req {
  display: inline-block; padding: 8px 12px; border-radius: var(--r-sm);
  background: var(--surface-2); border: var(--border-soft);
  font-family: var(--f-body); font-weight: 500; font-size: 13px; color: var(--muted);
}

/* ================= exercițiu ================= */

.solo-ex {
  width: 100%; max-width: 1040px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.solo-ex.solo-ex--single { max-width: 760px; margin: 0 auto; }
.solo-ex-top { display: flex; align-items: center; gap: 14px; }
.solo-ex-progress { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.solo-ex-progress .solo-bar { height: 14px; flex: 1; }
.solo-ex-progress-label { font-family: var(--f-body); font-weight: 800; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.solo-ex-head { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.solo-ex-head h1 { font-family: var(--f-display); font-weight: 700; font-size: 26px; margin: 0; line-height: 1.2; }
.solo-ex-meta { font-family: var(--f-body); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.solo-bar {
  height: 16px; border-radius: var(--r-pill); overflow: hidden;
  background: var(--surface-3); border: 2px solid var(--line);
  flex: 1; min-width: 80px;
}
.solo-bar-fill { display: block; height: 100%; background: var(--accent-hi); border-radius: var(--r-pill); transition: width var(--dur) var(--spring); }
.solo-bar-lg { height: 20px; }
.solo-bar-sm { height: 12px; }

.solo-ex-host { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.solo-ex .ex-explain { display: none; }
.solo-ex-body { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) {
  .solo-ex-body:not(.solo-ex-body--single) { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
  .solo-ex-body:not(.solo-ex-body--single) .solo-hints { grid-column: 1 / -1; }
  .solo-ex-body:not(.solo-ex-body--single) .solo-statement { position: sticky; top: 84px; }
}

.solo.solo-has-banner .solo-ex-bar { display: none; }
.solo-ex-bar {
  position: sticky; bottom: 0; z-index: 30;
  margin-top: 24px;
  padding: 16px 0;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  background: var(--bg); border-top: var(--border);
}
.solo-ex-bar-inner {
  width: 100%; max-width: 1040px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.solo-ex-bar--single .solo-ex-bar-inner { max-width: 760px; margin: 0 auto; }
.solo-ex-bar .solo-btn.primary { min-width: 170px; }

/* banner Ilinca */
.solo-banner {
  border: 2px solid var(--line); border-radius: var(--r-card);
  padding: 16px 18px;
  background: var(--surface-2);
}
.solo-banner-inner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; width: 100%;
}
.solo-banner.ok { background: var(--success-bg); border-color: var(--success); }
.solo-banner.bad { background: var(--error-bg); border-color: var(--error); }
.solo-banner-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 2px solid currentColor; display: grid; place-items: center; font-size: 20px; font-weight: 700; flex: 0 0 auto; }
.solo-banner.ok .solo-banner-ico { color: var(--success); }
.solo-banner.bad .solo-banner-ico { color: var(--error); }
.solo-banner-body { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 3px; }
.solo-banner-title { font-family: var(--f-body); font-weight: 700; font-size: 16px; margin: 0; }
.solo-banner.ok .solo-banner-title { color: var(--success-ink); }
.solo-banner.bad .solo-banner-title { color: var(--error-ink); }
.solo-banner-text { font-family: var(--f-body); font-weight: 500; font-size: 14px; line-height: 1.5; }
.solo-banner.ok .solo-banner-text { color: var(--success-ink); }
.solo-banner.bad .solo-banner-text { color: var(--error-ink); }
.solo-banner-detail { font-family: var(--f-body); font-weight: 500; font-size: 13px; color: inherit; opacity: .85; margin-top: 2px; }
.solo-banner-gain {
  display: inline-flex; align-items: center; gap: 4px; width: fit-content; margin-top: 4px;
  font-family: var(--f-body); font-weight: 700; font-size: 13px; color: var(--success-ink);
}
.solo-banner-gain svg { width: 14px; height: 14px; }
.solo-banner-btn {
  font-family: var(--f-body); font-weight: 700; font-size: 14px; letter-spacing: .2px;
  text-transform: uppercase; padding: 10px 18px; min-height: 44px;
  border-radius: var(--r-btn); border: 2px solid var(--accent-deep); border-bottom-width: var(--lip);
  background: var(--accent-hi); color: var(--accent-ink); cursor: pointer; white-space: nowrap;
}
.solo-banner.ok .solo-banner-btn { background: var(--success); border-color: var(--success-ink); }
.solo-banner-btn:active { transform: translateY(2px); border-bottom-width: 2px; }

/* indicii */
.solo-hints { display: flex; flex-direction: column; gap: 10px; }
.solo-hint-bubble {
  background: var(--surface); border: var(--border); border-left: 4px solid var(--accent-hi);
  border-radius: var(--r-btn); padding: 12px 14px;
}
.solo-hint-who { display: block; font-family: var(--f-body); font-weight: 700; font-size: 11px; letter-spacing: .3px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.solo-hint-text { font-family: var(--f-body); font-weight: 500; font-size: 14px; line-height: 1.5; color: var(--text); }

/* note / toast */
.solo-note {
  border: var(--border); border-radius: var(--r-btn); padding: 12px 14px;
  background: var(--surface-2); font-family: var(--f-body); font-weight: 500; font-size: 14px;
}
.solo-note.bad { background: var(--error-bg); border-color: var(--error); color: var(--error-ink); }
.solo-note.ok { background: var(--success-bg); border-color: var(--success); color: var(--success-ink); }

.solo-toast {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%);
  z-index: 70; background: var(--text); color: var(--bg);
  font-family: var(--f-body); font-weight: 600; font-size: 14px;
  padding: 12px 18px; border-radius: var(--r-pill);
  box-shadow: 0 8px 20px -8px rgba(11, 28, 48, .5);
}

/* ================= drawer / profil ================= */

.solo-scrim { position: fixed; inset: 0; z-index: 50; background: rgba(11, 28, 48, .45); }
.solo-drawer {
  position: fixed; z-index: 60;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: var(--border); border-radius: var(--r-card);
  padding: 20px 20px 84px;
  inset: auto 0 0 0; max-height: 88vh; overflow-y: auto;
  border-radius: var(--r-card) var(--r-card) 0 0;
}
.solo-grabber { width: 44px; height: 5px; border-radius: var(--r-pill); background: var(--line); margin: 0 auto 14px; }
.solo-drawer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.solo-drawer-avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--accent-hi); display: grid; place-items: center; font-size: 28px; background: var(--surface-2); }
.solo-drawer-id-body { display: flex; flex-direction: column; gap: 2px; }
.solo-drawer-id { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.solo-profile-id { font-family: var(--f-mono); font-size: 12px; color: var(--faint); }
.solo-drawer-body { display: flex; flex-direction: column; gap: 16px; }
.solo-field { display: flex; flex-direction: column; gap: 6px; }
.solo-label { font-family: var(--f-body); font-weight: 700; font-size: 12px; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); }
.solo-avatars { display: flex; flex-wrap: wrap; gap: 8px; }
.solo-av { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); font-size: 22px; display: grid; place-items: center; cursor: pointer; }
.solo-av.sel { border-color: var(--accent-hi); border-bottom-width: var(--lip); background: var(--accent-soft); }
.solo-goals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.solo-goal { min-width: 0; height: 42px; padding: 0 6px; border-radius: 12px; border: var(--border); background: var(--surface-2); color: var(--text); font-family: var(--f-body); font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.solo-goal.sel { background: var(--accent); border-color: var(--accent-deep); border-bottom-width: var(--lip); color: var(--accent-ink); }
.solo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.solo-stat { background: var(--surface-2); border: var(--border-soft); border-radius: var(--r-btn); padding: 12px; text-align: center; }
.solo-stat .v { font-family: var(--f-display); font-weight: 700; font-size: 22px; }
.solo-stat .l { font-family: var(--f-body); font-weight: 700; font-size: 11px; letter-spacing: .3px; text-transform: uppercase; color: var(--faint); }

/* ================= onboarding ================= */

.solo-onboard {
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  background: var(--surface); border: 2px solid var(--accent-hi); border-bottom-width: var(--lip);
  border-radius: var(--r-card); padding: 16px 18px;
}
.solo-onboard-copy { display: flex; flex-direction: column; gap: 3px; }
.solo-onboard-copy b { font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.25; }
.solo-onboard-copy small { font-family: var(--f-body); font-weight: 500; font-size: 13.5px; color: var(--muted); }
.solo-onboard-form { display: flex; align-items: center; gap: 8px; width: 100%; }
.solo-onboard-form .solo-input { flex: 1 1 180px; width: auto; min-width: 0; }
.solo-onboard-form .solo-btn { flex: 0 0 auto; white-space: nowrap; }

/* ================= boot ================= */

.solo-boot { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: var(--bg); }
.solo-boot-card {
  background: var(--surface); border: var(--border); border-radius: var(--r-card);
  padding: 28px; max-width: 420px; width: 100%; text-align: center;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.solo-boot-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--surface-2); border: var(--border); display: grid; place-items: center; font-size: 26px; }

/* ================= desktop ================= */

@media (min-width: 820px) {
  .solo-main { width: 100%; max-width: 1080px; margin: 0 auto; padding: 36px 24px 72px; }
  .solo-tabbar { display: none; }
  .solo.solo-ex-mode .solo-main { margin: 0 auto; width: 100%; max-width: 1080px; padding: 36px 24px 96px; }
  .solo-drawer {
    inset: 0 0 0 auto; width: 400px; max-height: none; height: 100vh;
    border-radius: 0; border: none; border-left: 1px solid var(--line);
  }
  .solo-grabber { display: none; }
}

@media (max-width: 560px) {
  .solo-chips { gap: 6px; }
  .solo-chip { padding: 5px 10px; font-size: 12px; }
  .solo-main { padding: 16px 14px calc(96px + env(safe-area-inset-bottom)); }
  .solo-ex-head h1 { font-size: 20px; }
  .solo-statement h2 { font-size: 20px; }
  .solo-onboard-form { flex-wrap: wrap; }
  .solo-onboard-form .solo-input { flex: 1 1 100%; width: 100%; }
  .solo-onboard-form .solo-btn { flex: 1; }
  .solo-ex-bar .solo-btn { flex: 1; min-width: 0; }
}

/* ================= tutor AI ✨ (provocări personalizate) ================= */

.solo-btn.tutor-btn {
  border-color: var(--accent, #006194);
  color: var(--accent, #006194);
  font-weight: 700;
}

.tutor-overlay {
  position: fixed; inset: 0; z-index: 160;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 28px 16px;
  background: rgba(6, 24, 38, 0.55);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.tutor-card {
  width: 100%; max-width: 760px;
  margin: auto 0;
  background: var(--surface, #fff);
  border: 2px solid var(--line, #d8e2ea);
  border-bottom: 4px solid var(--accent, #006194);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 56px rgba(3, 20, 34, 0.35);
}
.tutor-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 4px;
}
.tutor-head h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--text, #10293a); }
.tutor-spark { margin-right: 2px; }
.tutor-close {
  appearance: none; background: none;
  border: 2px solid var(--line, #d8e2ea); border-radius: 10px;
  width: 36px; height: 36px; cursor: pointer;
  color: var(--text-dim, #5b7286);
}
.tutor-sub {
  margin: 0 0 14px;
  font-size: 13px; color: var(--text-dim, #5b7286);
}
.tutor-statement { margin-bottom: 14px; }
.tutor-host { margin-bottom: 14px; }
.tutor-foot {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px;
}

/* ---- lecții AI: intro + pasi ---- */
.lesson-intro {
  border: 2px solid var(--line, #d8e2ea);
  border-left: 4px solid var(--accent, #006194);
  border-radius: 12px;
  background: var(--bg, #f4f8fb);
  padding: 12px 14px;
  margin: 0 0 14px;
}
.lesson-intro p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; }
.lesson-intro p:last-child { margin: 0; }
.lesson-steps { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.lesson-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line, #d8e2ea);
  display: inline-block;
}
.lesson-dot.done { background: var(--accent, #006194); }
.lesson-dot.now { background: var(--accent-hi, #0aa2ff); box-shadow: 0 0 0 3px var(--accent-soft, rgba(10,162,255,.2)); }
.lesson-step-label { font-size: 12px; font-weight: 700; color: var(--text-dim, #5b7286); margin-left: 4px; }

/* ================= inimi + planuri ================= */

.solo-chip-hearts { cursor: pointer; }
.solo-chip-hearts.pro b { color: var(--accent, #006194); }

.paywall-card { max-width: 460px; text-align: center; }
.hearts-row { font-size: 30px; font-weight: 800; color: var(--text, #10293a); margin: 6px 0 2px; }
.paywall-actions { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 8px; }
.paywall-timer { font-size: 13px; color: var(--text-dim, #5b7286); margin: 4px 0 0; }

.plans-card { max-width: 720px; }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
@media (max-width: 640px) { .plans-grid { grid-template-columns: 1fr; } }
.plan-card {
  border: 2px solid var(--line, #d8e2ea);
  border-radius: 14px;
  padding: 14px;
  background: var(--surface, #fff);
}
.plan-card.pro { border-color: var(--accent, #006194); border-bottom: 4px solid var(--accent, #006194); }
.plan-card.current { outline: 2px solid var(--accent-soft, rgba(10,162,255,.25)); }
.plan-name { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.plan-badge { margin-left: 4px; }
.plan-price { font-size: 26px; font-weight: 800; color: var(--text, #10293a); }
.plan-per { font-size: 13px; font-weight: 600; color: var(--text-dim, #5b7286); }
.plan-list { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.plan-list li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.plan-list li em { font-size: 12px; color: var(--text-dim, #5b7286); font-style: normal; margin-left: auto; text-align: right; max-width: 120px; white-space: normal; }
.plan-list li.not { opacity: 0.45; }
.plan-ic { font-weight: 800; }
.plan-list li.inc .plan-ic { color: var(--accent, #006194); }
.plan-current-note { font-size: 13px; font-weight: 700; color: var(--accent, #006194); margin: 6px 0 10px; }
.plan-soon { font-size: 12px; color: var(--text-dim, #5b7286); margin: 8px 0 0; text-align: center; }

/* ================= harta cu cercuri (drum vertical Duolingo) ================= */

.circles-map { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 0 88px; overflow-x: clip; }
.circles-resume {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 16px 20px; border-radius: 22px;
  background:
    radial-gradient(360px 140px at 0% 0%, rgba(45, 212, 191, .12), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1.5px solid rgba(45, 212, 191, .32);
  box-shadow: var(--clay);
}
.circles-resume-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.circles-resume-kicker {
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.circles-resume-copy strong { font-size: 17px; font-weight: 800; color: var(--text); line-height: 1.3; }
.circles-review {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  width: 100%; margin: 0 0 24px; padding: 14px 20px;
  border: 1.5px solid rgba(45, 212, 191, .35); border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-hi); font-weight: 800; font-size: 15px; cursor: pointer;
}
.circles-review svg { width: 20px; height: 20px; flex: 0 0 auto; }
.circles-empty { text-align: center; color: var(--muted); padding: 40px 12px; font-weight: 600; font-size: 15px; }

.circles-section-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 34px 0 22px; color: var(--muted);
  font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.circles-section-divider:first-child { margin-top: 4px; }
.circles-section-divider::before,
.circles-section-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

.circles-unit { margin: 0 0 46px; }
.circles-unit-head {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 22px 26px 24px;
  margin: 0 auto 54px;
  box-shadow: var(--clay);
}
.circles-unit-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
}
.circles-unit-eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent);
}
.circles-unit-stat {
  font-size: 12.5px; font-weight: 800; color: var(--muted);
  background: var(--surface-3); padding: 3px 11px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.circles-unit-head h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.circles-unit-head p { margin: 0 0 16px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.circles-unit-head .solo-bar {
  margin: 0; width: 100%; height: 10px; flex: none;
  background: var(--surface-3); border: none; border-radius: 999px; overflow: hidden;
}
.circles-unit-head .solo-bar-fill {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hi));
}

.circles-trail {
  position: relative;
  width: 100%; max-width: 460px; margin: 0 auto;
  padding: 6px 0 10px;
}
.trail-svg {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  pointer-events: none; z-index: 0; overflow: visible;
}
.trail-seg {
  fill: none; stroke: rgba(232, 224, 210, .14); stroke-width: 5;
  stroke-linecap: round; stroke-dasharray: 8 10;
}
.trail-seg.done {
  stroke: var(--accent); stroke-dasharray: none;
}

.circle-row {
  position: relative; z-index: 1;
  height: 196px;
  display: flex; justify-content: center; align-items: flex-start;
}
.circle-row:last-child { height: auto; min-height: 150px; }
.circle-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  width: 196px;
  transform: translateX(var(--dx, 0px));
}
.circle-start-pill {
  position: absolute; top: -36px; left: 50%; transform: translateX(-50%);
  background: var(--surface-2); color: var(--accent-hi);
  border: 1.5px solid var(--accent);
  font-size: 11.5px; font-weight: 900; letter-spacing: .09em;
  padding: 4px 13px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 18px -4px rgba(45, 212, 191, .35);
  animation: circle-bob 2.2s ease-in-out infinite;
  z-index: 3;
}
@keyframes circle-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.circle-node {
  position: relative; width: 96px; height: 96px;
  border-radius: 50%; border: 1.5px solid rgba(232, 224, 210, .14); cursor: pointer;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 7px 0 #070808, 0 18px 24px -14px rgba(0, 0, 0, .9);
  display: flex; align-items: center; justify-content: center;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.circle-node:hover { transform: translateY(-2px); filter: brightness(1.08); }
.circle-node:active { transform: translateY(4px); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .4), 0 2px 0 #070808; }
.circle-node .ring { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); pointer-events: none; }
.ring-bg { fill: none; stroke: transparent; stroke-width: 3.5; }
.ring-fill { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; transition: stroke-dashoffset .3s ease; }

.circle-ic { display: grid; place-items: center; color: var(--muted); z-index: 1; }
.circle-ic svg { width: 32px; height: 32px; display: block; }

.circle-node.done {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  border-color: rgba(255, 255, 255, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 7px 0 var(--accent-deep), 0 18px 26px -14px rgba(45, 212, 191, .45);
}
.circle-node.done:active { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .28), 0 2px 0 var(--accent-deep); }
.circle-node.done .circle-ic { color: var(--accent-ink); }
.circle-node.done .ring-fill { stroke: var(--accent-hi); }

.circle-node.current {
  background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 55%, #21B2A1 100%);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 7px 0 var(--accent-deep), 0 0 30px rgba(45, 212, 191, .35);
}
.circle-node.current .circle-ic { color: var(--accent-ink); }
.circle-node:not(.done):not(.ai) .circle-ic svg { transform: translateX(1.5px); }

.circle-node.progress {
  background: linear-gradient(180deg, rgba(45, 212, 191, .22), rgba(45, 212, 191, .1));
  border-color: rgba(45, 212, 191, .45);
  box-shadow: 0 7px 0 var(--accent-deep);
}
.circle-node.progress .circle-ic { color: var(--accent-hi); }

.circle-node.ai {
  background: linear-gradient(180deg, #211C15, #171410);
  border-color: rgba(245, 169, 98, .32);
  box-shadow: inset 0 1px 0 rgba(245, 169, 98, .12), 0 7px 0 #3D240B, 0 18px 24px -14px rgba(0, 0, 0, .9);
}
.circle-node.ai .circle-ic { color: var(--gold); }
.circle-node.ai .ring-fill { stroke: var(--gold); }
.circle-node.ai.ai-ready {
  background: linear-gradient(180deg, #F8BE84, var(--gold));
  border-color: rgba(255, 255, 255, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 7px 0 #924E0E, 0 0 0 8px rgba(245, 169, 98, .18);
}
.circle-node.ai.ai-ready .circle-ic { color: #1F1205; }

.circle-count {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  background: var(--surface-3); color: var(--text);
  border: 1px solid var(--line);
  font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px;
  white-space: nowrap; z-index: 2; font-variant-numeric: tabular-nums;
}
.circle-node.done .circle-count, .circle-node.current .circle-count {
  background: var(--accent-ink); color: var(--accent-hi); border-color: rgba(45, 212, 191, .35);
}
.circle-node.ai .circle-count { background: #2D1D0B; color: var(--gold); border-color: rgba(245, 169, 98, .35); }

.circle-label {
  position: relative; z-index: 2;
  margin-top: 16px; font-size: 14px; font-weight: 700;
  color: var(--text); text-align: center; line-height: 1.3;
  max-width: 190px; padding: 3px 10px; border-radius: 10px;
  background: var(--bg);
}
.circle-ai-badge {
  display: inline-block; margin-left: 5px; font-style: normal;
  font-size: 10.5px; font-weight: 800; color: var(--gold);
  background: rgba(245, 169, 98, .12);
  border: 1px solid rgba(245, 169, 98, .35); border-radius: 6px; padding: 0 5px;
}
.circle-sub {
  display: block; margin-top: 3px;
  font-size: 11.5px; font-weight: 600; color: var(--muted);
}

.track-ic svg { width: 16px; height: 16px; vertical-align: -2px; color: var(--accent); }

@media (max-width: 480px) {
  .circles-map { padding: 14px 14px 72px; }
  .circles-unit-head { padding: 16px 18px 18px; border-radius: 20px; }
  .circles-unit-head h2 { font-size: 20px; }
}

/* ---- track picker (onboarding) ---- */
.track-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 18px auto; }
@media (max-width: 640px) { .track-picker { grid-template-columns: 1fr; } }
.track-card {
  border: 2px solid var(--line, #d8e2ea); border-radius: 16px;
  padding: 18px; text-align: left; background: var(--surface, #fff);
  cursor: pointer; font: inherit; transition: border-color .12s ease;
}
.track-card:hover { border-color: var(--accent, #006194); }
.track-card.sel { border-color: var(--accent, #006194); box-shadow: 0 0 0 3px var(--accent-soft, rgba(0,97,148,.15)); }
.track-card h3 { margin: 0 0 6px; font-size: 17px; }
.track-card p { margin: 0 0 8px; font-size: 13px; color: var(--text-dim, #5b7286); line-height: 1.45; }
.track-card .track-meta { font-size: 12px; font-weight: 700; color: var(--accent, #006194); }

/* ================= profil v2 (redesign) ================= */

.profile-v2 { display: flex; flex-direction: column; gap: 14px; }
.pf-hero { display: flex; align-items: center; gap: 14px; }
.pf-avatar { font-size: 42px; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft, rgba(0,97,148,.1)); border-radius: 22px; }
.pf-id { display: flex; flex-direction: column; gap: 2px; }
.pf-name { font-size: 20px; }
.pf-track { font-size: 12px; color: var(--text-dim, #5b7286); }
.pf-plan { font-size: 11px; font-weight: 800; color: var(--muted);
  display: inline-flex; align-items: center; gap: 5px;
  align-self: flex-start; margin-top: 3px; padding: 3px 9px; border-radius: 999px;
  border: 1.5px solid var(--line); }
.pf-plan svg { width: 12px; height: 12px; }
.pf-plan.pro { color: var(--gold); border-color: rgba(245, 169, 98, .4); background: rgba(245, 169, 98, .12); }
.solo-row { display: flex; align-items: center; gap: 10px; }
.solo-row .solo-input { flex: 1; min-width: 0; }
.solo-row .solo-btn { flex: 0 0 auto; }
.pf-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(255, 255, 255, .05); border-radius: 22px;
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.pf-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pf-card-head b { font-size: 16px; font-weight: 800; color: var(--text); }
.pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pf-stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px 6px; text-align: center; }
.pf-stat b { display: block; font-size: 20px; }
.pf-stat span { font-size: 11px; color: var(--text-dim, #5b7286); }
.pf-bar { margin-top: -4px; }
.pf-hearts { display: flex; align-items: baseline; gap: 10px; font-weight: 700; }
.pf-hearts small { font-weight: 500; color: var(--text-dim, #5b7286); }
.pf-card { border: 2px solid var(--line, #d8e2ea); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pf-card-head { display: flex; align-items: center; justify-content: space-between; }
.pf-badge { font-size: 11px; font-weight: 800; color: var(--text-dim, #5b7286);
  border: 1.5px solid var(--line, #d8e2ea); border-radius: 999px; padding: 2px 10px; }
.pf-badge.pro { color: #7c3fc4; border-color: #9a6adc; }
.pf-note { font-size: 12px; color: var(--text-dim, #5b7286); margin: 0; }
.pf-note.small { font-size: 12px; }

/* ---- promo code ---- */
.promo-box { border-top: 1.5px dashed var(--line, #d8e2ea); padding-top: 10px; margin-top: 4px; }
.promo-label { font-size: 12px; font-weight: 700; color: var(--text-dim, #5b7286); display: block; margin-bottom: 6px; }
.promo-row { display: flex; gap: 8px; }
.promo-input {
  flex: 1; padding: 8px 12px; font: inherit;
  border: 2px solid var(--line, #d8e2ea); border-radius: 10px;
  background: var(--surface, #fff); color: var(--text, #10293a);
}
.promo-input:focus { outline: none; border-color: var(--accent, #006194); }
