/* APP Management Cristina — „Noapte premium”: sticlă, lumină mentă, tipografie mare, animații fine. */
:root {
  --bg: #06080B;
  --glass: rgba(255, 255, 255, .045);
  --glass2: rgba(255, 255, 255, .075);
  --stroke: rgba(255, 255, 255, .08);
  --stroke2: rgba(255, 255, 255, .14);
  --hi: inset 0 1px 0 rgba(255, 255, 255, .07);
  --text: #F2F4F7;
  --muted: #8B94A5;
  --dim: #565F6E;
  --mint: #6EF0C2;
  --mint2: #34C99A;
  --mint-ink: #032318;
  --mint-soft: rgba(110, 240, 194, .12);
  --grad: linear-gradient(135deg, #8DF7D2 0%, #4FDDAA 45%, #2DBF92 100%);
  --violet: #A3A3FF;
  --violet-soft: rgba(163, 163, 255, .14);
  --red: #FF6F7A;
  --amber: #FFC46B;
  --amber-soft: rgba(255, 196, 107, .12);
  --wa: #2BE07A;
  --r: 22px;
  --ease: cubic-bezier(.22, .9, .24, 1);
  --spring: cubic-bezier(.34, 1.45, .64, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 15px/1.45 "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; min-height: 100dvh; overscroll-behavior-y: none; letter-spacing: -.005em; }
/* Lumini ambientale în fundal */
body::before { content: ""; position: fixed; inset: -20vh -20vw auto; height: 90vh; z-index: -1; pointer-events: none;
  background: radial-gradient(42vw 34vh at 12% 18%, rgba(110, 240, 194, .16), transparent 70%), radial-gradient(40vw 30vh at 92% 6%, rgba(140, 140, 255, .14), transparent 70%), radial-gradient(30vw 26vh at 60% 40%, rgba(52, 201, 154, .06), transparent 70%);
  filter: blur(10px); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(2vw, 3vh, 0) scale(1.06); } }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

#app { max-width: 560px; margin: 0 auto; padding: calc(var(--safe-t) + 20px) 18px calc(var(--safe-b) + 118px); }

/* ---------- Animații ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(110, 240, 194, .55); } 100% { box-shadow: 0 0 0 12px rgba(110, 240, 194, 0); } }
@keyframes pulseR { 0% { box-shadow: 0 0 0 0 rgba(255, 111, 122, .6); } 100% { box-shadow: 0 0 0 10px rgba(255, 111, 122, 0); } }
@keyframes slideL { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes slideR { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: var(--len, 1000); } to { stroke-dashoffset: 0; } }
@keyframes shimmer { from { background-position: -300px 0; } to { background-position: 300px 0; } }
@keyframes sheen { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(320%) skewX(-18deg); } }
.rise { animation: rise .6s var(--ease) both; }
.page { animation: fade .35s ease both; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- Text ---------- */
.eyebrow { color: var(--muted); font-size: 13px; font-weight: 500; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
h1 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; margin: 2px 0 0; line-height: 1.1; }
h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin: 0; line-height: 1.15; }
h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 26px 2px 12px; display: flex; justify-content: space-between; align-items: baseline; }
.muted { color: var(--muted); }
.mint { color: var(--mint); }
.amber { color: var(--amber); }
.red { color: var(--red); }
.num { font-variant-numeric: tabular-nums; }

.glass { background: var(--glass); border: 1px solid var(--stroke); box-shadow: var(--hi); border-radius: var(--r); }

/* ---------- Antet ---------- */
.top { display: flex; align-items: center; gap: 12px; }
.me { width: 44px; height: 44px; border-radius: 15px; background: var(--grad); color: var(--mint-ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 8px 24px -8px rgba(110, 240, 194, .6); flex: none; }
.top .grow { flex: 1; min-width: 0; }
.top .hello { font-size: 13px; color: var(--muted); font-weight: 500; }
.top .name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.icon-btn { width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--stroke); background: var(--glass); box-shadow: var(--hi); display: grid; place-items: center; color: var(--muted); transition: transform .2s var(--spring), background .2s; flex: none; }
.icon-btn:active { transform: scale(.9); background: var(--glass2); }
.icon-btn.accent { color: var(--mint); }

/* ---------- Card „Următoarea oră” ---------- */
.hero-card { position: relative; overflow: hidden; display: block; margin-top: 20px; padding: 18px; border-radius: 28px; border: 1px solid rgba(110, 240, 194, .28);
  background: radial-gradient(120% 140% at 100% 0%, rgba(110, 240, 194, .22), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(140, 140, 255, .16), transparent 60%), rgba(255, 255, 255, .04);
  box-shadow: var(--hi), 0 24px 60px -28px rgba(110, 240, 194, .45); text-align: left; width: 100%; color: inherit; transition: transform .25s var(--spring); }
.hero-card:active { transform: scale(.985); }
.hero-card::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 35%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .07), transparent); animation: sheen 6s ease-in-out 1s infinite; pointer-events: none; }
.hero-card .row1 { display: flex; justify-content: space-between; align-items: center; }
.live-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.live-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 1.6s infinite; }
.hero-card .time { font-size: 44px; font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.hero-card .time small { font-size: 22px; color: var(--muted); font-weight: 700; letter-spacing: -.02em; }
.hero-card .sub { color: var(--muted); font-size: 14px; }
.hero-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.hero-card .go { width: 42px; height: 42px; border-radius: 14px; background: var(--grad); color: var(--mint-ink); display: grid; place-items: center; }
.hero-card .go svg { stroke-width: 2.4; }

/* ---------- Rezumat zi (inel) ---------- */
.dayring { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 14px 16px; }
.ring { width: 64px; height: 64px; flex: none; position: relative; }
.ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: rgba(255, 255, 255, .07); }
.ring .fg { stroke: var(--mint); stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); filter: drop-shadow(0 0 6px rgba(110, 240, 194, .5)); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.dayring .grow { flex: 1; min-width: 0; }
.dayring .big { font-size: 24px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dayring .big small { color: var(--muted); font-size: 14px; font-weight: 600; }
.dayring .mini { display: flex; gap: 14px; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.dayring .mini b { color: var(--text); font-weight: 700; }

/* ---------- Bandă zile ---------- */
.week-head { display: flex; align-items: center; justify-content: space-between; margin: 26px 2px 10px; }
.week-head .lbl { font-size: 15px; font-weight: 700; text-transform: capitalize; letter-spacing: -.01em; }
.week-head .arrows { display: flex; gap: 6px; }
.week-head .arrows button { height: 34px; min-width: 34px; border-radius: 12px; border: 1px solid var(--stroke); background: var(--glass); color: var(--muted); display: grid; place-items: center; transition: transform .2s var(--spring); }
.week-head .arrows button:active { transform: scale(.88); }
.week-head .arrows button svg { width: 16px; height: 16px; }
.week-head .today-btn { padding: 0 12px; font-size: 12px; font-weight: 700; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; touch-action: pan-y; position: relative; padding: 5px; }
.days.in-l .day { animation: slideL .4s var(--ease) both; }
.days.in-r .day { animation: slideR .4s var(--ease) both; }
.days .pillbg { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 16px; background: var(--grad); box-shadow: 0 10px 26px -10px rgba(110, 240, 194, .75); transition: transform .5s var(--spring), width .3s; z-index: 0; }
.day { position: relative; z-index: 1; border: 0; background: transparent; border-radius: 16px; padding: 9px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: capitalize; transition: color .3s; }
.day b { font-size: 17px; font-weight: 800; color: var(--text); transition: color .3s; font-variant-numeric: tabular-nums; }
.day.today:not(.sel) b { color: var(--mint); }
.day.sel, .day.sel b { color: var(--mint-ink); }
.day i { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); opacity: 0; transition: background .3s; }
.day i.on { opacity: 1; }
.day.sel i { background: var(--mint-ink); }

/* ---------- Timeline ---------- */
.timeline { margin-top: 16px; position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 18px; bottom: 18px; width: 2px; border-radius: 1px; background: linear-gradient(var(--stroke2), rgba(255, 255, 255, .03)); }
.timeline.no-rail { padding-left: 0; }
.timeline.no-rail::before { display: none; }
.slot { position: relative; margin-bottom: 12px; }
.slot .dot { position: absolute; left: -24px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--dim); }
.slot .dot.done { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 14px rgba(110, 240, 194, .6); }
.slot .dot.live { border-color: var(--mint); background: var(--mint); animation: pulse 1.6s infinite; }
.slot .dot.todo { border-color: var(--amber); }
.lesson { width: 100%; text-align: left; padding: 15px 16px; transition: transform .25s var(--spring), border-color .3s, background .3s; color: inherit; display: block; }
.lesson:active { transform: scale(.975); }
.lesson.live { border-color: rgba(110, 240, 194, .5); background: rgba(110, 240, 194, .07); box-shadow: var(--hi), 0 16px 40px -22px rgba(110, 240, 194, .6); }
.lesson.todo { border-color: rgba(255, 196, 107, .35); }
.lesson.off { opacity: .4; }
.lesson.off .tt { text-decoration: line-through; }
.lesson .row1 { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.lesson .tt { font-weight: 800; font-size: 19px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lesson .tt small { color: var(--muted); font-weight: 600; font-size: 14px; }
.lesson .meta { color: var(--muted); font-size: 13px; margin: 5px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.lesson .row2 { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.cat { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: .01em; background: var(--mint-soft); color: var(--mint); }
.cat.privat { background: var(--violet-soft); color: var(--violet); }
.amt { font-size: 13px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.amt.ok { background: var(--mint-soft); color: var(--mint); }
.amt.warn { background: var(--amber-soft); color: var(--amber); }
.nowline { position: relative; display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; color: var(--red); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nowline::before { content: ""; position: absolute; left: -22px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulseR 1.6s infinite; }
.nowline span { flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--red), transparent); }

/* ---------- Avatare ---------- */
.avs { display: flex; padding-left: 7px; }
.av { position: relative; width: 28px; height: 28px; border-radius: 50%; margin-left: -7px; border: 2px solid #11151B; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; background-size: cover; background-position: center; flex: none; }
.av.lg { width: 44px; height: 44px; margin: 0; font-size: 14px; border: 0; }
.av.xl { width: 72px; height: 72px; margin: 0; font-size: 22px; border: 0; }
.av.xxl { width: 112px; height: 112px; margin: 0; font-size: 34px; border: 0; }
.ringed { position: relative; padding: 2.5px; border-radius: 50%; background: conic-gradient(from 200deg, #8DF7D2, #8C8CFF, #4FDDAA, #8DF7D2); display: inline-grid; flex: none; }
.ringed .av { border: 2.5px solid var(--bg); }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pill.mint { background: var(--mint-soft); color: var(--mint); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.red { background: rgba(255, 111, 122, .12); color: var(--red); }
.pill.gray { background: rgba(255, 255, 255, .07); color: var(--muted); }

.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .big { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; margin: 0 auto 16px; color: var(--mint); background: radial-gradient(circle at 30% 20%, rgba(110, 240, 194, .25), transparent 70%), var(--glass); border: 1px solid var(--stroke); }
.empty .big svg { width: 30px; height: 30px; }
.empty b { display: block; color: var(--text); font-size: 17px; font-weight: 800; margin-bottom: 4px; letter-spacing: -.02em; }

/* ---------- Butoane și câmpuri ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 20px; border-radius: 17px; border: 1px solid var(--stroke); background: var(--glass); box-shadow: var(--hi); font-weight: 700; font-size: 15px; transition: transform .2s var(--spring), background .2s, opacity .2s; }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--grad); border-color: transparent; color: var(--mint-ink); box-shadow: 0 12px 30px -12px rgba(110, 240, 194, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn.primary svg { stroke-width: 2.4; }
.btn.danger { color: var(--red); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--muted); }
.btn.small { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; }
.btn.wa { background: rgba(43, 224, 122, .12); border-color: transparent; color: var(--wa); }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; min-width: 0; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0 0 7px 4px; }
.input, .field input, .field select, .field textarea { width: 100%; height: 54px; border-radius: 16px; border: 1px solid var(--stroke); background: rgba(0, 0, 0, .25); padding: 0 16px; font-size: 16px; font-weight: 500; outline: none; transition: border-color .2s, box-shadow .25s, background .2s; -webkit-appearance: none; appearance: none; }
.field textarea { height: 92px; padding: 14px 16px; resize: none; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(110, 240, 194, .6); box-shadow: 0 0 0 4px var(--mint-soft); background: rgba(0, 0, 0, .35); }
.field input[type="date"], .field input[type="time"] { min-width: 0; }
.seg { display: flex; background: rgba(0, 0, 0, .25); border: 1px solid var(--stroke); border-radius: 17px; padding: 4px; gap: 4px; position: relative; }
.seg .segbg { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 13px; background: var(--grad); box-shadow: 0 8px 20px -10px rgba(110, 240, 194, .8); transition: transform .5s var(--spring), width .3s var(--ease); }
.seg button { position: relative; z-index: 1; flex: 1; height: 42px; border: 0; border-radius: 13px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; transition: color .3s; }
.seg button.on { color: var(--mint-ink); }
.seg.big button { height: 54px; font-size: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.1; }
.seg.big button small { font-size: 11.5px; font-weight: 600; opacity: .75; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 40px; padding: 0 15px; border-radius: 13px; border: 1px solid var(--stroke); background: rgba(0, 0, 0, .25); color: var(--text); font-weight: 600; font-size: 14px; transition: all .25s var(--ease); }
.chips button.on { background: var(--mint-soft); border-color: rgba(110, 240, 194, .6); color: var(--mint); }
.chips button:active { transform: scale(.94); }
.check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin: 10px 2px; }
.check input { width: 20px; height: 20px; accent-color: var(--mint2); flex: none; }
.err { color: var(--red); font-size: 13px; margin: 0 0 10px; }

/* ---------- Bottom sheet ---------- */
.scrim { position: fixed; inset: 0; background: rgba(2, 3, 5, .62); z-index: 40; opacity: 0; transition: opacity .35s ease; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.scrim.open { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-width: 560px; margin: 0 auto; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(120% 50% at 50% 0%, rgba(110, 240, 194, .08), transparent 60%), rgba(16, 20, 26, .95); backdrop-filter: blur(30px) saturate(1.4); -webkit-backdrop-filter: blur(30px) saturate(1.4);
  border: 1px solid var(--stroke2); border-bottom: 0; border-radius: 32px 32px 0 0; padding: 8px 20px calc(var(--safe-b) + 24px); transform: translateY(105%); transition: transform .5s var(--spring); box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .7); }
.sheet.open { transform: none; }
.sheet.drag { transition: none; }
.grab { width: 42px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .18); margin: 6px auto 16px; }
.sheet .s-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.sheet .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sheet .actions .btn { flex: 1 1 40%; }

/* ---------- Raportare ---------- */
.report { position: relative; overflow: hidden; border-radius: 26px; padding: 18px; border: 1px solid var(--stroke); background: radial-gradient(100% 120% at 100% 0%, rgba(110, 240, 194, .14), transparent 60%), rgba(0, 0, 0, .25); }
.report.done { border-color: rgba(110, 240, 194, .4); }
.money-in { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 12px; }
.money-in input { width: 3ch; max-width: 80%; border: 0; background: transparent; font-size: 52px; font-weight: 800; letter-spacing: -.05em; outline: none; padding: 0; font-variant-numeric: tabular-nums; caret-color: var(--mint); }
.money-in span { font-size: 20px; color: var(--muted); font-weight: 700; }
.tips { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tips button { height: 36px; padding: 0 13px; border-radius: 12px; border: 1px solid var(--stroke); background: var(--glass); color: var(--mint); font-weight: 800; font-size: 13px; transition: transform .2s var(--spring); }
.tips button:active { transform: scale(.88); }
.diff { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.done-mark { width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: var(--mint-ink); display: grid; place-items: center; animation: pop .55s var(--spring) both; box-shadow: 0 0 40px rgba(110, 240, 194, .5); flex: none; }
.done-mark svg { width: 30px; height: 30px; stroke-width: 2.8; stroke-dasharray: 30; --len: 30; animation: draw .5s .25s var(--ease) both; }
.report-later { width: 100%; display: flex; align-items: center; gap: 12px; background: rgba(0, 0, 0, .2); border: 1px dashed var(--stroke2); border-radius: 22px; padding: 16px; color: var(--muted); font-size: 14px; text-align: left; }
.report-later .grow { flex: 1; }

/* ---------- Liste ---------- */
.list { display: flex; flex-direction: column; gap: 8px; }
.item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; background: var(--glass); border: 1px solid var(--stroke); box-shadow: var(--hi); border-radius: 18px; text-align: left; width: 100%; color: inherit; transition: transform .2s var(--spring), background .2s; }
.sheet .item { background: rgba(0, 0, 0, .22); box-shadow: none; gap: 10px; padding: 9px 10px; }
.sheet .item .av.lg { width: 38px; height: 38px; font-size: 12px; }
.item:active { transform: scale(.98); }
.item .grow { flex: 1; min-width: 0; }
.item .t { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.item .s { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { display: flex; align-items: center; gap: 4px; background: var(--glass); border: 1px solid var(--stroke); border-radius: 12px; padding: 0 9px; height: 38px; transition: border-color .3s; }
.price input { width: 34px; border: 0; background: transparent; text-align: right; font-weight: 800; outline: none; font-size: 15px; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 12px; font-weight: 600; }
.price.saved { border-color: var(--mint); }
.wa-btn { width: 40px; height: 40px; border-radius: 13px; border: 0; background: rgba(43, 224, 122, .12); color: var(--wa); display: grid; place-items: center; flex: none; transition: transform .2s var(--spring), background .3s, color .3s; }
.wa-btn:active { transform: scale(.86); }
.wa-btn.sent { background: var(--wa); color: #03240F; }
.rm-btn { width: 30px; height: 30px; border-radius: 10px; border: 0; background: transparent; color: var(--dim); display: grid; place-items: center; flex: none; }
.rm-btn svg { width: 16px; height: 16px; }
.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 17px; color: var(--muted); }
.search input { padding-left: 46px; background: var(--glass); }

/* ---------- Copii (grilă) ---------- */
.kids-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.kid-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px 10px 14px; color: inherit; transition: transform .25s var(--spring); min-width: 0; }
.kid-card:active { transform: scale(.96); }
.kid-card .t { font-weight: 800; font-size: 14.5px; letter-spacing: -.02em; line-height: 1.2; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kid-card .s { font-size: 12px; color: var(--muted); margin-top: -6px; }
.sex-dot { position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; border: 2.5px solid var(--bg); }
.sex-dot.M { background: #6FA8FF; color: #06203F; }
.sex-dot.F { background: #FF8FC2; color: #3F0622; }

/* Poza copilului */
.photo-pick { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 0 20px; }
.photo-pick .ph, .kid-hero .ph { position: relative; cursor: pointer; display: inline-block; }
.cam { position: absolute; right: 2px; bottom: 2px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: var(--mint-ink); display: grid; place-items: center; border: 3px solid #10141A; box-shadow: 0 6px 16px -4px rgba(110, 240, 194, .7); }
.cam svg { width: 18px; height: 18px; stroke-width: 2.2; }
.photo-pick .btns { display: flex; gap: 8px; }
.busy { position: absolute; inset: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.kid-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin: -6px 0 18px; }
.kid-hero .ph { margin-bottom: 10px; }

/* ---------- Bani ---------- */
.period { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 0; }
.period .lbl { font-weight: 800; text-transform: capitalize; text-align: center; flex: 1; letter-spacing: -.02em; }
.money-hero { position: relative; overflow: hidden; margin-top: 16px; padding: 22px 20px 16px; border-radius: 30px; border: 1px solid rgba(110, 240, 194, .22);
  background: radial-gradient(110% 120% at 0% 0%, rgba(110, 240, 194, .2), transparent 55%), radial-gradient(90% 110% at 100% 100%, rgba(140, 140, 255, .16), transparent 60%), rgba(255, 255, 255, .035); box-shadow: var(--hi), 0 30px 70px -36px rgba(110, 240, 194, .5); }
.money-hero .big { font-size: 54px; font-weight: 800; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 8px; }
.money-hero .big small { font-size: 22px; color: var(--muted); font-weight: 700; margin-left: 6px; letter-spacing: -.02em; }
.money-hero .vs { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.chart { margin: 18px -4px 0; position: relative; touch-action: pan-y; }
.chart svg { width: 100%; height: 130px; display: block; overflow: visible; }
.chart .line { fill: none; stroke: var(--mint); stroke-width: 2.6; filter: drop-shadow(0 4px 8px rgba(110, 240, 194, .45)); stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.4s var(--ease) .15s forwards; }
.chart .area { opacity: 0; animation: fade .9s ease .6s forwards; }
.chart .exp { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; stroke-dasharray: 4 5; }
.chart .cursor { stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .pt { fill: var(--mint); stroke: #0B0F14; stroke-width: 3; }
.chart-x { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--dim); font-weight: 600; margin-top: 6px; padding: 0 2px; }
.chart-tip { min-height: 20px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.stat { padding: 14px 16px; }
.stat .ic { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--mint); margin-bottom: 10px; }
.stat .ic svg { width: 17px; height: 17px; }
.stat small { color: var(--muted); font-size: 12px; font-weight: 600; display: block; }
.stat b { font-size: 21px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* ---------- Bara de jos ---------- */
.nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-b) + 14px); z-index: 30; width: calc(100% - 28px); max-width: 520px; display: flex; align-items: center; justify-content: space-around; background: rgba(18, 22, 29, .72); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); border: 1px solid var(--stroke2); box-shadow: var(--hi), 0 20px 50px -16px rgba(0, 0, 0, .8); border-radius: 28px; padding: 8px; }
.nav a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 5px; color: var(--dim); font-size: 10.5px; font-weight: 700; border-radius: 18px; transition: color .3s; }
.nav a svg { width: 23px; height: 23px; transition: transform .4s var(--spring); }
.nav a.on { color: var(--mint); }
.nav a.on svg { transform: translateY(-2px) scale(1.1); }
.nav-add { width: 56px; height: 56px; border-radius: 20px; border: 0; background: var(--grad); color: var(--mint-ink); display: grid; place-items: center; margin: -22px 4px 0; flex: none; transition: transform .3s var(--spring); box-shadow: 0 14px 30px -8px rgba(110, 240, 194, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.nav-add svg { width: 26px; height: 26px; stroke-width: 2.6; transition: transform .4s var(--spring); }
.nav-add:active { transform: scale(.88); }
.nav-add:active svg { transform: rotate(90deg); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; top: calc(var(--safe-t) + 14px); transform: translate(-50%, -160%); z-index: 60; background: rgba(242, 244, 247, .96); color: #0A0D12; padding: 12px 18px; border-radius: 16px; font-weight: 700; font-size: 14px; transition: transform .5s var(--spring); max-width: calc(100% - 32px); text-align: center; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); }
.toast.show { transform: translate(-50%, 0); }
.toast.bad { background: var(--red); color: #2A0707; }

/* ---------- Login ---------- */
.auth { min-height: calc(100dvh - 150px); display: flex; flex-direction: column; justify-content: center; }
.logo { width: 72px; height: 72px; border-radius: 24px; background: var(--grad); color: var(--mint-ink); display: grid; place-items: center; font-size: 32px; font-weight: 800; margin-bottom: 22px; animation: pop .7s var(--spring) both; box-shadow: 0 20px 50px -14px rgba(110, 240, 194, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.auth h1 { font-size: 36px; }

/* ---------- Setări ---------- */
.set-card { padding: 16px; }
.set-row { display: flex; align-items: center; gap: 12px; }
.set-row + .set-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--stroke); }
.set-row .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint); flex: none; }
.set-row .ic.privat { background: var(--violet-soft); color: var(--violet); }
.preview { background: linear-gradient(160deg, #0E3B28, #0A2A1D); color: #DDF7E8; border-radius: 18px 18px 18px 5px; padding: 12px 14px; font-size: 14px; margin-top: 12px; box-shadow: 0 10px 24px -14px rgba(43, 224, 122, .6); }
.skel { height: 86px; border-radius: var(--r); background: linear-gradient(90deg, var(--glass) 0, rgba(255, 255, 255, .08) 50%, var(--glass) 100%); background-size: 600px 100%; animation: shimmer 1.3s infinite linear; margin: 0 0 12px; }

/* ---------- Pauză între ore ---------- */
.break { position: relative; display: flex; align-items: center; gap: 10px; min-height: var(--h, 40px); margin: -2px 0 10px; padding: 0 14px; border-radius: 16px; color: var(--muted); font-size: 12.5px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 8px, transparent 8px 16px); border: 1px dashed rgba(255, 255, 255, .1); }
.break svg { width: 17px; height: 17px; color: var(--amber); flex: none; }
.break b { color: var(--text); font-weight: 700; }
.break span:not(.pill) { flex: 1; }
.break::before { content: ""; position: absolute; left: -21px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 2px solid var(--amber); background: var(--bg); }
.break.now { border-color: rgba(110, 240, 194, .45); background: repeating-linear-gradient(135deg, rgba(110, 240, 194, .06) 0 8px, transparent 8px 16px); }
.break.now::before { border-color: var(--mint); background: var(--mint); animation: pulse 1.6s infinite; }

/* ---------- Logo și login ---------- */
img.me { padding: 0; background: none; object-fit: cover; border-radius: 14px; }
img.logo { width: 84px; height: 84px; border-radius: 26px; background: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; font-weight: 600; margin: 20px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--stroke); }
