/* ==========================================================================
   MTS COACHING · DAILY TRACKER — styles.css
   Temă dark premium: negru #0A0A0A · grafit #161616 · carduri #1E1E1E
   Accente cromate (#F2F2F2 → #8A8A8A) · roșu MTS #D90429 · verde #22C55E
   ========================================================================== */

:root {
  --bg: #0A0A0A;
  --bg2: #161616;
  --card: #1E1E1E;
  --card2: #252525;
  --line: rgba(255, 255, 255, .07);
  --line2: rgba(255, 255, 255, .12);
  --text: #F5F5F5;
  --muted: #8A8A8A;
  --chrome: linear-gradient(180deg, #F2F2F2 0%, #8A8A8A 100%);
  --chrome-h: linear-gradient(100deg, #8A8A8A 0%, #F2F2F2 45%, #BDBDBD 60%, #8A8A8A 100%);
  --red: #D90429;
  --red2: #FF1F45;
  --green: #22C55E;
  --amber: #F59E0B;
  --blue: #5AB4FF;
  --r: 18px;
  --r-s: 12px;
  --top: env(safe-area-inset-top, 0px);
  --bot: env(safe-area-inset-bottom, 0px);
  --nav-h: 64px;
  --head: 'Oswald', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.4; overscroll-behavior: none; }
body { -webkit-font-smoothing: antialiased; -webkit-user-select: none; user-select: none; overflow: hidden; }
input, textarea, select { -webkit-user-select: text; user-select: text; font: inherit; color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hidden { display: none !important; }

/* ---------- utilitare ---------- */
.row { display: flex; align-items: center; }
.gap { gap: 10px; } .gap-s { gap: 6px; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; } .right { text-align: right; }
.mt { margin-top: 16px; } .mt-s { margin-top: 8px; } .mt-xs { margin-top: 4px; } .mb { margin-bottom: 14px; } .mb-s { margin-bottom: 8px; }
.tiny { font-size: 12px; } .muted { color: var(--muted); }
.green { color: var(--green) !important; } .red { color: #EF4444 !important; } .amber { color: var(--amber) !important; }
.chrome-t { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--head); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.h-xl { font-family: var(--head); font-size: 30px; font-weight: 700; margin: 2px 0; letter-spacing: .02em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-n { font-family: var(--head); font-size: 40px; font-weight: 700; line-height: 1; }
.big-n2 { font-family: var(--head); font-size: 36px; font-weight: 700; } .big-n2 small { font-size: 14px; color: var(--muted); font-family: var(--body); }

/* ---------- iconițe ---------- */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 16px; height: 16px; } .ic.lg { width: 30px; height: 30px; } .ic.xl { width: 46px; height: 46px; stroke-width: 1.3; }
.ic.rot { transition: transform .3s var(--ease); }

/* ==========================================================================
   STRUCTURĂ: antet · conținut · navigare
   ========================================================================== */
#top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  padding: calc(var(--top) + 10px) 18px 10px; display: flex; align-items: flex-end; justify-content: space-between;
  background: linear-gradient(180deg, rgba(10, 10, 10, .98) 60%, rgba(10, 10, 10, .85));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
#tab-title { margin: 0; font-family: var(--head); font-size: 28px; letter-spacing: .06em; font-weight: 700; line-height: 1.05; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
#tab-date { font-size: 12px; color: var(--muted); text-transform: capitalize; margin-top: 1px; }
.sync-pill { display: flex; gap: 6px; align-items: center; height: 34px; padding: 0 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line2); font-size: 12px; font-weight: 600; }
.sync-pill.err { border-color: rgba(217, 4, 41, .6); color: #ff8a9c; }
.sync-pill.busy span:first-child { animation: pulse 1s infinite; }
.sync-pill.wait { color: #f3c879; }

.view {
  position: fixed; left: 0; right: 0; top: 0; bottom: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  padding: calc(var(--top) + 74px) 0 calc(var(--bot) + var(--nav-h) + 24px);
}
body.has-rest .view { padding-bottom: calc(var(--bot) + var(--nav-h) + 110px); }
.view.slide-l { animation: slideL .35s var(--ease); } .view.slide-r { animation: slideR .35s var(--ease); }
@keyframes slideL { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes slideR { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.page { padding: 4px 14px; max-width: 640px; margin: 0 auto; }

#nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-around;
  padding: 6px 4px calc(var(--bot) + 6px); height: calc(var(--nav-h) + var(--bot));
  background: rgba(14, 14, 14, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid var(--line);
}
.nav-b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #6b6b6b; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; min-height: 52px; transition: color .25s; position: relative; }
.nav-b .ic { width: 25px; height: 25px; transition: transform .25s var(--ease), filter .25s; }
.nav-b.on { color: #F2F2F2; }
.nav-b.on .ic { transform: translateY(-1px) scale(1.06); filter: drop-shadow(0 0 6px rgba(242, 242, 242, .55)) drop-shadow(0 0 14px rgba(200, 200, 200, .25)); }
.nav-b.on::before { content: ''; position: absolute; top: -6px; width: 26px; height: 2px; border-radius: 2px; background: var(--chrome-h); box-shadow: 0 0 10px rgba(255, 255, 255, .6); }
.nav-b:active .ic { transform: scale(.9); }

#ptr { position: fixed; top: calc(var(--top) + 64px); left: 50%; transform: translate(-50%, 0); z-index: 19; width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 1px solid var(--line2); display: grid; place-items: center; opacity: 0; font-size: 18px; transition: opacity .2s; pointer-events: none; }
#ptr.spin { opacity: 1 !important; animation: spin .8s linear infinite; transform: translate(-50%, 60px) !important; }
@keyframes spin { to { rotate: 360deg; } }

/* ==========================================================================
   CARDURI · BUTOANE · FORMULARE
   ========================================================================== */
.card {
  background: linear-gradient(180deg, #212121, var(--card)); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; margin-bottom: 12px; position: relative; box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform .2s var(--ease), border-color .3s;
}
.card.complete { border-color: rgba(34, 197, 94, .28); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; width: 100%; text-align: left; }
.card h2, .card-h h2 { margin: 0; font-family: var(--head); font-size: 18px; letter-spacing: .05em; font-weight: 600; display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.card-h h2 .ic { color: #cfcfcf; }
[data-go], .wk-card { cursor: pointer; }
[data-go]:active, .wk-card:active, .report-btn:active { transform: scale(.985) translateY(1px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; transition: transform .15s var(--ease), background .2s, opacity .2s; position: relative; overflow: hidden;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; }
.btn.block { display: flex; width: 100%; }
.btn.big { min-height: 58px; font-size: 16.5px; border-radius: 16px; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 11px; }
.btn.primary { background: linear-gradient(180deg, #F7F7F7, #A9A9A9); color: #0A0A0A; box-shadow: 0 6px 20px rgba(255, 255, 255, .08), 0 1px 0 #fff inset; }
.btn.primary .ic { stroke: #0A0A0A; }
.btn.danger { background: linear-gradient(180deg, #ef1f43, #a80320); color: #fff; box-shadow: 0 6px 22px rgba(217, 4, 41, .3); }
.btn.ghost { background: var(--card2); border: 1px solid var(--line2); }
.btn.link { min-height: 40px; background: none; color: var(--muted); font-weight: 600; font-size: 13.5px; }
.btn.chip { min-height: 36px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 600; background: #2a2a2a; border: 1px solid var(--line2); gap: 5px; text-decoration: none; }
.btn.chip.ok { color: var(--green); border-color: rgba(34, 197, 94, .35); }
.btn.primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-120%); }
.btn.primary:active::after { transition: transform .5s; transform: translateX(120%); }
.link { color: #bdbdbd; font-weight: 600; text-decoration: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #262626; border: 1px solid var(--line2); }
.icon-btn.sm { width: 34px; height: 34px; border-radius: 10px; }
.toggle { min-height: 46px; padding: 0 14px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line2); color: var(--muted); font-weight: 600; font-size: 14px; }
.toggle.on { color: var(--text); border-color: rgba(34, 197, 94, .45); background: rgba(34, 197, 94, .1); }
.toggle.block { width: 100%; }

.inp { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; background: #141414; border: 1px solid var(--line2); outline: none; font-size: 16px; }
.inp:focus { border-color: #9a9a9a; }
.inp.big { font-size: 26px; font-family: var(--head); text-align: center; min-height: 60px; }
.inp.sm { min-height: 38px; font-size: 14px; padding: 0 10px; }
select.inp { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.fld { display: block; margin-bottom: 12px; }
.fld > span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.fld.xs > span { font-size: 10px; margin-bottom: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; } .kv span { color: var(--muted); }
.banner { padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.banner.amber { background: rgba(245, 158, 11, .12); color: #fbbf5b; border: 1px solid rgba(245, 158, 11, .3); }
.tag { font-size: 10px; padding: 2px 7px; border-radius: 6px; background: rgba(90, 180, 255, .15); color: #8ccaff; vertical-align: middle; letter-spacing: .05em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* segmented */
.seg { display: flex; background: #141414; border: 1px solid var(--line2); border-radius: 13px; padding: 3px; gap: 2px; }
.seg-b { flex: 1; min-height: 38px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--muted); padding: 0 8px; white-space: nowrap; transition: background .2s, color .2s; }
.seg-b.on { background: linear-gradient(180deg, #3a3a3a, #2a2a2a); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 2px 8px rgba(0, 0, 0, .4); }
.subtabs { position: sticky; top: -1px; z-index: 5; padding: 6px 0 10px; background: linear-gradient(180deg, var(--bg) 75%, transparent); margin: 0 -2px; }
.scroll-x { overflow-x: auto; scrollbar-width: none; } .scroll-x::-webkit-scrollbar { display: none; }
.scroll-x .seg { width: max-content; min-width: 100%; }
.stars { display: flex; gap: 4px; }
.star { font-size: 30px; color: #3a3a3a; min-width: 44px; min-height: 44px; transition: transform .15s, color .15s; }
.star.on { color: #E5E5E5; text-shadow: 0 0 12px rgba(255, 255, 255, .4); }
.star:active { transform: scale(1.25); }

/* ==========================================================================
   INELE DE PROGRES
   ========================================================================== */
.ring { position: relative; width: var(--sz); display: flex; flex-direction: column; align-items: center; }
.ring svg { transform: rotate(-90deg); display: block; overflow: visible; }
.ring-bg { fill: none; stroke: #2a2a2a; }
.ring-zone { fill: none; stroke: rgba(34, 197, 94, .25); }
.ring-fg { fill: none; stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); filter: drop-shadow(0 0 4px rgba(255, 255, 255, .15)); }
.ring.over .ring-fg { stroke: var(--amber) !important; }
.ring-in { position: absolute; top: 0; left: 0; width: var(--sz); height: var(--sz); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 18px; }
.ring-in b { font-weight: 700; } .ring-in small { font-size: 11px; color: var(--muted); margin-left: 1px; align-self: flex-end; margin-bottom: calc(var(--sz) / 2 - 16px); }
.ring-lg .ring-in small { margin-bottom: 44px; font-size: 16px; }
.ring-label { font-size: 11px; color: var(--muted); margin-top: 6px; text-align: center; font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   BIFA ANIMATĂ
   ========================================================================== */
.chk { width: 48px; height: 48px; flex: none; display: grid; place-items: center; }
.chk svg { width: 32px; height: 32px; overflow: visible; }
.chk-c { fill: transparent; stroke: #4a4a4a; stroke-width: 2; transition: fill .3s var(--ease), stroke .3s; }
.chk-p { fill: none; stroke: #0A0A0A; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .35s .12s var(--ease); }
.chk.on .chk-c { fill: var(--green); stroke: var(--green); }
.chk.on .chk-p { stroke-dashoffset: 0; }
.chk.pop svg { animation: chkPop .45s var(--ease); }
.chk.on.pop .chk-c { animation: chkFill .45s var(--ease); }
@keyframes chkPop { 0% { transform: scale(.7); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes chkFill { from { fill: transparent; } }
.chk:active svg { transform: scale(.88); }
.chk-ph { width: 48px; display: grid; place-items: center; color: var(--muted); flex: none; }

/* ==========================================================================
   AZI
   ========================================================================== */
.day-head { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 12px; }
.chip-day { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 21px; background: var(--card); border: 1px solid var(--line2); font-family: var(--head); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.chip-day.train { border-color: rgba(217, 4, 41, .45); box-shadow: 0 0 18px rgba(217, 4, 41, .15); }
.chip-day.rest { border-color: rgba(90, 180, 255, .35); }
.streak { font-family: var(--head); font-size: 20px; font-weight: 700; padding: 4px 12px; border-radius: 16px; background: linear-gradient(180deg, rgba(217, 4, 41, .25), rgba(217, 4, 41, .08)); border: 1px solid rgba(217, 4, 41, .4); }

.wake-btn {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 22px 20px; margin-bottom: 12px; border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 200, 80, .22), transparent 60%), linear-gradient(180deg, #262626, #1a1a1a);
  border: 1px solid rgba(255, 210, 120, .3); box-shadow: 0 12px 40px rgba(255, 180, 60, .08); animation: wakeGlow 2.6s ease-in-out infinite;
}
.wake-btn b { display: block; font-family: var(--head); font-size: 28px; letter-spacing: .05em; text-transform: uppercase; }
.wake-btn small { color: var(--muted); font-size: 13px; }
.wake-sun { font-size: 46px; animation: sunRot 12s linear infinite; }
.wake-btn:active { transform: scale(.98); }
@keyframes wakeGlow { 50% { box-shadow: 0 12px 50px rgba(255, 180, 60, .2); } }
@keyframes sunRot { to { transform: rotate(360deg); } }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(180deg, #3a3a3a, #222); }
.tl { display: flex; gap: 12px; padding: 7px 0; position: relative; cursor: pointer; }
.tl-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #1a1a1a; border: 2px solid #3a3a3a; color: var(--muted); font-weight: 800; z-index: 1; transition: all .3s; }
.tl.done .tl-dot { background: var(--green); border-color: var(--green); color: #0A0A0A; }
.tl.next .tl-dot { border-color: #F2F2F2; color: #fff; box-shadow: 0 0 0 5px rgba(242, 242, 242, .08), 0 0 16px rgba(242, 242, 242, .35); animation: pulseDot 1.8s infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 9px rgba(242, 242, 242, 0), 0 0 22px rgba(242, 242, 242, .5); } }
.tl-b { flex: 1; min-width: 0; padding-top: 2px; }
.tl-t { display: flex; justify-content: space-between; gap: 8px; }
.tl-t b { font-size: 15px; } .tl.done .tl-t b { color: #bdbdbd; }
.tl-w { font-family: var(--head); font-size: 15px; letter-spacing: .03em; white-space: nowrap; color: #d4d4d4; }
.tl.done .tl-w { color: var(--green); }
.tl-s { font-size: 12px; color: var(--muted); }
.cd { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 8px; background: #2a2a2a; }
.cd.live { background: rgba(34, 197, 94, .15); color: #4ade80; }
.cd.late { background: rgba(217, 4, 41, .15); color: #ff6b81; }

.score-main { display: flex; align-items: center; gap: 18px; }
.score-txt { flex: 1; }
.score-parts { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 6px; }
.sp { font-size: 11px; padding: 3px 8px; border-radius: 7px; background: #2a2a2a; color: #777; text-transform: capitalize; font-weight: 600; }
.sp.ok { background: rgba(34, 197, 94, .15); color: #4ade80; }
.sp.half { background: rgba(245, 158, 11, .14); color: #fbbf5b; }
.rings4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 18px; justify-items: center; }
.rings2 { display: flex; justify-content: space-around; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.water-mini { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wq { display: flex; gap: 5px; } .wq .btn.chip { min-height: 32px; padding: 0 8px; font-size: 12px; }

.wk-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: radial-gradient(120% 120% at 100% 0%, rgba(217, 4, 41, .18), transparent 60%), linear-gradient(180deg, #232323, #1b1b1b); }
.wk-l { display: flex; align-items: center; gap: 14px; } .wk-l b { font-family: var(--head); font-size: 20px; letter-spacing: .03em; }
.info-row { display: flex; gap: 18px; margin: 8px 0; font-size: 14px; } .info-row span { display: flex; gap: 6px; align-items: center; }

.cycle-list { display: grid; gap: 6px; }
.cyc { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; border-radius: 12px; background: var(--card2); border: 1px solid var(--line); text-align: left; font-weight: 600; }
.cyc.rest { color: var(--muted); }
.cyc.on { border-color: #F2F2F2; box-shadow: 0 0 14px rgba(255, 255, 255, .12); }
.cyc-n { width: 26px; height: 26px; border-radius: 50%; background: #333; display: grid; place-items: center; font-size: 12px; }

/* ==========================================================================
   ANTRENAMENT
   ========================================================================== */
.day-scroll { display: flex; gap: 8px; overflow-x: auto; margin: 0 -14px 12px; padding: 2px 14px 6px; scrollbar-width: none; }
.day-scroll::-webkit-scrollbar { display: none; }
.day-pill { flex: none; min-width: 74px; min-height: 64px; border-radius: 14px; background: var(--card); border: 1px solid var(--line2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative; }
.day-pill b { font-family: var(--head); font-size: 22px; } .day-pill span { font-size: 11px; color: var(--muted); font-weight: 600; }
.day-pill.on { background: linear-gradient(180deg, #F2F2F2, #9a9a9a); color: #0A0A0A; border-color: transparent; }
.day-pill.on span { color: #222; }
.day-pill.sugg::after { content: ''; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.rest-card { padding: 30px 20px; } .rest-ic { color: #8ccaff; margin-bottom: 8px; display: flex; justify-content: center; }
.ex-preview { list-style: none; padding: 0; margin: 10px 0 0; }
.ex-preview li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ex-preview li b { font-size: 14.5px; }
.exp-n { width: 26px; height: 26px; border-radius: 8px; background: #2a2a2a; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.scheme { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; align-items: center; }
.sc { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; font-style: normal; letter-spacing: .03em; background: #2c2c2c; color: #ccc; }
.sc-H { background: rgba(217, 4, 41, .18); color: #ff7088; }
.sc-L { background: rgba(90, 180, 255, .14); color: #8ccaff; }
.sc-RP { background: rgba(245, 158, 11, .16); color: #fbbf5b; }
.sc-MAX { background: rgba(168, 85, 247, .16); color: #c99bff; }
.ind-toggle { margin: 0; }
.ind-card .ind-list { display: none; margin: 4px 0 0; padding-left: 18px; color: #cfcfcf; font-size: 14px; }
.ind-card .ind-list li { margin: 6px 0; }
.ind-card.open .ind-list { display: block; animation: fadeUp .3s var(--ease); }
.ind-card.open .ic.rot { transform: rotate(180deg); }
.leg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; font-size: 12.5px; color: #bdbdbd; }
.leg span { display: flex; gap: 6px; align-items: center; }

.wk-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.wk-stats { display: flex; gap: 14px; }
.wk-stats div { text-align: center; } .wk-stats b { display: block; font-family: var(--head); font-size: 22px; } .wk-stats small { font-size: 10.5px; color: var(--muted); font-weight: 600; }

.ex-card { padding: 0; overflow: hidden; }
.ex-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; text-align: left; min-height: 64px; }
.ex-num { width: 34px; height: 34px; border-radius: 10px; background: #2a2a2a; display: grid; place-items: center; font-family: var(--head); font-weight: 700; flex: none; }
.ex-card.complete .ex-num { background: var(--green); color: #0A0A0A; }
.ex-card.open .ex-num { background: var(--chrome); color: #0A0A0A; }
.ex-name { font-size: 15.5px; display: block; line-height: 1.25; }
.ex-note { font-size: 12px; color: #fbbf5b; margin-top: 2px; }
.ex-prog { font-family: var(--head); font-size: 15px; color: var(--muted); }
.ex-body { display: none; padding: 0 12px 14px; }
.ex-card.open .ex-body { display: block; animation: fadeUp .3s var(--ease); }
.ex-tools { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

.set-row { display: grid; grid-template-columns: 48px 1fr 68px 68px 48px; gap: 6px; align-items: center; padding: 6px 4px; border-radius: 14px; transition: background .3s; }
.set-row + .set-row, .set-sug + .set-row, .set-cmp + .set-row { margin-top: 2px; }
.set-row.done { background: rgba(34, 197, 94, .06); }
.set-row.pr { background: linear-gradient(90deg, rgba(217, 4, 41, .14), rgba(217, 4, 41, .03)); }
.set-row.warm { opacity: .75; }
.set-type { font-family: var(--head); font-size: 15px; font-weight: 700; text-align: center; line-height: 1; padding: 6px 0; border-radius: 10px; background: #2a2a2a; }
.set-type small { display: block; font-family: var(--body); font-size: 9.5px; font-weight: 600; color: var(--muted); margin-top: 3px; }
.st-H { background: rgba(217, 4, 41, .2); color: #ff7088; } .st-L { background: rgba(90, 180, 255, .16); color: #8ccaff; }
.st-RP { background: rgba(245, 158, 11, .18); color: #fbbf5b; } .st-MAX { background: rgba(168, 85, 247, .18); color: #c99bff; }
.st-W { background: #222; color: #888; font-size: 11px; }
.prev { font-size: 13px; color: #bdbdbd; font-weight: 600; line-height: 1.15; min-width: 0; }
.prev small { display: block; font-size: 9.5px; color: #666; letter-spacing: .08em; font-weight: 700; }
.val {
  min-height: 52px; border-radius: 12px; background: #141414; border: 1px solid var(--line2); font-family: var(--head); font-size: 22px; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; transition: border-color .2s, transform .12s;
}
.val small { font-family: var(--body); font-size: 9.5px; color: var(--muted); font-weight: 600; margin-top: 3px; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.val.empty { color: #555; }
.val:active { transform: scale(.95); border-color: #aaa; }
.val.ghost { border: 0; background: none; }
.val.wide { flex: 1; } .val.sm { min-height: 44px; min-width: 62px; font-size: 18px; flex: none; }
.val.huge { width: 100%; min-height: 110px; font-size: 64px; }
.val.huge small { font-size: 14px; }
.set-row.done .val { border-color: rgba(34, 197, 94, .25); }
.set-sug { font-size: 12px; font-weight: 600; padding: 4px 10px 6px 58px; }
.set-sug.up { color: #4ade80; } .set-sug.down { color: #fbbf5b; }
.set-cmp { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 2px 6px 6px 58px; animation: fadeUp .35s var(--ease); }
.cmp { font-size: 12.5px; font-weight: 800; padding: 2px 8px; border-radius: 7px; white-space: nowrap; }
.cmp.up { color: #4ade80; background: rgba(34, 197, 94, .12); }
.cmp.down { color: #ff6b81; background: rgba(217, 4, 41, .14); }
.cmp.eq { color: #999; background: #2a2a2a; }
.cmp.neutral.up { color: #e5e5e5; background: #2a2a2a; } .cmp.neutral.down { color: #e5e5e5; background: #2a2a2a; }
.cmp-vol { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.pr-chip { font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 7px; background: linear-gradient(90deg, #D90429, #ff2d55); color: #fff; box-shadow: 0 0 12px rgba(217, 4, 41, .5); }
.ex-vol { font-size: 12.5px; color: var(--muted); padding: 10px 6px 0; border-top: 1px solid var(--line); margin-top: 8px; }

.rp-kg { display: flex; gap: 12px; align-items: center; margin: 10px 0; }
.rp-kg .val { flex: 0 0 110px; }
.rp-minis { min-height: 64px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px; border-radius: 14px; background: #141414; margin-bottom: 12px; font-family: var(--head); font-size: 24px; }
.rp-minis i { color: var(--muted); font-style: normal; }
.mini { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 10px; background: #2a2a2a; }
.mini button { font-size: 16px; color: #888; width: 22px; }
.mini-tot { margin-left: auto; color: #fff; }
.rp-breath { text-align: center; padding: 10px 0 18px; }
.breath-c { width: 130px; height: 130px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 22px; letter-spacing: .06em; text-transform: uppercase;
  background: radial-gradient(circle, rgba(242, 242, 242, .2), rgba(242, 242, 242, .03)); border: 2px solid rgba(242, 242, 242, .5); transition: transform 2.6s ease-in-out, box-shadow 2.6s; transform: scale(.7); }
.breath-c.in { transform: scale(1.1); box-shadow: 0 0 50px rgba(255, 255, 255, .25); }
.breath-c.out { transform: scale(.7); }
.rp-actions { display: grid; gap: 8px; }

/* cardio */
.cardio-card .card-h { margin-bottom: 4px; }

/* cronometru pauză */
.rest {
  position: fixed; left: 10px; right: 10px; bottom: calc(var(--bot) + var(--nav-h) + 8px); z-index: 25; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 12px; border-radius: 20px; background: rgba(30, 30, 30, .96); border: 1px solid var(--line2);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 14px 40px rgba(0, 0, 0, .6);
  transform: translateY(150%); transition: transform .4s var(--ease); max-width: 620px; margin: 0 auto;
}
.rest.show { transform: none; }
.rest.ding { animation: ding .5s 4; border-color: var(--green); }
@keyframes ding { 50% { box-shadow: 0 0 40px rgba(34, 197, 94, .6); } }
.rest-ring { position: relative; width: 62px; height: 62px; flex: none; }
.rest-ring svg { width: 62px; height: 62px; transform: rotate(-90deg); }
.rr-bg { fill: none; stroke: #333; stroke-width: 5; }
.rr-fg { fill: none; stroke: #F2F2F2; stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset 1s linear; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .5)); }
.rest-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--head); font-size: 17px; font-weight: 700; }
.rest-mid { flex: 1; min-width: 0; }
.rest-l { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.rest-btns { display: flex; gap: 4px; }
.rest-btns button { flex: 1; min-height: 36px; border-radius: 9px; background: #2c2c2c; font-size: 12px; font-weight: 700; }
.rest-btns button:active { background: #444; }
.rest-x { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); }

/* rezumat */
.summary .sheet { background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, .08), transparent 60%), radial-gradient(100% 50% at 50% 100%, rgba(217, 4, 41, .2), transparent 70%), #0A0A0A; }
.sum-in { padding: calc(var(--top) + 40px) 22px calc(var(--bot) + 30px); max-width: 520px; margin: 0 auto; }
.sum-crown { display: flex; justify-content: center; color: #E5E5E5; animation: fadeUp .6s var(--ease); filter: drop-shadow(0 0 16px rgba(255, 255, 255, .4)); }
.sum-title { font-family: var(--head); font-size: 42px; text-align: center; margin: 6px 0 2px; letter-spacing: .03em; }
.sum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 12px; }
.sum-grid div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 10px; text-align: center; animation: fadeUp .5s var(--ease) both; }
.sum-grid div:nth-child(2) { animation-delay: .1s; } .sum-grid div:nth-child(3) { animation-delay: .2s; } .sum-grid div:nth-child(4) { animation-delay: .3s; }
.sum-grid b { display: block; font-family: var(--head); font-size: 40px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sum-grid small { color: var(--muted); font-weight: 600; font-size: 12px; }
.sum-cmp, .sum-cardio { text-align: center; font-size: 14px; margin: 8px 0; }
.sum-prs { background: linear-gradient(180deg, rgba(217, 4, 41, .16), rgba(217, 4, 41, .04)); border: 1px solid rgba(217, 4, 41, .35); border-radius: 16px; padding: 14px; margin: 12px 0; }
.sum-pr { display: flex; flex-direction: column; margin-top: 8px; font-size: 14px; } .sum-pr span { color: #ffa3b1; font-size: 12.5px; }
.sum-ex { margin-top: 12px; } .sum-ex div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }

/* ==========================================================================
   NUTRIȚIE
   ========================================================================== */
.totals { padding-bottom: 10px; }
.tot-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; }
.tot-kcal b { font-family: var(--head); font-size: 40px; line-height: 1; } .tot-kcal span { color: var(--muted); margin-left: 6px; font-weight: 600; }
.tot-left { font-size: 13px; color: var(--muted); } .tot-left b { color: #fff; font-family: var(--head); font-size: 18px; }
.mbar { margin-bottom: 8px; }
.mbar-l { display: flex; justify-content: space-between; font-size: 12.5px; color: #bdbdbd; margin-bottom: 4px; font-weight: 600; }
.mbar-l small { color: var(--muted); font-weight: 500; }
.bar { height: 8px; border-radius: 6px; background: #2a2a2a; overflow: hidden; }
.bar-f { height: 100%; width: 0; border-radius: 6px; transition: width 1s var(--ease); background: var(--chrome-h); }
.bar-f.over { background: var(--amber) !important; }

.meal-h { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 6px; }
.meal-h h2 { font-size: 20px; }
.all-btn { min-height: 44px; padding: 0 14px; border-radius: 12px; background: #2a2a2a; border: 1px solid var(--line2); font-size: 13px; font-weight: 700; white-space: nowrap; }
.all-btn.on { background: rgba(34, 197, 94, .16); color: #4ade80; border-color: rgba(34, 197, 94, .4); }
.all-btn.sm { min-height: 38px; }
.foods, .supps { list-style: none; margin: 0; padding: 0; }
.food, .supp { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line); min-height: 58px; }
.food:last-child, .supp:last-child { border-bottom: 0; }
.food-n { font-weight: 600; font-size: 14.5px; }
.food.excl { opacity: .38; } .food.excl .food-n { text-decoration: line-through; }
.food.on .food-n, .supp.on b { color: #d9f7e3; }
.alt-sel { margin-top: 4px; max-width: 100%; font-size: 12px; padding: 4px 8px; border-radius: 8px; background: #141414; border: 1px solid var(--line2); color: #bdbdbd; }
.meal-f { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { width: 64px; height: 64px; border-radius: 12px; background: #2a2a2a center/cover no-repeat; flex: none; border: 1px solid var(--line2); opacity: 0; transition: opacity .4s; cursor: pointer; }
.thumb.loaded { opacity: 1; } .thumb.sm { width: 46px; height: 46px; border-radius: 10px; }
.search-list { list-style: none; padding: 0; margin: 10px 0; max-height: 46vh; overflow-y: auto; }
.search-list li { padding: 12px 6px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.search-list li:active { background: #262626; }
.scan-box { width: 100%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: #000; position: relative; }
.scan-box video { width: 100%; height: 100%; object-fit: cover; }
.supp-sum { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 10px; } .supp-sum b { color: #fff; font-family: var(--head); font-size: 24px; }
.supp-t { font-family: var(--head); font-size: 15px; color: #4ade80; padding: 3px 8px; border-radius: 8px; background: rgba(34, 197, 94, .12); }

.water-card { text-align: center; }
.bottle-wrap { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 10px 0 18px; }
.bottle { width: 120px; height: 260px; filter: drop-shadow(0 10px 30px rgba(90, 180, 255, .18)); }
.water-fill { transition: transform 1.2s var(--ease); }
.wave { animation: wave 2.4s linear infinite; }
@keyframes wave { to { transform: translateX(60px); } }
.bottle-txt { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.bottle-txt b { font-family: var(--head); font-size: 56px; line-height: 1; } .bottle-txt span { color: var(--muted); font-weight: 700; }
.bottle-txt small { font-size: 12.5px; margin-top: 4px; font-weight: 600; }
.water-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.water-b { min-height: 58px; padding: 0 4px; border-radius: 14px; background: linear-gradient(180deg, rgba(90, 180, 255, .2), rgba(90, 180, 255, .07)); border: 1px solid rgba(90, 180, 255, .35); color: #cfe8ff; font-size: 14px; }
.w-log { display: flex; flex-wrap: wrap; gap: 6px; } .w-log span { font-size: 12px; padding: 4px 9px; background: #262626; border-radius: 8px; color: #bdbdbd; }
.coffee-top { display: flex; align-items: center; gap: 16px; }
.cup { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(180deg, #3b2a1f, #1e1611); color: #e7c9a9; }
.coffee-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.coffee-b { flex-direction: column; min-height: 66px; background: #262626; border: 1px solid var(--line2); gap: 2px; }
.coffee-b small { font-size: 11px; color: var(--muted); font-weight: 600; }

/* ==========================================================================
   CÂNTAR · EVOLUȚIE · SOMN
   ========================================================================== */
.w-main { display: flex; align-items: center; gap: 16px; }
.w-kg b { font-family: var(--head); font-size: 54px; line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-kg span { color: var(--muted); font-weight: 700; margin-left: 4px; }
.w-side { flex: 1; font-size: 13px; display: flex; flex-direction: column; gap: 4px; } .w-side b { font-family: var(--head); font-size: 16px; }
.w-week { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.w-week div { background: #171717; border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px; display: flex; flex-direction: column; }
.w-week small { font-size: 10.5px; color: var(--muted); font-weight: 600; } .w-week b { font-family: var(--head); font-size: 18px; margin: 2px 0; }
.pace { margin-top: 10px; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 10px; text-align: center; }
.pace.green { background: rgba(34, 197, 94, .12); } .pace.amber { background: rgba(245, 158, 11, .12); } .pace.red { background: rgba(217, 4, 41, .14); } .pace.muted { background: #222; }
.prev-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; }

.angles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.angle { aspect-ratio: 3/4; border-radius: 14px; background: #171717; border: 1px dashed #3a3a3a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--muted); position: relative; overflow: hidden; padding: 4px; text-align: center; line-height: 1.1; }
.angle.on { border: 1px solid rgba(34, 197, 94, .5); color: #fff; }
.angle .ang-th { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; border: 0; }
.angle.on span { position: relative; z-index: 1; margin-top: auto; text-shadow: 0 1px 4px #000; }
.ang-ok { position: absolute; top: 5px; right: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #000; font-size: 11px; font-style: normal; display: grid; place-items: center; z-index: 1; }

.cam .sheet { background: #000; }
.cam-stage { position: absolute; inset: 0; overflow: hidden; }
.cam-stage video, .cam-stage .ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-stage.mirror video, .cam-stage.mirror .ghost { transform: scaleX(-1); }
.cam-stage .ghost { opacity: 0; pointer-events: none; transition: opacity .2s; }
.cam-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 33.33% 33.33%; }
.cam-count { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--head); font-size: 160px; font-weight: 700; color: #fff; text-shadow: 0 0 40px rgba(0, 0, 0, .7); pointer-events: none; }
.cam-count.pulse { animation: camPulse 1s var(--ease); }
@keyframes camPulse { from { transform: scale(1.5); opacity: 0; } 30% { opacity: 1; } to { transform: scale(.9); opacity: .2; } }
.cam-top { position: absolute; top: 0; left: 0; right: 0; padding: calc(var(--top) + 10px) 14px 10px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent); z-index: 2; }
.cam-top .icon-btn { background: rgba(0, 0, 0, .5); }
.cam-title { font-family: var(--head); font-size: 18px; letter-spacing: .1em; }
.cam-bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(var(--bot) + 14px); background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 2; }
.cam-opts { width: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.cam-opts .seg { width: 100%; max-width: 360px; background: rgba(0, 0, 0, .5); }
.ghost-op { display: flex; gap: 10px; align-items: center; font-size: 12px; color: #ccc; font-weight: 600; } .ghost-op input { width: 160px; }
.shutter { width: 78px; height: 78px; border-radius: 50%; border: 4px solid #fff; background: radial-gradient(circle, #fff 58%, transparent 60%); box-shadow: 0 0 24px rgba(255, 255, 255, .3); transition: transform .1s; }
.shutter:active { transform: scale(.9); }
.cam-review { position: absolute; inset: 0; z-index: 5; background: #000; display: flex; flex-direction: column; padding: calc(var(--top) + 14px) 14px calc(var(--bot) + 14px); gap: 12px; }
.cam-review img { flex: 1; min-height: 0; object-fit: contain; width: 100%; border-radius: 14px; }

.compare .sheet { background: #0A0A0A; overflow-y: auto; }
.cmp-top { display: flex; justify-content: space-between; align-items: center; padding: calc(var(--top) + 10px) 14px 8px; font-family: var(--head); letter-spacing: .12em; }
.cmp-top span { width: 44px; }
.cmp-ctrl { padding: 0 14px; display: grid; gap: 8px; }
.cmp-ctrl .seg-b { font-size: 11.5px; padding: 0 4px; }
.cmp-body { padding: 14px 14px calc(var(--bot) + 20px); }
.ba { position: relative; width: 100%; aspect-ratio: 3/4; margin-top: 12px; border-radius: 16px; overflow: hidden; background: #111; touch-action: none; }
.ba img { position: absolute; top: 0; left: 0; height: 100%; object-fit: cover; }
.ba-b { width: 100%; }
.ba-a { position: absolute; inset: 0; width: 50%; overflow: hidden; border-right: 2px solid #fff; }
.ba-a img { width: calc(100vw - 28px); max-width: none; }
.ba-h { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; }
.ba-h span { position: absolute; top: 50%; left: -22px; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-weight: 800; box-shadow: 0 4px 20px rgba(0, 0, 0, .5); }
.ba-la, .ba-lb { position: absolute; top: 10px; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: rgba(0, 0, 0, .6); }
.ba-la { left: 10px; } .ba-lb { right: 10px; }
.week-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wg { text-align: center; } .wg small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; } .wg b { font-family: var(--head); font-size: 14px; }
.wg-img { aspect-ratio: 3/4; border-radius: 12px; background: #1a1a1a center/cover; display: grid; place-items: center; color: #444; }
.vs-row { margin-bottom: 18px; }
.vs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.vs-pair img, .rs-photos img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
figure { margin: 0; } figcaption { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 4px; }
.tl-canvas { width: 100%; border-radius: 16px; background: #000; }

.sl-main { display: flex; gap: 18px; align-items: center; }
.sl-h b { display: block; font-family: var(--head); font-size: 32px; } .sl-h small { color: var(--muted); font-size: 13px; }
.sl-h.red b { color: #ff6b81; }
.sl-q { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.stars-ro { font-size: 20px; color: #E5E5E5; letter-spacing: 2px; } .stars-ro i { color: #3a3a3a; font-style: normal; }
.sl-week { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.sl-calc { font-family: var(--head); font-size: 20px; margin: -2px 0 12px; }

/* ==========================================================================
   PROGRES
   ========================================================================== */
.report-btn { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; border-radius: var(--r); margin-bottom: 10px;
  background: radial-gradient(140% 160% at 0% 0%, rgba(217, 4, 41, .3), transparent 55%), linear-gradient(180deg, #252525, #1a1a1a); border: 1px solid rgba(217, 4, 41, .35); transition: transform .15s; }
.report-btn > span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.report-btn div { flex: 1; } .report-btn b { display: block; font-family: var(--head); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; } .report-btn small { color: var(--muted); }
.chart-box { position: relative; height: 230px; } .chart-box.sm { height: 180px; }
.legend-row { display: flex; gap: 14px; justify-content: center; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { font-size: 10.5px; color: var(--muted); text-align: left; font-weight: 700; padding: 6px 4px; text-transform: uppercase; letter-spacing: .06em; }
.tbl td { padding: 8px 4px; border-top: 1px solid var(--line); white-space: nowrap; }
.pace-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: #555; }
.pace-dot.green { background: var(--green); } .pace-dot.amber { background: var(--amber); } .pace-dot.red { background: var(--red); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.stat-row b { display: block; font-family: var(--head); font-size: 22px; } .stat-row small { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.hist { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hist-d { width: 78px; flex: none; } .hist-d b { display: block; font-size: 13px; } .hist-d small { font-size: 10.5px; color: var(--muted); }
.hist-s { display: flex; flex-wrap: wrap; gap: 4px; }
.hs { font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 7px; background: #2a2a2a; } .hs.pr { box-shadow: 0 0 0 1px var(--red); }
.vg { display: grid; grid-template-columns: 110px 1fr 54px; gap: 10px; align-items: center; padding: 7px 0; }
.vg-l b { display: block; font-size: 13.5px; } .vg-l small { font-size: 10.5px; color: var(--muted); }
.vg.focus .vg-l b::after { content: ' ★'; color: var(--red); font-size: 10px; }
.vg-n { font-family: var(--head); font-size: 18px; text-align: right; } .vg-n small { font-family: var(--body); font-size: 10.5px; }
.corr { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); gap: 2px; font-size: 13.5px; } .corr b { font-size: 13px; }
.nights { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 12px; }
.night { background: #171717; border-radius: 10px; padding: 8px 2px; text-align: center; border: 1px solid var(--line); }
.night small { display: block; font-size: 10px; color: var(--muted); } .night b { font-family: var(--head); font-size: 16px; } .night i { display: block; font-style: normal; font-size: 8px; color: #ccc; letter-spacing: -1px; }
.night.bad { border-color: rgba(217, 4, 41, .5); background: rgba(217, 4, 41, .1); } .night.bad b { color: #ff6b81; }
.gal-day { margin-bottom: 16px; }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.gal-it .thumb { width: 100%; height: auto; aspect-ratio: 1; }
.gal-it small { display: block; font-size: 10px; color: var(--muted); text-align: center; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heat-wrap { display: flex; gap: 6px; margin-top: 16px; overflow-x: auto; }
.heat-days { display: grid; grid-template-rows: repeat(7, 1fr); gap: 3px; font-size: 9px; color: var(--muted); }
.heat { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 14px); grid-auto-columns: 14px; gap: 3px; }
.hm { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: #1f1f1f; }
.hm.l1 { background: #3b1219; } .hm.l2 { background: #5a5a5a; } .hm.l3 { background: #a3a3a3; } .hm.l4 { background: var(--green); box-shadow: 0 0 6px rgba(34, 197, 94, .5); }
.hm.today { outline: 1.5px solid #fff; }
.heat-leg { display: flex; align-items: center; gap: 4px; justify-content: flex-end; margin-top: 8px; }

/* raport „Wrapped” */
.report .sheet { background: #050505; overflow: hidden; }
.rs-bars { position: absolute; top: calc(var(--top) + 8px); left: 10px; right: 10px; display: flex; gap: 4px; z-index: 3; }
.rs-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.rs-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.rs-bars i.done b { width: 100%; } .rs-bars i.cur b { animation: rsBar 6.5s linear forwards; }
@keyframes rsBar { to { width: 100%; } }
.rs-x { position: absolute; top: calc(var(--top) + 20px); right: 12px; z-index: 4; background: rgba(0, 0, 0, .4); }
.rs-slide {
  position: absolute; inset: 0; padding: calc(var(--top) + 70px) 26px calc(var(--bot) + 30px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  opacity: 0; transform: scale(1.05); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; overflow-y: auto;
  background: radial-gradient(100% 60% at 50% 0%, rgba(255, 255, 255, .07), transparent 60%), radial-gradient(90% 50% at 50% 100%, rgba(217, 4, 41, .22), transparent 70%);
}
.rs-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.rs-slide.past { transform: scale(.95); }
.rs-slide.on > * { animation: fadeUp .6s var(--ease) both; }
.rs-slide.on > *:nth-child(2) { animation-delay: .1s; } .rs-slide.on > *:nth-child(3) { animation-delay: .2s; } .rs-slide.on > *:nth-child(4) { animation-delay: .3s; } .rs-slide.on > *:nth-child(5) { animation-delay: .4s; } .rs-slide.on > *:nth-child(6) { animation-delay: .5s; }
.rs-eyebrow { font-family: var(--head); letter-spacing: .2em; color: var(--red2); font-size: 14px; display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.rs-big { font-family: var(--head); font-size: 68px; line-height: .95; margin: 0; letter-spacing: .02em; }
.rs-num { font-family: var(--head); font-size: 76px; line-height: 1; font-weight: 700; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-num small { font-size: 30px; }
.rs-sub { color: #aaa; font-size: 15px; margin-top: 8px; }
.rs-delta { margin-top: 14px; font-family: var(--head); font-size: 22px; }
.rs-pill { margin-top: 14px; padding: 8px 16px; border-radius: 20px; font-weight: 700; font-size: 14px; background: #222; }
.rs-pill.green { background: rgba(34, 197, 94, .18); color: #4ade80; } .rs-pill.amber { background: rgba(245, 158, 11, .18); color: #fbbf5b; } .rs-pill.red { background: rgba(217, 4, 41, .2); color: #ff6b81; }
.rs-chart { width: 100%; height: 180px; margin-top: 20px; }
.rs-logo { width: 80%; max-width: 360px; margin: 26px 0; filter: drop-shadow(0 0 30px rgba(255, 255, 255, .15)); }
.rs-hint { color: #666; font-size: 13px; }
.rs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 22px; }
.rs-two div { background: rgba(255, 255, 255, .05); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.rs-two small { color: var(--muted); font-size: 11px; } .rs-two b { text-transform: capitalize; font-family: var(--head); font-size: 20px; } .rs-two span { font-size: 13px; color: #ccc; }
.rs-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; } .rs-photos.sm { width: 70%; }
.rs-prs { margin-top: 18px; width: 100%; background: rgba(217, 4, 41, .1); border: 1px solid rgba(217, 4, 41, .3); border-radius: 16px; padding: 12px; font-size: 13.5px; text-align: left; display: grid; gap: 4px; }
.rs-main { width: 100%; margin-top: 10px; } .rs-main div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; border-bottom: 1px solid var(--line); text-align: left; gap: 8px; }
.rs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.rs-grid div { background: rgba(255, 255, 255, .05); border-radius: 18px; padding: 22px 8px; }
.rs-grid b { display: block; font-family: var(--head); font-size: 34px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; } .rs-grid small { color: var(--muted); font-size: 12px; }
.rs-score { margin: 10px 0; } .rs-score .big-n { font-size: 64px; }

/* ==========================================================================
   SETĂRI
   ========================================================================== */
.sync-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.sync-dot.error { background: var(--red); box-shadow: 0 0 8px var(--red); } .sync-dot.pending, .sync-dot.nourl, .sync-dot.syncing { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.edit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.edit-grid .btn { flex-direction: column; gap: 0; padding: 6px; min-height: 58px; } .edit-grid small { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.ed-list { list-style: none; padding: 0; margin: 8px 0; }
.ed-list li { display: flex; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ed-list b { display: block; font-size: 14px; }
.ed-btns { display: flex; gap: 4px; } .ed-btns button { width: 36px; height: 36px; border-radius: 9px; background: #2a2a2a; font-weight: 700; }
.set-logo { width: 190px; margin: 0 auto 6px; }

/* ==========================================================================
   FOI (bottom sheets) · TOAST · TASTATURĂ
   ========================================================================== */
#sheets { position: relative; z-index: 60; }
.sheet-wrap { position: fixed; inset: 0; z-index: 60; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: #1A1A1A; border-radius: 24px 24px 0 0; border-top: 1px solid var(--line2); padding: 8px 16px calc(var(--bot) + 18px);
  transform: translateY(105%); transition: transform .38s var(--ease); max-width: 640px; margin: 0 auto; box-shadow: 0 -20px 60px rgba(0, 0, 0, .5);
}
.sheet-wrap.in .sheet-bg { opacity: 1; } .sheet-wrap.in .sheet { transform: none; }
.sheet-wrap.tall .sheet { height: 88vh; }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; background: #444; margin: 2px auto 10px; padding: 8px 0; background-clip: content-box; box-sizing: content-box; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet-head h3 { margin: 0; font-family: var(--head); font-size: 20px; letter-spacing: .05em; text-transform: uppercase; }
.sheet-wrap.full .sheet { top: 0; max-height: none; height: 100%; border-radius: 0; padding: 0; max-width: none; transform: translateY(100%); }
.sheet-wrap.full.in .sheet { transform: none; }
.viewer .sheet { background: #000; display: flex; flex-direction: column; justify-content: center; }
.viewer img { width: 100%; max-height: 80vh; object-fit: contain; }
.viewer-x { position: absolute; top: calc(var(--top) + 10px); right: 12px; z-index: 3; background: rgba(0, 0, 0, .5); }
.viewer-meta { padding: 14px; display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: 12.5px; color: #bbb; }

.kp-display { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 10px 0 14px; }
.kp-val { font-family: var(--head); font-size: 64px; font-weight: 700; line-height: 1; min-width: 60px; text-align: center; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kp-unit { color: var(--muted); font-weight: 700; }
.kp-steps { display: flex; gap: 6px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.kp-steps .btn.chip { min-height: 44px; min-width: 64px; font-size: 15px; }
.kp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.kp-key { min-height: 62px; border-radius: 16px; background: #2a2a2a; font-family: var(--head); font-size: 28px; font-weight: 600; transition: background .1s, transform .1s; }
.kp-key:active { background: #444; transform: scale(.95); }
.photo-pick { display: grid; gap: 10px; } .photo-pick.busy { opacity: .4; pointer-events: none; }
.photo-pick label .ic { stroke: currentColor; }
.photo-preview img { width: 100%; max-height: 55vh; object-fit: contain; border-radius: 14px; background: #000; }

#toasts { position: fixed; top: calc(var(--top) + 70px); left: 0; right: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 12px; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(38, 38, 38, .97); border: 1px solid var(--line2); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font-size: 14px; font-weight: 600; max-width: 520px;
  transform: translateY(-20px) scale(.96); opacity: 0; transition: all .35s var(--ease); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.toast.in { transform: none; opacity: 1; }
.toast.ok { border-color: rgba(34, 197, 94, .45); } .toast.err { border-color: rgba(217, 4, 41, .5); }
.toast.update { border-color: rgba(242, 242, 242, .4); }
.toast-btn { padding: 8px 12px; border-radius: 10px; background: #F2F2F2; color: #0A0A0A; font-weight: 800; font-size: 13px; white-space: nowrap; }

/* PR */
.flash { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: radial-gradient(circle, rgba(255, 255, 255, .9), rgba(200, 200, 200, .35) 50%, transparent 80%); animation: flash .9s ease-out forwards; }
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 91; pointer-events: none; }
.pr-badge { position: fixed; top: 34%; left: 50%; z-index: 92; transform: translate(-50%, -50%) scale(.4); text-align: center; padding: 22px 30px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(40, 40, 40, .96), rgba(15, 15, 15, .96)); border: 1px solid rgba(217, 4, 41, .6); box-shadow: 0 0 60px rgba(217, 4, 41, .5); animation: prIn .55s var(--ease) forwards; pointer-events: none; min-width: 260px; }
.pr-badge.out { animation: prOut .45s ease-in forwards; }
.pr-trophy { font-size: 56px; animation: trophy 1s ease-in-out infinite; }
.pr-title { font-family: var(--head); font-size: 26px; letter-spacing: .12em; background: var(--chrome-h); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shineTxt 1.4s linear infinite; }
.pr-sub { font-size: 13px; color: #ffb3c0; margin-top: 4px; max-width: 260px; }
@keyframes prIn { to { transform: translate(-50%, -50%) scale(1); } }
@keyframes prOut { to { transform: translate(-50%, -60%) scale(.9); opacity: 0; } }
@keyframes trophy { 50% { transform: translateY(-6px) rotate(-6deg); } }
@keyframes shineTxt { to { background-position: -200% 0; } }
@keyframes pulse { 50% { opacity: .35; } }

/* ==========================================================================
   INTRO
   ========================================================================== */
#intro { position: fixed; inset: 0; z-index: 100; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; }
#intro.out { animation: introOut .45s ease forwards; }
@keyframes introOut { to { opacity: 0; transform: scale(1.06); } }
#intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.smoke { position: absolute; inset: -20%; opacity: 0; }
.smoke i { position: absolute; border-radius: 50%; filter: blur(50px); background: radial-gradient(circle, rgba(120, 120, 120, .35), transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.smoke i:nth-child(1) { width: 70%; height: 50%; left: 5%; top: 20%; }
.smoke i:nth-child(2) { width: 60%; height: 45%; right: 0; top: 40%; animation-duration: 18s; animation-delay: -4s; }
.smoke i:nth-child(3) { width: 80%; height: 40%; left: 10%; bottom: 5%; animation-duration: 16s; background: radial-gradient(circle, rgba(217, 4, 41, .22), transparent 70%); }
.smoke i:nth-child(4) { width: 40%; height: 40%; left: 30%; top: 5%; animation-duration: 20s; }
.smoke i:nth-child(5) { width: 50%; height: 30%; right: 10%; top: 10%; animation-duration: 22s; animation-delay: -8s; }
@keyframes drift { from { transform: translate(-4%, 2%) scale(1); } to { transform: translate(5%, -4%) scale(1.2); } }
.intro-center { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.intro-logo { position: relative; width: min(92vw, 520px); opacity: 0; }
.intro-logo img { width: 100%; }
.shine { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .95) 48%, rgba(255, 255, 255, .2) 55%, transparent 65%); background-size: 250% 100%; background-position: 150% 0; mix-blend-mode: screen; }
.ekg { width: min(70vw, 320px); height: 40px; margin-top: -4px; opacity: 0; }
.ekg path { fill: none; stroke: #F2F2F2; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)) drop-shadow(0 0 12px rgba(217, 4, 41, .6)); }
.intro-tag { font-family: var(--head); letter-spacing: .28em; font-size: 13px; color: #cfcfcf; margin-top: 12px; height: 18px; white-space: nowrap; }
.intro-tag span { display: inline-block; opacity: 0; }
.intro-greet { margin-top: 26px; text-align: center; font-family: var(--head); font-size: 22px; letter-spacing: .04em; opacity: 0; transform: translateY(10px); }
.intro-greet small { display: block; font-family: var(--body); font-size: 14px; color: #aaa; margin-top: 6px; letter-spacing: 0; }
.intro-skip { position: absolute; bottom: calc(var(--bot) + 22px); left: 0; right: 0; text-align: center; font-size: 11px; color: #555; letter-spacing: .1em; text-transform: uppercase; }

/* — versiunea completă (~2,4 s) — */
#intro.full .smoke { animation: fadeIn 1.2s ease forwards; }
#intro.full .intro-logo { animation: logoIn .9s .25s var(--ease) forwards; }
#intro.full .shine { animation: sweep .9s 1s ease-in-out forwards; }
#intro.full .ekg { animation: fadeIn .1s .85s forwards; }
#intro.full .ekg path { animation: draw .75s .85s ease-out forwards; }
#intro.full .intro-tag span { animation: letter .3s ease forwards; }
#intro.full .intro-greet { animation: greet .5s 1.75s var(--ease) forwards; }
/* — versiunea scurtă (~0,5 s) — */
#intro.short .smoke, #intro.short .ekg, #intro.short .intro-tag, #intro.short .intro-greet, #intro.short .intro-skip { display: none; }
#intro.short .intro-logo { animation: logoIn .35s var(--ease) forwards; }
#intro.short .shine { animation: sweep .45s .1s ease-in-out forwards; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes logoIn { from { opacity: 0; filter: blur(14px); transform: scale(.85); } to { opacity: 1; filter: blur(0); transform: scale(1); } }
@keyframes sweep { from { background-position: 150% 0; } to { background-position: -60% 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes letter { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes greet { to { opacity: 1; transform: none; } }

/* ==========================================================================
   GHID INSTALARE
   ========================================================================== */
#install { position: fixed; inset: 0; z-index: 95; background: #050505; display: none; flex-direction: column; align-items: center; padding: calc(var(--top) + 30px) 26px calc(var(--bot) + 30px); text-align: center; overflow: hidden; }
#install.show { display: flex; }
#install .smoke { opacity: .8; }
.ig-logo { width: 78%; max-width: 360px; position: relative; filter: drop-shadow(0 0 30px rgba(255, 255, 255, .12)); }
.ig-title { position: relative; font-family: var(--head); font-size: 32px; letter-spacing: .05em; text-transform: uppercase; margin: 8px 0 6px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ig-sub { position: relative; color: #aaa; font-size: 14px; margin: 0 0 18px; }
.ig-steps { position: relative; list-style: none; padding: 0; margin: 0; width: 100%; max-width: 380px; display: grid; gap: 10px; }
.ig-step { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px; border-radius: 16px; background: rgba(30, 30, 30, .8); border: 1px solid var(--line); transition: all .4s var(--ease); opacity: .45; }
.ig-step.on { opacity: 1; border-color: rgba(242, 242, 242, .5); transform: scale(1.03); box-shadow: 0 0 24px rgba(255, 255, 255, .08); }
.ig-n { width: 34px; height: 34px; border-radius: 50%; background: var(--chrome); color: #000; font-weight: 800; display: grid; place-items: center; flex: none; }
.ig-ico { font-size: 18px; }
.ig-arrow { position: absolute; bottom: calc(var(--bot) + 4px); left: 50%; margin-left: -18px; font-size: 36px; animation: bounce 1.2s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .6)); }
@keyframes bounce { 50% { transform: translateY(10px); opacity: .6; } }
#ig-skip { position: relative; margin-top: auto; margin-bottom: 40px; }

.fatal { position: fixed; inset: 40% 20px auto; padding: 16px; background: #300; border-radius: 12px; z-index: 200; }

/* ==========================================================================
   REDUCED MOTION / ECRANE MARI
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 360px) {
  .set-row { grid-template-columns: 42px 1fr 60px 60px 44px; gap: 4px; }
  .rings4 .ring { transform: scale(.9); }
  .angles { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 700px) {
  .page { padding: 8px 20px; }
}

/* ---------- ore introduse manual ---------- */
.wake-manual { margin: -4px 0 10px; min-height: 44px; gap: 6px; }
.wk-times { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; min-height: 32px; padding: 0 10px; border-radius: 9px; background: #222; border: 1px solid var(--line2); color: #cfcfcf; }
button.supp-t { min-height: 36px; border: 1px solid rgba(34, 197, 94, .3); }
button.supp-t:active { transform: scale(.95); }

/* ---------- zi de pauză aleasă manual ---------- */
.rest-box { display: flex; flex-direction: column; gap: 4px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(90, 180, 255, .14), rgba(90, 180, 255, .04)); border: 1px solid rgba(90, 180, 255, .35); }
.rest-box b { font-family: var(--head); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.rest-box span { font-size: 13px; color: #bcd9f2; } .rest-box span b { font-family: var(--body); font-size: 13px; text-transform: none; letter-spacing: 0; }
button.rest-box:active { transform: scale(.98); }
.rest-pill { color: #8ccaff; } .rest-pill .ic { width: 24px; height: 24px; }
.rest-pill.on { background: linear-gradient(180deg, #cfe8ff, #6aa9de); color: #0A0A0A; }

/* ---------- cardio separat + pași (cardio.js) ---------- */
.mode-seg { margin-bottom: 12px; }
.mode-seg .seg-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.cx-card.rest { border-color: rgba(90, 180, 255, .3); }
.cx-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.cx-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #1f1f1f; border: 1px solid var(--line2); cursor: pointer; }
.cx-item:active { transform: scale(.98); } .cx-item.ro { cursor: default; } .cx-item.ro:active { transform: none; }
.cx-item > .ic { color: var(--muted); }
.cx-e { font-size: 22px; line-height: 1; width: 28px; text-align: center; flex: none; }
.cx-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cx-b b { font-size: 14px; } .cx-b small { font-size: 12px; color: var(--muted); }
.cx-steps { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #1f1f1f; border: 1px solid var(--line2); cursor: pointer; }
.cx-steps:active { transform: scale(.98); } .cx-steps > .ic { color: var(--muted); }
.cx-steps.ok { border-color: rgba(34, 197, 94, .4); } .cx-steps.ok .bar-f { background: var(--green); }
.cx-st-t { display: flex; align-items: baseline; gap: 6px; } .cx-st-t b { font-family: var(--head); font-size: 22px; letter-spacing: .02em; }
.cx-st-t small { font-size: 12px; color: var(--muted); }
.cx-st-mini { font-size: 12.5px; color: #cfcfcf; padding: 4px 10px; border-radius: 8px; background: #222; border: 1px solid var(--line2); margin-top: 6px; }
.cx-st-mini.ok { color: var(--green); border-color: rgba(34, 197, 94, .35); }
.cx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; text-align: center; }
.cx-stats b { display: block; font-family: var(--head); font-size: 24px; letter-spacing: .02em; }
.cx-stats small { font-size: 10.5px; color: var(--muted); }
.cx-day + .cx-day { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line2); }
.cx-dh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cx-dh b { font-size: 13px; text-transform: capitalize; } .cx-dh span { font-size: 12px; color: var(--muted); }
.cx-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.btn.chip.on { background: linear-gradient(180deg, #f2f2f2, #bdbdbd); color: #0A0A0A; border-color: transparent; }
.cx-th { position: relative; flex: none; }
.cx-th-x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: #000; border: 1px solid #555; color: #fff; font-size: 14px; line-height: 20px; }
.cx-sheet .seg-b { font-size: 12.5px; padding: 0 6px; }

/* ---------- zi de pauză în timeline + alegerea la trezire ---------- */
.tl-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tl-rest { margin-top: 4px; font-size: 12px; font-weight: 700; padding: 3px 10px; min-height: 26px; border-radius: 8px; background: rgba(90, 180, 255, .12); color: #8ccaff; border: 1px solid rgba(90, 180, 255, .3); }
.tl-rest:active { transform: scale(.95); }
.tl.info.tl-rest-day .tl-dot { background: rgba(90, 180, 255, .12); border-color: rgba(90, 180, 255, .5); color: #8ccaff; }
.tl.info.tl-rest-day .tl-t b { color: #bcd9f2; }
.wake-kind { margin-bottom: 12px; }
.wake-kind .seg-b { font-size: 13px; }


/* ---------- cardio: adăugare rapidă, momente, locuri în timeline ---------- */
.cx-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.cx-qb { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border-radius: 14px; text-align: left;
  background: linear-gradient(180deg, #2a2a2a, #1f1f1f); border: 1px solid var(--line2); }
.cx-qb span { font-size: 22px; line-height: 1; margin-bottom: 4px; } .cx-qb b { font-size: 14px; } .cx-qb small { font-size: 12px; color: var(--muted); }
.cx-qb:active { transform: scale(.97); }
.cx-moms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cx-mom { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: #1f1f1f; border: 1px solid var(--line2); font-size: 13.5px; font-weight: 600; color: #cfcfcf; text-align: left; }
.cx-mom span { font-size: 18px; } .cx-mom.on { background: linear-gradient(180deg, #f2f2f2, #bdbdbd); color: #0A0A0A; border-color: transparent; }
.cx-ok { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #0A0A0A; display: grid; place-items: center; font-weight: 800; }
.tl.info.tl-cxgol-day .tl-dot, .tl.info.tl-cxsala-day .tl-dot { border-style: dashed; border-color: rgba(255, 107, 129, .55); color: #ff8fa3; background: transparent; }
.tl.info.tl-cxgol-day .tl-w, .tl.info.tl-cxsala-day .tl-w { color: #ff8fa3; font-family: var(--body); font-size: 13px; font-weight: 700; }
.tl.info.tl-cxgol-day .tl-t b, .tl.info.tl-cxsala-day .tl-t b { color: #d4d4d4; }

/* ---------- final de pauză: ecran verde ---------- */
.rest-done { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 45%, rgba(34, 197, 94, .95), rgba(22, 120, 60, .92) 70%); animation: restIn .25s ease-out; transition: opacity .45s; }
.rest-done.out { opacity: 0; }
.rest-done b { display: block; font-family: var(--head); font-size: 54px; letter-spacing: .06em; color: #04140a; }
.rest-done span { display: block; margin-top: 6px; font-size: 16px; font-weight: 700; color: #062a14; padding: 0 24px; }
@keyframes restIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* ---------- poze de evoluție din galerie ---------- */
.cam-row { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 360px; }
.cam-gal { width: 70px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #fff; cursor: pointer; }
.cam-gal .ic { width: 30px; height: 30px; padding: 8px; box-sizing: content-box; border-radius: 14px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3); }
.cam-gal.sp { visibility: hidden; }
.gal-angles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gal-prev { margin-top: 10px; border-radius: 14px; overflow: hidden; background: #000; display: grid; place-items: center; }
.gal-prev img { max-width: 100%; max-height: 300px; object-fit: contain; display: block; }
.gal-sheet input[type=date] { min-height: 46px; }

/* ---------- pauză pe tip de set · stagnare · discuri · backup ---------- */
.gap-s { gap: 6px; }
.rest-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rest-types .val { min-height: 58px; font-size: 20px; }
.ex-stag { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--amber); }
.stag-box { display: flex; flex-direction: column; gap: 4px; padding: 12px; margin-bottom: 10px; border-radius: 14px; background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .35); font-size: 13px; }
.stag-box b { color: #fbbf24; } .stag-box span { color: #d4d4d4; line-height: 1.45; } .stag-box span b { color: #fff; }
.kp-extra { margin: -2px 0 8px; }
.kp-pl { width: 100%; text-align: left; font-size: 13px; padding: 9px 12px; border-radius: 12px; background: #1f1f1f; border: 1px solid var(--line2); color: #d4d4d4; }
.kp-pl b { color: #fff; } .kp-pl small { color: var(--muted); }
.pl-res { padding: 12px; border-radius: 14px; background: #1a1a1a; border: 1px solid var(--line2); }
.pl-res > b { display: block; font-family: var(--head); font-size: 26px; letter-spacing: .02em; margin: 4px 0 8px; }
.pl-viz { position: relative; display: flex; align-items: center; gap: 3px; height: 130px; padding: 0 8px; margin: 6px 0 8px; }
.pl-shaft { width: 46px; height: 12px; border-radius: 3px; background: linear-gradient(180deg, #d4d4d4, #7a7a7a); }
.pl-collar { width: 10px; height: 36px; border-radius: 3px; background: linear-gradient(180deg, #e5e5e5, #8a8a8a); margin-right: 2px; }
.pl-plate { width: 20px; border-radius: 4px; display: flex; align-items: flex-end; justify-content: center; color: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); }
.pl-plate span { font-size: 9px; font-weight: 800; writing-mode: vertical-rl; transform: rotate(180deg); padding: 4px 0; }
.pl-sleeve { flex: 1; min-width: 20px; height: 14px; border-radius: 3px; background: linear-gradient(180deg, #cfcfcf, #6a6a6a); }
.bk-item { display: flex; justify-content: space-between; align-items: center; } .bk-item small { color: var(--muted); font-size: 12px; }
.angle .ang-flex { font-style: normal; font-size: 26px; line-height: 1; }

/* ---------- protocol ---------- */
.chk-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 8px 0; } .chk-row input { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.pg-list { display: flex; flex-direction: column; gap: 10px; }
.pg-item { padding: 12px; border-radius: 16px; background: #1c1c1c; border: 1px solid var(--line2); }
.pg-item.late { border-color: rgba(239, 68, 68, .5); } .pg-item.now, .pg-item.today { border-color: rgba(245, 158, 11, .5); }
.pg-top { display: flex; align-items: center; gap: 10px; cursor: pointer; } .pg-top > .ic { color: var(--muted); }
.pg-e { font-size: 24px; } .pg-top b { display: block; font-size: 15px; } .pg-top small { font-size: 12px; color: var(--muted); }
.pg-next { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.pg-badge { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: #2a2a2a; }
.pg-badge.late { background: rgba(239, 68, 68, .15); color: #ff8a8a; } .pg-badge.now, .pg-badge.today { background: rgba(245, 158, 11, .15); color: #fbbf24; } .pg-badge.soon { background: rgba(90, 180, 255, .12); color: #8ccaff; }
.pg-btns { display: flex; gap: 6px; } .pg-btns .btn { min-height: 42px; }
.pg-every { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .pg-every .cx-mom { justify-content: center; font-size: 12.5px; padding: 0 6px; }
.pg-log { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line2); font-size: 13.5px; } .pg-log:last-of-type { border-bottom: 0; }
.pg-log small { display: block; font-size: 12px; color: var(--muted); } .pg-log > span { font-size: 18px; }
.pg-soon { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; } .pg-soon div { display: flex; justify-content: space-between; font-size: 13px; } .pg-soon b { color: #8ccaff; font-size: 12.5px; }
.pg-today .pg-item + .pg-item { margin-top: 8px; }
.pg-paused small { color: var(--muted); }
/* ---------- analize ---------- */
.lab-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line2); }
.lab-row b { display: block; font-size: 13.5px; } .lab-row small { font-size: 11px; color: var(--muted); }
.lab-in { width: 86px; min-height: 40px; text-align: right; font-weight: 700; flex: none; }
.lab-row.high .lab-in { border-color: rgba(239, 68, 68, .6); color: #ff8a8a; } .lab-row.low .lab-in { border-color: rgba(90, 180, 255, .6); color: #8ccaff; } .lab-row.ok .lab-in { border-color: rgba(34, 197, 94, .45); }
.lab-ref { flex: none; min-width: 58px; min-height: 34px; border-radius: 9px; font-size: 11px; font-weight: 700; color: var(--muted); border: 1px dashed #444; padding: 0 6px; }
.lab-ref.set { border-style: solid; color: #cfcfcf; }
.lab-v.high { color: #ff6b6b; font-weight: 800; } .lab-v.low { color: #6bb8ff; font-weight: 800; } .lab-v.ok { color: #e5e5e5; }
.lab-outs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lab-out { font-size: 12.5px; padding: 6px 10px; border-radius: 10px; background: #1f1f1f; border: 1px solid var(--line2); }
.lab-out.high { border-color: rgba(239, 68, 68, .5); } .lab-out.low { border-color: rgba(90, 180, 255, .5); }
.lab-tbl-wrap { overflow-x: auto; margin: 0 -4px; } .lab-tbl td, .lab-tbl th { white-space: nowrap; } .lab-tbl td small { display: block; color: var(--muted); font-size: 10.5px; }
.lab-tbl tr[data-lb-m] { cursor: pointer; } .lab-g td { padding-top: 12px; font-family: var(--head); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lab-d { font-size: 12px; color: #cfcfcf; }
.lab-rem { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-color: rgba(245, 158, 11, .45); cursor: pointer; } .lab-rem.late { border-color: rgba(239, 68, 68, .5); }
.lab-rem-e { font-size: 28px; }

/* ---------- citire automată analize ---------- */
.ocr-box { padding: 12px; margin: 10px 0 4px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px dashed #444; }
.pdf-chip { display: inline-flex; align-items: center; height: 46px; padding: 0 12px; border-radius: 10px; background: #2a2a2a; border: 1px solid var(--line2); font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; }
.ocr-txt { white-space: pre-wrap; font-size: 11px; color: var(--muted); max-height: 240px; overflow: auto; background: #111; padding: 10px; border-radius: 10px; }
.lab-row.rv input[type=checkbox] { width: 20px; height: 20px; flex: none; }
.lt-steps { padding-left: 18px; margin: 0 0 10px; line-height: 1.6; }
.lt-area { width: 100%; min-height: 180px; font-size: 13px; }

/* ---------- Protocol Pro ---------- */
.pg-sheet .seg-b { font-size: 12.5px; padding: 0 6px; }
.pg-amt { width: 110px; flex: none; text-align: right; font-weight: 700; }
.pg-types { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .pg-types .cx-mom { justify-content: center; font-size: 13px; }
.pg-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.pg-wd .btn.chip { min-width: 40px; justify-content: center; }
.pg-adv { margin-top: 12px; border: 1px solid var(--line2); border-radius: 14px; padding: 0 12px; background: #161616; }
.pg-adv summary { cursor: pointer; padding: 12px 0; font-weight: 700; font-size: 14px; }
.pg-adv[open] { padding-bottom: 12px; }
.pg-ramp { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-top: 6px; } .pg-ramp .inp { width: 70px; min-height: 38px; text-align: center; }
.pg-slots { display: flex; flex-direction: column; gap: 6px; }
.pg-slot { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #1c1c1c; border: 1px solid var(--line2); }
.pg-slot b { font-size: 14px; } .pg-slot small { display: block; font-size: 12px; color: var(--muted); }
.pg-slot-t { font-family: var(--head); font-size: 18px; letter-spacing: .03em; width: 54px; flex: none; }
.pg-slot.due { border-color: rgba(245, 158, 11, .55); } .pg-slot.due .pg-slot-t { color: #fbbf24; }
.pg-slot.taken { opacity: .6; } .pg-slot.taken .pg-slot-t { color: var(--green); } .pg-slot.skipped { opacity: .45; }
.pg-done { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #0A0A0A; font-weight: 800; flex: none; }
.pg-slot.skipped .pg-done { background: #333; color: #aaa; }
.pg-missed { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; margin-bottom: 10px; border-radius: 14px; background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .4); }
.pg-missed b { display: block; font-size: 14px; color: #ff8a8a; } .pg-missed small { font-size: 12px; color: var(--muted); }
.pg-lvl { margin: 6px 0 10px; cursor: pointer; } .pg-lvl-t { display: flex; justify-content: space-between; font-size: 12.5px; color: #cfcfcf; margin-bottom: 4px; } .pg-lvl-t b { color: #8ccaff; }
.pg-lvl .bar-f { background: linear-gradient(90deg, #4a8fd9, #8ccaff); }
.pg-lvls { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line2); }
.pg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; } .pg-stats b { display: block; font-family: var(--head); font-size: 22px; } .pg-stats small { font-size: 10.5px; color: var(--muted); }
.pg-rrow { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 10px; font-size: 13px; color: var(--muted); } .pg-rrow.on { background: #1f1f1f; color: #fff; }
.rc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; align-items: center; } .rc-grid .val { min-height: 58px; }
.rc-res { padding: 12px; border-radius: 14px; background: #1a1a1a; border: 1px solid var(--line2); } .rc-res > b { display: block; font-family: var(--head); font-size: 34px; letter-spacing: .02em; } .rc-res > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.syr { position: relative; display: flex; align-items: center; height: 54px; margin: 8px 0 18px; }
.syr-plunger { position: absolute; left: -14px; width: 14px; height: 30px; border-radius: 4px; background: #555; }
.syr-body { position: relative; flex: 1; height: 30px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 2px solid #8a8a8a; overflow: visible; }
.syr-fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(140, 202, 255, .35), rgba(140, 202, 255, .75)); border-radius: 4px 0 0 4px; }
.syr-body i { position: absolute; top: 0; height: 12px; border-left: 1px solid #aaa; } .syr-body i span { position: absolute; top: 30px; left: -8px; font-size: 9.5px; color: var(--muted); font-style: normal; }
.syr-needle { width: 26px; height: 2px; background: #bbb; flex: none; }

/* ---------- Jurnal ---------- */
.jr-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; }
.jr-row > span { font-size: 13.5px; font-weight: 600; }
.jr-rate { display: flex; gap: 5px; }
.jr-b { width: 38px; height: 34px; border-radius: 10px; background: #1f1f1f; border: 1px solid var(--line2); font-weight: 800; font-size: 14px; color: var(--muted); }
.jr-b.on.r1 { background: #7f1d1d; color: #fff; border-color: #ef4444; } .jr-b.on.r2 { background: #7c2d12; color: #fff; border-color: #f97316; } .jr-b.on.r3 { background: #3f3f46; color: #fff; border-color: #a1a1aa; }
.jr-b.on.r4 { background: #14532d; color: #fff; border-color: #22c55e; } .jr-b.on.r5 { background: #166534; color: #fff; border-color: #4ade80; box-shadow: 0 0 10px rgba(74, 222, 128, .35); }
.jr-b:active { transform: scale(.92); }
.jr-sum { display: flex; flex-wrap: wrap; gap: 6px; }
.jr-chip { font-size: 12.5px; padding: 5px 10px; border-radius: 9px; background: #1f1f1f; border: 1px solid var(--line2); color: #cfcfcf; } .jr-chip b { color: #fff; }
.jr-chip.r1, .jr-chip.r2 { border-color: rgba(239, 68, 68, .45); } .jr-chip.r4, .jr-chip.r5 { border-color: rgba(34, 197, 94, .45); }
.jr-sides { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.se-chip { font-size: 12.5px; padding: 6px 10px; border-radius: 10px; background: rgba(245, 158, 11, .08); border: 1px solid rgba(245, 158, 11, .35); color: #fbbf24; }
.se-chip.s3 { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .5); color: #ff8a8a; }
.se-syms { display: flex; flex-wrap: wrap; gap: 6px; }
.se-group { padding: 10px 0; border-bottom: 1px solid var(--line2); } .se-group:last-child { border-bottom: 0; } .se-group > b { font-size: 14px; }
.se-cnt { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; } .se-cnt span { font-size: 12px; padding: 3px 8px; border-radius: 8px; background: #222; color: #fbbf24; }
/* ---------- Impact ---------- */
.imp-ref { margin-bottom: 10px; }
.imp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; text-align: center; }
.imp-kpis b { display: block; font-family: var(--head); font-size: 22px; letter-spacing: .02em; } .imp-kpis small { font-size: 10.5px; color: var(--muted); }
.imp-tbl td:first-child { font-size: 13px; }
.imp-lift { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.imp-lift small { color: var(--muted); font-size: 11.5px; } .imp-lift b { font-family: var(--head); font-size: 16px; } .imp-lift:last-child { border-bottom: 0; }
.imp-tl { list-style: none; padding: 0; margin: 0; position: relative; }
.imp-tl::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: #2a2a2a; }
.imp-tl li { display: flex; gap: 12px; padding: 8px 0; position: relative; font-size: 13.5px; }
.imp-e { width: 32px; height: 32px; border-radius: 50%; background: #1c1c1c; border: 1px solid var(--line2); display: grid; place-items: center; flex: none; z-index: 1; font-size: 15px; }
.imp-tl li small { color: var(--muted); font-size: 11.5px; }
.imp-tl li.start .imp-e { border-color: rgba(217, 4, 41, .6); box-shadow: 0 0 10px rgba(217, 4, 41, .3); } .imp-tl li.lab .imp-e { border-color: rgba(90, 180, 255, .5); } .imp-tl li.pr .imp-e { border-color: rgba(251, 191, 36, .5); } .imp-tl li.side .imp-e { border-color: rgba(245, 158, 11, .45); }
