/* MY INFINOOVIA — design pentru iPhone (430 × 932 pe 14 Pro Max), luminos și întunecat */
:root {
  --teal: #29B2D2; --indigo: #5E6ACF; --violet: #6032EA;
  --grad: linear-gradient(135deg, #29B2D2 0%, #5E6ACF 52%, #6032EA 100%);
  --grad-btn: linear-gradient(135deg, #5E6ACF 0%, #6032EA 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-d: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --r: 18px; --r-lg: 24px; --r-xl: 30px;
  --ease: cubic-bezier(.2, .9, .25, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
  --bg: #F2F3F9; --bg-2: #E9EBF5; --surface: #FFFFFF; --surface-2: #F6F7FC; --surface-3: #ECEEF7;
  --text: #15173A; --text-2: #565B80; --text-3: #8F94B2; --border: #E4E6F1; --border-2: #D3D7E8;
  --accent: #5E6ACF; --accent-soft: #ECEEFF; --accent-text: #4450B8;
  --good: #16A34A; --good-soft: #E3F6EA; --warn: #D97706; --warn-soft: #FEF2DD; --bad: #E5484D; --bad-soft: #FDECEC;
  --flame: #F97316;
  --shadow: 0 1px 2px rgba(21,23,58,.05), 0 6px 22px rgba(21,23,58,.07);
  --shadow-lg: 0 20px 60px rgba(21,23,58,.22);
  --tab-bg: rgba(255,255,255,.82);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0B0C22; --bg-2: #111332; --surface: #15173A; --surface-2: #1B1E47; --surface-3: #232757;
  --text: #F3F4FF; --text-2: #B6BADF; --text-3: #7E83AE; --border: #262A5A; --border-2: #343973;
  --accent: #8C95F0; --accent-soft: #252A63; --accent-text: #AEB5FF;
  --good: #3FCF7A; --good-soft: #143A2A; --warn: #F2A93B; --warn-soft: #3D2E12; --bad: #FF6B6F; --bad-soft: #43191E;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 26px rgba(0,0,0,.28);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.55);
  --tab-bg: rgba(21,23,58,.82);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button { font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: var(--text); }
a { color: var(--accent-text); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); } .faint { color: var(--text-3); } .small { font-size: 14px; } .tiny { font-size: 12.5px; } .strong { font-weight: 650; }
.row { display: flex; align-items: center; gap: 10px; } .row-sm { display: flex; align-items: center; gap: 6px; } .between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; } .stack { display: flex; flex-direction: column; gap: 12px; } .stack-lg { display: flex; flex-direction: column; gap: 22px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ico { flex: none; display: block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------- previzualizarea pe laptop (rama de iPhone) */
.stage { min-height: 100%; }
.preview-on body, body.preview-on { background: radial-gradient(1200px 700px at 20% 10%, #2B2470 0%, transparent 60%), radial-gradient(900px 600px at 90% 90%, #0F5A73 0%, transparent 60%), #0A0B20; }
.preview { min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 56px; padding: 28px; }
.preview-side { color: #fff; max-width: 340px; }
.preview-side h1 { font-family: var(--font-d); font-size: 34px; letter-spacing: -.02em; margin: 14px 0 8px; }
.preview-side p { color: rgba(255,255,255,.72); margin: 0 0 18px; }
.preview-side .pbtn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; padding: 10px 14px; border-radius: 14px; cursor: pointer; font-weight: 600; margin: 0 8px 8px 0; }
.preview-side .pbtn:hover { background: rgba(255,255,255,.16); }
.qr-box { background: #fff; border-radius: 18px; padding: 14px; display: inline-block; margin-top: 6px; }
.qr-box img { display: block; width: 160px; height: 160px; image-rendering: pixelated; }
.device { position: relative; width: 430px; height: 932px; max-height: calc(100vh - 56px); aspect-ratio: 430 / 932; border-radius: 62px; padding: 12px; background: linear-gradient(145deg, #3A3B52, #121320); box-shadow: 0 50px 120px rgba(0,0,0,.6), inset 0 0 0 2px #50526C; flex: none; }
.device .screen { width: 100%; height: 100%; border-radius: 51px; overflow: hidden; position: relative; transform: translateZ(0); background: var(--bg); }
.device .island { position: absolute; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; background: #000; border-radius: 20px; z-index: 200; pointer-events: none; }
.device .screen { --safe-top: 54px; --safe-bottom: 26px; }
@media (max-height: 960px) { .device { width: calc((100vh - 56px) * 430 / 932); height: calc(100vh - 56px); } }
.device .screen, .device .app { min-width: 0; }

/* ---------------------------------------------------------------- structura */
.app { height: 100dvh; display: flex; flex-direction: column; position: relative; overflow: hidden; background: var(--bg); }
.device .app { height: 100%; }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding: calc(var(--safe-top) + 10px) 18px calc(var(--safe-bottom) + 110px); scroll-behavior: smooth; }
.scroll::-webkit-scrollbar { width: 0; }
@media (min-width: 760px) { .full .scroll { max-width: 560px; margin: 0 auto; width: 100%; } }
.page-title { font-family: var(--font-d); font-size: 32px; font-weight: 750; letter-spacing: -.025em; margin: 6px 0 2px; }
.page-sub { color: var(--text-2); font-size: 15px; margin-bottom: 16px; }
.section-t { font-size: 13px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; margin: 22px 4px 10px; display: flex; align-items: center; gap: 8px; }
.section-t .right { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--accent-text); background: none; border: 0; cursor: pointer; font-size: 14px; }

/* bara de jos */
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px 10px calc(var(--safe-bottom) + 8px); background: var(--tab-bg); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); border-top: 1px solid var(--border); display: flex; align-items: flex-end; justify-content: space-around; }
.tab { flex: 1; background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--text-3); padding: 4px 0; cursor: pointer; text-decoration: none; transition: color .2s; position: relative; }
.tab.on { color: var(--accent-text); }
.tab.on .ico { transform: translateY(-1px) scale(1.06); }
.tab .ico { transition: transform .3s var(--spring); }
.tab .dot { position: absolute; top: 0; right: calc(50% - 18px); min-width: 17px; height: 17px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.fab { width: 58px; height: 58px; border-radius: 20px; border: 0; background: var(--grad-btn); color: #fff; display: grid; place-items: center; margin-top: -26px; box-shadow: 0 12px 26px rgba(96,50,234,.42); cursor: pointer; transition: transform .25s var(--spring); flex: none; }
.fab:active { transform: scale(.9); }

/* ---------------------------------------------------------------- elemente de bază */
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; }
.card.flat { box-shadow: none; border: 1px solid var(--border); }
.card + .card { margin-top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 16px; padding: 13px 18px; font-weight: 650; font-size: 16px; cursor: pointer; background: var(--surface-3); color: var(--text); transition: transform .2s var(--spring), opacity .2s, background .2s; text-decoration: none; }
.btn:active { transform: scale(.96); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 20px rgba(96,50,234,.28); }
.btn-ghost { background: transparent; color: var(--accent-text); }
.btn-soft { background: var(--accent-soft); color: var(--accent-text); }
.btn-danger { background: var(--bad-soft); color: var(--bad); }
.btn-sm { padding: 8px 12px; border-radius: 12px; font-size: 14px; }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 14px; border: 0; background: var(--surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: transform .2s var(--spring); }
.icon-btn:active { transform: scale(.9); }
.icon-btn.plain { background: transparent; box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--surface-3); color: var(--text-2); border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: all .18s; }
.chip.on { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent); }
.chip .x { opacity: .6; margin-left: 2px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll-x { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px; }
.chips.scroll-x::-webkit-scrollbar { display: none; }
.badge-n { min-width: 20px; height: 20px; border-radius: 10px; background: var(--surface-3); color: var(--text-2); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; }
.input, .textarea, .select { width: 100%; border: 1.5px solid var(--border-2); background: var(--surface); border-radius: 14px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; font-size: 16px; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.textarea { min-height: 84px; resize: vertical; }
.input-xl { font-size: 21px; font-weight: 650; border: 0; background: transparent; padding: 6px 0; box-shadow: none !important; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > .lbl { font-size: 13.5px; font-weight: 650; color: var(--text-2); }
.field .hint { font-size: 12.5px; color: var(--text-3); }
.seg { display: flex; background: var(--surface-3); border-radius: 14px; padding: 3px; gap: 2px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 9px 6px; border-radius: 11px; font-weight: 650; font-size: 14px; color: var(--text-2); cursor: pointer; transition: all .2s; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--border-2); border-radius: 31px; transition: background .2s; cursor: pointer; }
.switch span::after { content: ''; position: absolute; width: 27px; height: 27px; left: 2px; top: 2px; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s var(--spring); }
.switch input:checked + span { background: var(--good); }
.switch input:checked + span::after { transform: translateX(20px); }
.list { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--border); cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; }
.li:last-child { border-bottom: 0; }
.li:active { background: var(--surface-2); }
.li .ico-box { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.empty { text-align: center; padding: 26px 16px; color: var(--text-2); }
.empty .em { width: 58px; height: 58px; border-radius: 20px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--border-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size: 200% 100%; animation: sk 1.2s ease-in-out infinite; border-radius: var(--r-lg); }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------------------------------------------------------------- „Azi” */
.hello { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hello .date { font-size: 13.5px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.hello h1 { font-family: var(--font-d); font-size: 30px; font-weight: 750; letter-spacing: -.025em; margin: 2px 0 0; line-height: 1.12; }
.avatar { width: 42px; height: 42px; border-radius: 15px; background: var(--grad); color: #fff; font-weight: 750; display: grid; place-items: center; border: 0; cursor: pointer; font-size: 15px; box-shadow: 0 6px 16px rgba(94,106,207,.35); }
.hero { border-radius: var(--r-xl); padding: 18px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #2BB8D6 0%, #5E6ACF 45%, #4B22D8 100%); box-shadow: 0 18px 40px rgba(75,34,216,.32); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: url(/img/icon.svg) center / contain no-repeat; opacity: .14; filter: brightness(3) saturate(0); pointer-events: none; }
.hero-row { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; }
.hero .stat { display: flex; flex-direction: column; }
.hero .stat b { font-family: var(--font-d); font-size: 22px; font-weight: 750; line-height: 1.1; }
.hero .stat span { font-size: 12.5px; opacity: .82; }
.hero .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; flex: 1; }
.hero .lvl { margin-top: 14px; position: relative; z-index: 1; }
.hero .lvl .bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,.22); overflow: hidden; margin-top: 6px; }
.hero .lvl .bar span { display: block; height: 100%; background: #fff; border-radius: 6px; transition: width .8s var(--ease); }
.ring text { font-family: var(--font-d); }
.ring .track { stroke: rgba(255,255,255,.22); }
.ring .val { transition: stroke-dashoffset .9s var(--ease); }
.flame { display: inline-flex; align-items: center; gap: 4px; color: var(--flame); font-weight: 750; }
.flame.big { font-size: 22px; }
.flame .ico { filter: drop-shadow(0 2px 6px rgba(249,115,22,.4)); }
.plan-card { display: flex; align-items: center; gap: 14px; cursor: pointer; border: 0; width: 100%; text-align: left; }
.plan-card .pico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.week-top { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; }
.week-top::-webkit-scrollbar { display: none; }
.week-top span { flex: none; padding: 8px 12px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600; }

/* sarcini */
.task { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); cursor: pointer; transition: transform .25s var(--ease), opacity .35s, background .2s; position: relative; }
.task + .task { margin-top: 8px; }
.task:active { transform: scale(.985); }
.task.done .t-title { color: var(--text-3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--text-3) 60%, transparent); }
.task.leaving { opacity: 0; transform: translateX(30px); }
.task.top { padding: 16px; border-radius: 22px; }
.task.top .t-title { font-size: 17px; font-weight: 650; }
.check { width: 28px; height: 28px; border-radius: 50%; border: 2.4px solid var(--c, var(--border-2)); background: transparent; flex: none; display: grid; place-items: center; cursor: pointer; padding: 0; transition: transform .3s var(--spring), background .2s; color: #fff; margin-top: -1px; }
.check .ico { opacity: 0; transform: scale(.4); transition: all .3s var(--spring); }
.check.on { background: var(--c, var(--good)); border-color: var(--c, var(--good)); }
.check.on .ico { opacity: 1; transform: scale(1); }
.check.pop { animation: pop .45s var(--spring); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.32); } 100% { transform: scale(1); } }
.t-title { font-size: 16px; line-height: 1.3; word-break: break-word; }
.t-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 13px; color: var(--text-3); align-items: center; }
.t-meta .m { display: inline-flex; align-items: center; gap: 4px; }
.t-meta .late { color: var(--bad); font-weight: 600; }
.area-dot { width: 8px; height: 8px; border-radius: 3px; display: inline-block; flex: none; }
.top-n { position: absolute; left: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-btn); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(96,50,234,.35); }
.star { color: #F5B301; }

/* obiceiuri (cercurile de azi) */
.habits-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 6px; }
.habit-b { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; padding: 0; position: relative; }
.habit-b .hc { width: 66px; height: 66px; position: relative; display: grid; place-items: center; transition: transform .3s var(--spring); }
.habit-b:active .hc { transform: scale(.9); }
.habit-b .hc svg.r { position: absolute; inset: 0; transform: rotate(-90deg); }
.habit-b .hc .in { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); color: var(--c); transition: background .3s, color .3s; }
.habit-b.done .hc .in { background: var(--c); color: #fff; }
.habit-b .hn { font-size: 12.5px; font-weight: 600; color: var(--text-2); text-align: center; line-height: 1.2; max-width: 88px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.habit-b .hs { position: absolute; top: -2px; right: 2px; background: var(--surface); border-radius: 10px; padding: 1px 6px; font-size: 11px; font-weight: 750; color: var(--flame); box-shadow: var(--shadow); display: flex; align-items: center; gap: 2px; }
.habit-b.off { opacity: .45; }
.habit-b.pop .hc { animation: pop .5s var(--spring); }

/* fișa unui obicei */
.habit-card { display: flex; align-items: center; gap: 12px; }
.week-dots { display: flex; gap: 5px; }
.week-dots i { width: 22px; height: 22px; border-radius: 8px; background: var(--surface-3); display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; color: var(--text-3); }
.week-dots i.on { background: var(--c); color: #fff; }
.week-dots i.today { outline: 2px solid var(--c); outline-offset: 1px; }
.heat { display: grid; grid-template-rows: repeat(7, 10px); grid-auto-columns: 10px; grid-auto-flow: column; gap: 3px; justify-content: start; }
.heat.lg { grid-template-rows: repeat(7, 1fr); grid-auto-columns: 1fr; justify-content: stretch; }
.heat i { width: 100%; height: 100%; border-radius: 3px; background: var(--surface-3); display: block; }
.heat.lg i { aspect-ratio: 1; height: auto; }

/* bottom sheet */
.sheet-root { position: absolute; inset: 0; z-index: 120; display: flex; align-items: flex-end; }
.backdrop { position: absolute; inset: 0; background: rgba(8,9,30,.42); animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; width: 100%; max-height: 92%; background: var(--bg); border-radius: 30px 30px 0 0; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: up .42s var(--ease); }
@keyframes up { from { transform: translateY(100%); } }
.sheet.closing { transform: translateY(100%); transition: transform .28s ease-in; }
.sheet .handle { width: 40px; height: 5px; border-radius: 3px; background: var(--border-2); margin: 9px auto 2px; flex: none; }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 8px 18px 6px; flex: none; }
.sheet-head h2 { font-family: var(--font-d); font-size: 21px; font-weight: 750; margin: 0; letter-spacing: -.015em; flex: 1; }
.sheet-body { overflow-y: auto; padding: 8px 18px calc(var(--safe-bottom) + 18px); -webkit-overflow-scrolling: touch; }
.sheet-foot { padding: 10px 18px calc(var(--safe-bottom) + 14px); border-top: 1px solid var(--border); display: flex; gap: 10px; flex: none; background: var(--bg); }
.sheet-foot .btn { white-space: nowrap; flex: none; padding: 13px 15px; }
.sheet-foot .btn.btn-block { flex: 1; }

/* notificări mici (toast) */
.toasts { position: absolute; left: 0; right: 0; bottom: calc(var(--safe-bottom) + 96px); z-index: 300; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { pointer-events: auto; background: #15173A; color: #fff; border-radius: 16px; padding: 11px 14px; font-size: 14.5px; font-weight: 550; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: toastIn .4s var(--spring); max-width: 100%; }
:root[data-theme="dark"] .toast { background: #F3F4FF; color: #15173A; }
.toast button { border: 0; background: rgba(255,255,255,.16); color: inherit; border-radius: 10px; padding: 6px 10px; font-weight: 700; cursor: pointer; }
@keyframes toastIn { from { transform: translateY(16px) scale(.96); opacity: 0; } }

/* recompense: puncte care urcă, confetti, nivel nou */
.xp-float { position: absolute; z-index: 400; pointer-events: none; font-family: var(--font-d); font-weight: 800; font-size: 18px; color: var(--accent-text); animation: xpUp 1.15s var(--ease) forwards; text-shadow: 0 2px 10px rgba(94,106,207,.35); white-space: nowrap; }
@keyframes xpUp { 0% { transform: translate(-50%, 0) scale(.6); opacity: 0; } 20% { transform: translate(-50%, -14px) scale(1.15); opacity: 1; } 100% { transform: translate(-50%, -64px) scale(1); opacity: 0; } }
.confetti { position: absolute; inset: 0; z-index: 390; pointer-events: none; }
.celebrate { position: absolute; inset: 0; z-index: 380; display: grid; place-items: center; padding: 26px; background: radial-gradient(circle at 50% 40%, rgba(94,106,207,.35), rgba(8,9,30,.72)); animation: fade .3s ease; }
.celebrate .box { background: var(--surface); border-radius: 32px; padding: 28px 22px 20px; text-align: center; width: 100%; max-width: 360px; box-shadow: var(--shadow-lg); animation: celebIn .6s var(--spring); }
@keyframes celebIn { from { transform: scale(.7) translateY(30px); opacity: 0; } }
.celebrate .medal { width: 104px; height: 104px; margin: -78px auto 12px; border-radius: 34px; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 18px 40px rgba(96,50,234,.45); position: relative; }
.celebrate .medal::before { content: ''; position: absolute; inset: -10px; border-radius: 42px; border: 2px solid rgba(94,106,207,.35); animation: halo 2s ease-out infinite; }
@keyframes halo { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.celebrate h2 { font-family: var(--font-d); font-size: 26px; margin: 4px 0 6px; letter-spacing: -.02em; }
.celebrate p { color: var(--text-2); margin: 0 0 18px; }
.ach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ach .a { background: var(--surface); border-radius: 20px; padding: 14px 8px; text-align: center; box-shadow: var(--shadow); }
.ach .a .ai { width: 48px; height: 48px; border-radius: 16px; margin: 0 auto 8px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.ach .a.locked .ai { background: var(--surface-3); color: var(--text-3); }
.ach .a.locked { opacity: .7; }
.ach .a b { font-size: 12.5px; display: block; line-height: 1.2; }
.ach .a span { font-size: 11px; color: var(--text-3); display: block; margin-top: 3px; line-height: 1.25; }

/* focus */
.focus-page { position: absolute; inset: 0; z-index: 90; background: radial-gradient(120% 90% at 50% 0%, #2A2470 0%, #0B0C22 70%); color: #fff; display: flex; flex-direction: column; align-items: center; padding: calc(var(--safe-top) + 14px) 22px calc(var(--safe-bottom) + 22px); }
.focus-page .ft { font-size: 15px; opacity: .75; text-align: center; margin-top: 4px; }
.focus-ring { position: relative; width: 290px; height: 290px; margin: 26px 0 18px; display: grid; place-items: center; }
.focus-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.focus-ring .time { font-family: var(--font-d); font-size: 64px; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.focus-ring .breath { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(41,178,210,.28), transparent 70%); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.85); opacity: .5; } 50% { transform: scale(1.12); opacity: 1; } }
.focus-page .chip { background: rgba(255,255,255,.1); color: #fff; }
.focus-page .chip.on { background: #fff; color: #15173A; border-color: #fff; }
.focus-page .btn { background: rgba(255,255,255,.12); color: #fff; }
.focus-page .btn-primary { background: #fff; color: #15173A; box-shadow: none; }

/* progres */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--surface); border-radius: 20px; padding: 14px; box-shadow: var(--shadow); }
.kpi b { font-family: var(--font-d); font-size: 24px; font-weight: 750; display: block; letter-spacing: -.01em; }
.kpi span { font-size: 13px; color: var(--text-2); }
.bars7 { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars7 .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars7 .b i { width: 100%; max-width: 30px; border-radius: 8px 8px 4px 4px; background: var(--grad); display: block; transition: height .7s var(--ease); min-height: 4px; }
.bars7 .b i.future { background: var(--surface-3); }
.bars7 .b i.low { background: var(--surface-3); }
.bars7 .b span { font-size: 11.5px; color: var(--text-3); font-weight: 600; }
.bars7 .b em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--text-2); }
.goal { padding: 16px; }
.goal .pbar { height: 10px; border-radius: 6px; background: var(--surface-3); overflow: hidden; margin: 10px 0 6px; }
.goal .pbar span { display: block; height: 100%; border-radius: 6px; background: var(--grad); transition: width .8s var(--ease); }

/* autentificare și pornire */
.auth { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--safe-top) + 24px) 24px calc(var(--safe-bottom) + 24px); }
.auth .logo { width: 84px; height: 84px; border-radius: 26px; background: linear-gradient(145deg, #1D1F52, #2C1B78); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(44,27,120,.45); margin-bottom: 20px; }
.auth .logo img { width: 58px; height: 58px; }
.auth h1 { font-family: var(--font-d); font-size: 32px; letter-spacing: -.025em; margin: 0 0 6px; }
.steps { display: flex; gap: 6px; margin-bottom: 22px; }
.steps i { height: 5px; flex: 1; border-radius: 3px; background: var(--border-2); }
.steps i.on { background: var(--grad); }
.pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pick { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--border-2); background: var(--surface); cursor: pointer; text-align: left; transition: all .2s; }
.pick.on { border-color: var(--accent); background: var(--accent-soft); }
.pick .pi { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--surface-3); color: var(--text-2); }
.pick.on .pi { background: var(--accent); color: #fff; }
.pick b { font-size: 14px; display: block; line-height: 1.2; color: var(--text); }
.pick span { font-size: 12px; color: var(--text-3); }
.energy { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.energy button { border: 1.5px solid var(--border-2); background: var(--surface); border-radius: 16px; padding: 12px 4px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 650; color: var(--text-2); transition: all .2s var(--spring); }
.energy button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); transform: translateY(-2px); }
.energy .bat { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 6px; position: relative; display: flex; flex-direction: column-reverse; gap: 2px; padding: 2px; }
.energy .bat::before { content: ''; position: absolute; top: -5px; left: 6px; width: 6px; height: 3px; background: currentColor; border-radius: 1px; }
.energy .bat i { height: 4px; border-radius: 1.5px; background: currentColor; opacity: .18; }
.energy .bat i.f { opacity: 1; }
.parse { display: flex; gap: 6px; flex-wrap: wrap; min-height: 30px; margin-top: 6px; }
.kbd-hint { font-size: 12.5px; color: var(--text-3); margin-top: 8px; }
.kbd-hint code { background: var(--surface-3); padding: 1px 5px; border-radius: 6px; font-family: inherit; font-weight: 650; color: var(--text-2); }
.haptic-src { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; left: -10px; top: -10px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.sheet-head .sh-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }

/* ================================================================ runda 2 */
.mt12 { margin-top: 12px; }
.celebrate p { white-space: pre-line; }
.celebrate .box.with-art { padding-top: 22px; }
.celebrate .art { display: grid; place-items: center; margin: -96px auto 10px; filter: drop-shadow(0 18px 40px rgba(96,50,234,.45)); }

/* cei patru piloni în jurul simbolului */
.pillar-btn { background: none; border: 0; padding: 0; cursor: pointer; flex: none; border-radius: 50%; }
.pillar-btn:active .pillars { transform: scale(.95); }
.pillars { position: relative; flex: none; color: #fff; transition: transform .3s var(--spring); }
.pillars svg { display: block; overflow: visible; }
.pillars .well { fill: rgba(8, 9, 40, .4); }
.pillars.big .well { fill: #15173A; }
.pillars .arc { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 11; stroke-linecap: round; transition: stroke .5s; }
.pillars .arc.on { filter: drop-shadow(0 0 5px var(--glow)); animation: arcOn .8s var(--spring); }
.pillars .sym { transition: opacity .6s; transform-box: view-box; transform-origin: 100px 100px; }
.pillars .arcs { transform-box: view-box; transform-origin: 100px 100px; }
.pillars.syn .arcs { animation: spin 28s linear infinite; }
.pillars.syn .sym { animation: symPulse 2.8s ease-in-out infinite; }
.pillars.syn .well { fill: rgba(8, 9, 40, .55); }
.pillars.big.syn .well { fill: #15173A; }
@keyframes symPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes arcOn { from { stroke-width: 3; opacity: .3; } to { stroke-width: 11; opacity: 1; } }
.pillar-legend { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; position: relative; z-index: 1; cursor: pointer; }
.pillar-legend .pl { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }
.pillar-legend .pl.on { background: var(--pc); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.hero.syn { background: radial-gradient(120% 140% at 0% 0%, #22C2A0 0%, #4C7BE0 40%, #6032EA 75%, #A23FD8 100%); }
.hero .stats { cursor: pointer; }
.hero .lvl { cursor: pointer; }
.hero.wallet { margin-top: 10px; }
.hero.wallet .wallet-n { font-family: var(--font-d); font-size: 46px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 4px 0 6px; position: relative; z-index: 1; }
.hero.wallet .wallet-n span { font-size: 20px; opacity: .8; }
.hero.wallet .small { position: relative; z-index: 1; }

/* flacăra seriei, care crește */
.flame-h { display: inline-grid; place-items: center; color: #FFD7A8; }
.flame-h.f2 { color: #FFB066; }
.flame-h.f3 { color: #FF8A3D; filter: drop-shadow(0 0 6px rgba(255, 138, 61, .7)); animation: flick 1.6s ease-in-out infinite; }
.flame-h.f4 { color: #FF6A1F; filter: drop-shadow(0 0 10px rgba(255, 106, 31, .9)); animation: flick 1.1s ease-in-out infinite; }
@keyframes flick { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.08) rotate(-3deg); } 60% { transform: scale(.97) rotate(2deg); } }

/* scurtăturile de pe „Azi” */
.tiles { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 12px -18px 0; padding: 2px 18px 4px; }
.tiles::-webkit-scrollbar { display: none; }
.tile { flex: none; width: 118px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 12px; border-radius: 18px; border: 0; background: var(--surface); box-shadow: var(--shadow); cursor: pointer; transition: transform .2s var(--spring); }
.tile:active { transform: scale(.95); }
.tile .ti { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; }
.tile b { font-size: 13.5px; line-height: 1.2; }
.tile small { font-size: 11.5px; color: var(--text-3); line-height: 1.2; margin-top: -3px; }
:root[data-theme="dark"] .tile .ti { filter: saturate(1.1) brightness(.85); }

/* somnul de dimineață */
.qual { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 12px 0; }
.qual button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; font-size: 11px; font-weight: 600; }
.qual button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.sleep-card label { display: flex; flex-direction: column; gap: 4px; }
.hard-card { border: 1.5px solid color-mix(in srgb, var(--warn) 45%, transparent); box-shadow: none; }

/* întâlniri, clinica */
.li.ev { padding: 11px 16px; }
.ev-t { font-size: 13px; font-weight: 700; color: var(--accent-text); min-width: 84px; flex: none; }
.crm-card .crm-list { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.crm-card .crm-list > div { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.crm-card .crm-list .ev-t { min-width: 44px; }

/* broasca, „aștept”, „de la” */
.task.frog { box-shadow: var(--shadow), inset 0 0 0 2px color-mix(in srgb, #1BAF7A 55%, transparent); }
.frog-b { font-size: 15px; }
.frog-pick { border: 0; background: var(--surface-3); border-radius: 12px; font-size: 18px; width: 36px; height: 32px; cursor: pointer; filter: grayscale(1); opacity: .55; transition: all .2s var(--spring); flex: none; }
.frog-pick.on { filter: none; opacity: 1; background: #DDF5EC; transform: scale(1.1); }
.check.wait { border-style: dashed; color: var(--text-3); }
.check.wait .ico { opacity: 1; transform: none; }
.check.wait.on { border-style: solid; color: #fff; }
.check.theirs { border-style: dotted; cursor: default; }
.t-meta .wait { color: var(--warn); font-weight: 600; }
.t-meta .from { color: var(--accent-text); font-weight: 600; }

/* recunoștința */
.grat-in { display: flex; align-items: center; gap: 10px; }
.grat-in .num { width: 26px; height: 26px; border-radius: 9px; background: #FDE8F0; color: #B0306A; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.grat-list { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.grat-list > div { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text-2); }
.grat-list .ico { color: #E0477F; margin-top: 2px; }
.week-ago { margin-top: 10px; background: var(--surface-2); }

/* „Descarcă-ți mintea” și „Sparge în pași” */
.dump-link { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 16px; border: 1.5px dashed var(--border-2); background: transparent; text-align: left; font-size: 14px; color: var(--text-2); cursor: pointer; }
.dump-link .ico:first-child { color: #5B2BD9; }
.dump-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); transition: opacity .2s; }
.dump-item.off { opacity: .45; }
.dump-title { width: 100%; border: 0; background: transparent; outline: none; font-size: 16px; font-weight: 600; color: var(--text); padding: 0; }
.chip-mini { border: 0; background: var(--surface-3); border-radius: 8px; padding: 2px 7px; cursor: pointer; color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.chip-mini.on { background: #FFF3CC; color: #9A6B00; }
.step-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); }
.step-n { width: 26px; height: 26px; border-radius: 9px; background: var(--grad-btn); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }

/* Corp */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat-row .card + .card { margin-top: 0; }
.stat-c { padding: 12px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.stat-c b { font-family: var(--font-d); font-size: 22px; font-weight: 800; }
.stat-c span { font-size: 11.5px; color: var(--text-3); line-height: 1.2; }
.card.workout { display: block; width: 100%; text-align: left; border: 0; cursor: pointer; }
.ex-block { padding: 12px; }
.set-head, .set-row { display: grid; grid-template-columns: 34px 1fr 1fr 34px; gap: 8px; align-items: center; }
.set-head { margin: 6px 0 4px; }
.set-head span:first-child { text-align: center; }
.set-row { margin-bottom: 6px; }
.set-row .num { text-align: center; font-weight: 700; }
.set-row .input { padding: 9px 10px; text-align: center; }
.chart { margin-top: 6px; }
.chart svg { display: block; overflow: visible; }
.chart .grid { stroke: var(--border); stroke-width: 1; }
.chart .axis { fill: var(--text-3); font-size: 10.5px; font-family: var(--font); }
.chart .goal { stroke: var(--text-3); stroke-width: 1.2; stroke-dasharray: 4 4; }
.chart .cross { stroke: var(--text-3); stroke-width: 1; stroke-dasharray: 2 3; }
.chart .dot-raw { fill: var(--text-3); opacity: .55; }
.chart .dot { stroke: var(--surface); stroke-width: 2; }
.chart-tip { font-size: 13px; color: var(--text-2); min-height: 20px; margin-top: 4px; }

/* recompense */
.card.reward { padding: 14px; }
.card.reward .rw-ico { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: #FFF1D6; color: #A86A00; flex: none; }
.card.reward.can .rw-ico { background: linear-gradient(135deg, #FFC24D, #F28C28); color: #fff; box-shadow: 0 6px 16px rgba(242, 140, 40, .35); }
.rw-bar { height: 6px; border-radius: 4px; background: var(--surface-3); overflow: hidden; margin-top: 12px; }
.rw-bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #FFC24D, #F28C28); transition: width .8s var(--ease); }

/* notițe */
.card.note { display: block; width: 100%; text-align: left; border: 0; cursor: pointer; }
.note-prev { margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.card.act { padding: 10px 12px; transition: opacity .2s; }
.card.act.off { opacity: .45; }
.card.act + .card.act { margin-top: 0; }

/* luna ta */
.wrap-cards { display: flex; flex-direction: column; gap: 12px; }
.story { border-radius: 28px; padding: 22px 20px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 16px 36px rgba(40, 30, 120, .25); }
.story::after { content: ''; position: absolute; right: -50px; bottom: -50px; width: 190px; height: 190px; background: url(/img/icon.svg) center / contain no-repeat; opacity: .12; filter: brightness(3) saturate(0); pointer-events: none; }
.story .s-k { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.story .s-big { font-family: var(--font-d); font-size: 64px; font-weight: 850; letter-spacing: -.03em; line-height: 1.02; margin: 6px 0 2px; display: flex; align-items: center; gap: 6px; }
.story .s-t { font-size: 17px; font-weight: 650; }
.story .s-sub { font-size: 14px; opacity: .85; margin-top: 10px; position: relative; z-index: 1; }
.story .s-quote { font-size: 15px; font-style: italic; margin-top: 8px; opacity: .92; position: relative; z-index: 1; }
.story .s-bar { display: grid; grid-template-columns: 62px 1fr 28px; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 650; margin-top: 6px; position: relative; z-index: 1; }
.story .s-bar .track { height: 12px; border-radius: 8px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.story .s-bar .track span { display: block; height: 100%; border-radius: 8px; }
.story .s-bar .num { text-align: right; }
.story.s1 { background: linear-gradient(140deg, #29B2D2, #5E6ACF 60%, #6032EA); }
.story.s2 { background: linear-gradient(140deg, #F97316, #E5484D 70%, #B0306A); }
.story.s3 { background: linear-gradient(140deg, #3B3FA8, #6032EA 60%, #8B5CF6); }
.story.s4 { background: linear-gradient(140deg, #15173A, #262A72); }
.story.s5 { background: linear-gradient(140deg, #0E8A5F, #1BAF7A 60%, #22A0B8); }
.story.s6 { background: linear-gradient(140deg, #B0306A, #E0477F 60%, #F59E6B); }
.story.s7 { background: linear-gradient(140deg, #5E6ACF, #2A2470); }

/* conectări */
.copy-box { margin-top: 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 10px 6px 10px 12px; }
.copy-box code { font-size: 12.5px; word-break: break-all; font-family: ui-monospace, Consolas, monospace; color: var(--text); }
.copy-box .icon-btn { box-shadow: none; background: transparent; flex: none; }
.step-ico { background: var(--grad-btn); color: #fff; font-weight: 800; }
.ok-card { background: var(--good-soft); border-color: transparent; }
.warn-card { background: var(--warn-soft); border-color: transparent; margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .pillars.syn .arcs, .pillars.syn .sym, .pillars .arc.on, .flame-h.f3, .flame-h.f4 { animation: none; }
}
.dump-title { resize: none; font-family: inherit; line-height: 1.3; display: block; }
.step-row { align-items: flex-start; }
.step-row .tiny, .step-row .icon-btn { margin-top: 2px; }

/* telefoane mai înguste (și rama de pe laptoape cu ecran mic): cardul de sus se strânge */
.app { container-type: inline-size; }
@container (max-width: 405px) {
  .hero .pillars, .hero .pillars svg { width: 96px !important; height: 96px !important; }
  .hero-row { gap: 12px; }
  .hero .stats { gap: 8px 10px; }
  .hero .stat b { font-size: 19px; }
  .hero .stat span { font-size: 11.5px; }
  .pillar-legend .pl { padding: 3px 7px; font-size: 11.5px; }
}

/* ================================================================ runda 3: „Ce mănânc”, profilul, ciclul */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.date-sw { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 0 12px; }
.date-sw b { min-width: 150px; text-align: center; font-size: 15px; }
.food-sum { margin-top: 2px; }
.macro-bar { height: 7px; border-radius: 5px; background: var(--surface-3); overflow: hidden; margin-top: 4px; }
.macro-bar span { display: block; height: 100%; border-radius: 5px; background: var(--accent); transition: width .6s var(--ease); }
.water-card .glasses { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.water-card .glasses i { width: 18px; height: 24px; border-radius: 3px 3px 6px 6px; border: 2px solid #9ED3E6; display: block; }
.water-card .glasses i.on { background: linear-gradient(180deg, #7FD1EA, #1E9BC0); border-color: #1E9BC0; }
.li.food-li { padding: 11px 16px; }
.meal-empty { display: flex; gap: 6px; padding: 6px 8px; }
.search-box { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--border-2); background: var(--surface); border-radius: 16px; padding: 4px 6px 4px 12px; color: var(--text-3); }
.search-box input { border: 0; outline: none; background: transparent; font-size: 17px; padding: 9px 0; color: var(--text); }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.food-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.food-actions button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 12.5px; font-weight: 650; cursor: pointer; }
.food-actions button .ico { color: var(--accent-text); }
.src-b { flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); background: var(--surface-3); border-radius: 6px; padding: 2px 6px; }
.src-b.mine { color: var(--good); background: var(--good-soft); }
.note-card { background: var(--warn-soft); border-color: transparent; }
.stepper { display: flex; align-items: center; gap: 6px; background: var(--surface-3); border-radius: 12px; padding: 3px; flex: none; }
.stepper button { width: 32px; height: 32px; border: 0; border-radius: 9px; background: var(--surface); font-size: 18px; font-weight: 700; cursor: pointer; color: var(--text); }
.stepper b { min-width: 38px; text-align: center; font-size: 14px; }
.qty-sum { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; background: var(--surface); border-radius: 18px; padding: 12px 6px; box-shadow: var(--shadow); text-align: center; }
.qty-sum b { display: block; font-family: var(--font-d); font-size: 19px; }
.qty-sum span { font-size: 11px; color: var(--text-3); }
.scan-box { position: relative; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 4 / 3; }
.scan-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-line { position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: #E5484D; box-shadow: 0 0 10px #E5484D; animation: scanY 2s ease-in-out infinite alternate; }
@keyframes scanY { from { top: 30%; } to { top: 70%; } }
.cycle-ask { margin-top: 4px; }

/* ciclul */
.cyc-hero-ico { width: 64px; height: 64px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; background: #FDE8EA; color: #C2373C; }
.cyc-top { display: flex; align-items: center; gap: 16px; }
.cyc-wheel { flex: none; }
.cyc-wheel .cyc-day { font-family: var(--font-d); font-size: 30px; font-weight: 800; fill: var(--text); }
.cyc-wheel .axis { fill: var(--text-3); font-size: 11px; }
.cyc-now b { display: block; font-family: var(--font-d); font-size: 22px; margin: 2px 0 4px; }
.cyc-tip { margin-top: 12px; border-left: 4px solid var(--pc); }
.cyc-card .cyc-dot { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--pc) 16%, transparent); color: var(--pc); flex: none; }
.cyc-cal .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; }
.cyc-cal .dh { text-align: center; font-size: 11.5px; color: var(--text-3); font-weight: 700; padding: 4px 0; }
.cyc-cal .cd { position: relative; aspect-ratio: 1; border: 0; border-radius: 12px; background: transparent; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; display: grid; place-items: center; padding: 0; }
.cyc-cal .cd.future { color: var(--text-3); cursor: default; }
.cyc-cal .cd.per { background: #E5484D; color: #fff; }
.cyc-cal .cd.spot { background: color-mix(in srgb, #E5484D 22%, transparent); }
.cyc-cal .cd.pred { box-shadow: inset 0 0 0 2px #E5484D; color: #C2373C; }
.cyc-cal .cd.fert { background: color-mix(in srgb, #C98500 18%, transparent); }
.cyc-cal .cd.ovu::after { content: ''; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: #C98500; }
.cyc-cal .cd.today { outline: 2.5px solid var(--text); outline-offset: -2px; }
.cyc-cal .cd i { position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12px; color: var(--text-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.cal-legend i.per { background: #E5484D; }
.cal-legend i.pred { box-shadow: inset 0 0 0 2px #E5484D; }
.cal-legend i.fert { background: color-mix(in srgb, #C98500 25%, transparent); }
.cal-legend i.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cyc-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.cyc-bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; }
.cyc-bars span { width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px; background: #8B5CF6; display: block; }
.cyc-bars b { font-size: 12px; }
.cyc-bars i { font-style: normal; font-size: 10px; color: var(--text-3); white-space: nowrap; }
details.cyc-ph { display: block; cursor: pointer; }
details.cyc-ph summary { display: flex; align-items: center; gap: 10px; list-style: none; }
details.cyc-ph summary::-webkit-details-marker { display: none; }
details.cyc-ph[open] summary .ico { transform: rotate(180deg); }
.flow-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.flow-pick button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 2px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; font-size: 11.5px; font-weight: 650; color: var(--text-2); }
.flow-pick button.on { border-color: #E5484D; background: color-mix(in srgb, #E5484D 10%, var(--surface)); color: var(--text); }
.flow-pick i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.water-mini { background: color-mix(in srgb, #1E9BC0 8%, var(--surface)); }

/* butonul ales din Seg, clar și pe fundal închis */
:root[data-theme="dark"] .seg { background: #1B1E47; }
:root[data-theme="dark"] .seg button.on { background: #4A51B0; color: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.35); }

.notif-more { margin-top: 10px; }
.notif-more > summary { list-style: none; cursor: pointer; padding: 12px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); font-weight: 600; color: var(--accent-text); }
.notif-more > summary::-webkit-details-marker { display: none; }
.notif-more[open] > summary .ico { transform: rotate(180deg); }

/* ================================================================= runda 5: calculatorul, portalul clienților, cabinetul */
.tone { flex: none; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tone-good { color: var(--good); background: var(--good-soft); }
.tone-warn { color: var(--warn); background: var(--warn-soft); }
.tone-bad { color: var(--bad); background: var(--bad-soft); }
.input.sm, .select.sm { padding: 7px 10px; font-size: 14.5px; border-radius: 11px; width: 74px; }
.select.sm { width: auto; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-text); font-weight: 650; cursor: pointer; font-size: inherit; }
.mt12 { margin-top: 12px; }
details.howto > summary, details.how-card > summary { list-style: none; cursor: pointer; color: var(--accent-text); font-weight: 600; }
details.howto > summary::-webkit-details-marker, details.how-card > summary::-webkit-details-marker { display: none; }
details.howto[open] > summary .ico:last-child, details.how-card[open] > summary .ico:last-child { transform: rotate(180deg); }
details.how-card > summary { color: var(--text); }
.empty-add { display: flex; align-items: center; gap: 10px; width: 100%; border: 1.5px dashed var(--border-2); background: transparent; color: var(--text-2); cursor: pointer; text-align: left; font-size: 14px; }

/* calculatorul */
.calc-card { margin-top: 12px; }
.calc-out > .card:first-child { margin-top: 0; }
.cc-t { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.card > .cc-t { display: flex; margin-bottom: 8px; }
.cc-t .right { margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--accent-text); background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 14px; }
.cc-big { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.cc-big b { font-family: var(--font-d); font-size: 44px; font-weight: 780; letter-spacing: -.03em; line-height: 1; }
.cc-big span { color: var(--text-2); font-size: 14px; }
.cc-rows { display: flex; flex-direction: column; gap: 2px; }
.cc-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; color: inherit; }
.cc-row:last-child { border-bottom: 0; }
.cc-row b { font-variant-numeric: tabular-nums; }
.cc-row.pickable { cursor: pointer; border-radius: 10px; padding: 8px; }
.cc-row.pickable.on { background: var(--accent-soft); }
.bmi-gauge { position: relative; margin: 16px 2px 18px; }
.bg-track { display: flex; gap: 2px; height: 12px; border-radius: 8px; overflow: hidden; }
.bg-track span { height: 100%; }
.bg-track .seg-good { background: var(--good); } .bg-track .seg-warn { background: var(--warn); } .bg-track .seg-bad { background: var(--bad); }
.bmi-gauge i { position: absolute; top: -5px; width: 4px; height: 22px; margin-left: -2px; border-radius: 3px; background: var(--text); box-shadow: 0 0 0 2px var(--surface); transition: left .5s var(--ease); }
.bg-lbl { position: relative; height: 16px; margin-top: 4px; }
.bg-lbl span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.energy-bar { display: flex; gap: 2px; height: 16px; border-radius: 9px; overflow: hidden; margin: 12px 0 10px; }
.energy-bar span { height: 100%; transition: width .5s var(--ease); }
.energy-leg { display: flex; flex-direction: column; gap: 8px; }
.energy-leg > div { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.energy-leg i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.energy-leg b { font-variant-numeric: tabular-nums; }
.macro-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.macro-bar.off span { background: var(--warn); }
.calc-notes { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.how-card { margin-top: 12px; }
.how-steps { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.sources { display: flex; flex-direction: column; gap: 6px; }
.calc-save { margin: 16px 0 8px; }
@media (min-width: 900px) { .full .calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; } .full .calc-out { position: sticky; top: 12px; } }

/* paginile late, pe tot ecranul */
@media (min-width: 760px) { .full .scroll.wide { max-width: 1120px; } }
.wide-hint { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.cab-tabs { margin: 10px 0 14px; }
.cab-tabs.scroll-x { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cab-tabs.scroll-x::-webkit-scrollbar { display: none; }
.cab-tabs .chip { position: relative; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); display: inline-block; margin-left: 2px; }
.cab-clients { display: grid; gap: 10px; }
@media (min-width: 900px) { .full .cab-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } .full .cab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; } .full .cab-grid > .card + .card { margin-top: 0; } }
.cab-grid > .card + .card { margin-top: 12px; }
@media (min-width: 900px) { .full .cab-grid > .card { margin-top: 0; } }
.cab-client { text-align: left; border: 0; cursor: pointer; width: 100%; color: inherit; transition: transform .2s var(--spring); }
.cab-client:active { transform: scale(.985); }
.cab-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.cab-entry { margin-bottom: 6px; }
.st-chip { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.st-chip.good { background: var(--good-soft); color: var(--good); } .st-chip.bad { background: var(--bad-soft); color: var(--bad); }
.st-chip.free { background: var(--warn-soft); color: var(--warn); } .st-chip.other { background: var(--accent-soft); color: var(--accent-text); }
.ci-card { margin-top: 12px; } .ci-card.new { box-shadow: var(--shadow), inset 3px 0 0 var(--accent); }
.ci-alerts { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; padding: 8px 10px; border-radius: 12px; background: var(--warn-soft); }
.ci-vals { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ci-vals span { font-size: 12.5px; padding: 3px 8px; border-radius: 8px; background: var(--surface-3); color: var(--text-2); }
.rt-thumb { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #FFE9DC; color: #B4541A; flex: none; }
.rt-thumb.big { width: 92px; height: 92px; border-radius: 18px; }
.rt-thumb img { width: 100%; height: 100%; object-fit: cover; }
:root[data-theme="dark"] .rt-thumb { background: #3A2618; color: #FFB27D; }

/* clientul: ziua, mesele din plan */
.client-hero::after { opacity: .1; }
.meal-card { margin-top: 12px; }
.meal-card.st-urmat { box-shadow: var(--shadow), inset 3px 0 0 var(--good); }
.meal-card.st-liber { box-shadow: var(--shadow), inset 3px 0 0 var(--warn); }
.meal-card.st-altceva { box-shadow: var(--shadow), inset 3px 0 0 var(--accent); }
.mc-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.mc-items { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.mc-item { display: flex; align-items: center; gap: 8px; font-size: 14.5px; padding: 5px 0; border-bottom: 1px dashed var(--border); }
.mc-item:last-child { border-bottom: 0; }
.mc-note { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.mc-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.plan-sum { margin-top: 10px; }
.plan-tot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 6px; text-align: center; }
.plan-tot b { display: block; font-family: var(--font-d); font-size: 20px; } .plan-tot span { font-size: 11.5px; color: var(--text-3); }
.adh-days { display: flex; gap: 6px; height: 90px; align-items: flex-end; margin-top: 10px; }
.adh-days > div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.adh-days i { width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px; background: var(--surface-3); display: block; }
.adh-days i.good { background: var(--good); }
.adh-days span { font-size: 10.5px; color: var(--text-3); }
.shop-li .check { width: 24px; height: 24px; }
.recipe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .full .recipe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.recipe-tile { display: flex; flex-direction: column; border: 0; padding: 0; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; cursor: pointer; text-align: left; color: inherit; }
.rt-img { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(140deg, #FFE9DC, #FFF4E8); color: #B4541A; }
:root[data-theme="dark"] .rt-img { background: linear-gradient(140deg, #3A2618, #2A1E17); color: #FFB27D; }
.rt-img img { width: 100%; height: 100%; object-fit: cover; }
.rt-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.rt-body b { font-size: 14px; line-height: 1.25; }
.recipe-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; margin-bottom: 12px; }
.steps-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.cook { display: flex; flex-direction: column; min-height: 100%; }
.cook-dots { display: flex; gap: 6px; margin-bottom: 10px; }
.cook-dots span { flex: 1; height: 5px; border-radius: 3px; background: var(--surface-3); }
.cook-dots span.done { background: var(--good); } .cook-dots span.on { background: var(--accent); }
.cook-step { font-family: var(--font-d); font-size: 26px; line-height: 1.32; font-weight: 600; letter-spacing: -.01em; margin: 18px 0; }
.cook-timer { display: flex; align-items: center; gap: 12px; }
.cook-timer b { font-family: var(--font-d); font-size: 38px; }
.ci-scale { margin: 14px 0; }
.ci-btns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.ci-btns button { padding: 11px 0; border-radius: 13px; border: 1.5px solid var(--border-2); background: var(--surface); font-weight: 750; font-size: 16px; cursor: pointer; color: var(--text-2); }
.ci-btns button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }

/* mesajele */
.thread { display: flex; flex-direction: column; height: min(66dvh, 620px); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.thread-list { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.th-day { align-self: center; font-size: 11.5px; color: var(--text-3); margin: 8px 0 2px; }
.bubble { max-width: 82%; align-self: flex-start; background: var(--surface-3); border-radius: 18px 18px 18px 6px; padding: 9px 12px 6px; font-size: 15px; line-height: 1.38; }
.bubble.mine { align-self: flex-end; background: var(--grad-btn); color: #fff; border-radius: 18px 18px 6px 18px; }
.bubble.fb { border: 1.5px solid var(--accent); background: var(--accent-soft); color: var(--text); }
.bubble.mine.fb { color: #fff; border-color: transparent; background: var(--grad-btn); }
.fb-l { display: flex; align-items: center; gap: 4px; font-weight: 750; opacity: .85; margin-bottom: 3px; }
.bubble img { display: block; max-width: 100%; border-radius: 12px; margin-bottom: 4px; }
.bubble .bt { display: block; text-align: right; opacity: .65; margin-top: 2px; }
.thread-in { display: flex; align-items: flex-end; gap: 6px; padding: 8px; border-top: 1px solid var(--border); }
.thread-in .textarea { min-height: 42px; max-height: 140px; padding: 10px 12px; flex: 1; }
.send-btn { width: 42px; height: 42px; border-radius: 14px; border: 0; background: var(--grad-btn); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.send-btn:disabled { opacity: .4; }

/* progresul clientului */
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.mini-stat { padding: 10px 8px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--text-3); }
.mini-stat b { font-family: var(--font-d); font-size: 22px; color: var(--text); } .mini-stat span { font-size: 11px; line-height: 1.15; }
.card + .mini-stat { margin-top: 0; }
.slot-rows { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; }
.ci-hist { overflow-x: auto; }
.ci-row { display: grid; grid-template-columns: 112px repeat(6, minmax(40px, 1fr)); align-items: center; gap: 4px; padding: 5px 0; font-size: 13px; }
.ci-row.head span { font-size: 11px; color: var(--text-3); text-align: center; }
.ci-row > span:not(:first-child) { text-align: center; }
.lv { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; font-style: normal; font-weight: 750; font-size: 12.5px; background: var(--surface-3); color: var(--text-3); }
.lv.lv4, .lv.lv5 { background: var(--good-soft); color: var(--good); } .lv.lv1, .lv.lv2 { background: var(--warn-soft); color: var(--warn); }
.lv.inv.lv4, .lv.inv.lv5 { background: var(--warn-soft); color: var(--warn); } .lv.inv.lv1, .lv.inv.lv2 { background: var(--good-soft); color: var(--good); }
.result-card { margin-top: 10px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ph { border: 0; padding: 0; background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.ph img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.ph span { padding: 5px 8px; color: var(--text-3); }
.lesson-next { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--text-2); }
.lesson-body { white-space: pre-line; font-size: 16.5px; line-height: 1.55; }
.lesson-action { margin-top: 16px; background: var(--grad-btn); color: #fff; }
.reward-row + .reward-row { padding-top: 12px; border-top: 1px solid var(--border); }
.appt-card .prep { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.member-card { position: relative; overflow: hidden; border-radius: 24px; padding: 18px; color: #fff; background: radial-gradient(130% 150% at 0% 0%, #1D1F52 0%, #2C1B78 55%, #4B22D8 100%); box-shadow: 0 16px 40px rgba(44,27,120,.35); margin-bottom: 6px; }
.member-card::after { content: ''; position: absolute; right: -40px; bottom: -50px; width: 170px; height: 170px; background: url(/img/icon.svg) center / contain no-repeat; opacity: .16; filter: brightness(3) saturate(0); }
.member-card b { display: block; font-size: 20px; margin-top: 18px; }
.mc-top { display: flex; align-items: center; justify-content: space-between; }
.mc-top img { height: 22px; } .mc-top span { letter-spacing: .2em; opacity: .8; font-weight: 700; }

/* editorul de plan */
.title-in { font-family: var(--font-d); font-size: 20px; font-weight: 700; padding: 8px 12px; }
.pl-side .card + .card { margin-top: 12px; }
@media (min-width: 900px) { .full .pl-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; } .full .pl-side { position: sticky; top: 12px; } }
.pl-main { margin-top: 14px; }
@media (min-width: 900px) { .full .pl-main { margin-top: 0; } }
.tgt-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tgt-in .input.sm { width: 100%; }
.pl-days { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.day-tot .dt-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 8px 0 4px; }
.meal-ed { margin-top: 12px; }
.pl-items { display: flex; flex-direction: column; gap: 6px; }
.pl-item { display: flex; align-items: center; gap: 6px; }
.pl-item .por { width: 150px; }
.pl-item .g { width: 72px; text-align: right; }
.pl-item .kc { width: 40px; text-align: right; }
@container (max-width: 520px) { .pl-item { flex-wrap: wrap; } .pl-item .por { width: 100%; order: 3; } }

/* invitația */
.invite { gap: 14px; justify-content: flex-start; padding-top: calc(var(--safe-top) + 30px); background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, #5E6ACF 22%, var(--bg)) 0%, var(--bg) 70%); }
.inv-logo { width: 170px; align-self: center; filter: brightness(.35) saturate(0); margin-bottom: 6px; }
:root[data-theme="dark"] .inv-logo { filter: none; }
.inv-feat { gap: 14px; }
.gdpr-note p { margin: 0 0 8px; } .gdpr-note p:last-child { margin-bottom: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); cursor: pointer; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--accent); }

/* insignele surselor */
.src-b.rec { color: #B4541A; background: #FFE9DC; } .src-b.ro { color: #13789A; background: #E2F3FA; }
:root[data-theme="dark"] .src-b.rec { color: #FFB27D; background: #3A2618; } :root[data-theme="dark"] .src-b.ro { color: #7FD3EC; background: #12303A; }

/* raportul lunar */
.rep-page { background: #fff; color: #15173A; border-radius: 20px; box-shadow: var(--shadow); padding: 22px; }
.rep-head { display: flex; align-items: center; gap: 14px; background: radial-gradient(120% 140% at 0% 0%, #2BB8D6 0%, #5E6ACF 45%, #4B22D8 100%); color: #fff; border-radius: 16px; padding: 14px 16px; }
.rep-head img { height: 26px; } .rep-head b { font-size: 20px; }
.rep-who { display: flex; flex-direction: column; margin: 14px 2px; } .rep-who b { font-size: 22px; } .rep-who span { color: #565B80; font-size: 14px; }
.rep-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.rep-kpis > div { background: #F2F3F9; border-radius: 14px; padding: 10px; text-align: center; display: flex; flex-direction: column; }
.rep-kpis b { font-size: 22px; font-family: var(--font-d); } .rep-kpis span { font-size: 11.5px; color: #565B80; }
.rep-sec { margin-top: 18px; } .rep-sec h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: #8F94B2; margin: 0 0 8px; } .rep-sec p { margin: 0; font-size: 14.5px; }
.rep-bars { display: flex; gap: 8px; height: 120px; align-items: flex-end; }
.rep-bars > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.rep-bars i { width: 100%; max-width: 36px; background: #D3D7E8; border-radius: 6px 6px 3px 3px; display: block; } .rep-bars i.good { background: #16A34A; }
.rep-bars span { font-size: 12px; font-weight: 700; } .rep-bars small { font-size: 10px; color: #8F94B2; }
.rep-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.rep-grid > div { background: #F2F3F9; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; font-size: 12px; color: #565B80; } .rep-grid b { color: #15173A; font-size: 13.5px; }
.rep-li { font-size: 14px; padding: 4px 0; border-bottom: 1px solid #E4E6F1; } .rep-li:last-child { border-bottom: 0; }
.rep-foot { margin-top: 20px; color: #8F94B2; }
@media print {
  html, body { background: #fff !important; height: auto; }
  .preview { display: block !important; background: #fff !important; padding: 0 !important; }
  .preview-side, .tabbar, .no-print, .island, .toasts { display: none !important; }
  .device { all: unset !important; display: block !important; }
  .device .screen, .app, .scroll { all: unset !important; display: block !important; }
  .rep-page { box-shadow: none; padding: 0; }
  .rep-head, .rep-bars i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.row > .field { min-width: 0; flex: 1 1 0; }
input[type="date"], input[type="time"], input[type="datetime-local"] { min-width: 0; }

.calc-card details.howto { margin-top: 14px; }

.cab-clients > .card + .card { margin-top: 0; }

/* ================================================================= runda 6: notificările live, chatul fix, vizualizatorul de poze, recomandările */
/* clopoțelul */
.bell-btn { position: relative; width: 42px; height: 42px; border-radius: 15px; border: 0; background: var(--surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); flex: none; }
.bell-btn:active { transform: scale(.94); }
.bell-n { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.notif-li { align-items: flex-start; }
.notif-li .nb { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notif-li.unread { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.dot-new { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 6px; }
/* bulina de pe filele de jos */
.tab-ico { position: relative; display: grid; place-items: center; }
.tab-badge { position: absolute; top: -5px; left: 15px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--tab-bg); }

/* pop-up-ul de sus (în aplicație) */
.live-banners { position: absolute; top: calc(var(--safe-top) + 10px); left: 10px; right: 10px; z-index: 400; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.live-banner { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; cursor: pointer; touch-action: none; user-select: none;
  background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 18px 44px rgba(10,12,40,.28), 0 0 0 1px var(--border); animation: bannerIn .5s var(--spring); transition: transform .2s var(--ease); }
.live-banner b { font-size: 14.5px; }
.lb-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.lb-body { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; color: var(--text-2); margin-top: 1px; }
@keyframes bannerIn { from { opacity: 0; transform: translateY(-30px) scale(.96); } to { opacity: 1; transform: none; } }
@media (min-width: 760px) { .full .live-banners { left: auto; right: 18px; width: 380px; } }

/* chatul: fix pe ecran, doar mesajele se derulează */
.scroll.fixed { overflow: hidden; display: flex; flex-direction: column; padding-bottom: calc(var(--safe-bottom) + 92px); }
.scroll.fixed > * { flex: none; }
.scroll.fixed > .thread { flex: 1 1 auto; min-height: 0; height: auto; }
.thread { display: flex; flex-direction: column; height: min(66dvh, 620px); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.thread-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.thread-list::-webkit-scrollbar { width: 6px; } .thread-list::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
.th-day { align-self: center; margin: 8px 0 4px; }
.th-day span { font-size: 11.5px; font-weight: 650; color: var(--text-3); background: var(--surface-2); padding: 3px 10px; border-radius: 999px; text-transform: capitalize; }
.bubble { position: relative; }
.bub-text { white-space: pre-line; overflow-wrap: anywhere; }
.bubble.only-photo { padding: 4px 4px 6px; }
.bub-photo { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; }
.bub-photo img { display: block; max-width: 100%; max-height: 300px; object-fit: cover; border-radius: 14px; margin: 0; }
.bubble .bub-photo img { margin-bottom: 0; }
.bp-zoom { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 9px; background: rgba(8,9,30,.55); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.bubble.only-photo .bt { padding: 0 6px; }
.quick-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 8px 0; border-top: 1px solid var(--border); }
.quick-row::-webkit-scrollbar { display: none; }
.quick-row .chip { flex: none; font-size: 12.5px; }
.quick-row + .thread-in { border-top: 0; }
.thread-in { display: flex; align-items: flex-end; gap: 6px; padding: 8px; border-top: 1px solid var(--border); }
.thread-in .textarea { min-height: 42px; max-height: 140px; padding: 10px 12px; flex: 1; resize: none; line-height: 1.35; }
.att-btn { width: 42px; height: 42px; border-radius: 14px; border: 0; background: var(--surface-3); color: var(--text-2); display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-note { margin: 8px 4px 0; text-align: center; }

/* vizualizatorul de poze */
.viewer { position: absolute; inset: 0; z-index: 500; display: flex; flex-direction: column; animation: fade .2s ease; }
.vw-top { display: flex; align-items: center; gap: 8px; padding: calc(var(--safe-top) + 10px) 12px 8px; }
.vw-stage { flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; touch-action: none; cursor: grab; }
.vw-stage:active { cursor: grabbing; }
.vw-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; will-change: transform; }
.vw-bar { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 12px 4px; }
.vw-btn { width: 42px; height: 42px; border-radius: 14px; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vw-btn:disabled { opacity: .35; }
.vw-pct { min-width: 70px; height: 42px; border-radius: 14px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.vw-hint { text-align: center; color: rgba(255,255,255,.55); padding: 4px 12px calc(var(--safe-bottom) + 12px); }
.recipe-ph { width: 100%; margin-bottom: 12px; } .recipe-ph .recipe-photo { margin: 0; }

/* recomandările: la client (rânduri cu bifă) și în Cabinet (formularul și lista) */
.rec-row { cursor: default; gap: 12px; }
.rec-row.done b { opacity: .62; }
.rec-check { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--border-2); background: var(--surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .3s var(--spring), background .2s; padding: 0; }
.rec-check svg { position: absolute; inset: 0; margin: auto; }
.rec-check .rc-plus { font-weight: 800; font-size: 16px; color: var(--good); position: relative; }
.rec-check.on { background: var(--good); border-color: var(--good); color: #fff; }
.rec-check:has(svg) { border: 0; }
.rec-check.pop { transform: scale(1.18); }
.rec-streak { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 750; color: var(--flame); }
.rec-form .lbl { color: var(--text); }
.rec-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rec-when { padding: 12px; border-radius: 16px; background: var(--surface-2); }
.rec-preview { padding: 10px 12px 2px; border-radius: 16px; border: 1.5px dashed var(--border-2); }
.rec-preview .rec-row { padding: 8px 0; border: 0; }
.rec-preview .rec-check { cursor: default; }
.rec-admin-row { align-items: flex-start; }
.dots14 { display: flex; align-items: center; gap: 3px; margin-top: 6px; flex-wrap: wrap; }
.dots14 i { width: 9px; height: 9px; border-radius: 3px; background: var(--surface-3); }
.dots14 i.ok { background: var(--good); }
.dots14 i.pre { background: transparent; box-shadow: inset 0 0 0 1px var(--border); }
.dots14 span { margin-left: 6px; }

.rec-form .chips.sugg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px 2px; }
.rec-form .chips.sugg::-webkit-scrollbar { display: none; }
.rec-form .chips.sugg .chip { flex: none; }

/* ================================================================= runda 7: note vocale, reacții, foto-jurnal, programare, concursuri, etape */
:root { --gold: #C98A0B; --gold-soft: #FFF3D6; --gold-grad: linear-gradient(140deg, #F6C453 0%, #E59A1C 55%, #C46A12 100%); --contest-grad: linear-gradient(150deg, #2A1F6B 0%, #4B22D8 55%, #7B3FE4 100%); }
:root[data-theme="dark"] { --gold: #F4C453; --gold-soft: #3A2C0E; }

/* nota vocală */
.audio-msg { display: flex; align-items: center; gap: 9px; min-width: 210px; padding: 2px 0 2px; }
.am-play { width: 38px; height: 38px; border-radius: 50%; border: 0; flex: none; display: grid; place-items: center; cursor: pointer; background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(96,50,234,.25); transition: transform .15s var(--spring); }
.am-play:active { transform: scale(.9); }
.bubble.mine .am-play { background: #fff; color: #4B22D8; box-shadow: none; }
.am-track { flex: 1; height: 30px; display: flex; align-items: center; cursor: pointer; }
.am-wave { flex: 1; height: 26px; display: flex; align-items: center; gap: 2px; }
.am-wave i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--text-3); opacity: .45; transition: opacity .15s, background .15s; }
.am-wave i.on { background: var(--accent); opacity: 1; }
.bubble.mine .am-wave i { background: #fff; opacity: .4; }
.bubble.mine .am-wave i.on { opacity: 1; }
.am-t { min-width: 32px; text-align: right; font-variant-numeric: tabular-nums; opacity: .8; }

/* reacțiile la mesaje */
.react-pick { display: flex; justify-content: space-between; gap: 6px; padding: 4px 0 8px; }
.react-pick button { flex: 1; aspect-ratio: 1; max-width: 60px; border: 0; border-radius: 50%; background: var(--surface-2); font-size: 28px; cursor: pointer; transition: transform .18s var(--spring); }
.react-pick button:hover, .react-pick button:active { transform: scale(1.18); background: var(--accent-soft); }
.bubble.has-react { margin-bottom: 12px; }
.bub-react { position: absolute; bottom: -13px; left: 10px; display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 7px; border-radius: 999px; border: 2px solid var(--bg); background: var(--surface); box-shadow: 0 2px 8px rgba(21,23,58,.14); font-size: 13px; cursor: pointer; animation: reactPop .35s var(--spring); }
.bubble.mine .bub-react { left: auto; right: 10px; }
.bub-react b { font-size: 11px; color: var(--text-2); }
@keyframes reactPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* înregistrarea */
.rec-bar { align-items: center; gap: 10px; padding: 10px 10px 10px 14px; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bad); flex: none; animation: recPulse 1.2s ease-in-out infinite; }
@keyframes recPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229,72,77,.5); } 50% { box-shadow: 0 0 0 7px rgba(229,72,77,0); } }
.send-btn.mic { background: var(--surface-3); color: var(--accent-text); }

/* foto-jurnalul */
.meal-card { position: relative; }
.mc-cam { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; border-radius: 12px; border: 0; display: grid; place-items: center; cursor: pointer; background: #FDE8F0; color: #B0306A; transition: transform .15s var(--spring); }
.mc-cam:active { transform: scale(.9); }
:root[data-theme="dark"] .mc-cam { background: #3A1A2B; color: #F58CB8; }
.meal-card .mc-act { padding-right: 46px; }
.meal-shot { display: block; width: 100%; max-height: 52vh; object-fit: cover; border-radius: 20px; margin-bottom: 14px; background: var(--surface-3); }
.meal-shot.empty { height: 220px; display: grid; place-items: center; color: var(--text-3); }
.journal-cta { margin-bottom: 4px; }
.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.j-tile { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; border: 0; padding: 0; text-align: left; }
button.j-tile { cursor: pointer; }
.j-img { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: var(--surface-3); cursor: zoom-in; overflow: hidden; }
.j-tile.admin .j-img { cursor: pointer; }
.j-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.j-tile:hover .j-img img { transform: scale(1.04); }
.j-react { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: rgba(255,255,255,.94); box-shadow: 0 4px 14px rgba(0,0,0,.22); animation: reactPop .4s var(--spring); }
.j-new { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 999px; background: var(--grad-btn); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .03em; box-shadow: 0 4px 12px rgba(96,50,234,.4); }
.j-tile.waiting { box-shadow: var(--shadow), inset 0 0 0 2px var(--accent); }
.j-meta { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px 11px; min-width: 0; }
.j-meta > * { overflow: hidden; text-overflow: ellipsis; }
.j-note { display: flex; gap: 5px; align-items: flex-start; margin-top: 4px; padding: 6px 8px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; line-height: 1.3; }
.j-note svg { flex: none; margin-top: 1px; }
.j-del { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(10,12,34,.45); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: .85; }
.react-meal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.react-meal button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 6px; border-radius: 16px; border: 1.5px solid var(--border-2); background: var(--surface); cursor: pointer; color: var(--text-2); transition: all .18s var(--ease); }
.react-meal button span:first-child { font-size: 26px; line-height: 1.1; }
.react-meal button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(96,50,234,.18); }

/* programarea */
.day-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 0; padding: 2px 18px 16px; scroll-padding: 0 18px; scroll-snap-type: x proximity; }
.day-strip::-webkit-scrollbar { display: none; }
.day-pill { flex: none; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 4px 9px; border-radius: 18px; border: 1.5px solid var(--border-2); background: var(--surface); cursor: pointer; scroll-snap-align: start; transition: all .18s var(--ease); }
.day-pill b { font-family: var(--font-d); font-size: 22px; line-height: 1.1; }
.day-pill.on { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(96,50,234,.32); }
.day-pill.on .faint { color: rgba(255,255,255,.8); }
.slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.slot { height: 44px; border-radius: 14px; border: 1.5px solid var(--border-2); background: var(--surface); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; transition: all .15s var(--ease); }
.slot.on { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.04); }
.pref-grid { display: grid; grid-template-columns: 70px repeat(3, minmax(0, 1fr)); gap: 6px 8px; align-items: center; margin-bottom: 14px; }
.pref-grid > .small { text-transform: capitalize; }
.pref { height: 38px; border-radius: 12px; border: 1.5px dashed var(--border-2); background: transparent; color: transparent; display: grid; place-items: center; cursor: pointer; transition: all .15s var(--ease); }
.pref.on { border: 1.5px solid var(--accent); background: var(--accent); color: #fff; }
.li.appt-req { background: var(--warn-soft); }
.req-note { background: var(--warn-soft); border-color: transparent; display: flex; flex-direction: column; gap: 4px; }

/* concursurile */
.contest-card { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 16px; border: 0; border-radius: var(--r-lg); text-align: left; cursor: pointer; color: #fff; background: var(--contest-grad); box-shadow: 0 14px 34px rgba(75,34,216,.32); overflow: hidden; transition: transform .2s var(--ease); }
.contest-card:active { transform: scale(.985); }
.contest-card::after { content: ''; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(246,196,83,.35), transparent 65%); pointer-events: none; }
.contest-card.ended { background: linear-gradient(150deg, #2B2E52, #44487A); box-shadow: var(--shadow); }
.contest-card .grow { min-width: 0; position: relative; z-index: 1; }
.cc-trophy { width: 50px; height: 50px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--gold-grad); color: #fff; box-shadow: 0 8px 18px rgba(201,138,11,.45), inset 0 1px 0 rgba(255,255,255,.4); position: relative; z-index: 1; }
.cc-kicker { font-weight: 800; letter-spacing: .08em; font-size: 10.5px; color: #F6D27A; }
.cc-title { display: block; font-family: var(--font-d); font-size: 17px; line-height: 1.2; margin-top: 2px; }
.cc-prize { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: rgba(255,255,255,.88); }
.contest-card .btn { position: relative; z-index: 1; background: #fff; color: #4B22D8; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.contest-card > svg { position: relative; z-index: 1; opacity: .8; }
.contest-hero { position: relative; margin-top: 8px; padding: 18px 18px 16px; border-radius: var(--r-xl); color: #fff; text-align: center; background: var(--contest-grad); box-shadow: 0 20px 44px rgba(75,34,216,.36); overflow: hidden; }
.contest-hero::before { content: ''; position: absolute; left: 50%; top: 30px; width: 260px; height: 260px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(246,196,83,.42), transparent 62%); pointer-events: none; }
.contest-hero.won { background: linear-gradient(150deg, #7A4A06 0%, #C98A0B 55%, #F2B544 100%); }
.contest-hero > * { position: relative; }
.ch-top { display: flex; justify-content: space-between; align-items: center; }
.ch-badge { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); }
.ch-trophy { width: 84px; height: 84px; margin: 14px auto 10px; border-radius: 28px; display: grid; place-items: center; background: var(--gold-grad); box-shadow: 0 16px 36px rgba(201,138,11,.5), inset 0 1px 0 rgba(255,255,255,.45); animation: trophyIn .7s var(--spring); }
@keyframes trophyIn { from { transform: scale(.5) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.contest-hero h2 { font-family: var(--font-d); font-size: 25px; letter-spacing: -.02em; margin: 0 0 6px; line-height: 1.15; }
.ch-prize { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 14px; }
.ch-prize b { color: #FFE29A; }
.ch-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.ch-stats > div { display: flex; flex-direction: column; padding: 10px 4px; border-radius: 16px; background: rgba(255,255,255,.1); }
.ch-stats b { font-family: var(--font-d); font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ch-stats span { font-size: 11.5px; opacity: .8; }
.won-card { margin-top: 12px; background: var(--gold-soft); text-align: center; }
.won-card b { font-family: var(--font-d); font-size: 19px; color: var(--gold); }
.board .board-row { gap: 10px; }
.br-rank { width: 32px; height: 32px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.br-rank.medal { background: none; font-size: 22px; }
.br-val { font-weight: 800; font-size: 15px; white-space: nowrap; }
.board-row.me { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.board-row.me b { color: var(--accent-text); }
.contest-admin { display: flex; flex-direction: column; gap: 10px; }
.contest-admin.activ { box-shadow: var(--shadow), inset 3px 0 0 var(--good); }
.contest-admin.oprit { box-shadow: var(--shadow), inset 3px 0 0 var(--accent); }
.ca-trophy { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--gold-grad); color: #fff; }
.contest-admin.incheiat .ca-trophy, .contest-admin.ciorna .ca-trophy { background: var(--surface-3); color: var(--text-3); }
.ca-switch { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.ca-top { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; }

/* etapele */
.ms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ms { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 6px 10px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); opacity: .62; }
.ms b { line-height: 1.2; }
.ms-ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-3); color: var(--text-3); }
.ms.got { opacity: 1; }
.ms.got .ms-ico { background: var(--gold-grad); color: #fff; box-shadow: 0 6px 14px rgba(201,138,11,.35); }

/* ciornele rezumatului */
.draft-row { gap: 4px; }
.draft-row .row { gap: 4px; }
.draft-prev { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.book-cta { margin-bottom: 4px; }
.book-cta .pico { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 18px rgba(96,50,234,.3); }
.appt-card.req .st-chip { align-self: flex-start; }
.icon-btn.primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 20px rgba(96,50,234,.3); }
.cab-tabs .seg { overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.cab-tabs .seg::-webkit-scrollbar { display: none; }
.cab-tabs .seg button { flex: none; white-space: nowrap; padding: 9px 13px; }
.ca-prize { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--gold); font-weight: 600; }

/* ================================================================= runda 8: fontul titlurilor, seara caldă, text mare, Biblioteca, bun venit, „Acum”, căutarea, cardul de membru, „Luna ta”, Cabinetul */
:root { --font-serif: ui-serif, "New York", "Iowan Old Style", "Sitka Heading", "Sitka Text", Georgia, "Noto Serif", serif; }
/* titlurile brandului, cu serife (New York pe iPhone, Sitka pe Windows) */
.page-title, .hello h1, .celebrate h2, .contest-hero h2, .cc-title, .lib-title, .art-title, .wl-h, .mc-prog, .nc-title, .lr-title, .lf-title, .la-title, .ed-title, .ch-name { font-family: var(--font-serif); letter-spacing: -.01em; }
.page-title, .hello h1 { font-weight: 650; }

/* seara caldă (21:00–6:00): culori de lumânare, fără albastru */
:root[data-warm="1"] {
  --bg: #17100B; --bg-2: #1D140E; --surface: #231910; --surface-2: #2B1F15; --surface-3: #35271B;
  --text: #FBEFE2; --text-2: #DCC3A9; --text-3: #A98C70; --border: #3A2B1F; --border-2: #4A3828;
  --accent: #E8964A; --accent-soft: #46301B; --accent-text: #FFC48A;
  --grad: linear-gradient(135deg, #C4612C 0%, #D9822F 52%, #E8A14A 100%); --grad-btn: linear-gradient(135deg, #D9822F 0%, #B9502A 100%);
  --good: #9CCB5E; --good-soft: #2C3418; --warn: #F2B14B; --warn-soft: #3E2D12;
  --tab-bg: rgba(35,25,16,.86); --shadow: 0 1px 2px rgba(0,0,0,.35), 0 8px 26px rgba(0,0,0,.32);
}
:root[data-warm="1"] .hero, :root[data-warm="1"] .client-hero { background: linear-gradient(140deg, #5A2A14 0%, #8A3F1C 55%, #B8652A 100%); }
:root[data-warm="1"] .btn-primary, :root[data-warm="1"] .fab { box-shadow: 0 8px 20px rgba(185,80,42,.32); }
:root[data-warm="1"] .seg button.on { background: #6A4428; }

/* text mare */
:root[data-text="mare"] .scroll, :root[data-text="mare"] .sheet-body { zoom: 1.1; }
:root[data-text="foarte"] .scroll, :root[data-text="foarte"] .sheet-body { zoom: 1.22; }

/* fețele: poza omului sau inițialele */
.av-img { object-fit: cover; flex: none; display: block; background: var(--surface-3); }
.av-ini { flex: none; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 750; }
.av-img.ring, .av-ini.ring { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px color-mix(in srgb, var(--accent) 55%, transparent); }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* bun venit */
.welcome { position: absolute; inset: 0; z-index: 420; display: flex; flex-direction: column; color: #fff; padding: calc(var(--safe-top) + 14px) 24px calc(var(--safe-bottom) + 22px);
  background: radial-gradient(120% 70% at 50% 0%, #2C1B78 0%, #140D3F 55%, #08071E 100%); animation: wlIn .5s var(--ease); overflow: hidden; }
.welcome::before { content: ''; position: absolute; left: 50%; top: 22%; width: 520px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(94,214,238,.18), rgba(155,110,255,.12) 40%, transparent 70%); pointer-events: none; }
@keyframes wlIn { from { opacity: 0; } to { opacity: 1; } }
.wl-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.wl-logo { height: 26px; opacity: .92; }
.wl-skip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.wl-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; }
.wl-step { width: 100%; text-align: center; animation: wlStep .6s var(--ease); }
@keyframes wlStep { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.wl-face { width: 148px; height: 148px; margin: 0 auto 22px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--grad); font-family: var(--font-serif); font-size: 52px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 0 10px rgba(246,196,83,.22), 0 24px 60px rgba(0,0,0,.5); animation: wlFace 1s var(--spring); }
.wl-face img { width: 100%; height: 100%; object-fit: cover; }
@keyframes wlFace { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.wl-video { width: 100%; max-height: 42vh; border-radius: 24px; background: #000; margin-bottom: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.5); object-fit: cover; }
.wl-kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: #F6D27A; }
.wl-h { font-size: 38px; font-weight: 600; line-height: 1.08; margin: 8px 0 12px; }
.wl-p { font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.84); margin: 0 auto; max-width: 340px; }
.wl-sign { margin-top: 12px; font-family: var(--font-serif); font-style: italic; color: rgba(255,255,255,.7); }
.wl-ring { display: grid; place-items: center; margin: 0 auto 18px; }
.wl-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.wl-pills span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); transition: all .4s var(--ease); }
.wl-pills span.on { background: color-mix(in srgb, var(--pc) 30%, transparent); color: #fff; box-shadow: 0 0 0 1px var(--pc) inset; }
.wl-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; text-align: left; }
.wl-item { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); opacity: 0; animation: wlStep .55s var(--ease) forwards; }
.wl-item b { display: block; font-size: 15.5px; }
.wl-item small { display: block; color: rgba(255,255,255,.66); font-size: 13px; margin-top: 2px; }
.wl-ico { width: 42px; height: 42px; border-radius: 14px; flex: none; display: grid; place-items: center; background: linear-gradient(140deg, #F6C453, #E59A1C); color: #2A1A00; }
.wl-foot { position: relative; }
.wl-dots { display: flex; justify-content: center; gap: 7px; margin-bottom: 14px; }
.wl-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.28); transition: all .3s var(--ease); }
.wl-dots i.on { width: 24px; background: #fff; }
.wl-next { background: #fff; color: #1A1150; font-weight: 750; padding: 15px; border-radius: 18px; gap: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.35); }

/* „Acum” */
.now-card { position: relative; margin-bottom: 12px; padding: 16px 16px 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); overflow: hidden; }
.now-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--grad); }
.now-card.calm::before { background: var(--border-2); }
.now-card.done::before { background: linear-gradient(180deg, #F6C453, #E59A1C); }
.nc-top { display: flex; align-items: center; justify-content: space-between; }
.nc-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--accent-text); }
.now-card.done .nc-kicker { color: var(--gold, #C98A0B); }
.now-card.calm .nc-kicker { color: var(--text-3); }
.nc-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: ncPulse 1.8s ease-out infinite; }
@keyframes ncPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
.nc-title { display: block; font-size: 23px; font-weight: 600; margin: 6px 0 2px; line-height: 1.15; }
.nc-sub { font-size: 14px; color: var(--text-2); }
.nc-act { display: flex; gap: 8px; margin-top: 12px; }
.nc-main { flex: 1; background: var(--grad-btn); color: #fff; padding: 12px 14px; border-radius: 14px; font-weight: 700; gap: 6px; box-shadow: 0 8px 20px rgba(96,50,234,.25); }
.nc-ghost { background: var(--surface-3); color: var(--text); padding: 12px 16px; border-radius: 14px; font-weight: 650; }
.nc-cam { width: 34px; height: 34px; border-radius: 11px; border: 0; display: grid; place-items: center; cursor: pointer; background: #FDE8F0; color: #B0306A; }
:root[data-theme="dark"] .nc-cam { background: #3A1A2B; color: #F58CB8; }
.done-meals { margin-top: 12px; }
.done-meals > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); cursor: pointer; font-size: 14px; color: var(--text-2); }
.done-meals > summary::-webkit-details-marker { display: none; }
.done-meals[open] > summary svg:last-child { transform: rotate(180deg); }
.dm-ico { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--good-soft); color: var(--good); flex: none; }
.read-cta .pico { background: linear-gradient(140deg, #5B2BD9, #8B5CF6) !important; color: #fff !important; }

/* chatul: fața nutriționistului */
.chat-head { gap: 10px; margin: 6px 0 8px; }
.ch-name { display: block; font-size: 19px; font-weight: 600; line-height: 1.15; }
.thread.cv .bubble:not(.mine) { margin-left: 34px; }
.bub-av { position: absolute; left: -36px; bottom: 0; }

/* cardul de membru */
.mcard { position: relative; height: 214px; perspective: 1200px; cursor: pointer; margin-bottom: 4px; }
.mc-face { position: absolute; inset: 0; border-radius: 24px; padding: 18px 20px; color: #fff; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .8s var(--ease); display: flex; flex-direction: column;
  background: radial-gradient(120% 140% at 0% 0%, #23205E 0%, #2C1B78 45%, #4B22D8 100%); box-shadow: 0 18px 40px rgba(44,27,120,.35), inset 0 1px 0 rgba(255,255,255,.18); }
.mc-face::after { content: ''; position: absolute; right: -50px; bottom: -60px; width: 200px; height: 200px; background: url(/img/icon.svg) center / contain no-repeat; opacity: .13; filter: brightness(4); pointer-events: none; }
.mc-back { transform: rotateY(180deg); background: radial-gradient(120% 140% at 100% 0%, #1D1F52 0%, #241A63 50%, #3A1FA8 100%); }
.mcard.flip .mc-front { transform: rotateY(-180deg); }
.mcard.flip .mc-back { transform: rotateY(0); }
.mc-sheen { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.16) 48%, rgba(246,210,122,.12) 52%, transparent 60%); transform: translateX(-60%); animation: mcSheen 6s ease-in-out infinite; pointer-events: none; }
@keyframes mcSheen { 0%, 60% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
.mc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.mc-logo { height: 20px; opacity: .95; }
.mc-chip { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; padding: 4px 9px; border-radius: 999px; background: linear-gradient(140deg, #F6C453, #E59A1C); color: #2A1A00; }
.mc-prog { font-size: 25px; font-weight: 600; margin-top: 16px; position: relative; z-index: 1; }
.mc-name { font-size: 14.5px; opacity: .88; margin-top: 2px; position: relative; z-index: 1; }
.mc-bottom { margin-top: auto; align-items: flex-end; }
.mc-bottom small { display: block; font-size: 9.5px; letter-spacing: .14em; opacity: .65; font-weight: 700; }
.mc-bottom b { font-size: 14px; letter-spacing: .04em; }
.mc-no { font-variant-numeric: tabular-nums; }
.mc-coach { margin-left: auto; }
.mc-next { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.12); align-self: flex-start; }
.mc-addr { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin-top: 12px; position: relative; z-index: 1; opacity: .92; }
.mc-acts { display: flex; gap: 8px; margin-top: 14px; position: relative; z-index: 1; }
.mc-acts .btn { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.2); }

/* programări, clinica */
.appt-how { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--surface-2); color: var(--accent-text); font-weight: 650; font-size: 14px; cursor: pointer; text-align: left; }
.appt-how svg:last-child { margin-left: auto; }
.clinic-photo { display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; margin-bottom: 14px; background: var(--surface-3); cursor: zoom-in; }
.clinic-photo img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.clinic-photo.gen { height: 150px; display: grid; place-items: center; background: radial-gradient(120% 140% at 0% 0%, #23205E, #4B22D8); cursor: default; }
.clinic-photo.gen img { width: 190px; max-height: none; object-fit: contain; }
.clinic-info { display: flex; flex-direction: column; gap: 12px; }
.cl-row { display: flex; gap: 12px; align-items: flex-start; color: var(--text); text-decoration: none; }
.cl-row > svg { color: var(--accent-text); flex: none; margin-top: 2px; }
.ci-how { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); white-space: pre-line; line-height: 1.5; }
.clinic-thumb { width: 92px; height: 72px; border-radius: 14px; object-fit: cover; flex: none; }
.clinic-thumb.gen { display: grid; place-items: center; background: var(--surface-3); color: var(--text-3); }

/* „Luna ta” */
.luna-cta { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; border: 0; text-align: left; cursor: pointer; color: #fff; background: linear-gradient(140deg, #24166A, #4B22D8 60%, #8B5CF6); box-shadow: 0 14px 30px rgba(75,34,216,.28); }
.luna-cta .small { opacity: .85; }
.lc-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; background: linear-gradient(140deg, #F6C453, #E59A1C); color: #2A1A00; }
.luna-prev { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: #120B3A; }
.luna-prev img { display: block; width: 100%; height: auto; }

/* căutarea */
.search-head { display: flex; gap: 10px; align-items: center; margin: 6px 0 6px; }
.search-head .search-box { flex: 1; min-width: 0; }
.search-head .search-box input { flex: 1; min-width: 0; font-size: 16px; }
.sb-x { border: 0; background: var(--surface-3); color: var(--text-2); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }
.search-hint { margin-top: 14px; }
.sr-row { gap: 10px; }
.sr-t { display: block; font-size: 15px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sr-s { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* Biblioteca: lista */
.lib-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.lib-title { font-size: 34px; font-weight: 600; line-height: 1.05; }
.lib-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 4px; padding: 2px 18px 4px; }
.lib-filters::-webkit-scrollbar { display: none; }
.lib-filters .chip { flex: none; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; }
.kicker i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.kicker.light { color: rgba(255,255,255,.85); }
.cover { position: relative; overflow: hidden; background: var(--surface-3); }
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover.gen { display: grid; place-items: center; color: rgba(255,255,255,.92); }
.cover.gen .cv-ico { position: relative; z-index: 1; filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)); }
.cover.gen .cv-mark { position: absolute; right: -14%; bottom: -22%; width: 70%; aspect-ratio: 1; background: url(/img/icon.svg) center / contain no-repeat; opacity: .14; filter: brightness(5); }
.cover.gen::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 20% 10%, rgba(255,255,255,.22), transparent 60%); }
.lib-feature { display: block; width: 100%; padding: 0; border: 0; text-align: left; cursor: pointer; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); margin-top: 6px; color: #fff; }
.lf-cover { aspect-ratio: 4 / 4.6; width: 100%; display: block; }
.lf-cover .cv-ico { position: absolute; top: 26%; left: 50%; transform: translateX(-50%); }
.lf-cover .cv-ico svg { width: 72px; height: 72px; }
.lf-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(5,4,20,.55) 62%, rgba(5,4,20,.9) 100%); z-index: 1; }
.lf-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.lf-badge { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; padding: 5px 10px; border-radius: 999px; background: linear-gradient(140deg, #F6C453, #E59A1C); color: #2A1A00; }
.lf-title { font-size: 29px; font-weight: 600; line-height: 1.12; }
.lf-lead { font-size: 14.5px; opacity: .86; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lf-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: .85; }
.lib-going { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 6px; }
.lib-going::-webkit-scrollbar { display: none; }
.lg-card { flex: none; width: 150px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); text-align: left; cursor: pointer; }
.lg-cover { height: 86px; }
.lg-t { display: block; padding: 9px 11px 6px; font-size: 13.5px; font-weight: 650; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lg-bar { display: block; height: 4px; margin: 0 11px 11px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.lg-bar i { display: block; height: 100%; background: var(--grad); border-radius: 4px; }
.lib-list { display: flex; flex-direction: column; gap: 10px; }
.lib-row { display: flex; gap: 14px; align-items: stretch; width: 100%; padding: 10px; border: 0; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); text-align: left; cursor: pointer; transition: transform .2s var(--ease); }
.lib-row:active { transform: scale(.985); }
.lr-cover { width: 96px; min-height: 104px; border-radius: 16px; flex: none; }
.lr-cover .cv-ico svg { width: 30px; height: 30px; }
.lr-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 4px 4px 2px 0; }
.lr-title { font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--text); }
.lr-lead { font-size: 13px; color: var(--text-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lr-meta { display: flex; gap: 10px; font-size: 12px; color: var(--text-3); margin-top: auto; }
.lr-meta span { display: inline-flex; align-items: center; gap: 4px; }
.lr-done { color: var(--good); font-weight: 650; }
.lr-new { position: absolute; }
.lr-text .lr-new { position: static; align-self: flex-start; margin-top: -2px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 7px; border-radius: 999px; background: var(--grad-btn); color: #fff; }
.lib-empty { text-align: center; padding: 30px 22px; display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 10px; }
.le-ico { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(140deg, #5B2BD9, #8B5CF6); color: #fff; margin-bottom: 6px; box-shadow: 0 12px 28px rgba(91,43,217,.3); }

/* Biblioteca: cititorul */
.art-page { margin: calc(-1 * (var(--safe-top) + 10px)) -18px 0; }
.art-page > :not(.art-hero):not(.art-progress) { margin-left: 18px; margin-right: 18px; }
.art-progress { position: sticky; top: 0; z-index: 30; height: 3px; background: transparent; }
.art-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 0 3px 3px 0; transition: width .15s linear; box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent); }
.art-hero { height: 330px; margin-top: -3px; border-radius: 0 0 30px 30px; }
.art-hero .cv-ico svg { width: 84px; height: 84px; }
.ah-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 70%, rgba(0,0,0,.18) 100%); z-index: 1; }
.glass-btn { width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255,255,255,.28); display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(20,16,50,.32); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
.ah-back { position: absolute; z-index: 2; left: 16px; top: calc(var(--safe-top) + 14px); }
.ah-right { position: absolute; z-index: 2; right: 16px; top: calc(var(--safe-top) + 14px); display: flex; gap: 8px; }
.artc { padding-bottom: 10px; }
.art-head { padding-top: 22px; }
.art-title { font-size: 33px; font-weight: 600; line-height: 1.1; margin: 10px 0 10px; letter-spacing: -.015em; }
.art-lead { font-family: var(--font-serif); font-size: 19px; line-height: 1.5; color: var(--text-2); margin: 0 0 18px; font-style: italic; }
.art-author { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.art-author b { font-size: 14.5px; }
.art-save { width: 42px; height: 42px; border-radius: 14px; border: 1.5px solid var(--border-2); background: var(--surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer; transition: all .2s var(--spring); }
.art-save.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); transform: scale(1.06); }
.art-takeaways { margin: 20px 0 6px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.tk-h { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.art-takeaways ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.45; }
.art-takeaways li::marker { color: var(--accent); }
.art-body { font-family: var(--font-serif); font-size: 18.5px; line-height: 1.72; color: var(--text); margin-top: 18px; }
.art-body p { margin: 0 0 18px; }
.art-body p.first::first-letter { float: left; font-size: 64px; line-height: .9; padding: 6px 10px 0 0; font-weight: 600; color: var(--accent-text); }
.art-body h2 { font-size: 24px; font-weight: 600; line-height: 1.2; margin: 30px 0 10px; letter-spacing: -.01em; }
.art-body h3 { font-size: 20px; font-weight: 600; margin: 22px 0 8px; }
.art-body blockquote { margin: 26px 0; padding: 4px 0 4px 18px; border-left: 3px solid; border-image: var(--grad) 1; font-size: 23px; line-height: 1.4; font-style: italic; color: var(--text); }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.art-body li::marker { color: var(--accent); font-weight: 700; }
.art-body a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.art-body figure { margin: 22px 0; }
.art-img { display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--surface-3); }
.art-img img { display: block; width: 100%; height: auto; }
.art-body figcaption { font-family: var(--font); font-size: 13px; color: var(--text-3); margin-top: 8px; text-align: center; }
.art-note { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; padding: 14px 16px; border-radius: 18px; background: var(--warn-soft); font-family: var(--font); font-size: 15px; line-height: 1.5; }
.art-note > svg { color: var(--warn); flex: none; margin-top: 2px; }
.art-sources { margin: 22px 0 6px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.art-sources > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 16px; cursor: pointer; font-weight: 650; font-size: 14.5px; color: var(--text-2); }
.art-sources > summary::-webkit-details-marker { display: none; }
.art-sources > summary svg:last-child { margin-left: auto; transition: transform .2s; }
.art-sources[open] > summary svg:last-child { transform: rotate(180deg); }
.art-sources ol { margin: 0; padding: 0 16px 14px 34px; font-size: 13px; line-height: 1.5; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.art-sources a { color: var(--accent-text); }
.art-end { margin-top: 24px; padding: 20px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ae-q { font-family: var(--font-serif); font-size: 20px; font-weight: 600; }
.ae-useful { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--border-2); background: var(--surface); font-weight: 650; cursor: pointer; transition: all .2s var(--spring); }
.ae-useful.on { border-color: transparent; background: linear-gradient(140deg, #F6C453, #E59A1C); color: #2A1A00; transform: scale(1.04); }
.ae-ask { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--accent-text); font-weight: 650; cursor: pointer; padding: 6px; }

/* Biblioteca: Cabinetul și editorul */
.lib-admin { display: flex; flex-direction: column; gap: 12px; }
.la-card { display: flex; flex-direction: column; gap: 10px; }
.la-cover { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.la-cover .cv-ico svg { width: 24px; height: 24px; }
.la-cover.big { width: 120px; height: 84px; }
.la-title { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; margin: 3px 0 2px; }
.la-stats { display: flex; gap: 6px; flex-wrap: wrap; }
.la-stats span { font-size: 12px; color: var(--text-2); padding: 4px 9px; border-radius: 999px; background: var(--surface-2); }
.la-stats b { color: var(--text); }
.ed-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.ed-form { display: flex; flex-direction: column; gap: 14px; }
.ed-title { width: 100%; border: 0; border-bottom: 1.5px solid var(--border-2); background: transparent; color: var(--text); font-size: 30px; font-weight: 600; padding: 6px 2px 10px; outline: none; }
.ed-title:focus { border-color: var(--accent); }
.ed-lead { min-height: 64px; font-family: var(--font-serif); font-size: 17px; font-style: italic; }
.ed-tools { display: flex; gap: 4px; flex-wrap: wrap; padding: 6px; border-radius: 14px 14px 0 0; background: var(--surface-2); border: 1.5px solid var(--border-2); border-bottom: 0; }
.ed-tools button { width: 36px; height: 34px; border-radius: 10px; border: 0; background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.ed-tools button:hover { background: var(--surface); color: var(--accent-text); }
.ed-body { min-height: 360px; border-radius: 0 0 14px 14px; font-family: var(--font-serif); font-size: 17px; line-height: 1.6; }
.ed-help code { font-size: 12px; padding: 1px 5px; border-radius: 6px; background: var(--surface-3); color: var(--text); }
.ed-help .small > div { margin-top: 6px; }
.ed-foot { display: flex; gap: 8px; align-items: center; margin-top: 18px; padding: 10px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.ed-preview { margin: 0 -18px; }
.ed-preview > .artc { margin: 0 18px; }
.ed-hero { border-radius: 24px; margin: 0 18px; height: 260px; }

/* „se stinge” */
.fade-t { color: var(--bad); }
.badge-n.alert { background: var(--bad-soft); color: var(--bad); }
.fade-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.fade-card { display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow), inset 3px 0 0 var(--bad); }
.fade-reasons { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.fr { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: var(--bad-soft); color: var(--bad); }
.fade-msg { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); color: var(--text-2); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fade-banner { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; text-align: left; cursor: pointer; margin-bottom: 12px; box-shadow: var(--shadow), inset 3px 0 0 var(--bad); }
.fb-ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--bad-soft); color: var(--bad); }

/* afișul */
.poster-prev { margin: 14px 0; display: grid; place-items: center; min-height: 240px; }
.poster-prev img { max-width: 100%; max-height: 58vh; border-radius: 16px; box-shadow: var(--shadow-lg); }
.clinic-tab .card + .section-t { margin-top: 18px; }
.cover.gen.lf-cover .cv-ico { position: absolute; top: 18%; left: 50%; transform: translateX(-50%); width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 0 0 14px rgba(255,255,255,.04), 0 0 80px rgba(255,255,255,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cover.gen.art-hero .cv-ico { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 0 0 16px rgba(255,255,255,.04), 0 0 90px rgba(255,255,255,.18); }
.lg-t { padding: 9px 11px 0; margin-bottom: 8px; }
.cl-row > span { display: block; text-align: left; flex: 1; min-width: 0; }
:root[data-warm="1"] { --contest-grad: linear-gradient(150deg, #3A1D0E 0%, #7A3A16 55%, #B8652A 100%); }

/* ================================================================= runda 9: drumul, rezumatul ședinței, părerile, dimineața, somnul, seriile, vocea, video, calendarul, mesajele programate */
/* drumul programului */
.jr-card { display: block; width: 100%; margin-top: 12px; padding: 16px; border: 0; border-radius: var(--r-lg); text-align: left; cursor: pointer; color: #fff;
  background: linear-gradient(150deg, #0B3F5C 0%, #136F94 55%, #29B2D2 100%); box-shadow: 0 14px 30px rgba(19,111,148,.28); }
.jr-top { display: flex; align-items: center; justify-content: space-between; }
.jr-kicker { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; opacity: .85; }
.jr-title { display: block; font-family: var(--font-serif); font-size: 24px; font-weight: 600; margin-top: 6px; }
.jr-sub { font-size: 13.5px; opacity: .85; }
.jr-dots { display: flex; gap: 4px; margin-top: 12px; }
.jr-dots i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); }
.jr-dots i.done { background: #fff; }
.jr-dots i.now { background: #F6C453; box-shadow: 0 0 10px rgba(246,196,83,.8); }
.jr-next { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); }
.jr-hero { padding: 18px; border-radius: var(--r-xl); color: #fff; background: linear-gradient(150deg, #0B3F5C 0%, #136F94 55%, #29B2D2 100%); box-shadow: 0 18px 40px rgba(19,111,148,.3); }
.jr-hero-top { display: flex; align-items: baseline; justify-content: space-between; }
.jr-hero-top span { font-size: 11px; font-weight: 800; letter-spacing: .14em; opacity: .8; }
.jr-hero-top b { font-family: var(--font-serif); font-size: 46px; font-weight: 600; line-height: 1; }
.jr-hero-top small { font-size: 20px; opacity: .7; }
.jr-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.2); margin: 14px 0; overflow: hidden; }
.jr-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #fff, #F6C453); }
.jr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.jr-stats span { display: flex; flex-direction: column; font-size: 12px; opacity: .85; padding: 8px 10px; border-radius: 14px; background: rgba(255,255,255,.1); }
.jr-stats b { font-family: var(--font-serif); font-size: 22px; opacity: 1; }
.jr-up { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.ju-ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-text); }
.jr-road { position: relative; margin-top: 18px; padding-left: 4px; }
.jr-road::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 30px; width: 2px; background: linear-gradient(180deg, #29B2D2, #5E6ACF 50%, var(--border-2)); border-radius: 2px; }
.jr-phase { position: relative; margin: 18px 0 10px 50px; }
.jr-phase:first-child { margin-top: 0; }
.jp-n { display: block; font-family: var(--font-serif); font-size: 20px; font-weight: 600; }
.jp-s { font-size: 12px; color: var(--text-3); }
.jr-week { position: relative; display: flex; gap: 14px; margin-bottom: 10px; }
.jw-node { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--surface); color: var(--text-3); border: 2px solid var(--border-2); }
.jr-week.trecut .jw-node { background: var(--grad-btn); border-color: transparent; color: #fff; }
.jr-week.acum .jw-node { background: #F6C453; border-color: #fff; color: #3A2300; box-shadow: 0 0 0 5px rgba(246,196,83,.25); animation: ncPulse 2s ease-out infinite; }
.jw-body { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.jr-week.viitor .jw-body { background: var(--surface-2); box-shadow: none; border: 1px dashed var(--border-2); }
.jr-week.acum .jw-body { box-shadow: var(--shadow), 0 0 0 1.5px #F6C453 inset; }
.jw-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.jw-h b { font-size: 14.5px; }
.jw-h span { font-size: 12px; color: var(--text-3); }
.jw-now { font-size: 10.5px !important; font-weight: 800; letter-spacing: .08em; color: #3A2300 !important; background: #F6C453; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; }
.jw-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.jw-chips:empty { display: none; }
.jc { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); }
.jc.good { background: var(--good-soft); color: var(--good); } .jc.mid { background: var(--warn-soft); color: var(--warn); } .jc.low { background: var(--bad-soft); color: var(--bad); }
.jc.gold { background: #FFF3D6; color: #8A5A00; } :root[data-theme="dark"] .jc.gold { background: #3A2C0E; color: #F4C453; }
.jc.sess { background: var(--accent-soft); color: var(--accent-text); }
.jr-finish { display: flex; gap: 14px; align-items: center; margin: 6px 0 0; }
.jf-ico { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(140deg, #F6C453, #E59A1C); color: #2A1A00; }

/* rezumatul ședinței: documentul */
.doc-bar { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.sdoc { background: #fff; color: #1C1B2E; border-radius: 22px; padding: 26px 22px 22px; box-shadow: var(--shadow-lg); font-family: var(--font-serif); }
.sd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #E8E6F0; }
.sd-logo { height: 24px; }
.sd-kind { font-family: var(--font); font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #8A5A00; background: #FFF3D6; padding: 4px 9px; border-radius: 999px; }
.sd-title { font-size: 28px; font-weight: 600; margin: 18px 0 4px; line-height: 1.15; }
.sd-meta { font-family: var(--font); font-size: 13px; color: #6A6884; }
.sd-people { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0 6px; padding: 14px; border-radius: 16px; background: #F6F5FB; font-family: var(--font); }
.sd-people small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; color: #8F8DA6; }
.sd-people b { display: block; font-size: 15px; }
.sd-people span { font-size: 12px; color: #6A6884; }
.sd-coach { display: flex; gap: 10px; align-items: center; text-align: left; }
.sdoc section { margin-top: 20px; }
.sdoc h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.sdoc h2 span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font); font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #5E6ACF, #6032EA); flex: none; }
.sd-text { font-size: 16.5px; line-height: 1.65; white-space: pre-line; }
.sd-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.45; }
.sd-steps li { display: flex; gap: 10px; align-items: flex-start; }
.sd-steps li i { width: 20px; height: 20px; border-radius: 6px; flex: none; margin-top: 2px; border: 1.5px solid #C9C6DA; display: grid; place-items: center; }
.sd-steps li.done i { background: #16A34A; border-color: #16A34A; color: #fff; }
.sd-steps li.done { color: #6A6884; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.sd-next { display: flex; gap: 12px; align-items: center; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(140deg, #2C1B78, #4B22D8); color: #fff; font-family: var(--font); }
.sd-next small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; opacity: .75; }
.sd-next b { font-size: 14.5px; }
.sd-foot { margin-top: 24px; padding-top: 14px; border-top: 1px solid #E8E6F0; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; font-family: var(--font); font-size: 11px; color: #8F8DA6; }
.sd-sign { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: #2C1B78; }
@media print {
  .sdoc { box-shadow: none !important; border-radius: 0; padding: 0; max-width: 680px; margin: 0 auto; }
  .sdoc, .sdoc * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.print-doc .scroll > :not(.sdoc) { display: none !important; }
}

/* „Cum a fost ședința?” */
.fb-card { margin-top: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.fb-stars { display: flex; justify-content: space-between; gap: 4px; margin-top: 12px; }
.fb-stars button { flex: 1; border: 0; background: var(--surface-2); border-radius: 14px; padding: 10px 0; color: var(--border-2); cursor: pointer; transition: transform .15s var(--spring), color .15s; }
.fb-stars button:hover { color: #F6C453; transform: scale(1.06); }
.fb-stars.big { justify-content: center; gap: 8px; margin: 16px 0 6px; }
.fb-stars.big button { flex: none; background: none; padding: 4px; }
.fb-stars button.on { color: #F2B43A; transform: scale(1.08); }
.fb-stars button.on svg, .fb-stars button:hover svg { fill: currentColor; }
.fb-lbl { text-align: center; font-family: var(--font-serif); font-size: 19px; font-weight: 600; margin-bottom: 14px; min-height: 26px; }
.fb-done { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 8px 0; }
.fb-done > b { font-family: var(--font-serif); font-size: 21px; }
.fb-review { display: flex; gap: 12px; align-items: center; width: 100%; margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-align: left; }
.fr-g { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(#EA4335 0 25%, #FBBC05 0 50%, #34A853 0 75%, #4285F4 0); }
.fr-g span { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; color: #4285F4; font-size: 16px; }

/* dimineața de 60 de secunde */
.mn-card { display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: 12px; padding: 16px; border: 0; border-radius: var(--r-lg); text-align: left; cursor: pointer; color: #3A1D00; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #FFE8C2 0%, #FFC98A 45%, #F59E6A 100%); box-shadow: 0 14px 30px rgba(245,158,106,.3); }
.mn-card b { display: block; font-family: var(--font-serif); font-size: 20px; font-weight: 600; margin: 2px 0; }
.mn-card .small { opacity: .8; }
.mn-k { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; opacity: .7; }
.mn-sun { width: 48px; height: 48px; border-radius: 50%; flex: none; background: radial-gradient(circle at 50% 60%, #FFF6D8 0%, #FFD36E 45%, #F59E0B 100%); box-shadow: 0 0 0 8px rgba(255,255,255,.35), 0 0 30px rgba(255,190,80,.9); animation: mnRise 3s ease-in-out infinite alternate; }
@keyframes mnRise { from { transform: translateY(3px); } to { transform: translateY(-3px); } }
:root[data-theme="dark"] .mn-card { background: linear-gradient(135deg, #3B2410, #6B3A16 55%, #A85A26); color: #FFE8C2; }
.mn-q { font-family: var(--font-serif); font-size: 19px; font-weight: 600; margin: 14px 0 8px; }
.mn-q:first-child { margin-top: 0; }
.mn-opts { display: grid; gap: 6px; }
.mn-opts.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mn-opts.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mn-opts button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; border: 1.5px solid var(--border-2); background: var(--surface); color: var(--text-2); cursor: pointer; font-size: 11.5px; line-height: 1.15; text-align: center; transition: all .15s var(--ease); }
.mn-opts button b { font-size: 16px; color: var(--text); }
.mn-opts button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); transform: translateY(-2px); }
.mn-bat { width: 16px; height: 24px; border-radius: 4px; border: 2px solid currentColor; position: relative; display: flex; align-items: flex-end; padding: 1px; }
.mn-bat i { display: block; width: 100%; border-radius: 1px; background: currentColor; }
.mn-done { text-align: center; padding: 6px 0; }
.mn-big { width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 28px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #FFC98A, #F59E6A); box-shadow: 0 14px 30px rgba(245,158,106,.35); }
.mn-done p { font-family: var(--font-serif); font-size: 18px; line-height: 1.5; margin: 0 6px 12px; }
.mn-streak { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--flame); background: color-mix(in srgb, var(--flame) 12%, transparent); padding: 6px 12px; border-radius: 999px; font-size: 13px; }
/* somnul și energia */
.sl-card { display: flex; flex-direction: column; gap: 10px; }
.sl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sl-stats span { display: flex; flex-direction: column; font-size: 12px; color: var(--text-3); padding: 8px 10px; border-radius: 14px; background: var(--surface-2); }
.sl-stats b { font-family: var(--font-serif); font-size: 22px; color: var(--text); }
.sl-stats small { font-size: 13px; color: var(--text-3); }
.sl-strip { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; margin-top: 4px; }
.sl-strip i { height: 14px; border-radius: 4px; background: #F59E0B; }
.sl-legend { display: flex; justify-content: space-between; margin-top: 2px; }
.sl-ins { display: flex; flex-direction: column; gap: 8px; }
.sl-ins > div { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--accent-soft); font-size: 13.5px; line-height: 1.45; }
.sl-ins svg { color: var(--accent-text); flex: none; margin-top: 2px; }

/* programările: calendarul, rezumatele */
.appt-acts { display: flex; gap: 8px; margin-top: 12px; }
.appt-acts .appt-how { margin-top: 0; flex: 1; justify-content: center; }

/* video-mesajele */
.bub-video { display: block; width: 240px; max-width: 100%; max-height: 360px; border-radius: 14px; background: #000; margin-bottom: 4px; }
.vm-opts { display: flex; flex-direction: column; gap: 10px; }
.vm-opt { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; border: 1.5px solid var(--border-2); background: var(--surface); text-align: left; cursor: pointer; }
.vm-opt span { width: 46px; height: 46px; border-radius: 15px; flex: none; display: grid; place-items: center; background: var(--grad-btn); color: #fff; }
.vm-opt b { display: block; font-size: 15.5px; }
.vm-opt small { display: block; font-size: 12.5px; color: var(--text-3); }
.vm-opt { flex-wrap: wrap; } .vm-opt b, .vm-opt small { flex: 1 1 60%; }
.vm-cam { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 4 / 3; }
.vm-cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.vm-t { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.vm-t i { width: 9px; height: 9px; border-radius: 50%; background: #FF4D4F; animation: recPulse 1.2s infinite; }
.vm-rec { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: 68px; height: 68px; border-radius: 50%; border: 4px solid #fff; background: rgba(255,255,255,.2); display: grid; place-items: center; cursor: pointer; }
.vm-rec i { width: 48px; height: 48px; border-radius: 50%; background: #FF3B30; transition: all .2s var(--ease); }
.vm-rec.on i { width: 26px; height: 26px; border-radius: 7px; }
.vm-prev { width: 100%; max-height: 52vh; border-radius: 20px; background: #000; display: block; margin-bottom: 6px; }

/* seriile și vocea autorului */
.ser-shelf { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 8px; }
.ser-shelf::-webkit-scrollbar { display: none; }
.ser-card { flex: none; width: 210px; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); text-align: left; cursor: pointer; color: #fff; }
.ser-cover { height: 250px; display: block; }
.ser-cover .cv-ico { position: absolute; top: 22%; left: 50%; transform: translateX(-50%); }
.cover.gen.ser-cover .cv-ico { position: absolute; }
.ser-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(5,4,20,.85) 100%); }
.ser-days { position: absolute; z-index: 2; top: 12px; left: 12px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; padding: 4px 9px; border-radius: 999px; background: linear-gradient(140deg, #F6C453, #E59A1C); color: #2A1A00; }
.ser-t { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 3px; }
.ser-t b { font-family: var(--font-serif); font-size: 20px; font-weight: 600; line-height: 1.15; }
.ser-t small { font-size: 12px; opacity: .85; }
.ser-bar { display: block; height: 4px; background: var(--surface-3); }
.ser-bar i { display: block; height: 100%; background: var(--grad); }
.ser-hero { height: 280px; }
.ser-start { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.ser-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.ser-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-align: left; cursor: pointer; color: var(--text); }
.ser-row b { display: block; font-family: var(--font-serif); font-size: 16.5px; font-weight: 600; line-height: 1.25; }
.ser-row.locked { background: var(--surface-2); box-shadow: none; color: var(--text-3); cursor: default; }
.ser-row.locked b { color: var(--text-3); }
.sr-n { width: 34px; height: 34px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 800; background: var(--accent-soft); color: var(--accent-text); }
.ser-row.done .sr-n { background: var(--good-soft); color: var(--good); }
.ser-row.locked .sr-n { background: var(--surface-3); color: var(--text-3); }
.ser-kick { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 5px 11px; border: 0; border-radius: 999px; background: linear-gradient(140deg, #F6C453, #E59A1C); color: #2A1A00; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; cursor: pointer; }
.ser-next { display: flex; gap: 8px; margin-top: 20px; }

.ser-day { display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 10px; border-radius: 14px; background: var(--surface-2); margin-bottom: 6px; font-size: 14px; }
.sd-n { width: 26px; height: 26px; border-radius: 9px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: var(--grad-btn); color: #fff; }
.aud-card { display: flex; align-items: center; gap: 12px; margin: 16px 0 4px; padding: 12px 14px; border-radius: 20px; background: linear-gradient(150deg, #24135F, #4B22D8 70%, #7B3FE4); color: #fff; box-shadow: 0 14px 30px rgba(75,34,216,.3); }
.ac-play { width: 50px; height: 50px; border-radius: 50%; border: 0; flex: none; display: grid; place-items: center; cursor: pointer; background: #fff; color: #4B22D8; box-shadow: 0 6px 16px rgba(0,0,0,.25); transition: transform .15s var(--spring); }
.ac-play:active { transform: scale(.92); }
.ac-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.ac-h b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-h span { font-size: 12px; opacity: .8; font-variant-numeric: tabular-nums; }
.ac-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); margin-top: 9px; cursor: pointer; overflow: hidden; }
.ac-track i { display: block; height: 100%; background: linear-gradient(90deg, #fff, #F6C453); border-radius: 3px; }
.ac-rate { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; padding: 6px 9px; font-weight: 700; font-size: 12px; cursor: pointer; flex: none; }
.av-row { display: flex; gap: 10px; align-items: center; } .av-row audio { flex: 1; min-width: 0; height: 40px; }
.av-rec { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bad-soft); }

/* mesajele programate, părerile */
.sch-box { margin-bottom: 10px; }
.sch-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.sch-row { display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 12px; border-radius: 14px; background: var(--surface-2); font-size: 13px; }
.sch-when { display: inline-flex; align-items: center; gap: 5px; flex: none; font-weight: 700; color: var(--accent-text); font-size: 12px; }
.sch-body { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.bulk-bar { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.bulk-btn { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; text-align: left; cursor: pointer; }
.bb-ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--grad-btn); color: #fff; }
.fbx-top { display: flex; gap: 18px; align-items: center; margin-top: 12px; }
.fbx-avg { display: flex; flex-direction: column; align-items: center; flex: none; }
.fbx-avg b { font-family: var(--font-serif); font-size: 44px; font-weight: 600; line-height: 1; }
.fbx-avg small { font-size: 11px; color: var(--text-3); text-align: center; max-width: 120px; margin-top: 4px; }
.fbx-stars { display: flex; gap: 1px; color: var(--border-2); margin-top: 4px; }
.fbx-stars .on { color: #F2B43A; } .fbx-stars .on svg { fill: currentColor; }
.fbx-dist { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.fbx-dist div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.fbx-dist i { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.fbx-dist i b { display: block; height: 100%; background: #F2B43A; border-radius: 4px; }
.fbx-dist em { font-style: normal; width: 18px; text-align: right; }
.fbx-s { flex: none; font-weight: 800; font-size: 13px; padding: 4px 8px; border-radius: 10px; background: var(--good-soft); color: var(--good); }
.fbx-s.s3 { background: var(--warn-soft); color: var(--warn); } .fbx-s.s1, .fbx-s.s2 { background: var(--bad-soft); color: var(--bad); }
.fbx-c { margin-top: 4px; font-family: var(--font-serif); font-style: italic; color: var(--text-2); }
.fbx-row { align-items: flex-start; }
a.li { color: var(--text); text-decoration: none; }
.vm-opt { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 1px; align-items: center; }
.vm-opt span { grid-row: 1 / span 2; }
.vm-opt b { align-self: end; } .vm-opt small { align-self: start; }
.sch-toggle { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--accent-text); font-weight: 650; font-size: 13px; cursor: pointer; margin-left: auto; }

/* ================================================================= runda 10: calmul premium — paleta, contrastul, scara textului, mișcarea, ecranele noi */
/* paleta calmă și contrastul (textele mici trec pragul de lizibilitate 4,5:1) */
:root {
  --text-2: #4A4F72; --text-3: #626786;
  --good: #13763C; --warn: #A8500A; --bad: #C2272D;
  --grad-btn: linear-gradient(180deg, #6A4BF0 0%, #5631E0 100%);
  --ink: linear-gradient(160deg, #1D1B55 0%, #15143D 100%);
  --ink-glow: radial-gradient(120% 120% at 100% 0%, rgba(41,178,210,.26) 0%, rgba(41,178,210,0) 46%);
  --contest-grad: linear-gradient(160deg, #1D1B55 0%, #15143D 100%);
  --teal-soft: #E0F5FA; --teal-text: #0E6E86; --gold-text: #8A5A00; --gold-bg: #FFF3D6;
  /* scara textului: titlu, subtitlu, text, text mic */
  --fs-title: 28px; --fs-head: 20px; --fs-body: 16px; --fs-small: 14px; --fs-cap: 13px;
  /* un singur fel de mișcare */
  --dur-fast: 140ms; --dur: 240ms; --dur-slow: 420ms;
}
:root[data-theme="dark"] { --text-3: #9599C4; --teal-soft: #0F3340; --teal-text: #6BD3EA; --gold-text: #F4C453; --gold-bg: #3A2C0E; --ink: linear-gradient(160deg, #22205E 0%, #1A1948 100%); }
:root[data-warm="1"] { --teal-soft: #3A2A1C; --teal-text: #FFC48A; }
body { font-variant-numeric: tabular-nums; }
.art-body, .sd-text, .wl-p, .art-lead { font-variant-numeric: proportional-nums; }
.tiny { font-size: var(--fs-cap); } .small { font-size: var(--fs-small); }
.page-title, .lib-title { font-size: var(--fs-title) !important; line-height: 1.12; }
.hello h1 { font-size: var(--fs-title); }
.nc-title, .jr-title, .ch-name, .mc-prog, .wl-item b, .fb-done > b, .ae-q, .mn-q, .jp-n { font-size: var(--fs-head); }
.section-t { font-size: 12px; letter-spacing: .09em; }

/* mai puține degradeuri: un singur card întunecat pe ecran, restul luminoase, cu un accent */
.hero, .client-hero { background: var(--ink-glow), var(--ink); box-shadow: 0 16px 36px rgba(21,20,61,.28); }
.client-hero::after { opacity: .07; }
/* culorile scrise direct (hex) devin accentul; browserul le păstrează ca rgb(), culorile pilonilor (color-mix) și stările (var) rămân */
.ico-box[style*="background:#"], .ico-box[style*="background: rgb"], .ico-box[style*="background-color: rgb"], .ti[style*="background:#"], .ti[style*="background: rgb"], .ti[style*="background-color: rgb"], .pico[style*="background:#"], .pico[style*="background: rgb"], .pico[style*="background-color: rgb"] { background: var(--accent-soft) !important; color: var(--accent-text) !important; }
.reward-row .ico-box[style*="rgb"] { background: var(--gold-bg) !important; color: var(--gold-text) !important; }
.jr-card { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.jr-card .jr-kicker { color: var(--teal-text); opacity: 1; }
.jr-card .jr-sub { color: var(--text-2); opacity: 1; }
.jr-card .jr-dots i { background: var(--surface-3); } .jr-card .jr-dots i.done { background: var(--accent); } .jr-card .jr-dots i.now { background: #29B2D2; box-shadow: 0 0 10px rgba(41,178,210,.6); }
.jr-card .jr-next { background: var(--surface-2); color: var(--text-2); }
.jr-dots i.now { background: #29B2D2; box-shadow: 0 0 10px rgba(41,178,210,.7); }
.jr-hero { background: var(--ink-glow), var(--ink); }
.jr-week.acum .jw-node { background: #29B2D2; color: #fff; box-shadow: 0 0 0 5px rgba(41,178,210,.22); }
.jr-week.acum .jw-body { box-shadow: var(--shadow), 0 0 0 1.5px #29B2D2 inset; }
.jw-now { background: #29B2D2 !important; color: #fff !important; }
.luna-cta { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.luna-cta .small { color: var(--text-2); opacity: 1; }
.lc-ico { background: var(--accent-soft); color: var(--accent-text); }
.aud-card { background: var(--ink-glow), var(--ink); box-shadow: 0 12px 26px rgba(21,20,61,.28); }
.lf-badge, .ser-days { background: rgba(255,255,255,.92); color: #1D1B55; }
.ser-kick { background: var(--accent-soft); color: var(--accent-text); }
.sd-kind { background: #ECEEFF; color: #3A3F9E; }
.mc-chip { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.read-cta .pico { background: var(--accent-soft) !important; color: var(--accent-text) !important; }
.book-cta .pico, .journal-cta .pico { background: var(--accent-soft) !important; color: var(--accent-text) !important; box-shadow: none; }
.btn-primary { box-shadow: 0 6px 16px rgba(86,49,224,.24), inset 0 1px 0 rgba(255,255,255,.16); }
.fab { box-shadow: 0 10px 22px rgba(86,49,224,.32), inset 0 1px 0 rgba(255,255,255,.2); }
/* iconițele din meniul de jos: goale în rest, pline pe pagina în care ești */
.tab.on svg { fill: currentColor; fill-opacity: .3; stroke-width: 2.2; }

/* mișcarea: intrarea blândă a paginii, la fel peste tot */
.scroll > * { animation: enter var(--dur) var(--ease) both; }
.scroll > :nth-child(2) { animation-delay: 30ms; } .scroll > :nth-child(3) { animation-delay: 60ms; } .scroll > :nth-child(4) { animation-delay: 90ms; } .scroll > :nth-child(n+5) { animation-delay: 120ms; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.btn, .chip, .li, .tile, .card, .fy-card, .icon-btn { transition: transform var(--dur-fast) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.btn:active, .tile:active, .fy-card:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ecranul de pornire */
#splash { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: radial-gradient(90% 60% at 50% 40%, #2C2A78 0%, #17154A 55%, #0B0A26 100%); transition: opacity .42s var(--ease); }
#splash.out { opacity: 0; pointer-events: none; }
.sp-glow { position: absolute; left: 50%; top: 42%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(124,136,242,.32), rgba(124,136,242,0)); animation: spGlow 1.6s ease-in-out infinite alternate; }
.sp-logo { position: absolute; left: 50%; top: 42%; width: min(62vw, 280px); transform: translate(-50%, -50%); animation: spIn .6s var(--spring) both; }
.sp-sub { position: absolute; left: 0; right: 0; bottom: calc(var(--safe-bottom) + 7vh); text-align: center; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .22em; animation: enter .6s .25s var(--ease) both; }
@keyframes spIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.86); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes spGlow { from { opacity: .6; } to { opacity: 1; } }

/* Azi: „Pentru tine” și „Restul zilei” */
.fy-t { margin-top: 20px; }
.fy-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 8px; scroll-padding-inline: 18px; scroll-snap-type: x proximity; }
.fy-row::-webkit-scrollbar { display: none; }
.fy-card { flex: none; width: 150px; min-height: 116px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border: 0; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); text-align: left; cursor: pointer; scroll-snap-align: start; color: var(--text); }
.fy-card b { font-size: 15px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fy-card small { font-size: var(--fs-cap); color: var(--text-3); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fy-card.fy-sk { cursor: default; } .fy-card.fy-sk .sk.c42 { width: 38px; height: 38px; margin-bottom: 10px; }
.fy-ico { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 6px; background: var(--accent-soft); color: var(--accent-text); }
.fy-card.gold .fy-ico { background: var(--gold-bg); color: var(--gold-text); }
.fy-card.sun .fy-ico { background: #FFEBD2; color: #9A4A0C; } :root[data-theme="dark"] .fy-card.sun .fy-ico { background: #3B2410; color: #FFC98A; }
.fy-card.teal .fy-ico { background: var(--teal-soft); color: var(--teal-text); }
.later { margin-top: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.later-h { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--text); }
.later-h b { display: block; font-size: var(--fs-body); }
.later-h small { display: block; font-size: var(--fs-cap); color: var(--text-3); margin-top: 1px; }
.later-h > svg { color: var(--text-3); transition: transform var(--dur) var(--ease); }
.later.open .later-h > svg { transform: rotate(180deg); }
.lh-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--text-2); }
.later-body { padding: 0 12px 14px; background: var(--bg); border-top: 1px solid var(--border); animation: enter var(--dur) var(--ease) both; }
.later-body > .section-t:first-child { margin-top: 14px; }
.later-body .list, .later-body .card { box-shadow: var(--shadow); }

/* ecranul de încărcare, în forma paginii */
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, var(--surface-3) 0%, var(--surface-2) 50%, var(--surface-3) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; margin-bottom: 8px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk.w30 { width: 30%; } .sk.w40 { width: 40%; } .sk.w60 { width: 60%; } .sk.w70 { width: 70%; } .sk.w80 { width: 80%; } .sk.w100 { width: 100%; }
.sk.h12 { height: 12px; } .sk.h22 { height: 22px; } .sk.h28 { height: 28px; } .sk.h44 { height: 44px; border-radius: 14px; }
.sk.c42 { width: 42px; height: 42px; border-radius: 15px; }
.sk-today { padding-top: 6px; }
.sk-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; } .sk-row > div { flex: 1; }
.sk-card { border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px; }
.sk-card.h150 { min-height: 150px; } .sk-card.h120 { min-height: 120px; }
.sk-card.ink { background: var(--ink); opacity: .55; }
.sk-strip { display: flex; gap: 10px; } .sk-strip i { flex: 1; height: 110px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }

/* glisarea pe masă */
.mc-swipe { position: relative; margin-top: 12px; touch-action: pan-y; }
.mc-swipe > .meal-card { margin-top: 0; position: relative; z-index: 1; }
.mc-swipe.moving > .meal-card { transition: none; }
.mc-swipe > .meal-card { transition: transform var(--dur) var(--spring); }
.mc-under { position: absolute; inset: 0; z-index: 0; border-radius: var(--r-lg); display: flex; align-items: center; padding: 0 14px; font-weight: 700; font-size: 12px; }
.mu-in { width: 70px; display: flex; flex-direction: column; align-items: center; gap: 5px; transition: transform var(--dur-fast) var(--spring); }
.mc-under.ready .mu-in { transform: scale(1.08); }
.mc-under.r { background: var(--good-soft); color: var(--good); justify-content: flex-start; }
.mc-under.l { background: var(--surface-3); color: var(--text-2); justify-content: flex-end; }
.mc-under.ready.r { background: var(--good); color: #fff; } .mc-under.ready.l { background: var(--text-2); color: #fff; }
.swipe-hint { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: var(--fs-cap); color: var(--text-3); margin: 8px 0 0; }
/* tras în jos = reîmprospătare */
.ptr { position: absolute; left: 50%; top: calc(var(--safe-top) + 8px); z-index: 300; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; pointer-events: none; }
.ptr i { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--border-2); border-top-color: var(--accent); }
.ptr.ready i { border-color: var(--accent); border-top-color: transparent; }
.ptr.spin i { animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* fără internet */
.off-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 6px; margin: -4px -18px 8px; padding: 7px 14px; font-size: var(--fs-cap); font-weight: 600; color: var(--text-2); background: var(--warn-soft); }

/* pachetul de ședințe */
.pkg-line { display: flex; align-items: center; gap: 10px; font-size: var(--fs-cap); color: var(--text-2); margin-top: 10px; }
.pkg-line b { color: var(--text); } .pkg-line em { font-style: normal; color: var(--text-3); }
.pk-dots { flex: none; display: flex; flex-wrap: wrap; gap: 3px; max-width: 120px; }
.pk-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pk-dots i.used { background: var(--surface-3); }
.pkg-line.light { color: rgba(255,255,255,.85); position: relative; z-index: 1; } .pkg-line.light b { color: #fff; }
.pkg-line.light .pk-dots i { background: #fff; } .pkg-line.light .pk-dots i.used { background: rgba(255,255,255,.25); }
.pkg-card { margin-top: 12px; }

/* absolvirea */
.grad-ov { position: absolute; inset: 0; z-index: 430; display: grid; place-items: center; padding: 26px; background: radial-gradient(90% 70% at 50% 35%, #3A2A78 0%, #17154A 55%, #08071E 100%); animation: wlIn .5s var(--ease); }
.grad-box { width: 100%; max-width: 360px; text-align: center; color: #fff; }
.grad-laurel { width: 116px; height: 116px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; color: #3A2300; background: linear-gradient(140deg, #FCE29A, #F2B43A 55%, #C98A0B); box-shadow: 0 0 0 10px rgba(246,196,83,.16), 0 0 0 22px rgba(246,196,83,.07), 0 24px 60px rgba(201,138,11,.45); animation: wlFace 1s var(--spring); }
.grad-k { font-size: 11.5px; font-weight: 800; letter-spacing: .18em; color: #F6D27A; }
.grad-box h1 { font-family: var(--font-serif); font-size: 36px; font-weight: 600; margin: 8px 0 12px; line-height: 1.1; }
.grad-box p { color: rgba(255,255,255,.82); line-height: 1.55; margin: 0 0 22px; }
.grad-btn { background: #fff; color: #1A1150; font-weight: 750; padding: 15px; border-radius: 18px; gap: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.grad-later { margin-top: 12px; border: 0; background: none; color: rgba(255,255,255,.7); font-weight: 600; cursor: pointer; }
.grad-doc .gd-hero { text-align: center; padding: 10px 0 4px; }
.gd-medal { width: 72px; height: 72px; margin: 14px auto 0; border-radius: 50%; display: grid; place-items: center; color: #3A2300; background: linear-gradient(140deg, #FCE29A, #F2B43A 55%, #C98A0B); box-shadow: 0 10px 24px rgba(201,138,11,.35); }
.gd-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 18px 0 6px; font-family: var(--font); }
.gd-stats div { padding: 12px; border-radius: 14px; background: #F6F5FB; }
.gd-stats b { display: block; font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: #1C1B2E; }
.gd-stats span { font-size: 12px; color: #6A6884; }
.gd-body { display: flex; flex-direction: column; gap: 8px; font-family: var(--font); }
.gd-body div { display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #F6F5FB; }
.gd-body small { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #8F8DA6; width: 72px; flex: none; }
.gd-body b { flex: 1; font-size: 15px; }
em.bine { font-style: normal; font-weight: 700; color: #13763C; } em.egal { font-style: normal; font-weight: 700; color: #6A6884; } em.atentie { font-style: normal; font-weight: 700; color: #A8500A; }
.gd-scales { display: flex; flex-direction: column; gap: 6px; font-family: var(--font); margin-bottom: 6px; }
.gs { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: #F6F5FB; font-size: 14px; }
.gs span { flex: 1; } .gs b { font-variant-numeric: tabular-nums; }
.gd-built { margin: 0 0 8px; padding-left: 20px; font-size: 16px; line-height: 1.7; }
.gd-ms { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--font); }
.gd-ms span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #FFF3D6; color: #8A5A00; }
.gd-msg { padding: 14px 16px; border-radius: 16px; background: #F6F5FB; }
.grad-card { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; border: 0; text-align: left; cursor: pointer; }
.grad-card .gc-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #3A2300; background: linear-gradient(140deg, #FCE29A, #F2B43A 55%, #C98A0B); }

/* fotografiile care lipsesc */
.photo-list .li { align-items: flex-start; }
.pl-st { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 2px solid var(--border-2); color: transparent; margin-top: 2px; }
.pl-st.on { background: var(--good); border-color: var(--good); color: #fff; }
.pl-bar { height: 6px; border-radius: 3px; background: var(--surface-3); margin-top: 6px; overflow: hidden; max-width: 220px; }
.pl-bar i { display: block; height: 100%; background: var(--good); }

/* modul discret: fără puncte, confetti și concursuri */
:root[data-discreet="1"] .xp-float, :root[data-discreet="1"] .contest-card, :root[data-discreet="1"] .confetti { display: none !important; }
.tile .ti { background: var(--accent-soft); color: var(--accent-text); }
.grad-card.plain .gc-ico { background: var(--surface-3); color: var(--text-3); }
.grad-prev { border-radius: 18px; overflow: hidden; background: var(--surface-2); padding: 8px; }
.grad-prev .sdoc { box-shadow: none; }

/* ===================================================== runda 11: ilustrațiile INFINOOVIA */
span.art { display: inline-grid; place-items: center; line-height: 0; flex: none; }
.art svg { overflow: visible; }
.art svg .halo { fill: var(--accent-soft); stroke: none; opacity: .7; }
.art-light svg .halo { fill: rgba(255,255,255,.09); opacity: 1; }
.art-ink svg .halo { fill: currentColor; opacity: .08; }
.art svg .a2 { opacity: .85; } .art svg .a3 { opacity: .55; }
.art svg .dot { fill: #5E6ACF; stroke: none; }
.art-light svg .dot { fill: #fff; } .art-ink svg .dot { fill: currentColor; }
.art-grad svg .dot.p1 { fill: #1BAF7A; } .art-grad svg .dot.p2 { fill: #8B5CF6; } .art-grad svg .dot.p3 { fill: #1E9BC0; } .art-grad svg .dot.p4 { fill: #C98500; }
.dish-cover { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 4 / 3; border-radius: inherit; }
.dc-ciorbe { background: linear-gradient(150deg, #FFF1DE, #FFE2C2); color: #A4561A; }
.dc-principale { background: linear-gradient(150deg, #E9F6EF, #D4EEDF); color: #1E7A52; }
.dc-garnituri { background: linear-gradient(150deg, #FBF4E2, #F2E5C2); color: #8C6A1C; }
.dc-salate { background: linear-gradient(150deg, #E6F7F2, #CDEFE4); color: #157060; }
.dc-mic-dejun { background: linear-gradient(150deg, #FFEDE6, #FFDCCF); color: #B04B2A; }
.dc-deserturi { background: linear-gradient(150deg, #FCEAF1, #F6D5E3); color: #A2335F; }
:root[data-theme="dark"] .dc-ciorbe { background: linear-gradient(150deg, #3A2614, #2C1D12); color: #FFC089; }
:root[data-theme="dark"] .dc-principale { background: linear-gradient(150deg, #13302A, #10241F); color: #7EDDB0; }
:root[data-theme="dark"] .dc-garnituri { background: linear-gradient(150deg, #33290F, #261F0E); color: #F0CF7A; }
:root[data-theme="dark"] .dc-salate { background: linear-gradient(150deg, #0F302C, #0C2421); color: #74DDC6; }
:root[data-theme="dark"] .dc-mic-dejun { background: linear-gradient(150deg, #3A1F16, #2B1812); color: #FFAE92; }
:root[data-theme="dark"] .dc-deserturi { background: linear-gradient(150deg, #3A1626, #2A111D); color: #F59CC0; }

/* paginile goale, coperțile, rețetele: desenele */
.empty .em-art { display: flex; justify-content: center; margin: 0 auto 10px; }
.cover.gen .cv-ico .art svg .halo { display: none; }
.lf-cover .cv-ico .art svg { width: 98px; height: 98px; }
.art-hero .cv-ico .art svg { width: 112px; height: 112px; }
.lr-cover .cv-ico .art svg { width: 40px; height: 40px; }
.la-cover .cv-ico .art svg { width: 34px; height: 34px; }
.ser-cover .cv-ico .art svg { width: 88px; height: 88px; }
.cover.gen .cv-ico .art svg { stroke-width: 1.8; }
.rt-img .dish-cover { aspect-ratio: auto; border-radius: 0; }
.rt-thumb .dish-cover { aspect-ratio: 1; border-radius: 12px; } .rt-thumb .dish-cover .art svg .halo { display: none; }
.rt-thumb.big .dish-cover .art svg { width: 70px; height: 70px; }
.recipe-drawn { border-radius: 18px; overflow: hidden; margin-bottom: 12px; } .recipe-drawn .dish-cover { aspect-ratio: 16 / 8; }

/* raportul de absolvire: ce și-a propus, cei patru piloni, ce urmează */
.gd-why { margin: 18px 0 6px; padding: 16px 18px; border-radius: 18px; background: var(--accent-soft); }
.gd-why h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 8px; }
.gd-why blockquote, .why-view blockquote, .why-card blockquote { margin: 6px 0; font-family: var(--font-serif); font-size: 17px; line-height: 1.45; color: var(--text); font-style: italic; }
.gd-why blockquote small, .why-view blockquote small, .why-card blockquote small { display: block; font-family: var(--font); font-style: normal; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.gd-k { font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 16px 2px 8px; }
.gd-pillars { display: flex; justify-content: space-around; margin: 22px 0 6px; padding-top: 16px; border-top: 1px solid var(--border); }
.gd-pillars span { display: flex; flex-direction: column; align-items: center; gap: 4px; } .gd-pillars small { font-size: 11.5px; font-weight: 700; color: var(--text-3); letter-spacing: .04em; }
.gd-next { margin-top: 16px; }

/* tranzițiile între pagini: cardul se deschide în pagina lui; „înapoi” alunecă înapoi */
.tabbar { view-transition-name: tabbar; }
::view-transition-group(root) { animation-duration: 340ms; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
:root[data-vt="fwd"]::view-transition-old(root) { animation: 260ms cubic-bezier(.4, 0, 1, 1) both vt-out; }
:root[data-vt="fwd"]::view-transition-new(root) { animation: 340ms cubic-bezier(.2, .8, .2, 1) both vt-in; }
:root[data-vt="back"]::view-transition-old(root) { animation: 260ms cubic-bezier(.4, 0, 1, 1) both vt-out-r; }
:root[data-vt="back"]::view-transition-new(root) { animation: 340ms cubic-bezier(.2, .8, .2, 1) both vt-in-r; }
::view-transition-group(vt-open) { animation-duration: 420ms; animation-timing-function: cubic-bezier(.2, .9, .25, 1); }
::view-transition-old(vt-open) { animation: 200ms ease both vt-fade-out; }
::view-transition-new(vt-open) { animation: 380ms ease both vt-fade-in; }
::view-transition-group(tabbar) { animation: none; }
@keyframes vt-out { to { opacity: 0; transform: translateX(-6%) scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateX(8%); } }
@keyframes vt-out-r { to { opacity: 0; transform: translateX(8%); } }
@keyframes vt-in-r { from { opacity: 0; transform: translateX(-6%) scale(.985); } }
@keyframes vt-fade-out { to { opacity: 0; } } @keyframes vt-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* lumina zilei pe cardul mare de pe Azi */
:root[data-daypart="zori"] { --ink-glow: radial-gradient(120% 120% at 100% 0%, rgba(255,170,128,.30) 0%, rgba(255,170,128,0) 50%); }
:root[data-daypart="zi"] { --ink-glow: radial-gradient(120% 120% at 100% 0%, rgba(41,178,210,.30) 0%, rgba(41,178,210,0) 48%); }
:root[data-daypart="apus"] { --ink-glow: radial-gradient(120% 120% at 100% 0%, rgba(244,150,90,.26) 0%, rgba(176,90,200,.10) 34%, rgba(176,90,200,0) 56%); }
:root[data-daypart="noapte"] { --ink-glow: radial-gradient(120% 120% at 100% 0%, rgba(120,120,255,.16) 0%, rgba(120,120,255,0) 46%); }
.client-hero { transition: background 1.2s var(--ease); }

/* „Harta ta” */
.harta-hero { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 18px; border-radius: var(--r-xl); color: #fff; background: radial-gradient(120% 140% at 100% 0%, rgba(154,116,250,.45), transparent 55%), linear-gradient(150deg, #24135F 0%, #3A1FB0 60%, #4B22D8 100%); box-shadow: 0 16px 36px rgba(36,19,95,.3); }
.harta-hero small { display: block; font-size: 11px; font-weight: 750; letter-spacing: .1em; opacity: .75; }
.harta-hero b { display: block; font-family: var(--font-serif); font-size: 21px; line-height: 1.2; margin: 2px 0; }
.harta-hero span { font-size: 13px; opacity: .8; }
.hm-imgs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 12px -18px 0; padding: 2px 18px 6px; scroll-padding-inline: 18px; scroll-snap-type: x proximity; }
.hm-imgs::-webkit-scrollbar { display: none; }
.hm-img { flex: none; width: 78%; max-width: 330px; position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #0E0F2A; scroll-snap-align: start; cursor: zoom-in; box-shadow: var(--shadow); }
.hm-img img { display: block; width: 100%; height: auto; }
.sign-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 750; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.sign-pill i { font-style: normal; font-size: 10px; }
.sign-pill.s-sub { background: #DDF4F7; color: #0B6E80; } .sign-pill.s-supra { background: #ECE6FF; color: #5B2BD9; } .sign-pill.s-mix { background: #F3E6FA; color: #8A2C9E; }
.sign-pill.s-bine { background: var(--good-soft); color: var(--good); } .sign-pill.s-info { background: var(--surface-3); color: var(--text-2); }
:root[data-theme="dark"] .sign-pill.s-sub { background: #0E3540; color: #7FDDEB; } :root[data-theme="dark"] .sign-pill.s-supra { background: #2A2160; color: #B9A6FF; } :root[data-theme="dark"] .sign-pill.s-mix { background: #3A1C45; color: #E6A6F5; }
.finding { margin-top: 12px; padding: 16px; }
.fd-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.fd-band { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--text-3); }
.fd-title { display: block; font-size: 16.5px; line-height: 1.3; }
.fd-mean { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.fd-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--accent-soft); font-size: 14px; line-height: 1.45; }
.fd-note small { display: block; font-size: 11.5px; font-weight: 700; color: var(--accent-text); margin-bottom: 2px; }
.fd-work { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.fd-work svg { flex: none; color: var(--accent-text); margin-top: 2px; }
.finding.compact { padding: 12px; } .finding.compact .fd-mean { font-size: 13.5px; }
.hm-compare { display: grid; gap: 10px; }
.hc-row b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.hc-row span { display: block; font-size: 14px; padding: 4px 0 4px 14px; position: relative; } .hc-row span::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hc-row.bine { color: var(--good); } .hc-row.inca { color: var(--warn); } .hc-row.nou { color: var(--accent-text); }
.hc-row span { color: var(--text); } .hc-row.bine span::before { background: var(--good); } .hc-row.inca span::before { background: var(--warn); } .hc-row.nou span::before { background: var(--accent); }
.hm-sum .sd-text { font-size: 15px; line-height: 1.6; white-space: pre-line; } .hm-sign { margin-top: 10px; font-family: var(--font-serif); font-style: italic; color: var(--accent-text); }
.hm-guide { margin-top: 14px; padding: 0; overflow: hidden; }
.hg-h { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border: 0; background: none; color: var(--text); cursor: pointer; text-align: left; }
.hg-h > svg:first-child { color: var(--accent-text); } .hm-guide.open .hg-h > svg:last-child { transform: rotate(180deg); }
.hg-body { padding: 0 16px 14px; display: grid; gap: 12px; }
.hg-item { display: flex; gap: 12px; } .hg-item > span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; font-size: 13px; }
.hg-item b { font-size: 14.5px; } .hg-item p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.hm-disc { display: flex; gap: 8px; margin: 16px 4px 8px; font-size: 12.5px; line-height: 1.5; color: var(--text-3); } .hm-disc svg { flex: none; margin-top: 2px; }

/* „De ce-ul meu” */
.why-fields { display: grid; gap: 12px; text-align: left; }
.wf span { display: block; font-size: 13.5px; font-weight: 700; margin: 0 2px 6px; }
.why-fields.light .wf span { color: rgba(255,255,255,.9); }
.why-fields.light .textarea { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.why-fields.light .textarea::placeholder { color: rgba(255,255,255,.45); }
.wf-voice { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.wf-rec { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.why-fields.light .wf-rec { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.wf-rec.on { background: var(--bad); border-color: var(--bad); color: #fff; animation: recPulse 1.4s infinite; }
.why-step { max-height: 100%; overflow-y: auto; padding-bottom: 4px; } .why-step .art { margin-bottom: 6px; } .why-step .wl-p { margin-bottom: 14px; }
.why-step .wl-next { margin-top: 16px; }
.why-view { text-align: center; padding: 6px 4px; } .why-view blockquote { font-size: 19px; }
.why-card { margin-bottom: 12px; } .why-card blockquote { font-size: 15.5px; margin: 4px 0; }

/* respirația */
.breath { position: absolute; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; color: #fff; padding: calc(var(--safe-top) + 10px) 20px calc(var(--safe-bottom) + 20px); overflow-y: auto;
  background: radial-gradient(110% 80% at 50% 30%, #1F3E78 0%, #141A45 50%, #0A0B20 100%); }
:root[data-daypart="noapte"] .breath, :root[data-daypart="apus"] .breath { background: radial-gradient(110% 80% at 50% 30%, #2A2266 0%, #15133D 52%, #08081A 100%); }
.br-top { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 460px; font-size: 17px; }
.icon-btn.glass { background: rgba(255,255,255,.1); color: #fff; border: 0; }
.br-chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); }
.br-stage { position: relative; width: min(78vw, 300px); aspect-ratio: 1; margin: 4vh 0 3vh; display: grid; place-items: center; flex: none; }
.br-halo { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(94,214,238,.22), rgba(94,214,238,0) 65%); }
.br-orb { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8BE3F2 0%, #5E6ACF 55%, #6032EA 100%); box-shadow: 0 0 80px rgba(94,214,238,.35), inset 0 0 40px rgba(255,255,255,.18); transition-property: transform; transition-timing-function: cubic-bezier(.45, 0, .55, 1); transform: scale(.7); }
.br-txt { position: relative; z-index: 1; text-align: center; text-shadow: 0 2px 14px rgba(10,10,40,.4); }
.br-txt b { display: block; font-family: var(--font-serif); font-size: 27px; font-weight: 600; }
.br-txt span { display: block; font-size: 14px; opacity: .85; margin-top: 4px; } .br-txt span.num { font-size: 30px; font-weight: 300; opacity: .9; }
.br-prog { position: absolute; inset: -9%; width: 118%; height: 118%; transform: rotate(-90deg); pointer-events: none; }
.br-prog circle { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 2; } .br-prog circle.on { stroke: rgba(255,255,255,.75); stroke-dasharray: 603; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.br-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 460px; }
.br-mode { padding: 12px 8px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; text-align: center; }
.br-mode b { display: block; font-size: 15px; } .br-mode small { display: block; font-size: 11.5px; opacity: .7; margin-top: 3px; line-height: 1.3; }
.br-mode.on { background: #fff; color: #15173A; border-color: #fff; }
.br-mins { display: flex; gap: 8px; margin: 12px 0 14px; }
.br-mins button { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: none; color: #fff; font-weight: 700; cursor: pointer; } .br-mins button.on { background: rgba(255,255,255,.18); }
.br-start { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 460px; padding: 15px; border: 0; border-radius: 18px; background: #fff; color: #15173A; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.br-stop { margin-top: 6px; padding: 12px 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font-weight: 700; cursor: pointer; }
.br-note { max-width: 420px; margin-top: 14px; font-size: 12.5px; line-height: 1.5; text-align: center; opacity: .62; }
.br-done { text-align: center; margin-bottom: 12px; opacity: .9; } .br-ok { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(27,175,122,.25); color: #A8F0CF; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.breath.running .br-top { opacity: .6; }
.rec-go { flex: none; padding: 6px 10px; }

/* întrebările dinaintea ședinței */
.pre-head { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); } .pre-head b { color: var(--text); }
.pre-q { display: block; margin-bottom: 14px; } .pre-q span { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; margin: 0 2px 7px; }
.pre-q i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 12px; }
.pre-cta { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 12px; padding: 11px 12px; border-radius: 14px; border: 1px dashed var(--accent); background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 13.5px; cursor: pointer; text-align: left; }
.pre-cta.done { border-style: solid; border-color: transparent; background: var(--good-soft); color: var(--good); }
.pre-ans .pa-row { display: grid; grid-template-columns: 118px 1fr; gap: 8px; padding: 5px 0; font-size: 13.5px; border-top: 1px solid var(--border); } .pre-ans .pa-row:first-of-type { border-top: 0; }
.pre-ans .pa-row b { color: var(--text-3); font-size: 12.5px; }

/* ora reală a meselor */
.mt-note { display: flex; gap: 8px; align-items: flex-start; margin: -2px 14px 10px 48px; padding: 9px 11px; border-radius: 12px; background: var(--accent-soft); color: var(--text-2); font-size: 12.5px; line-height: 1.45; }
.mt-note svg { flex: none; color: var(--accent-text); margin-top: 2px; } .mt-note b { color: var(--text); }

/* Menținerea */
.maint-hero { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 18px; border-radius: var(--r-xl); color: #fff; background: var(--ink-glow), linear-gradient(150deg, #0E4A3A 0%, #157A5C 55%, #1BAF7A 100%); box-shadow: 0 16px 36px rgba(14,74,58,.28); }
.maint-hero small { display: block; font-size: 11px; font-weight: 750; letter-spacing: .1em; opacity: .75; } .maint-hero b { display: block; font-family: var(--font-serif); font-size: 21px; margin: 2px 0; } .maint-hero span { font-size: 13px; opacity: .85; line-height: 1.4; }
.maint-items { margin-top: 12px; } .mi { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-size: 14.5px; border-top: 1px solid var(--border); } .mi:first-child { border-top: 0; }
.mi span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--good-soft); color: var(--good); }
.mi-price { margin-top: 10px; font-size: 18px; font-weight: 800; text-align: right; }
.maint-items + .btn, .maint-req { margin-top: 14px; } .maint-req { display: flex; gap: 10px; align-items: center; } .maint-req > svg { color: var(--accent-text); }
.maint-sign { display: flex; gap: 12px; align-items: center; width: 100%; margin: 20px 0 0; padding: 12px 14px; border: 0; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-align: left; cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--text); } .maint-sign span { flex: 1; }
.maint-sign small { display: block; font-family: var(--font); font-style: normal; font-size: 12px; color: var(--text-3); margin-top: 3px; }
.maint-card { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .maint-card .gc-ico { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--good-soft); color: var(--good); }
.maint-card.req { box-shadow: 0 0 0 2px var(--warn) inset, var(--shadow); }

/* răspunsurile rapide */
.qr-btn { color: var(--accent-text); }
.qr-li .tiny { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.qr-add { display: flex; gap: 10px; align-items: center; width: 100%; margin-bottom: 12px; cursor: pointer; text-align: left; color: var(--accent-text); font-weight: 700; font-size: 13.5px; }
.qr-edit { display: grid; gap: 8px; margin-bottom: 10px; padding: 12px; } .qr-edit .btn { justify-self: start; }

/* pozele de progres: pozițiile, camera cu umbra, comparația */
.pose-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pose-pick button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.pose-pick small { font-size: 11.5px; color: var(--text-3); }
.pose-ico { width: 40px; height: 54px; margin-bottom: 6px; background: var(--accent-soft); -webkit-mask: var(--pm) center / contain no-repeat; mask: var(--pm) center / contain no-repeat; background: var(--accent); }
.pose-ico.fata { --pm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 54'%3E%3Ccircle cx='20' cy='7' r='6'/%3E%3Cpath d='M11 15h18l3 18h-5l-1 21h-5l-1-14-1 14h-5l-1-21H8z'/%3E%3C/svg%3E"); }
.pose-ico.profil { --pm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 54'%3E%3Ccircle cx='21' cy='7' r='6'/%3E%3Cpath d='M16 15h9c3 0 5 3 5 6l-1 12h-4l-1 21h-6l-1-21h-2l1-12c0-3 0-6 0-6z'/%3E%3C/svg%3E"); }
.pose-ico.spate { --pm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 54'%3E%3Ccircle cx='20' cy='7' r='6.5'/%3E%3Cpath d='M10 15h20l3 18h-5l-1 21h-5l-1-14-1 14h-5l-1-21H7z' opacity='.75'/%3E%3C/svg%3E"); }
.pc-frame { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #0B0C22; }
.pc-vid, .pc-img, .pc-ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-vid.mirror { transform: scaleX(-1); }
.pc-ghost { pointer-events: none; }
.pc-count { position: absolute; inset: 0; display: grid; place-items: center; font-size: 96px; font-weight: 200; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.pc-err { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: #fff; font-size: 14px; }
.pc-tools { display: flex; align-items: center; gap: 12px; margin-top: 12px; } .pc-tools label { display: grid; gap: 4px; } .pc-tools input[type=range] { width: 100%; accent-color: var(--accent); }
.cmp-cta { margin-bottom: 10px; }
.cmp-sel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; } .cmp-sel label { display: grid; gap: 4px; }
.cmp-frame { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #0B0C22; }
.cmp-frame > img, .cmp-old img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-old { position: absolute; inset: 0; }
.cmp-line { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none; }
.cmp-line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #15173A; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.cmp-tag { position: absolute; bottom: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(10,10,30,.55); color: #fff; font-size: 12px; font-weight: 700; } .cmp-tag.l { left: 10px; } .cmp-tag.r { right: 10px; }
.cmp-range { width: 100%; margin: 12px 0 6px; accent-color: var(--accent); }

/* cabinetul: editorul hărții */
.bm-imgs { display: flex; gap: 8px; flex-wrap: wrap; }
.bm-img { position: relative; width: 86px; height: 86px; border-radius: 14px; overflow: hidden; background: #0E0F2A; } .bm-img img { width: 100%; height: 100%; object-fit: cover; }
.bm-img button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.bm-add { width: 86px; height: 86px; border-radius: 14px; border: 1.5px dashed var(--border-strong, var(--border)); background: var(--surface-2); color: var(--accent-text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 700; cursor: pointer; }
.bm-group { margin-bottom: 12px; } .bm-group > .tiny { margin: 0 2px 6px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bm-f { border-radius: 14px; border: 1px solid var(--border); background: var(--surface); margin-bottom: 6px; overflow: hidden; } .bm-f.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.bm-fh { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; }
.bm-ck { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--border-strong, var(--text-3)); display: grid; place-items: center; color: transparent; }
.bm-f.on .bm-ck { background: var(--accent); border-color: var(--accent); color: #fff; }
.bm-f .textarea { margin: 0 12px 12px; width: calc(100% - 24px); }
.bm-pv { margin-top: 8px; }
.breath.running .br-stage { margin-top: auto; } .breath.running .br-stop { margin-bottom: auto; }

/* ===================================================== runda 12 */
/* desenele care prind viață (o dată pe sesiune) */
.art.live svg path, .art.live svg circle:not(.halo):not(.dot) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: art-draw 1.35s cubic-bezier(.45, 0, .2, 1) forwards; }
.art.live svg .a2 { animation-delay: .3s; } .art.live svg .a3 { animation-delay: .55s; }
.art.live svg .dot { opacity: 0; animation: art-fade .5s .9s forwards; }
.art.live svg .halo { animation: art-halo .9s cubic-bezier(.2, .8, .2, 1) both; transform-origin: 60px 60px; }
.art-k-minte.live svg path:not(.a3) { transform-origin: 60px 76px; animation: art-draw 1.35s forwards, art-bloom 1.5s cubic-bezier(.2, .8, .2, 1) both; }
.art-k-somn.live svg path:first-of-type { animation: art-draw 1.35s forwards, art-rise 1.6s cubic-bezier(.2, .8, .2, 1) both; }
.art-k-corp.live svg .a2 { animation: art-draw 1s .45s forwards, art-beat .5s 1.6s ease-in-out 2; }
@keyframes art-draw { to { stroke-dashoffset: 0; } } @keyframes art-fade { to { opacity: 1; } }
@keyframes art-halo { from { transform: scale(.6); opacity: 0; } }
@keyframes art-bloom { from { transform: scale(.55); opacity: .2; } }
@keyframes art-rise { from { transform: translateY(12px); } }
@keyframes art-beat { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .art.live svg * { animation: none !important; stroke-dasharray: none !important; opacity: inherit; } }

/* „Povestea programului” */
.pstory { position: absolute; inset: 0; z-index: 95; display: flex; flex-direction: column; color: #fff; padding: calc(var(--safe-top) + 10px) 22px calc(var(--safe-bottom) + 22px); overflow: hidden; user-select: none;
  background: radial-gradient(120% 80% at 50% 25%, #2A2470 0%, #12123A 55%, #07081C 100%); transition: background .6s ease; }
.pstory.t-rose { background: radial-gradient(120% 80% at 50% 25%, #6A2C5C 0%, #2A1438 55%, #0C0818 100%); }
.pstory.t-teal { background: radial-gradient(120% 80% at 50% 25%, #136F74 0%, #0E2E44 55%, #06101E 100%); }
.pstory.t-violet { background: radial-gradient(120% 80% at 50% 25%, #4B22D8 0%, #24135F 55%, #0B0820 100%); }
.pstory.t-night { background: radial-gradient(120% 80% at 50% 25%, #2A2466 0%, #15133D 55%, #06061A 100%); }
.pstory.t-gold { background: radial-gradient(120% 80% at 50% 25%, #6B4A12 0%, #2B1E44 55%, #0A0820 100%); }
.st-bars { display: flex; gap: 4px; } .st-bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.st-bars i { display: block; height: 100%; width: 0; background: #fff; } .st-bars i.done { width: 100%; }
.st-bars i.on { animation: st-fill linear forwards; } .st-bars i.paused { animation-play-state: paused; }
@keyframes st-fill { to { width: 100%; } }
.st-top { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; position: relative; z-index: 3; } .st-top img { height: 26px; opacity: .9; }
.st-tap { position: absolute; top: 80px; bottom: 0; width: 38%; z-index: 1; } .st-tap.l { left: 0; } .st-tap.r { right: 0; width: 62%; }
.st-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; max-width: 520px; width: 100%; margin: 0 auto; position: relative; z-index: 2; pointer-events: none; animation: st-in .55s cubic-bezier(.2, .8, .2, 1) both; }
.st-body button, .st-body a, .st-acts { pointer-events: auto; }
@keyframes st-in { from { opacity: 0; transform: translateY(16px); } }
.st-body small { font-size: 12px; font-weight: 800; letter-spacing: .14em; opacity: .75; margin-top: 8px; }
.st-body h1 { font-family: var(--font-serif); font-size: 34px; line-height: 1.15; margin: 0; font-weight: 600; }
.st-body p { font-size: 16px; line-height: 1.5; opacity: .85; margin: 0; }
.st-body blockquote { font-family: var(--font-serif); font-style: italic; font-size: 23px; line-height: 1.4; margin: 6px 0; }
.st-big { font-family: var(--font-serif); font-size: 96px; line-height: 1; font-weight: 600; }
.st-list { display: grid; gap: 10px; width: 100%; } .st-list div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.09); font-size: 16px; text-align: left; }
.st-list b { font-variant-numeric: tabular-nums; }
.st-sign { font-family: var(--font-serif); font-style: italic; opacity: .9; }
.st-card { width: min(62vw, 270px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); display: grid; place-items: center; background: rgba(255,255,255,.06); }
.st-card img { width: 100%; height: 100%; object-fit: cover; }
.st-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.st-btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; border-radius: 999px; border: 0; background: #fff; color: #15173A; font-weight: 800; font-size: 14px; cursor: pointer; }
.st-btn.ghost { background: rgba(255,255,255,.12); color: #fff; }
.st-note { font-size: 12.5px !important; opacity: .6 !important; }

/* capul pe care îl atingi */
.headmap { padding: 14px; }
.hmap-row { display: flex; gap: 14px; align-items: center; }
.hmap { width: 148px; flex: none; overflow: visible; }
.hmap .hz-all { fill: var(--surface-2); stroke: var(--border-2, var(--border)); stroke-width: 1.2; cursor: pointer; }
.hmap .hz-nose, .hmap .hz-ear { fill: none; stroke: var(--text-3); stroke-width: 1.6; stroke-linecap: round; }
.hmap .hz { fill: var(--surface-3); stroke: var(--surface); stroke-width: 2; cursor: pointer; transition: fill .25s ease, transform .25s ease; }
.hmap .hz:hover { fill: color-mix(in srgb, var(--accent) 22%, var(--surface-3)); }
.hmap .t-sub { fill: #8FD9E6; } .hmap .t-supra { fill: #B9A6FF; } .hmap .t-mix { fill: #E6A6F5; } .hmap .t-info { fill: #D6D9E8; }
.hmap .hz-all.t-sub, .hmap .hz-all.t-supra, .hmap .hz-all.t-mix, .hmap .hz-all.t-info { fill: var(--surface-2); stroke-width: 4; } .hmap .hz-all.t-sub { stroke: #8FD9E6; } .hmap .hz-all.t-supra { stroke: #B9A6FF; } .hmap .hz-all.t-mix { stroke: #E6A6F5; } .hmap .hz-all.t-info { stroke: #C8CBDD; }
.hmap .sel { stroke: var(--accent); stroke-width: 2.6; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 45%, transparent)); }
:root[data-theme="dark"] .hmap .t-sub { fill: #1E6474; } :root[data-theme="dark"] .hmap .t-supra { fill: #4E3FA6; } :root[data-theme="dark"] .hmap .t-mix { fill: #6E2E7E; } :root[data-theme="dark"] .hmap .t-info { fill: #3A3D5C; }
.hmap-txt small { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--text-3); } .hmap-txt b { display: block; font-size: 16px; margin: 2px 0 4px; } .hmap-txt p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.hmap-found { margin-top: 12px; display: grid; gap: 6px; } .hf { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.hmap-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 10px; font-size: 11.5px; color: var(--text-3); }
.hmap-legend span { width: 10px; height: 10px; border-radius: 3px; margin-left: 6px; } .hmap-legend span:first-child { margin-left: 0; }
.hmap-legend .t-sub { background: #8FD9E6; } .hmap-legend .t-supra { background: #B9A6FF; } .hmap-legend .t-mix { background: #E6A6F5; } .hmap-legend .t-info { background: #D6D9E8; }

/* „Seara ta” */
.evening { position: absolute; inset: 0; z-index: 410; display: flex; align-items: center; justify-content: center; padding: calc(var(--safe-top) + 16px) 22px calc(var(--safe-bottom) + 16px); color: #FDEBD8; overflow-y: auto;
  background: radial-gradient(120% 70% at 50% 18%, #3A2418 0%, #1A120C 55%, #0B0806 100%); animation: fade .5s ease; }
.ev-box { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.ev-k { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #F4C08A; margin-top: 4px; }
.evening h1 { font-family: var(--font-serif); font-size: 31px; margin: 0; font-weight: 600; color: #FFF4E6; }
.ev-p { margin: 0; font-size: 15px; line-height: 1.5; opacity: .82; }
.ev-stats { display: flex; gap: 10px; width: 100%; margin-top: 6px; } .ev-stats div { flex: 1; padding: 12px 8px; border-radius: 16px; background: rgba(255,220,180,.08); border: 1px solid rgba(255,220,180,.12); }
.ev-stats b { display: flex; justify-content: center; font-family: var(--font-serif); font-size: 22px; color: #FFE2B8; } .ev-stats span { font-size: 12px; opacity: .75; }
.ev-q { width: 100%; text-align: left; margin-top: 4px; } .ev-q span { display: block; font-size: 13.5px; font-weight: 700; margin: 0 2px 6px; opacity: .9; }
.ev-q textarea { width: 100%; border-radius: 16px; border: 1px solid rgba(255,220,180,.18); background: rgba(255,220,180,.06); color: #FFF4E6; padding: 12px 14px; font: inherit; font-size: 15px; resize: none; }
.ev-q textarea::placeholder { color: rgba(253,235,216,.45); }
.ev-bed { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 16px; background: rgba(255,220,180,.06); font-size: 14.5px; text-align: left; }
.ev-bed input { background: none; border: 0; color: #FFE2B8; font: inherit; font-weight: 800; color-scheme: dark; } .ev-bed small { opacity: .7; white-space: nowrap; }
.ev-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 6px; padding: 14px; border: 0; border-radius: 18px; background: #F4C08A; color: #2A1608; font-weight: 800; font-size: 15.5px; cursor: pointer; }
.ev-later { background: none; border: 0; color: #FDEBD8; opacity: .8; font-weight: 700; font-size: 14.5px; padding: 8px; cursor: pointer; }

/* „Zi grea” */
.hard-link { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 12px; padding: 10px; border: 0; background: none; color: var(--text-3); font-weight: 650; font-size: 13.5px; cursor: pointer; }
.hard-link:hover { color: var(--accent-text); }
.hard-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.hd-chip { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; text-align: left; }
.hd-chip svg { color: var(--accent-text); } .hd-chip.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.hard-prev { padding: 12px 14px; border-radius: 16px; background: var(--accent-soft); margin-bottom: 12px; } .hard-prev small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--accent-text); margin-bottom: 6px; }
.hard-prev div { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; padding: 3px 0; } .hard-prev div span { flex: none; color: var(--accent-text); margin-top: 2px; }
.simple-day { margin-bottom: 12px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.sd-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .sd-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.sd-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 2px; border: 0; border-top: 1px solid var(--border); background: none; color: var(--text); font-size: 14.5px; text-align: left; cursor: pointer; }
.sd-ck { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-2, var(--border)); display: grid; place-items: center; color: transparent; transition: all var(--dur) var(--ease); }
.sd-item.on .sd-ck { background: var(--good); border-color: var(--good); color: #fff; } .sd-item.on { color: var(--text-3); text-decoration: line-through; }
.sd-undo { margin-top: 6px; border: 0; background: none; color: var(--text-3); font-size: 12.5px; font-weight: 650; cursor: pointer; padding: 4px 0; }

/* „Ce am în frigider” */
.fridge-cta { margin-bottom: 12px; }
.fridge-chips { margin-bottom: 4px; } .fridge-chips .chip { text-transform: none; }
.fr-li { align-items: center; } .fr-img { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; flex: none; } .fr-img img { width: 100%; height: 100%; object-fit: cover; } .fr-img .dish-cover { aspect-ratio: 1; } .fr-img .art svg .halo { display: none; }

/* după masă */
.feel-row { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }
.feel-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.feel-chips button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.feel-chips button svg { color: var(--accent-text); } .feel-chips button.on { background: var(--accent); color: #fff; border-color: var(--accent); } .feel-chips button.on svg { color: #fff; }
.feel-done { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 10px; border-radius: 999px; border: 0; background: var(--accent-soft); color: var(--accent-text); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.feel-nudge { margin-top: 12px; padding: 14px 16px; } .feel-nudge .feel-row { border-top: 0; margin-top: 2px; padding-top: 0; } .feel-nudge .feel-row > .tiny { display: none; }
.feel-pat .fp, .bf-feels .fp { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: 13.5px; line-height: 1.45; }
.fp.good svg { color: var(--good); flex: none; margin-top: 2px; } .fp.bad svg { color: var(--warn); flex: none; margin-top: 2px; }
.inline-time { border: 0; background: none; color: var(--accent-text); font: inherit; font-weight: 800; padding: 0; width: auto; }

/* Cabinetul: fișa ședinței, ședințele de azi, tabloul */
.brief .bf-top { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 6px; }
.bf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .bf-tags span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
.bf-pre { padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); } .bf-pre.empty { background: var(--surface-2); }
.bf-pre .pa-row { display: grid; grid-template-columns: 130px 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); font-size: 14.5px; } .bf-pre .pa-row:first-of-type { border-top: 0; }
.bf-pre .pa-row b { font-size: 12.5px; color: var(--accent-text); }
.bf-stats { margin-top: 6px; } .bf-hard { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13.5px; color: var(--text-2); }
.bf-scales { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; } .bf-scales div { padding: 10px 6px; border-radius: 12px; background: var(--surface-2); text-align: center; } .bf-scales span { display: block; font-size: 11.5px; color: var(--text-3); } .bf-scales b { font-size: 18px; }
.bf-alerts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .bf-alerts span { display: inline-flex; gap: 5px; align-items: center; font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.bf-q, .bf-next { margin-top: 10px; font-size: 14px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.bf-steps { list-style: none; padding: 0; margin: 0; } .bf-steps li { display: flex; gap: 8px; align-items: center; padding: 6px 0; font-size: 14.5px; border-top: 1px solid var(--border); } .bf-steps li:first-child { border-top: 0; }
.bf-steps li span { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text-3); } .bf-steps li.done span { background: var(--good-soft); color: var(--good); }
.bf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .bf-two h3 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 0 0 6px; }
.bf-two blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 15px; line-height: 1.45; } .bf-two ul { margin: 0; padding-left: 18px; font-size: 14px; }
@media (max-width: 560px) { .bf-two { grid-template-columns: 1fr; } .bf-scales { grid-template-columns: repeat(3, 1fr); } }
.today-sess { margin-bottom: 12px; padding: 12px 14px; } .ts-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .ts-h svg { color: var(--accent-text); }
.ts-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 2px; border: 0; border-top: 1px solid var(--border); background: none; color: var(--text); text-align: left; cursor: pointer; }
.ts-t { width: 52px; text-align: center; flex: none; } .ts-t b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; } .ts-t small { font-size: 11px; color: var(--text-3); }
.ts-go { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 750; color: var(--accent-text); }
.dash-hero { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-xl); color: #fff; background: var(--ink-glow), var(--ink); box-shadow: 0 16px 36px rgba(21,20,61,.28); }
.dash-hero small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; opacity: .7; } .dash-hero b { display: block; font-family: var(--font-serif); font-size: 22px; margin: 2px 0; } .dash-hero span { font-size: 13px; opacity: .8; }
.dkpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (min-width: 900px) { .full .dkpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dkpi { margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 2px; } .dkpi-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 6px; }
.dkpi b { font-family: var(--font-serif); font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; } .dkpi span { font-size: 13px; font-weight: 700; } .dkpi small { font-size: 11.5px; color: var(--text-3); line-height: 1.35; }
.hd-card { margin-bottom: 12px; } .hd-card svg { color: var(--accent-text); }

/* pagina de intrare: panoul INFINOOVIA */
.login { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; background: var(--bg); } .lg-brand { flex: none; } .lg-form { flex: 1 0 auto; }
.lg-brand { position: relative; overflow: hidden; color: #fff; padding: calc(var(--safe-top) + 26px) 24px 26px; background: radial-gradient(120% 90% at 15% 0%, rgba(41,178,210,.35), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(155,110,255,.4), transparent 60%), linear-gradient(160deg, #15143D 0%, #24166A 60%, #3A1FB0 100%); }
.lg-logo { height: 34px; width: auto; align-self: flex-start; } .lg-claim { margin-top: 18px; } .lg-claim small { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; opacity: .75; }
.lg-claim h2 { font-family: var(--font-serif); font-weight: 600; font-size: 22px; line-height: 1.3; margin: 6px 0 0; }
.lg-pillars { display: flex; gap: 6px; margin-top: 18px; } .lg-pillars span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; } .lg-pillars small { font-size: 11.5px; font-weight: 700; opacity: .8; }
.lg-foot { display: none; }
.lg-form { flex: 1; display: flex; justify-content: center; padding: 26px 24px calc(var(--safe-bottom) + 24px); }
.lg-in { width: 100%; max-width: 400px; } .lg-in h1 { font-family: var(--font-serif); font-size: 30px; margin: 0 0 6px; font-weight: 650; } .lg-sub { margin-bottom: 20px; font-size: 14.5px; line-height: 1.45; }
.lg-help { display: grid; gap: 10px; margin-top: 20px; font-size: 13px; line-height: 1.5; color: var(--text-2); } .lg-help a { color: var(--accent-text); font-weight: 700; }
.lg-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--text-3); text-decoration: none; }

/* pe web (ecran mare, fără rama de iPhone): meniul din stânga, conținutul în mijloc, ferestrele în centru */
.webside { display: none; }
@media (min-width: 1024px) {
  .stage.web .app { flex-direction: row; }
  .stage.web .webside { display: flex; flex-direction: column; width: 272px; flex: none; height: 100%; padding: 22px 16px 18px; background: var(--surface); border-right: 1px solid var(--border); overflow-y: auto; }
  .stage.web .tabbar { display: none; }
  .stage.web .scroll { max-width: none; margin: 0; padding: 30px max(40px, calc((100% - 272px - 760px) / 2)) 70px; }
  .stage.web .scroll.wide { padding-left: max(32px, calc((100% - 272px - 1120px) / 2)); padding-right: max(32px, calc((100% - 272px - 1120px) / 2)); }
  .stage.web .sheet-root { align-items: center; justify-content: center; }
  .stage.web .sheet { width: min(580px, 92%); border-radius: 26px; max-height: 88%; animation: web-pop .28s cubic-bezier(.2, .8, .2, 1); }
  .stage.web .sheet[style*="92%"] { height: min(88%, 900px) !important; }
  .stage.web .sheet .handle { display: none; }
  .stage.web .toasts { left: calc(50% + 136px); }
  .stage.web .hello .avatar { display: none; }
  .stage.web .fy-row { margin: 0; padding-left: 0; padding-right: 0; scroll-padding-inline: 0; }
  .stage.web .hm-imgs { margin: 12px 0 0; padding: 2px 0 6px; } .stage.web .hm-img { width: 46%; }
  .stage.web .breath .br-stage { width: 320px; }
  .stage.web .login { flex-direction: row; min-height: 100vh; }
  .stage.web .lg-brand { width: 46%; max-width: 640px; padding: 48px 56px; display: flex; flex-direction: column; }
  .stage.web .lg-logo { height: 44px; } .stage.web .lg-claim { margin-top: auto; } .stage.web .lg-claim h2 { font-size: 34px; max-width: 460px; }
  .stage.web .lg-pillars { margin-top: 34px; max-width: 420px; } .stage.web .lg-foot { display: block; margin-top: auto; padding-top: 30px; font-family: var(--font-serif); font-style: italic; opacity: .75; }
  .stage.web .lg-form { align-items: center; padding: 48px; }
}
@keyframes web-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.ws-logo { display: block; padding: 4px 10px 18px; } .ws-logo img { height: 30px; } .ws-logo-d { display: none; }
:root[data-theme="dark"] .ws-logo-l { display: none; } :root[data-theme="dark"] .ws-logo-d { display: inline; }
.ws-me { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 16px; background: var(--surface-2); color: var(--text); text-align: left; cursor: pointer; }
.ws-av { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; flex: none; }
.ws-me b { display: block; font-size: 14.5px; } .ws-me small { display: block; font-size: 12px; color: var(--text-3); }
.ws-quick { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 10px; padding: 12px; border: 0; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; font-size: 14.5px; cursor: pointer; box-shadow: 0 10px 24px rgba(75,34,216,.28); }
.ws-nav { display: flex; flex-direction: column; gap: 2px; }
.ws-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text-2); text-decoration: none; font-weight: 650; font-size: 14.5px; transition: background var(--dur) var(--ease); }
.ws-item svg { color: var(--text-3); } .ws-item:hover { background: var(--surface-2); color: var(--text); }
.ws-item.on { background: var(--accent-soft); color: var(--accent-text); } .ws-item.on svg { color: var(--accent-text); fill: currentColor; fill-opacity: .2; }
.ws-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bad); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.ws-sep { height: 1px; background: var(--border); margin: 10px 8px; }
.ws-foot { margin-top: auto; padding-top: 14px; } .ws-site { display: inline-flex; align-items: center; gap: 6px; margin: 8px 12px 0; font-size: 12.5px; font-weight: 700; color: var(--text-3); text-decoration: none; }
@media (min-width: 1024px) { .stage.web .fy-row { flex-wrap: wrap; overflow: visible; } .stage.web .fy-card { width: calc((100% - 30px) / 4); } .stage.web .tiles { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } .stage.web .tiles .tile { flex: 1 1 150px; } }

.dash-chart > svg, .dash-chart > div:first-child { max-width: 620px; margin: 0 auto; display: block; }
.frame-btn { top: auto !important; bottom: 14px; }

/* ===================================================== runda 13: paleta INFINOOVIA, luminoasă (turcoaz · indigo · violet) */
:root {
  --bg: #F3F5FC; --bg-2: #EAEEFA; --surface: #FFFFFF; --surface-2: #F7F8FE; --surface-3: #EDF0FA;
  --border: #E3E7F4; --border-2: #D2D8EC;
  --accent: #5E6ACF; --accent-2: #29B2D2; --accent-3: #6032EA; --accent-soft: #EDEFFF; --accent-text: #4450B8;
  --brand-soft: linear-gradient(135deg, #DFF4FA 0%, #EAEDFF 55%, #F0E8FF 100%);
  --grad-btn: linear-gradient(120deg, #2FA6D6 0%, #5E6ACF 48%, #6032EA 100%);
  --ink: linear-gradient(135deg, #2EADDA 0%, #5E6ACF 52%, #6032EA 100%);
  --ink-glow: radial-gradient(110% 130% at 0% 0%, rgba(255,255,255,.26) 0%, rgba(255,255,255,0) 46%);
  --contest-grad: var(--ink);
  --teal-soft: #DFF4FA; --teal-text: #0E6E86;
  --shadow: 0 1px 2px rgba(40,48,120,.05), 0 8px 24px rgba(60,72,170,.08);
  --shadow-brand: 0 14px 30px rgba(80,70,210,.30);
  --tab-bg: rgba(255,255,255,.88);
  --app-glow: radial-gradient(760px 380px at 0% -8%, rgba(41,178,210,.13), transparent 62%), radial-gradient(760px 400px at 100% -10%, rgba(96,50,234,.11), transparent 64%);
}
/* noaptea: indigo adânc, cu lumina brandului (nu negru) */
:root[data-theme="dark"] {
  --bg: #13163D; --bg-2: #181C4A; --surface: #1D2154; --surface-2: #232860; --surface-3: #2C326E;
  --text: #F4F5FF; --text-2: #C6CAEE; --text-3: #A2A7D4; --border: #30367A; --border-2: #3D448C;
  --accent: #8E98FF; --accent-soft: #2E3480; --accent-text: #BAC1FF;
  --brand-soft: linear-gradient(135deg, rgba(41,178,210,.24) 0%, rgba(94,106,207,.26) 55%, rgba(96,50,234,.30) 100%);
  --ink: linear-gradient(135deg, #2697C6 0%, #5563CC 52%, #5D31DE 100%);
  --teal-soft: rgba(41,178,210,.2); --teal-text: #7EDCF0;
  --tab-bg: rgba(29,33,84,.88);
  --shadow: 0 1px 2px rgba(0,0,0,.22), 0 10px 28px rgba(6,8,44,.34);
  --app-glow: radial-gradient(760px 400px at 0% -8%, rgba(41,178,210,.20), transparent 62%), radial-gradient(760px 420px at 100% -10%, rgba(96,50,234,.24), transparent 64%);
}
/* seara (21:00–6:00): lumină caldă, dar tot luminoasă; fondul nu mai devine maro-închis */
:root[data-warm="1"]:not([data-theme="dark"]) {
  --bg: #FBF6F0; --bg-2: #F5EDE3; --surface: #FFFDFA; --surface-2: #FBF6EF; --surface-3: #F3EADF;
  --text: #2A1E19; --text-2: #5D4A3E; --text-3: #826D60; --border: #EEE2D4; --border-2: #E2D2C0;
  --accent: #7A55D8; --accent-soft: #F1EAFB; --accent-text: #5B3DB8;
  --brand-soft: linear-gradient(135deg, #FDE9DA 0%, #F6E6F4 55%, #EFE6FF 100%);
  --grad: linear-gradient(135deg, #F09A62 0%, #C364A8 52%, #7A55D8 100%); --grad-btn: linear-gradient(120deg, #EE9160 0%, #C060A6 50%, #7A55D8 100%);
  --ink: linear-gradient(135deg, #F09A62 0%, #C364A8 52%, #7A55D8 100%);
  --good: #3F7A2E; --good-soft: #EAF3E2; --warn: #A6560E; --warn-soft: #FCEBD9;
  --tab-bg: rgba(255,253,250,.9); --shadow: 0 1px 2px rgba(90,60,30,.05), 0 8px 24px rgba(120,80,40,.08);
  --app-glow: radial-gradient(760px 380px at 0% -8%, rgba(240,154,98,.16), transparent 62%), radial-gradient(760px 400px at 100% -10%, rgba(195,100,168,.12), transparent 64%);
}
:root[data-warm="1"][data-theme="dark"] {
  --bg: #1C1636; --bg-2: #221A40; --surface: #271E48; --surface-2: #2E2453; --surface-3: #382D60;
  --text: #FBF1EC; --text-2: #E2CFCB; --text-3: #B8A3AE; --border: #3D3064; --border-2: #4A3B74;
  --accent: #F4A56E; --accent-soft: #45304E; --accent-text: #FFC79C;
  --brand-soft: linear-gradient(135deg, rgba(240,154,98,.24) 0%, rgba(195,100,168,.24) 55%, rgba(122,85,216,.28) 100%);
  --grad: linear-gradient(135deg, #E98A58 0%, #B65BA2 52%, #6E4BD0 100%); --grad-btn: linear-gradient(120deg, #E98A58 0%, #B65BA2 50%, #6E4BD0 100%);
  --ink: linear-gradient(135deg, #D97C50 0%, #A8559B 52%, #5F43C2 100%);
  --good: #9CCB5E; --good-soft: #2C3418; --warn: #F2B14B; --warn-soft: #3E2D12;
  --tab-bg: rgba(39,30,72,.9); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(10,5,30,.4);
  --app-glow: radial-gradient(760px 400px at 0% -8%, rgba(233,138,88,.18), transparent 62%), radial-gradient(760px 420px at 100% -10%, rgba(182,91,162,.2), transparent 64%);
}
:root[data-warm="1"] .hero, :root[data-warm="1"] .client-hero { background: var(--ink-glow), var(--ink); }
:root[data-warm="1"] .btn-primary, :root[data-warm="1"] .fab { box-shadow: 0 10px 22px rgba(192,96,166,.3); }
:root[data-warm="1"] .seg button.on { background: var(--surface); }
/* fondul aplicației: lumina brandului, sus */
.app { background: var(--app-glow), var(--bg); }
.stage.web .webside { background: color-mix(in srgb, var(--surface) 92%, transparent); }
/* cardul mare, „Pentru tine”, drumul, concursurile: degradeul siglei, luminos */
.hero, .client-hero { background: var(--ink-glow), var(--ink); box-shadow: var(--shadow-brand); }
.client-hero::after { opacity: .12; }
:root[data-daypart="zori"] { --ink-glow: radial-gradient(110% 130% at 100% 0%, rgba(255,214,170,.42) 0%, rgba(255,214,170,0) 50%); }
:root[data-daypart="zi"] { --ink-glow: radial-gradient(110% 130% at 0% 0%, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 46%); }
:root[data-daypart="apus"] { --ink-glow: radial-gradient(110% 130% at 100% 0%, rgba(255,170,130,.40) 0%, rgba(255,120,170,.12) 36%, rgba(255,120,170,0) 58%); }
:root[data-daypart="noapte"] { --ink-glow: radial-gradient(110% 130% at 100% 0%, rgba(20,16,80,.28) 0%, rgba(20,16,80,0) 55%); }
.dash-hero, .maint-hero { box-shadow: var(--shadow-brand); }
.dash-hero { background: var(--ink-glow), var(--ink); }
.btn-primary { box-shadow: 0 10px 22px rgba(80,70,210,.26); }
.fab { box-shadow: 0 12px 26px rgba(80,70,210,.40); }
/* iconițele: o pată fină de turcoaz-indigo-violet, nu un gri plat */
.ico-box[style*="background:#"], .ico-box[style*="background: rgb"], .ico-box[style*="background-color: rgb"], .ti[style*="background:#"], .ti[style*="background: rgb"], .ti[style*="background-color: rgb"], .pico[style*="background:#"], .pico[style*="background: rgb"], .pico[style*="background-color: rgb"] { background: var(--brand-soft) !important; color: var(--accent-text) !important; }
.tile .ti, .fy-ico, .lh-ico, .dkpi-ico, .sd-ico, .kpi-ico, .ws-av { background: var(--brand-soft); }
.ws-av { background: var(--grad-btn); }
.fy-card.gold .fy-ico { background: var(--gold-bg); } .fy-card.sun .fy-ico { background: #FFEBD2; } .fy-card.teal .fy-ico { background: var(--teal-soft); }
/* bara de jos: fila activă, cu degradeul brandului */
.tab { position: relative; }
.tab.on::before { content: ''; position: absolute; top: -8px; left: 50%; width: 26px; height: 3px; margin-left: -13px; border-radius: 0 0 4px 4px; background: var(--grad-btn); }
.tab.on svg { fill: var(--accent); fill-opacity: .18; }
.ws-item.on { background: var(--brand-soft); }
/* titlurile de secțiune: puțin mai aerisite */
.section-t { color: var(--text-3); }
.section-t > svg { color: var(--accent); }

/* bulinele obiceiurilor: inelul în culoarea sferei (sau degradeul brandului), cercul centrat, bifa plină și o undă la bifare */
.habits-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 0; }
.habits-row > div { width: 25%; }
.habits-row.n3 > div, .habits-row.n5 > div, .habits-row.n6 > div, .habits-row.n9 > div { width: 33.333%; }
.habit-b { gap: 7px; }
.habit-b .hc { width: 66px; height: 66px; padding: 0; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; }
.habit-b .hc .in { width: 50px; height: 50px; background: var(--surface); box-shadow: 0 2px 8px rgba(40,48,120,.10), inset 0 0 0 1px var(--border); color: var(--c); }
.habit-b.done .hc .in { background: linear-gradient(145deg, color-mix(in srgb, var(--c) 72%, #fff) 0%, var(--c) 100%); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 42%, transparent); }
.habit-b.brand.done .hc .in { background: var(--grad-btn); box-shadow: 0 6px 16px rgba(80,70,210,.38); }
.habit-b .hc::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; pointer-events: none; }
.habit-b.pop .hc::after { animation: hb-wave .7s cubic-bezier(.2, .8, .2, 1); }
@keyframes hb-wave { 0% { opacity: .55; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.habit-b .hn { font-size: 12.5px; font-weight: 650; color: var(--text); max-width: 92px; }
.habit-b.done .hn { color: var(--text-2); }
.habit-b .hs { top: -4px; right: -2px; }
.habit-b:hover .hc .in { box-shadow: 0 4px 12px rgba(40,48,120,.16), inset 0 0 0 1px var(--border-2); }
/* fișa obiceiului: harta pe 12 săptămâni și procentul */
.hab-foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.hab-foot .heat { grid-template-rows: repeat(7, 11px); grid-auto-columns: 11px; }
.hab-stat { margin-left: auto; text-align: right; }
.hab-stat b { display: block; font-family: var(--font-serif); font-size: 26px; line-height: 1; color: var(--accent-text); }
.hab-stat small { display: block; font-size: 12px; color: var(--text-3); margin-top: 4px; }
.week-dots i.on { box-shadow: 0 3px 8px color-mix(in srgb, var(--c, var(--accent)) 35%, transparent); }
/* ecranele pe tot ecranul (focus, respirația, povestea, sărbătoarea, pornirea): indigo-violetul brandului, nu negru */
.focus-page { background: radial-gradient(120% 80% at 50% 0%, #3C4FC4 0%, #262A86 45%, #14164A 100%); }
.breath { background: radial-gradient(110% 80% at 50% 28%, #2F78C4 0%, #2B2F8E 50%, #15174C 100%); }
:root[data-daypart="noapte"] .breath, :root[data-daypart="apus"] .breath { background: radial-gradient(110% 80% at 50% 28%, #4A3CB8 0%, #282478 52%, #121040 100%); }
.pstory { background: radial-gradient(120% 80% at 50% 25%, #4351C9 0%, #262A86 55%, #13154A 100%); }
.grad-ov { background: radial-gradient(90% 70% at 50% 35%, #5A45D0 0%, #2A2486 55%, #13114A 100%); }
#splash { background: radial-gradient(90% 60% at 50% 40%, #4A4FC8 0%, #27258A 55%, #13124A 100%); }
.story.s4 { background: linear-gradient(140deg, #3640B8, #5A31D6); }
.harta-hero { background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.2), transparent 55%), linear-gradient(135deg, #4F63D8 0%, #6448E6 60%, #6032EA 100%); }
/* zilele din chat: doar prima literă mare („Acum 3 zile”, nu „Acum 3 Zile”) */
.th-day span { text-transform: none; } .th-day span::first-letter { text-transform: uppercase; }
/* finisaje: ferestrele, încărcarea, butoanele de alegere */
.sheet-head .sh-ico { background: var(--brand-soft); }
.sk, .skeleton { background-image: linear-gradient(90deg, var(--surface-3) 0%, color-mix(in srgb, var(--accent) 8%, var(--surface-2)) 50%, var(--surface-3) 100%); }
.chip.on { background: var(--brand-soft); border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent-text); }
.seg button.on { box-shadow: 0 2px 8px rgba(60,72,170,.14); color: var(--accent-text); }
.btn-soft { background: var(--brand-soft); }

/* ================================================================= Runda 14: două layout-uri. Pe desktop (de la 1200 px, nu în rama de iPhone)
   paginile se așază pe coloane: meniul în stânga, pagina, iar pe paginile cu o coloană panoul „Azi, pe scurt” în dreapta.
   Pe telefon și pe tabletă nu se schimbă nimic. */
.dk-rail { display: none; }
@media (min-width: 1200px) {
  .stage.web { --nav-w: 248px; --rail-w: 300px; --col-w: 820px; --full-w: 1320px; }
  .stage.web .webside { width: var(--nav-w); }
  .stage.web .toasts { left: calc(50% + var(--nav-w) / 2); }
  .stage.web .app:has(> .dk-rail) .toasts { left: calc(50% + (var(--nav-w) - var(--rail-w)) / 2); }
  /* fără benzile goale: pagina cu panoul are până la 820 px; pagina pe toată lățimea, până la 1320 px */
  .stage.web .scroll.dk-pg-rail { padding: 28px max(28px, calc((100% - var(--nav-w) - var(--rail-w) - var(--col-w)) / 2)) 70px; }
  .stage.web .scroll.dk-pg-full { padding: 28px max(34px, calc((100% - var(--nav-w) - var(--full-w)) / 2)) 70px; }
  .stage.web .scroll.dk-pg-rail.fixed { padding-bottom: 24px; }
  /* raportul lunii: o pagină de document, în mijloc */
  .stage.web .scroll.dk-pg-full.dk-doc { padding-left: max(34px, calc((100% - var(--nav-w) - 920px) / 2)); padding-right: max(34px, calc((100% - var(--nav-w) - 920px) / 2)); }

  /* ---------- panoul din dreapta */
  .stage.web .dk-rail { display: flex; flex-direction: column; width: var(--rail-w); flex: none; height: 100%; overflow-y: auto; padding: 24px 18px 30px; border-left: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 55%, transparent); scrollbar-width: none; }
  .stage.web .dk-rail::-webkit-scrollbar { display: none; }
}
@media (min-width: 1440px) { .stage.web { --nav-w: 272px; --rail-w: 340px; } }
@media (min-width: 1760px) { .stage.web { --rail-w: 370px; --col-w: 940px; } }

.rl-head { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 16px 16px 15px; border: 0; border-radius: 22px; color: #fff; cursor: pointer; background: var(--ink-glow), var(--ink); box-shadow: var(--shadow-brand); transition: transform var(--dur) var(--ease); }
.rl-head:hover { transform: translateY(-1px); }
.rl-head small { display: block; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; opacity: .82; }
.rl-head b { display: block; font-family: var(--font-serif); font-size: 21px; font-weight: 600; margin-top: 3px; letter-spacing: -.01em; }
.rl-head .rl-sub { display: block; font-size: 12.5px; opacity: .88; margin-top: 4px; line-height: 1.3; }
.rl-head > svg { align-self: flex-start; opacity: .8; flex: none; }
.rl-t { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 20px 4px 9px; }
.rl-t > svg { color: var(--accent); flex: none; }
.rl-t .badge-n { margin-left: auto; letter-spacing: 0; }
.rl-card { display: block; width: 100%; text-align: left; border: 0; cursor: pointer; padding: 12px 14px; margin-top: 12px; color: var(--text); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.rl-t + .rl-card { margin-top: 0; }
.rl-card:hover { box-shadow: var(--shadow-brand); transform: translateY(-1px); }
.rl-row { display: flex; align-items: center; gap: 11px; }
.rl-row b { display: block; font-size: 14px; line-height: 1.25; }
.rl-row small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; line-height: 1.3; }
.rl-row small b { display: inline; font-size: inherit; color: var(--text-2); }
.rl-row > svg { color: var(--text-3); flex: none; }
.rl-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--accent-text); }
.rl-ico.brand { background: var(--grad-btn); color: #fff; }
.rl-num { font-family: var(--font-serif); font-size: 23px; font-weight: 600; line-height: 1; flex: none; }
.rl-num i { font-style: normal; font-size: 14px; color: var(--text-3); }
.rl-bar { height: 6px; border-radius: 4px; background: var(--surface-3); margin-top: 11px; overflow: hidden; }
.rl-bar span { display: block; height: 100%; min-width: 6px; border-radius: 4px; background: var(--grad-btn); transition: width .5s var(--ease); }
.rl-date { width: 44px; height: 48px; border-radius: 13px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--accent-text); line-height: 1; }
.rl-date b { font-family: var(--font-serif); font-size: 19px; }
.rl-row .rl-date small { font-size: 11px; margin-top: 3px; color: var(--accent-text); font-weight: 650; }
.rl-link { display: flex; align-items: center; gap: 7px; margin: 14px 4px 0; padding: 4px 0; border: 0; background: none; color: var(--accent-text); font-weight: 650; font-size: 13.5px; cursor: pointer; }
.rl-habits { padding: 14px 4px 10px; }
.rl-habits .habits-row { gap: 14px 0; }
.rl-habits .habits-row > div { width: 33.333%; }
.rl-tasks > * + * { margin-top: 8px; }
.rl-sk { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.rl-sk .sk { display: block; }
.dk-rail .rec-list .li { padding: 10px 12px; gap: 10px; }
.dk-rail .list .li.ev { padding: 9px 13px; }
.dk-rail .list + .rl-t, .dk-rail .card + .rl-t { margin-top: 22px; }

/* ---------- Azi și Cabinetul: două coloane (pagina + coloana din dreapta a paginii) */
.dk-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
@media (min-width: 1600px) { .dk-cols { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; } }
.dk-main > :first-child, .dk-side > :first-child { margin-top: 0; }
.dk-side > .section-t:first-child, .dk-side > .fy-t:first-child { margin-top: 4px; }
.dk-main .swipe-hint { display: none; }
.stage.web .dk-side .fy-row { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 8px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
.stage.web .dk-side .fy-card { width: 100%; min-height: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 1px; align-items: center; padding: 11px 14px; border-radius: 16px; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.stage.web .dk-side .fy-card:hover { box-shadow: var(--shadow-brand); transform: translateX(2px); }
.stage.web .dk-side .fy-card .fy-ico { grid-row: 1 / span 2; margin: 0; }
.stage.web .dk-side .fy-card b { font-size: 14px; -webkit-line-clamp: 1; align-self: end; }
.stage.web .dk-side .fy-card small { -webkit-line-clamp: 1; align-self: start; }
.stage.web .dk-side .fy-card.fy-sk { display: flex; flex-direction: row; gap: 10px; }
.stage.web .dk-side .tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; overflow: visible; }
.stage.web .dk-side .tiles .tile { width: auto; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; row-gap: 0; align-items: center; padding: 10px 11px; border-radius: 15px; }
.stage.web .dk-side .tile .ti { width: 32px; height: 32px; border-radius: 10px; grid-row: 1 / span 2; }
.stage.web .dk-side .tile b { font-size: 13px; align-self: end; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage.web .dk-side .tile small { margin: 0; align-self: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage.web .dk-side .tile b:last-child { grid-row: 1 / span 2; align-self: center; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dk-side .today-sess, .dk-side .bulk-bar { margin-top: 0; }
.dk-side .today-sess + .bulk-bar { margin-top: 12px; }
@media (min-width: 1200px) {
  /* Biblioteca: articolul săptămânii pe lat, articolele câte două pe rând */
  .stage.web .lf-cover { aspect-ratio: 16 / 7.5; }
  .stage.web .lf-cover .cv-ico { top: 16%; }
  .stage.web .lib-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  /* Obiceiurile: câte două pe rând */
  .stage.web .hab-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
  .stage.web .hab-stack > .card { margin: 0; }
}
.stage.web .dk-side .tile:hover, .stage.web .dk-main .tile:hover { box-shadow: var(--shadow-brand); }
.dk-side .habits-row > div { width: 33.333%; }
.dk-side .hard-link { justify-content: flex-start; padding: 12px 4px 4px; }
.dk-side .appt-card:first-child { margin-top: 0 !important; }
.dk-side > .card + .section-t, .dk-side > .list + .section-t { margin-top: 22px; }

/* ---------- Progresul și Eu: blocurile pe două coloane */
.dk-lead > :first-child { margin-top: 0; }
.dk-masonry { columns: 2; column-gap: 26px; }
.dk-blk { break-inside: avoid; display: flow-root; padding-bottom: 8px; }
.dk-blk > .section-t:first-child { margin-top: 16px; }
.stage.web .dk-lead .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stage.web .dk-lead .stats-row { gap: 12px; }
.stage.web .dk-lead .hero { margin-bottom: 4px; }

/* ---------- desktop: mouse */
@media (hover: hover) and (min-width: 1200px) {
  .stage.web .card.plan-card:hover, .stage.web .cab-client:hover, .stage.web .later-h:hover { box-shadow: var(--shadow-brand); }
  .stage.web button.li:hover, .stage.web a.li:hover { background: var(--surface-2); }
}
/* ================================================================= Runda 15: rolurile (Administrator, Recepție, Specialist).
   Programările pe zile, amintirea de ședință, fișa clientului pentru recepție, echipa clientului, cine a scris în chat. */
.pg-row { padding: 0; gap: 0; cursor: default; }
.pg-row > .icon-btn { margin-right: 10px; flex: none; }
.pg-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 12px 14px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--text); }
.pg-time { width: 52px; flex: none; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.pg-time b { font-size: 16px; font-weight: 750; }
.pg-time small { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.pg-chips:empty { display: none; }
.pg-chips .st-chip { font-size: 11px; padding: 2px 7px; display: inline-flex; align-items: center; gap: 3px; }
.pg-off .pg-main { opacity: .55; }
.pg-off .pg-main b { text-decoration: line-through; }
.team-ro { padding: 12px 14px; }
.desk-rows { display: flex; flex-direction: column; gap: 8px; }
.desk-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.desk-rows > div span { color: var(--text-3); font-size: 13px; }
.desk-rows > div b { text-align: right; font-weight: 650; }
.desk-appts { display: flex; flex-direction: column; }
.desk-appt { display: flex; align-items: center; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.desk-appt:last-child { border-bottom: 0; }
.desk-card .cc-t, .cab-grid .card > .cc-t { align-items: center; gap: 8px; }
.cc-t .right.link-btn { margin-left: auto; font-size: 13px; }
.desk-note { grid-column: 1 / -1; }
.bub-who { font-size: 11.5px; font-weight: 700; color: var(--text-3); margin: 10px 46px 3px; letter-spacing: .01em; }
.bub-who.right { text-align: right; margin: 10px 8px 3px; }
.role-sel { width: auto; max-width: 128px; padding: 6px 8px; font-size: 13px; }
/* „Seara ta”: cerul de noapte al brandului (indigo-violet), cu lumina caldă a serii; nu maro-negru */
.evening { background: radial-gradient(120% 70% at 50% 16%, #5446A6 0%, #2E2870 50%, #1B1850 100%); }

/* ================================================================= Runda 16: testele INFINOOVIA și Pulsul zilei */
.tt-brand { --t1: #29B2D2; --t2: #6032EA; }
.tt-minte { --t1: #1E9BC0; --t2: #5E6ACF; }
.tt-violet { --t1: #8B5CF6; --t2: #6032EA; }
.tt-somn { --t1: #F0A93B; --t2: #D9663A; }
.tt-corp { --t1: #1BAF7A; --t2: #29B2D2; }
.tt-gold { --t1: #E0A400; --t2: #C2761A; }
.tt-indigo { --t1: #5E6ACF; --t2: #6032EA; }
.tt-teal { --t1: #29B2D2; --t2: #1BAF7A; }
.tst-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .tst-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
.tst-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 15px 14px 14px; border: 0; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); text-align: left; cursor: pointer; color: var(--text); min-height: 178px;
  animation: tst-up .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.tst-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--t1) 22%, transparent), transparent 70%); pointer-events: none; }
.tst-card:active { transform: scale(.97); }
@media (hover: hover) { .tst-card:hover { box-shadow: 0 10px 30px color-mix(in srgb, var(--t2) 22%, transparent); transform: translateY(-2px); } }
.tst-disc { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--t1, #29B2D2), var(--t2, #6032EA)); box-shadow: 0 8px 18px color-mix(in srgb, var(--t2, #6032EA) 30%, transparent); flex: none; margin-bottom: 6px; }
.tst-disc.big { width: 76px; height: 76px; border-radius: 26px; margin: 0 auto 14px; }
.tst-disc.sm { width: 34px; height: 34px; border-radius: 11px; margin: 0; box-shadow: none; }
.tst-name { font-family: var(--font-serif); font-size: 17px; font-weight: 600; line-height: 1.2; }
.tst-short { font-size: 12.5px; color: var(--text-2); line-height: 1.3; }
.tst-meta { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; font-size: 12px; }
.tst-badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); }
.tst-badge.new { background: color-mix(in srgb, var(--t1) 16%, var(--surface)); color: color-mix(in srgb, var(--t1) 70%, var(--text)); }
.tst-badge.go { background: var(--warn-soft); color: var(--warn); }
.tst-last { font-size: 11.5px; color: var(--text-3); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tst-privacy { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; }
.tst-privacy .ico { color: var(--good); margin-top: 2px; }
.tst-entry { margin: 12px 0 4px; }
/* introducerea */
.tst-intro { position: relative; overflow: hidden; text-align: center; padding: 28px 20px 22px; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); margin-top: 4px; }
.tst-intro::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--t1) 18%, transparent), transparent 70%), radial-gradient(60% 50% at 100% 100%, color-mix(in srgb, var(--t2) 12%, transparent), transparent 70%); pointer-events: none; }
.tst-intro > * { position: relative; }
.tst-intro h1 { font-family: var(--font-serif); font-size: 30px; font-weight: 650; letter-spacing: -.01em; margin: 0 0 8px; }
.tst-intro p { color: var(--text-2); font-size: 16px; line-height: 1.5; margin: 0 auto 16px; max-width: 460px; }
.tst-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.tst-chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.tst-start { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 420px; margin: 0 auto; height: 56px; border: 0; border-radius: 18px; cursor: pointer; font: inherit; font-size: 17px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--t1, #5E6ACF), var(--t2, #6032EA)); box-shadow: 0 14px 30px color-mix(in srgb, var(--t2, #6032EA) 34%, transparent); transition: transform var(--dur-fast) var(--spring); }
.tst-start:active { transform: scale(.97); }
.tst-start.soft { background: var(--surface); color: var(--accent-text); box-shadow: var(--shadow); margin-top: 18px; }
.tst-link { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--accent-text); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; padding: 6px; }
.tst-hint { display: flex; gap: 8px; align-items: flex-start; justify-content: center; font-size: 13px; color: var(--text-2); margin: 14px auto 0; max-width: 440px; text-align: left; }
.tst-hint.center { text-align: center; display: block; }
.tst-hint .ico { flex: none; margin-top: 1px; color: var(--accent-text); }
.tst-source { font-size: 11.5px; color: var(--text-3); text-align: center; margin: 18px 10px 6px; line-height: 1.45; }
/* testul pe tot ecranul */
.tst-run { position: absolute; inset: 0; z-index: 95; display: flex; flex-direction: column; padding: calc(var(--safe-top) + 12px) 18px calc(var(--safe-bottom) + 14px); overflow-y: auto; color: var(--text);
  background: radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--t1) 20%, transparent), transparent 62%), radial-gradient(90% 55% at 105% 105%, color-mix(in srgb, var(--t2) 16%, transparent), transparent 64%), var(--bg); }
.tst-top { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 620px; margin: 0 auto; }
.tst-run .icon-btn.glass { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.tst-prog { flex: 1; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--text) 9%, transparent); overflow: hidden; }
.tst-prog i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--t1), var(--t2)); transition: width .45s var(--ease); }
.tst-count { font-size: 13px; font-weight: 700; color: var(--text-2); min-width: 44px; text-align: right; display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; }
.tst-q { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 580px; margin: 0 auto; padding: 18px 2px 10px; }
.tst-q.fwd { animation: tst-in .42s var(--ease) both; }
.tst-q.back { animation: tst-inb .42s var(--ease) both; }
.tst-kicker { display: block; font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: color-mix(in srgb, var(--t1, var(--accent)) 78%, var(--text)); margin-bottom: 8px; }
.tst-qt { font-family: var(--font-serif); font-size: 26px; line-height: 1.28; font-weight: 600; letter-spacing: -.005em; margin: 0 0 20px; text-wrap: balance; }
.tst-qsub { font-size: 14px; color: var(--text-2); margin: -10px 0 16px; text-align: center; }
.tst-opts { display: grid; gap: 10px; }
.tst-opt { display: flex; align-items: center; gap: 13px; width: 100%; padding: 15px 16px; border-radius: 18px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 16.5px; font-weight: 560; text-align: left; cursor: pointer;
  box-shadow: 0 1px 2px rgba(21,23,58,.04); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur-fast) var(--spring); animation: tst-up .38s var(--ease) both; animation-delay: calc(var(--k, 0) * 35ms); }
.tst-opt:active { transform: scale(.98); }
@media (hover: hover) { .tst-opt:hover { border-color: color-mix(in srgb, var(--t1) 55%, var(--border)); } }
.tst-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-2); flex: none; transition: all var(--dur) var(--ease); background: var(--surface); }
.tst-opt.on { border-color: var(--t1); background: color-mix(in srgb, var(--t1) 9%, var(--surface)); }
.tst-opt.on .tst-dot { border-color: transparent; background: linear-gradient(135deg, var(--t1), var(--t2)); box-shadow: inset 0 0 0 5px var(--surface); }
.tst-opts.pz .tst-dot { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 18%, var(--surface)); }
.tst-opts.pz .tst-opt.on { border-color: var(--pc); background: color-mix(in srgb, var(--pc) 12%, var(--surface)); }
.tst-opts.pz .tst-opt.on .tst-dot { background: var(--pc); box-shadow: inset 0 0 0 5px var(--surface); }
.tst-key { font-size: 12px; color: var(--text-3); font-weight: 700; display: none; }
@media (hover: hover) and (pointer: fine) { .tst-key { display: inline; } }
.tst-opts.many { grid-template-columns: repeat(4, 1fr); }
.tst-opts.many .tst-opt { justify-content: center; text-align: center; padding: 16px 6px; font-size: 19px; font-weight: 700; }
.tst-opts.many .tst-dot, .tst-opts.many .tst-key { display: none; }
.tst-next { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 220px; margin: 22px auto 0; height: 52px; padding: 0 26px; border: 0; border-radius: 17px; cursor: pointer; font: inherit; font-size: 16.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--t1, #5E6ACF), var(--t2, #6032EA)); box-shadow: 0 12px 26px color-mix(in srgb, var(--t2, #6032EA) 30%, transparent); }
.tst-next:disabled { opacity: .45; box-shadow: none; }
.tst-info { text-align: center; }
.tst-info p { font-family: var(--font-serif); font-size: 21px; line-height: 1.45; color: var(--text); margin: 6px 0 0; text-wrap: balance; }
.tst-stepper { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 4px 0 18px; }
.tst-stepper > button { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow); font-size: 30px; line-height: 1; color: var(--accent-text); cursor: pointer; flex: none; }
.tst-stepper input[type=time], .tst-num input { font-family: var(--font-serif); font-size: 44px; font-weight: 600; color: var(--text); background: transparent; border: 0; text-align: center; width: 175px; padding: 0; outline: none; -moz-appearance: textfield; }
.tst-num { display: inline-flex; align-items: baseline; justify-content: center; gap: 6px; }
.tst-num input { width: 120px; }
.tst-num input::-webkit-inner-spin-button, .tst-num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tst-num small { font-size: 15px; color: var(--text-2); font-weight: 600; }
.tst-num.big input { font-size: 56px; width: 150px; }
.tst-pulse { text-align: center; }
.tst-howto { display: grid; gap: 8px; text-align: left; font-size: 15px; color: var(--text-2); background: var(--surface); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); }
.tst-or { font-size: 13px; color: var(--text-3); margin: 18px 0 4px; }
.tst-beat { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #E5484D; }
.tst-beat .ico { animation: tst-beat 1s ease-in-out infinite; }
.tst-beat b { font-family: var(--font-serif); font-size: 64px; color: var(--text); line-height: 1; }
.tst-beat span { font-size: 14px; color: var(--text-2); }
.tst-bottom { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 620px; margin: 0 auto; min-height: 40px; }
.tst-back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--text-2); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; padding: 8px 4px; }
.tst-brand { font-size: 10.5px; font-weight: 800; letter-spacing: .32em; color: var(--text-3); opacity: .7; }
.tst-reveal { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: inherit; animation: tst-fade .3s ease both; }
.tst-reveal.page { z-index: 95; background: radial-gradient(100% 60% at 50% 30%, color-mix(in srgb, var(--t1) 22%, transparent), transparent 65%), var(--bg); }
.tst-reveal b { font-family: var(--font-serif); font-size: 22px; font-weight: 600; }
.tst-orb { width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(from 0deg, var(--t1, #29B2D2), var(--t2, #6032EA), var(--t1, #29B2D2)); animation: tst-spin 1.1s linear infinite; position: relative; filter: drop-shadow(0 10px 26px color-mix(in srgb, var(--t2, #6032EA) 40%, transparent)); }
.tst-orb::after { content: ''; position: absolute; inset: 12px; border-radius: 50%; background: var(--bg); }
/* rezultatul */
.tst-result > * { animation: tst-up .5s var(--ease) both; }
.tst-result > *:nth-child(2) { animation-delay: .06s; } .tst-result > *:nth-child(3) { animation-delay: .12s; } .tst-result > *:nth-child(4) { animation-delay: .18s; } .tst-result > *:nth-child(n+5) { animation-delay: .24s; }
.tst-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; padding: 20px 18px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); margin: 6px 0 14px; }
.tst-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 0% 0%, color-mix(in srgb, var(--t1) 15%, transparent), transparent 70%), radial-gradient(60% 60% at 100% 100%, color-mix(in srgb, var(--t2) 12%, transparent), transparent 70%); pointer-events: none; }
.tst-hero > * { position: relative; }
.tst-hero.col { flex-direction: column; text-align: center; gap: 6px; }
.tst-hero p { color: var(--text-2); font-size: 15.5px; line-height: 1.5; margin: 4px 0 6px; max-width: 480px; }
.tst-hero-t { flex: 1; min-width: 200px; }
.tst-arch { font-family: var(--font-serif); font-size: 36px; font-weight: 700; letter-spacing: -.015em; margin: 0; background: linear-gradient(135deg, var(--t1), var(--t2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tst-wheel { max-width: 100%; height: auto; overflow: visible; }
.tst-ring { fill: none; stroke: var(--border); stroke-width: 1; stroke-dasharray: 2 4; }
.tst-wedge { transform-box: view-box; transform-origin: 50% 50%; animation: tst-grow .9s var(--spring) both; animation-delay: var(--d, 0s); }
.tst-wl { font-size: 11.5px; font-weight: 750; fill: var(--text-2); letter-spacing: .02em; }
.tst-hub { fill: var(--surface); stroke: var(--border); stroke-width: 1; }
.tst-wi { font-family: var(--font-serif); font-size: 25px; font-weight: 700; fill: var(--text); }
.tst-pillars { display: grid; gap: 12px; }
@media (min-width: 720px) { .tst-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tst-pillars .card + .card { margin-top: 0; } }
.tst-pil p { margin: 8px 0 0; }
.tst-pico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-text); }
.tst-score { font-family: var(--font-serif); font-size: 25px; font-weight: 700; }
.tst-score small { font-size: 14px; color: var(--text-3); font-weight: 600; }
.tst-bar { position: relative; height: 8px; border-radius: 4px; background: var(--surface-3); margin: 9px 0 2px; }
.tst-bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad); transform-origin: left; animation: tst-bar .9s var(--ease) both; }
.tst-bar b { position: absolute; top: -3px; width: 2px; height: 14px; border-radius: 1px; background: var(--text-3); }
.tst-band { display: inline-flex; font-size: 11.5px; font-weight: 750; padding: 3px 9px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); }
.tst-band.b-puternic, .tst-band.b-normal, .tst-band.b-scazut { background: var(--good-soft); color: var(--good); }
.tst-band.b-echilibru, .tst-band.b-usor { background: var(--accent-soft); color: var(--accent-text); }
.tst-band.b-fragil, .tst-band.b-moderat { background: var(--warn-soft); color: var(--warn); }
.tst-band.b-atentie, .tst-band.b-sever, .tst-band.b-extrem, .tst-band.b-ridicat { background: var(--bad-soft); color: var(--bad); }
.tst-big { font-family: var(--font-serif); font-size: 28px; font-weight: 700; margin-top: -4px; }
.tst-big.b-normal { color: var(--good); } .tst-big.b-usor { color: var(--accent-text); } .tst-big.b-moderat { color: var(--warn); } .tst-big.b-sever, .tst-big.b-extrem { color: var(--bad); }
.tst-delta { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 650; color: var(--text-3); }
.tst-delta.up { color: var(--good); } .tst-delta.down { color: var(--warn); }
.tst-items { padding: 4px 16px; }
.tst-itm { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.tst-itm:last-child { border-bottom: 0; }
.tst-pdot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tst-ans { font-size: 11.5px; font-weight: 700; color: var(--text-2); background: var(--surface-2); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tst-gauge { max-width: 300px; overflow: visible; }
.tst-needle { stroke: var(--text); stroke-width: 4; stroke-linecap: round; }
.tst-gv { font-family: var(--font-serif); font-size: 36px; font-weight: 700; fill: var(--text); }
.tst-gl { font-size: 12px; fill: var(--text-3); }
.tst-cbi .tst-bar i { background: currentColor; }
.tst-care { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; background: color-mix(in srgb, var(--bad) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--bad) 22%, transparent); box-shadow: none; }
.tst-care > .ico { color: var(--bad); margin-top: 2px; }
.tst-care p { margin: 6px 0 0; }
.tst-dom-h { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.tst-dom p { margin: 8px 0 4px; }
.tst-facets { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.tst-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tst-tags span { padding: 8px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; }
.tst-tags.good span { background: var(--good-soft); color: var(--good); border-color: transparent; font-weight: 600; }
.tst-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 12px; }
.tst-stats .card { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 14px; }
.tst-stats small { font-size: 12px; color: var(--text-3); font-weight: 650; }
.tst-stats b { font-family: var(--font-serif); font-size: 26px; font-weight: 700; }
.tst-notes > div { display: flex; gap: 10px; align-items: flex-start; }
.tst-notes .ico { flex: none; margin-top: 1px; color: var(--accent-text); }
.tst-day { position: relative; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 8px 16px; }
.tst-day::before { content: ''; position: absolute; left: calc(16px + 96px + 12px + 15px); top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--t1), var(--t2)); opacity: .35; }
.tst-slot { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 0; animation: tst-up .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.tst-tm { width: 96px; flex: none; text-align: right; font-size: 13.5px; font-weight: 750; color: var(--text); }
.tst-sdot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, var(--t1), var(--t2)); position: relative; z-index: 1; }
.tst-ages { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 6px 0 2px; }
.tst-ages > div { display: flex; flex-direction: column; align-items: center; }
.tst-ages b { font-family: var(--font-serif); font-size: 68px; font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--t1), var(--t2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tst-ages .dim b { font-size: 40px; background: none; color: var(--text-3); }
.tst-ages small { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.tst-vs { font-size: 12px; color: var(--text-3); }
.tst-factor { display: flex; align-items: center; gap: 12px; }
.tst-fx { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-3); color: var(--text-3); }
.tst-fx.up { background: var(--good-soft); color: var(--good); } .tst-fx.down { background: var(--warn-soft); color: var(--warn); }
.tst-str { display: flex; gap: 14px; align-items: flex-start; margin: 0; animation: tst-up .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.tst-str p { margin: 6px 0 0; }
.tst-rank { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font-family: var(--font-serif); font-size: 18px; font-weight: 700; background: linear-gradient(135deg, var(--t1), var(--t2)); }
.tst-tip { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 9px 11px; border-radius: 13px; background: var(--surface-2); }
.tst-tip .ico { flex: none; margin-top: 2px; color: var(--t2); }
.tst-all { margin-top: 12px; }
.tst-all summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.tst-all summary::-webkit-details-marker { display: none; }
.tst-ringv { font-family: var(--font-serif); font-size: 42px; font-weight: 700; line-height: 1; }
.tst-sec { margin: 0; }
.tst-iq { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; }
.tst-iq .ico { flex: none; color: var(--accent-text); margin-top: 2px; }
.tst-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tst-tile { margin: 0 !important; display: flex; flex-direction: column; gap: 3px; padding: 14px; animation: tst-up .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.tst-tile small { font-size: 12.5px; font-weight: 650; color: var(--text-2); margin-top: 6px; }
.tst-tile b { font-family: var(--font-serif); font-size: 26px; font-weight: 700; line-height: 1.1; }
/* Pulsul zilei */
.tst-pulse-hero { position: relative; display: block; width: 100%; text-align: left; border: 0; cursor: pointer; color: #fff; padding: 16px; border-radius: 26px; margin: 4px 0 6px; font: inherit;
  background: radial-gradient(120% 120% at 100% 0%, rgba(41,178,210,.45) 0%, rgba(41,178,210,0) 50%), linear-gradient(135deg, #1E9BC0 0%, #5E6ACF 55%, #6032EA 100%); box-shadow: 0 16px 34px rgba(96,50,234,.28); }
.tst-pulse-hero:active { transform: scale(.98); }
.tst-ph-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.18); }
.tst-ph-ico.sm { width: 40px; height: 40px; background: var(--accent-soft); color: var(--accent-text); }
.tst-ph-ico.sm.warn { background: var(--bad-soft); color: var(--bad); }
.tst-ph-k { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; opacity: .82; }
.tst-ph-t { display: block; font-family: var(--font-serif); font-size: 20px; font-weight: 600; margin: 2px 0 2px; }
.tst-ph-s { display: block; font-size: 13px; opacity: .88; }
.tst-ph-v { font-family: var(--font-serif); font-size: 24px; }
.tst-spark { display: block; width: 100%; height: 34px; margin-top: 12px; overflow: visible; }
.tst-spark path { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tst-ph-streak { position: absolute; top: 12px; right: 14px; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 750; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.2); }
.tst-ph-streak.dark { position: static; background: var(--warn-soft); color: var(--warn); }
.tst-chart .tst-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.tst-legend button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 650; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; opacity: .6; }
.tst-legend button.on { opacity: 1; background: var(--surface-2); color: var(--text); }
.tst-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.tst-chart .tst-mark { fill: var(--text-3); }
.tst-pz-res > * { animation: tst-up .5s var(--ease) both; }
.tst-pz-res > *:nth-child(2) { animation-delay: .07s; } .tst-pz-res > *:nth-child(n+3) { animation-delay: .14s; }
.tst-pz-top { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); margin: 6px 0 12px; flex-wrap: wrap; justify-content: center; }
.tst-pz-side { flex: 1; min-width: 160px; }
.tst-pz-side p { margin: 8px 0 4px; font-size: 15px; }
.tst-pz-pils { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .tst-pz-pils { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tst-pz-pil { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; padding: 12px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); animation: tst-up .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.tst-pz-pil > .num { font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.tst-pz-pil .tst-bar { grid-column: 1 / -1; margin: 4px 0 0; }
.tst-pz-notes { margin-top: 12px; }
.tst-chipset { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tst-chipset button { padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all var(--dur) var(--ease); }
.tst-chipset button.on { border-color: transparent; color: #fff; background: linear-gradient(135deg, var(--t1), var(--t2)); }
.tst-note { width: 100%; margin-top: 16px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; resize: none; }
.tst-ins { display: flex; gap: 10px; align-items: flex-start; }
.tst-ins .ico { flex: none; color: var(--accent-text); margin-top: 1px; }
.tst-hint2 { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; }
.tst-hint2 .ico { flex: none; color: var(--accent-text); margin-top: 1px; }
/* Cabinetul */
.tst-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
@media (max-width: 560px) { .tst-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tst-kpis > div { background: var(--surface-2); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.tst-kpis small { font-size: 11.5px; color: var(--text-3); font-weight: 650; }
.tst-kpis b { font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.tst-kpis b small { font-size: 13px; }
.tst-cab-set { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.tst-alerts { display: grid; gap: 8px; }
.tst-alert { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 14px; background: var(--surface-2); }
.tst-alert.warn { background: color-mix(in srgb, var(--bad) 8%, var(--surface)); }
.tst-alert.seen { opacity: .62; }
.tst-aico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface); color: var(--text-2); }
.tst-alert.warn .tst-aico { color: var(--bad); }
.tst-cab-list { display: grid; gap: 2px; }
.tst-cab-row.none { opacity: .55; }
.tst-cab-row .li { width: 100%; }
.tst-cab-sub { padding-left: 46px; }
.tst-sumcard { display: block; width: 100%; text-align: left; border: 0; cursor: pointer; color: inherit; font: inherit; margin-bottom: 12px; }
.tst-sum-alert { margin-top: 10px; padding: 8px 11px; border-radius: 12px; background: var(--bad-soft); color: var(--bad); }
.tst-banner { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; cursor: pointer; color: inherit; font: inherit; margin-bottom: 12px; }
.tst-al-txt { background: none; border: 0; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.tst-brief { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #F4F5FB; }
.tst-brief h3 { display: flex; align-items: center; gap: 6px; font-size: 14px; margin: 0 0 6px; }
.tst-brief ul { margin: 6px 0 0; padding-left: 18px; }
/* Raționamentul: figurile */
.rz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 330px; margin: 0 auto 16px; }
.rz-cell { aspect-ratio: 1; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 6px; }
.rz-cell.q { border: 2px dashed var(--t1); background: color-mix(in srgb, var(--t1) 7%, var(--surface)); color: var(--t1); }
.rz-fig { width: 100%; height: 100%; display: block; overflow: visible; }
.rz-frame { fill: none; stroke: var(--border-2); stroke-width: 1.5; stroke-dasharray: 3 3; }
.rz-qm { font-size: 46px; font-weight: 800; fill: currentColor; font-family: var(--font-serif); }
.rz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; }
.rz-opts.fig { grid-template-columns: repeat(3, 1fr); max-width: 360px; margin: 0 auto; width: 100%; }
.rz-opts.long { grid-template-columns: 1fr; }
.rz-opt { padding: 14px 10px; border-radius: 16px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 16.5px; font-weight: 650; cursor: pointer; text-align: center; transition: all var(--dur) var(--ease); }
.rz-opts.long .rz-opt { text-align: left; font-weight: 560; font-size: 15.5px; }
.rz-opts.fig .rz-opt { aspect-ratio: 1; padding: 8px; }
.rz-opt.on { border-color: var(--t1); background: color-mix(in srgb, var(--t1) 10%, var(--surface)); }
.rz-opt.ok { border-color: var(--good); background: var(--good-soft); }
.rz-opt.no { border-color: var(--bad); background: var(--bad-soft); }
.tst-qt.rz-series { font-family: var(--font); font-size: 31px; font-weight: 700; letter-spacing: .03em; text-align: center; }
.rz-text { font-family: var(--font-serif); font-size: 21px; text-align: center; margin: 8px 0 12px; }
.rz-ex { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 14px; margin: 4px 0 6px; }
.rz-ex > .tiny { text-align: center; margin-bottom: 8px; }
.rz-why { font-size: 14px; margin-top: 12px; text-align: center; color: var(--warn); }
.rz-why.ok { color: var(--good); }
.rz-time.warn { color: var(--bad); animation: tst-pulse 1s ease-in-out infinite; }
/* Atenția: probele */
.at-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 100%; max-width: 560px; margin: 0 auto; user-select: none; -webkit-user-select: none; touch-action: manipulation; cursor: pointer; }
.at-stage.still { cursor: default; }
.at-how { font-size: 17px; color: var(--text-2); text-align: center; max-width: 380px; margin: 0 auto; line-height: 1.5; }
.at-orb { width: 220px; height: 220px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 20px; font-weight: 750; color: var(--text-2); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--border); }
.at-orb.go { background: #29B2D2; color: #fff; box-shadow: 0 0 0 14px rgba(41,178,210,.18), 0 20px 50px rgba(41,178,210,.45); }
.at-orb.early { background: var(--warn-soft); color: var(--warn); }
.at-orb.shown { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.at-orb b { font-family: var(--font-serif); font-size: 58px; line-height: 1; }
.at-orb small { font-size: 14px; color: var(--text-3); }
.at-sub { font-size: 14px; color: var(--text-2); text-align: center; }
.at-gng { width: 220px; height: 220px; display: grid; place-items: center; }
.at-go { width: 160px; height: 160px; border-radius: 50%; background: #29B2D2; box-shadow: 0 18px 44px rgba(41,178,210,.45); }
.at-no { width: 138px; height: 138px; border-radius: 22px; background: #E5484D; box-shadow: 0 18px 44px rgba(229,72,77,.4); }
.at-plus { font-size: 46px; color: var(--text-3); font-weight: 300; }
.at-fb.no { font-size: 15px; font-weight: 700; color: var(--bad); }
.at-word { font-size: 50px; font-weight: 850; letter-spacing: .02em; animation: tst-pop .2s var(--ease) both; }
.at-word.no { animation: tst-shake .3s ease both; }
.at-colors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 420px; }
.at-colors button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 10px; border-radius: 17px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 16.5px; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.at-colors button:active { transform: scale(.97); }
.at-colors i { width: 18px; height: 18px; border-radius: 50%; }
.at-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(320px, 82vw); }
.at-sq { aspect-ratio: 1; border-radius: 18px; border: 0; background: var(--surface-3); cursor: pointer; transition: background .15s, transform .15s; touch-action: manipulation; }
.at-sq.lit { background: linear-gradient(135deg, var(--t1), var(--t2)); box-shadow: 0 10px 28px color-mix(in srgb, var(--t1) 45%, transparent); transform: scale(1.04); }
.at-sq.tap { background: color-mix(in srgb, var(--t1) 38%, var(--surface)); }
.at-grid.ok .at-sq.tap { background: var(--good); }
.at-grid.no .at-sq { background: var(--bad-soft); }
.at-grid.show .at-sq { cursor: default; }
/* mișcarea */
@keyframes tst-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes tst-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes tst-inb { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes tst-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tst-spin { to { transform: rotate(360deg); } }
@keyframes tst-grow { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tst-bar { from { transform: scaleX(0); } to { transform: none; } }
@keyframes tst-beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.18); } 50% { transform: scale(.96); } }
@keyframes tst-pulse { 50% { opacity: .55; } }
@keyframes tst-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tst-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) {
  .tst-card, .tst-q, .tst-opt, .tst-result > *, .tst-pz-res > *, .tst-wedge, .tst-bar i, .tst-slot, .tst-str, .tst-tile, .tst-pz-pil, .tst-orb, .tst-beat .ico, .at-word { animation: none !important; }
}
:root[data-theme="dark"] .tst-brief { background: #F4F5FB; }
/* runda 16b: cifra stresului sub cadran, notițele cronotipului */
.tst-gvh { display: flex; align-items: baseline; gap: 6px; margin-top: -6px; }
.tst-gvh b { font-family: var(--font-serif); font-size: 40px; font-weight: 700; line-height: 1; }
.tst-gvh small { font-size: 13px; color: var(--text-3); font-weight: 600; }
.tst-notes > div > span { flex: 1; min-width: 0; }
/* runda 16c: cardurile din liste fără spațiu dublu */
.card.tst-str, .card.tst-dom, .card.tst-sec, .card.tst-pil { margin-top: 0; }
/* runda 16d: ora mare, fără iconița de ceas a browserului (pe Windows/Android) */
.tst-stepper input[type=time] { width: 196px; font-size: 42px; }
.tst-stepper input[type=time]::-webkit-calendar-picker-indicator { display: none; }
.tst-stepper input[type=time]::-webkit-datetime-edit { padding: 0; }
/* runda 16e: butonul spre cont pe pagina Programări (recepția pornește de aici pe telefon) */
.avatar.pg-me { width: 42px; height: 42px; border-radius: 14px; font-size: 14px; border: 0; cursor: pointer; margin-left: 8px; flex: none; }

.inline-time::-webkit-calendar-picker-indicator { width: 11px; height: 11px; margin-left: 3px; padding: 0; opacity: .45; cursor: pointer; }

/* ================================================================ runda 17: securitatea */
.sec-lock { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: calc(var(--safe-top, 0px) + 24px) 20px calc(var(--safe-bottom, 0px) + 24px);
  background: radial-gradient(90% 70% at 50% 25%, rgba(94,106,207,.30), rgba(94,106,207,0) 70%), var(--bg); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); overflow-y: auto; }
.preview .sec-lock { position: absolute; }
.sec-lock-in { width: 100%; max-width: 400px; text-align: center; }
.sec-lock-in h1 { font-family: var(--font-d); font-size: 26px; letter-spacing: -.02em; margin: 14px 0 6px; }
.sec-lock-in .card { text-align: left; }
.sec-lock-ico { width: 68px; height: 68px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 14px 34px rgba(96,50,234,.32); }
.sec-code { font-size: 22px; font-weight: 700; letter-spacing: .22em; text-align: center; font-variant-numeric: tabular-nums; font-family: ui-monospace, Consolas, monospace; }
.sec-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sec-codes code, .sec-key code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 8px 6px; text-align: center; font-family: ui-monospace, Consolas, monospace; font-size: 14.5px; font-weight: 650; letter-spacing: .06em; color: var(--text); }
.sec-key { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 14px; }
.sec-key code { font-size: 13px; padding: 8px 2px; }
.sec-ack { align-items: flex-start; gap: 10px; cursor: pointer; }
.sec-ack input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.sec-steps { margin: 0; padding-left: 20px; color: var(--text-2); }
.sec-steps li { margin-bottom: 6px; }
.sec-secret { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; letter-spacing: .06em; color: var(--text-2); word-break: break-all; }
.sec-or { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 12.5px; }
.sec-or::before, .sec-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.sec-hero { background: linear-gradient(135deg, var(--accent-soft), var(--surface)); }
.sec-hero.ok { background: linear-gradient(135deg, var(--good-soft), var(--surface)); }
.sec-hero-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; background: var(--grad-btn); color: #fff; }
.sec-hero.ok .sec-hero-ico { background: var(--good); }
.sec-meter { display: flex; gap: 6px; margin-top: 14px; }
.sec-meter i { height: 6px; flex: 1; border-radius: 3px; background: var(--border-2); }
.sec-meter i.on { background: var(--good); }
.sec-hero:not(.ok) .sec-meter i.on { background: var(--accent); }
.sec-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--text-3); }
.sec-dot.ok { background: var(--good); } .sec-dot.bad { background: var(--bad); } .sec-dot.warn { background: var(--warn); } .sec-dot.na { background: var(--border-2); }
.sec-log .li { padding-top: 10px; padding-bottom: 10px; }
.sec-new { background: var(--accent-soft); }
.sec-alarm { background: var(--surface); box-shadow: var(--shadow), inset 4px 0 0 var(--bad); }
.sec-prot { background: linear-gradient(160deg, var(--accent-soft), var(--surface)); }
.sec-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; }
@media (max-width: 380px) { .sec-key { grid-template-columns: repeat(2, 1fr); } }
